/** * Client **/ import * as runtime from '@prisma/client/runtime/library.js'; import $Types = runtime.Types // general types import $Public = runtime.Types.Public import $Utils = runtime.Types.Utils import $Extensions = runtime.Types.Extensions import $Result = runtime.Types.Result export type PrismaPromise = $Public.PrismaPromise /** * Model Account * */ export type Account = $Result.DefaultSelection /** * Model Session * */ export type Session = $Result.DefaultSelection /** * Model User * */ export type User = $Result.DefaultSelection /** * Model VerificationToken * */ export type VerificationToken = $Result.DefaultSelection /** * Model Organization * */ export type Organization = $Result.DefaultSelection /** * Model Project * */ export type Project = $Result.DefaultSelection /** * Model ApiKey * */ export type ApiKey = $Result.DefaultSelection /** * Model BackgroundMigration * */ export type BackgroundMigration = $Result.DefaultSelection /** * Model LlmApiKeys * */ export type LlmApiKeys = $Result.DefaultSelection /** * Model OrganizationMembership * */ export type OrganizationMembership = $Result.DefaultSelection /** * Model ProjectMembership * */ export type ProjectMembership = $Result.DefaultSelection /** * Model MembershipInvitation * */ export type MembershipInvitation = $Result.DefaultSelection /** * Model TraceSession * */ export type TraceSession = $Result.DefaultSelection /** * Model LegacyPrismaTrace * */ export type LegacyPrismaTrace = $Result.DefaultSelection /** * Model LegacyPrismaObservation * */ export type LegacyPrismaObservation = $Result.DefaultSelection /** * Model LegacyPrismaScore * */ export type LegacyPrismaScore = $Result.DefaultSelection /** * Model ScoreConfig * */ export type ScoreConfig = $Result.DefaultSelection /** * Model AnnotationQueue * */ export type AnnotationQueue = $Result.DefaultSelection /** * Model AnnotationQueueItem * */ export type AnnotationQueueItem = $Result.DefaultSelection /** * Model AnnotationQueueAssignment * */ export type AnnotationQueueAssignment = $Result.DefaultSelection /** * Model CronJobs * */ export type CronJobs = $Result.DefaultSelection /** * Model Dataset * */ export type Dataset = $Result.DefaultSelection /** * Model DatasetItem * */ export type DatasetItem = $Result.DefaultSelection /** * Model DatasetRuns * */ export type DatasetRuns = $Result.DefaultSelection /** * Model DatasetRunItems * */ export type DatasetRunItems = $Result.DefaultSelection /** * Model Comment * */ export type Comment = $Result.DefaultSelection /** * Model Prompt * */ export type Prompt = $Result.DefaultSelection /** * Model PromptDependency * */ export type PromptDependency = $Result.DefaultSelection /** * Model PromptProtectedLabels * */ export type PromptProtectedLabels = $Result.DefaultSelection /** * Model Model * */ export type Model = $Result.DefaultSelection /** * Model Price * */ export type Price = $Result.DefaultSelection /** * Model AuditLog * */ export type AuditLog = $Result.DefaultSelection /** * Model EvalTemplate * */ export type EvalTemplate = $Result.DefaultSelection /** * Model JobConfiguration * */ export type JobConfiguration = $Result.DefaultSelection /** * Model JobExecution * */ export type JobExecution = $Result.DefaultSelection /** * Model DefaultLlmModel * */ export type DefaultLlmModel = $Result.DefaultSelection /** * Model SsoConfig * */ export type SsoConfig = $Result.DefaultSelection /** * Model PosthogIntegration * */ export type PosthogIntegration = $Result.DefaultSelection /** * Model BlobStorageIntegration * */ export type BlobStorageIntegration = $Result.DefaultSelection /** * Model BatchExport * */ export type BatchExport = $Result.DefaultSelection /** * Model Media * */ export type Media = $Result.DefaultSelection /** * Model TraceMedia * */ export type TraceMedia = $Result.DefaultSelection /** * Model ObservationMedia * */ export type ObservationMedia = $Result.DefaultSelection /** * Model BillingMeterBackup * */ export type BillingMeterBackup = $Result.DefaultSelection /** * Model LlmSchema * */ export type LlmSchema = $Result.DefaultSelection /** * Model LlmTool * */ export type LlmTool = $Result.DefaultSelection /** * Model Dashboard * */ export type Dashboard = $Result.DefaultSelection /** * Model DashboardWidget * */ export type DashboardWidget = $Result.DefaultSelection /** * Model TableViewPreset * */ export type TableViewPreset = $Result.DefaultSelection /** * Model Action * */ export type Action = $Result.DefaultSelection /** * Model Trigger * */ export type Trigger = $Result.DefaultSelection /** * Model Automation * */ export type Automation = $Result.DefaultSelection /** * Model AutomationExecution * */ export type AutomationExecution = $Result.DefaultSelection /** * Model SlackIntegration * */ export type SlackIntegration = $Result.DefaultSelection /** * Model PendingDeletion * */ export type PendingDeletion = $Result.DefaultSelection /** * Model Survey * */ export type Survey = $Result.DefaultSelection /** * Enums */ export namespace $Enums { export const ApiKeyScope: { ORGANIZATION: 'ORGANIZATION', PROJECT: 'PROJECT' }; export type ApiKeyScope = (typeof ApiKeyScope)[keyof typeof ApiKeyScope] export const Role: { OWNER: 'OWNER', ADMIN: 'ADMIN', MEMBER: 'MEMBER', VIEWER: 'VIEWER', NONE: 'NONE' }; export type Role = (typeof Role)[keyof typeof Role] export const LegacyPrismaObservationType: { SPAN: 'SPAN', EVENT: 'EVENT', GENERATION: 'GENERATION', AGENT: 'AGENT', TOOL: 'TOOL', CHAIN: 'CHAIN', RETRIEVER: 'RETRIEVER', EVALUATOR: 'EVALUATOR', EMBEDDING: 'EMBEDDING', GUARDRAIL: 'GUARDRAIL' }; export type LegacyPrismaObservationType = (typeof LegacyPrismaObservationType)[keyof typeof LegacyPrismaObservationType] export const LegacyPrismaObservationLevel: { DEBUG: 'DEBUG', DEFAULT: 'DEFAULT', WARNING: 'WARNING', ERROR: 'ERROR' }; export type LegacyPrismaObservationLevel = (typeof LegacyPrismaObservationLevel)[keyof typeof LegacyPrismaObservationLevel] export const LegacyPrismaScoreSource: { ANNOTATION: 'ANNOTATION', API: 'API', EVAL: 'EVAL' }; export type LegacyPrismaScoreSource = (typeof LegacyPrismaScoreSource)[keyof typeof LegacyPrismaScoreSource] export const ScoreDataType: { CATEGORICAL: 'CATEGORICAL', NUMERIC: 'NUMERIC', BOOLEAN: 'BOOLEAN' }; export type ScoreDataType = (typeof ScoreDataType)[keyof typeof ScoreDataType] export const AnnotationQueueStatus: { PENDING: 'PENDING', COMPLETED: 'COMPLETED' }; export type AnnotationQueueStatus = (typeof AnnotationQueueStatus)[keyof typeof AnnotationQueueStatus] export const AnnotationQueueObjectType: { TRACE: 'TRACE', OBSERVATION: 'OBSERVATION', SESSION: 'SESSION' }; export type AnnotationQueueObjectType = (typeof AnnotationQueueObjectType)[keyof typeof AnnotationQueueObjectType] export const DatasetStatus: { ACTIVE: 'ACTIVE', ARCHIVED: 'ARCHIVED' }; export type DatasetStatus = (typeof DatasetStatus)[keyof typeof DatasetStatus] export const CommentObjectType: { TRACE: 'TRACE', OBSERVATION: 'OBSERVATION', SESSION: 'SESSION', PROMPT: 'PROMPT' }; export type CommentObjectType = (typeof CommentObjectType)[keyof typeof CommentObjectType] export const AuditLogRecordType: { USER: 'USER', API_KEY: 'API_KEY' }; export type AuditLogRecordType = (typeof AuditLogRecordType)[keyof typeof AuditLogRecordType] export const JobType: { EVAL: 'EVAL' }; export type JobType = (typeof JobType)[keyof typeof JobType] export const JobConfigState: { ACTIVE: 'ACTIVE', INACTIVE: 'INACTIVE' }; export type JobConfigState = (typeof JobConfigState)[keyof typeof JobConfigState] export const JobExecutionStatus: { COMPLETED: 'COMPLETED', ERROR: 'ERROR', PENDING: 'PENDING', CANCELLED: 'CANCELLED' }; export type JobExecutionStatus = (typeof JobExecutionStatus)[keyof typeof JobExecutionStatus] export const BlobStorageIntegrationFileType: { JSON: 'JSON', CSV: 'CSV', JSONL: 'JSONL' }; export type BlobStorageIntegrationFileType = (typeof BlobStorageIntegrationFileType)[keyof typeof BlobStorageIntegrationFileType] export const BlobStorageIntegrationType: { S3: 'S3', S3_COMPATIBLE: 'S3_COMPATIBLE', AZURE_BLOB_STORAGE: 'AZURE_BLOB_STORAGE' }; export type BlobStorageIntegrationType = (typeof BlobStorageIntegrationType)[keyof typeof BlobStorageIntegrationType] export const BlobStorageExportMode: { FULL_HISTORY: 'FULL_HISTORY', FROM_TODAY: 'FROM_TODAY', FROM_CUSTOM_DATE: 'FROM_CUSTOM_DATE' }; export type BlobStorageExportMode = (typeof BlobStorageExportMode)[keyof typeof BlobStorageExportMode] export const DashboardWidgetViews: { TRACES: 'TRACES', OBSERVATIONS: 'OBSERVATIONS', SCORES_NUMERIC: 'SCORES_NUMERIC', SCORES_CATEGORICAL: 'SCORES_CATEGORICAL' }; export type DashboardWidgetViews = (typeof DashboardWidgetViews)[keyof typeof DashboardWidgetViews] export const DashboardWidgetChartType: { LINE_TIME_SERIES: 'LINE_TIME_SERIES', BAR_TIME_SERIES: 'BAR_TIME_SERIES', HORIZONTAL_BAR: 'HORIZONTAL_BAR', VERTICAL_BAR: 'VERTICAL_BAR', PIE: 'PIE', NUMBER: 'NUMBER', HISTOGRAM: 'HISTOGRAM', PIVOT_TABLE: 'PIVOT_TABLE' }; export type DashboardWidgetChartType = (typeof DashboardWidgetChartType)[keyof typeof DashboardWidgetChartType] export const ActionType: { WEBHOOK: 'WEBHOOK', SLACK: 'SLACK' }; export type ActionType = (typeof ActionType)[keyof typeof ActionType] export const ActionExecutionStatus: { COMPLETED: 'COMPLETED', ERROR: 'ERROR', PENDING: 'PENDING', CANCELLED: 'CANCELLED' }; export type ActionExecutionStatus = (typeof ActionExecutionStatus)[keyof typeof ActionExecutionStatus] export const SurveyName: { ORG_ONBOARDING: 'ORG_ONBOARDING', USER_ONBOARDING: 'USER_ONBOARDING' }; export type SurveyName = (typeof SurveyName)[keyof typeof SurveyName] } export type ApiKeyScope = $Enums.ApiKeyScope export const ApiKeyScope: typeof $Enums.ApiKeyScope export type Role = $Enums.Role export const Role: typeof $Enums.Role export type LegacyPrismaObservationType = $Enums.LegacyPrismaObservationType export const LegacyPrismaObservationType: typeof $Enums.LegacyPrismaObservationType export type LegacyPrismaObservationLevel = $Enums.LegacyPrismaObservationLevel export const LegacyPrismaObservationLevel: typeof $Enums.LegacyPrismaObservationLevel export type LegacyPrismaScoreSource = $Enums.LegacyPrismaScoreSource export const LegacyPrismaScoreSource: typeof $Enums.LegacyPrismaScoreSource export type ScoreDataType = $Enums.ScoreDataType export const ScoreDataType: typeof $Enums.ScoreDataType export type AnnotationQueueStatus = $Enums.AnnotationQueueStatus export const AnnotationQueueStatus: typeof $Enums.AnnotationQueueStatus export type AnnotationQueueObjectType = $Enums.AnnotationQueueObjectType export const AnnotationQueueObjectType: typeof $Enums.AnnotationQueueObjectType export type DatasetStatus = $Enums.DatasetStatus export const DatasetStatus: typeof $Enums.DatasetStatus export type CommentObjectType = $Enums.CommentObjectType export const CommentObjectType: typeof $Enums.CommentObjectType export type AuditLogRecordType = $Enums.AuditLogRecordType export const AuditLogRecordType: typeof $Enums.AuditLogRecordType export type JobType = $Enums.JobType export const JobType: typeof $Enums.JobType export type JobConfigState = $Enums.JobConfigState export const JobConfigState: typeof $Enums.JobConfigState export type JobExecutionStatus = $Enums.JobExecutionStatus export const JobExecutionStatus: typeof $Enums.JobExecutionStatus export type BlobStorageIntegrationFileType = $Enums.BlobStorageIntegrationFileType export const BlobStorageIntegrationFileType: typeof $Enums.BlobStorageIntegrationFileType export type BlobStorageIntegrationType = $Enums.BlobStorageIntegrationType export const BlobStorageIntegrationType: typeof $Enums.BlobStorageIntegrationType export type BlobStorageExportMode = $Enums.BlobStorageExportMode export const BlobStorageExportMode: typeof $Enums.BlobStorageExportMode export type DashboardWidgetViews = $Enums.DashboardWidgetViews export const DashboardWidgetViews: typeof $Enums.DashboardWidgetViews export type DashboardWidgetChartType = $Enums.DashboardWidgetChartType export const DashboardWidgetChartType: typeof $Enums.DashboardWidgetChartType export type ActionType = $Enums.ActionType export const ActionType: typeof $Enums.ActionType export type ActionExecutionStatus = $Enums.ActionExecutionStatus export const ActionExecutionStatus: typeof $Enums.ActionExecutionStatus export type SurveyName = $Enums.SurveyName export const SurveyName: typeof $Enums.SurveyName /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient() * // Fetch zero or more Accounts * const accounts = await prisma.account.findMany() * ``` * * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). */ export class PrismaClient< ClientOptions extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, U = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array ? Prisma.GetEvents : never : never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs > { [K: symbol]: { types: Prisma.TypeMap['other'] } /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient() * // Fetch zero or more Accounts * const accounts = await prisma.account.findMany() * ``` * * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). */ constructor(optionsArg ?: Prisma.Subset); $on(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient; /** * Connect with the database */ $connect(): $Utils.JsPromise; /** * Disconnect from the database */ $disconnect(): $Utils.JsPromise; /** * Add a middleware * @deprecated since 4.16.0. For new code, prefer client extensions instead. * @see https://pris.ly/d/extensions */ $use(cb: Prisma.Middleware): void /** * Executes a prepared raw query and returns the number of affected rows. * @example * ``` * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};` * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $executeRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; /** * Executes a raw query and returns the number of affected rows. * Susceptible to SQL injections, see documentation. * @example * ``` * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com') * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $executeRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; /** * Performs a prepared raw query and returns the `SELECT` data. * @example * ``` * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};` * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $queryRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; /** * Performs a raw query and returns the `SELECT` data. * Susceptible to SQL injections, see documentation. * @example * ``` * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com') * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $queryRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; /** * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. * @example * ``` * const [george, bob, alice] = await prisma.$transaction([ * prisma.user.create({ data: { name: 'George' } }), * prisma.user.create({ data: { name: 'Bob' } }), * prisma.user.create({ data: { name: 'Alice' } }), * ]) * ``` * * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions). */ $transaction

[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise> $transaction(fn: (prisma: Omit) => $Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise /** * Gives access to the client metrics in json or prometheus format. * * @example * ``` * const metrics = await prisma.$metrics.json() * // or * const metrics = await prisma.$metrics.prometheus() * ``` */ readonly $metrics: runtime.MetricsClient $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, $Utils.Call, { extArgs: ExtArgs }>> /** * `prisma.account`: Exposes CRUD operations for the **Account** model. * Example usage: * ```ts * // Fetch zero or more Accounts * const accounts = await prisma.account.findMany() * ``` */ get account(): Prisma.AccountDelegate; /** * `prisma.session`: Exposes CRUD operations for the **Session** model. * Example usage: * ```ts * // Fetch zero or more Sessions * const sessions = await prisma.session.findMany() * ``` */ get session(): Prisma.SessionDelegate; /** * `prisma.user`: Exposes CRUD operations for the **User** model. * Example usage: * ```ts * // Fetch zero or more Users * const users = await prisma.user.findMany() * ``` */ get user(): Prisma.UserDelegate; /** * `prisma.verificationToken`: Exposes CRUD operations for the **VerificationToken** model. * Example usage: * ```ts * // Fetch zero or more VerificationTokens * const verificationTokens = await prisma.verificationToken.findMany() * ``` */ get verificationToken(): Prisma.VerificationTokenDelegate; /** * `prisma.organization`: Exposes CRUD operations for the **Organization** model. * Example usage: * ```ts * // Fetch zero or more Organizations * const organizations = await prisma.organization.findMany() * ``` */ get organization(): Prisma.OrganizationDelegate; /** * `prisma.project`: Exposes CRUD operations for the **Project** model. * Example usage: * ```ts * // Fetch zero or more Projects * const projects = await prisma.project.findMany() * ``` */ get project(): Prisma.ProjectDelegate; /** * `prisma.apiKey`: Exposes CRUD operations for the **ApiKey** model. * Example usage: * ```ts * // Fetch zero or more ApiKeys * const apiKeys = await prisma.apiKey.findMany() * ``` */ get apiKey(): Prisma.ApiKeyDelegate; /** * `prisma.backgroundMigration`: Exposes CRUD operations for the **BackgroundMigration** model. * Example usage: * ```ts * // Fetch zero or more BackgroundMigrations * const backgroundMigrations = await prisma.backgroundMigration.findMany() * ``` */ get backgroundMigration(): Prisma.BackgroundMigrationDelegate; /** * `prisma.llmApiKeys`: Exposes CRUD operations for the **LlmApiKeys** model. * Example usage: * ```ts * // Fetch zero or more LlmApiKeys * const llmApiKeys = await prisma.llmApiKeys.findMany() * ``` */ get llmApiKeys(): Prisma.LlmApiKeysDelegate; /** * `prisma.organizationMembership`: Exposes CRUD operations for the **OrganizationMembership** model. * Example usage: * ```ts * // Fetch zero or more OrganizationMemberships * const organizationMemberships = await prisma.organizationMembership.findMany() * ``` */ get organizationMembership(): Prisma.OrganizationMembershipDelegate; /** * `prisma.projectMembership`: Exposes CRUD operations for the **ProjectMembership** model. * Example usage: * ```ts * // Fetch zero or more ProjectMemberships * const projectMemberships = await prisma.projectMembership.findMany() * ``` */ get projectMembership(): Prisma.ProjectMembershipDelegate; /** * `prisma.membershipInvitation`: Exposes CRUD operations for the **MembershipInvitation** model. * Example usage: * ```ts * // Fetch zero or more MembershipInvitations * const membershipInvitations = await prisma.membershipInvitation.findMany() * ``` */ get membershipInvitation(): Prisma.MembershipInvitationDelegate; /** * `prisma.traceSession`: Exposes CRUD operations for the **TraceSession** model. * Example usage: * ```ts * // Fetch zero or more TraceSessions * const traceSessions = await prisma.traceSession.findMany() * ``` */ get traceSession(): Prisma.TraceSessionDelegate; /** * `prisma.legacyPrismaTrace`: Exposes CRUD operations for the **LegacyPrismaTrace** model. * Example usage: * ```ts * // Fetch zero or more LegacyPrismaTraces * const legacyPrismaTraces = await prisma.legacyPrismaTrace.findMany() * ``` */ get legacyPrismaTrace(): Prisma.LegacyPrismaTraceDelegate; /** * `prisma.legacyPrismaObservation`: Exposes CRUD operations for the **LegacyPrismaObservation** model. * Example usage: * ```ts * // Fetch zero or more LegacyPrismaObservations * const legacyPrismaObservations = await prisma.legacyPrismaObservation.findMany() * ``` */ get legacyPrismaObservation(): Prisma.LegacyPrismaObservationDelegate; /** * `prisma.legacyPrismaScore`: Exposes CRUD operations for the **LegacyPrismaScore** model. * Example usage: * ```ts * // Fetch zero or more LegacyPrismaScores * const legacyPrismaScores = await prisma.legacyPrismaScore.findMany() * ``` */ get legacyPrismaScore(): Prisma.LegacyPrismaScoreDelegate; /** * `prisma.scoreConfig`: Exposes CRUD operations for the **ScoreConfig** model. * Example usage: * ```ts * // Fetch zero or more ScoreConfigs * const scoreConfigs = await prisma.scoreConfig.findMany() * ``` */ get scoreConfig(): Prisma.ScoreConfigDelegate; /** * `prisma.annotationQueue`: Exposes CRUD operations for the **AnnotationQueue** model. * Example usage: * ```ts * // Fetch zero or more AnnotationQueues * const annotationQueues = await prisma.annotationQueue.findMany() * ``` */ get annotationQueue(): Prisma.AnnotationQueueDelegate; /** * `prisma.annotationQueueItem`: Exposes CRUD operations for the **AnnotationQueueItem** model. * Example usage: * ```ts * // Fetch zero or more AnnotationQueueItems * const annotationQueueItems = await prisma.annotationQueueItem.findMany() * ``` */ get annotationQueueItem(): Prisma.AnnotationQueueItemDelegate; /** * `prisma.annotationQueueAssignment`: Exposes CRUD operations for the **AnnotationQueueAssignment** model. * Example usage: * ```ts * // Fetch zero or more AnnotationQueueAssignments * const annotationQueueAssignments = await prisma.annotationQueueAssignment.findMany() * ``` */ get annotationQueueAssignment(): Prisma.AnnotationQueueAssignmentDelegate; /** * `prisma.cronJobs`: Exposes CRUD operations for the **CronJobs** model. * Example usage: * ```ts * // Fetch zero or more CronJobs * const cronJobs = await prisma.cronJobs.findMany() * ``` */ get cronJobs(): Prisma.CronJobsDelegate; /** * `prisma.dataset`: Exposes CRUD operations for the **Dataset** model. * Example usage: * ```ts * // Fetch zero or more Datasets * const datasets = await prisma.dataset.findMany() * ``` */ get dataset(): Prisma.DatasetDelegate; /** * `prisma.datasetItem`: Exposes CRUD operations for the **DatasetItem** model. * Example usage: * ```ts * // Fetch zero or more DatasetItems * const datasetItems = await prisma.datasetItem.findMany() * ``` */ get datasetItem(): Prisma.DatasetItemDelegate; /** * `prisma.datasetRuns`: Exposes CRUD operations for the **DatasetRuns** model. * Example usage: * ```ts * // Fetch zero or more DatasetRuns * const datasetRuns = await prisma.datasetRuns.findMany() * ``` */ get datasetRuns(): Prisma.DatasetRunsDelegate; /** * `prisma.datasetRunItems`: Exposes CRUD operations for the **DatasetRunItems** model. * Example usage: * ```ts * // Fetch zero or more DatasetRunItems * const datasetRunItems = await prisma.datasetRunItems.findMany() * ``` */ get datasetRunItems(): Prisma.DatasetRunItemsDelegate; /** * `prisma.comment`: Exposes CRUD operations for the **Comment** model. * Example usage: * ```ts * // Fetch zero or more Comments * const comments = await prisma.comment.findMany() * ``` */ get comment(): Prisma.CommentDelegate; /** * `prisma.prompt`: Exposes CRUD operations for the **Prompt** model. * Example usage: * ```ts * // Fetch zero or more Prompts * const prompts = await prisma.prompt.findMany() * ``` */ get prompt(): Prisma.PromptDelegate; /** * `prisma.promptDependency`: Exposes CRUD operations for the **PromptDependency** model. * Example usage: * ```ts * // Fetch zero or more PromptDependencies * const promptDependencies = await prisma.promptDependency.findMany() * ``` */ get promptDependency(): Prisma.PromptDependencyDelegate; /** * `prisma.promptProtectedLabels`: Exposes CRUD operations for the **PromptProtectedLabels** model. * Example usage: * ```ts * // Fetch zero or more PromptProtectedLabels * const promptProtectedLabels = await prisma.promptProtectedLabels.findMany() * ``` */ get promptProtectedLabels(): Prisma.PromptProtectedLabelsDelegate; /** * `prisma.model`: Exposes CRUD operations for the **Model** model. * Example usage: * ```ts * // Fetch zero or more Models * const models = await prisma.model.findMany() * ``` */ get model(): Prisma.ModelDelegate; /** * `prisma.price`: Exposes CRUD operations for the **Price** model. * Example usage: * ```ts * // Fetch zero or more Prices * const prices = await prisma.price.findMany() * ``` */ get price(): Prisma.PriceDelegate; /** * `prisma.auditLog`: Exposes CRUD operations for the **AuditLog** model. * Example usage: * ```ts * // Fetch zero or more AuditLogs * const auditLogs = await prisma.auditLog.findMany() * ``` */ get auditLog(): Prisma.AuditLogDelegate; /** * `prisma.evalTemplate`: Exposes CRUD operations for the **EvalTemplate** model. * Example usage: * ```ts * // Fetch zero or more EvalTemplates * const evalTemplates = await prisma.evalTemplate.findMany() * ``` */ get evalTemplate(): Prisma.EvalTemplateDelegate; /** * `prisma.jobConfiguration`: Exposes CRUD operations for the **JobConfiguration** model. * Example usage: * ```ts * // Fetch zero or more JobConfigurations * const jobConfigurations = await prisma.jobConfiguration.findMany() * ``` */ get jobConfiguration(): Prisma.JobConfigurationDelegate; /** * `prisma.jobExecution`: Exposes CRUD operations for the **JobExecution** model. * Example usage: * ```ts * // Fetch zero or more JobExecutions * const jobExecutions = await prisma.jobExecution.findMany() * ``` */ get jobExecution(): Prisma.JobExecutionDelegate; /** * `prisma.defaultLlmModel`: Exposes CRUD operations for the **DefaultLlmModel** model. * Example usage: * ```ts * // Fetch zero or more DefaultLlmModels * const defaultLlmModels = await prisma.defaultLlmModel.findMany() * ``` */ get defaultLlmModel(): Prisma.DefaultLlmModelDelegate; /** * `prisma.ssoConfig`: Exposes CRUD operations for the **SsoConfig** model. * Example usage: * ```ts * // Fetch zero or more SsoConfigs * const ssoConfigs = await prisma.ssoConfig.findMany() * ``` */ get ssoConfig(): Prisma.SsoConfigDelegate; /** * `prisma.posthogIntegration`: Exposes CRUD operations for the **PosthogIntegration** model. * Example usage: * ```ts * // Fetch zero or more PosthogIntegrations * const posthogIntegrations = await prisma.posthogIntegration.findMany() * ``` */ get posthogIntegration(): Prisma.PosthogIntegrationDelegate; /** * `prisma.blobStorageIntegration`: Exposes CRUD operations for the **BlobStorageIntegration** model. * Example usage: * ```ts * // Fetch zero or more BlobStorageIntegrations * const blobStorageIntegrations = await prisma.blobStorageIntegration.findMany() * ``` */ get blobStorageIntegration(): Prisma.BlobStorageIntegrationDelegate; /** * `prisma.batchExport`: Exposes CRUD operations for the **BatchExport** model. * Example usage: * ```ts * // Fetch zero or more BatchExports * const batchExports = await prisma.batchExport.findMany() * ``` */ get batchExport(): Prisma.BatchExportDelegate; /** * `prisma.media`: Exposes CRUD operations for the **Media** model. * Example usage: * ```ts * // Fetch zero or more Media * const media = await prisma.media.findMany() * ``` */ get media(): Prisma.MediaDelegate; /** * `prisma.traceMedia`: Exposes CRUD operations for the **TraceMedia** model. * Example usage: * ```ts * // Fetch zero or more TraceMedias * const traceMedias = await prisma.traceMedia.findMany() * ``` */ get traceMedia(): Prisma.TraceMediaDelegate; /** * `prisma.observationMedia`: Exposes CRUD operations for the **ObservationMedia** model. * Example usage: * ```ts * // Fetch zero or more ObservationMedias * const observationMedias = await prisma.observationMedia.findMany() * ``` */ get observationMedia(): Prisma.ObservationMediaDelegate; /** * `prisma.billingMeterBackup`: Exposes CRUD operations for the **BillingMeterBackup** model. * Example usage: * ```ts * // Fetch zero or more BillingMeterBackups * const billingMeterBackups = await prisma.billingMeterBackup.findMany() * ``` */ get billingMeterBackup(): Prisma.BillingMeterBackupDelegate; /** * `prisma.llmSchema`: Exposes CRUD operations for the **LlmSchema** model. * Example usage: * ```ts * // Fetch zero or more LlmSchemas * const llmSchemas = await prisma.llmSchema.findMany() * ``` */ get llmSchema(): Prisma.LlmSchemaDelegate; /** * `prisma.llmTool`: Exposes CRUD operations for the **LlmTool** model. * Example usage: * ```ts * // Fetch zero or more LlmTools * const llmTools = await prisma.llmTool.findMany() * ``` */ get llmTool(): Prisma.LlmToolDelegate; /** * `prisma.dashboard`: Exposes CRUD operations for the **Dashboard** model. * Example usage: * ```ts * // Fetch zero or more Dashboards * const dashboards = await prisma.dashboard.findMany() * ``` */ get dashboard(): Prisma.DashboardDelegate; /** * `prisma.dashboardWidget`: Exposes CRUD operations for the **DashboardWidget** model. * Example usage: * ```ts * // Fetch zero or more DashboardWidgets * const dashboardWidgets = await prisma.dashboardWidget.findMany() * ``` */ get dashboardWidget(): Prisma.DashboardWidgetDelegate; /** * `prisma.tableViewPreset`: Exposes CRUD operations for the **TableViewPreset** model. * Example usage: * ```ts * // Fetch zero or more TableViewPresets * const tableViewPresets = await prisma.tableViewPreset.findMany() * ``` */ get tableViewPreset(): Prisma.TableViewPresetDelegate; /** * `prisma.action`: Exposes CRUD operations for the **Action** model. * Example usage: * ```ts * // Fetch zero or more Actions * const actions = await prisma.action.findMany() * ``` */ get action(): Prisma.ActionDelegate; /** * `prisma.trigger`: Exposes CRUD operations for the **Trigger** model. * Example usage: * ```ts * // Fetch zero or more Triggers * const triggers = await prisma.trigger.findMany() * ``` */ get trigger(): Prisma.TriggerDelegate; /** * `prisma.automation`: Exposes CRUD operations for the **Automation** model. * Example usage: * ```ts * // Fetch zero or more Automations * const automations = await prisma.automation.findMany() * ``` */ get automation(): Prisma.AutomationDelegate; /** * `prisma.automationExecution`: Exposes CRUD operations for the **AutomationExecution** model. * Example usage: * ```ts * // Fetch zero or more AutomationExecutions * const automationExecutions = await prisma.automationExecution.findMany() * ``` */ get automationExecution(): Prisma.AutomationExecutionDelegate; /** * `prisma.slackIntegration`: Exposes CRUD operations for the **SlackIntegration** model. * Example usage: * ```ts * // Fetch zero or more SlackIntegrations * const slackIntegrations = await prisma.slackIntegration.findMany() * ``` */ get slackIntegration(): Prisma.SlackIntegrationDelegate; /** * `prisma.pendingDeletion`: Exposes CRUD operations for the **PendingDeletion** model. * Example usage: * ```ts * // Fetch zero or more PendingDeletions * const pendingDeletions = await prisma.pendingDeletion.findMany() * ``` */ get pendingDeletion(): Prisma.PendingDeletionDelegate; /** * `prisma.survey`: Exposes CRUD operations for the **Survey** model. * Example usage: * ```ts * // Fetch zero or more Surveys * const surveys = await prisma.survey.findMany() * ``` */ get survey(): Prisma.SurveyDelegate; } export namespace Prisma { export import DMMF = runtime.DMMF export type PrismaPromise = $Public.PrismaPromise /** * Validator */ export import validator = runtime.Public.validator /** * Prisma Errors */ export import PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError export import PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError export import PrismaClientRustPanicError = runtime.PrismaClientRustPanicError export import PrismaClientInitializationError = runtime.PrismaClientInitializationError export import PrismaClientValidationError = runtime.PrismaClientValidationError /** * Re-export of sql-template-tag */ export import sql = runtime.sqltag export import empty = runtime.empty export import join = runtime.join export import raw = runtime.raw export import Sql = runtime.Sql /** * Decimal.js */ export import Decimal = runtime.Decimal export type DecimalJsLike = runtime.DecimalJsLike /** * Metrics */ export type Metrics = runtime.Metrics export type Metric = runtime.Metric export type MetricHistogram = runtime.MetricHistogram export type MetricHistogramBucket = runtime.MetricHistogramBucket /** * Extensions */ export import Extension = $Extensions.UserArgs export import getExtensionContext = runtime.Extensions.getExtensionContext export import Args = $Public.Args export import Payload = $Public.Payload export import Result = $Public.Result export import Exact = $Public.Exact /** * Prisma Client JS version: 6.10.1 * Query Engine version: 9b628578b3b7cae625e8c927178f15a170e74a9c */ export type PrismaVersion = { client: string } export const prismaVersion: PrismaVersion /** * Utility Types */ export import JsonObject = runtime.JsonObject export import JsonArray = runtime.JsonArray export import JsonValue = runtime.JsonValue export import InputJsonObject = runtime.InputJsonObject export import InputJsonArray = runtime.InputJsonArray export import InputJsonValue = runtime.InputJsonValue /** * Types of the values used to represent different kinds of `null` values when working with JSON fields. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ namespace NullTypes { /** * Type of `Prisma.DbNull`. * * You cannot use other instances of this class. Please use the `Prisma.DbNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class DbNull { private DbNull: never private constructor() } /** * Type of `Prisma.JsonNull`. * * You cannot use other instances of this class. Please use the `Prisma.JsonNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class JsonNull { private JsonNull: never private constructor() } /** * Type of `Prisma.AnyNull`. * * You cannot use other instances of this class. Please use the `Prisma.AnyNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class AnyNull { private AnyNull: never private constructor() } } /** * Helper for filtering JSON entries that have `null` on the database (empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const DbNull: NullTypes.DbNull /** * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const JsonNull: NullTypes.JsonNull /** * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const AnyNull: NullTypes.AnyNull type SelectAndInclude = { select: any include: any } type SelectAndOmit = { select: any omit: any } /** * Get the type of the value, that the Promise holds. */ export type PromiseType> = T extends PromiseLike ? U : T; /** * Get the return type of a function which returns a Promise. */ export type PromiseReturnType $Utils.JsPromise> = PromiseType> /** * From T, pick a set of properties whose keys are in the union K */ type Prisma__Pick = { [P in K]: T[P]; }; export type Enumerable = T | Array; export type RequiredKeys = { [K in keyof T]-?: {} extends Prisma__Pick ? never : K }[keyof T] export type TruthyKeys = keyof { [K in keyof T as T[K] extends false | undefined | null ? never : K]: K } export type TrueKeys = TruthyKeys>> /** * Subset * @desc From `T` pick properties that exist in `U`. Simple version of Intersection */ export type Subset = { [key in keyof T]: key extends keyof U ? T[key] : never; }; /** * SelectSubset * @desc From `T` pick properties that exist in `U`. Simple version of Intersection. * Additionally, it validates, if both select and include are present. If the case, it errors. */ export type SelectSubset = { [key in keyof T]: key extends keyof U ? T[key] : never } & (T extends SelectAndInclude ? 'Please either choose `select` or `include`.' : T extends SelectAndOmit ? 'Please either choose `select` or `omit`.' : {}) /** * Subset + Intersection * @desc From `T` pick properties that exist in `U` and intersect `K` */ export type SubsetIntersection = { [key in keyof T]: key extends keyof U ? T[key] : never } & K type Without = { [P in Exclude]?: never }; /** * XOR is needed to have a real mutually exclusive union type * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types */ type XOR = T extends object ? U extends object ? (Without & U) | (Without & T) : U : T /** * Is T a Record? */ type IsObject = T extends Array ? False : T extends Date ? False : T extends Uint8Array ? False : T extends BigInt ? False : T extends object ? True : False /** * If it's T[], return T */ export type UnEnumerate = T extends Array ? U : T /** * From ts-toolbelt */ type __Either = Omit & { // Merge all but K [P in K]: Prisma__Pick // With K possibilities }[K] type EitherStrict = Strict<__Either> type EitherLoose = ComputeRaw<__Either> type _Either< O extends object, K extends Key, strict extends Boolean > = { 1: EitherStrict 0: EitherLoose }[strict] type Either< O extends object, K extends Key, strict extends Boolean = 1 > = O extends unknown ? _Either : never export type Union = any type PatchUndefined = { [K in keyof O]: O[K] extends undefined ? At : O[K] } & {} /** Helper Types for "Merge" **/ export type IntersectOf = ( U extends unknown ? (k: U) => void : never ) extends (k: infer I) => void ? I : never export type Overwrite = { [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; } & {}; type _Merge = IntersectOf; }>>; type Key = string | number | symbol; type AtBasic = K extends keyof O ? O[K] : never; type AtStrict = O[K & keyof O]; type AtLoose = O extends unknown ? AtStrict : never; export type At = { 1: AtStrict; 0: AtLoose; }[strict]; export type ComputeRaw = A extends Function ? A : { [K in keyof A]: A[K]; } & {}; export type OptionalFlat = { [K in keyof O]?: O[K]; } & {}; type _Record = { [P in K]: T; }; // cause typescript not to expand types and preserve names type NoExpand = T extends unknown ? T : never; // this type assumes the passed object is entirely optional type AtLeast = NoExpand< O extends unknown ? | (K extends keyof O ? { [P in K]: O[P] } & O : O) | {[P in keyof O as P extends K ? P : never]-?: O[P]} & O : never>; type _Strict = U extends unknown ? U & OptionalFlat<_Record, keyof U>, never>> : never; export type Strict = ComputeRaw<_Strict>; /** End Helper Types for "Merge" **/ export type Merge = ComputeRaw<_Merge>>; /** A [[Boolean]] */ export type Boolean = True | False // /** // 1 // */ export type True = 1 /** 0 */ export type False = 0 export type Not = { 0: 1 1: 0 }[B] export type Extends = [A1] extends [never] ? 0 // anything `never` is false : A1 extends A2 ? 1 : 0 export type Has = Not< Extends, U1> > export type Or = { 0: { 0: 0 1: 1 } 1: { 0: 1 1: 1 } }[B1][B2] export type Keys = U extends unknown ? keyof U : never type Cast = A extends B ? A : B; export const type: unique symbol; /** * Used by group by */ export type GetScalarType = O extends object ? { [P in keyof T]: P extends keyof O ? O[P] : never } : never type FieldPaths< T, U = Omit > = IsObject extends True ? U : T type GetHavingFields = { [K in keyof T]: Or< Or, Extends<'AND', K>>, Extends<'NOT', K> > extends True ? // infer is only needed to not hit TS limit // based on the brilliant idea of Pierre-Antoine Mills // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437 T[K] extends infer TK ? GetHavingFields extends object ? Merge> : never> : never : {} extends FieldPaths ? never : K }[keyof T] /** * Convert tuple to union */ type _TupleToUnion = T extends (infer E)[] ? E : never type TupleToUnion = _TupleToUnion type MaybeTupleToUnion = T extends any[] ? TupleToUnion : T /** * Like `Pick`, but additionally can also accept an array of keys */ type PickEnumerable | keyof T> = Prisma__Pick> /** * Exclude all keys with underscores */ type ExcludeUnderscoreKeys = T extends `_${string}` ? never : T export type FieldRef = runtime.FieldRef type FieldRefInputType = Model extends never ? never : FieldRef export const ModelName: { Account: 'Account', Session: 'Session', User: 'User', VerificationToken: 'VerificationToken', Organization: 'Organization', Project: 'Project', ApiKey: 'ApiKey', BackgroundMigration: 'BackgroundMigration', LlmApiKeys: 'LlmApiKeys', OrganizationMembership: 'OrganizationMembership', ProjectMembership: 'ProjectMembership', MembershipInvitation: 'MembershipInvitation', TraceSession: 'TraceSession', LegacyPrismaTrace: 'LegacyPrismaTrace', LegacyPrismaObservation: 'LegacyPrismaObservation', LegacyPrismaScore: 'LegacyPrismaScore', ScoreConfig: 'ScoreConfig', AnnotationQueue: 'AnnotationQueue', AnnotationQueueItem: 'AnnotationQueueItem', AnnotationQueueAssignment: 'AnnotationQueueAssignment', CronJobs: 'CronJobs', Dataset: 'Dataset', DatasetItem: 'DatasetItem', DatasetRuns: 'DatasetRuns', DatasetRunItems: 'DatasetRunItems', Comment: 'Comment', Prompt: 'Prompt', PromptDependency: 'PromptDependency', PromptProtectedLabels: 'PromptProtectedLabels', Model: 'Model', Price: 'Price', AuditLog: 'AuditLog', EvalTemplate: 'EvalTemplate', JobConfiguration: 'JobConfiguration', JobExecution: 'JobExecution', DefaultLlmModel: 'DefaultLlmModel', SsoConfig: 'SsoConfig', PosthogIntegration: 'PosthogIntegration', BlobStorageIntegration: 'BlobStorageIntegration', BatchExport: 'BatchExport', Media: 'Media', TraceMedia: 'TraceMedia', ObservationMedia: 'ObservationMedia', BillingMeterBackup: 'BillingMeterBackup', LlmSchema: 'LlmSchema', LlmTool: 'LlmTool', Dashboard: 'Dashboard', DashboardWidget: 'DashboardWidget', TableViewPreset: 'TableViewPreset', Action: 'Action', Trigger: 'Trigger', Automation: 'Automation', AutomationExecution: 'AutomationExecution', SlackIntegration: 'SlackIntegration', PendingDeletion: 'PendingDeletion', Survey: 'Survey' }; export type ModelName = (typeof ModelName)[keyof typeof ModelName] export type Datasources = { db?: Datasource } interface TypeMapCb extends $Utils.Fn<{extArgs: $Extensions.InternalArgs }, $Utils.Record> { returns: Prisma.TypeMap } export type TypeMap = { globalOmitOptions: { omit: GlobalOmitOptions } meta: { modelProps: "account" | "session" | "user" | "verificationToken" | "organization" | "project" | "apiKey" | "backgroundMigration" | "llmApiKeys" | "organizationMembership" | "projectMembership" | "membershipInvitation" | "traceSession" | "legacyPrismaTrace" | "legacyPrismaObservation" | "legacyPrismaScore" | "scoreConfig" | "annotationQueue" | "annotationQueueItem" | "annotationQueueAssignment" | "cronJobs" | "dataset" | "datasetItem" | "datasetRuns" | "datasetRunItems" | "comment" | "prompt" | "promptDependency" | "promptProtectedLabels" | "model" | "price" | "auditLog" | "evalTemplate" | "jobConfiguration" | "jobExecution" | "defaultLlmModel" | "ssoConfig" | "posthogIntegration" | "blobStorageIntegration" | "batchExport" | "media" | "traceMedia" | "observationMedia" | "billingMeterBackup" | "llmSchema" | "llmTool" | "dashboard" | "dashboardWidget" | "tableViewPreset" | "action" | "trigger" | "automation" | "automationExecution" | "slackIntegration" | "pendingDeletion" | "survey" txIsolationLevel: Prisma.TransactionIsolationLevel } model: { Account: { payload: Prisma.$AccountPayload fields: Prisma.AccountFieldRefs operations: { findUnique: { args: Prisma.AccountFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AccountFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AccountFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AccountFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AccountFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AccountCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AccountCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.AccountCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.AccountDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AccountUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AccountDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AccountUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.AccountUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.AccountUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AccountAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AccountGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AccountCountArgs result: $Utils.Optional | number } } } Session: { payload: Prisma.$SessionPayload fields: Prisma.SessionFieldRefs operations: { findUnique: { args: Prisma.SessionFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SessionFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SessionFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SessionFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SessionFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SessionCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SessionCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SessionCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SessionDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SessionUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SessionDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SessionUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SessionUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SessionUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SessionAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SessionGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SessionCountArgs result: $Utils.Optional | number } } } User: { payload: Prisma.$UserPayload fields: Prisma.UserFieldRefs operations: { findUnique: { args: Prisma.UserFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.UserFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.UserFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.UserFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.UserFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.UserCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.UserCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.UserCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.UserDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.UserUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.UserDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.UserUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.UserUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.UserUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.UserAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.UserGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.UserCountArgs result: $Utils.Optional | number } } } VerificationToken: { payload: Prisma.$VerificationTokenPayload fields: Prisma.VerificationTokenFieldRefs operations: { findUnique: { args: Prisma.VerificationTokenFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.VerificationTokenFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.VerificationTokenFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.VerificationTokenFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.VerificationTokenFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.VerificationTokenCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.VerificationTokenCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.VerificationTokenCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.VerificationTokenDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.VerificationTokenUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.VerificationTokenDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.VerificationTokenUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.VerificationTokenUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.VerificationTokenUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.VerificationTokenAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.VerificationTokenGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.VerificationTokenCountArgs result: $Utils.Optional | number } } } Organization: { payload: Prisma.$OrganizationPayload fields: Prisma.OrganizationFieldRefs operations: { findUnique: { args: Prisma.OrganizationFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.OrganizationFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.OrganizationFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.OrganizationFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.OrganizationFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.OrganizationCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.OrganizationCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.OrganizationCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.OrganizationDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.OrganizationUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.OrganizationDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.OrganizationUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.OrganizationUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.OrganizationUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.OrganizationAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.OrganizationGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.OrganizationCountArgs result: $Utils.Optional | number } } } Project: { payload: Prisma.$ProjectPayload fields: Prisma.ProjectFieldRefs operations: { findUnique: { args: Prisma.ProjectFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ProjectFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ProjectFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ProjectFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ProjectFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ProjectCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ProjectCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ProjectCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ProjectDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ProjectUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ProjectDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ProjectUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.ProjectUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.ProjectUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ProjectAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ProjectGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ProjectCountArgs result: $Utils.Optional | number } } } ApiKey: { payload: Prisma.$ApiKeyPayload fields: Prisma.ApiKeyFieldRefs operations: { findUnique: { args: Prisma.ApiKeyFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ApiKeyFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ApiKeyFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ApiKeyFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ApiKeyFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ApiKeyCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ApiKeyCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ApiKeyCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ApiKeyDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ApiKeyUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ApiKeyDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ApiKeyUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.ApiKeyUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.ApiKeyUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ApiKeyAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ApiKeyGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ApiKeyCountArgs result: $Utils.Optional | number } } } BackgroundMigration: { payload: Prisma.$BackgroundMigrationPayload fields: Prisma.BackgroundMigrationFieldRefs operations: { findUnique: { args: Prisma.BackgroundMigrationFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.BackgroundMigrationFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.BackgroundMigrationFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.BackgroundMigrationFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.BackgroundMigrationFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.BackgroundMigrationCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.BackgroundMigrationCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.BackgroundMigrationCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.BackgroundMigrationDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.BackgroundMigrationUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.BackgroundMigrationDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.BackgroundMigrationUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.BackgroundMigrationUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.BackgroundMigrationUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.BackgroundMigrationAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.BackgroundMigrationGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.BackgroundMigrationCountArgs result: $Utils.Optional | number } } } LlmApiKeys: { payload: Prisma.$LlmApiKeysPayload fields: Prisma.LlmApiKeysFieldRefs operations: { findUnique: { args: Prisma.LlmApiKeysFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.LlmApiKeysFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.LlmApiKeysFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.LlmApiKeysFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.LlmApiKeysFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.LlmApiKeysCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.LlmApiKeysCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.LlmApiKeysCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.LlmApiKeysDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.LlmApiKeysUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.LlmApiKeysDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.LlmApiKeysUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.LlmApiKeysUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.LlmApiKeysUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.LlmApiKeysAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.LlmApiKeysGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.LlmApiKeysCountArgs result: $Utils.Optional | number } } } OrganizationMembership: { payload: Prisma.$OrganizationMembershipPayload fields: Prisma.OrganizationMembershipFieldRefs operations: { findUnique: { args: Prisma.OrganizationMembershipFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.OrganizationMembershipFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.OrganizationMembershipFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.OrganizationMembershipFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.OrganizationMembershipFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.OrganizationMembershipCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.OrganizationMembershipCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.OrganizationMembershipCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.OrganizationMembershipDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.OrganizationMembershipUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.OrganizationMembershipDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.OrganizationMembershipUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.OrganizationMembershipUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.OrganizationMembershipUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.OrganizationMembershipAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.OrganizationMembershipGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.OrganizationMembershipCountArgs result: $Utils.Optional | number } } } ProjectMembership: { payload: Prisma.$ProjectMembershipPayload fields: Prisma.ProjectMembershipFieldRefs operations: { findUnique: { args: Prisma.ProjectMembershipFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ProjectMembershipFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ProjectMembershipFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ProjectMembershipFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ProjectMembershipFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ProjectMembershipCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ProjectMembershipCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ProjectMembershipCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ProjectMembershipDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ProjectMembershipUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ProjectMembershipDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ProjectMembershipUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.ProjectMembershipUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.ProjectMembershipUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ProjectMembershipAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ProjectMembershipGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ProjectMembershipCountArgs result: $Utils.Optional | number } } } MembershipInvitation: { payload: Prisma.$MembershipInvitationPayload fields: Prisma.MembershipInvitationFieldRefs operations: { findUnique: { args: Prisma.MembershipInvitationFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.MembershipInvitationFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.MembershipInvitationFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.MembershipInvitationFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.MembershipInvitationFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.MembershipInvitationCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.MembershipInvitationCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.MembershipInvitationCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.MembershipInvitationDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.MembershipInvitationUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.MembershipInvitationDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.MembershipInvitationUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.MembershipInvitationUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.MembershipInvitationUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.MembershipInvitationAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.MembershipInvitationGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.MembershipInvitationCountArgs result: $Utils.Optional | number } } } TraceSession: { payload: Prisma.$TraceSessionPayload fields: Prisma.TraceSessionFieldRefs operations: { findUnique: { args: Prisma.TraceSessionFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.TraceSessionFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.TraceSessionFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.TraceSessionFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.TraceSessionFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.TraceSessionCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.TraceSessionCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.TraceSessionCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.TraceSessionDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.TraceSessionUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.TraceSessionDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.TraceSessionUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.TraceSessionUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.TraceSessionUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.TraceSessionAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.TraceSessionGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.TraceSessionCountArgs result: $Utils.Optional | number } } } LegacyPrismaTrace: { payload: Prisma.$LegacyPrismaTracePayload fields: Prisma.LegacyPrismaTraceFieldRefs operations: { findUnique: { args: Prisma.LegacyPrismaTraceFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.LegacyPrismaTraceFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.LegacyPrismaTraceFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.LegacyPrismaTraceFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.LegacyPrismaTraceFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.LegacyPrismaTraceCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.LegacyPrismaTraceCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.LegacyPrismaTraceCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.LegacyPrismaTraceDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.LegacyPrismaTraceUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.LegacyPrismaTraceDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.LegacyPrismaTraceUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.LegacyPrismaTraceUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.LegacyPrismaTraceUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.LegacyPrismaTraceAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.LegacyPrismaTraceGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.LegacyPrismaTraceCountArgs result: $Utils.Optional | number } } } LegacyPrismaObservation: { payload: Prisma.$LegacyPrismaObservationPayload fields: Prisma.LegacyPrismaObservationFieldRefs operations: { findUnique: { args: Prisma.LegacyPrismaObservationFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.LegacyPrismaObservationFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.LegacyPrismaObservationFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.LegacyPrismaObservationFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.LegacyPrismaObservationFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.LegacyPrismaObservationCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.LegacyPrismaObservationCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.LegacyPrismaObservationCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.LegacyPrismaObservationDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.LegacyPrismaObservationUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.LegacyPrismaObservationDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.LegacyPrismaObservationUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.LegacyPrismaObservationUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.LegacyPrismaObservationUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.LegacyPrismaObservationAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.LegacyPrismaObservationGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.LegacyPrismaObservationCountArgs result: $Utils.Optional | number } } } LegacyPrismaScore: { payload: Prisma.$LegacyPrismaScorePayload fields: Prisma.LegacyPrismaScoreFieldRefs operations: { findUnique: { args: Prisma.LegacyPrismaScoreFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.LegacyPrismaScoreFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.LegacyPrismaScoreFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.LegacyPrismaScoreFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.LegacyPrismaScoreFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.LegacyPrismaScoreCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.LegacyPrismaScoreCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.LegacyPrismaScoreCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.LegacyPrismaScoreDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.LegacyPrismaScoreUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.LegacyPrismaScoreDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.LegacyPrismaScoreUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.LegacyPrismaScoreUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.LegacyPrismaScoreUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.LegacyPrismaScoreAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.LegacyPrismaScoreGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.LegacyPrismaScoreCountArgs result: $Utils.Optional | number } } } ScoreConfig: { payload: Prisma.$ScoreConfigPayload fields: Prisma.ScoreConfigFieldRefs operations: { findUnique: { args: Prisma.ScoreConfigFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ScoreConfigFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ScoreConfigFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ScoreConfigFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ScoreConfigFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ScoreConfigCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ScoreConfigCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ScoreConfigCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ScoreConfigDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ScoreConfigUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ScoreConfigDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ScoreConfigUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.ScoreConfigUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.ScoreConfigUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ScoreConfigAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ScoreConfigGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ScoreConfigCountArgs result: $Utils.Optional | number } } } AnnotationQueue: { payload: Prisma.$AnnotationQueuePayload fields: Prisma.AnnotationQueueFieldRefs operations: { findUnique: { args: Prisma.AnnotationQueueFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AnnotationQueueFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AnnotationQueueFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AnnotationQueueFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AnnotationQueueFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AnnotationQueueCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AnnotationQueueCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.AnnotationQueueCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.AnnotationQueueDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AnnotationQueueUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AnnotationQueueDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AnnotationQueueUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.AnnotationQueueUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.AnnotationQueueUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AnnotationQueueAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AnnotationQueueGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AnnotationQueueCountArgs result: $Utils.Optional | number } } } AnnotationQueueItem: { payload: Prisma.$AnnotationQueueItemPayload fields: Prisma.AnnotationQueueItemFieldRefs operations: { findUnique: { args: Prisma.AnnotationQueueItemFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AnnotationQueueItemFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AnnotationQueueItemFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AnnotationQueueItemFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AnnotationQueueItemFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AnnotationQueueItemCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AnnotationQueueItemCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.AnnotationQueueItemCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.AnnotationQueueItemDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AnnotationQueueItemUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AnnotationQueueItemDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AnnotationQueueItemUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.AnnotationQueueItemUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.AnnotationQueueItemUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AnnotationQueueItemAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AnnotationQueueItemGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AnnotationQueueItemCountArgs result: $Utils.Optional | number } } } AnnotationQueueAssignment: { payload: Prisma.$AnnotationQueueAssignmentPayload fields: Prisma.AnnotationQueueAssignmentFieldRefs operations: { findUnique: { args: Prisma.AnnotationQueueAssignmentFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AnnotationQueueAssignmentFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AnnotationQueueAssignmentFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AnnotationQueueAssignmentFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AnnotationQueueAssignmentFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AnnotationQueueAssignmentCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AnnotationQueueAssignmentCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.AnnotationQueueAssignmentCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.AnnotationQueueAssignmentDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AnnotationQueueAssignmentUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AnnotationQueueAssignmentDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AnnotationQueueAssignmentUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.AnnotationQueueAssignmentUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.AnnotationQueueAssignmentUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AnnotationQueueAssignmentAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AnnotationQueueAssignmentGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AnnotationQueueAssignmentCountArgs result: $Utils.Optional | number } } } CronJobs: { payload: Prisma.$CronJobsPayload fields: Prisma.CronJobsFieldRefs operations: { findUnique: { args: Prisma.CronJobsFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CronJobsFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CronJobsFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CronJobsFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CronJobsFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CronJobsCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CronJobsCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.CronJobsCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.CronJobsDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CronJobsUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CronJobsDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CronJobsUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.CronJobsUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.CronJobsUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CronJobsAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CronJobsGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CronJobsCountArgs result: $Utils.Optional | number } } } Dataset: { payload: Prisma.$DatasetPayload fields: Prisma.DatasetFieldRefs operations: { findUnique: { args: Prisma.DatasetFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.DatasetFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.DatasetFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.DatasetFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.DatasetFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.DatasetCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.DatasetCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.DatasetCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.DatasetDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.DatasetUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.DatasetDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.DatasetUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.DatasetUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.DatasetUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.DatasetAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.DatasetGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.DatasetCountArgs result: $Utils.Optional | number } } } DatasetItem: { payload: Prisma.$DatasetItemPayload fields: Prisma.DatasetItemFieldRefs operations: { findUnique: { args: Prisma.DatasetItemFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.DatasetItemFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.DatasetItemFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.DatasetItemFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.DatasetItemFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.DatasetItemCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.DatasetItemCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.DatasetItemCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.DatasetItemDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.DatasetItemUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.DatasetItemDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.DatasetItemUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.DatasetItemUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.DatasetItemUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.DatasetItemAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.DatasetItemGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.DatasetItemCountArgs result: $Utils.Optional | number } } } DatasetRuns: { payload: Prisma.$DatasetRunsPayload fields: Prisma.DatasetRunsFieldRefs operations: { findUnique: { args: Prisma.DatasetRunsFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.DatasetRunsFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.DatasetRunsFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.DatasetRunsFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.DatasetRunsFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.DatasetRunsCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.DatasetRunsCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.DatasetRunsCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.DatasetRunsDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.DatasetRunsUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.DatasetRunsDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.DatasetRunsUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.DatasetRunsUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.DatasetRunsUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.DatasetRunsAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.DatasetRunsGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.DatasetRunsCountArgs result: $Utils.Optional | number } } } DatasetRunItems: { payload: Prisma.$DatasetRunItemsPayload fields: Prisma.DatasetRunItemsFieldRefs operations: { findUnique: { args: Prisma.DatasetRunItemsFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.DatasetRunItemsFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.DatasetRunItemsFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.DatasetRunItemsFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.DatasetRunItemsFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.DatasetRunItemsCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.DatasetRunItemsCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.DatasetRunItemsCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.DatasetRunItemsDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.DatasetRunItemsUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.DatasetRunItemsDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.DatasetRunItemsUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.DatasetRunItemsUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.DatasetRunItemsUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.DatasetRunItemsAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.DatasetRunItemsGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.DatasetRunItemsCountArgs result: $Utils.Optional | number } } } Comment: { payload: Prisma.$CommentPayload fields: Prisma.CommentFieldRefs operations: { findUnique: { args: Prisma.CommentFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CommentFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CommentFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CommentFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CommentFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CommentCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CommentCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.CommentCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.CommentDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CommentUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CommentDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CommentUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.CommentUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.CommentUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CommentAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CommentGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CommentCountArgs result: $Utils.Optional | number } } } Prompt: { payload: Prisma.$PromptPayload fields: Prisma.PromptFieldRefs operations: { findUnique: { args: Prisma.PromptFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.PromptFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.PromptFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.PromptFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.PromptFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.PromptCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.PromptCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.PromptCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.PromptDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.PromptUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.PromptDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.PromptUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.PromptUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.PromptUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.PromptAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.PromptGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.PromptCountArgs result: $Utils.Optional | number } } } PromptDependency: { payload: Prisma.$PromptDependencyPayload fields: Prisma.PromptDependencyFieldRefs operations: { findUnique: { args: Prisma.PromptDependencyFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.PromptDependencyFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.PromptDependencyFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.PromptDependencyFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.PromptDependencyFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.PromptDependencyCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.PromptDependencyCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.PromptDependencyCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.PromptDependencyDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.PromptDependencyUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.PromptDependencyDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.PromptDependencyUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.PromptDependencyUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.PromptDependencyUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.PromptDependencyAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.PromptDependencyGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.PromptDependencyCountArgs result: $Utils.Optional | number } } } PromptProtectedLabels: { payload: Prisma.$PromptProtectedLabelsPayload fields: Prisma.PromptProtectedLabelsFieldRefs operations: { findUnique: { args: Prisma.PromptProtectedLabelsFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.PromptProtectedLabelsFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.PromptProtectedLabelsFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.PromptProtectedLabelsFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.PromptProtectedLabelsFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.PromptProtectedLabelsCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.PromptProtectedLabelsCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.PromptProtectedLabelsCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.PromptProtectedLabelsDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.PromptProtectedLabelsUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.PromptProtectedLabelsDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.PromptProtectedLabelsUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.PromptProtectedLabelsUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.PromptProtectedLabelsUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.PromptProtectedLabelsAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.PromptProtectedLabelsGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.PromptProtectedLabelsCountArgs result: $Utils.Optional | number } } } Model: { payload: Prisma.$ModelPayload fields: Prisma.ModelFieldRefs operations: { findUnique: { args: Prisma.ModelFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ModelFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ModelFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ModelFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ModelFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ModelCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ModelCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ModelCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ModelDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ModelUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ModelDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ModelUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.ModelUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.ModelUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ModelAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ModelGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ModelCountArgs result: $Utils.Optional | number } } } Price: { payload: Prisma.$PricePayload fields: Prisma.PriceFieldRefs operations: { findUnique: { args: Prisma.PriceFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.PriceFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.PriceFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.PriceFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.PriceFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.PriceCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.PriceCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.PriceCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.PriceDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.PriceUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.PriceDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.PriceUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.PriceUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.PriceUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.PriceAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.PriceGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.PriceCountArgs result: $Utils.Optional | number } } } AuditLog: { payload: Prisma.$AuditLogPayload fields: Prisma.AuditLogFieldRefs operations: { findUnique: { args: Prisma.AuditLogFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AuditLogFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AuditLogFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AuditLogFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AuditLogFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AuditLogCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AuditLogCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.AuditLogCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.AuditLogDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AuditLogUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AuditLogDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AuditLogUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.AuditLogUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.AuditLogUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AuditLogAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AuditLogGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AuditLogCountArgs result: $Utils.Optional | number } } } EvalTemplate: { payload: Prisma.$EvalTemplatePayload fields: Prisma.EvalTemplateFieldRefs operations: { findUnique: { args: Prisma.EvalTemplateFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.EvalTemplateFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.EvalTemplateFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.EvalTemplateFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.EvalTemplateFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.EvalTemplateCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.EvalTemplateCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.EvalTemplateCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.EvalTemplateDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.EvalTemplateUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.EvalTemplateDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.EvalTemplateUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.EvalTemplateUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.EvalTemplateUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.EvalTemplateAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.EvalTemplateGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.EvalTemplateCountArgs result: $Utils.Optional | number } } } JobConfiguration: { payload: Prisma.$JobConfigurationPayload fields: Prisma.JobConfigurationFieldRefs operations: { findUnique: { args: Prisma.JobConfigurationFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.JobConfigurationFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.JobConfigurationFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.JobConfigurationFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.JobConfigurationFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.JobConfigurationCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.JobConfigurationCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.JobConfigurationCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.JobConfigurationDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.JobConfigurationUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.JobConfigurationDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.JobConfigurationUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.JobConfigurationUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.JobConfigurationUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.JobConfigurationAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.JobConfigurationGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.JobConfigurationCountArgs result: $Utils.Optional | number } } } JobExecution: { payload: Prisma.$JobExecutionPayload fields: Prisma.JobExecutionFieldRefs operations: { findUnique: { args: Prisma.JobExecutionFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.JobExecutionFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.JobExecutionFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.JobExecutionFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.JobExecutionFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.JobExecutionCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.JobExecutionCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.JobExecutionCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.JobExecutionDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.JobExecutionUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.JobExecutionDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.JobExecutionUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.JobExecutionUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.JobExecutionUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.JobExecutionAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.JobExecutionGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.JobExecutionCountArgs result: $Utils.Optional | number } } } DefaultLlmModel: { payload: Prisma.$DefaultLlmModelPayload fields: Prisma.DefaultLlmModelFieldRefs operations: { findUnique: { args: Prisma.DefaultLlmModelFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.DefaultLlmModelFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.DefaultLlmModelFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.DefaultLlmModelFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.DefaultLlmModelFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.DefaultLlmModelCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.DefaultLlmModelCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.DefaultLlmModelCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.DefaultLlmModelDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.DefaultLlmModelUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.DefaultLlmModelDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.DefaultLlmModelUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.DefaultLlmModelUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.DefaultLlmModelUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.DefaultLlmModelAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.DefaultLlmModelGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.DefaultLlmModelCountArgs result: $Utils.Optional | number } } } SsoConfig: { payload: Prisma.$SsoConfigPayload fields: Prisma.SsoConfigFieldRefs operations: { findUnique: { args: Prisma.SsoConfigFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SsoConfigFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SsoConfigFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SsoConfigFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SsoConfigFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SsoConfigCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SsoConfigCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SsoConfigCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SsoConfigDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SsoConfigUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SsoConfigDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SsoConfigUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SsoConfigUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SsoConfigUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SsoConfigAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SsoConfigGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SsoConfigCountArgs result: $Utils.Optional | number } } } PosthogIntegration: { payload: Prisma.$PosthogIntegrationPayload fields: Prisma.PosthogIntegrationFieldRefs operations: { findUnique: { args: Prisma.PosthogIntegrationFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.PosthogIntegrationFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.PosthogIntegrationFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.PosthogIntegrationFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.PosthogIntegrationFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.PosthogIntegrationCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.PosthogIntegrationCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.PosthogIntegrationCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.PosthogIntegrationDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.PosthogIntegrationUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.PosthogIntegrationDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.PosthogIntegrationUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.PosthogIntegrationUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.PosthogIntegrationUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.PosthogIntegrationAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.PosthogIntegrationGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.PosthogIntegrationCountArgs result: $Utils.Optional | number } } } BlobStorageIntegration: { payload: Prisma.$BlobStorageIntegrationPayload fields: Prisma.BlobStorageIntegrationFieldRefs operations: { findUnique: { args: Prisma.BlobStorageIntegrationFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.BlobStorageIntegrationFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.BlobStorageIntegrationFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.BlobStorageIntegrationFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.BlobStorageIntegrationFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.BlobStorageIntegrationCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.BlobStorageIntegrationCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.BlobStorageIntegrationCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.BlobStorageIntegrationDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.BlobStorageIntegrationUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.BlobStorageIntegrationDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.BlobStorageIntegrationUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.BlobStorageIntegrationUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.BlobStorageIntegrationUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.BlobStorageIntegrationAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.BlobStorageIntegrationGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.BlobStorageIntegrationCountArgs result: $Utils.Optional | number } } } BatchExport: { payload: Prisma.$BatchExportPayload fields: Prisma.BatchExportFieldRefs operations: { findUnique: { args: Prisma.BatchExportFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.BatchExportFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.BatchExportFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.BatchExportFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.BatchExportFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.BatchExportCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.BatchExportCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.BatchExportCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.BatchExportDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.BatchExportUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.BatchExportDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.BatchExportUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.BatchExportUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.BatchExportUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.BatchExportAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.BatchExportGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.BatchExportCountArgs result: $Utils.Optional | number } } } Media: { payload: Prisma.$MediaPayload fields: Prisma.MediaFieldRefs operations: { findUnique: { args: Prisma.MediaFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.MediaFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.MediaFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.MediaFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.MediaFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.MediaCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.MediaCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.MediaCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.MediaDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.MediaUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.MediaDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.MediaUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.MediaUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.MediaUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.MediaAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.MediaGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.MediaCountArgs result: $Utils.Optional | number } } } TraceMedia: { payload: Prisma.$TraceMediaPayload fields: Prisma.TraceMediaFieldRefs operations: { findUnique: { args: Prisma.TraceMediaFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.TraceMediaFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.TraceMediaFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.TraceMediaFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.TraceMediaFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.TraceMediaCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.TraceMediaCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.TraceMediaCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.TraceMediaDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.TraceMediaUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.TraceMediaDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.TraceMediaUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.TraceMediaUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.TraceMediaUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.TraceMediaAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.TraceMediaGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.TraceMediaCountArgs result: $Utils.Optional | number } } } ObservationMedia: { payload: Prisma.$ObservationMediaPayload fields: Prisma.ObservationMediaFieldRefs operations: { findUnique: { args: Prisma.ObservationMediaFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ObservationMediaFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ObservationMediaFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ObservationMediaFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ObservationMediaFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ObservationMediaCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ObservationMediaCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ObservationMediaCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ObservationMediaDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ObservationMediaUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ObservationMediaDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ObservationMediaUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.ObservationMediaUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.ObservationMediaUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ObservationMediaAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ObservationMediaGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ObservationMediaCountArgs result: $Utils.Optional | number } } } BillingMeterBackup: { payload: Prisma.$BillingMeterBackupPayload fields: Prisma.BillingMeterBackupFieldRefs operations: { findUnique: { args: Prisma.BillingMeterBackupFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.BillingMeterBackupFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.BillingMeterBackupFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.BillingMeterBackupFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.BillingMeterBackupFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.BillingMeterBackupCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.BillingMeterBackupCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.BillingMeterBackupCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.BillingMeterBackupDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.BillingMeterBackupUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.BillingMeterBackupDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.BillingMeterBackupUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.BillingMeterBackupUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.BillingMeterBackupUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.BillingMeterBackupAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.BillingMeterBackupGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.BillingMeterBackupCountArgs result: $Utils.Optional | number } } } LlmSchema: { payload: Prisma.$LlmSchemaPayload fields: Prisma.LlmSchemaFieldRefs operations: { findUnique: { args: Prisma.LlmSchemaFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.LlmSchemaFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.LlmSchemaFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.LlmSchemaFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.LlmSchemaFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.LlmSchemaCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.LlmSchemaCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.LlmSchemaCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.LlmSchemaDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.LlmSchemaUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.LlmSchemaDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.LlmSchemaUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.LlmSchemaUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.LlmSchemaUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.LlmSchemaAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.LlmSchemaGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.LlmSchemaCountArgs result: $Utils.Optional | number } } } LlmTool: { payload: Prisma.$LlmToolPayload fields: Prisma.LlmToolFieldRefs operations: { findUnique: { args: Prisma.LlmToolFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.LlmToolFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.LlmToolFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.LlmToolFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.LlmToolFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.LlmToolCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.LlmToolCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.LlmToolCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.LlmToolDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.LlmToolUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.LlmToolDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.LlmToolUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.LlmToolUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.LlmToolUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.LlmToolAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.LlmToolGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.LlmToolCountArgs result: $Utils.Optional | number } } } Dashboard: { payload: Prisma.$DashboardPayload fields: Prisma.DashboardFieldRefs operations: { findUnique: { args: Prisma.DashboardFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.DashboardFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.DashboardFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.DashboardFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.DashboardFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.DashboardCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.DashboardCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.DashboardCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.DashboardDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.DashboardUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.DashboardDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.DashboardUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.DashboardUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.DashboardUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.DashboardAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.DashboardGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.DashboardCountArgs result: $Utils.Optional | number } } } DashboardWidget: { payload: Prisma.$DashboardWidgetPayload fields: Prisma.DashboardWidgetFieldRefs operations: { findUnique: { args: Prisma.DashboardWidgetFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.DashboardWidgetFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.DashboardWidgetFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.DashboardWidgetFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.DashboardWidgetFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.DashboardWidgetCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.DashboardWidgetCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.DashboardWidgetCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.DashboardWidgetDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.DashboardWidgetUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.DashboardWidgetDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.DashboardWidgetUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.DashboardWidgetUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.DashboardWidgetUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.DashboardWidgetAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.DashboardWidgetGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.DashboardWidgetCountArgs result: $Utils.Optional | number } } } TableViewPreset: { payload: Prisma.$TableViewPresetPayload fields: Prisma.TableViewPresetFieldRefs operations: { findUnique: { args: Prisma.TableViewPresetFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.TableViewPresetFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.TableViewPresetFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.TableViewPresetFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.TableViewPresetFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.TableViewPresetCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.TableViewPresetCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.TableViewPresetCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.TableViewPresetDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.TableViewPresetUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.TableViewPresetDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.TableViewPresetUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.TableViewPresetUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.TableViewPresetUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.TableViewPresetAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.TableViewPresetGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.TableViewPresetCountArgs result: $Utils.Optional | number } } } Action: { payload: Prisma.$ActionPayload fields: Prisma.ActionFieldRefs operations: { findUnique: { args: Prisma.ActionFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ActionFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ActionFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ActionFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ActionFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ActionCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ActionCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ActionCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ActionDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ActionUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ActionDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ActionUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.ActionUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.ActionUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ActionAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ActionGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ActionCountArgs result: $Utils.Optional | number } } } Trigger: { payload: Prisma.$TriggerPayload fields: Prisma.TriggerFieldRefs operations: { findUnique: { args: Prisma.TriggerFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.TriggerFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.TriggerFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.TriggerFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.TriggerFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.TriggerCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.TriggerCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.TriggerCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.TriggerDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.TriggerUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.TriggerDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.TriggerUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.TriggerUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.TriggerUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.TriggerAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.TriggerGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.TriggerCountArgs result: $Utils.Optional | number } } } Automation: { payload: Prisma.$AutomationPayload fields: Prisma.AutomationFieldRefs operations: { findUnique: { args: Prisma.AutomationFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AutomationFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AutomationFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AutomationFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AutomationFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AutomationCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AutomationCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.AutomationCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.AutomationDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AutomationUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AutomationDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AutomationUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.AutomationUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.AutomationUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AutomationAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AutomationGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AutomationCountArgs result: $Utils.Optional | number } } } AutomationExecution: { payload: Prisma.$AutomationExecutionPayload fields: Prisma.AutomationExecutionFieldRefs operations: { findUnique: { args: Prisma.AutomationExecutionFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AutomationExecutionFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AutomationExecutionFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AutomationExecutionFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AutomationExecutionFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AutomationExecutionCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AutomationExecutionCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.AutomationExecutionCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.AutomationExecutionDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AutomationExecutionUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AutomationExecutionDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AutomationExecutionUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.AutomationExecutionUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.AutomationExecutionUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AutomationExecutionAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AutomationExecutionGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AutomationExecutionCountArgs result: $Utils.Optional | number } } } SlackIntegration: { payload: Prisma.$SlackIntegrationPayload fields: Prisma.SlackIntegrationFieldRefs operations: { findUnique: { args: Prisma.SlackIntegrationFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SlackIntegrationFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SlackIntegrationFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SlackIntegrationFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SlackIntegrationFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SlackIntegrationCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SlackIntegrationCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SlackIntegrationCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SlackIntegrationDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SlackIntegrationUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SlackIntegrationDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SlackIntegrationUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SlackIntegrationUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SlackIntegrationUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SlackIntegrationAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SlackIntegrationGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SlackIntegrationCountArgs result: $Utils.Optional | number } } } PendingDeletion: { payload: Prisma.$PendingDeletionPayload fields: Prisma.PendingDeletionFieldRefs operations: { findUnique: { args: Prisma.PendingDeletionFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.PendingDeletionFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.PendingDeletionFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.PendingDeletionFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.PendingDeletionFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.PendingDeletionCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.PendingDeletionCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.PendingDeletionCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.PendingDeletionDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.PendingDeletionUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.PendingDeletionDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.PendingDeletionUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.PendingDeletionUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.PendingDeletionUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.PendingDeletionAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.PendingDeletionGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.PendingDeletionCountArgs result: $Utils.Optional | number } } } Survey: { payload: Prisma.$SurveyPayload fields: Prisma.SurveyFieldRefs operations: { findUnique: { args: Prisma.SurveyFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SurveyFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SurveyFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SurveyFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SurveyFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SurveyCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SurveyCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SurveyCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SurveyDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SurveyUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SurveyDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SurveyUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SurveyUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SurveyUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SurveyAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SurveyGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SurveyCountArgs result: $Utils.Optional | number } } } } } & { other: { payload: any operations: { $executeRaw: { args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]], result: any } $executeRawUnsafe: { args: [query: string, ...values: any[]], result: any } $queryRaw: { args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]], result: any } $queryRawUnsafe: { args: [query: string, ...values: any[]], result: any } } } } export const defineExtension: $Extensions.ExtendsHook<"define", Prisma.TypeMapCb, $Extensions.DefaultArgs> export type DefaultPrismaClient = PrismaClient export type ErrorFormat = 'pretty' | 'colorless' | 'minimal' export interface PrismaClientOptions { /** * Overwrites the datasource url from your schema.prisma file */ datasources?: Datasources /** * Overwrites the datasource url from your schema.prisma file */ datasourceUrl?: string /** * @default "colorless" */ errorFormat?: ErrorFormat /** * @example * ``` * // Defaults to stdout * log: ['query', 'info', 'warn', 'error'] * * // Emit as events * log: [ * { emit: 'stdout', level: 'query' }, * { emit: 'stdout', level: 'info' }, * { emit: 'stdout', level: 'warn' } * { emit: 'stdout', level: 'error' } * ] * ``` * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option). */ log?: (LogLevel | LogDefinition)[] /** * The default values for transactionOptions * maxWait ?= 2000 * timeout ?= 5000 */ transactionOptions?: { maxWait?: number timeout?: number isolationLevel?: Prisma.TransactionIsolationLevel } /** * Global configuration for omitting model fields by default. * * @example * ``` * const prisma = new PrismaClient({ * omit: { * user: { * password: true * } * } * }) * ``` */ omit?: Prisma.GlobalOmitConfig } export type GlobalOmitConfig = { account?: AccountOmit session?: SessionOmit user?: UserOmit verificationToken?: VerificationTokenOmit organization?: OrganizationOmit project?: ProjectOmit apiKey?: ApiKeyOmit backgroundMigration?: BackgroundMigrationOmit llmApiKeys?: LlmApiKeysOmit organizationMembership?: OrganizationMembershipOmit projectMembership?: ProjectMembershipOmit membershipInvitation?: MembershipInvitationOmit traceSession?: TraceSessionOmit legacyPrismaTrace?: LegacyPrismaTraceOmit legacyPrismaObservation?: LegacyPrismaObservationOmit legacyPrismaScore?: LegacyPrismaScoreOmit scoreConfig?: ScoreConfigOmit annotationQueue?: AnnotationQueueOmit annotationQueueItem?: AnnotationQueueItemOmit annotationQueueAssignment?: AnnotationQueueAssignmentOmit cronJobs?: CronJobsOmit dataset?: DatasetOmit datasetItem?: DatasetItemOmit datasetRuns?: DatasetRunsOmit datasetRunItems?: DatasetRunItemsOmit comment?: CommentOmit prompt?: PromptOmit promptDependency?: PromptDependencyOmit promptProtectedLabels?: PromptProtectedLabelsOmit model?: ModelOmit price?: PriceOmit auditLog?: AuditLogOmit evalTemplate?: EvalTemplateOmit jobConfiguration?: JobConfigurationOmit jobExecution?: JobExecutionOmit defaultLlmModel?: DefaultLlmModelOmit ssoConfig?: SsoConfigOmit posthogIntegration?: PosthogIntegrationOmit blobStorageIntegration?: BlobStorageIntegrationOmit batchExport?: BatchExportOmit media?: MediaOmit traceMedia?: TraceMediaOmit observationMedia?: ObservationMediaOmit billingMeterBackup?: BillingMeterBackupOmit llmSchema?: LlmSchemaOmit llmTool?: LlmToolOmit dashboard?: DashboardOmit dashboardWidget?: DashboardWidgetOmit tableViewPreset?: TableViewPresetOmit action?: ActionOmit trigger?: TriggerOmit automation?: AutomationOmit automationExecution?: AutomationExecutionOmit slackIntegration?: SlackIntegrationOmit pendingDeletion?: PendingDeletionOmit survey?: SurveyOmit } /* Types for Logging */ export type LogLevel = 'info' | 'query' | 'warn' | 'error' export type LogDefinition = { level: LogLevel emit: 'stdout' | 'event' } export type GetLogType = T extends LogDefinition ? T['emit'] extends 'event' ? T['level'] : never : never export type GetEvents = T extends Array ? GetLogType | GetLogType | GetLogType | GetLogType : never export type QueryEvent = { timestamp: Date query: string params: string duration: number target: string } export type LogEvent = { timestamp: Date message: string target: string } /* End Types for Logging */ export type PrismaAction = | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'executeRaw' | 'queryRaw' | 'aggregate' | 'count' | 'runCommandRaw' | 'findRaw' | 'groupBy' /** * These options are being passed into the middleware as "params" */ export type MiddlewareParams = { model?: ModelName action: PrismaAction args: any dataPath: string[] runInTransaction: boolean } /** * The `T` type makes sure, that the `return proceed` is not forgotten in the middleware implementation */ export type Middleware = ( params: MiddlewareParams, next: (params: MiddlewareParams) => $Utils.JsPromise, ) => $Utils.JsPromise // tested in getLogLevel.test.ts export function getLogLevel(log: Array): LogLevel | undefined; /** * `PrismaClient` proxy available in interactive transactions. */ export type TransactionClient = Omit export type Datasource = { url?: string } /** * Count Types */ /** * Count Type UserCountOutputType */ export type UserCountOutputType = { accounts: number sessions: number organizationMemberships: number projectMemberships: number invitations: number annotatedLockedItem: number annotatedCompletedItem: number dashboardWidgetsCreated: number dashboardWidgetsUpdated: number dashboardCreated: number dashboardUpdated: number tableViewPresetCreated: number tableViewPresetUpdated: number annotationQueueAssignment: number surveys: number } export type UserCountOutputTypeSelect = { accounts?: boolean | UserCountOutputTypeCountAccountsArgs sessions?: boolean | UserCountOutputTypeCountSessionsArgs organizationMemberships?: boolean | UserCountOutputTypeCountOrganizationMembershipsArgs projectMemberships?: boolean | UserCountOutputTypeCountProjectMembershipsArgs invitations?: boolean | UserCountOutputTypeCountInvitationsArgs annotatedLockedItem?: boolean | UserCountOutputTypeCountAnnotatedLockedItemArgs annotatedCompletedItem?: boolean | UserCountOutputTypeCountAnnotatedCompletedItemArgs dashboardWidgetsCreated?: boolean | UserCountOutputTypeCountDashboardWidgetsCreatedArgs dashboardWidgetsUpdated?: boolean | UserCountOutputTypeCountDashboardWidgetsUpdatedArgs dashboardCreated?: boolean | UserCountOutputTypeCountDashboardCreatedArgs dashboardUpdated?: boolean | UserCountOutputTypeCountDashboardUpdatedArgs tableViewPresetCreated?: boolean | UserCountOutputTypeCountTableViewPresetCreatedArgs tableViewPresetUpdated?: boolean | UserCountOutputTypeCountTableViewPresetUpdatedArgs annotationQueueAssignment?: boolean | UserCountOutputTypeCountAnnotationQueueAssignmentArgs surveys?: boolean | UserCountOutputTypeCountSurveysArgs } // Custom InputTypes /** * UserCountOutputType without action */ export type UserCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the UserCountOutputType */ select?: UserCountOutputTypeSelect | null } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountAccountsArgs = { where?: AccountWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountSessionsArgs = { where?: SessionWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountOrganizationMembershipsArgs = { where?: OrganizationMembershipWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountProjectMembershipsArgs = { where?: ProjectMembershipWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountInvitationsArgs = { where?: MembershipInvitationWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountAnnotatedLockedItemArgs = { where?: AnnotationQueueItemWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountAnnotatedCompletedItemArgs = { where?: AnnotationQueueItemWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountDashboardWidgetsCreatedArgs = { where?: DashboardWidgetWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountDashboardWidgetsUpdatedArgs = { where?: DashboardWidgetWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountDashboardCreatedArgs = { where?: DashboardWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountDashboardUpdatedArgs = { where?: DashboardWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountTableViewPresetCreatedArgs = { where?: TableViewPresetWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountTableViewPresetUpdatedArgs = { where?: TableViewPresetWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountAnnotationQueueAssignmentArgs = { where?: AnnotationQueueAssignmentWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountSurveysArgs = { where?: SurveyWhereInput } /** * Count Type OrganizationCountOutputType */ export type OrganizationCountOutputType = { organizationMemberships: number projects: number MembershipInvitation: number ApiKey: number surveys: number } export type OrganizationCountOutputTypeSelect = { organizationMemberships?: boolean | OrganizationCountOutputTypeCountOrganizationMembershipsArgs projects?: boolean | OrganizationCountOutputTypeCountProjectsArgs MembershipInvitation?: boolean | OrganizationCountOutputTypeCountMembershipInvitationArgs ApiKey?: boolean | OrganizationCountOutputTypeCountApiKeyArgs surveys?: boolean | OrganizationCountOutputTypeCountSurveysArgs } // Custom InputTypes /** * OrganizationCountOutputType without action */ export type OrganizationCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the OrganizationCountOutputType */ select?: OrganizationCountOutputTypeSelect | null } /** * OrganizationCountOutputType without action */ export type OrganizationCountOutputTypeCountOrganizationMembershipsArgs = { where?: OrganizationMembershipWhereInput } /** * OrganizationCountOutputType without action */ export type OrganizationCountOutputTypeCountProjectsArgs = { where?: ProjectWhereInput } /** * OrganizationCountOutputType without action */ export type OrganizationCountOutputTypeCountMembershipInvitationArgs = { where?: MembershipInvitationWhereInput } /** * OrganizationCountOutputType without action */ export type OrganizationCountOutputTypeCountApiKeyArgs = { where?: ApiKeyWhereInput } /** * OrganizationCountOutputType without action */ export type OrganizationCountOutputTypeCountSurveysArgs = { where?: SurveyWhereInput } /** * Count Type ProjectCountOutputType */ export type ProjectCountOutputType = { projectMembers: number apiKeys: number dataset: number invitations: number sessions: number Prompt: number Model: number EvalTemplate: number JobConfiguration: number JobExecution: number LlmApiKeys: number PosthogIntegration: number BlobStorageIntegration: number scoreConfig: number BatchExport: number comment: number annotationQueue: number annotationQueueItem: number TraceMedia: number Media: number ObservationMedia: number LegacyTrace: number LegacyObservation: number LegacyScore: number PromptDependency: number LlmSchema: number LlmTool: number PromptProtectedLabels: number Dashboard: number DashboardWidget: number TableViewPreset: number actions: number triggers: number automationExecutions: number Automation: number DefaultLlmModel: number Price: number PendingDeletion: number AnnotationQueueAssignment: number } export type ProjectCountOutputTypeSelect = { projectMembers?: boolean | ProjectCountOutputTypeCountProjectMembersArgs apiKeys?: boolean | ProjectCountOutputTypeCountApiKeysArgs dataset?: boolean | ProjectCountOutputTypeCountDatasetArgs invitations?: boolean | ProjectCountOutputTypeCountInvitationsArgs sessions?: boolean | ProjectCountOutputTypeCountSessionsArgs Prompt?: boolean | ProjectCountOutputTypeCountPromptArgs Model?: boolean | ProjectCountOutputTypeCountModelArgs EvalTemplate?: boolean | ProjectCountOutputTypeCountEvalTemplateArgs JobConfiguration?: boolean | ProjectCountOutputTypeCountJobConfigurationArgs JobExecution?: boolean | ProjectCountOutputTypeCountJobExecutionArgs LlmApiKeys?: boolean | ProjectCountOutputTypeCountLlmApiKeysArgs PosthogIntegration?: boolean | ProjectCountOutputTypeCountPosthogIntegrationArgs BlobStorageIntegration?: boolean | ProjectCountOutputTypeCountBlobStorageIntegrationArgs scoreConfig?: boolean | ProjectCountOutputTypeCountScoreConfigArgs BatchExport?: boolean | ProjectCountOutputTypeCountBatchExportArgs comment?: boolean | ProjectCountOutputTypeCountCommentArgs annotationQueue?: boolean | ProjectCountOutputTypeCountAnnotationQueueArgs annotationQueueItem?: boolean | ProjectCountOutputTypeCountAnnotationQueueItemArgs TraceMedia?: boolean | ProjectCountOutputTypeCountTraceMediaArgs Media?: boolean | ProjectCountOutputTypeCountMediaArgs ObservationMedia?: boolean | ProjectCountOutputTypeCountObservationMediaArgs LegacyTrace?: boolean | ProjectCountOutputTypeCountLegacyTraceArgs LegacyObservation?: boolean | ProjectCountOutputTypeCountLegacyObservationArgs LegacyScore?: boolean | ProjectCountOutputTypeCountLegacyScoreArgs PromptDependency?: boolean | ProjectCountOutputTypeCountPromptDependencyArgs LlmSchema?: boolean | ProjectCountOutputTypeCountLlmSchemaArgs LlmTool?: boolean | ProjectCountOutputTypeCountLlmToolArgs PromptProtectedLabels?: boolean | ProjectCountOutputTypeCountPromptProtectedLabelsArgs Dashboard?: boolean | ProjectCountOutputTypeCountDashboardArgs DashboardWidget?: boolean | ProjectCountOutputTypeCountDashboardWidgetArgs TableViewPreset?: boolean | ProjectCountOutputTypeCountTableViewPresetArgs actions?: boolean | ProjectCountOutputTypeCountActionsArgs triggers?: boolean | ProjectCountOutputTypeCountTriggersArgs automationExecutions?: boolean | ProjectCountOutputTypeCountAutomationExecutionsArgs Automation?: boolean | ProjectCountOutputTypeCountAutomationArgs DefaultLlmModel?: boolean | ProjectCountOutputTypeCountDefaultLlmModelArgs Price?: boolean | ProjectCountOutputTypeCountPriceArgs PendingDeletion?: boolean | ProjectCountOutputTypeCountPendingDeletionArgs AnnotationQueueAssignment?: boolean | ProjectCountOutputTypeCountAnnotationQueueAssignmentArgs } // Custom InputTypes /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ProjectCountOutputType */ select?: ProjectCountOutputTypeSelect | null } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountProjectMembersArgs = { where?: ProjectMembershipWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountApiKeysArgs = { where?: ApiKeyWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountDatasetArgs = { where?: DatasetWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountInvitationsArgs = { where?: MembershipInvitationWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountSessionsArgs = { where?: TraceSessionWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountPromptArgs = { where?: PromptWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountModelArgs = { where?: ModelWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountEvalTemplateArgs = { where?: EvalTemplateWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountJobConfigurationArgs = { where?: JobConfigurationWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountJobExecutionArgs = { where?: JobExecutionWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountLlmApiKeysArgs = { where?: LlmApiKeysWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountPosthogIntegrationArgs = { where?: PosthogIntegrationWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountBlobStorageIntegrationArgs = { where?: BlobStorageIntegrationWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountScoreConfigArgs = { where?: ScoreConfigWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountBatchExportArgs = { where?: BatchExportWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountCommentArgs = { where?: CommentWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountAnnotationQueueArgs = { where?: AnnotationQueueWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountAnnotationQueueItemArgs = { where?: AnnotationQueueItemWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountTraceMediaArgs = { where?: TraceMediaWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountMediaArgs = { where?: MediaWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountObservationMediaArgs = { where?: ObservationMediaWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountLegacyTraceArgs = { where?: LegacyPrismaTraceWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountLegacyObservationArgs = { where?: LegacyPrismaObservationWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountLegacyScoreArgs = { where?: LegacyPrismaScoreWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountPromptDependencyArgs = { where?: PromptDependencyWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountLlmSchemaArgs = { where?: LlmSchemaWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountLlmToolArgs = { where?: LlmToolWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountPromptProtectedLabelsArgs = { where?: PromptProtectedLabelsWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountDashboardArgs = { where?: DashboardWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountDashboardWidgetArgs = { where?: DashboardWidgetWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountTableViewPresetArgs = { where?: TableViewPresetWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountActionsArgs = { where?: ActionWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountTriggersArgs = { where?: TriggerWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountAutomationExecutionsArgs = { where?: AutomationExecutionWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountAutomationArgs = { where?: AutomationWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountDefaultLlmModelArgs = { where?: DefaultLlmModelWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountPriceArgs = { where?: PriceWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountPendingDeletionArgs = { where?: PendingDeletionWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountAnnotationQueueAssignmentArgs = { where?: AnnotationQueueAssignmentWhereInput } /** * Count Type LlmApiKeysCountOutputType */ export type LlmApiKeysCountOutputType = { DefaultLlmModel: number } export type LlmApiKeysCountOutputTypeSelect = { DefaultLlmModel?: boolean | LlmApiKeysCountOutputTypeCountDefaultLlmModelArgs } // Custom InputTypes /** * LlmApiKeysCountOutputType without action */ export type LlmApiKeysCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the LlmApiKeysCountOutputType */ select?: LlmApiKeysCountOutputTypeSelect | null } /** * LlmApiKeysCountOutputType without action */ export type LlmApiKeysCountOutputTypeCountDefaultLlmModelArgs = { where?: DefaultLlmModelWhereInput } /** * Count Type OrganizationMembershipCountOutputType */ export type OrganizationMembershipCountOutputType = { ProjectMemberships: number } export type OrganizationMembershipCountOutputTypeSelect = { ProjectMemberships?: boolean | OrganizationMembershipCountOutputTypeCountProjectMembershipsArgs } // Custom InputTypes /** * OrganizationMembershipCountOutputType without action */ export type OrganizationMembershipCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the OrganizationMembershipCountOutputType */ select?: OrganizationMembershipCountOutputTypeSelect | null } /** * OrganizationMembershipCountOutputType without action */ export type OrganizationMembershipCountOutputTypeCountProjectMembershipsArgs = { where?: ProjectMembershipWhereInput } /** * Count Type ScoreConfigCountOutputType */ export type ScoreConfigCountOutputType = { legacyScore: number } export type ScoreConfigCountOutputTypeSelect = { legacyScore?: boolean | ScoreConfigCountOutputTypeCountLegacyScoreArgs } // Custom InputTypes /** * ScoreConfigCountOutputType without action */ export type ScoreConfigCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ScoreConfigCountOutputType */ select?: ScoreConfigCountOutputTypeSelect | null } /** * ScoreConfigCountOutputType without action */ export type ScoreConfigCountOutputTypeCountLegacyScoreArgs = { where?: LegacyPrismaScoreWhereInput } /** * Count Type AnnotationQueueCountOutputType */ export type AnnotationQueueCountOutputType = { annotationQueueItem: number annotationQueueAssignment: number } export type AnnotationQueueCountOutputTypeSelect = { annotationQueueItem?: boolean | AnnotationQueueCountOutputTypeCountAnnotationQueueItemArgs annotationQueueAssignment?: boolean | AnnotationQueueCountOutputTypeCountAnnotationQueueAssignmentArgs } // Custom InputTypes /** * AnnotationQueueCountOutputType without action */ export type AnnotationQueueCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the AnnotationQueueCountOutputType */ select?: AnnotationQueueCountOutputTypeSelect | null } /** * AnnotationQueueCountOutputType without action */ export type AnnotationQueueCountOutputTypeCountAnnotationQueueItemArgs = { where?: AnnotationQueueItemWhereInput } /** * AnnotationQueueCountOutputType without action */ export type AnnotationQueueCountOutputTypeCountAnnotationQueueAssignmentArgs = { where?: AnnotationQueueAssignmentWhereInput } /** * Count Type DatasetCountOutputType */ export type DatasetCountOutputType = { datasetItems: number datasetRuns: number } export type DatasetCountOutputTypeSelect = { datasetItems?: boolean | DatasetCountOutputTypeCountDatasetItemsArgs datasetRuns?: boolean | DatasetCountOutputTypeCountDatasetRunsArgs } // Custom InputTypes /** * DatasetCountOutputType without action */ export type DatasetCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the DatasetCountOutputType */ select?: DatasetCountOutputTypeSelect | null } /** * DatasetCountOutputType without action */ export type DatasetCountOutputTypeCountDatasetItemsArgs = { where?: DatasetItemWhereInput } /** * DatasetCountOutputType without action */ export type DatasetCountOutputTypeCountDatasetRunsArgs = { where?: DatasetRunsWhereInput } /** * Count Type DatasetItemCountOutputType */ export type DatasetItemCountOutputType = { datasetRunItems: number } export type DatasetItemCountOutputTypeSelect = { datasetRunItems?: boolean | DatasetItemCountOutputTypeCountDatasetRunItemsArgs } // Custom InputTypes /** * DatasetItemCountOutputType without action */ export type DatasetItemCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the DatasetItemCountOutputType */ select?: DatasetItemCountOutputTypeSelect | null } /** * DatasetItemCountOutputType without action */ export type DatasetItemCountOutputTypeCountDatasetRunItemsArgs = { where?: DatasetRunItemsWhereInput } /** * Count Type DatasetRunsCountOutputType */ export type DatasetRunsCountOutputType = { datasetRunItems: number } export type DatasetRunsCountOutputTypeSelect = { datasetRunItems?: boolean | DatasetRunsCountOutputTypeCountDatasetRunItemsArgs } // Custom InputTypes /** * DatasetRunsCountOutputType without action */ export type DatasetRunsCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the DatasetRunsCountOutputType */ select?: DatasetRunsCountOutputTypeSelect | null } /** * DatasetRunsCountOutputType without action */ export type DatasetRunsCountOutputTypeCountDatasetRunItemsArgs = { where?: DatasetRunItemsWhereInput } /** * Count Type PromptCountOutputType */ export type PromptCountOutputType = { PromptDependency: number } export type PromptCountOutputTypeSelect = { PromptDependency?: boolean | PromptCountOutputTypeCountPromptDependencyArgs } // Custom InputTypes /** * PromptCountOutputType without action */ export type PromptCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the PromptCountOutputType */ select?: PromptCountOutputTypeSelect | null } /** * PromptCountOutputType without action */ export type PromptCountOutputTypeCountPromptDependencyArgs = { where?: PromptDependencyWhereInput } /** * Count Type ModelCountOutputType */ export type ModelCountOutputType = { Price: number } export type ModelCountOutputTypeSelect = { Price?: boolean | ModelCountOutputTypeCountPriceArgs } // Custom InputTypes /** * ModelCountOutputType without action */ export type ModelCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ModelCountOutputType */ select?: ModelCountOutputTypeSelect | null } /** * ModelCountOutputType without action */ export type ModelCountOutputTypeCountPriceArgs = { where?: PriceWhereInput } /** * Count Type EvalTemplateCountOutputType */ export type EvalTemplateCountOutputType = { JobConfiguration: number JobExecution: number } export type EvalTemplateCountOutputTypeSelect = { JobConfiguration?: boolean | EvalTemplateCountOutputTypeCountJobConfigurationArgs JobExecution?: boolean | EvalTemplateCountOutputTypeCountJobExecutionArgs } // Custom InputTypes /** * EvalTemplateCountOutputType without action */ export type EvalTemplateCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the EvalTemplateCountOutputType */ select?: EvalTemplateCountOutputTypeSelect | null } /** * EvalTemplateCountOutputType without action */ export type EvalTemplateCountOutputTypeCountJobConfigurationArgs = { where?: JobConfigurationWhereInput } /** * EvalTemplateCountOutputType without action */ export type EvalTemplateCountOutputTypeCountJobExecutionArgs = { where?: JobExecutionWhereInput } /** * Count Type JobConfigurationCountOutputType */ export type JobConfigurationCountOutputType = { JobExecution: number } export type JobConfigurationCountOutputTypeSelect = { JobExecution?: boolean | JobConfigurationCountOutputTypeCountJobExecutionArgs } // Custom InputTypes /** * JobConfigurationCountOutputType without action */ export type JobConfigurationCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the JobConfigurationCountOutputType */ select?: JobConfigurationCountOutputTypeSelect | null } /** * JobConfigurationCountOutputType without action */ export type JobConfigurationCountOutputTypeCountJobExecutionArgs = { where?: JobExecutionWhereInput } /** * Count Type MediaCountOutputType */ export type MediaCountOutputType = { TraceMedia: number ObservationMedia: number } export type MediaCountOutputTypeSelect = { TraceMedia?: boolean | MediaCountOutputTypeCountTraceMediaArgs ObservationMedia?: boolean | MediaCountOutputTypeCountObservationMediaArgs } // Custom InputTypes /** * MediaCountOutputType without action */ export type MediaCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the MediaCountOutputType */ select?: MediaCountOutputTypeSelect | null } /** * MediaCountOutputType without action */ export type MediaCountOutputTypeCountTraceMediaArgs = { where?: TraceMediaWhereInput } /** * MediaCountOutputType without action */ export type MediaCountOutputTypeCountObservationMediaArgs = { where?: ObservationMediaWhereInput } /** * Count Type ActionCountOutputType */ export type ActionCountOutputType = { automations: number automationExecutions: number } export type ActionCountOutputTypeSelect = { automations?: boolean | ActionCountOutputTypeCountAutomationsArgs automationExecutions?: boolean | ActionCountOutputTypeCountAutomationExecutionsArgs } // Custom InputTypes /** * ActionCountOutputType without action */ export type ActionCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ActionCountOutputType */ select?: ActionCountOutputTypeSelect | null } /** * ActionCountOutputType without action */ export type ActionCountOutputTypeCountAutomationsArgs = { where?: AutomationWhereInput } /** * ActionCountOutputType without action */ export type ActionCountOutputTypeCountAutomationExecutionsArgs = { where?: AutomationExecutionWhereInput } /** * Count Type TriggerCountOutputType */ export type TriggerCountOutputType = { automationExecutions: number automations: number } export type TriggerCountOutputTypeSelect = { automationExecutions?: boolean | TriggerCountOutputTypeCountAutomationExecutionsArgs automations?: boolean | TriggerCountOutputTypeCountAutomationsArgs } // Custom InputTypes /** * TriggerCountOutputType without action */ export type TriggerCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the TriggerCountOutputType */ select?: TriggerCountOutputTypeSelect | null } /** * TriggerCountOutputType without action */ export type TriggerCountOutputTypeCountAutomationExecutionsArgs = { where?: AutomationExecutionWhereInput } /** * TriggerCountOutputType without action */ export type TriggerCountOutputTypeCountAutomationsArgs = { where?: AutomationWhereInput } /** * Count Type AutomationCountOutputType */ export type AutomationCountOutputType = { AutomationExecution: number } export type AutomationCountOutputTypeSelect = { AutomationExecution?: boolean | AutomationCountOutputTypeCountAutomationExecutionArgs } // Custom InputTypes /** * AutomationCountOutputType without action */ export type AutomationCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the AutomationCountOutputType */ select?: AutomationCountOutputTypeSelect | null } /** * AutomationCountOutputType without action */ export type AutomationCountOutputTypeCountAutomationExecutionArgs = { where?: AutomationExecutionWhereInput } /** * Models */ /** * Model Account */ export type AggregateAccount = { _count: AccountCountAggregateOutputType | null _avg: AccountAvgAggregateOutputType | null _sum: AccountSumAggregateOutputType | null _min: AccountMinAggregateOutputType | null _max: AccountMaxAggregateOutputType | null } export type AccountAvgAggregateOutputType = { expires_at: number | null expires_in: number | null ext_expires_in: number | null refresh_token_expires_in: number | null created_at: number | null } export type AccountSumAggregateOutputType = { expires_at: number | null expires_in: number | null ext_expires_in: number | null refresh_token_expires_in: number | null created_at: number | null } export type AccountMinAggregateOutputType = { id: string | null userId: string | null type: string | null provider: string | null providerAccountId: string | null refresh_token: string | null access_token: string | null expires_at: number | null expires_in: number | null ext_expires_in: number | null token_type: string | null scope: string | null id_token: string | null session_state: string | null refresh_token_expires_in: number | null created_at: number | null } export type AccountMaxAggregateOutputType = { id: string | null userId: string | null type: string | null provider: string | null providerAccountId: string | null refresh_token: string | null access_token: string | null expires_at: number | null expires_in: number | null ext_expires_in: number | null token_type: string | null scope: string | null id_token: string | null session_state: string | null refresh_token_expires_in: number | null created_at: number | null } export type AccountCountAggregateOutputType = { id: number userId: number type: number provider: number providerAccountId: number refresh_token: number access_token: number expires_at: number expires_in: number ext_expires_in: number token_type: number scope: number id_token: number session_state: number refresh_token_expires_in: number created_at: number _all: number } export type AccountAvgAggregateInputType = { expires_at?: true expires_in?: true ext_expires_in?: true refresh_token_expires_in?: true created_at?: true } export type AccountSumAggregateInputType = { expires_at?: true expires_in?: true ext_expires_in?: true refresh_token_expires_in?: true created_at?: true } export type AccountMinAggregateInputType = { id?: true userId?: true type?: true provider?: true providerAccountId?: true refresh_token?: true access_token?: true expires_at?: true expires_in?: true ext_expires_in?: true token_type?: true scope?: true id_token?: true session_state?: true refresh_token_expires_in?: true created_at?: true } export type AccountMaxAggregateInputType = { id?: true userId?: true type?: true provider?: true providerAccountId?: true refresh_token?: true access_token?: true expires_at?: true expires_in?: true ext_expires_in?: true token_type?: true scope?: true id_token?: true session_state?: true refresh_token_expires_in?: true created_at?: true } export type AccountCountAggregateInputType = { id?: true userId?: true type?: true provider?: true providerAccountId?: true refresh_token?: true access_token?: true expires_at?: true expires_in?: true ext_expires_in?: true token_type?: true scope?: true id_token?: true session_state?: true refresh_token_expires_in?: true created_at?: true _all?: true } export type AccountAggregateArgs = { /** * Filter which Account to aggregate. */ where?: AccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accounts to fetch. */ orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accounts 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` Accounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Accounts **/ _count?: true | AccountCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AccountAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AccountSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AccountMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AccountMaxAggregateInputType } export type GetAccountAggregateType = { [P in keyof T & keyof AggregateAccount]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AccountGroupByArgs = { where?: AccountWhereInput orderBy?: AccountOrderByWithAggregationInput | AccountOrderByWithAggregationInput[] by: AccountScalarFieldEnum[] | AccountScalarFieldEnum having?: AccountScalarWhereWithAggregatesInput take?: number skip?: number _count?: AccountCountAggregateInputType | true _avg?: AccountAvgAggregateInputType _sum?: AccountSumAggregateInputType _min?: AccountMinAggregateInputType _max?: AccountMaxAggregateInputType } export type AccountGroupByOutputType = { id: string userId: string type: string provider: string providerAccountId: string refresh_token: string | null access_token: string | null expires_at: number | null expires_in: number | null ext_expires_in: number | null token_type: string | null scope: string | null id_token: string | null session_state: string | null refresh_token_expires_in: number | null created_at: number | null _count: AccountCountAggregateOutputType | null _avg: AccountAvgAggregateOutputType | null _sum: AccountSumAggregateOutputType | null _min: AccountMinAggregateOutputType | null _max: AccountMaxAggregateOutputType | null } type GetAccountGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AccountGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AccountSelect = $Extensions.GetSelect<{ id?: boolean userId?: boolean type?: boolean provider?: boolean providerAccountId?: boolean refresh_token?: boolean access_token?: boolean expires_at?: boolean expires_in?: boolean ext_expires_in?: boolean token_type?: boolean scope?: boolean id_token?: boolean session_state?: boolean refresh_token_expires_in?: boolean created_at?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["account"]> export type AccountSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean userId?: boolean type?: boolean provider?: boolean providerAccountId?: boolean refresh_token?: boolean access_token?: boolean expires_at?: boolean expires_in?: boolean ext_expires_in?: boolean token_type?: boolean scope?: boolean id_token?: boolean session_state?: boolean refresh_token_expires_in?: boolean created_at?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["account"]> export type AccountSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean userId?: boolean type?: boolean provider?: boolean providerAccountId?: boolean refresh_token?: boolean access_token?: boolean expires_at?: boolean expires_in?: boolean ext_expires_in?: boolean token_type?: boolean scope?: boolean id_token?: boolean session_state?: boolean refresh_token_expires_in?: boolean created_at?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["account"]> export type AccountSelectScalar = { id?: boolean userId?: boolean type?: boolean provider?: boolean providerAccountId?: boolean refresh_token?: boolean access_token?: boolean expires_at?: boolean expires_in?: boolean ext_expires_in?: boolean token_type?: boolean scope?: boolean id_token?: boolean session_state?: boolean refresh_token_expires_in?: boolean created_at?: boolean } export type AccountOmit = $Extensions.GetOmit<"id" | "userId" | "type" | "provider" | "providerAccountId" | "refresh_token" | "access_token" | "expires_at" | "expires_in" | "ext_expires_in" | "token_type" | "scope" | "id_token" | "session_state" | "refresh_token_expires_in" | "created_at", ExtArgs["result"]["account"]> export type AccountInclude = { user?: boolean | UserDefaultArgs } export type AccountIncludeCreateManyAndReturn = { user?: boolean | UserDefaultArgs } export type AccountIncludeUpdateManyAndReturn = { user?: boolean | UserDefaultArgs } export type $AccountPayload = { name: "Account" objects: { user: Prisma.$UserPayload } scalars: $Extensions.GetPayloadResult<{ id: string userId: string type: string provider: string providerAccountId: string refresh_token: string | null access_token: string | null expires_at: number | null expires_in: number | null ext_expires_in: number | null token_type: string | null scope: string | null id_token: string | null session_state: string | null refresh_token_expires_in: number | null created_at: number | null }, ExtArgs["result"]["account"]> composites: {} } type AccountGetPayload = $Result.GetResult type AccountCountArgs = Omit & { select?: AccountCountAggregateInputType | true } export interface AccountDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Account'], meta: { name: 'Account' } } /** * Find zero or one Account that matches the filter. * @param {AccountFindUniqueArgs} args - Arguments to find a Account * @example * // Get one Account * const account = await prisma.account.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Account that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AccountFindUniqueOrThrowArgs} args - Arguments to find a Account * @example * // Get one Account * const account = await prisma.account.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Account 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 {AccountFindFirstArgs} args - Arguments to find a Account * @example * // Get one Account * const account = await prisma.account.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Account 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 {AccountFindFirstOrThrowArgs} args - Arguments to find a Account * @example * // Get one Account * const account = await prisma.account.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Accounts 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 {AccountFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Accounts * const accounts = await prisma.account.findMany() * * // Get first 10 Accounts * const accounts = await prisma.account.findMany({ take: 10 }) * * // Only select the `id` * const accountWithIdOnly = await prisma.account.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Account. * @param {AccountCreateArgs} args - Arguments to create a Account. * @example * // Create one Account * const Account = await prisma.account.create({ * data: { * // ... data to create a Account * } * }) * */ create(args: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Accounts. * @param {AccountCreateManyArgs} args - Arguments to create many Accounts. * @example * // Create many Accounts * const account = await prisma.account.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Accounts and returns the data saved in the database. * @param {AccountCreateManyAndReturnArgs} args - Arguments to create many Accounts. * @example * // Create many Accounts * const account = await prisma.account.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Accounts and only return the `id` * const accountWithIdOnly = await prisma.account.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 Account. * @param {AccountDeleteArgs} args - Arguments to delete one Account. * @example * // Delete one Account * const Account = await prisma.account.delete({ * where: { * // ... filter to delete one Account * } * }) * */ delete(args: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Account. * @param {AccountUpdateArgs} args - Arguments to update one Account. * @example * // Update one Account * const account = await prisma.account.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Accounts. * @param {AccountDeleteManyArgs} args - Arguments to filter Accounts to delete. * @example * // Delete a few Accounts * const { count } = await prisma.account.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Accounts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Accounts * const account = await prisma.account.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Accounts and returns the data updated in the database. * @param {AccountUpdateManyAndReturnArgs} args - Arguments to update many Accounts. * @example * // Update many Accounts * const account = await prisma.account.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Accounts and only return the `id` * const accountWithIdOnly = await prisma.account.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 Account. * @param {AccountUpsertArgs} args - Arguments to update or create a Account. * @example * // Update or create a Account * const account = await prisma.account.upsert({ * create: { * // ... data to create a Account * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Account we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Accounts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountCountArgs} args - Arguments to filter Accounts to count. * @example * // Count the number of Accounts * const count = await prisma.account.count({ * where: { * // ... the filter for the Accounts 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 Account. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountAggregateArgs} 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 Account. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountGroupByArgs} 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 AccountGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AccountGroupByArgs['orderBy'] } : { orderBy?: AccountGroupByArgs['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 ? GetAccountGroupByPayload : Prisma.PrismaPromise /** * Fields of the Account model */ readonly fields: AccountFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Account. * 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__AccountClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" 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 Account model */ interface AccountFieldRefs { readonly id: FieldRef<"Account", 'String'> readonly userId: FieldRef<"Account", 'String'> readonly type: FieldRef<"Account", 'String'> readonly provider: FieldRef<"Account", 'String'> readonly providerAccountId: FieldRef<"Account", 'String'> readonly refresh_token: FieldRef<"Account", 'String'> readonly access_token: FieldRef<"Account", 'String'> readonly expires_at: FieldRef<"Account", 'Int'> readonly expires_in: FieldRef<"Account", 'Int'> readonly ext_expires_in: FieldRef<"Account", 'Int'> readonly token_type: FieldRef<"Account", 'String'> readonly scope: FieldRef<"Account", 'String'> readonly id_token: FieldRef<"Account", 'String'> readonly session_state: FieldRef<"Account", 'String'> readonly refresh_token_expires_in: FieldRef<"Account", 'Int'> readonly created_at: FieldRef<"Account", 'Int'> } // Custom InputTypes /** * Account findUnique */ export type AccountFindUniqueArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * Filter, which Account to fetch. */ where: AccountWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Account findUniqueOrThrow */ export type AccountFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * Filter, which Account to fetch. */ where: AccountWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Account findFirst */ export type AccountFindFirstArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * Filter, which Account to fetch. */ where?: AccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accounts to fetch. */ orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Accounts. */ cursor?: AccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accounts 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` Accounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Accounts. */ distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Account findFirstOrThrow */ export type AccountFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * Filter, which Account to fetch. */ where?: AccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accounts to fetch. */ orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Accounts. */ cursor?: AccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accounts 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` Accounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Accounts. */ distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Account findMany */ export type AccountFindManyArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * Filter, which Accounts to fetch. */ where?: AccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accounts to fetch. */ orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Accounts. */ cursor?: AccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accounts 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` Accounts. */ skip?: number distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Account create */ export type AccountCreateArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * The data needed to create a Account. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Account createMany */ export type AccountCreateManyArgs = { /** * The data used to create many Accounts. */ data: AccountCreateManyInput | AccountCreateManyInput[] skipDuplicates?: boolean } /** * Account createManyAndReturn */ export type AccountCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelectCreateManyAndReturn | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * The data used to create many Accounts. */ data: AccountCreateManyInput | AccountCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: AccountIncludeCreateManyAndReturn | null } /** * Account update */ export type AccountUpdateArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * The data needed to update a Account. */ data: XOR /** * Choose, which Account to update. */ where: AccountWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Account updateMany */ export type AccountUpdateManyArgs = { /** * The data used to update Accounts. */ data: XOR /** * Filter which Accounts to update */ where?: AccountWhereInput /** * Limit how many Accounts to update. */ limit?: number } /** * Account updateManyAndReturn */ export type AccountUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelectUpdateManyAndReturn | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * The data used to update Accounts. */ data: XOR /** * Filter which Accounts to update */ where?: AccountWhereInput /** * Limit how many Accounts to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: AccountIncludeUpdateManyAndReturn | null } /** * Account upsert */ export type AccountUpsertArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * The filter to search for the Account to update in case it exists. */ where: AccountWhereUniqueInput /** * In case the Account found by the `where` argument doesn't exist, create a new Account with this data. */ create: XOR /** * In case the Account was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Account delete */ export type AccountDeleteArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * Filter which Account to delete. */ where: AccountWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Account deleteMany */ export type AccountDeleteManyArgs = { /** * Filter which Accounts to delete */ where?: AccountWhereInput /** * Limit how many Accounts to delete. */ limit?: number } /** * Account without action */ export type AccountDefaultArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null } /** * Model Session */ export type AggregateSession = { _count: SessionCountAggregateOutputType | null _min: SessionMinAggregateOutputType | null _max: SessionMaxAggregateOutputType | null } export type SessionMinAggregateOutputType = { id: string | null sessionToken: string | null userId: string | null expires: Date | null } export type SessionMaxAggregateOutputType = { id: string | null sessionToken: string | null userId: string | null expires: Date | null } export type SessionCountAggregateOutputType = { id: number sessionToken: number userId: number expires: number _all: number } export type SessionMinAggregateInputType = { id?: true sessionToken?: true userId?: true expires?: true } export type SessionMaxAggregateInputType = { id?: true sessionToken?: true userId?: true expires?: true } export type SessionCountAggregateInputType = { id?: true sessionToken?: true userId?: true expires?: true _all?: true } export type SessionAggregateArgs = { /** * Filter which Session to aggregate. */ where?: SessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Sessions to fetch. */ orderBy?: SessionOrderByWithRelationInput | SessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Sessions 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` Sessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Sessions **/ _count?: true | SessionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SessionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SessionMaxAggregateInputType } export type GetSessionAggregateType = { [P in keyof T & keyof AggregateSession]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SessionGroupByArgs = { where?: SessionWhereInput orderBy?: SessionOrderByWithAggregationInput | SessionOrderByWithAggregationInput[] by: SessionScalarFieldEnum[] | SessionScalarFieldEnum having?: SessionScalarWhereWithAggregatesInput take?: number skip?: number _count?: SessionCountAggregateInputType | true _min?: SessionMinAggregateInputType _max?: SessionMaxAggregateInputType } export type SessionGroupByOutputType = { id: string sessionToken: string userId: string expires: Date _count: SessionCountAggregateOutputType | null _min: SessionMinAggregateOutputType | null _max: SessionMaxAggregateOutputType | null } type GetSessionGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SessionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SessionSelect = $Extensions.GetSelect<{ id?: boolean sessionToken?: boolean userId?: boolean expires?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["session"]> export type SessionSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean sessionToken?: boolean userId?: boolean expires?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["session"]> export type SessionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean sessionToken?: boolean userId?: boolean expires?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["session"]> export type SessionSelectScalar = { id?: boolean sessionToken?: boolean userId?: boolean expires?: boolean } export type SessionOmit = $Extensions.GetOmit<"id" | "sessionToken" | "userId" | "expires", ExtArgs["result"]["session"]> export type SessionInclude = { user?: boolean | UserDefaultArgs } export type SessionIncludeCreateManyAndReturn = { user?: boolean | UserDefaultArgs } export type SessionIncludeUpdateManyAndReturn = { user?: boolean | UserDefaultArgs } export type $SessionPayload = { name: "Session" objects: { user: Prisma.$UserPayload } scalars: $Extensions.GetPayloadResult<{ id: string sessionToken: string userId: string expires: Date }, ExtArgs["result"]["session"]> composites: {} } type SessionGetPayload = $Result.GetResult type SessionCountArgs = Omit & { select?: SessionCountAggregateInputType | true } export interface SessionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Session'], meta: { name: 'Session' } } /** * Find zero or one Session that matches the filter. * @param {SessionFindUniqueArgs} args - Arguments to find a Session * @example * // Get one Session * const session = await prisma.session.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SessionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Session that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SessionFindUniqueOrThrowArgs} args - Arguments to find a Session * @example * // Get one Session * const session = await prisma.session.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SessionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Session 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 {SessionFindFirstArgs} args - Arguments to find a Session * @example * // Get one Session * const session = await prisma.session.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SessionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Session 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 {SessionFindFirstOrThrowArgs} args - Arguments to find a Session * @example * // Get one Session * const session = await prisma.session.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SessionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Sessions 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 {SessionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Sessions * const sessions = await prisma.session.findMany() * * // Get first 10 Sessions * const sessions = await prisma.session.findMany({ take: 10 }) * * // Only select the `id` * const sessionWithIdOnly = await prisma.session.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Session. * @param {SessionCreateArgs} args - Arguments to create a Session. * @example * // Create one Session * const Session = await prisma.session.create({ * data: { * // ... data to create a Session * } * }) * */ create(args: SelectSubset>): Prisma__SessionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Sessions. * @param {SessionCreateManyArgs} args - Arguments to create many Sessions. * @example * // Create many Sessions * const session = await prisma.session.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Sessions and returns the data saved in the database. * @param {SessionCreateManyAndReturnArgs} args - Arguments to create many Sessions. * @example * // Create many Sessions * const session = await prisma.session.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Sessions and only return the `id` * const sessionWithIdOnly = await prisma.session.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 Session. * @param {SessionDeleteArgs} args - Arguments to delete one Session. * @example * // Delete one Session * const Session = await prisma.session.delete({ * where: { * // ... filter to delete one Session * } * }) * */ delete(args: SelectSubset>): Prisma__SessionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Session. * @param {SessionUpdateArgs} args - Arguments to update one Session. * @example * // Update one Session * const session = await prisma.session.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SessionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Sessions. * @param {SessionDeleteManyArgs} args - Arguments to filter Sessions to delete. * @example * // Delete a few Sessions * const { count } = await prisma.session.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Sessions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SessionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Sessions * const session = await prisma.session.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Sessions and returns the data updated in the database. * @param {SessionUpdateManyAndReturnArgs} args - Arguments to update many Sessions. * @example * // Update many Sessions * const session = await prisma.session.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Sessions and only return the `id` * const sessionWithIdOnly = await prisma.session.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 Session. * @param {SessionUpsertArgs} args - Arguments to update or create a Session. * @example * // Update or create a Session * const session = await prisma.session.upsert({ * create: { * // ... data to create a Session * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Session we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SessionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Sessions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SessionCountArgs} args - Arguments to filter Sessions to count. * @example * // Count the number of Sessions * const count = await prisma.session.count({ * where: { * // ... the filter for the Sessions 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 Session. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SessionAggregateArgs} 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 Session. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SessionGroupByArgs} 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 SessionGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SessionGroupByArgs['orderBy'] } : { orderBy?: SessionGroupByArgs['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 ? GetSessionGroupByPayload : Prisma.PrismaPromise /** * Fields of the Session model */ readonly fields: SessionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Session. * 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__SessionClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" 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 Session model */ interface SessionFieldRefs { readonly id: FieldRef<"Session", 'String'> readonly sessionToken: FieldRef<"Session", 'String'> readonly userId: FieldRef<"Session", 'String'> readonly expires: FieldRef<"Session", 'DateTime'> } // Custom InputTypes /** * Session findUnique */ export type SessionFindUniqueArgs = { /** * Select specific fields to fetch from the Session */ select?: SessionSelect | null /** * Omit specific fields from the Session */ omit?: SessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SessionInclude | null /** * Filter, which Session to fetch. */ where: SessionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Session findUniqueOrThrow */ export type SessionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Session */ select?: SessionSelect | null /** * Omit specific fields from the Session */ omit?: SessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SessionInclude | null /** * Filter, which Session to fetch. */ where: SessionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Session findFirst */ export type SessionFindFirstArgs = { /** * Select specific fields to fetch from the Session */ select?: SessionSelect | null /** * Omit specific fields from the Session */ omit?: SessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SessionInclude | null /** * Filter, which Session to fetch. */ where?: SessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Sessions to fetch. */ orderBy?: SessionOrderByWithRelationInput | SessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Sessions. */ cursor?: SessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Sessions 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` Sessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Sessions. */ distinct?: SessionScalarFieldEnum | SessionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Session findFirstOrThrow */ export type SessionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Session */ select?: SessionSelect | null /** * Omit specific fields from the Session */ omit?: SessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SessionInclude | null /** * Filter, which Session to fetch. */ where?: SessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Sessions to fetch. */ orderBy?: SessionOrderByWithRelationInput | SessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Sessions. */ cursor?: SessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Sessions 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` Sessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Sessions. */ distinct?: SessionScalarFieldEnum | SessionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Session findMany */ export type SessionFindManyArgs = { /** * Select specific fields to fetch from the Session */ select?: SessionSelect | null /** * Omit specific fields from the Session */ omit?: SessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SessionInclude | null /** * Filter, which Sessions to fetch. */ where?: SessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Sessions to fetch. */ orderBy?: SessionOrderByWithRelationInput | SessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Sessions. */ cursor?: SessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Sessions 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` Sessions. */ skip?: number distinct?: SessionScalarFieldEnum | SessionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Session create */ export type SessionCreateArgs = { /** * Select specific fields to fetch from the Session */ select?: SessionSelect | null /** * Omit specific fields from the Session */ omit?: SessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SessionInclude | null /** * The data needed to create a Session. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Session createMany */ export type SessionCreateManyArgs = { /** * The data used to create many Sessions. */ data: SessionCreateManyInput | SessionCreateManyInput[] skipDuplicates?: boolean } /** * Session createManyAndReturn */ export type SessionCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Session */ select?: SessionSelectCreateManyAndReturn | null /** * Omit specific fields from the Session */ omit?: SessionOmit | null /** * The data used to create many Sessions. */ data: SessionCreateManyInput | SessionCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SessionIncludeCreateManyAndReturn | null } /** * Session update */ export type SessionUpdateArgs = { /** * Select specific fields to fetch from the Session */ select?: SessionSelect | null /** * Omit specific fields from the Session */ omit?: SessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SessionInclude | null /** * The data needed to update a Session. */ data: XOR /** * Choose, which Session to update. */ where: SessionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Session updateMany */ export type SessionUpdateManyArgs = { /** * The data used to update Sessions. */ data: XOR /** * Filter which Sessions to update */ where?: SessionWhereInput /** * Limit how many Sessions to update. */ limit?: number } /** * Session updateManyAndReturn */ export type SessionUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Session */ select?: SessionSelectUpdateManyAndReturn | null /** * Omit specific fields from the Session */ omit?: SessionOmit | null /** * The data used to update Sessions. */ data: XOR /** * Filter which Sessions to update */ where?: SessionWhereInput /** * Limit how many Sessions to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: SessionIncludeUpdateManyAndReturn | null } /** * Session upsert */ export type SessionUpsertArgs = { /** * Select specific fields to fetch from the Session */ select?: SessionSelect | null /** * Omit specific fields from the Session */ omit?: SessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SessionInclude | null /** * The filter to search for the Session to update in case it exists. */ where: SessionWhereUniqueInput /** * In case the Session found by the `where` argument doesn't exist, create a new Session with this data. */ create: XOR /** * In case the Session was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Session delete */ export type SessionDeleteArgs = { /** * Select specific fields to fetch from the Session */ select?: SessionSelect | null /** * Omit specific fields from the Session */ omit?: SessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SessionInclude | null /** * Filter which Session to delete. */ where: SessionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Session deleteMany */ export type SessionDeleteManyArgs = { /** * Filter which Sessions to delete */ where?: SessionWhereInput /** * Limit how many Sessions to delete. */ limit?: number } /** * Session without action */ export type SessionDefaultArgs = { /** * Select specific fields to fetch from the Session */ select?: SessionSelect | null /** * Omit specific fields from the Session */ omit?: SessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SessionInclude | null } /** * Model User */ export type AggregateUser = { _count: UserCountAggregateOutputType | null _min: UserMinAggregateOutputType | null _max: UserMaxAggregateOutputType | null } export type UserMinAggregateOutputType = { id: string | null name: string | null email: string | null emailVerified: Date | null password: string | null image: string | null admin: boolean | null createdAt: Date | null updatedAt: Date | null } export type UserMaxAggregateOutputType = { id: string | null name: string | null email: string | null emailVerified: Date | null password: string | null image: string | null admin: boolean | null createdAt: Date | null updatedAt: Date | null } export type UserCountAggregateOutputType = { id: number name: number email: number emailVerified: number password: number image: number admin: number createdAt: number updatedAt: number featureFlags: number _all: number } export type UserMinAggregateInputType = { id?: true name?: true email?: true emailVerified?: true password?: true image?: true admin?: true createdAt?: true updatedAt?: true } export type UserMaxAggregateInputType = { id?: true name?: true email?: true emailVerified?: true password?: true image?: true admin?: true createdAt?: true updatedAt?: true } export type UserCountAggregateInputType = { id?: true name?: true email?: true emailVerified?: true password?: true image?: true admin?: true createdAt?: true updatedAt?: true featureFlags?: true _all?: true } export type UserAggregateArgs = { /** * Filter which User to aggregate. */ where?: UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. */ orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users 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` Users. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Users **/ _count?: true | UserCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: UserMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: UserMaxAggregateInputType } export type GetUserAggregateType = { [P in keyof T & keyof AggregateUser]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type UserGroupByArgs = { where?: UserWhereInput orderBy?: UserOrderByWithAggregationInput | UserOrderByWithAggregationInput[] by: UserScalarFieldEnum[] | UserScalarFieldEnum having?: UserScalarWhereWithAggregatesInput take?: number skip?: number _count?: UserCountAggregateInputType | true _min?: UserMinAggregateInputType _max?: UserMaxAggregateInputType } export type UserGroupByOutputType = { id: string name: string | null email: string | null emailVerified: Date | null password: string | null image: string | null admin: boolean createdAt: Date updatedAt: Date featureFlags: string[] _count: UserCountAggregateOutputType | null _min: UserMinAggregateOutputType | null _max: UserMaxAggregateOutputType | null } type GetUserGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type UserSelect = $Extensions.GetSelect<{ id?: boolean name?: boolean email?: boolean emailVerified?: boolean password?: boolean image?: boolean admin?: boolean createdAt?: boolean updatedAt?: boolean featureFlags?: boolean accounts?: boolean | User$accountsArgs sessions?: boolean | User$sessionsArgs organizationMemberships?: boolean | User$organizationMembershipsArgs projectMemberships?: boolean | User$projectMembershipsArgs invitations?: boolean | User$invitationsArgs annotatedLockedItem?: boolean | User$annotatedLockedItemArgs annotatedCompletedItem?: boolean | User$annotatedCompletedItemArgs dashboardWidgetsCreated?: boolean | User$dashboardWidgetsCreatedArgs dashboardWidgetsUpdated?: boolean | User$dashboardWidgetsUpdatedArgs dashboardCreated?: boolean | User$dashboardCreatedArgs dashboardUpdated?: boolean | User$dashboardUpdatedArgs tableViewPresetCreated?: boolean | User$tableViewPresetCreatedArgs tableViewPresetUpdated?: boolean | User$tableViewPresetUpdatedArgs annotationQueueAssignment?: boolean | User$annotationQueueAssignmentArgs surveys?: boolean | User$surveysArgs _count?: boolean | UserCountOutputTypeDefaultArgs }, ExtArgs["result"]["user"]> export type UserSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean email?: boolean emailVerified?: boolean password?: boolean image?: boolean admin?: boolean createdAt?: boolean updatedAt?: boolean featureFlags?: boolean }, ExtArgs["result"]["user"]> export type UserSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean email?: boolean emailVerified?: boolean password?: boolean image?: boolean admin?: boolean createdAt?: boolean updatedAt?: boolean featureFlags?: boolean }, ExtArgs["result"]["user"]> export type UserSelectScalar = { id?: boolean name?: boolean email?: boolean emailVerified?: boolean password?: boolean image?: boolean admin?: boolean createdAt?: boolean updatedAt?: boolean featureFlags?: boolean } export type UserOmit = $Extensions.GetOmit<"id" | "name" | "email" | "emailVerified" | "password" | "image" | "admin" | "createdAt" | "updatedAt" | "featureFlags", ExtArgs["result"]["user"]> export type UserInclude = { accounts?: boolean | User$accountsArgs sessions?: boolean | User$sessionsArgs organizationMemberships?: boolean | User$organizationMembershipsArgs projectMemberships?: boolean | User$projectMembershipsArgs invitations?: boolean | User$invitationsArgs annotatedLockedItem?: boolean | User$annotatedLockedItemArgs annotatedCompletedItem?: boolean | User$annotatedCompletedItemArgs dashboardWidgetsCreated?: boolean | User$dashboardWidgetsCreatedArgs dashboardWidgetsUpdated?: boolean | User$dashboardWidgetsUpdatedArgs dashboardCreated?: boolean | User$dashboardCreatedArgs dashboardUpdated?: boolean | User$dashboardUpdatedArgs tableViewPresetCreated?: boolean | User$tableViewPresetCreatedArgs tableViewPresetUpdated?: boolean | User$tableViewPresetUpdatedArgs annotationQueueAssignment?: boolean | User$annotationQueueAssignmentArgs surveys?: boolean | User$surveysArgs _count?: boolean | UserCountOutputTypeDefaultArgs } export type UserIncludeCreateManyAndReturn = {} export type UserIncludeUpdateManyAndReturn = {} export type $UserPayload = { name: "User" objects: { accounts: Prisma.$AccountPayload[] sessions: Prisma.$SessionPayload[] organizationMemberships: Prisma.$OrganizationMembershipPayload[] projectMemberships: Prisma.$ProjectMembershipPayload[] invitations: Prisma.$MembershipInvitationPayload[] annotatedLockedItem: Prisma.$AnnotationQueueItemPayload[] annotatedCompletedItem: Prisma.$AnnotationQueueItemPayload[] dashboardWidgetsCreated: Prisma.$DashboardWidgetPayload[] dashboardWidgetsUpdated: Prisma.$DashboardWidgetPayload[] dashboardCreated: Prisma.$DashboardPayload[] dashboardUpdated: Prisma.$DashboardPayload[] tableViewPresetCreated: Prisma.$TableViewPresetPayload[] tableViewPresetUpdated: Prisma.$TableViewPresetPayload[] annotationQueueAssignment: Prisma.$AnnotationQueueAssignmentPayload[] surveys: Prisma.$SurveyPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string name: string | null email: string | null emailVerified: Date | null password: string | null image: string | null admin: boolean createdAt: Date updatedAt: Date featureFlags: string[] }, ExtArgs["result"]["user"]> composites: {} } type UserGetPayload = $Result.GetResult type UserCountArgs = Omit & { select?: UserCountAggregateInputType | true } export interface UserDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['User'], meta: { name: 'User' } } /** * Find zero or one User that matches the filter. * @param {UserFindUniqueArgs} args - Arguments to find a User * @example * // Get one User * const user = await prisma.user.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one User that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User * @example * // Get one User * const user = await prisma.user.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first User 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 {UserFindFirstArgs} args - Arguments to find a User * @example * // Get one User * const user = await prisma.user.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first User 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 {UserFindFirstOrThrowArgs} args - Arguments to find a User * @example * // Get one User * const user = await prisma.user.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Users 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 {UserFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Users * const users = await prisma.user.findMany() * * // Get first 10 Users * const users = await prisma.user.findMany({ take: 10 }) * * // Only select the `id` * const userWithIdOnly = await prisma.user.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a User. * @param {UserCreateArgs} args - Arguments to create a User. * @example * // Create one User * const User = await prisma.user.create({ * data: { * // ... data to create a User * } * }) * */ create(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Users. * @param {UserCreateManyArgs} args - Arguments to create many Users. * @example * // Create many Users * const user = await prisma.user.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Users and returns the data saved in the database. * @param {UserCreateManyAndReturnArgs} args - Arguments to create many Users. * @example * // Create many Users * const user = await prisma.user.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Users and only return the `id` * const userWithIdOnly = await prisma.user.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 User. * @param {UserDeleteArgs} args - Arguments to delete one User. * @example * // Delete one User * const User = await prisma.user.delete({ * where: { * // ... filter to delete one User * } * }) * */ delete(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one User. * @param {UserUpdateArgs} args - Arguments to update one User. * @example * // Update one User * const user = await prisma.user.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Users. * @param {UserDeleteManyArgs} args - Arguments to filter Users to delete. * @example * // Delete a few Users * const { count } = await prisma.user.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Users. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Users * const user = await prisma.user.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Users and returns the data updated in the database. * @param {UserUpdateManyAndReturnArgs} args - Arguments to update many Users. * @example * // Update many Users * const user = await prisma.user.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Users and only return the `id` * const userWithIdOnly = await prisma.user.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 User. * @param {UserUpsertArgs} args - Arguments to update or create a User. * @example * // Update or create a User * const user = await prisma.user.upsert({ * create: { * // ... data to create a User * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the User we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Users. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserCountArgs} args - Arguments to filter Users to count. * @example * // Count the number of Users * const count = await prisma.user.count({ * where: { * // ... the filter for the Users 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 User. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserAggregateArgs} 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 User. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserGroupByArgs} 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 UserGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: UserGroupByArgs['orderBy'] } : { orderBy?: UserGroupByArgs['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 ? GetUserGroupByPayload : Prisma.PrismaPromise /** * Fields of the User model */ readonly fields: UserFieldRefs; } /** * The delegate class that acts as a "Promise-like" for User. * 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__UserClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" accounts = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> sessions = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> organizationMemberships = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> projectMemberships = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> invitations = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> annotatedLockedItem = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> annotatedCompletedItem = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> dashboardWidgetsCreated = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> dashboardWidgetsUpdated = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> dashboardCreated = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> dashboardUpdated = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> tableViewPresetCreated = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> tableViewPresetUpdated = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> annotationQueueAssignment = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> surveys = {}>(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 User model */ interface UserFieldRefs { readonly id: FieldRef<"User", 'String'> readonly name: FieldRef<"User", 'String'> readonly email: FieldRef<"User", 'String'> readonly emailVerified: FieldRef<"User", 'DateTime'> readonly password: FieldRef<"User", 'String'> readonly image: FieldRef<"User", 'String'> readonly admin: FieldRef<"User", 'Boolean'> readonly createdAt: FieldRef<"User", 'DateTime'> readonly updatedAt: FieldRef<"User", 'DateTime'> readonly featureFlags: FieldRef<"User", 'String[]'> } // Custom InputTypes /** * User findUnique */ export type UserFindUniqueArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * Filter, which User to fetch. */ where: UserWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * User findUniqueOrThrow */ export type UserFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * Filter, which User to fetch. */ where: UserWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * User findFirst */ export type UserFindFirstArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * Filter, which User to fetch. */ where?: UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. */ orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Users. */ cursor?: UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users 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` Users. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Users. */ distinct?: UserScalarFieldEnum | UserScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * User findFirstOrThrow */ export type UserFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * Filter, which User to fetch. */ where?: UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. */ orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Users. */ cursor?: UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users 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` Users. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Users. */ distinct?: UserScalarFieldEnum | UserScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * User findMany */ export type UserFindManyArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * Filter, which Users to fetch. */ where?: UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. */ orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Users. */ cursor?: UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users 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` Users. */ skip?: number distinct?: UserScalarFieldEnum | UserScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * User create */ export type UserCreateArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * The data needed to create a User. */ data?: XOR relationLoadStrategy?: RelationLoadStrategy } /** * User createMany */ export type UserCreateManyArgs = { /** * The data used to create many Users. */ data: UserCreateManyInput | UserCreateManyInput[] skipDuplicates?: boolean } /** * User createManyAndReturn */ export type UserCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelectCreateManyAndReturn | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * The data used to create many Users. */ data: UserCreateManyInput | UserCreateManyInput[] skipDuplicates?: boolean } /** * User update */ export type UserUpdateArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * The data needed to update a User. */ data: XOR /** * Choose, which User to update. */ where: UserWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * User updateMany */ export type UserUpdateManyArgs = { /** * The data used to update Users. */ data: XOR /** * Filter which Users to update */ where?: UserWhereInput /** * Limit how many Users to update. */ limit?: number } /** * User updateManyAndReturn */ export type UserUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelectUpdateManyAndReturn | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * The data used to update Users. */ data: XOR /** * Filter which Users to update */ where?: UserWhereInput /** * Limit how many Users to update. */ limit?: number } /** * User upsert */ export type UserUpsertArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * The filter to search for the User to update in case it exists. */ where: UserWhereUniqueInput /** * In case the User found by the `where` argument doesn't exist, create a new User with this data. */ create: XOR /** * In case the User was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * User delete */ export type UserDeleteArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * Filter which User to delete. */ where: UserWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * User deleteMany */ export type UserDeleteManyArgs = { /** * Filter which Users to delete */ where?: UserWhereInput /** * Limit how many Users to delete. */ limit?: number } /** * User.accounts */ export type User$accountsArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null where?: AccountWhereInput orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[] cursor?: AccountWhereUniqueInput take?: number skip?: number distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[] } /** * User.sessions */ export type User$sessionsArgs = { /** * Select specific fields to fetch from the Session */ select?: SessionSelect | null /** * Omit specific fields from the Session */ omit?: SessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SessionInclude | null where?: SessionWhereInput orderBy?: SessionOrderByWithRelationInput | SessionOrderByWithRelationInput[] cursor?: SessionWhereUniqueInput take?: number skip?: number distinct?: SessionScalarFieldEnum | SessionScalarFieldEnum[] } /** * User.organizationMemberships */ export type User$organizationMembershipsArgs = { /** * Select specific fields to fetch from the OrganizationMembership */ select?: OrganizationMembershipSelect | null /** * Omit specific fields from the OrganizationMembership */ omit?: OrganizationMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationMembershipInclude | null where?: OrganizationMembershipWhereInput orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[] cursor?: OrganizationMembershipWhereUniqueInput take?: number skip?: number distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[] } /** * User.projectMemberships */ export type User$projectMembershipsArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelect | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipInclude | null where?: ProjectMembershipWhereInput orderBy?: ProjectMembershipOrderByWithRelationInput | ProjectMembershipOrderByWithRelationInput[] cursor?: ProjectMembershipWhereUniqueInput take?: number skip?: number distinct?: ProjectMembershipScalarFieldEnum | ProjectMembershipScalarFieldEnum[] } /** * User.invitations */ export type User$invitationsArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelect | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationInclude | null where?: MembershipInvitationWhereInput orderBy?: MembershipInvitationOrderByWithRelationInput | MembershipInvitationOrderByWithRelationInput[] cursor?: MembershipInvitationWhereUniqueInput take?: number skip?: number distinct?: MembershipInvitationScalarFieldEnum | MembershipInvitationScalarFieldEnum[] } /** * User.annotatedLockedItem */ export type User$annotatedLockedItemArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelect | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemInclude | null where?: AnnotationQueueItemWhereInput orderBy?: AnnotationQueueItemOrderByWithRelationInput | AnnotationQueueItemOrderByWithRelationInput[] cursor?: AnnotationQueueItemWhereUniqueInput take?: number skip?: number distinct?: AnnotationQueueItemScalarFieldEnum | AnnotationQueueItemScalarFieldEnum[] } /** * User.annotatedCompletedItem */ export type User$annotatedCompletedItemArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelect | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemInclude | null where?: AnnotationQueueItemWhereInput orderBy?: AnnotationQueueItemOrderByWithRelationInput | AnnotationQueueItemOrderByWithRelationInput[] cursor?: AnnotationQueueItemWhereUniqueInput take?: number skip?: number distinct?: AnnotationQueueItemScalarFieldEnum | AnnotationQueueItemScalarFieldEnum[] } /** * User.dashboardWidgetsCreated */ export type User$dashboardWidgetsCreatedArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelect | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetInclude | null where?: DashboardWidgetWhereInput orderBy?: DashboardWidgetOrderByWithRelationInput | DashboardWidgetOrderByWithRelationInput[] cursor?: DashboardWidgetWhereUniqueInput take?: number skip?: number distinct?: DashboardWidgetScalarFieldEnum | DashboardWidgetScalarFieldEnum[] } /** * User.dashboardWidgetsUpdated */ export type User$dashboardWidgetsUpdatedArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelect | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetInclude | null where?: DashboardWidgetWhereInput orderBy?: DashboardWidgetOrderByWithRelationInput | DashboardWidgetOrderByWithRelationInput[] cursor?: DashboardWidgetWhereUniqueInput take?: number skip?: number distinct?: DashboardWidgetScalarFieldEnum | DashboardWidgetScalarFieldEnum[] } /** * User.dashboardCreated */ export type User$dashboardCreatedArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardInclude | null where?: DashboardWhereInput orderBy?: DashboardOrderByWithRelationInput | DashboardOrderByWithRelationInput[] cursor?: DashboardWhereUniqueInput take?: number skip?: number distinct?: DashboardScalarFieldEnum | DashboardScalarFieldEnum[] } /** * User.dashboardUpdated */ export type User$dashboardUpdatedArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardInclude | null where?: DashboardWhereInput orderBy?: DashboardOrderByWithRelationInput | DashboardOrderByWithRelationInput[] cursor?: DashboardWhereUniqueInput take?: number skip?: number distinct?: DashboardScalarFieldEnum | DashboardScalarFieldEnum[] } /** * User.tableViewPresetCreated */ export type User$tableViewPresetCreatedArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelect | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetInclude | null where?: TableViewPresetWhereInput orderBy?: TableViewPresetOrderByWithRelationInput | TableViewPresetOrderByWithRelationInput[] cursor?: TableViewPresetWhereUniqueInput take?: number skip?: number distinct?: TableViewPresetScalarFieldEnum | TableViewPresetScalarFieldEnum[] } /** * User.tableViewPresetUpdated */ export type User$tableViewPresetUpdatedArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelect | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetInclude | null where?: TableViewPresetWhereInput orderBy?: TableViewPresetOrderByWithRelationInput | TableViewPresetOrderByWithRelationInput[] cursor?: TableViewPresetWhereUniqueInput take?: number skip?: number distinct?: TableViewPresetScalarFieldEnum | TableViewPresetScalarFieldEnum[] } /** * User.annotationQueueAssignment */ export type User$annotationQueueAssignmentArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelect | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentInclude | null where?: AnnotationQueueAssignmentWhereInput orderBy?: AnnotationQueueAssignmentOrderByWithRelationInput | AnnotationQueueAssignmentOrderByWithRelationInput[] cursor?: AnnotationQueueAssignmentWhereUniqueInput take?: number skip?: number distinct?: AnnotationQueueAssignmentScalarFieldEnum | AnnotationQueueAssignmentScalarFieldEnum[] } /** * User.surveys */ export type User$surveysArgs = { /** * Select specific fields to fetch from the Survey */ select?: SurveySelect | null /** * Omit specific fields from the Survey */ omit?: SurveyOmit | null /** * Choose, which related nodes to fetch as well */ include?: SurveyInclude | null where?: SurveyWhereInput orderBy?: SurveyOrderByWithRelationInput | SurveyOrderByWithRelationInput[] cursor?: SurveyWhereUniqueInput take?: number skip?: number distinct?: SurveyScalarFieldEnum | SurveyScalarFieldEnum[] } /** * User without action */ export type UserDefaultArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null } /** * Model VerificationToken */ export type AggregateVerificationToken = { _count: VerificationTokenCountAggregateOutputType | null _min: VerificationTokenMinAggregateOutputType | null _max: VerificationTokenMaxAggregateOutputType | null } export type VerificationTokenMinAggregateOutputType = { identifier: string | null token: string | null expires: Date | null } export type VerificationTokenMaxAggregateOutputType = { identifier: string | null token: string | null expires: Date | null } export type VerificationTokenCountAggregateOutputType = { identifier: number token: number expires: number _all: number } export type VerificationTokenMinAggregateInputType = { identifier?: true token?: true expires?: true } export type VerificationTokenMaxAggregateInputType = { identifier?: true token?: true expires?: true } export type VerificationTokenCountAggregateInputType = { identifier?: true token?: true expires?: true _all?: true } export type VerificationTokenAggregateArgs = { /** * Filter which VerificationToken to aggregate. */ where?: VerificationTokenWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VerificationTokens to fetch. */ orderBy?: VerificationTokenOrderByWithRelationInput | VerificationTokenOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: VerificationTokenWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VerificationTokens 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` VerificationTokens. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned VerificationTokens **/ _count?: true | VerificationTokenCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: VerificationTokenMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: VerificationTokenMaxAggregateInputType } export type GetVerificationTokenAggregateType = { [P in keyof T & keyof AggregateVerificationToken]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type VerificationTokenGroupByArgs = { where?: VerificationTokenWhereInput orderBy?: VerificationTokenOrderByWithAggregationInput | VerificationTokenOrderByWithAggregationInput[] by: VerificationTokenScalarFieldEnum[] | VerificationTokenScalarFieldEnum having?: VerificationTokenScalarWhereWithAggregatesInput take?: number skip?: number _count?: VerificationTokenCountAggregateInputType | true _min?: VerificationTokenMinAggregateInputType _max?: VerificationTokenMaxAggregateInputType } export type VerificationTokenGroupByOutputType = { identifier: string token: string expires: Date _count: VerificationTokenCountAggregateOutputType | null _min: VerificationTokenMinAggregateOutputType | null _max: VerificationTokenMaxAggregateOutputType | null } type GetVerificationTokenGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof VerificationTokenGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type VerificationTokenSelect = $Extensions.GetSelect<{ identifier?: boolean token?: boolean expires?: boolean }, ExtArgs["result"]["verificationToken"]> export type VerificationTokenSelectCreateManyAndReturn = $Extensions.GetSelect<{ identifier?: boolean token?: boolean expires?: boolean }, ExtArgs["result"]["verificationToken"]> export type VerificationTokenSelectUpdateManyAndReturn = $Extensions.GetSelect<{ identifier?: boolean token?: boolean expires?: boolean }, ExtArgs["result"]["verificationToken"]> export type VerificationTokenSelectScalar = { identifier?: boolean token?: boolean expires?: boolean } export type VerificationTokenOmit = $Extensions.GetOmit<"identifier" | "token" | "expires", ExtArgs["result"]["verificationToken"]> export type $VerificationTokenPayload = { name: "VerificationToken" objects: {} scalars: $Extensions.GetPayloadResult<{ identifier: string token: string expires: Date }, ExtArgs["result"]["verificationToken"]> composites: {} } type VerificationTokenGetPayload = $Result.GetResult type VerificationTokenCountArgs = Omit & { select?: VerificationTokenCountAggregateInputType | true } export interface VerificationTokenDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['VerificationToken'], meta: { name: 'VerificationToken' } } /** * Find zero or one VerificationToken that matches the filter. * @param {VerificationTokenFindUniqueArgs} args - Arguments to find a VerificationToken * @example * // Get one VerificationToken * const verificationToken = await prisma.verificationToken.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__VerificationTokenClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one VerificationToken that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {VerificationTokenFindUniqueOrThrowArgs} args - Arguments to find a VerificationToken * @example * // Get one VerificationToken * const verificationToken = await prisma.verificationToken.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__VerificationTokenClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first VerificationToken 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 {VerificationTokenFindFirstArgs} args - Arguments to find a VerificationToken * @example * // Get one VerificationToken * const verificationToken = await prisma.verificationToken.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__VerificationTokenClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first VerificationToken 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 {VerificationTokenFindFirstOrThrowArgs} args - Arguments to find a VerificationToken * @example * // Get one VerificationToken * const verificationToken = await prisma.verificationToken.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__VerificationTokenClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more VerificationTokens 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 {VerificationTokenFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all VerificationTokens * const verificationTokens = await prisma.verificationToken.findMany() * * // Get first 10 VerificationTokens * const verificationTokens = await prisma.verificationToken.findMany({ take: 10 }) * * // Only select the `identifier` * const verificationTokenWithIdentifierOnly = await prisma.verificationToken.findMany({ select: { identifier: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a VerificationToken. * @param {VerificationTokenCreateArgs} args - Arguments to create a VerificationToken. * @example * // Create one VerificationToken * const VerificationToken = await prisma.verificationToken.create({ * data: { * // ... data to create a VerificationToken * } * }) * */ create(args: SelectSubset>): Prisma__VerificationTokenClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many VerificationTokens. * @param {VerificationTokenCreateManyArgs} args - Arguments to create many VerificationTokens. * @example * // Create many VerificationTokens * const verificationToken = await prisma.verificationToken.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many VerificationTokens and returns the data saved in the database. * @param {VerificationTokenCreateManyAndReturnArgs} args - Arguments to create many VerificationTokens. * @example * // Create many VerificationTokens * const verificationToken = await prisma.verificationToken.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many VerificationTokens and only return the `identifier` * const verificationTokenWithIdentifierOnly = await prisma.verificationToken.createManyAndReturn({ * select: { identifier: 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 VerificationToken. * @param {VerificationTokenDeleteArgs} args - Arguments to delete one VerificationToken. * @example * // Delete one VerificationToken * const VerificationToken = await prisma.verificationToken.delete({ * where: { * // ... filter to delete one VerificationToken * } * }) * */ delete(args: SelectSubset>): Prisma__VerificationTokenClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one VerificationToken. * @param {VerificationTokenUpdateArgs} args - Arguments to update one VerificationToken. * @example * // Update one VerificationToken * const verificationToken = await prisma.verificationToken.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__VerificationTokenClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more VerificationTokens. * @param {VerificationTokenDeleteManyArgs} args - Arguments to filter VerificationTokens to delete. * @example * // Delete a few VerificationTokens * const { count } = await prisma.verificationToken.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more VerificationTokens. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VerificationTokenUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many VerificationTokens * const verificationToken = await prisma.verificationToken.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more VerificationTokens and returns the data updated in the database. * @param {VerificationTokenUpdateManyAndReturnArgs} args - Arguments to update many VerificationTokens. * @example * // Update many VerificationTokens * const verificationToken = await prisma.verificationToken.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more VerificationTokens and only return the `identifier` * const verificationTokenWithIdentifierOnly = await prisma.verificationToken.updateManyAndReturn({ * select: { identifier: 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 VerificationToken. * @param {VerificationTokenUpsertArgs} args - Arguments to update or create a VerificationToken. * @example * // Update or create a VerificationToken * const verificationToken = await prisma.verificationToken.upsert({ * create: { * // ... data to create a VerificationToken * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the VerificationToken we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__VerificationTokenClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of VerificationTokens. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VerificationTokenCountArgs} args - Arguments to filter VerificationTokens to count. * @example * // Count the number of VerificationTokens * const count = await prisma.verificationToken.count({ * where: { * // ... the filter for the VerificationTokens 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 VerificationToken. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VerificationTokenAggregateArgs} 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 VerificationToken. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {VerificationTokenGroupByArgs} 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 VerificationTokenGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: VerificationTokenGroupByArgs['orderBy'] } : { orderBy?: VerificationTokenGroupByArgs['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 ? GetVerificationTokenGroupByPayload : Prisma.PrismaPromise /** * Fields of the VerificationToken model */ readonly fields: VerificationTokenFieldRefs; } /** * The delegate class that acts as a "Promise-like" for VerificationToken. * 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__VerificationTokenClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 VerificationToken model */ interface VerificationTokenFieldRefs { readonly identifier: FieldRef<"VerificationToken", 'String'> readonly token: FieldRef<"VerificationToken", 'String'> readonly expires: FieldRef<"VerificationToken", 'DateTime'> } // Custom InputTypes /** * VerificationToken findUnique */ export type VerificationTokenFindUniqueArgs = { /** * Select specific fields to fetch from the VerificationToken */ select?: VerificationTokenSelect | null /** * Omit specific fields from the VerificationToken */ omit?: VerificationTokenOmit | null /** * Filter, which VerificationToken to fetch. */ where: VerificationTokenWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * VerificationToken findUniqueOrThrow */ export type VerificationTokenFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the VerificationToken */ select?: VerificationTokenSelect | null /** * Omit specific fields from the VerificationToken */ omit?: VerificationTokenOmit | null /** * Filter, which VerificationToken to fetch. */ where: VerificationTokenWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * VerificationToken findFirst */ export type VerificationTokenFindFirstArgs = { /** * Select specific fields to fetch from the VerificationToken */ select?: VerificationTokenSelect | null /** * Omit specific fields from the VerificationToken */ omit?: VerificationTokenOmit | null /** * Filter, which VerificationToken to fetch. */ where?: VerificationTokenWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VerificationTokens to fetch. */ orderBy?: VerificationTokenOrderByWithRelationInput | VerificationTokenOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for VerificationTokens. */ cursor?: VerificationTokenWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VerificationTokens 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` VerificationTokens. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VerificationTokens. */ distinct?: VerificationTokenScalarFieldEnum | VerificationTokenScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * VerificationToken findFirstOrThrow */ export type VerificationTokenFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the VerificationToken */ select?: VerificationTokenSelect | null /** * Omit specific fields from the VerificationToken */ omit?: VerificationTokenOmit | null /** * Filter, which VerificationToken to fetch. */ where?: VerificationTokenWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VerificationTokens to fetch. */ orderBy?: VerificationTokenOrderByWithRelationInput | VerificationTokenOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for VerificationTokens. */ cursor?: VerificationTokenWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VerificationTokens 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` VerificationTokens. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VerificationTokens. */ distinct?: VerificationTokenScalarFieldEnum | VerificationTokenScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * VerificationToken findMany */ export type VerificationTokenFindManyArgs = { /** * Select specific fields to fetch from the VerificationToken */ select?: VerificationTokenSelect | null /** * Omit specific fields from the VerificationToken */ omit?: VerificationTokenOmit | null /** * Filter, which VerificationTokens to fetch. */ where?: VerificationTokenWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of VerificationTokens to fetch. */ orderBy?: VerificationTokenOrderByWithRelationInput | VerificationTokenOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing VerificationTokens. */ cursor?: VerificationTokenWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` VerificationTokens 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` VerificationTokens. */ skip?: number distinct?: VerificationTokenScalarFieldEnum | VerificationTokenScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * VerificationToken create */ export type VerificationTokenCreateArgs = { /** * Select specific fields to fetch from the VerificationToken */ select?: VerificationTokenSelect | null /** * Omit specific fields from the VerificationToken */ omit?: VerificationTokenOmit | null /** * The data needed to create a VerificationToken. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * VerificationToken createMany */ export type VerificationTokenCreateManyArgs = { /** * The data used to create many VerificationTokens. */ data: VerificationTokenCreateManyInput | VerificationTokenCreateManyInput[] skipDuplicates?: boolean } /** * VerificationToken createManyAndReturn */ export type VerificationTokenCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the VerificationToken */ select?: VerificationTokenSelectCreateManyAndReturn | null /** * Omit specific fields from the VerificationToken */ omit?: VerificationTokenOmit | null /** * The data used to create many VerificationTokens. */ data: VerificationTokenCreateManyInput | VerificationTokenCreateManyInput[] skipDuplicates?: boolean } /** * VerificationToken update */ export type VerificationTokenUpdateArgs = { /** * Select specific fields to fetch from the VerificationToken */ select?: VerificationTokenSelect | null /** * Omit specific fields from the VerificationToken */ omit?: VerificationTokenOmit | null /** * The data needed to update a VerificationToken. */ data: XOR /** * Choose, which VerificationToken to update. */ where: VerificationTokenWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * VerificationToken updateMany */ export type VerificationTokenUpdateManyArgs = { /** * The data used to update VerificationTokens. */ data: XOR /** * Filter which VerificationTokens to update */ where?: VerificationTokenWhereInput /** * Limit how many VerificationTokens to update. */ limit?: number } /** * VerificationToken updateManyAndReturn */ export type VerificationTokenUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the VerificationToken */ select?: VerificationTokenSelectUpdateManyAndReturn | null /** * Omit specific fields from the VerificationToken */ omit?: VerificationTokenOmit | null /** * The data used to update VerificationTokens. */ data: XOR /** * Filter which VerificationTokens to update */ where?: VerificationTokenWhereInput /** * Limit how many VerificationTokens to update. */ limit?: number } /** * VerificationToken upsert */ export type VerificationTokenUpsertArgs = { /** * Select specific fields to fetch from the VerificationToken */ select?: VerificationTokenSelect | null /** * Omit specific fields from the VerificationToken */ omit?: VerificationTokenOmit | null /** * The filter to search for the VerificationToken to update in case it exists. */ where: VerificationTokenWhereUniqueInput /** * In case the VerificationToken found by the `where` argument doesn't exist, create a new VerificationToken with this data. */ create: XOR /** * In case the VerificationToken was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * VerificationToken delete */ export type VerificationTokenDeleteArgs = { /** * Select specific fields to fetch from the VerificationToken */ select?: VerificationTokenSelect | null /** * Omit specific fields from the VerificationToken */ omit?: VerificationTokenOmit | null /** * Filter which VerificationToken to delete. */ where: VerificationTokenWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * VerificationToken deleteMany */ export type VerificationTokenDeleteManyArgs = { /** * Filter which VerificationTokens to delete */ where?: VerificationTokenWhereInput /** * Limit how many VerificationTokens to delete. */ limit?: number } /** * VerificationToken without action */ export type VerificationTokenDefaultArgs = { /** * Select specific fields to fetch from the VerificationToken */ select?: VerificationTokenSelect | null /** * Omit specific fields from the VerificationToken */ omit?: VerificationTokenOmit | null } /** * Model Organization */ export type AggregateOrganization = { _count: OrganizationCountAggregateOutputType | null _min: OrganizationMinAggregateOutputType | null _max: OrganizationMaxAggregateOutputType | null } export type OrganizationMinAggregateOutputType = { id: string | null name: string | null createdAt: Date | null updatedAt: Date | null } export type OrganizationMaxAggregateOutputType = { id: string | null name: string | null createdAt: Date | null updatedAt: Date | null } export type OrganizationCountAggregateOutputType = { id: number name: number createdAt: number updatedAt: number cloudConfig: number metadata: number _all: number } export type OrganizationMinAggregateInputType = { id?: true name?: true createdAt?: true updatedAt?: true } export type OrganizationMaxAggregateInputType = { id?: true name?: true createdAt?: true updatedAt?: true } export type OrganizationCountAggregateInputType = { id?: true name?: true createdAt?: true updatedAt?: true cloudConfig?: true metadata?: true _all?: true } export type OrganizationAggregateArgs = { /** * Filter which Organization to aggregate. */ where?: OrganizationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Organizations to fetch. */ orderBy?: OrganizationOrderByWithRelationInput | OrganizationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: OrganizationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Organizations 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` Organizations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Organizations **/ _count?: true | OrganizationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: OrganizationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: OrganizationMaxAggregateInputType } export type GetOrganizationAggregateType = { [P in keyof T & keyof AggregateOrganization]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type OrganizationGroupByArgs = { where?: OrganizationWhereInput orderBy?: OrganizationOrderByWithAggregationInput | OrganizationOrderByWithAggregationInput[] by: OrganizationScalarFieldEnum[] | OrganizationScalarFieldEnum having?: OrganizationScalarWhereWithAggregatesInput take?: number skip?: number _count?: OrganizationCountAggregateInputType | true _min?: OrganizationMinAggregateInputType _max?: OrganizationMaxAggregateInputType } export type OrganizationGroupByOutputType = { id: string name: string createdAt: Date updatedAt: Date cloudConfig: JsonValue | null metadata: JsonValue | null _count: OrganizationCountAggregateOutputType | null _min: OrganizationMinAggregateOutputType | null _max: OrganizationMaxAggregateOutputType | null } type GetOrganizationGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof OrganizationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type OrganizationSelect = $Extensions.GetSelect<{ id?: boolean name?: boolean createdAt?: boolean updatedAt?: boolean cloudConfig?: boolean metadata?: boolean organizationMemberships?: boolean | Organization$organizationMembershipsArgs projects?: boolean | Organization$projectsArgs MembershipInvitation?: boolean | Organization$MembershipInvitationArgs ApiKey?: boolean | Organization$ApiKeyArgs surveys?: boolean | Organization$surveysArgs _count?: boolean | OrganizationCountOutputTypeDefaultArgs }, ExtArgs["result"]["organization"]> export type OrganizationSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean createdAt?: boolean updatedAt?: boolean cloudConfig?: boolean metadata?: boolean }, ExtArgs["result"]["organization"]> export type OrganizationSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean createdAt?: boolean updatedAt?: boolean cloudConfig?: boolean metadata?: boolean }, ExtArgs["result"]["organization"]> export type OrganizationSelectScalar = { id?: boolean name?: boolean createdAt?: boolean updatedAt?: boolean cloudConfig?: boolean metadata?: boolean } export type OrganizationOmit = $Extensions.GetOmit<"id" | "name" | "createdAt" | "updatedAt" | "cloudConfig" | "metadata", ExtArgs["result"]["organization"]> export type OrganizationInclude = { organizationMemberships?: boolean | Organization$organizationMembershipsArgs projects?: boolean | Organization$projectsArgs MembershipInvitation?: boolean | Organization$MembershipInvitationArgs ApiKey?: boolean | Organization$ApiKeyArgs surveys?: boolean | Organization$surveysArgs _count?: boolean | OrganizationCountOutputTypeDefaultArgs } export type OrganizationIncludeCreateManyAndReturn = {} export type OrganizationIncludeUpdateManyAndReturn = {} export type $OrganizationPayload = { name: "Organization" objects: { organizationMemberships: Prisma.$OrganizationMembershipPayload[] projects: Prisma.$ProjectPayload[] MembershipInvitation: Prisma.$MembershipInvitationPayload[] ApiKey: Prisma.$ApiKeyPayload[] surveys: Prisma.$SurveyPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string name: string createdAt: Date updatedAt: Date cloudConfig: Prisma.JsonValue | null metadata: Prisma.JsonValue | null }, ExtArgs["result"]["organization"]> composites: {} } type OrganizationGetPayload = $Result.GetResult type OrganizationCountArgs = Omit & { select?: OrganizationCountAggregateInputType | true } export interface OrganizationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Organization'], meta: { name: 'Organization' } } /** * Find zero or one Organization that matches the filter. * @param {OrganizationFindUniqueArgs} args - Arguments to find a Organization * @example * // Get one Organization * const organization = await prisma.organization.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Organization that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {OrganizationFindUniqueOrThrowArgs} args - Arguments to find a Organization * @example * // Get one Organization * const organization = await prisma.organization.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Organization 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 {OrganizationFindFirstArgs} args - Arguments to find a Organization * @example * // Get one Organization * const organization = await prisma.organization.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Organization 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 {OrganizationFindFirstOrThrowArgs} args - Arguments to find a Organization * @example * // Get one Organization * const organization = await prisma.organization.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Organizations 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 {OrganizationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Organizations * const organizations = await prisma.organization.findMany() * * // Get first 10 Organizations * const organizations = await prisma.organization.findMany({ take: 10 }) * * // Only select the `id` * const organizationWithIdOnly = await prisma.organization.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Organization. * @param {OrganizationCreateArgs} args - Arguments to create a Organization. * @example * // Create one Organization * const Organization = await prisma.organization.create({ * data: { * // ... data to create a Organization * } * }) * */ create(args: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Organizations. * @param {OrganizationCreateManyArgs} args - Arguments to create many Organizations. * @example * // Create many Organizations * const organization = await prisma.organization.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Organizations and returns the data saved in the database. * @param {OrganizationCreateManyAndReturnArgs} args - Arguments to create many Organizations. * @example * // Create many Organizations * const organization = await prisma.organization.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Organizations and only return the `id` * const organizationWithIdOnly = await prisma.organization.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 Organization. * @param {OrganizationDeleteArgs} args - Arguments to delete one Organization. * @example * // Delete one Organization * const Organization = await prisma.organization.delete({ * where: { * // ... filter to delete one Organization * } * }) * */ delete(args: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Organization. * @param {OrganizationUpdateArgs} args - Arguments to update one Organization. * @example * // Update one Organization * const organization = await prisma.organization.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Organizations. * @param {OrganizationDeleteManyArgs} args - Arguments to filter Organizations to delete. * @example * // Delete a few Organizations * const { count } = await prisma.organization.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Organizations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Organizations * const organization = await prisma.organization.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Organizations and returns the data updated in the database. * @param {OrganizationUpdateManyAndReturnArgs} args - Arguments to update many Organizations. * @example * // Update many Organizations * const organization = await prisma.organization.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Organizations and only return the `id` * const organizationWithIdOnly = await prisma.organization.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 Organization. * @param {OrganizationUpsertArgs} args - Arguments to update or create a Organization. * @example * // Update or create a Organization * const organization = await prisma.organization.upsert({ * create: { * // ... data to create a Organization * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Organization we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Organizations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationCountArgs} args - Arguments to filter Organizations to count. * @example * // Count the number of Organizations * const count = await prisma.organization.count({ * where: { * // ... the filter for the Organizations 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 Organization. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationAggregateArgs} 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 Organization. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationGroupByArgs} 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 OrganizationGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: OrganizationGroupByArgs['orderBy'] } : { orderBy?: OrganizationGroupByArgs['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 ? GetOrganizationGroupByPayload : Prisma.PrismaPromise /** * Fields of the Organization model */ readonly fields: OrganizationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Organization. * 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__OrganizationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" organizationMemberships = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> projects = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> MembershipInvitation = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> ApiKey = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> surveys = {}>(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 Organization model */ interface OrganizationFieldRefs { readonly id: FieldRef<"Organization", 'String'> readonly name: FieldRef<"Organization", 'String'> readonly createdAt: FieldRef<"Organization", 'DateTime'> readonly updatedAt: FieldRef<"Organization", 'DateTime'> readonly cloudConfig: FieldRef<"Organization", 'Json'> readonly metadata: FieldRef<"Organization", 'Json'> } // Custom InputTypes /** * Organization findUnique */ export type OrganizationFindUniqueArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Omit specific fields from the Organization */ omit?: OrganizationOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * Filter, which Organization to fetch. */ where: OrganizationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Organization findUniqueOrThrow */ export type OrganizationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Omit specific fields from the Organization */ omit?: OrganizationOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * Filter, which Organization to fetch. */ where: OrganizationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Organization findFirst */ export type OrganizationFindFirstArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Omit specific fields from the Organization */ omit?: OrganizationOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * Filter, which Organization to fetch. */ where?: OrganizationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Organizations to fetch. */ orderBy?: OrganizationOrderByWithRelationInput | OrganizationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Organizations. */ cursor?: OrganizationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Organizations 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` Organizations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Organizations. */ distinct?: OrganizationScalarFieldEnum | OrganizationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Organization findFirstOrThrow */ export type OrganizationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Omit specific fields from the Organization */ omit?: OrganizationOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * Filter, which Organization to fetch. */ where?: OrganizationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Organizations to fetch. */ orderBy?: OrganizationOrderByWithRelationInput | OrganizationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Organizations. */ cursor?: OrganizationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Organizations 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` Organizations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Organizations. */ distinct?: OrganizationScalarFieldEnum | OrganizationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Organization findMany */ export type OrganizationFindManyArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Omit specific fields from the Organization */ omit?: OrganizationOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * Filter, which Organizations to fetch. */ where?: OrganizationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Organizations to fetch. */ orderBy?: OrganizationOrderByWithRelationInput | OrganizationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Organizations. */ cursor?: OrganizationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Organizations 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` Organizations. */ skip?: number distinct?: OrganizationScalarFieldEnum | OrganizationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Organization create */ export type OrganizationCreateArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Omit specific fields from the Organization */ omit?: OrganizationOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * The data needed to create a Organization. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Organization createMany */ export type OrganizationCreateManyArgs = { /** * The data used to create many Organizations. */ data: OrganizationCreateManyInput | OrganizationCreateManyInput[] skipDuplicates?: boolean } /** * Organization createManyAndReturn */ export type OrganizationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelectCreateManyAndReturn | null /** * Omit specific fields from the Organization */ omit?: OrganizationOmit | null /** * The data used to create many Organizations. */ data: OrganizationCreateManyInput | OrganizationCreateManyInput[] skipDuplicates?: boolean } /** * Organization update */ export type OrganizationUpdateArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Omit specific fields from the Organization */ omit?: OrganizationOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * The data needed to update a Organization. */ data: XOR /** * Choose, which Organization to update. */ where: OrganizationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Organization updateMany */ export type OrganizationUpdateManyArgs = { /** * The data used to update Organizations. */ data: XOR /** * Filter which Organizations to update */ where?: OrganizationWhereInput /** * Limit how many Organizations to update. */ limit?: number } /** * Organization updateManyAndReturn */ export type OrganizationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelectUpdateManyAndReturn | null /** * Omit specific fields from the Organization */ omit?: OrganizationOmit | null /** * The data used to update Organizations. */ data: XOR /** * Filter which Organizations to update */ where?: OrganizationWhereInput /** * Limit how many Organizations to update. */ limit?: number } /** * Organization upsert */ export type OrganizationUpsertArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Omit specific fields from the Organization */ omit?: OrganizationOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * The filter to search for the Organization to update in case it exists. */ where: OrganizationWhereUniqueInput /** * In case the Organization found by the `where` argument doesn't exist, create a new Organization with this data. */ create: XOR /** * In case the Organization was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Organization delete */ export type OrganizationDeleteArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Omit specific fields from the Organization */ omit?: OrganizationOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * Filter which Organization to delete. */ where: OrganizationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Organization deleteMany */ export type OrganizationDeleteManyArgs = { /** * Filter which Organizations to delete */ where?: OrganizationWhereInput /** * Limit how many Organizations to delete. */ limit?: number } /** * Organization.organizationMemberships */ export type Organization$organizationMembershipsArgs = { /** * Select specific fields to fetch from the OrganizationMembership */ select?: OrganizationMembershipSelect | null /** * Omit specific fields from the OrganizationMembership */ omit?: OrganizationMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationMembershipInclude | null where?: OrganizationMembershipWhereInput orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[] cursor?: OrganizationMembershipWhereUniqueInput take?: number skip?: number distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[] } /** * Organization.projects */ export type Organization$projectsArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null where?: ProjectWhereInput orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[] cursor?: ProjectWhereUniqueInput take?: number skip?: number distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[] } /** * Organization.MembershipInvitation */ export type Organization$MembershipInvitationArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelect | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationInclude | null where?: MembershipInvitationWhereInput orderBy?: MembershipInvitationOrderByWithRelationInput | MembershipInvitationOrderByWithRelationInput[] cursor?: MembershipInvitationWhereUniqueInput take?: number skip?: number distinct?: MembershipInvitationScalarFieldEnum | MembershipInvitationScalarFieldEnum[] } /** * Organization.ApiKey */ export type Organization$ApiKeyArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null where?: ApiKeyWhereInput orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] cursor?: ApiKeyWhereUniqueInput take?: number skip?: number distinct?: ApiKeyScalarFieldEnum | ApiKeyScalarFieldEnum[] } /** * Organization.surveys */ export type Organization$surveysArgs = { /** * Select specific fields to fetch from the Survey */ select?: SurveySelect | null /** * Omit specific fields from the Survey */ omit?: SurveyOmit | null /** * Choose, which related nodes to fetch as well */ include?: SurveyInclude | null where?: SurveyWhereInput orderBy?: SurveyOrderByWithRelationInput | SurveyOrderByWithRelationInput[] cursor?: SurveyWhereUniqueInput take?: number skip?: number distinct?: SurveyScalarFieldEnum | SurveyScalarFieldEnum[] } /** * Organization without action */ export type OrganizationDefaultArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Omit specific fields from the Organization */ omit?: OrganizationOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null } /** * Model Project */ export type AggregateProject = { _count: ProjectCountAggregateOutputType | null _avg: ProjectAvgAggregateOutputType | null _sum: ProjectSumAggregateOutputType | null _min: ProjectMinAggregateOutputType | null _max: ProjectMaxAggregateOutputType | null } export type ProjectAvgAggregateOutputType = { retentionDays: number | null } export type ProjectSumAggregateOutputType = { retentionDays: number | null } export type ProjectMinAggregateOutputType = { id: string | null orgId: string | null createdAt: Date | null updatedAt: Date | null deletedAt: Date | null name: string | null retentionDays: number | null } export type ProjectMaxAggregateOutputType = { id: string | null orgId: string | null createdAt: Date | null updatedAt: Date | null deletedAt: Date | null name: string | null retentionDays: number | null } export type ProjectCountAggregateOutputType = { id: number orgId: number createdAt: number updatedAt: number deletedAt: number name: number retentionDays: number metadata: number _all: number } export type ProjectAvgAggregateInputType = { retentionDays?: true } export type ProjectSumAggregateInputType = { retentionDays?: true } export type ProjectMinAggregateInputType = { id?: true orgId?: true createdAt?: true updatedAt?: true deletedAt?: true name?: true retentionDays?: true } export type ProjectMaxAggregateInputType = { id?: true orgId?: true createdAt?: true updatedAt?: true deletedAt?: true name?: true retentionDays?: true } export type ProjectCountAggregateInputType = { id?: true orgId?: true createdAt?: true updatedAt?: true deletedAt?: true name?: true retentionDays?: true metadata?: true _all?: true } export type ProjectAggregateArgs = { /** * Filter which Project to aggregate. */ where?: ProjectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ProjectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects 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` Projects. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Projects **/ _count?: true | ProjectCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ProjectAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ProjectSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ProjectMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ProjectMaxAggregateInputType } export type GetProjectAggregateType = { [P in keyof T & keyof AggregateProject]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ProjectGroupByArgs = { where?: ProjectWhereInput orderBy?: ProjectOrderByWithAggregationInput | ProjectOrderByWithAggregationInput[] by: ProjectScalarFieldEnum[] | ProjectScalarFieldEnum having?: ProjectScalarWhereWithAggregatesInput take?: number skip?: number _count?: ProjectCountAggregateInputType | true _avg?: ProjectAvgAggregateInputType _sum?: ProjectSumAggregateInputType _min?: ProjectMinAggregateInputType _max?: ProjectMaxAggregateInputType } export type ProjectGroupByOutputType = { id: string orgId: string createdAt: Date updatedAt: Date deletedAt: Date | null name: string retentionDays: number | null metadata: JsonValue | null _count: ProjectCountAggregateOutputType | null _avg: ProjectAvgAggregateOutputType | null _sum: ProjectSumAggregateOutputType | null _min: ProjectMinAggregateOutputType | null _max: ProjectMaxAggregateOutputType | null } type GetProjectGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ProjectGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ProjectSelect = $Extensions.GetSelect<{ id?: boolean orgId?: boolean createdAt?: boolean updatedAt?: boolean deletedAt?: boolean name?: boolean retentionDays?: boolean metadata?: boolean projectMembers?: boolean | Project$projectMembersArgs organization?: boolean | OrganizationDefaultArgs apiKeys?: boolean | Project$apiKeysArgs dataset?: boolean | Project$datasetArgs invitations?: boolean | Project$invitationsArgs sessions?: boolean | Project$sessionsArgs Prompt?: boolean | Project$PromptArgs Model?: boolean | Project$ModelArgs EvalTemplate?: boolean | Project$EvalTemplateArgs JobConfiguration?: boolean | Project$JobConfigurationArgs JobExecution?: boolean | Project$JobExecutionArgs LlmApiKeys?: boolean | Project$LlmApiKeysArgs PosthogIntegration?: boolean | Project$PosthogIntegrationArgs BlobStorageIntegration?: boolean | Project$BlobStorageIntegrationArgs scoreConfig?: boolean | Project$scoreConfigArgs BatchExport?: boolean | Project$BatchExportArgs comment?: boolean | Project$commentArgs annotationQueue?: boolean | Project$annotationQueueArgs annotationQueueItem?: boolean | Project$annotationQueueItemArgs TraceMedia?: boolean | Project$TraceMediaArgs Media?: boolean | Project$MediaArgs ObservationMedia?: boolean | Project$ObservationMediaArgs LegacyTrace?: boolean | Project$LegacyTraceArgs LegacyObservation?: boolean | Project$LegacyObservationArgs LegacyScore?: boolean | Project$LegacyScoreArgs PromptDependency?: boolean | Project$PromptDependencyArgs LlmSchema?: boolean | Project$LlmSchemaArgs LlmTool?: boolean | Project$LlmToolArgs PromptProtectedLabels?: boolean | Project$PromptProtectedLabelsArgs Dashboard?: boolean | Project$DashboardArgs DashboardWidget?: boolean | Project$DashboardWidgetArgs TableViewPreset?: boolean | Project$TableViewPresetArgs actions?: boolean | Project$actionsArgs triggers?: boolean | Project$triggersArgs automationExecutions?: boolean | Project$automationExecutionsArgs Automation?: boolean | Project$AutomationArgs DefaultLlmModel?: boolean | Project$DefaultLlmModelArgs Price?: boolean | Project$PriceArgs SlackIntegration?: boolean | Project$SlackIntegrationArgs PendingDeletion?: boolean | Project$PendingDeletionArgs AnnotationQueueAssignment?: boolean | Project$AnnotationQueueAssignmentArgs _count?: boolean | ProjectCountOutputTypeDefaultArgs }, ExtArgs["result"]["project"]> export type ProjectSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean orgId?: boolean createdAt?: boolean updatedAt?: boolean deletedAt?: boolean name?: boolean retentionDays?: boolean metadata?: boolean organization?: boolean | OrganizationDefaultArgs }, ExtArgs["result"]["project"]> export type ProjectSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean orgId?: boolean createdAt?: boolean updatedAt?: boolean deletedAt?: boolean name?: boolean retentionDays?: boolean metadata?: boolean organization?: boolean | OrganizationDefaultArgs }, ExtArgs["result"]["project"]> export type ProjectSelectScalar = { id?: boolean orgId?: boolean createdAt?: boolean updatedAt?: boolean deletedAt?: boolean name?: boolean retentionDays?: boolean metadata?: boolean } export type ProjectOmit = $Extensions.GetOmit<"id" | "orgId" | "createdAt" | "updatedAt" | "deletedAt" | "name" | "retentionDays" | "metadata", ExtArgs["result"]["project"]> export type ProjectInclude = { projectMembers?: boolean | Project$projectMembersArgs organization?: boolean | OrganizationDefaultArgs apiKeys?: boolean | Project$apiKeysArgs dataset?: boolean | Project$datasetArgs invitations?: boolean | Project$invitationsArgs sessions?: boolean | Project$sessionsArgs Prompt?: boolean | Project$PromptArgs Model?: boolean | Project$ModelArgs EvalTemplate?: boolean | Project$EvalTemplateArgs JobConfiguration?: boolean | Project$JobConfigurationArgs JobExecution?: boolean | Project$JobExecutionArgs LlmApiKeys?: boolean | Project$LlmApiKeysArgs PosthogIntegration?: boolean | Project$PosthogIntegrationArgs BlobStorageIntegration?: boolean | Project$BlobStorageIntegrationArgs scoreConfig?: boolean | Project$scoreConfigArgs BatchExport?: boolean | Project$BatchExportArgs comment?: boolean | Project$commentArgs annotationQueue?: boolean | Project$annotationQueueArgs annotationQueueItem?: boolean | Project$annotationQueueItemArgs TraceMedia?: boolean | Project$TraceMediaArgs Media?: boolean | Project$MediaArgs ObservationMedia?: boolean | Project$ObservationMediaArgs LegacyTrace?: boolean | Project$LegacyTraceArgs LegacyObservation?: boolean | Project$LegacyObservationArgs LegacyScore?: boolean | Project$LegacyScoreArgs PromptDependency?: boolean | Project$PromptDependencyArgs LlmSchema?: boolean | Project$LlmSchemaArgs LlmTool?: boolean | Project$LlmToolArgs PromptProtectedLabels?: boolean | Project$PromptProtectedLabelsArgs Dashboard?: boolean | Project$DashboardArgs DashboardWidget?: boolean | Project$DashboardWidgetArgs TableViewPreset?: boolean | Project$TableViewPresetArgs actions?: boolean | Project$actionsArgs triggers?: boolean | Project$triggersArgs automationExecutions?: boolean | Project$automationExecutionsArgs Automation?: boolean | Project$AutomationArgs DefaultLlmModel?: boolean | Project$DefaultLlmModelArgs Price?: boolean | Project$PriceArgs SlackIntegration?: boolean | Project$SlackIntegrationArgs PendingDeletion?: boolean | Project$PendingDeletionArgs AnnotationQueueAssignment?: boolean | Project$AnnotationQueueAssignmentArgs _count?: boolean | ProjectCountOutputTypeDefaultArgs } export type ProjectIncludeCreateManyAndReturn = { organization?: boolean | OrganizationDefaultArgs } export type ProjectIncludeUpdateManyAndReturn = { organization?: boolean | OrganizationDefaultArgs } export type $ProjectPayload = { name: "Project" objects: { projectMembers: Prisma.$ProjectMembershipPayload[] organization: Prisma.$OrganizationPayload apiKeys: Prisma.$ApiKeyPayload[] dataset: Prisma.$DatasetPayload[] invitations: Prisma.$MembershipInvitationPayload[] sessions: Prisma.$TraceSessionPayload[] Prompt: Prisma.$PromptPayload[] Model: Prisma.$ModelPayload[] EvalTemplate: Prisma.$EvalTemplatePayload[] JobConfiguration: Prisma.$JobConfigurationPayload[] JobExecution: Prisma.$JobExecutionPayload[] LlmApiKeys: Prisma.$LlmApiKeysPayload[] PosthogIntegration: Prisma.$PosthogIntegrationPayload[] BlobStorageIntegration: Prisma.$BlobStorageIntegrationPayload[] scoreConfig: Prisma.$ScoreConfigPayload[] BatchExport: Prisma.$BatchExportPayload[] comment: Prisma.$CommentPayload[] annotationQueue: Prisma.$AnnotationQueuePayload[] annotationQueueItem: Prisma.$AnnotationQueueItemPayload[] TraceMedia: Prisma.$TraceMediaPayload[] Media: Prisma.$MediaPayload[] ObservationMedia: Prisma.$ObservationMediaPayload[] LegacyTrace: Prisma.$LegacyPrismaTracePayload[] LegacyObservation: Prisma.$LegacyPrismaObservationPayload[] LegacyScore: Prisma.$LegacyPrismaScorePayload[] PromptDependency: Prisma.$PromptDependencyPayload[] LlmSchema: Prisma.$LlmSchemaPayload[] LlmTool: Prisma.$LlmToolPayload[] PromptProtectedLabels: Prisma.$PromptProtectedLabelsPayload[] Dashboard: Prisma.$DashboardPayload[] DashboardWidget: Prisma.$DashboardWidgetPayload[] TableViewPreset: Prisma.$TableViewPresetPayload[] actions: Prisma.$ActionPayload[] triggers: Prisma.$TriggerPayload[] automationExecutions: Prisma.$AutomationExecutionPayload[] Automation: Prisma.$AutomationPayload[] DefaultLlmModel: Prisma.$DefaultLlmModelPayload[] Price: Prisma.$PricePayload[] SlackIntegration: Prisma.$SlackIntegrationPayload | null PendingDeletion: Prisma.$PendingDeletionPayload[] AnnotationQueueAssignment: Prisma.$AnnotationQueueAssignmentPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string orgId: string createdAt: Date updatedAt: Date deletedAt: Date | null name: string retentionDays: number | null metadata: Prisma.JsonValue | null }, ExtArgs["result"]["project"]> composites: {} } type ProjectGetPayload = $Result.GetResult type ProjectCountArgs = Omit & { select?: ProjectCountAggregateInputType | true } export interface ProjectDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Project'], meta: { name: 'Project' } } /** * Find zero or one Project that matches the filter. * @param {ProjectFindUniqueArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Project that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ProjectFindUniqueOrThrowArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Project 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 {ProjectFindFirstArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Project 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 {ProjectFindFirstOrThrowArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Projects 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 {ProjectFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Projects * const projects = await prisma.project.findMany() * * // Get first 10 Projects * const projects = await prisma.project.findMany({ take: 10 }) * * // Only select the `id` * const projectWithIdOnly = await prisma.project.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Project. * @param {ProjectCreateArgs} args - Arguments to create a Project. * @example * // Create one Project * const Project = await prisma.project.create({ * data: { * // ... data to create a Project * } * }) * */ create(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Projects. * @param {ProjectCreateManyArgs} args - Arguments to create many Projects. * @example * // Create many Projects * const project = await prisma.project.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Projects and returns the data saved in the database. * @param {ProjectCreateManyAndReturnArgs} args - Arguments to create many Projects. * @example * // Create many Projects * const project = await prisma.project.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Projects and only return the `id` * const projectWithIdOnly = await prisma.project.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 Project. * @param {ProjectDeleteArgs} args - Arguments to delete one Project. * @example * // Delete one Project * const Project = await prisma.project.delete({ * where: { * // ... filter to delete one Project * } * }) * */ delete(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Project. * @param {ProjectUpdateArgs} args - Arguments to update one Project. * @example * // Update one Project * const project = await prisma.project.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Projects. * @param {ProjectDeleteManyArgs} args - Arguments to filter Projects to delete. * @example * // Delete a few Projects * const { count } = await prisma.project.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Projects. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Projects * const project = await prisma.project.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Projects and returns the data updated in the database. * @param {ProjectUpdateManyAndReturnArgs} args - Arguments to update many Projects. * @example * // Update many Projects * const project = await prisma.project.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Projects and only return the `id` * const projectWithIdOnly = await prisma.project.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 Project. * @param {ProjectUpsertArgs} args - Arguments to update or create a Project. * @example * // Update or create a Project * const project = await prisma.project.upsert({ * create: { * // ... data to create a Project * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Project we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Projects. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectCountArgs} args - Arguments to filter Projects to count. * @example * // Count the number of Projects * const count = await prisma.project.count({ * where: { * // ... the filter for the Projects 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 Project. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectAggregateArgs} 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 Project. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectGroupByArgs} 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 ProjectGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ProjectGroupByArgs['orderBy'] } : { orderBy?: ProjectGroupByArgs['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 ? GetProjectGroupByPayload : Prisma.PrismaPromise /** * Fields of the Project model */ readonly fields: ProjectFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Project. * 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__ProjectClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" projectMembers = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> organization = {}>(args?: Subset>): Prisma__OrganizationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> apiKeys = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> dataset = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> invitations = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> sessions = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> Prompt = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> Model = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> EvalTemplate = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> JobConfiguration = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> JobExecution = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> LlmApiKeys = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> PosthogIntegration = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> BlobStorageIntegration = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> scoreConfig = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> BatchExport = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> comment = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> annotationQueue = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> annotationQueueItem = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> TraceMedia = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> Media = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> ObservationMedia = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> LegacyTrace = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> LegacyObservation = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> LegacyScore = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> PromptDependency = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> LlmSchema = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> LlmTool = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> PromptProtectedLabels = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> Dashboard = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> DashboardWidget = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> TableViewPreset = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> actions = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> triggers = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> automationExecutions = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> Automation = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> DefaultLlmModel = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> Price = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> SlackIntegration = {}>(args?: Subset>): Prisma__SlackIntegrationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> PendingDeletion = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> AnnotationQueueAssignment = {}>(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 Project model */ interface ProjectFieldRefs { readonly id: FieldRef<"Project", 'String'> readonly orgId: FieldRef<"Project", 'String'> readonly createdAt: FieldRef<"Project", 'DateTime'> readonly updatedAt: FieldRef<"Project", 'DateTime'> readonly deletedAt: FieldRef<"Project", 'DateTime'> readonly name: FieldRef<"Project", 'String'> readonly retentionDays: FieldRef<"Project", 'Int'> readonly metadata: FieldRef<"Project", 'Json'> } // Custom InputTypes /** * Project findUnique */ export type ProjectFindUniqueArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Project to fetch. */ where: ProjectWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Project findUniqueOrThrow */ export type ProjectFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Project to fetch. */ where: ProjectWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Project findFirst */ export type ProjectFindFirstArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Project to fetch. */ where?: ProjectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Projects. */ cursor?: ProjectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects 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` Projects. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Projects. */ distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Project findFirstOrThrow */ export type ProjectFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Project to fetch. */ where?: ProjectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Projects. */ cursor?: ProjectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects 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` Projects. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Projects. */ distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Project findMany */ export type ProjectFindManyArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Projects to fetch. */ where?: ProjectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Projects. */ cursor?: ProjectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects 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` Projects. */ skip?: number distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Project create */ export type ProjectCreateArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * The data needed to create a Project. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Project createMany */ export type ProjectCreateManyArgs = { /** * The data used to create many Projects. */ data: ProjectCreateManyInput | ProjectCreateManyInput[] skipDuplicates?: boolean } /** * Project createManyAndReturn */ export type ProjectCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelectCreateManyAndReturn | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * The data used to create many Projects. */ data: ProjectCreateManyInput | ProjectCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: ProjectIncludeCreateManyAndReturn | null } /** * Project update */ export type ProjectUpdateArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * The data needed to update a Project. */ data: XOR /** * Choose, which Project to update. */ where: ProjectWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Project updateMany */ export type ProjectUpdateManyArgs = { /** * The data used to update Projects. */ data: XOR /** * Filter which Projects to update */ where?: ProjectWhereInput /** * Limit how many Projects to update. */ limit?: number } /** * Project updateManyAndReturn */ export type ProjectUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelectUpdateManyAndReturn | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * The data used to update Projects. */ data: XOR /** * Filter which Projects to update */ where?: ProjectWhereInput /** * Limit how many Projects to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: ProjectIncludeUpdateManyAndReturn | null } /** * Project upsert */ export type ProjectUpsertArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * The filter to search for the Project to update in case it exists. */ where: ProjectWhereUniqueInput /** * In case the Project found by the `where` argument doesn't exist, create a new Project with this data. */ create: XOR /** * In case the Project was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Project delete */ export type ProjectDeleteArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter which Project to delete. */ where: ProjectWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Project deleteMany */ export type ProjectDeleteManyArgs = { /** * Filter which Projects to delete */ where?: ProjectWhereInput /** * Limit how many Projects to delete. */ limit?: number } /** * Project.projectMembers */ export type Project$projectMembersArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelect | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipInclude | null where?: ProjectMembershipWhereInput orderBy?: ProjectMembershipOrderByWithRelationInput | ProjectMembershipOrderByWithRelationInput[] cursor?: ProjectMembershipWhereUniqueInput take?: number skip?: number distinct?: ProjectMembershipScalarFieldEnum | ProjectMembershipScalarFieldEnum[] } /** * Project.apiKeys */ export type Project$apiKeysArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null where?: ApiKeyWhereInput orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] cursor?: ApiKeyWhereUniqueInput take?: number skip?: number distinct?: ApiKeyScalarFieldEnum | ApiKeyScalarFieldEnum[] } /** * Project.dataset */ export type Project$datasetArgs = { /** * Select specific fields to fetch from the Dataset */ select?: DatasetSelect | null /** * Omit specific fields from the Dataset */ omit?: DatasetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetInclude | null where?: DatasetWhereInput orderBy?: DatasetOrderByWithRelationInput | DatasetOrderByWithRelationInput[] cursor?: DatasetWhereUniqueInput take?: number skip?: number distinct?: DatasetScalarFieldEnum | DatasetScalarFieldEnum[] } /** * Project.invitations */ export type Project$invitationsArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelect | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationInclude | null where?: MembershipInvitationWhereInput orderBy?: MembershipInvitationOrderByWithRelationInput | MembershipInvitationOrderByWithRelationInput[] cursor?: MembershipInvitationWhereUniqueInput take?: number skip?: number distinct?: MembershipInvitationScalarFieldEnum | MembershipInvitationScalarFieldEnum[] } /** * Project.sessions */ export type Project$sessionsArgs = { /** * Select specific fields to fetch from the TraceSession */ select?: TraceSessionSelect | null /** * Omit specific fields from the TraceSession */ omit?: TraceSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceSessionInclude | null where?: TraceSessionWhereInput orderBy?: TraceSessionOrderByWithRelationInput | TraceSessionOrderByWithRelationInput[] cursor?: TraceSessionWhereUniqueInput take?: number skip?: number distinct?: TraceSessionScalarFieldEnum | TraceSessionScalarFieldEnum[] } /** * Project.Prompt */ export type Project$PromptArgs = { /** * Select specific fields to fetch from the Prompt */ select?: PromptSelect | null /** * Omit specific fields from the Prompt */ omit?: PromptOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptInclude | null where?: PromptWhereInput orderBy?: PromptOrderByWithRelationInput | PromptOrderByWithRelationInput[] cursor?: PromptWhereUniqueInput take?: number skip?: number distinct?: PromptScalarFieldEnum | PromptScalarFieldEnum[] } /** * Project.Model */ export type Project$ModelArgs = { /** * Select specific fields to fetch from the Model */ select?: ModelSelect | null /** * Omit specific fields from the Model */ omit?: ModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: ModelInclude | null where?: ModelWhereInput orderBy?: ModelOrderByWithRelationInput | ModelOrderByWithRelationInput[] cursor?: ModelWhereUniqueInput take?: number skip?: number distinct?: ModelScalarFieldEnum | ModelScalarFieldEnum[] } /** * Project.EvalTemplate */ export type Project$EvalTemplateArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelect | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateInclude | null where?: EvalTemplateWhereInput orderBy?: EvalTemplateOrderByWithRelationInput | EvalTemplateOrderByWithRelationInput[] cursor?: EvalTemplateWhereUniqueInput take?: number skip?: number distinct?: EvalTemplateScalarFieldEnum | EvalTemplateScalarFieldEnum[] } /** * Project.JobConfiguration */ export type Project$JobConfigurationArgs = { /** * Select specific fields to fetch from the JobConfiguration */ select?: JobConfigurationSelect | null /** * Omit specific fields from the JobConfiguration */ omit?: JobConfigurationOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobConfigurationInclude | null where?: JobConfigurationWhereInput orderBy?: JobConfigurationOrderByWithRelationInput | JobConfigurationOrderByWithRelationInput[] cursor?: JobConfigurationWhereUniqueInput take?: number skip?: number distinct?: JobConfigurationScalarFieldEnum | JobConfigurationScalarFieldEnum[] } /** * Project.JobExecution */ export type Project$JobExecutionArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelect | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobExecutionInclude | null where?: JobExecutionWhereInput orderBy?: JobExecutionOrderByWithRelationInput | JobExecutionOrderByWithRelationInput[] cursor?: JobExecutionWhereUniqueInput take?: number skip?: number distinct?: JobExecutionScalarFieldEnum | JobExecutionScalarFieldEnum[] } /** * Project.LlmApiKeys */ export type Project$LlmApiKeysArgs = { /** * Select specific fields to fetch from the LlmApiKeys */ select?: LlmApiKeysSelect | null /** * Omit specific fields from the LlmApiKeys */ omit?: LlmApiKeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmApiKeysInclude | null where?: LlmApiKeysWhereInput orderBy?: LlmApiKeysOrderByWithRelationInput | LlmApiKeysOrderByWithRelationInput[] cursor?: LlmApiKeysWhereUniqueInput take?: number skip?: number distinct?: LlmApiKeysScalarFieldEnum | LlmApiKeysScalarFieldEnum[] } /** * Project.PosthogIntegration */ export type Project$PosthogIntegrationArgs = { /** * Select specific fields to fetch from the PosthogIntegration */ select?: PosthogIntegrationSelect | null /** * Omit specific fields from the PosthogIntegration */ omit?: PosthogIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: PosthogIntegrationInclude | null where?: PosthogIntegrationWhereInput orderBy?: PosthogIntegrationOrderByWithRelationInput | PosthogIntegrationOrderByWithRelationInput[] cursor?: PosthogIntegrationWhereUniqueInput take?: number skip?: number distinct?: PosthogIntegrationScalarFieldEnum | PosthogIntegrationScalarFieldEnum[] } /** * Project.BlobStorageIntegration */ export type Project$BlobStorageIntegrationArgs = { /** * Select specific fields to fetch from the BlobStorageIntegration */ select?: BlobStorageIntegrationSelect | null /** * Omit specific fields from the BlobStorageIntegration */ omit?: BlobStorageIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: BlobStorageIntegrationInclude | null where?: BlobStorageIntegrationWhereInput orderBy?: BlobStorageIntegrationOrderByWithRelationInput | BlobStorageIntegrationOrderByWithRelationInput[] cursor?: BlobStorageIntegrationWhereUniqueInput take?: number skip?: number distinct?: BlobStorageIntegrationScalarFieldEnum | BlobStorageIntegrationScalarFieldEnum[] } /** * Project.scoreConfig */ export type Project$scoreConfigArgs = { /** * Select specific fields to fetch from the ScoreConfig */ select?: ScoreConfigSelect | null /** * Omit specific fields from the ScoreConfig */ omit?: ScoreConfigOmit | null /** * Choose, which related nodes to fetch as well */ include?: ScoreConfigInclude | null where?: ScoreConfigWhereInput orderBy?: ScoreConfigOrderByWithRelationInput | ScoreConfigOrderByWithRelationInput[] cursor?: ScoreConfigWhereUniqueInput take?: number skip?: number distinct?: ScoreConfigScalarFieldEnum | ScoreConfigScalarFieldEnum[] } /** * Project.BatchExport */ export type Project$BatchExportArgs = { /** * Select specific fields to fetch from the BatchExport */ select?: BatchExportSelect | null /** * Omit specific fields from the BatchExport */ omit?: BatchExportOmit | null /** * Choose, which related nodes to fetch as well */ include?: BatchExportInclude | null where?: BatchExportWhereInput orderBy?: BatchExportOrderByWithRelationInput | BatchExportOrderByWithRelationInput[] cursor?: BatchExportWhereUniqueInput take?: number skip?: number distinct?: BatchExportScalarFieldEnum | BatchExportScalarFieldEnum[] } /** * Project.comment */ export type Project$commentArgs = { /** * Select specific fields to fetch from the Comment */ select?: CommentSelect | null /** * Omit specific fields from the Comment */ omit?: CommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: CommentInclude | null where?: CommentWhereInput orderBy?: CommentOrderByWithRelationInput | CommentOrderByWithRelationInput[] cursor?: CommentWhereUniqueInput take?: number skip?: number distinct?: CommentScalarFieldEnum | CommentScalarFieldEnum[] } /** * Project.annotationQueue */ export type Project$annotationQueueArgs = { /** * Select specific fields to fetch from the AnnotationQueue */ select?: AnnotationQueueSelect | null /** * Omit specific fields from the AnnotationQueue */ omit?: AnnotationQueueOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueInclude | null where?: AnnotationQueueWhereInput orderBy?: AnnotationQueueOrderByWithRelationInput | AnnotationQueueOrderByWithRelationInput[] cursor?: AnnotationQueueWhereUniqueInput take?: number skip?: number distinct?: AnnotationQueueScalarFieldEnum | AnnotationQueueScalarFieldEnum[] } /** * Project.annotationQueueItem */ export type Project$annotationQueueItemArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelect | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemInclude | null where?: AnnotationQueueItemWhereInput orderBy?: AnnotationQueueItemOrderByWithRelationInput | AnnotationQueueItemOrderByWithRelationInput[] cursor?: AnnotationQueueItemWhereUniqueInput take?: number skip?: number distinct?: AnnotationQueueItemScalarFieldEnum | AnnotationQueueItemScalarFieldEnum[] } /** * Project.TraceMedia */ export type Project$TraceMediaArgs = { /** * Select specific fields to fetch from the TraceMedia */ select?: TraceMediaSelect | null /** * Omit specific fields from the TraceMedia */ omit?: TraceMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceMediaInclude | null where?: TraceMediaWhereInput orderBy?: TraceMediaOrderByWithRelationInput | TraceMediaOrderByWithRelationInput[] cursor?: TraceMediaWhereUniqueInput take?: number skip?: number distinct?: TraceMediaScalarFieldEnum | TraceMediaScalarFieldEnum[] } /** * Project.Media */ export type Project$MediaArgs = { /** * Select specific fields to fetch from the Media */ select?: MediaSelect | null /** * Omit specific fields from the Media */ omit?: MediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: MediaInclude | null where?: MediaWhereInput orderBy?: MediaOrderByWithRelationInput | MediaOrderByWithRelationInput[] cursor?: MediaWhereUniqueInput take?: number skip?: number distinct?: MediaScalarFieldEnum | MediaScalarFieldEnum[] } /** * Project.ObservationMedia */ export type Project$ObservationMediaArgs = { /** * Select specific fields to fetch from the ObservationMedia */ select?: ObservationMediaSelect | null /** * Omit specific fields from the ObservationMedia */ omit?: ObservationMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: ObservationMediaInclude | null where?: ObservationMediaWhereInput orderBy?: ObservationMediaOrderByWithRelationInput | ObservationMediaOrderByWithRelationInput[] cursor?: ObservationMediaWhereUniqueInput take?: number skip?: number distinct?: ObservationMediaScalarFieldEnum | ObservationMediaScalarFieldEnum[] } /** * Project.LegacyTrace */ export type Project$LegacyTraceArgs = { /** * Select specific fields to fetch from the LegacyPrismaTrace */ select?: LegacyPrismaTraceSelect | null /** * Omit specific fields from the LegacyPrismaTrace */ omit?: LegacyPrismaTraceOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaTraceInclude | null where?: LegacyPrismaTraceWhereInput orderBy?: LegacyPrismaTraceOrderByWithRelationInput | LegacyPrismaTraceOrderByWithRelationInput[] cursor?: LegacyPrismaTraceWhereUniqueInput take?: number skip?: number distinct?: LegacyPrismaTraceScalarFieldEnum | LegacyPrismaTraceScalarFieldEnum[] } /** * Project.LegacyObservation */ export type Project$LegacyObservationArgs = { /** * Select specific fields to fetch from the LegacyPrismaObservation */ select?: LegacyPrismaObservationSelect | null /** * Omit specific fields from the LegacyPrismaObservation */ omit?: LegacyPrismaObservationOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaObservationInclude | null where?: LegacyPrismaObservationWhereInput orderBy?: LegacyPrismaObservationOrderByWithRelationInput | LegacyPrismaObservationOrderByWithRelationInput[] cursor?: LegacyPrismaObservationWhereUniqueInput take?: number skip?: number distinct?: LegacyPrismaObservationScalarFieldEnum | LegacyPrismaObservationScalarFieldEnum[] } /** * Project.LegacyScore */ export type Project$LegacyScoreArgs = { /** * Select specific fields to fetch from the LegacyPrismaScore */ select?: LegacyPrismaScoreSelect | null /** * Omit specific fields from the LegacyPrismaScore */ omit?: LegacyPrismaScoreOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaScoreInclude | null where?: LegacyPrismaScoreWhereInput orderBy?: LegacyPrismaScoreOrderByWithRelationInput | LegacyPrismaScoreOrderByWithRelationInput[] cursor?: LegacyPrismaScoreWhereUniqueInput take?: number skip?: number distinct?: LegacyPrismaScoreScalarFieldEnum | LegacyPrismaScoreScalarFieldEnum[] } /** * Project.PromptDependency */ export type Project$PromptDependencyArgs = { /** * Select specific fields to fetch from the PromptDependency */ select?: PromptDependencySelect | null /** * Omit specific fields from the PromptDependency */ omit?: PromptDependencyOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptDependencyInclude | null where?: PromptDependencyWhereInput orderBy?: PromptDependencyOrderByWithRelationInput | PromptDependencyOrderByWithRelationInput[] cursor?: PromptDependencyWhereUniqueInput take?: number skip?: number distinct?: PromptDependencyScalarFieldEnum | PromptDependencyScalarFieldEnum[] } /** * Project.LlmSchema */ export type Project$LlmSchemaArgs = { /** * Select specific fields to fetch from the LlmSchema */ select?: LlmSchemaSelect | null /** * Omit specific fields from the LlmSchema */ omit?: LlmSchemaOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmSchemaInclude | null where?: LlmSchemaWhereInput orderBy?: LlmSchemaOrderByWithRelationInput | LlmSchemaOrderByWithRelationInput[] cursor?: LlmSchemaWhereUniqueInput take?: number skip?: number distinct?: LlmSchemaScalarFieldEnum | LlmSchemaScalarFieldEnum[] } /** * Project.LlmTool */ export type Project$LlmToolArgs = { /** * Select specific fields to fetch from the LlmTool */ select?: LlmToolSelect | null /** * Omit specific fields from the LlmTool */ omit?: LlmToolOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmToolInclude | null where?: LlmToolWhereInput orderBy?: LlmToolOrderByWithRelationInput | LlmToolOrderByWithRelationInput[] cursor?: LlmToolWhereUniqueInput take?: number skip?: number distinct?: LlmToolScalarFieldEnum | LlmToolScalarFieldEnum[] } /** * Project.PromptProtectedLabels */ export type Project$PromptProtectedLabelsArgs = { /** * Select specific fields to fetch from the PromptProtectedLabels */ select?: PromptProtectedLabelsSelect | null /** * Omit specific fields from the PromptProtectedLabels */ omit?: PromptProtectedLabelsOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptProtectedLabelsInclude | null where?: PromptProtectedLabelsWhereInput orderBy?: PromptProtectedLabelsOrderByWithRelationInput | PromptProtectedLabelsOrderByWithRelationInput[] cursor?: PromptProtectedLabelsWhereUniqueInput take?: number skip?: number distinct?: PromptProtectedLabelsScalarFieldEnum | PromptProtectedLabelsScalarFieldEnum[] } /** * Project.Dashboard */ export type Project$DashboardArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardInclude | null where?: DashboardWhereInput orderBy?: DashboardOrderByWithRelationInput | DashboardOrderByWithRelationInput[] cursor?: DashboardWhereUniqueInput take?: number skip?: number distinct?: DashboardScalarFieldEnum | DashboardScalarFieldEnum[] } /** * Project.DashboardWidget */ export type Project$DashboardWidgetArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelect | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetInclude | null where?: DashboardWidgetWhereInput orderBy?: DashboardWidgetOrderByWithRelationInput | DashboardWidgetOrderByWithRelationInput[] cursor?: DashboardWidgetWhereUniqueInput take?: number skip?: number distinct?: DashboardWidgetScalarFieldEnum | DashboardWidgetScalarFieldEnum[] } /** * Project.TableViewPreset */ export type Project$TableViewPresetArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelect | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetInclude | null where?: TableViewPresetWhereInput orderBy?: TableViewPresetOrderByWithRelationInput | TableViewPresetOrderByWithRelationInput[] cursor?: TableViewPresetWhereUniqueInput take?: number skip?: number distinct?: TableViewPresetScalarFieldEnum | TableViewPresetScalarFieldEnum[] } /** * Project.actions */ export type Project$actionsArgs = { /** * Select specific fields to fetch from the Action */ select?: ActionSelect | null /** * Omit specific fields from the Action */ omit?: ActionOmit | null /** * Choose, which related nodes to fetch as well */ include?: ActionInclude | null where?: ActionWhereInput orderBy?: ActionOrderByWithRelationInput | ActionOrderByWithRelationInput[] cursor?: ActionWhereUniqueInput take?: number skip?: number distinct?: ActionScalarFieldEnum | ActionScalarFieldEnum[] } /** * Project.triggers */ export type Project$triggersArgs = { /** * Select specific fields to fetch from the Trigger */ select?: TriggerSelect | null /** * Omit specific fields from the Trigger */ omit?: TriggerOmit | null /** * Choose, which related nodes to fetch as well */ include?: TriggerInclude | null where?: TriggerWhereInput orderBy?: TriggerOrderByWithRelationInput | TriggerOrderByWithRelationInput[] cursor?: TriggerWhereUniqueInput take?: number skip?: number distinct?: TriggerScalarFieldEnum | TriggerScalarFieldEnum[] } /** * Project.automationExecutions */ export type Project$automationExecutionsArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelect | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionInclude | null where?: AutomationExecutionWhereInput orderBy?: AutomationExecutionOrderByWithRelationInput | AutomationExecutionOrderByWithRelationInput[] cursor?: AutomationExecutionWhereUniqueInput take?: number skip?: number distinct?: AutomationExecutionScalarFieldEnum | AutomationExecutionScalarFieldEnum[] } /** * Project.Automation */ export type Project$AutomationArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelect | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationInclude | null where?: AutomationWhereInput orderBy?: AutomationOrderByWithRelationInput | AutomationOrderByWithRelationInput[] cursor?: AutomationWhereUniqueInput take?: number skip?: number distinct?: AutomationScalarFieldEnum | AutomationScalarFieldEnum[] } /** * Project.DefaultLlmModel */ export type Project$DefaultLlmModelArgs = { /** * Select specific fields to fetch from the DefaultLlmModel */ select?: DefaultLlmModelSelect | null /** * Omit specific fields from the DefaultLlmModel */ omit?: DefaultLlmModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: DefaultLlmModelInclude | null where?: DefaultLlmModelWhereInput orderBy?: DefaultLlmModelOrderByWithRelationInput | DefaultLlmModelOrderByWithRelationInput[] cursor?: DefaultLlmModelWhereUniqueInput take?: number skip?: number distinct?: DefaultLlmModelScalarFieldEnum | DefaultLlmModelScalarFieldEnum[] } /** * Project.Price */ export type Project$PriceArgs = { /** * Select specific fields to fetch from the Price */ select?: PriceSelect | null /** * Omit specific fields from the Price */ omit?: PriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: PriceInclude | null where?: PriceWhereInput orderBy?: PriceOrderByWithRelationInput | PriceOrderByWithRelationInput[] cursor?: PriceWhereUniqueInput take?: number skip?: number distinct?: PriceScalarFieldEnum | PriceScalarFieldEnum[] } /** * Project.SlackIntegration */ export type Project$SlackIntegrationArgs = { /** * Select specific fields to fetch from the SlackIntegration */ select?: SlackIntegrationSelect | null /** * Omit specific fields from the SlackIntegration */ omit?: SlackIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: SlackIntegrationInclude | null where?: SlackIntegrationWhereInput } /** * Project.PendingDeletion */ export type Project$PendingDeletionArgs = { /** * Select specific fields to fetch from the PendingDeletion */ select?: PendingDeletionSelect | null /** * Omit specific fields from the PendingDeletion */ omit?: PendingDeletionOmit | null /** * Choose, which related nodes to fetch as well */ include?: PendingDeletionInclude | null where?: PendingDeletionWhereInput orderBy?: PendingDeletionOrderByWithRelationInput | PendingDeletionOrderByWithRelationInput[] cursor?: PendingDeletionWhereUniqueInput take?: number skip?: number distinct?: PendingDeletionScalarFieldEnum | PendingDeletionScalarFieldEnum[] } /** * Project.AnnotationQueueAssignment */ export type Project$AnnotationQueueAssignmentArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelect | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentInclude | null where?: AnnotationQueueAssignmentWhereInput orderBy?: AnnotationQueueAssignmentOrderByWithRelationInput | AnnotationQueueAssignmentOrderByWithRelationInput[] cursor?: AnnotationQueueAssignmentWhereUniqueInput take?: number skip?: number distinct?: AnnotationQueueAssignmentScalarFieldEnum | AnnotationQueueAssignmentScalarFieldEnum[] } /** * Project without action */ export type ProjectDefaultArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null } /** * Model ApiKey */ export type AggregateApiKey = { _count: ApiKeyCountAggregateOutputType | null _min: ApiKeyMinAggregateOutputType | null _max: ApiKeyMaxAggregateOutputType | null } export type ApiKeyMinAggregateOutputType = { id: string | null createdAt: Date | null note: string | null publicKey: string | null hashedSecretKey: string | null fastHashedSecretKey: string | null displaySecretKey: string | null lastUsedAt: Date | null expiresAt: Date | null projectId: string | null orgId: string | null scope: $Enums.ApiKeyScope | null } export type ApiKeyMaxAggregateOutputType = { id: string | null createdAt: Date | null note: string | null publicKey: string | null hashedSecretKey: string | null fastHashedSecretKey: string | null displaySecretKey: string | null lastUsedAt: Date | null expiresAt: Date | null projectId: string | null orgId: string | null scope: $Enums.ApiKeyScope | null } export type ApiKeyCountAggregateOutputType = { id: number createdAt: number note: number publicKey: number hashedSecretKey: number fastHashedSecretKey: number displaySecretKey: number lastUsedAt: number expiresAt: number projectId: number orgId: number scope: number _all: number } export type ApiKeyMinAggregateInputType = { id?: true createdAt?: true note?: true publicKey?: true hashedSecretKey?: true fastHashedSecretKey?: true displaySecretKey?: true lastUsedAt?: true expiresAt?: true projectId?: true orgId?: true scope?: true } export type ApiKeyMaxAggregateInputType = { id?: true createdAt?: true note?: true publicKey?: true hashedSecretKey?: true fastHashedSecretKey?: true displaySecretKey?: true lastUsedAt?: true expiresAt?: true projectId?: true orgId?: true scope?: true } export type ApiKeyCountAggregateInputType = { id?: true createdAt?: true note?: true publicKey?: true hashedSecretKey?: true fastHashedSecretKey?: true displaySecretKey?: true lastUsedAt?: true expiresAt?: true projectId?: true orgId?: true scope?: true _all?: true } export type ApiKeyAggregateArgs = { /** * Filter which ApiKey to aggregate. */ where?: ApiKeyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ApiKeys to fetch. */ orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ApiKeyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ApiKeys 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` ApiKeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ApiKeys **/ _count?: true | ApiKeyCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ApiKeyMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ApiKeyMaxAggregateInputType } export type GetApiKeyAggregateType = { [P in keyof T & keyof AggregateApiKey]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ApiKeyGroupByArgs = { where?: ApiKeyWhereInput orderBy?: ApiKeyOrderByWithAggregationInput | ApiKeyOrderByWithAggregationInput[] by: ApiKeyScalarFieldEnum[] | ApiKeyScalarFieldEnum having?: ApiKeyScalarWhereWithAggregatesInput take?: number skip?: number _count?: ApiKeyCountAggregateInputType | true _min?: ApiKeyMinAggregateInputType _max?: ApiKeyMaxAggregateInputType } export type ApiKeyGroupByOutputType = { id: string createdAt: Date note: string | null publicKey: string hashedSecretKey: string fastHashedSecretKey: string | null displaySecretKey: string lastUsedAt: Date | null expiresAt: Date | null projectId: string | null orgId: string | null scope: $Enums.ApiKeyScope _count: ApiKeyCountAggregateOutputType | null _min: ApiKeyMinAggregateOutputType | null _max: ApiKeyMaxAggregateOutputType | null } type GetApiKeyGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ApiKeyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ApiKeySelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean note?: boolean publicKey?: boolean hashedSecretKey?: boolean fastHashedSecretKey?: boolean displaySecretKey?: boolean lastUsedAt?: boolean expiresAt?: boolean projectId?: boolean orgId?: boolean scope?: boolean project?: boolean | ApiKey$projectArgs organization?: boolean | ApiKey$organizationArgs }, ExtArgs["result"]["apiKey"]> export type ApiKeySelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean note?: boolean publicKey?: boolean hashedSecretKey?: boolean fastHashedSecretKey?: boolean displaySecretKey?: boolean lastUsedAt?: boolean expiresAt?: boolean projectId?: boolean orgId?: boolean scope?: boolean project?: boolean | ApiKey$projectArgs organization?: boolean | ApiKey$organizationArgs }, ExtArgs["result"]["apiKey"]> export type ApiKeySelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean note?: boolean publicKey?: boolean hashedSecretKey?: boolean fastHashedSecretKey?: boolean displaySecretKey?: boolean lastUsedAt?: boolean expiresAt?: boolean projectId?: boolean orgId?: boolean scope?: boolean project?: boolean | ApiKey$projectArgs organization?: boolean | ApiKey$organizationArgs }, ExtArgs["result"]["apiKey"]> export type ApiKeySelectScalar = { id?: boolean createdAt?: boolean note?: boolean publicKey?: boolean hashedSecretKey?: boolean fastHashedSecretKey?: boolean displaySecretKey?: boolean lastUsedAt?: boolean expiresAt?: boolean projectId?: boolean orgId?: boolean scope?: boolean } export type ApiKeyOmit = $Extensions.GetOmit<"id" | "createdAt" | "note" | "publicKey" | "hashedSecretKey" | "fastHashedSecretKey" | "displaySecretKey" | "lastUsedAt" | "expiresAt" | "projectId" | "orgId" | "scope", ExtArgs["result"]["apiKey"]> export type ApiKeyInclude = { project?: boolean | ApiKey$projectArgs organization?: boolean | ApiKey$organizationArgs } export type ApiKeyIncludeCreateManyAndReturn = { project?: boolean | ApiKey$projectArgs organization?: boolean | ApiKey$organizationArgs } export type ApiKeyIncludeUpdateManyAndReturn = { project?: boolean | ApiKey$projectArgs organization?: boolean | ApiKey$organizationArgs } export type $ApiKeyPayload = { name: "ApiKey" objects: { project: Prisma.$ProjectPayload | null organization: Prisma.$OrganizationPayload | null } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date note: string | null publicKey: string hashedSecretKey: string fastHashedSecretKey: string | null displaySecretKey: string lastUsedAt: Date | null expiresAt: Date | null projectId: string | null orgId: string | null scope: $Enums.ApiKeyScope }, ExtArgs["result"]["apiKey"]> composites: {} } type ApiKeyGetPayload = $Result.GetResult type ApiKeyCountArgs = Omit & { select?: ApiKeyCountAggregateInputType | true } export interface ApiKeyDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ApiKey'], meta: { name: 'ApiKey' } } /** * Find zero or one ApiKey that matches the filter. * @param {ApiKeyFindUniqueArgs} args - Arguments to find a ApiKey * @example * // Get one ApiKey * const apiKey = await prisma.apiKey.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ApiKey that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ApiKeyFindUniqueOrThrowArgs} args - Arguments to find a ApiKey * @example * // Get one ApiKey * const apiKey = await prisma.apiKey.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ApiKey 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 {ApiKeyFindFirstArgs} args - Arguments to find a ApiKey * @example * // Get one ApiKey * const apiKey = await prisma.apiKey.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ApiKey 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 {ApiKeyFindFirstOrThrowArgs} args - Arguments to find a ApiKey * @example * // Get one ApiKey * const apiKey = await prisma.apiKey.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ApiKeys 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 {ApiKeyFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ApiKeys * const apiKeys = await prisma.apiKey.findMany() * * // Get first 10 ApiKeys * const apiKeys = await prisma.apiKey.findMany({ take: 10 }) * * // Only select the `id` * const apiKeyWithIdOnly = await prisma.apiKey.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a ApiKey. * @param {ApiKeyCreateArgs} args - Arguments to create a ApiKey. * @example * // Create one ApiKey * const ApiKey = await prisma.apiKey.create({ * data: { * // ... data to create a ApiKey * } * }) * */ create(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ApiKeys. * @param {ApiKeyCreateManyArgs} args - Arguments to create many ApiKeys. * @example * // Create many ApiKeys * const apiKey = await prisma.apiKey.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many ApiKeys and returns the data saved in the database. * @param {ApiKeyCreateManyAndReturnArgs} args - Arguments to create many ApiKeys. * @example * // Create many ApiKeys * const apiKey = await prisma.apiKey.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ApiKeys and only return the `id` * const apiKeyWithIdOnly = await prisma.apiKey.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 ApiKey. * @param {ApiKeyDeleteArgs} args - Arguments to delete one ApiKey. * @example * // Delete one ApiKey * const ApiKey = await prisma.apiKey.delete({ * where: { * // ... filter to delete one ApiKey * } * }) * */ delete(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ApiKey. * @param {ApiKeyUpdateArgs} args - Arguments to update one ApiKey. * @example * // Update one ApiKey * const apiKey = await prisma.apiKey.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ApiKeys. * @param {ApiKeyDeleteManyArgs} args - Arguments to filter ApiKeys to delete. * @example * // Delete a few ApiKeys * const { count } = await prisma.apiKey.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ApiKeys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ApiKeys * const apiKey = await prisma.apiKey.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ApiKeys and returns the data updated in the database. * @param {ApiKeyUpdateManyAndReturnArgs} args - Arguments to update many ApiKeys. * @example * // Update many ApiKeys * const apiKey = await prisma.apiKey.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ApiKeys and only return the `id` * const apiKeyWithIdOnly = await prisma.apiKey.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 ApiKey. * @param {ApiKeyUpsertArgs} args - Arguments to update or create a ApiKey. * @example * // Update or create a ApiKey * const apiKey = await prisma.apiKey.upsert({ * create: { * // ... data to create a ApiKey * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ApiKey we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ApiKeys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyCountArgs} args - Arguments to filter ApiKeys to count. * @example * // Count the number of ApiKeys * const count = await prisma.apiKey.count({ * where: { * // ... the filter for the ApiKeys 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 ApiKey. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyAggregateArgs} 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 ApiKey. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyGroupByArgs} 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 ApiKeyGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ApiKeyGroupByArgs['orderBy'] } : { orderBy?: ApiKeyGroupByArgs['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 ? GetApiKeyGroupByPayload : Prisma.PrismaPromise /** * Fields of the ApiKey model */ readonly fields: ApiKeyFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ApiKey. * 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__ApiKeyClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> organization = {}>(args?: Subset>): Prisma__OrganizationClient<$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 ApiKey model */ interface ApiKeyFieldRefs { readonly id: FieldRef<"ApiKey", 'String'> readonly createdAt: FieldRef<"ApiKey", 'DateTime'> readonly note: FieldRef<"ApiKey", 'String'> readonly publicKey: FieldRef<"ApiKey", 'String'> readonly hashedSecretKey: FieldRef<"ApiKey", 'String'> readonly fastHashedSecretKey: FieldRef<"ApiKey", 'String'> readonly displaySecretKey: FieldRef<"ApiKey", 'String'> readonly lastUsedAt: FieldRef<"ApiKey", 'DateTime'> readonly expiresAt: FieldRef<"ApiKey", 'DateTime'> readonly projectId: FieldRef<"ApiKey", 'String'> readonly orgId: FieldRef<"ApiKey", 'String'> readonly scope: FieldRef<"ApiKey", 'ApiKeyScope'> } // Custom InputTypes /** * ApiKey findUnique */ export type ApiKeyFindUniqueArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKey to fetch. */ where: ApiKeyWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ApiKey findUniqueOrThrow */ export type ApiKeyFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKey to fetch. */ where: ApiKeyWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ApiKey findFirst */ export type ApiKeyFindFirstArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKey to fetch. */ where?: ApiKeyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ApiKeys to fetch. */ orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ApiKeys. */ cursor?: ApiKeyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ApiKeys 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` ApiKeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ApiKeys. */ distinct?: ApiKeyScalarFieldEnum | ApiKeyScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * ApiKey findFirstOrThrow */ export type ApiKeyFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKey to fetch. */ where?: ApiKeyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ApiKeys to fetch. */ orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ApiKeys. */ cursor?: ApiKeyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ApiKeys 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` ApiKeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ApiKeys. */ distinct?: ApiKeyScalarFieldEnum | ApiKeyScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * ApiKey findMany */ export type ApiKeyFindManyArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKeys to fetch. */ where?: ApiKeyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ApiKeys to fetch. */ orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ApiKeys. */ cursor?: ApiKeyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ApiKeys 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` ApiKeys. */ skip?: number distinct?: ApiKeyScalarFieldEnum | ApiKeyScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * ApiKey create */ export type ApiKeyCreateArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * The data needed to create a ApiKey. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * ApiKey createMany */ export type ApiKeyCreateManyArgs = { /** * The data used to create many ApiKeys. */ data: ApiKeyCreateManyInput | ApiKeyCreateManyInput[] skipDuplicates?: boolean } /** * ApiKey createManyAndReturn */ export type ApiKeyCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelectCreateManyAndReturn | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * The data used to create many ApiKeys. */ data: ApiKeyCreateManyInput | ApiKeyCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: ApiKeyIncludeCreateManyAndReturn | null } /** * ApiKey update */ export type ApiKeyUpdateArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * The data needed to update a ApiKey. */ data: XOR /** * Choose, which ApiKey to update. */ where: ApiKeyWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ApiKey updateMany */ export type ApiKeyUpdateManyArgs = { /** * The data used to update ApiKeys. */ data: XOR /** * Filter which ApiKeys to update */ where?: ApiKeyWhereInput /** * Limit how many ApiKeys to update. */ limit?: number } /** * ApiKey updateManyAndReturn */ export type ApiKeyUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelectUpdateManyAndReturn | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * The data used to update ApiKeys. */ data: XOR /** * Filter which ApiKeys to update */ where?: ApiKeyWhereInput /** * Limit how many ApiKeys to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: ApiKeyIncludeUpdateManyAndReturn | null } /** * ApiKey upsert */ export type ApiKeyUpsertArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * The filter to search for the ApiKey to update in case it exists. */ where: ApiKeyWhereUniqueInput /** * In case the ApiKey found by the `where` argument doesn't exist, create a new ApiKey with this data. */ create: XOR /** * In case the ApiKey was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * ApiKey delete */ export type ApiKeyDeleteArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter which ApiKey to delete. */ where: ApiKeyWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ApiKey deleteMany */ export type ApiKeyDeleteManyArgs = { /** * Filter which ApiKeys to delete */ where?: ApiKeyWhereInput /** * Limit how many ApiKeys to delete. */ limit?: number } /** * ApiKey.project */ export type ApiKey$projectArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null where?: ProjectWhereInput } /** * ApiKey.organization */ export type ApiKey$organizationArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Omit specific fields from the Organization */ omit?: OrganizationOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null where?: OrganizationWhereInput } /** * ApiKey without action */ export type ApiKeyDefaultArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null } /** * Model BackgroundMigration */ export type AggregateBackgroundMigration = { _count: BackgroundMigrationCountAggregateOutputType | null _min: BackgroundMigrationMinAggregateOutputType | null _max: BackgroundMigrationMaxAggregateOutputType | null } export type BackgroundMigrationMinAggregateOutputType = { id: string | null name: string | null script: string | null finishedAt: Date | null failedAt: Date | null failedReason: string | null workerId: string | null lockedAt: Date | null } export type BackgroundMigrationMaxAggregateOutputType = { id: string | null name: string | null script: string | null finishedAt: Date | null failedAt: Date | null failedReason: string | null workerId: string | null lockedAt: Date | null } export type BackgroundMigrationCountAggregateOutputType = { id: number name: number script: number args: number state: number finishedAt: number failedAt: number failedReason: number workerId: number lockedAt: number _all: number } export type BackgroundMigrationMinAggregateInputType = { id?: true name?: true script?: true finishedAt?: true failedAt?: true failedReason?: true workerId?: true lockedAt?: true } export type BackgroundMigrationMaxAggregateInputType = { id?: true name?: true script?: true finishedAt?: true failedAt?: true failedReason?: true workerId?: true lockedAt?: true } export type BackgroundMigrationCountAggregateInputType = { id?: true name?: true script?: true args?: true state?: true finishedAt?: true failedAt?: true failedReason?: true workerId?: true lockedAt?: true _all?: true } export type BackgroundMigrationAggregateArgs = { /** * Filter which BackgroundMigration to aggregate. */ where?: BackgroundMigrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BackgroundMigrations to fetch. */ orderBy?: BackgroundMigrationOrderByWithRelationInput | BackgroundMigrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: BackgroundMigrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BackgroundMigrations 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` BackgroundMigrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned BackgroundMigrations **/ _count?: true | BackgroundMigrationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: BackgroundMigrationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: BackgroundMigrationMaxAggregateInputType } export type GetBackgroundMigrationAggregateType = { [P in keyof T & keyof AggregateBackgroundMigration]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type BackgroundMigrationGroupByArgs = { where?: BackgroundMigrationWhereInput orderBy?: BackgroundMigrationOrderByWithAggregationInput | BackgroundMigrationOrderByWithAggregationInput[] by: BackgroundMigrationScalarFieldEnum[] | BackgroundMigrationScalarFieldEnum having?: BackgroundMigrationScalarWhereWithAggregatesInput take?: number skip?: number _count?: BackgroundMigrationCountAggregateInputType | true _min?: BackgroundMigrationMinAggregateInputType _max?: BackgroundMigrationMaxAggregateInputType } export type BackgroundMigrationGroupByOutputType = { id: string name: string script: string args: JsonValue state: JsonValue finishedAt: Date | null failedAt: Date | null failedReason: string | null workerId: string | null lockedAt: Date | null _count: BackgroundMigrationCountAggregateOutputType | null _min: BackgroundMigrationMinAggregateOutputType | null _max: BackgroundMigrationMaxAggregateOutputType | null } type GetBackgroundMigrationGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof BackgroundMigrationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type BackgroundMigrationSelect = $Extensions.GetSelect<{ id?: boolean name?: boolean script?: boolean args?: boolean state?: boolean finishedAt?: boolean failedAt?: boolean failedReason?: boolean workerId?: boolean lockedAt?: boolean }, ExtArgs["result"]["backgroundMigration"]> export type BackgroundMigrationSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean script?: boolean args?: boolean state?: boolean finishedAt?: boolean failedAt?: boolean failedReason?: boolean workerId?: boolean lockedAt?: boolean }, ExtArgs["result"]["backgroundMigration"]> export type BackgroundMigrationSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean script?: boolean args?: boolean state?: boolean finishedAt?: boolean failedAt?: boolean failedReason?: boolean workerId?: boolean lockedAt?: boolean }, ExtArgs["result"]["backgroundMigration"]> export type BackgroundMigrationSelectScalar = { id?: boolean name?: boolean script?: boolean args?: boolean state?: boolean finishedAt?: boolean failedAt?: boolean failedReason?: boolean workerId?: boolean lockedAt?: boolean } export type BackgroundMigrationOmit = $Extensions.GetOmit<"id" | "name" | "script" | "args" | "state" | "finishedAt" | "failedAt" | "failedReason" | "workerId" | "lockedAt", ExtArgs["result"]["backgroundMigration"]> export type $BackgroundMigrationPayload = { name: "BackgroundMigration" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string name: string script: string args: Prisma.JsonValue state: Prisma.JsonValue finishedAt: Date | null failedAt: Date | null failedReason: string | null workerId: string | null lockedAt: Date | null }, ExtArgs["result"]["backgroundMigration"]> composites: {} } type BackgroundMigrationGetPayload = $Result.GetResult type BackgroundMigrationCountArgs = Omit & { select?: BackgroundMigrationCountAggregateInputType | true } export interface BackgroundMigrationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['BackgroundMigration'], meta: { name: 'BackgroundMigration' } } /** * Find zero or one BackgroundMigration that matches the filter. * @param {BackgroundMigrationFindUniqueArgs} args - Arguments to find a BackgroundMigration * @example * // Get one BackgroundMigration * const backgroundMigration = await prisma.backgroundMigration.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__BackgroundMigrationClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one BackgroundMigration that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {BackgroundMigrationFindUniqueOrThrowArgs} args - Arguments to find a BackgroundMigration * @example * // Get one BackgroundMigration * const backgroundMigration = await prisma.backgroundMigration.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__BackgroundMigrationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first BackgroundMigration 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 {BackgroundMigrationFindFirstArgs} args - Arguments to find a BackgroundMigration * @example * // Get one BackgroundMigration * const backgroundMigration = await prisma.backgroundMigration.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__BackgroundMigrationClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first BackgroundMigration 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 {BackgroundMigrationFindFirstOrThrowArgs} args - Arguments to find a BackgroundMigration * @example * // Get one BackgroundMigration * const backgroundMigration = await prisma.backgroundMigration.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__BackgroundMigrationClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more BackgroundMigrations 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 {BackgroundMigrationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all BackgroundMigrations * const backgroundMigrations = await prisma.backgroundMigration.findMany() * * // Get first 10 BackgroundMigrations * const backgroundMigrations = await prisma.backgroundMigration.findMany({ take: 10 }) * * // Only select the `id` * const backgroundMigrationWithIdOnly = await prisma.backgroundMigration.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a BackgroundMigration. * @param {BackgroundMigrationCreateArgs} args - Arguments to create a BackgroundMigration. * @example * // Create one BackgroundMigration * const BackgroundMigration = await prisma.backgroundMigration.create({ * data: { * // ... data to create a BackgroundMigration * } * }) * */ create(args: SelectSubset>): Prisma__BackgroundMigrationClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many BackgroundMigrations. * @param {BackgroundMigrationCreateManyArgs} args - Arguments to create many BackgroundMigrations. * @example * // Create many BackgroundMigrations * const backgroundMigration = await prisma.backgroundMigration.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many BackgroundMigrations and returns the data saved in the database. * @param {BackgroundMigrationCreateManyAndReturnArgs} args - Arguments to create many BackgroundMigrations. * @example * // Create many BackgroundMigrations * const backgroundMigration = await prisma.backgroundMigration.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many BackgroundMigrations and only return the `id` * const backgroundMigrationWithIdOnly = await prisma.backgroundMigration.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 BackgroundMigration. * @param {BackgroundMigrationDeleteArgs} args - Arguments to delete one BackgroundMigration. * @example * // Delete one BackgroundMigration * const BackgroundMigration = await prisma.backgroundMigration.delete({ * where: { * // ... filter to delete one BackgroundMigration * } * }) * */ delete(args: SelectSubset>): Prisma__BackgroundMigrationClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one BackgroundMigration. * @param {BackgroundMigrationUpdateArgs} args - Arguments to update one BackgroundMigration. * @example * // Update one BackgroundMigration * const backgroundMigration = await prisma.backgroundMigration.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__BackgroundMigrationClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more BackgroundMigrations. * @param {BackgroundMigrationDeleteManyArgs} args - Arguments to filter BackgroundMigrations to delete. * @example * // Delete a few BackgroundMigrations * const { count } = await prisma.backgroundMigration.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more BackgroundMigrations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BackgroundMigrationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many BackgroundMigrations * const backgroundMigration = await prisma.backgroundMigration.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more BackgroundMigrations and returns the data updated in the database. * @param {BackgroundMigrationUpdateManyAndReturnArgs} args - Arguments to update many BackgroundMigrations. * @example * // Update many BackgroundMigrations * const backgroundMigration = await prisma.backgroundMigration.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more BackgroundMigrations and only return the `id` * const backgroundMigrationWithIdOnly = await prisma.backgroundMigration.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 BackgroundMigration. * @param {BackgroundMigrationUpsertArgs} args - Arguments to update or create a BackgroundMigration. * @example * // Update or create a BackgroundMigration * const backgroundMigration = await prisma.backgroundMigration.upsert({ * create: { * // ... data to create a BackgroundMigration * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the BackgroundMigration we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__BackgroundMigrationClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of BackgroundMigrations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BackgroundMigrationCountArgs} args - Arguments to filter BackgroundMigrations to count. * @example * // Count the number of BackgroundMigrations * const count = await prisma.backgroundMigration.count({ * where: { * // ... the filter for the BackgroundMigrations 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 BackgroundMigration. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BackgroundMigrationAggregateArgs} 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 BackgroundMigration. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BackgroundMigrationGroupByArgs} 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 BackgroundMigrationGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: BackgroundMigrationGroupByArgs['orderBy'] } : { orderBy?: BackgroundMigrationGroupByArgs['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 ? GetBackgroundMigrationGroupByPayload : Prisma.PrismaPromise /** * Fields of the BackgroundMigration model */ readonly fields: BackgroundMigrationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for BackgroundMigration. * 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__BackgroundMigrationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 BackgroundMigration model */ interface BackgroundMigrationFieldRefs { readonly id: FieldRef<"BackgroundMigration", 'String'> readonly name: FieldRef<"BackgroundMigration", 'String'> readonly script: FieldRef<"BackgroundMigration", 'String'> readonly args: FieldRef<"BackgroundMigration", 'Json'> readonly state: FieldRef<"BackgroundMigration", 'Json'> readonly finishedAt: FieldRef<"BackgroundMigration", 'DateTime'> readonly failedAt: FieldRef<"BackgroundMigration", 'DateTime'> readonly failedReason: FieldRef<"BackgroundMigration", 'String'> readonly workerId: FieldRef<"BackgroundMigration", 'String'> readonly lockedAt: FieldRef<"BackgroundMigration", 'DateTime'> } // Custom InputTypes /** * BackgroundMigration findUnique */ export type BackgroundMigrationFindUniqueArgs = { /** * Select specific fields to fetch from the BackgroundMigration */ select?: BackgroundMigrationSelect | null /** * Omit specific fields from the BackgroundMigration */ omit?: BackgroundMigrationOmit | null /** * Filter, which BackgroundMigration to fetch. */ where: BackgroundMigrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BackgroundMigration findUniqueOrThrow */ export type BackgroundMigrationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the BackgroundMigration */ select?: BackgroundMigrationSelect | null /** * Omit specific fields from the BackgroundMigration */ omit?: BackgroundMigrationOmit | null /** * Filter, which BackgroundMigration to fetch. */ where: BackgroundMigrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BackgroundMigration findFirst */ export type BackgroundMigrationFindFirstArgs = { /** * Select specific fields to fetch from the BackgroundMigration */ select?: BackgroundMigrationSelect | null /** * Omit specific fields from the BackgroundMigration */ omit?: BackgroundMigrationOmit | null /** * Filter, which BackgroundMigration to fetch. */ where?: BackgroundMigrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BackgroundMigrations to fetch. */ orderBy?: BackgroundMigrationOrderByWithRelationInput | BackgroundMigrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BackgroundMigrations. */ cursor?: BackgroundMigrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BackgroundMigrations 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` BackgroundMigrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BackgroundMigrations. */ distinct?: BackgroundMigrationScalarFieldEnum | BackgroundMigrationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * BackgroundMigration findFirstOrThrow */ export type BackgroundMigrationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the BackgroundMigration */ select?: BackgroundMigrationSelect | null /** * Omit specific fields from the BackgroundMigration */ omit?: BackgroundMigrationOmit | null /** * Filter, which BackgroundMigration to fetch. */ where?: BackgroundMigrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BackgroundMigrations to fetch. */ orderBy?: BackgroundMigrationOrderByWithRelationInput | BackgroundMigrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BackgroundMigrations. */ cursor?: BackgroundMigrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BackgroundMigrations 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` BackgroundMigrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BackgroundMigrations. */ distinct?: BackgroundMigrationScalarFieldEnum | BackgroundMigrationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * BackgroundMigration findMany */ export type BackgroundMigrationFindManyArgs = { /** * Select specific fields to fetch from the BackgroundMigration */ select?: BackgroundMigrationSelect | null /** * Omit specific fields from the BackgroundMigration */ omit?: BackgroundMigrationOmit | null /** * Filter, which BackgroundMigrations to fetch. */ where?: BackgroundMigrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BackgroundMigrations to fetch. */ orderBy?: BackgroundMigrationOrderByWithRelationInput | BackgroundMigrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing BackgroundMigrations. */ cursor?: BackgroundMigrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BackgroundMigrations 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` BackgroundMigrations. */ skip?: number distinct?: BackgroundMigrationScalarFieldEnum | BackgroundMigrationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * BackgroundMigration create */ export type BackgroundMigrationCreateArgs = { /** * Select specific fields to fetch from the BackgroundMigration */ select?: BackgroundMigrationSelect | null /** * Omit specific fields from the BackgroundMigration */ omit?: BackgroundMigrationOmit | null /** * The data needed to create a BackgroundMigration. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * BackgroundMigration createMany */ export type BackgroundMigrationCreateManyArgs = { /** * The data used to create many BackgroundMigrations. */ data: BackgroundMigrationCreateManyInput | BackgroundMigrationCreateManyInput[] skipDuplicates?: boolean } /** * BackgroundMigration createManyAndReturn */ export type BackgroundMigrationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the BackgroundMigration */ select?: BackgroundMigrationSelectCreateManyAndReturn | null /** * Omit specific fields from the BackgroundMigration */ omit?: BackgroundMigrationOmit | null /** * The data used to create many BackgroundMigrations. */ data: BackgroundMigrationCreateManyInput | BackgroundMigrationCreateManyInput[] skipDuplicates?: boolean } /** * BackgroundMigration update */ export type BackgroundMigrationUpdateArgs = { /** * Select specific fields to fetch from the BackgroundMigration */ select?: BackgroundMigrationSelect | null /** * Omit specific fields from the BackgroundMigration */ omit?: BackgroundMigrationOmit | null /** * The data needed to update a BackgroundMigration. */ data: XOR /** * Choose, which BackgroundMigration to update. */ where: BackgroundMigrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BackgroundMigration updateMany */ export type BackgroundMigrationUpdateManyArgs = { /** * The data used to update BackgroundMigrations. */ data: XOR /** * Filter which BackgroundMigrations to update */ where?: BackgroundMigrationWhereInput /** * Limit how many BackgroundMigrations to update. */ limit?: number } /** * BackgroundMigration updateManyAndReturn */ export type BackgroundMigrationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the BackgroundMigration */ select?: BackgroundMigrationSelectUpdateManyAndReturn | null /** * Omit specific fields from the BackgroundMigration */ omit?: BackgroundMigrationOmit | null /** * The data used to update BackgroundMigrations. */ data: XOR /** * Filter which BackgroundMigrations to update */ where?: BackgroundMigrationWhereInput /** * Limit how many BackgroundMigrations to update. */ limit?: number } /** * BackgroundMigration upsert */ export type BackgroundMigrationUpsertArgs = { /** * Select specific fields to fetch from the BackgroundMigration */ select?: BackgroundMigrationSelect | null /** * Omit specific fields from the BackgroundMigration */ omit?: BackgroundMigrationOmit | null /** * The filter to search for the BackgroundMigration to update in case it exists. */ where: BackgroundMigrationWhereUniqueInput /** * In case the BackgroundMigration found by the `where` argument doesn't exist, create a new BackgroundMigration with this data. */ create: XOR /** * In case the BackgroundMigration was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * BackgroundMigration delete */ export type BackgroundMigrationDeleteArgs = { /** * Select specific fields to fetch from the BackgroundMigration */ select?: BackgroundMigrationSelect | null /** * Omit specific fields from the BackgroundMigration */ omit?: BackgroundMigrationOmit | null /** * Filter which BackgroundMigration to delete. */ where: BackgroundMigrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BackgroundMigration deleteMany */ export type BackgroundMigrationDeleteManyArgs = { /** * Filter which BackgroundMigrations to delete */ where?: BackgroundMigrationWhereInput /** * Limit how many BackgroundMigrations to delete. */ limit?: number } /** * BackgroundMigration without action */ export type BackgroundMigrationDefaultArgs = { /** * Select specific fields to fetch from the BackgroundMigration */ select?: BackgroundMigrationSelect | null /** * Omit specific fields from the BackgroundMigration */ omit?: BackgroundMigrationOmit | null } /** * Model LlmApiKeys */ export type AggregateLlmApiKeys = { _count: LlmApiKeysCountAggregateOutputType | null _min: LlmApiKeysMinAggregateOutputType | null _max: LlmApiKeysMaxAggregateOutputType | null } export type LlmApiKeysMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null provider: string | null adapter: string | null displaySecretKey: string | null secretKey: string | null baseURL: string | null withDefaultModels: boolean | null extraHeaders: string | null projectId: string | null } export type LlmApiKeysMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null provider: string | null adapter: string | null displaySecretKey: string | null secretKey: string | null baseURL: string | null withDefaultModels: boolean | null extraHeaders: string | null projectId: string | null } export type LlmApiKeysCountAggregateOutputType = { id: number createdAt: number updatedAt: number provider: number adapter: number displaySecretKey: number secretKey: number baseURL: number customModels: number withDefaultModels: number extraHeaders: number extraHeaderKeys: number config: number projectId: number _all: number } export type LlmApiKeysMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true provider?: true adapter?: true displaySecretKey?: true secretKey?: true baseURL?: true withDefaultModels?: true extraHeaders?: true projectId?: true } export type LlmApiKeysMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true provider?: true adapter?: true displaySecretKey?: true secretKey?: true baseURL?: true withDefaultModels?: true extraHeaders?: true projectId?: true } export type LlmApiKeysCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true provider?: true adapter?: true displaySecretKey?: true secretKey?: true baseURL?: true customModels?: true withDefaultModels?: true extraHeaders?: true extraHeaderKeys?: true config?: true projectId?: true _all?: true } export type LlmApiKeysAggregateArgs = { /** * Filter which LlmApiKeys to aggregate. */ where?: LlmApiKeysWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LlmApiKeys to fetch. */ orderBy?: LlmApiKeysOrderByWithRelationInput | LlmApiKeysOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: LlmApiKeysWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LlmApiKeys 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` LlmApiKeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned LlmApiKeys **/ _count?: true | LlmApiKeysCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: LlmApiKeysMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: LlmApiKeysMaxAggregateInputType } export type GetLlmApiKeysAggregateType = { [P in keyof T & keyof AggregateLlmApiKeys]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type LlmApiKeysGroupByArgs = { where?: LlmApiKeysWhereInput orderBy?: LlmApiKeysOrderByWithAggregationInput | LlmApiKeysOrderByWithAggregationInput[] by: LlmApiKeysScalarFieldEnum[] | LlmApiKeysScalarFieldEnum having?: LlmApiKeysScalarWhereWithAggregatesInput take?: number skip?: number _count?: LlmApiKeysCountAggregateInputType | true _min?: LlmApiKeysMinAggregateInputType _max?: LlmApiKeysMaxAggregateInputType } export type LlmApiKeysGroupByOutputType = { id: string createdAt: Date updatedAt: Date provider: string adapter: string displaySecretKey: string secretKey: string baseURL: string | null customModels: string[] withDefaultModels: boolean extraHeaders: string | null extraHeaderKeys: string[] config: JsonValue | null projectId: string _count: LlmApiKeysCountAggregateOutputType | null _min: LlmApiKeysMinAggregateOutputType | null _max: LlmApiKeysMaxAggregateOutputType | null } type GetLlmApiKeysGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof LlmApiKeysGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type LlmApiKeysSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean provider?: boolean adapter?: boolean displaySecretKey?: boolean secretKey?: boolean baseURL?: boolean customModels?: boolean withDefaultModels?: boolean extraHeaders?: boolean extraHeaderKeys?: boolean config?: boolean projectId?: boolean project?: boolean | ProjectDefaultArgs DefaultLlmModel?: boolean | LlmApiKeys$DefaultLlmModelArgs _count?: boolean | LlmApiKeysCountOutputTypeDefaultArgs }, ExtArgs["result"]["llmApiKeys"]> export type LlmApiKeysSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean provider?: boolean adapter?: boolean displaySecretKey?: boolean secretKey?: boolean baseURL?: boolean customModels?: boolean withDefaultModels?: boolean extraHeaders?: boolean extraHeaderKeys?: boolean config?: boolean projectId?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["llmApiKeys"]> export type LlmApiKeysSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean provider?: boolean adapter?: boolean displaySecretKey?: boolean secretKey?: boolean baseURL?: boolean customModels?: boolean withDefaultModels?: boolean extraHeaders?: boolean extraHeaderKeys?: boolean config?: boolean projectId?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["llmApiKeys"]> export type LlmApiKeysSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean provider?: boolean adapter?: boolean displaySecretKey?: boolean secretKey?: boolean baseURL?: boolean customModels?: boolean withDefaultModels?: boolean extraHeaders?: boolean extraHeaderKeys?: boolean config?: boolean projectId?: boolean } export type LlmApiKeysOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "provider" | "adapter" | "displaySecretKey" | "secretKey" | "baseURL" | "customModels" | "withDefaultModels" | "extraHeaders" | "extraHeaderKeys" | "config" | "projectId", ExtArgs["result"]["llmApiKeys"]> export type LlmApiKeysInclude = { project?: boolean | ProjectDefaultArgs DefaultLlmModel?: boolean | LlmApiKeys$DefaultLlmModelArgs _count?: boolean | LlmApiKeysCountOutputTypeDefaultArgs } export type LlmApiKeysIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type LlmApiKeysIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $LlmApiKeysPayload = { name: "LlmApiKeys" objects: { project: Prisma.$ProjectPayload DefaultLlmModel: Prisma.$DefaultLlmModelPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date provider: string adapter: string displaySecretKey: string secretKey: string baseURL: string | null customModels: string[] withDefaultModels: boolean extraHeaders: string | null extraHeaderKeys: string[] config: Prisma.JsonValue | null projectId: string }, ExtArgs["result"]["llmApiKeys"]> composites: {} } type LlmApiKeysGetPayload = $Result.GetResult type LlmApiKeysCountArgs = Omit & { select?: LlmApiKeysCountAggregateInputType | true } export interface LlmApiKeysDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['LlmApiKeys'], meta: { name: 'LlmApiKeys' } } /** * Find zero or one LlmApiKeys that matches the filter. * @param {LlmApiKeysFindUniqueArgs} args - Arguments to find a LlmApiKeys * @example * // Get one LlmApiKeys * const llmApiKeys = await prisma.llmApiKeys.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__LlmApiKeysClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one LlmApiKeys that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {LlmApiKeysFindUniqueOrThrowArgs} args - Arguments to find a LlmApiKeys * @example * // Get one LlmApiKeys * const llmApiKeys = await prisma.llmApiKeys.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__LlmApiKeysClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first LlmApiKeys 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 {LlmApiKeysFindFirstArgs} args - Arguments to find a LlmApiKeys * @example * // Get one LlmApiKeys * const llmApiKeys = await prisma.llmApiKeys.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__LlmApiKeysClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first LlmApiKeys 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 {LlmApiKeysFindFirstOrThrowArgs} args - Arguments to find a LlmApiKeys * @example * // Get one LlmApiKeys * const llmApiKeys = await prisma.llmApiKeys.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__LlmApiKeysClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more LlmApiKeys 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 {LlmApiKeysFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all LlmApiKeys * const llmApiKeys = await prisma.llmApiKeys.findMany() * * // Get first 10 LlmApiKeys * const llmApiKeys = await prisma.llmApiKeys.findMany({ take: 10 }) * * // Only select the `id` * const llmApiKeysWithIdOnly = await prisma.llmApiKeys.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a LlmApiKeys. * @param {LlmApiKeysCreateArgs} args - Arguments to create a LlmApiKeys. * @example * // Create one LlmApiKeys * const LlmApiKeys = await prisma.llmApiKeys.create({ * data: { * // ... data to create a LlmApiKeys * } * }) * */ create(args: SelectSubset>): Prisma__LlmApiKeysClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many LlmApiKeys. * @param {LlmApiKeysCreateManyArgs} args - Arguments to create many LlmApiKeys. * @example * // Create many LlmApiKeys * const llmApiKeys = await prisma.llmApiKeys.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many LlmApiKeys and returns the data saved in the database. * @param {LlmApiKeysCreateManyAndReturnArgs} args - Arguments to create many LlmApiKeys. * @example * // Create many LlmApiKeys * const llmApiKeys = await prisma.llmApiKeys.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many LlmApiKeys and only return the `id` * const llmApiKeysWithIdOnly = await prisma.llmApiKeys.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 LlmApiKeys. * @param {LlmApiKeysDeleteArgs} args - Arguments to delete one LlmApiKeys. * @example * // Delete one LlmApiKeys * const LlmApiKeys = await prisma.llmApiKeys.delete({ * where: { * // ... filter to delete one LlmApiKeys * } * }) * */ delete(args: SelectSubset>): Prisma__LlmApiKeysClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one LlmApiKeys. * @param {LlmApiKeysUpdateArgs} args - Arguments to update one LlmApiKeys. * @example * // Update one LlmApiKeys * const llmApiKeys = await prisma.llmApiKeys.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__LlmApiKeysClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more LlmApiKeys. * @param {LlmApiKeysDeleteManyArgs} args - Arguments to filter LlmApiKeys to delete. * @example * // Delete a few LlmApiKeys * const { count } = await prisma.llmApiKeys.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more LlmApiKeys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LlmApiKeysUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many LlmApiKeys * const llmApiKeys = await prisma.llmApiKeys.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more LlmApiKeys and returns the data updated in the database. * @param {LlmApiKeysUpdateManyAndReturnArgs} args - Arguments to update many LlmApiKeys. * @example * // Update many LlmApiKeys * const llmApiKeys = await prisma.llmApiKeys.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more LlmApiKeys and only return the `id` * const llmApiKeysWithIdOnly = await prisma.llmApiKeys.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 LlmApiKeys. * @param {LlmApiKeysUpsertArgs} args - Arguments to update or create a LlmApiKeys. * @example * // Update or create a LlmApiKeys * const llmApiKeys = await prisma.llmApiKeys.upsert({ * create: { * // ... data to create a LlmApiKeys * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the LlmApiKeys we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__LlmApiKeysClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of LlmApiKeys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LlmApiKeysCountArgs} args - Arguments to filter LlmApiKeys to count. * @example * // Count the number of LlmApiKeys * const count = await prisma.llmApiKeys.count({ * where: { * // ... the filter for the LlmApiKeys 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 LlmApiKeys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LlmApiKeysAggregateArgs} 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 LlmApiKeys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LlmApiKeysGroupByArgs} 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 LlmApiKeysGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: LlmApiKeysGroupByArgs['orderBy'] } : { orderBy?: LlmApiKeysGroupByArgs['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 ? GetLlmApiKeysGroupByPayload : Prisma.PrismaPromise /** * Fields of the LlmApiKeys model */ readonly fields: LlmApiKeysFieldRefs; } /** * The delegate class that acts as a "Promise-like" for LlmApiKeys. * 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__LlmApiKeysClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> DefaultLlmModel = {}>(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 LlmApiKeys model */ interface LlmApiKeysFieldRefs { readonly id: FieldRef<"LlmApiKeys", 'String'> readonly createdAt: FieldRef<"LlmApiKeys", 'DateTime'> readonly updatedAt: FieldRef<"LlmApiKeys", 'DateTime'> readonly provider: FieldRef<"LlmApiKeys", 'String'> readonly adapter: FieldRef<"LlmApiKeys", 'String'> readonly displaySecretKey: FieldRef<"LlmApiKeys", 'String'> readonly secretKey: FieldRef<"LlmApiKeys", 'String'> readonly baseURL: FieldRef<"LlmApiKeys", 'String'> readonly customModels: FieldRef<"LlmApiKeys", 'String[]'> readonly withDefaultModels: FieldRef<"LlmApiKeys", 'Boolean'> readonly extraHeaders: FieldRef<"LlmApiKeys", 'String'> readonly extraHeaderKeys: FieldRef<"LlmApiKeys", 'String[]'> readonly config: FieldRef<"LlmApiKeys", 'Json'> readonly projectId: FieldRef<"LlmApiKeys", 'String'> } // Custom InputTypes /** * LlmApiKeys findUnique */ export type LlmApiKeysFindUniqueArgs = { /** * Select specific fields to fetch from the LlmApiKeys */ select?: LlmApiKeysSelect | null /** * Omit specific fields from the LlmApiKeys */ omit?: LlmApiKeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmApiKeysInclude | null /** * Filter, which LlmApiKeys to fetch. */ where: LlmApiKeysWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LlmApiKeys findUniqueOrThrow */ export type LlmApiKeysFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the LlmApiKeys */ select?: LlmApiKeysSelect | null /** * Omit specific fields from the LlmApiKeys */ omit?: LlmApiKeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmApiKeysInclude | null /** * Filter, which LlmApiKeys to fetch. */ where: LlmApiKeysWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LlmApiKeys findFirst */ export type LlmApiKeysFindFirstArgs = { /** * Select specific fields to fetch from the LlmApiKeys */ select?: LlmApiKeysSelect | null /** * Omit specific fields from the LlmApiKeys */ omit?: LlmApiKeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmApiKeysInclude | null /** * Filter, which LlmApiKeys to fetch. */ where?: LlmApiKeysWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LlmApiKeys to fetch. */ orderBy?: LlmApiKeysOrderByWithRelationInput | LlmApiKeysOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for LlmApiKeys. */ cursor?: LlmApiKeysWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LlmApiKeys 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` LlmApiKeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of LlmApiKeys. */ distinct?: LlmApiKeysScalarFieldEnum | LlmApiKeysScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LlmApiKeys findFirstOrThrow */ export type LlmApiKeysFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the LlmApiKeys */ select?: LlmApiKeysSelect | null /** * Omit specific fields from the LlmApiKeys */ omit?: LlmApiKeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmApiKeysInclude | null /** * Filter, which LlmApiKeys to fetch. */ where?: LlmApiKeysWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LlmApiKeys to fetch. */ orderBy?: LlmApiKeysOrderByWithRelationInput | LlmApiKeysOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for LlmApiKeys. */ cursor?: LlmApiKeysWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LlmApiKeys 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` LlmApiKeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of LlmApiKeys. */ distinct?: LlmApiKeysScalarFieldEnum | LlmApiKeysScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LlmApiKeys findMany */ export type LlmApiKeysFindManyArgs = { /** * Select specific fields to fetch from the LlmApiKeys */ select?: LlmApiKeysSelect | null /** * Omit specific fields from the LlmApiKeys */ omit?: LlmApiKeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmApiKeysInclude | null /** * Filter, which LlmApiKeys to fetch. */ where?: LlmApiKeysWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LlmApiKeys to fetch. */ orderBy?: LlmApiKeysOrderByWithRelationInput | LlmApiKeysOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing LlmApiKeys. */ cursor?: LlmApiKeysWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LlmApiKeys 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` LlmApiKeys. */ skip?: number distinct?: LlmApiKeysScalarFieldEnum | LlmApiKeysScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LlmApiKeys create */ export type LlmApiKeysCreateArgs = { /** * Select specific fields to fetch from the LlmApiKeys */ select?: LlmApiKeysSelect | null /** * Omit specific fields from the LlmApiKeys */ omit?: LlmApiKeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmApiKeysInclude | null /** * The data needed to create a LlmApiKeys. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * LlmApiKeys createMany */ export type LlmApiKeysCreateManyArgs = { /** * The data used to create many LlmApiKeys. */ data: LlmApiKeysCreateManyInput | LlmApiKeysCreateManyInput[] skipDuplicates?: boolean } /** * LlmApiKeys createManyAndReturn */ export type LlmApiKeysCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the LlmApiKeys */ select?: LlmApiKeysSelectCreateManyAndReturn | null /** * Omit specific fields from the LlmApiKeys */ omit?: LlmApiKeysOmit | null /** * The data used to create many LlmApiKeys. */ data: LlmApiKeysCreateManyInput | LlmApiKeysCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: LlmApiKeysIncludeCreateManyAndReturn | null } /** * LlmApiKeys update */ export type LlmApiKeysUpdateArgs = { /** * Select specific fields to fetch from the LlmApiKeys */ select?: LlmApiKeysSelect | null /** * Omit specific fields from the LlmApiKeys */ omit?: LlmApiKeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmApiKeysInclude | null /** * The data needed to update a LlmApiKeys. */ data: XOR /** * Choose, which LlmApiKeys to update. */ where: LlmApiKeysWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LlmApiKeys updateMany */ export type LlmApiKeysUpdateManyArgs = { /** * The data used to update LlmApiKeys. */ data: XOR /** * Filter which LlmApiKeys to update */ where?: LlmApiKeysWhereInput /** * Limit how many LlmApiKeys to update. */ limit?: number } /** * LlmApiKeys updateManyAndReturn */ export type LlmApiKeysUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the LlmApiKeys */ select?: LlmApiKeysSelectUpdateManyAndReturn | null /** * Omit specific fields from the LlmApiKeys */ omit?: LlmApiKeysOmit | null /** * The data used to update LlmApiKeys. */ data: XOR /** * Filter which LlmApiKeys to update */ where?: LlmApiKeysWhereInput /** * Limit how many LlmApiKeys to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: LlmApiKeysIncludeUpdateManyAndReturn | null } /** * LlmApiKeys upsert */ export type LlmApiKeysUpsertArgs = { /** * Select specific fields to fetch from the LlmApiKeys */ select?: LlmApiKeysSelect | null /** * Omit specific fields from the LlmApiKeys */ omit?: LlmApiKeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmApiKeysInclude | null /** * The filter to search for the LlmApiKeys to update in case it exists. */ where: LlmApiKeysWhereUniqueInput /** * In case the LlmApiKeys found by the `where` argument doesn't exist, create a new LlmApiKeys with this data. */ create: XOR /** * In case the LlmApiKeys was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * LlmApiKeys delete */ export type LlmApiKeysDeleteArgs = { /** * Select specific fields to fetch from the LlmApiKeys */ select?: LlmApiKeysSelect | null /** * Omit specific fields from the LlmApiKeys */ omit?: LlmApiKeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmApiKeysInclude | null /** * Filter which LlmApiKeys to delete. */ where: LlmApiKeysWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LlmApiKeys deleteMany */ export type LlmApiKeysDeleteManyArgs = { /** * Filter which LlmApiKeys to delete */ where?: LlmApiKeysWhereInput /** * Limit how many LlmApiKeys to delete. */ limit?: number } /** * LlmApiKeys.DefaultLlmModel */ export type LlmApiKeys$DefaultLlmModelArgs = { /** * Select specific fields to fetch from the DefaultLlmModel */ select?: DefaultLlmModelSelect | null /** * Omit specific fields from the DefaultLlmModel */ omit?: DefaultLlmModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: DefaultLlmModelInclude | null where?: DefaultLlmModelWhereInput orderBy?: DefaultLlmModelOrderByWithRelationInput | DefaultLlmModelOrderByWithRelationInput[] cursor?: DefaultLlmModelWhereUniqueInput take?: number skip?: number distinct?: DefaultLlmModelScalarFieldEnum | DefaultLlmModelScalarFieldEnum[] } /** * LlmApiKeys without action */ export type LlmApiKeysDefaultArgs = { /** * Select specific fields to fetch from the LlmApiKeys */ select?: LlmApiKeysSelect | null /** * Omit specific fields from the LlmApiKeys */ omit?: LlmApiKeysOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmApiKeysInclude | null } /** * Model OrganizationMembership */ export type AggregateOrganizationMembership = { _count: OrganizationMembershipCountAggregateOutputType | null _min: OrganizationMembershipMinAggregateOutputType | null _max: OrganizationMembershipMaxAggregateOutputType | null } export type OrganizationMembershipMinAggregateOutputType = { id: string | null orgId: string | null userId: string | null role: $Enums.Role | null createdAt: Date | null updatedAt: Date | null } export type OrganizationMembershipMaxAggregateOutputType = { id: string | null orgId: string | null userId: string | null role: $Enums.Role | null createdAt: Date | null updatedAt: Date | null } export type OrganizationMembershipCountAggregateOutputType = { id: number orgId: number userId: number role: number createdAt: number updatedAt: number _all: number } export type OrganizationMembershipMinAggregateInputType = { id?: true orgId?: true userId?: true role?: true createdAt?: true updatedAt?: true } export type OrganizationMembershipMaxAggregateInputType = { id?: true orgId?: true userId?: true role?: true createdAt?: true updatedAt?: true } export type OrganizationMembershipCountAggregateInputType = { id?: true orgId?: true userId?: true role?: true createdAt?: true updatedAt?: true _all?: true } export type OrganizationMembershipAggregateArgs = { /** * Filter which OrganizationMembership to aggregate. */ where?: OrganizationMembershipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of OrganizationMemberships to fetch. */ orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: OrganizationMembershipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` OrganizationMemberships 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` OrganizationMemberships. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned OrganizationMemberships **/ _count?: true | OrganizationMembershipCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: OrganizationMembershipMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: OrganizationMembershipMaxAggregateInputType } export type GetOrganizationMembershipAggregateType = { [P in keyof T & keyof AggregateOrganizationMembership]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type OrganizationMembershipGroupByArgs = { where?: OrganizationMembershipWhereInput orderBy?: OrganizationMembershipOrderByWithAggregationInput | OrganizationMembershipOrderByWithAggregationInput[] by: OrganizationMembershipScalarFieldEnum[] | OrganizationMembershipScalarFieldEnum having?: OrganizationMembershipScalarWhereWithAggregatesInput take?: number skip?: number _count?: OrganizationMembershipCountAggregateInputType | true _min?: OrganizationMembershipMinAggregateInputType _max?: OrganizationMembershipMaxAggregateInputType } export type OrganizationMembershipGroupByOutputType = { id: string orgId: string userId: string role: $Enums.Role createdAt: Date updatedAt: Date _count: OrganizationMembershipCountAggregateOutputType | null _min: OrganizationMembershipMinAggregateOutputType | null _max: OrganizationMembershipMaxAggregateOutputType | null } type GetOrganizationMembershipGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof OrganizationMembershipGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type OrganizationMembershipSelect = $Extensions.GetSelect<{ id?: boolean orgId?: boolean userId?: boolean role?: boolean createdAt?: boolean updatedAt?: boolean organization?: boolean | OrganizationDefaultArgs user?: boolean | UserDefaultArgs ProjectMemberships?: boolean | OrganizationMembership$ProjectMembershipsArgs _count?: boolean | OrganizationMembershipCountOutputTypeDefaultArgs }, ExtArgs["result"]["organizationMembership"]> export type OrganizationMembershipSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean orgId?: boolean userId?: boolean role?: boolean createdAt?: boolean updatedAt?: boolean organization?: boolean | OrganizationDefaultArgs user?: boolean | UserDefaultArgs }, ExtArgs["result"]["organizationMembership"]> export type OrganizationMembershipSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean orgId?: boolean userId?: boolean role?: boolean createdAt?: boolean updatedAt?: boolean organization?: boolean | OrganizationDefaultArgs user?: boolean | UserDefaultArgs }, ExtArgs["result"]["organizationMembership"]> export type OrganizationMembershipSelectScalar = { id?: boolean orgId?: boolean userId?: boolean role?: boolean createdAt?: boolean updatedAt?: boolean } export type OrganizationMembershipOmit = $Extensions.GetOmit<"id" | "orgId" | "userId" | "role" | "createdAt" | "updatedAt", ExtArgs["result"]["organizationMembership"]> export type OrganizationMembershipInclude = { organization?: boolean | OrganizationDefaultArgs user?: boolean | UserDefaultArgs ProjectMemberships?: boolean | OrganizationMembership$ProjectMembershipsArgs _count?: boolean | OrganizationMembershipCountOutputTypeDefaultArgs } export type OrganizationMembershipIncludeCreateManyAndReturn = { organization?: boolean | OrganizationDefaultArgs user?: boolean | UserDefaultArgs } export type OrganizationMembershipIncludeUpdateManyAndReturn = { organization?: boolean | OrganizationDefaultArgs user?: boolean | UserDefaultArgs } export type $OrganizationMembershipPayload = { name: "OrganizationMembership" objects: { organization: Prisma.$OrganizationPayload user: Prisma.$UserPayload ProjectMemberships: Prisma.$ProjectMembershipPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string orgId: string userId: string role: $Enums.Role createdAt: Date updatedAt: Date }, ExtArgs["result"]["organizationMembership"]> composites: {} } type OrganizationMembershipGetPayload = $Result.GetResult type OrganizationMembershipCountArgs = Omit & { select?: OrganizationMembershipCountAggregateInputType | true } export interface OrganizationMembershipDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['OrganizationMembership'], meta: { name: 'OrganizationMembership' } } /** * Find zero or one OrganizationMembership that matches the filter. * @param {OrganizationMembershipFindUniqueArgs} args - Arguments to find a OrganizationMembership * @example * // Get one OrganizationMembership * const organizationMembership = await prisma.organizationMembership.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__OrganizationMembershipClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one OrganizationMembership that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {OrganizationMembershipFindUniqueOrThrowArgs} args - Arguments to find a OrganizationMembership * @example * // Get one OrganizationMembership * const organizationMembership = await prisma.organizationMembership.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__OrganizationMembershipClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first OrganizationMembership 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 {OrganizationMembershipFindFirstArgs} args - Arguments to find a OrganizationMembership * @example * // Get one OrganizationMembership * const organizationMembership = await prisma.organizationMembership.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__OrganizationMembershipClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first OrganizationMembership 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 {OrganizationMembershipFindFirstOrThrowArgs} args - Arguments to find a OrganizationMembership * @example * // Get one OrganizationMembership * const organizationMembership = await prisma.organizationMembership.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__OrganizationMembershipClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more OrganizationMemberships 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 {OrganizationMembershipFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all OrganizationMemberships * const organizationMemberships = await prisma.organizationMembership.findMany() * * // Get first 10 OrganizationMemberships * const organizationMemberships = await prisma.organizationMembership.findMany({ take: 10 }) * * // Only select the `id` * const organizationMembershipWithIdOnly = await prisma.organizationMembership.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a OrganizationMembership. * @param {OrganizationMembershipCreateArgs} args - Arguments to create a OrganizationMembership. * @example * // Create one OrganizationMembership * const OrganizationMembership = await prisma.organizationMembership.create({ * data: { * // ... data to create a OrganizationMembership * } * }) * */ create(args: SelectSubset>): Prisma__OrganizationMembershipClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many OrganizationMemberships. * @param {OrganizationMembershipCreateManyArgs} args - Arguments to create many OrganizationMemberships. * @example * // Create many OrganizationMemberships * const organizationMembership = await prisma.organizationMembership.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many OrganizationMemberships and returns the data saved in the database. * @param {OrganizationMembershipCreateManyAndReturnArgs} args - Arguments to create many OrganizationMemberships. * @example * // Create many OrganizationMemberships * const organizationMembership = await prisma.organizationMembership.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many OrganizationMemberships and only return the `id` * const organizationMembershipWithIdOnly = await prisma.organizationMembership.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 OrganizationMembership. * @param {OrganizationMembershipDeleteArgs} args - Arguments to delete one OrganizationMembership. * @example * // Delete one OrganizationMembership * const OrganizationMembership = await prisma.organizationMembership.delete({ * where: { * // ... filter to delete one OrganizationMembership * } * }) * */ delete(args: SelectSubset>): Prisma__OrganizationMembershipClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one OrganizationMembership. * @param {OrganizationMembershipUpdateArgs} args - Arguments to update one OrganizationMembership. * @example * // Update one OrganizationMembership * const organizationMembership = await prisma.organizationMembership.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__OrganizationMembershipClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more OrganizationMemberships. * @param {OrganizationMembershipDeleteManyArgs} args - Arguments to filter OrganizationMemberships to delete. * @example * // Delete a few OrganizationMemberships * const { count } = await prisma.organizationMembership.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more OrganizationMemberships. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationMembershipUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many OrganizationMemberships * const organizationMembership = await prisma.organizationMembership.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more OrganizationMemberships and returns the data updated in the database. * @param {OrganizationMembershipUpdateManyAndReturnArgs} args - Arguments to update many OrganizationMemberships. * @example * // Update many OrganizationMemberships * const organizationMembership = await prisma.organizationMembership.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more OrganizationMemberships and only return the `id` * const organizationMembershipWithIdOnly = await prisma.organizationMembership.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 OrganizationMembership. * @param {OrganizationMembershipUpsertArgs} args - Arguments to update or create a OrganizationMembership. * @example * // Update or create a OrganizationMembership * const organizationMembership = await prisma.organizationMembership.upsert({ * create: { * // ... data to create a OrganizationMembership * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the OrganizationMembership we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__OrganizationMembershipClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of OrganizationMemberships. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationMembershipCountArgs} args - Arguments to filter OrganizationMemberships to count. * @example * // Count the number of OrganizationMemberships * const count = await prisma.organizationMembership.count({ * where: { * // ... the filter for the OrganizationMemberships 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 OrganizationMembership. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationMembershipAggregateArgs} 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 OrganizationMembership. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationMembershipGroupByArgs} 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 OrganizationMembershipGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: OrganizationMembershipGroupByArgs['orderBy'] } : { orderBy?: OrganizationMembershipGroupByArgs['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 ? GetOrganizationMembershipGroupByPayload : Prisma.PrismaPromise /** * Fields of the OrganizationMembership model */ readonly fields: OrganizationMembershipFieldRefs; } /** * The delegate class that acts as a "Promise-like" for OrganizationMembership. * 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__OrganizationMembershipClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" organization = {}>(args?: Subset>): Prisma__OrganizationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> ProjectMemberships = {}>(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 OrganizationMembership model */ interface OrganizationMembershipFieldRefs { readonly id: FieldRef<"OrganizationMembership", 'String'> readonly orgId: FieldRef<"OrganizationMembership", 'String'> readonly userId: FieldRef<"OrganizationMembership", 'String'> readonly role: FieldRef<"OrganizationMembership", 'Role'> readonly createdAt: FieldRef<"OrganizationMembership", 'DateTime'> readonly updatedAt: FieldRef<"OrganizationMembership", 'DateTime'> } // Custom InputTypes /** * OrganizationMembership findUnique */ export type OrganizationMembershipFindUniqueArgs = { /** * Select specific fields to fetch from the OrganizationMembership */ select?: OrganizationMembershipSelect | null /** * Omit specific fields from the OrganizationMembership */ omit?: OrganizationMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationMembershipInclude | null /** * Filter, which OrganizationMembership to fetch. */ where: OrganizationMembershipWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * OrganizationMembership findUniqueOrThrow */ export type OrganizationMembershipFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the OrganizationMembership */ select?: OrganizationMembershipSelect | null /** * Omit specific fields from the OrganizationMembership */ omit?: OrganizationMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationMembershipInclude | null /** * Filter, which OrganizationMembership to fetch. */ where: OrganizationMembershipWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * OrganizationMembership findFirst */ export type OrganizationMembershipFindFirstArgs = { /** * Select specific fields to fetch from the OrganizationMembership */ select?: OrganizationMembershipSelect | null /** * Omit specific fields from the OrganizationMembership */ omit?: OrganizationMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationMembershipInclude | null /** * Filter, which OrganizationMembership to fetch. */ where?: OrganizationMembershipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of OrganizationMemberships to fetch. */ orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for OrganizationMemberships. */ cursor?: OrganizationMembershipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` OrganizationMemberships 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` OrganizationMemberships. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of OrganizationMemberships. */ distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * OrganizationMembership findFirstOrThrow */ export type OrganizationMembershipFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the OrganizationMembership */ select?: OrganizationMembershipSelect | null /** * Omit specific fields from the OrganizationMembership */ omit?: OrganizationMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationMembershipInclude | null /** * Filter, which OrganizationMembership to fetch. */ where?: OrganizationMembershipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of OrganizationMemberships to fetch. */ orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for OrganizationMemberships. */ cursor?: OrganizationMembershipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` OrganizationMemberships 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` OrganizationMemberships. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of OrganizationMemberships. */ distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * OrganizationMembership findMany */ export type OrganizationMembershipFindManyArgs = { /** * Select specific fields to fetch from the OrganizationMembership */ select?: OrganizationMembershipSelect | null /** * Omit specific fields from the OrganizationMembership */ omit?: OrganizationMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationMembershipInclude | null /** * Filter, which OrganizationMemberships to fetch. */ where?: OrganizationMembershipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of OrganizationMemberships to fetch. */ orderBy?: OrganizationMembershipOrderByWithRelationInput | OrganizationMembershipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing OrganizationMemberships. */ cursor?: OrganizationMembershipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` OrganizationMemberships 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` OrganizationMemberships. */ skip?: number distinct?: OrganizationMembershipScalarFieldEnum | OrganizationMembershipScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * OrganizationMembership create */ export type OrganizationMembershipCreateArgs = { /** * Select specific fields to fetch from the OrganizationMembership */ select?: OrganizationMembershipSelect | null /** * Omit specific fields from the OrganizationMembership */ omit?: OrganizationMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationMembershipInclude | null /** * The data needed to create a OrganizationMembership. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * OrganizationMembership createMany */ export type OrganizationMembershipCreateManyArgs = { /** * The data used to create many OrganizationMemberships. */ data: OrganizationMembershipCreateManyInput | OrganizationMembershipCreateManyInput[] skipDuplicates?: boolean } /** * OrganizationMembership createManyAndReturn */ export type OrganizationMembershipCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the OrganizationMembership */ select?: OrganizationMembershipSelectCreateManyAndReturn | null /** * Omit specific fields from the OrganizationMembership */ omit?: OrganizationMembershipOmit | null /** * The data used to create many OrganizationMemberships. */ data: OrganizationMembershipCreateManyInput | OrganizationMembershipCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: OrganizationMembershipIncludeCreateManyAndReturn | null } /** * OrganizationMembership update */ export type OrganizationMembershipUpdateArgs = { /** * Select specific fields to fetch from the OrganizationMembership */ select?: OrganizationMembershipSelect | null /** * Omit specific fields from the OrganizationMembership */ omit?: OrganizationMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationMembershipInclude | null /** * The data needed to update a OrganizationMembership. */ data: XOR /** * Choose, which OrganizationMembership to update. */ where: OrganizationMembershipWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * OrganizationMembership updateMany */ export type OrganizationMembershipUpdateManyArgs = { /** * The data used to update OrganizationMemberships. */ data: XOR /** * Filter which OrganizationMemberships to update */ where?: OrganizationMembershipWhereInput /** * Limit how many OrganizationMemberships to update. */ limit?: number } /** * OrganizationMembership updateManyAndReturn */ export type OrganizationMembershipUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the OrganizationMembership */ select?: OrganizationMembershipSelectUpdateManyAndReturn | null /** * Omit specific fields from the OrganizationMembership */ omit?: OrganizationMembershipOmit | null /** * The data used to update OrganizationMemberships. */ data: XOR /** * Filter which OrganizationMemberships to update */ where?: OrganizationMembershipWhereInput /** * Limit how many OrganizationMemberships to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: OrganizationMembershipIncludeUpdateManyAndReturn | null } /** * OrganizationMembership upsert */ export type OrganizationMembershipUpsertArgs = { /** * Select specific fields to fetch from the OrganizationMembership */ select?: OrganizationMembershipSelect | null /** * Omit specific fields from the OrganizationMembership */ omit?: OrganizationMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationMembershipInclude | null /** * The filter to search for the OrganizationMembership to update in case it exists. */ where: OrganizationMembershipWhereUniqueInput /** * In case the OrganizationMembership found by the `where` argument doesn't exist, create a new OrganizationMembership with this data. */ create: XOR /** * In case the OrganizationMembership was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * OrganizationMembership delete */ export type OrganizationMembershipDeleteArgs = { /** * Select specific fields to fetch from the OrganizationMembership */ select?: OrganizationMembershipSelect | null /** * Omit specific fields from the OrganizationMembership */ omit?: OrganizationMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationMembershipInclude | null /** * Filter which OrganizationMembership to delete. */ where: OrganizationMembershipWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * OrganizationMembership deleteMany */ export type OrganizationMembershipDeleteManyArgs = { /** * Filter which OrganizationMemberships to delete */ where?: OrganizationMembershipWhereInput /** * Limit how many OrganizationMemberships to delete. */ limit?: number } /** * OrganizationMembership.ProjectMemberships */ export type OrganizationMembership$ProjectMembershipsArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelect | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipInclude | null where?: ProjectMembershipWhereInput orderBy?: ProjectMembershipOrderByWithRelationInput | ProjectMembershipOrderByWithRelationInput[] cursor?: ProjectMembershipWhereUniqueInput take?: number skip?: number distinct?: ProjectMembershipScalarFieldEnum | ProjectMembershipScalarFieldEnum[] } /** * OrganizationMembership without action */ export type OrganizationMembershipDefaultArgs = { /** * Select specific fields to fetch from the OrganizationMembership */ select?: OrganizationMembershipSelect | null /** * Omit specific fields from the OrganizationMembership */ omit?: OrganizationMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationMembershipInclude | null } /** * Model ProjectMembership */ export type AggregateProjectMembership = { _count: ProjectMembershipCountAggregateOutputType | null _min: ProjectMembershipMinAggregateOutputType | null _max: ProjectMembershipMaxAggregateOutputType | null } export type ProjectMembershipMinAggregateOutputType = { orgMembershipId: string | null projectId: string | null userId: string | null role: $Enums.Role | null createdAt: Date | null updatedAt: Date | null } export type ProjectMembershipMaxAggregateOutputType = { orgMembershipId: string | null projectId: string | null userId: string | null role: $Enums.Role | null createdAt: Date | null updatedAt: Date | null } export type ProjectMembershipCountAggregateOutputType = { orgMembershipId: number projectId: number userId: number role: number createdAt: number updatedAt: number _all: number } export type ProjectMembershipMinAggregateInputType = { orgMembershipId?: true projectId?: true userId?: true role?: true createdAt?: true updatedAt?: true } export type ProjectMembershipMaxAggregateInputType = { orgMembershipId?: true projectId?: true userId?: true role?: true createdAt?: true updatedAt?: true } export type ProjectMembershipCountAggregateInputType = { orgMembershipId?: true projectId?: true userId?: true role?: true createdAt?: true updatedAt?: true _all?: true } export type ProjectMembershipAggregateArgs = { /** * Filter which ProjectMembership to aggregate. */ where?: ProjectMembershipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ProjectMemberships to fetch. */ orderBy?: ProjectMembershipOrderByWithRelationInput | ProjectMembershipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ProjectMembershipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ProjectMemberships 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` ProjectMemberships. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ProjectMemberships **/ _count?: true | ProjectMembershipCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ProjectMembershipMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ProjectMembershipMaxAggregateInputType } export type GetProjectMembershipAggregateType = { [P in keyof T & keyof AggregateProjectMembership]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ProjectMembershipGroupByArgs = { where?: ProjectMembershipWhereInput orderBy?: ProjectMembershipOrderByWithAggregationInput | ProjectMembershipOrderByWithAggregationInput[] by: ProjectMembershipScalarFieldEnum[] | ProjectMembershipScalarFieldEnum having?: ProjectMembershipScalarWhereWithAggregatesInput take?: number skip?: number _count?: ProjectMembershipCountAggregateInputType | true _min?: ProjectMembershipMinAggregateInputType _max?: ProjectMembershipMaxAggregateInputType } export type ProjectMembershipGroupByOutputType = { orgMembershipId: string projectId: string userId: string role: $Enums.Role createdAt: Date updatedAt: Date _count: ProjectMembershipCountAggregateOutputType | null _min: ProjectMembershipMinAggregateOutputType | null _max: ProjectMembershipMaxAggregateOutputType | null } type GetProjectMembershipGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ProjectMembershipGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ProjectMembershipSelect = $Extensions.GetSelect<{ orgMembershipId?: boolean projectId?: boolean userId?: boolean role?: boolean createdAt?: boolean updatedAt?: boolean organizationMembership?: boolean | OrganizationMembershipDefaultArgs project?: boolean | ProjectDefaultArgs user?: boolean | UserDefaultArgs }, ExtArgs["result"]["projectMembership"]> export type ProjectMembershipSelectCreateManyAndReturn = $Extensions.GetSelect<{ orgMembershipId?: boolean projectId?: boolean userId?: boolean role?: boolean createdAt?: boolean updatedAt?: boolean organizationMembership?: boolean | OrganizationMembershipDefaultArgs project?: boolean | ProjectDefaultArgs user?: boolean | UserDefaultArgs }, ExtArgs["result"]["projectMembership"]> export type ProjectMembershipSelectUpdateManyAndReturn = $Extensions.GetSelect<{ orgMembershipId?: boolean projectId?: boolean userId?: boolean role?: boolean createdAt?: boolean updatedAt?: boolean organizationMembership?: boolean | OrganizationMembershipDefaultArgs project?: boolean | ProjectDefaultArgs user?: boolean | UserDefaultArgs }, ExtArgs["result"]["projectMembership"]> export type ProjectMembershipSelectScalar = { orgMembershipId?: boolean projectId?: boolean userId?: boolean role?: boolean createdAt?: boolean updatedAt?: boolean } export type ProjectMembershipOmit = $Extensions.GetOmit<"orgMembershipId" | "projectId" | "userId" | "role" | "createdAt" | "updatedAt", ExtArgs["result"]["projectMembership"]> export type ProjectMembershipInclude = { organizationMembership?: boolean | OrganizationMembershipDefaultArgs project?: boolean | ProjectDefaultArgs user?: boolean | UserDefaultArgs } export type ProjectMembershipIncludeCreateManyAndReturn = { organizationMembership?: boolean | OrganizationMembershipDefaultArgs project?: boolean | ProjectDefaultArgs user?: boolean | UserDefaultArgs } export type ProjectMembershipIncludeUpdateManyAndReturn = { organizationMembership?: boolean | OrganizationMembershipDefaultArgs project?: boolean | ProjectDefaultArgs user?: boolean | UserDefaultArgs } export type $ProjectMembershipPayload = { name: "ProjectMembership" objects: { organizationMembership: Prisma.$OrganizationMembershipPayload project: Prisma.$ProjectPayload user: Prisma.$UserPayload } scalars: $Extensions.GetPayloadResult<{ orgMembershipId: string projectId: string userId: string role: $Enums.Role createdAt: Date updatedAt: Date }, ExtArgs["result"]["projectMembership"]> composites: {} } type ProjectMembershipGetPayload = $Result.GetResult type ProjectMembershipCountArgs = Omit & { select?: ProjectMembershipCountAggregateInputType | true } export interface ProjectMembershipDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ProjectMembership'], meta: { name: 'ProjectMembership' } } /** * Find zero or one ProjectMembership that matches the filter. * @param {ProjectMembershipFindUniqueArgs} args - Arguments to find a ProjectMembership * @example * // Get one ProjectMembership * const projectMembership = await prisma.projectMembership.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ProjectMembershipClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ProjectMembership that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ProjectMembershipFindUniqueOrThrowArgs} args - Arguments to find a ProjectMembership * @example * // Get one ProjectMembership * const projectMembership = await prisma.projectMembership.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ProjectMembershipClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ProjectMembership 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 {ProjectMembershipFindFirstArgs} args - Arguments to find a ProjectMembership * @example * // Get one ProjectMembership * const projectMembership = await prisma.projectMembership.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ProjectMembershipClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ProjectMembership 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 {ProjectMembershipFindFirstOrThrowArgs} args - Arguments to find a ProjectMembership * @example * // Get one ProjectMembership * const projectMembership = await prisma.projectMembership.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ProjectMembershipClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ProjectMemberships 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 {ProjectMembershipFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ProjectMemberships * const projectMemberships = await prisma.projectMembership.findMany() * * // Get first 10 ProjectMemberships * const projectMemberships = await prisma.projectMembership.findMany({ take: 10 }) * * // Only select the `orgMembershipId` * const projectMembershipWithOrgMembershipIdOnly = await prisma.projectMembership.findMany({ select: { orgMembershipId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a ProjectMembership. * @param {ProjectMembershipCreateArgs} args - Arguments to create a ProjectMembership. * @example * // Create one ProjectMembership * const ProjectMembership = await prisma.projectMembership.create({ * data: { * // ... data to create a ProjectMembership * } * }) * */ create(args: SelectSubset>): Prisma__ProjectMembershipClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ProjectMemberships. * @param {ProjectMembershipCreateManyArgs} args - Arguments to create many ProjectMemberships. * @example * // Create many ProjectMemberships * const projectMembership = await prisma.projectMembership.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many ProjectMemberships and returns the data saved in the database. * @param {ProjectMembershipCreateManyAndReturnArgs} args - Arguments to create many ProjectMemberships. * @example * // Create many ProjectMemberships * const projectMembership = await prisma.projectMembership.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ProjectMemberships and only return the `orgMembershipId` * const projectMembershipWithOrgMembershipIdOnly = await prisma.projectMembership.createManyAndReturn({ * select: { orgMembershipId: 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 ProjectMembership. * @param {ProjectMembershipDeleteArgs} args - Arguments to delete one ProjectMembership. * @example * // Delete one ProjectMembership * const ProjectMembership = await prisma.projectMembership.delete({ * where: { * // ... filter to delete one ProjectMembership * } * }) * */ delete(args: SelectSubset>): Prisma__ProjectMembershipClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ProjectMembership. * @param {ProjectMembershipUpdateArgs} args - Arguments to update one ProjectMembership. * @example * // Update one ProjectMembership * const projectMembership = await prisma.projectMembership.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ProjectMembershipClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ProjectMemberships. * @param {ProjectMembershipDeleteManyArgs} args - Arguments to filter ProjectMemberships to delete. * @example * // Delete a few ProjectMemberships * const { count } = await prisma.projectMembership.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ProjectMemberships. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectMembershipUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ProjectMemberships * const projectMembership = await prisma.projectMembership.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ProjectMemberships and returns the data updated in the database. * @param {ProjectMembershipUpdateManyAndReturnArgs} args - Arguments to update many ProjectMemberships. * @example * // Update many ProjectMemberships * const projectMembership = await prisma.projectMembership.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ProjectMemberships and only return the `orgMembershipId` * const projectMembershipWithOrgMembershipIdOnly = await prisma.projectMembership.updateManyAndReturn({ * select: { orgMembershipId: 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 ProjectMembership. * @param {ProjectMembershipUpsertArgs} args - Arguments to update or create a ProjectMembership. * @example * // Update or create a ProjectMembership * const projectMembership = await prisma.projectMembership.upsert({ * create: { * // ... data to create a ProjectMembership * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ProjectMembership we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ProjectMembershipClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ProjectMemberships. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectMembershipCountArgs} args - Arguments to filter ProjectMemberships to count. * @example * // Count the number of ProjectMemberships * const count = await prisma.projectMembership.count({ * where: { * // ... the filter for the ProjectMemberships 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 ProjectMembership. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectMembershipAggregateArgs} 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 ProjectMembership. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectMembershipGroupByArgs} 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 ProjectMembershipGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ProjectMembershipGroupByArgs['orderBy'] } : { orderBy?: ProjectMembershipGroupByArgs['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 ? GetProjectMembershipGroupByPayload : Prisma.PrismaPromise /** * Fields of the ProjectMembership model */ readonly fields: ProjectMembershipFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ProjectMembership. * 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__ProjectMembershipClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" organizationMembership = {}>(args?: Subset>): Prisma__OrganizationMembershipClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> project = {}>(args?: Subset>): Prisma__ProjectClient<$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 ProjectMembership model */ interface ProjectMembershipFieldRefs { readonly orgMembershipId: FieldRef<"ProjectMembership", 'String'> readonly projectId: FieldRef<"ProjectMembership", 'String'> readonly userId: FieldRef<"ProjectMembership", 'String'> readonly role: FieldRef<"ProjectMembership", 'Role'> readonly createdAt: FieldRef<"ProjectMembership", 'DateTime'> readonly updatedAt: FieldRef<"ProjectMembership", 'DateTime'> } // Custom InputTypes /** * ProjectMembership findUnique */ export type ProjectMembershipFindUniqueArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelect | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipInclude | null /** * Filter, which ProjectMembership to fetch. */ where: ProjectMembershipWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ProjectMembership findUniqueOrThrow */ export type ProjectMembershipFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelect | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipInclude | null /** * Filter, which ProjectMembership to fetch. */ where: ProjectMembershipWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ProjectMembership findFirst */ export type ProjectMembershipFindFirstArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelect | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipInclude | null /** * Filter, which ProjectMembership to fetch. */ where?: ProjectMembershipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ProjectMemberships to fetch. */ orderBy?: ProjectMembershipOrderByWithRelationInput | ProjectMembershipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ProjectMemberships. */ cursor?: ProjectMembershipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ProjectMemberships 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` ProjectMemberships. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ProjectMemberships. */ distinct?: ProjectMembershipScalarFieldEnum | ProjectMembershipScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * ProjectMembership findFirstOrThrow */ export type ProjectMembershipFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelect | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipInclude | null /** * Filter, which ProjectMembership to fetch. */ where?: ProjectMembershipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ProjectMemberships to fetch. */ orderBy?: ProjectMembershipOrderByWithRelationInput | ProjectMembershipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ProjectMemberships. */ cursor?: ProjectMembershipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ProjectMemberships 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` ProjectMemberships. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ProjectMemberships. */ distinct?: ProjectMembershipScalarFieldEnum | ProjectMembershipScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * ProjectMembership findMany */ export type ProjectMembershipFindManyArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelect | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipInclude | null /** * Filter, which ProjectMemberships to fetch. */ where?: ProjectMembershipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ProjectMemberships to fetch. */ orderBy?: ProjectMembershipOrderByWithRelationInput | ProjectMembershipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ProjectMemberships. */ cursor?: ProjectMembershipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ProjectMemberships 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` ProjectMemberships. */ skip?: number distinct?: ProjectMembershipScalarFieldEnum | ProjectMembershipScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * ProjectMembership create */ export type ProjectMembershipCreateArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelect | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipInclude | null /** * The data needed to create a ProjectMembership. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * ProjectMembership createMany */ export type ProjectMembershipCreateManyArgs = { /** * The data used to create many ProjectMemberships. */ data: ProjectMembershipCreateManyInput | ProjectMembershipCreateManyInput[] skipDuplicates?: boolean } /** * ProjectMembership createManyAndReturn */ export type ProjectMembershipCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelectCreateManyAndReturn | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * The data used to create many ProjectMemberships. */ data: ProjectMembershipCreateManyInput | ProjectMembershipCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipIncludeCreateManyAndReturn | null } /** * ProjectMembership update */ export type ProjectMembershipUpdateArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelect | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipInclude | null /** * The data needed to update a ProjectMembership. */ data: XOR /** * Choose, which ProjectMembership to update. */ where: ProjectMembershipWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ProjectMembership updateMany */ export type ProjectMembershipUpdateManyArgs = { /** * The data used to update ProjectMemberships. */ data: XOR /** * Filter which ProjectMemberships to update */ where?: ProjectMembershipWhereInput /** * Limit how many ProjectMemberships to update. */ limit?: number } /** * ProjectMembership updateManyAndReturn */ export type ProjectMembershipUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelectUpdateManyAndReturn | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * The data used to update ProjectMemberships. */ data: XOR /** * Filter which ProjectMemberships to update */ where?: ProjectMembershipWhereInput /** * Limit how many ProjectMemberships to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipIncludeUpdateManyAndReturn | null } /** * ProjectMembership upsert */ export type ProjectMembershipUpsertArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelect | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipInclude | null /** * The filter to search for the ProjectMembership to update in case it exists. */ where: ProjectMembershipWhereUniqueInput /** * In case the ProjectMembership found by the `where` argument doesn't exist, create a new ProjectMembership with this data. */ create: XOR /** * In case the ProjectMembership was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * ProjectMembership delete */ export type ProjectMembershipDeleteArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelect | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipInclude | null /** * Filter which ProjectMembership to delete. */ where: ProjectMembershipWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ProjectMembership deleteMany */ export type ProjectMembershipDeleteManyArgs = { /** * Filter which ProjectMemberships to delete */ where?: ProjectMembershipWhereInput /** * Limit how many ProjectMemberships to delete. */ limit?: number } /** * ProjectMembership without action */ export type ProjectMembershipDefaultArgs = { /** * Select specific fields to fetch from the ProjectMembership */ select?: ProjectMembershipSelect | null /** * Omit specific fields from the ProjectMembership */ omit?: ProjectMembershipOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectMembershipInclude | null } /** * Model MembershipInvitation */ export type AggregateMembershipInvitation = { _count: MembershipInvitationCountAggregateOutputType | null _min: MembershipInvitationMinAggregateOutputType | null _max: MembershipInvitationMaxAggregateOutputType | null } export type MembershipInvitationMinAggregateOutputType = { id: string | null email: string | null orgId: string | null orgRole: $Enums.Role | null projectId: string | null projectRole: $Enums.Role | null invitedByUserId: string | null createdAt: Date | null updatedAt: Date | null } export type MembershipInvitationMaxAggregateOutputType = { id: string | null email: string | null orgId: string | null orgRole: $Enums.Role | null projectId: string | null projectRole: $Enums.Role | null invitedByUserId: string | null createdAt: Date | null updatedAt: Date | null } export type MembershipInvitationCountAggregateOutputType = { id: number email: number orgId: number orgRole: number projectId: number projectRole: number invitedByUserId: number createdAt: number updatedAt: number _all: number } export type MembershipInvitationMinAggregateInputType = { id?: true email?: true orgId?: true orgRole?: true projectId?: true projectRole?: true invitedByUserId?: true createdAt?: true updatedAt?: true } export type MembershipInvitationMaxAggregateInputType = { id?: true email?: true orgId?: true orgRole?: true projectId?: true projectRole?: true invitedByUserId?: true createdAt?: true updatedAt?: true } export type MembershipInvitationCountAggregateInputType = { id?: true email?: true orgId?: true orgRole?: true projectId?: true projectRole?: true invitedByUserId?: true createdAt?: true updatedAt?: true _all?: true } export type MembershipInvitationAggregateArgs = { /** * Filter which MembershipInvitation to aggregate. */ where?: MembershipInvitationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MembershipInvitations to fetch. */ orderBy?: MembershipInvitationOrderByWithRelationInput | MembershipInvitationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: MembershipInvitationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MembershipInvitations 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` MembershipInvitations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned MembershipInvitations **/ _count?: true | MembershipInvitationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: MembershipInvitationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: MembershipInvitationMaxAggregateInputType } export type GetMembershipInvitationAggregateType = { [P in keyof T & keyof AggregateMembershipInvitation]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type MembershipInvitationGroupByArgs = { where?: MembershipInvitationWhereInput orderBy?: MembershipInvitationOrderByWithAggregationInput | MembershipInvitationOrderByWithAggregationInput[] by: MembershipInvitationScalarFieldEnum[] | MembershipInvitationScalarFieldEnum having?: MembershipInvitationScalarWhereWithAggregatesInput take?: number skip?: number _count?: MembershipInvitationCountAggregateInputType | true _min?: MembershipInvitationMinAggregateInputType _max?: MembershipInvitationMaxAggregateInputType } export type MembershipInvitationGroupByOutputType = { id: string email: string orgId: string orgRole: $Enums.Role projectId: string | null projectRole: $Enums.Role | null invitedByUserId: string | null createdAt: Date updatedAt: Date _count: MembershipInvitationCountAggregateOutputType | null _min: MembershipInvitationMinAggregateOutputType | null _max: MembershipInvitationMaxAggregateOutputType | null } type GetMembershipInvitationGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof MembershipInvitationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type MembershipInvitationSelect = $Extensions.GetSelect<{ id?: boolean email?: boolean orgId?: boolean orgRole?: boolean projectId?: boolean projectRole?: boolean invitedByUserId?: boolean createdAt?: boolean updatedAt?: boolean organization?: boolean | OrganizationDefaultArgs project?: boolean | MembershipInvitation$projectArgs invitedByUser?: boolean | MembershipInvitation$invitedByUserArgs }, ExtArgs["result"]["membershipInvitation"]> export type MembershipInvitationSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean email?: boolean orgId?: boolean orgRole?: boolean projectId?: boolean projectRole?: boolean invitedByUserId?: boolean createdAt?: boolean updatedAt?: boolean organization?: boolean | OrganizationDefaultArgs project?: boolean | MembershipInvitation$projectArgs invitedByUser?: boolean | MembershipInvitation$invitedByUserArgs }, ExtArgs["result"]["membershipInvitation"]> export type MembershipInvitationSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean email?: boolean orgId?: boolean orgRole?: boolean projectId?: boolean projectRole?: boolean invitedByUserId?: boolean createdAt?: boolean updatedAt?: boolean organization?: boolean | OrganizationDefaultArgs project?: boolean | MembershipInvitation$projectArgs invitedByUser?: boolean | MembershipInvitation$invitedByUserArgs }, ExtArgs["result"]["membershipInvitation"]> export type MembershipInvitationSelectScalar = { id?: boolean email?: boolean orgId?: boolean orgRole?: boolean projectId?: boolean projectRole?: boolean invitedByUserId?: boolean createdAt?: boolean updatedAt?: boolean } export type MembershipInvitationOmit = $Extensions.GetOmit<"id" | "email" | "orgId" | "orgRole" | "projectId" | "projectRole" | "invitedByUserId" | "createdAt" | "updatedAt", ExtArgs["result"]["membershipInvitation"]> export type MembershipInvitationInclude = { organization?: boolean | OrganizationDefaultArgs project?: boolean | MembershipInvitation$projectArgs invitedByUser?: boolean | MembershipInvitation$invitedByUserArgs } export type MembershipInvitationIncludeCreateManyAndReturn = { organization?: boolean | OrganizationDefaultArgs project?: boolean | MembershipInvitation$projectArgs invitedByUser?: boolean | MembershipInvitation$invitedByUserArgs } export type MembershipInvitationIncludeUpdateManyAndReturn = { organization?: boolean | OrganizationDefaultArgs project?: boolean | MembershipInvitation$projectArgs invitedByUser?: boolean | MembershipInvitation$invitedByUserArgs } export type $MembershipInvitationPayload = { name: "MembershipInvitation" objects: { organization: Prisma.$OrganizationPayload project: Prisma.$ProjectPayload | null invitedByUser: Prisma.$UserPayload | null } scalars: $Extensions.GetPayloadResult<{ id: string email: string orgId: string orgRole: $Enums.Role projectId: string | null projectRole: $Enums.Role | null invitedByUserId: string | null createdAt: Date updatedAt: Date }, ExtArgs["result"]["membershipInvitation"]> composites: {} } type MembershipInvitationGetPayload = $Result.GetResult type MembershipInvitationCountArgs = Omit & { select?: MembershipInvitationCountAggregateInputType | true } export interface MembershipInvitationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['MembershipInvitation'], meta: { name: 'MembershipInvitation' } } /** * Find zero or one MembershipInvitation that matches the filter. * @param {MembershipInvitationFindUniqueArgs} args - Arguments to find a MembershipInvitation * @example * // Get one MembershipInvitation * const membershipInvitation = await prisma.membershipInvitation.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__MembershipInvitationClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one MembershipInvitation that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {MembershipInvitationFindUniqueOrThrowArgs} args - Arguments to find a MembershipInvitation * @example * // Get one MembershipInvitation * const membershipInvitation = await prisma.membershipInvitation.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__MembershipInvitationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first MembershipInvitation 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 {MembershipInvitationFindFirstArgs} args - Arguments to find a MembershipInvitation * @example * // Get one MembershipInvitation * const membershipInvitation = await prisma.membershipInvitation.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__MembershipInvitationClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first MembershipInvitation 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 {MembershipInvitationFindFirstOrThrowArgs} args - Arguments to find a MembershipInvitation * @example * // Get one MembershipInvitation * const membershipInvitation = await prisma.membershipInvitation.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__MembershipInvitationClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more MembershipInvitations 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 {MembershipInvitationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all MembershipInvitations * const membershipInvitations = await prisma.membershipInvitation.findMany() * * // Get first 10 MembershipInvitations * const membershipInvitations = await prisma.membershipInvitation.findMany({ take: 10 }) * * // Only select the `id` * const membershipInvitationWithIdOnly = await prisma.membershipInvitation.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a MembershipInvitation. * @param {MembershipInvitationCreateArgs} args - Arguments to create a MembershipInvitation. * @example * // Create one MembershipInvitation * const MembershipInvitation = await prisma.membershipInvitation.create({ * data: { * // ... data to create a MembershipInvitation * } * }) * */ create(args: SelectSubset>): Prisma__MembershipInvitationClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many MembershipInvitations. * @param {MembershipInvitationCreateManyArgs} args - Arguments to create many MembershipInvitations. * @example * // Create many MembershipInvitations * const membershipInvitation = await prisma.membershipInvitation.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many MembershipInvitations and returns the data saved in the database. * @param {MembershipInvitationCreateManyAndReturnArgs} args - Arguments to create many MembershipInvitations. * @example * // Create many MembershipInvitations * const membershipInvitation = await prisma.membershipInvitation.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many MembershipInvitations and only return the `id` * const membershipInvitationWithIdOnly = await prisma.membershipInvitation.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 MembershipInvitation. * @param {MembershipInvitationDeleteArgs} args - Arguments to delete one MembershipInvitation. * @example * // Delete one MembershipInvitation * const MembershipInvitation = await prisma.membershipInvitation.delete({ * where: { * // ... filter to delete one MembershipInvitation * } * }) * */ delete(args: SelectSubset>): Prisma__MembershipInvitationClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one MembershipInvitation. * @param {MembershipInvitationUpdateArgs} args - Arguments to update one MembershipInvitation. * @example * // Update one MembershipInvitation * const membershipInvitation = await prisma.membershipInvitation.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__MembershipInvitationClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more MembershipInvitations. * @param {MembershipInvitationDeleteManyArgs} args - Arguments to filter MembershipInvitations to delete. * @example * // Delete a few MembershipInvitations * const { count } = await prisma.membershipInvitation.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more MembershipInvitations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MembershipInvitationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many MembershipInvitations * const membershipInvitation = await prisma.membershipInvitation.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more MembershipInvitations and returns the data updated in the database. * @param {MembershipInvitationUpdateManyAndReturnArgs} args - Arguments to update many MembershipInvitations. * @example * // Update many MembershipInvitations * const membershipInvitation = await prisma.membershipInvitation.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more MembershipInvitations and only return the `id` * const membershipInvitationWithIdOnly = await prisma.membershipInvitation.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 MembershipInvitation. * @param {MembershipInvitationUpsertArgs} args - Arguments to update or create a MembershipInvitation. * @example * // Update or create a MembershipInvitation * const membershipInvitation = await prisma.membershipInvitation.upsert({ * create: { * // ... data to create a MembershipInvitation * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the MembershipInvitation we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__MembershipInvitationClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of MembershipInvitations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MembershipInvitationCountArgs} args - Arguments to filter MembershipInvitations to count. * @example * // Count the number of MembershipInvitations * const count = await prisma.membershipInvitation.count({ * where: { * // ... the filter for the MembershipInvitations 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 MembershipInvitation. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MembershipInvitationAggregateArgs} 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 MembershipInvitation. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MembershipInvitationGroupByArgs} 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 MembershipInvitationGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: MembershipInvitationGroupByArgs['orderBy'] } : { orderBy?: MembershipInvitationGroupByArgs['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 ? GetMembershipInvitationGroupByPayload : Prisma.PrismaPromise /** * Fields of the MembershipInvitation model */ readonly fields: MembershipInvitationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for MembershipInvitation. * 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__MembershipInvitationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" organization = {}>(args?: Subset>): Prisma__OrganizationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> invitedByUser = {}>(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 MembershipInvitation model */ interface MembershipInvitationFieldRefs { readonly id: FieldRef<"MembershipInvitation", 'String'> readonly email: FieldRef<"MembershipInvitation", 'String'> readonly orgId: FieldRef<"MembershipInvitation", 'String'> readonly orgRole: FieldRef<"MembershipInvitation", 'Role'> readonly projectId: FieldRef<"MembershipInvitation", 'String'> readonly projectRole: FieldRef<"MembershipInvitation", 'Role'> readonly invitedByUserId: FieldRef<"MembershipInvitation", 'String'> readonly createdAt: FieldRef<"MembershipInvitation", 'DateTime'> readonly updatedAt: FieldRef<"MembershipInvitation", 'DateTime'> } // Custom InputTypes /** * MembershipInvitation findUnique */ export type MembershipInvitationFindUniqueArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelect | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationInclude | null /** * Filter, which MembershipInvitation to fetch. */ where: MembershipInvitationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * MembershipInvitation findUniqueOrThrow */ export type MembershipInvitationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelect | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationInclude | null /** * Filter, which MembershipInvitation to fetch. */ where: MembershipInvitationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * MembershipInvitation findFirst */ export type MembershipInvitationFindFirstArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelect | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationInclude | null /** * Filter, which MembershipInvitation to fetch. */ where?: MembershipInvitationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MembershipInvitations to fetch. */ orderBy?: MembershipInvitationOrderByWithRelationInput | MembershipInvitationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for MembershipInvitations. */ cursor?: MembershipInvitationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MembershipInvitations 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` MembershipInvitations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of MembershipInvitations. */ distinct?: MembershipInvitationScalarFieldEnum | MembershipInvitationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * MembershipInvitation findFirstOrThrow */ export type MembershipInvitationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelect | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationInclude | null /** * Filter, which MembershipInvitation to fetch. */ where?: MembershipInvitationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MembershipInvitations to fetch. */ orderBy?: MembershipInvitationOrderByWithRelationInput | MembershipInvitationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for MembershipInvitations. */ cursor?: MembershipInvitationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MembershipInvitations 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` MembershipInvitations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of MembershipInvitations. */ distinct?: MembershipInvitationScalarFieldEnum | MembershipInvitationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * MembershipInvitation findMany */ export type MembershipInvitationFindManyArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelect | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationInclude | null /** * Filter, which MembershipInvitations to fetch. */ where?: MembershipInvitationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MembershipInvitations to fetch. */ orderBy?: MembershipInvitationOrderByWithRelationInput | MembershipInvitationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing MembershipInvitations. */ cursor?: MembershipInvitationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MembershipInvitations 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` MembershipInvitations. */ skip?: number distinct?: MembershipInvitationScalarFieldEnum | MembershipInvitationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * MembershipInvitation create */ export type MembershipInvitationCreateArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelect | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationInclude | null /** * The data needed to create a MembershipInvitation. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * MembershipInvitation createMany */ export type MembershipInvitationCreateManyArgs = { /** * The data used to create many MembershipInvitations. */ data: MembershipInvitationCreateManyInput | MembershipInvitationCreateManyInput[] skipDuplicates?: boolean } /** * MembershipInvitation createManyAndReturn */ export type MembershipInvitationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelectCreateManyAndReturn | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * The data used to create many MembershipInvitations. */ data: MembershipInvitationCreateManyInput | MembershipInvitationCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationIncludeCreateManyAndReturn | null } /** * MembershipInvitation update */ export type MembershipInvitationUpdateArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelect | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationInclude | null /** * The data needed to update a MembershipInvitation. */ data: XOR /** * Choose, which MembershipInvitation to update. */ where: MembershipInvitationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * MembershipInvitation updateMany */ export type MembershipInvitationUpdateManyArgs = { /** * The data used to update MembershipInvitations. */ data: XOR /** * Filter which MembershipInvitations to update */ where?: MembershipInvitationWhereInput /** * Limit how many MembershipInvitations to update. */ limit?: number } /** * MembershipInvitation updateManyAndReturn */ export type MembershipInvitationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelectUpdateManyAndReturn | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * The data used to update MembershipInvitations. */ data: XOR /** * Filter which MembershipInvitations to update */ where?: MembershipInvitationWhereInput /** * Limit how many MembershipInvitations to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationIncludeUpdateManyAndReturn | null } /** * MembershipInvitation upsert */ export type MembershipInvitationUpsertArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelect | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationInclude | null /** * The filter to search for the MembershipInvitation to update in case it exists. */ where: MembershipInvitationWhereUniqueInput /** * In case the MembershipInvitation found by the `where` argument doesn't exist, create a new MembershipInvitation with this data. */ create: XOR /** * In case the MembershipInvitation was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * MembershipInvitation delete */ export type MembershipInvitationDeleteArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelect | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationInclude | null /** * Filter which MembershipInvitation to delete. */ where: MembershipInvitationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * MembershipInvitation deleteMany */ export type MembershipInvitationDeleteManyArgs = { /** * Filter which MembershipInvitations to delete */ where?: MembershipInvitationWhereInput /** * Limit how many MembershipInvitations to delete. */ limit?: number } /** * MembershipInvitation.project */ export type MembershipInvitation$projectArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null where?: ProjectWhereInput } /** * MembershipInvitation.invitedByUser */ export type MembershipInvitation$invitedByUserArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput } /** * MembershipInvitation without action */ export type MembershipInvitationDefaultArgs = { /** * Select specific fields to fetch from the MembershipInvitation */ select?: MembershipInvitationSelect | null /** * Omit specific fields from the MembershipInvitation */ omit?: MembershipInvitationOmit | null /** * Choose, which related nodes to fetch as well */ include?: MembershipInvitationInclude | null } /** * Model TraceSession */ export type AggregateTraceSession = { _count: TraceSessionCountAggregateOutputType | null _min: TraceSessionMinAggregateOutputType | null _max: TraceSessionMaxAggregateOutputType | null } export type TraceSessionMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null bookmarked: boolean | null public: boolean | null environment: string | null } export type TraceSessionMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null bookmarked: boolean | null public: boolean | null environment: string | null } export type TraceSessionCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number bookmarked: number public: number environment: number _all: number } export type TraceSessionMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true bookmarked?: true public?: true environment?: true } export type TraceSessionMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true bookmarked?: true public?: true environment?: true } export type TraceSessionCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true bookmarked?: true public?: true environment?: true _all?: true } export type TraceSessionAggregateArgs = { /** * Filter which TraceSession to aggregate. */ where?: TraceSessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TraceSessions to fetch. */ orderBy?: TraceSessionOrderByWithRelationInput | TraceSessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: TraceSessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TraceSessions 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` TraceSessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TraceSessions **/ _count?: true | TraceSessionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TraceSessionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TraceSessionMaxAggregateInputType } export type GetTraceSessionAggregateType = { [P in keyof T & keyof AggregateTraceSession]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type TraceSessionGroupByArgs = { where?: TraceSessionWhereInput orderBy?: TraceSessionOrderByWithAggregationInput | TraceSessionOrderByWithAggregationInput[] by: TraceSessionScalarFieldEnum[] | TraceSessionScalarFieldEnum having?: TraceSessionScalarWhereWithAggregatesInput take?: number skip?: number _count?: TraceSessionCountAggregateInputType | true _min?: TraceSessionMinAggregateInputType _max?: TraceSessionMaxAggregateInputType } export type TraceSessionGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string bookmarked: boolean public: boolean environment: string _count: TraceSessionCountAggregateOutputType | null _min: TraceSessionMinAggregateOutputType | null _max: TraceSessionMaxAggregateOutputType | null } type GetTraceSessionGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof TraceSessionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type TraceSessionSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean bookmarked?: boolean public?: boolean environment?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["traceSession"]> export type TraceSessionSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean bookmarked?: boolean public?: boolean environment?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["traceSession"]> export type TraceSessionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean bookmarked?: boolean public?: boolean environment?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["traceSession"]> export type TraceSessionSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean bookmarked?: boolean public?: boolean environment?: boolean } export type TraceSessionOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "bookmarked" | "public" | "environment", ExtArgs["result"]["traceSession"]> export type TraceSessionInclude = { project?: boolean | ProjectDefaultArgs } export type TraceSessionIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type TraceSessionIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $TraceSessionPayload = { name: "TraceSession" objects: { project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string bookmarked: boolean public: boolean environment: string }, ExtArgs["result"]["traceSession"]> composites: {} } type TraceSessionGetPayload = $Result.GetResult type TraceSessionCountArgs = Omit & { select?: TraceSessionCountAggregateInputType | true } export interface TraceSessionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TraceSession'], meta: { name: 'TraceSession' } } /** * Find zero or one TraceSession that matches the filter. * @param {TraceSessionFindUniqueArgs} args - Arguments to find a TraceSession * @example * // Get one TraceSession * const traceSession = await prisma.traceSession.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__TraceSessionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TraceSession that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TraceSessionFindUniqueOrThrowArgs} args - Arguments to find a TraceSession * @example * // Get one TraceSession * const traceSession = await prisma.traceSession.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__TraceSessionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TraceSession 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 {TraceSessionFindFirstArgs} args - Arguments to find a TraceSession * @example * // Get one TraceSession * const traceSession = await prisma.traceSession.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__TraceSessionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TraceSession 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 {TraceSessionFindFirstOrThrowArgs} args - Arguments to find a TraceSession * @example * // Get one TraceSession * const traceSession = await prisma.traceSession.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__TraceSessionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TraceSessions 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 {TraceSessionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TraceSessions * const traceSessions = await prisma.traceSession.findMany() * * // Get first 10 TraceSessions * const traceSessions = await prisma.traceSession.findMany({ take: 10 }) * * // Only select the `id` * const traceSessionWithIdOnly = await prisma.traceSession.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a TraceSession. * @param {TraceSessionCreateArgs} args - Arguments to create a TraceSession. * @example * // Create one TraceSession * const TraceSession = await prisma.traceSession.create({ * data: { * // ... data to create a TraceSession * } * }) * */ create(args: SelectSubset>): Prisma__TraceSessionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TraceSessions. * @param {TraceSessionCreateManyArgs} args - Arguments to create many TraceSessions. * @example * // Create many TraceSessions * const traceSession = await prisma.traceSession.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many TraceSessions and returns the data saved in the database. * @param {TraceSessionCreateManyAndReturnArgs} args - Arguments to create many TraceSessions. * @example * // Create many TraceSessions * const traceSession = await prisma.traceSession.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TraceSessions and only return the `id` * const traceSessionWithIdOnly = await prisma.traceSession.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 TraceSession. * @param {TraceSessionDeleteArgs} args - Arguments to delete one TraceSession. * @example * // Delete one TraceSession * const TraceSession = await prisma.traceSession.delete({ * where: { * // ... filter to delete one TraceSession * } * }) * */ delete(args: SelectSubset>): Prisma__TraceSessionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TraceSession. * @param {TraceSessionUpdateArgs} args - Arguments to update one TraceSession. * @example * // Update one TraceSession * const traceSession = await prisma.traceSession.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__TraceSessionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TraceSessions. * @param {TraceSessionDeleteManyArgs} args - Arguments to filter TraceSessions to delete. * @example * // Delete a few TraceSessions * const { count } = await prisma.traceSession.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TraceSessions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TraceSessionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TraceSessions * const traceSession = await prisma.traceSession.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TraceSessions and returns the data updated in the database. * @param {TraceSessionUpdateManyAndReturnArgs} args - Arguments to update many TraceSessions. * @example * // Update many TraceSessions * const traceSession = await prisma.traceSession.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TraceSessions and only return the `id` * const traceSessionWithIdOnly = await prisma.traceSession.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 TraceSession. * @param {TraceSessionUpsertArgs} args - Arguments to update or create a TraceSession. * @example * // Update or create a TraceSession * const traceSession = await prisma.traceSession.upsert({ * create: { * // ... data to create a TraceSession * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TraceSession we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__TraceSessionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TraceSessions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TraceSessionCountArgs} args - Arguments to filter TraceSessions to count. * @example * // Count the number of TraceSessions * const count = await prisma.traceSession.count({ * where: { * // ... the filter for the TraceSessions 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 TraceSession. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TraceSessionAggregateArgs} 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 TraceSession. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TraceSessionGroupByArgs} 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 TraceSessionGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: TraceSessionGroupByArgs['orderBy'] } : { orderBy?: TraceSessionGroupByArgs['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 ? GetTraceSessionGroupByPayload : Prisma.PrismaPromise /** * Fields of the TraceSession model */ readonly fields: TraceSessionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TraceSession. * 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__TraceSessionClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$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 TraceSession model */ interface TraceSessionFieldRefs { readonly id: FieldRef<"TraceSession", 'String'> readonly createdAt: FieldRef<"TraceSession", 'DateTime'> readonly updatedAt: FieldRef<"TraceSession", 'DateTime'> readonly projectId: FieldRef<"TraceSession", 'String'> readonly bookmarked: FieldRef<"TraceSession", 'Boolean'> readonly public: FieldRef<"TraceSession", 'Boolean'> readonly environment: FieldRef<"TraceSession", 'String'> } // Custom InputTypes /** * TraceSession findUnique */ export type TraceSessionFindUniqueArgs = { /** * Select specific fields to fetch from the TraceSession */ select?: TraceSessionSelect | null /** * Omit specific fields from the TraceSession */ omit?: TraceSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceSessionInclude | null /** * Filter, which TraceSession to fetch. */ where: TraceSessionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * TraceSession findUniqueOrThrow */ export type TraceSessionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TraceSession */ select?: TraceSessionSelect | null /** * Omit specific fields from the TraceSession */ omit?: TraceSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceSessionInclude | null /** * Filter, which TraceSession to fetch. */ where: TraceSessionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * TraceSession findFirst */ export type TraceSessionFindFirstArgs = { /** * Select specific fields to fetch from the TraceSession */ select?: TraceSessionSelect | null /** * Omit specific fields from the TraceSession */ omit?: TraceSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceSessionInclude | null /** * Filter, which TraceSession to fetch. */ where?: TraceSessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TraceSessions to fetch. */ orderBy?: TraceSessionOrderByWithRelationInput | TraceSessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TraceSessions. */ cursor?: TraceSessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TraceSessions 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` TraceSessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TraceSessions. */ distinct?: TraceSessionScalarFieldEnum | TraceSessionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * TraceSession findFirstOrThrow */ export type TraceSessionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TraceSession */ select?: TraceSessionSelect | null /** * Omit specific fields from the TraceSession */ omit?: TraceSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceSessionInclude | null /** * Filter, which TraceSession to fetch. */ where?: TraceSessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TraceSessions to fetch. */ orderBy?: TraceSessionOrderByWithRelationInput | TraceSessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TraceSessions. */ cursor?: TraceSessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TraceSessions 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` TraceSessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TraceSessions. */ distinct?: TraceSessionScalarFieldEnum | TraceSessionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * TraceSession findMany */ export type TraceSessionFindManyArgs = { /** * Select specific fields to fetch from the TraceSession */ select?: TraceSessionSelect | null /** * Omit specific fields from the TraceSession */ omit?: TraceSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceSessionInclude | null /** * Filter, which TraceSessions to fetch. */ where?: TraceSessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TraceSessions to fetch. */ orderBy?: TraceSessionOrderByWithRelationInput | TraceSessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TraceSessions. */ cursor?: TraceSessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TraceSessions 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` TraceSessions. */ skip?: number distinct?: TraceSessionScalarFieldEnum | TraceSessionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * TraceSession create */ export type TraceSessionCreateArgs = { /** * Select specific fields to fetch from the TraceSession */ select?: TraceSessionSelect | null /** * Omit specific fields from the TraceSession */ omit?: TraceSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceSessionInclude | null /** * The data needed to create a TraceSession. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * TraceSession createMany */ export type TraceSessionCreateManyArgs = { /** * The data used to create many TraceSessions. */ data: TraceSessionCreateManyInput | TraceSessionCreateManyInput[] skipDuplicates?: boolean } /** * TraceSession createManyAndReturn */ export type TraceSessionCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TraceSession */ select?: TraceSessionSelectCreateManyAndReturn | null /** * Omit specific fields from the TraceSession */ omit?: TraceSessionOmit | null /** * The data used to create many TraceSessions. */ data: TraceSessionCreateManyInput | TraceSessionCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: TraceSessionIncludeCreateManyAndReturn | null } /** * TraceSession update */ export type TraceSessionUpdateArgs = { /** * Select specific fields to fetch from the TraceSession */ select?: TraceSessionSelect | null /** * Omit specific fields from the TraceSession */ omit?: TraceSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceSessionInclude | null /** * The data needed to update a TraceSession. */ data: XOR /** * Choose, which TraceSession to update. */ where: TraceSessionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * TraceSession updateMany */ export type TraceSessionUpdateManyArgs = { /** * The data used to update TraceSessions. */ data: XOR /** * Filter which TraceSessions to update */ where?: TraceSessionWhereInput /** * Limit how many TraceSessions to update. */ limit?: number } /** * TraceSession updateManyAndReturn */ export type TraceSessionUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TraceSession */ select?: TraceSessionSelectUpdateManyAndReturn | null /** * Omit specific fields from the TraceSession */ omit?: TraceSessionOmit | null /** * The data used to update TraceSessions. */ data: XOR /** * Filter which TraceSessions to update */ where?: TraceSessionWhereInput /** * Limit how many TraceSessions to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: TraceSessionIncludeUpdateManyAndReturn | null } /** * TraceSession upsert */ export type TraceSessionUpsertArgs = { /** * Select specific fields to fetch from the TraceSession */ select?: TraceSessionSelect | null /** * Omit specific fields from the TraceSession */ omit?: TraceSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceSessionInclude | null /** * The filter to search for the TraceSession to update in case it exists. */ where: TraceSessionWhereUniqueInput /** * In case the TraceSession found by the `where` argument doesn't exist, create a new TraceSession with this data. */ create: XOR /** * In case the TraceSession was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * TraceSession delete */ export type TraceSessionDeleteArgs = { /** * Select specific fields to fetch from the TraceSession */ select?: TraceSessionSelect | null /** * Omit specific fields from the TraceSession */ omit?: TraceSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceSessionInclude | null /** * Filter which TraceSession to delete. */ where: TraceSessionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * TraceSession deleteMany */ export type TraceSessionDeleteManyArgs = { /** * Filter which TraceSessions to delete */ where?: TraceSessionWhereInput /** * Limit how many TraceSessions to delete. */ limit?: number } /** * TraceSession without action */ export type TraceSessionDefaultArgs = { /** * Select specific fields to fetch from the TraceSession */ select?: TraceSessionSelect | null /** * Omit specific fields from the TraceSession */ omit?: TraceSessionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceSessionInclude | null } /** * Model LegacyPrismaTrace */ export type AggregateLegacyPrismaTrace = { _count: LegacyPrismaTraceCountAggregateOutputType | null _min: LegacyPrismaTraceMinAggregateOutputType | null _max: LegacyPrismaTraceMaxAggregateOutputType | null } export type LegacyPrismaTraceMinAggregateOutputType = { id: string | null externalId: string | null timestamp: Date | null name: string | null userId: string | null release: string | null version: string | null projectId: string | null public: boolean | null bookmarked: boolean | null sessionId: string | null createdAt: Date | null updatedAt: Date | null } export type LegacyPrismaTraceMaxAggregateOutputType = { id: string | null externalId: string | null timestamp: Date | null name: string | null userId: string | null release: string | null version: string | null projectId: string | null public: boolean | null bookmarked: boolean | null sessionId: string | null createdAt: Date | null updatedAt: Date | null } export type LegacyPrismaTraceCountAggregateOutputType = { id: number externalId: number timestamp: number name: number userId: number metadata: number release: number version: number projectId: number public: number bookmarked: number tags: number input: number output: number sessionId: number createdAt: number updatedAt: number _all: number } export type LegacyPrismaTraceMinAggregateInputType = { id?: true externalId?: true timestamp?: true name?: true userId?: true release?: true version?: true projectId?: true public?: true bookmarked?: true sessionId?: true createdAt?: true updatedAt?: true } export type LegacyPrismaTraceMaxAggregateInputType = { id?: true externalId?: true timestamp?: true name?: true userId?: true release?: true version?: true projectId?: true public?: true bookmarked?: true sessionId?: true createdAt?: true updatedAt?: true } export type LegacyPrismaTraceCountAggregateInputType = { id?: true externalId?: true timestamp?: true name?: true userId?: true metadata?: true release?: true version?: true projectId?: true public?: true bookmarked?: true tags?: true input?: true output?: true sessionId?: true createdAt?: true updatedAt?: true _all?: true } export type LegacyPrismaTraceAggregateArgs = { /** * Filter which LegacyPrismaTrace to aggregate. */ where?: LegacyPrismaTraceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LegacyPrismaTraces to fetch. */ orderBy?: LegacyPrismaTraceOrderByWithRelationInput | LegacyPrismaTraceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: LegacyPrismaTraceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LegacyPrismaTraces 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` LegacyPrismaTraces. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned LegacyPrismaTraces **/ _count?: true | LegacyPrismaTraceCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: LegacyPrismaTraceMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: LegacyPrismaTraceMaxAggregateInputType } export type GetLegacyPrismaTraceAggregateType = { [P in keyof T & keyof AggregateLegacyPrismaTrace]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type LegacyPrismaTraceGroupByArgs = { where?: LegacyPrismaTraceWhereInput orderBy?: LegacyPrismaTraceOrderByWithAggregationInput | LegacyPrismaTraceOrderByWithAggregationInput[] by: LegacyPrismaTraceScalarFieldEnum[] | LegacyPrismaTraceScalarFieldEnum having?: LegacyPrismaTraceScalarWhereWithAggregatesInput take?: number skip?: number _count?: LegacyPrismaTraceCountAggregateInputType | true _min?: LegacyPrismaTraceMinAggregateInputType _max?: LegacyPrismaTraceMaxAggregateInputType } export type LegacyPrismaTraceGroupByOutputType = { id: string externalId: string | null timestamp: Date name: string | null userId: string | null metadata: JsonValue | null release: string | null version: string | null projectId: string public: boolean bookmarked: boolean tags: string[] input: JsonValue | null output: JsonValue | null sessionId: string | null createdAt: Date updatedAt: Date _count: LegacyPrismaTraceCountAggregateOutputType | null _min: LegacyPrismaTraceMinAggregateOutputType | null _max: LegacyPrismaTraceMaxAggregateOutputType | null } type GetLegacyPrismaTraceGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof LegacyPrismaTraceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type LegacyPrismaTraceSelect = $Extensions.GetSelect<{ id?: boolean externalId?: boolean timestamp?: boolean name?: boolean userId?: boolean metadata?: boolean release?: boolean version?: boolean projectId?: boolean public?: boolean bookmarked?: boolean tags?: boolean input?: boolean output?: boolean sessionId?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["legacyPrismaTrace"]> export type LegacyPrismaTraceSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean externalId?: boolean timestamp?: boolean name?: boolean userId?: boolean metadata?: boolean release?: boolean version?: boolean projectId?: boolean public?: boolean bookmarked?: boolean tags?: boolean input?: boolean output?: boolean sessionId?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["legacyPrismaTrace"]> export type LegacyPrismaTraceSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean externalId?: boolean timestamp?: boolean name?: boolean userId?: boolean metadata?: boolean release?: boolean version?: boolean projectId?: boolean public?: boolean bookmarked?: boolean tags?: boolean input?: boolean output?: boolean sessionId?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["legacyPrismaTrace"]> export type LegacyPrismaTraceSelectScalar = { id?: boolean externalId?: boolean timestamp?: boolean name?: boolean userId?: boolean metadata?: boolean release?: boolean version?: boolean projectId?: boolean public?: boolean bookmarked?: boolean tags?: boolean input?: boolean output?: boolean sessionId?: boolean createdAt?: boolean updatedAt?: boolean } export type LegacyPrismaTraceOmit = $Extensions.GetOmit<"id" | "externalId" | "timestamp" | "name" | "userId" | "metadata" | "release" | "version" | "projectId" | "public" | "bookmarked" | "tags" | "input" | "output" | "sessionId" | "createdAt" | "updatedAt", ExtArgs["result"]["legacyPrismaTrace"]> export type LegacyPrismaTraceInclude = { project?: boolean | ProjectDefaultArgs } export type LegacyPrismaTraceIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type LegacyPrismaTraceIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $LegacyPrismaTracePayload = { name: "LegacyPrismaTrace" objects: { project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ id: string externalId: string | null timestamp: Date name: string | null userId: string | null metadata: Prisma.JsonValue | null release: string | null version: string | null projectId: string public: boolean bookmarked: boolean tags: string[] input: Prisma.JsonValue | null output: Prisma.JsonValue | null sessionId: string | null createdAt: Date updatedAt: Date }, ExtArgs["result"]["legacyPrismaTrace"]> composites: {} } type LegacyPrismaTraceGetPayload = $Result.GetResult type LegacyPrismaTraceCountArgs = Omit & { select?: LegacyPrismaTraceCountAggregateInputType | true } export interface LegacyPrismaTraceDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['LegacyPrismaTrace'], meta: { name: 'LegacyPrismaTrace' } } /** * Find zero or one LegacyPrismaTrace that matches the filter. * @param {LegacyPrismaTraceFindUniqueArgs} args - Arguments to find a LegacyPrismaTrace * @example * // Get one LegacyPrismaTrace * const legacyPrismaTrace = await prisma.legacyPrismaTrace.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__LegacyPrismaTraceClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one LegacyPrismaTrace that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {LegacyPrismaTraceFindUniqueOrThrowArgs} args - Arguments to find a LegacyPrismaTrace * @example * // Get one LegacyPrismaTrace * const legacyPrismaTrace = await prisma.legacyPrismaTrace.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__LegacyPrismaTraceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first LegacyPrismaTrace 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 {LegacyPrismaTraceFindFirstArgs} args - Arguments to find a LegacyPrismaTrace * @example * // Get one LegacyPrismaTrace * const legacyPrismaTrace = await prisma.legacyPrismaTrace.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__LegacyPrismaTraceClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first LegacyPrismaTrace 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 {LegacyPrismaTraceFindFirstOrThrowArgs} args - Arguments to find a LegacyPrismaTrace * @example * // Get one LegacyPrismaTrace * const legacyPrismaTrace = await prisma.legacyPrismaTrace.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__LegacyPrismaTraceClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more LegacyPrismaTraces 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 {LegacyPrismaTraceFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all LegacyPrismaTraces * const legacyPrismaTraces = await prisma.legacyPrismaTrace.findMany() * * // Get first 10 LegacyPrismaTraces * const legacyPrismaTraces = await prisma.legacyPrismaTrace.findMany({ take: 10 }) * * // Only select the `id` * const legacyPrismaTraceWithIdOnly = await prisma.legacyPrismaTrace.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a LegacyPrismaTrace. * @param {LegacyPrismaTraceCreateArgs} args - Arguments to create a LegacyPrismaTrace. * @example * // Create one LegacyPrismaTrace * const LegacyPrismaTrace = await prisma.legacyPrismaTrace.create({ * data: { * // ... data to create a LegacyPrismaTrace * } * }) * */ create(args: SelectSubset>): Prisma__LegacyPrismaTraceClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many LegacyPrismaTraces. * @param {LegacyPrismaTraceCreateManyArgs} args - Arguments to create many LegacyPrismaTraces. * @example * // Create many LegacyPrismaTraces * const legacyPrismaTrace = await prisma.legacyPrismaTrace.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many LegacyPrismaTraces and returns the data saved in the database. * @param {LegacyPrismaTraceCreateManyAndReturnArgs} args - Arguments to create many LegacyPrismaTraces. * @example * // Create many LegacyPrismaTraces * const legacyPrismaTrace = await prisma.legacyPrismaTrace.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many LegacyPrismaTraces and only return the `id` * const legacyPrismaTraceWithIdOnly = await prisma.legacyPrismaTrace.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 LegacyPrismaTrace. * @param {LegacyPrismaTraceDeleteArgs} args - Arguments to delete one LegacyPrismaTrace. * @example * // Delete one LegacyPrismaTrace * const LegacyPrismaTrace = await prisma.legacyPrismaTrace.delete({ * where: { * // ... filter to delete one LegacyPrismaTrace * } * }) * */ delete(args: SelectSubset>): Prisma__LegacyPrismaTraceClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one LegacyPrismaTrace. * @param {LegacyPrismaTraceUpdateArgs} args - Arguments to update one LegacyPrismaTrace. * @example * // Update one LegacyPrismaTrace * const legacyPrismaTrace = await prisma.legacyPrismaTrace.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__LegacyPrismaTraceClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more LegacyPrismaTraces. * @param {LegacyPrismaTraceDeleteManyArgs} args - Arguments to filter LegacyPrismaTraces to delete. * @example * // Delete a few LegacyPrismaTraces * const { count } = await prisma.legacyPrismaTrace.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more LegacyPrismaTraces. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LegacyPrismaTraceUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many LegacyPrismaTraces * const legacyPrismaTrace = await prisma.legacyPrismaTrace.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more LegacyPrismaTraces and returns the data updated in the database. * @param {LegacyPrismaTraceUpdateManyAndReturnArgs} args - Arguments to update many LegacyPrismaTraces. * @example * // Update many LegacyPrismaTraces * const legacyPrismaTrace = await prisma.legacyPrismaTrace.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more LegacyPrismaTraces and only return the `id` * const legacyPrismaTraceWithIdOnly = await prisma.legacyPrismaTrace.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 LegacyPrismaTrace. * @param {LegacyPrismaTraceUpsertArgs} args - Arguments to update or create a LegacyPrismaTrace. * @example * // Update or create a LegacyPrismaTrace * const legacyPrismaTrace = await prisma.legacyPrismaTrace.upsert({ * create: { * // ... data to create a LegacyPrismaTrace * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the LegacyPrismaTrace we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__LegacyPrismaTraceClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of LegacyPrismaTraces. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LegacyPrismaTraceCountArgs} args - Arguments to filter LegacyPrismaTraces to count. * @example * // Count the number of LegacyPrismaTraces * const count = await prisma.legacyPrismaTrace.count({ * where: { * // ... the filter for the LegacyPrismaTraces 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 LegacyPrismaTrace. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LegacyPrismaTraceAggregateArgs} 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 LegacyPrismaTrace. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LegacyPrismaTraceGroupByArgs} 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 LegacyPrismaTraceGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: LegacyPrismaTraceGroupByArgs['orderBy'] } : { orderBy?: LegacyPrismaTraceGroupByArgs['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 ? GetLegacyPrismaTraceGroupByPayload : Prisma.PrismaPromise /** * Fields of the LegacyPrismaTrace model */ readonly fields: LegacyPrismaTraceFieldRefs; } /** * The delegate class that acts as a "Promise-like" for LegacyPrismaTrace. * 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__LegacyPrismaTraceClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$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 LegacyPrismaTrace model */ interface LegacyPrismaTraceFieldRefs { readonly id: FieldRef<"LegacyPrismaTrace", 'String'> readonly externalId: FieldRef<"LegacyPrismaTrace", 'String'> readonly timestamp: FieldRef<"LegacyPrismaTrace", 'DateTime'> readonly name: FieldRef<"LegacyPrismaTrace", 'String'> readonly userId: FieldRef<"LegacyPrismaTrace", 'String'> readonly metadata: FieldRef<"LegacyPrismaTrace", 'Json'> readonly release: FieldRef<"LegacyPrismaTrace", 'String'> readonly version: FieldRef<"LegacyPrismaTrace", 'String'> readonly projectId: FieldRef<"LegacyPrismaTrace", 'String'> readonly public: FieldRef<"LegacyPrismaTrace", 'Boolean'> readonly bookmarked: FieldRef<"LegacyPrismaTrace", 'Boolean'> readonly tags: FieldRef<"LegacyPrismaTrace", 'String[]'> readonly input: FieldRef<"LegacyPrismaTrace", 'Json'> readonly output: FieldRef<"LegacyPrismaTrace", 'Json'> readonly sessionId: FieldRef<"LegacyPrismaTrace", 'String'> readonly createdAt: FieldRef<"LegacyPrismaTrace", 'DateTime'> readonly updatedAt: FieldRef<"LegacyPrismaTrace", 'DateTime'> } // Custom InputTypes /** * LegacyPrismaTrace findUnique */ export type LegacyPrismaTraceFindUniqueArgs = { /** * Select specific fields to fetch from the LegacyPrismaTrace */ select?: LegacyPrismaTraceSelect | null /** * Omit specific fields from the LegacyPrismaTrace */ omit?: LegacyPrismaTraceOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaTraceInclude | null /** * Filter, which LegacyPrismaTrace to fetch. */ where: LegacyPrismaTraceWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaTrace findUniqueOrThrow */ export type LegacyPrismaTraceFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the LegacyPrismaTrace */ select?: LegacyPrismaTraceSelect | null /** * Omit specific fields from the LegacyPrismaTrace */ omit?: LegacyPrismaTraceOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaTraceInclude | null /** * Filter, which LegacyPrismaTrace to fetch. */ where: LegacyPrismaTraceWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaTrace findFirst */ export type LegacyPrismaTraceFindFirstArgs = { /** * Select specific fields to fetch from the LegacyPrismaTrace */ select?: LegacyPrismaTraceSelect | null /** * Omit specific fields from the LegacyPrismaTrace */ omit?: LegacyPrismaTraceOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaTraceInclude | null /** * Filter, which LegacyPrismaTrace to fetch. */ where?: LegacyPrismaTraceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LegacyPrismaTraces to fetch. */ orderBy?: LegacyPrismaTraceOrderByWithRelationInput | LegacyPrismaTraceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for LegacyPrismaTraces. */ cursor?: LegacyPrismaTraceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LegacyPrismaTraces 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` LegacyPrismaTraces. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of LegacyPrismaTraces. */ distinct?: LegacyPrismaTraceScalarFieldEnum | LegacyPrismaTraceScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaTrace findFirstOrThrow */ export type LegacyPrismaTraceFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the LegacyPrismaTrace */ select?: LegacyPrismaTraceSelect | null /** * Omit specific fields from the LegacyPrismaTrace */ omit?: LegacyPrismaTraceOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaTraceInclude | null /** * Filter, which LegacyPrismaTrace to fetch. */ where?: LegacyPrismaTraceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LegacyPrismaTraces to fetch. */ orderBy?: LegacyPrismaTraceOrderByWithRelationInput | LegacyPrismaTraceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for LegacyPrismaTraces. */ cursor?: LegacyPrismaTraceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LegacyPrismaTraces 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` LegacyPrismaTraces. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of LegacyPrismaTraces. */ distinct?: LegacyPrismaTraceScalarFieldEnum | LegacyPrismaTraceScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaTrace findMany */ export type LegacyPrismaTraceFindManyArgs = { /** * Select specific fields to fetch from the LegacyPrismaTrace */ select?: LegacyPrismaTraceSelect | null /** * Omit specific fields from the LegacyPrismaTrace */ omit?: LegacyPrismaTraceOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaTraceInclude | null /** * Filter, which LegacyPrismaTraces to fetch. */ where?: LegacyPrismaTraceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LegacyPrismaTraces to fetch. */ orderBy?: LegacyPrismaTraceOrderByWithRelationInput | LegacyPrismaTraceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing LegacyPrismaTraces. */ cursor?: LegacyPrismaTraceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LegacyPrismaTraces 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` LegacyPrismaTraces. */ skip?: number distinct?: LegacyPrismaTraceScalarFieldEnum | LegacyPrismaTraceScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaTrace create */ export type LegacyPrismaTraceCreateArgs = { /** * Select specific fields to fetch from the LegacyPrismaTrace */ select?: LegacyPrismaTraceSelect | null /** * Omit specific fields from the LegacyPrismaTrace */ omit?: LegacyPrismaTraceOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaTraceInclude | null /** * The data needed to create a LegacyPrismaTrace. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaTrace createMany */ export type LegacyPrismaTraceCreateManyArgs = { /** * The data used to create many LegacyPrismaTraces. */ data: LegacyPrismaTraceCreateManyInput | LegacyPrismaTraceCreateManyInput[] skipDuplicates?: boolean } /** * LegacyPrismaTrace createManyAndReturn */ export type LegacyPrismaTraceCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the LegacyPrismaTrace */ select?: LegacyPrismaTraceSelectCreateManyAndReturn | null /** * Omit specific fields from the LegacyPrismaTrace */ omit?: LegacyPrismaTraceOmit | null /** * The data used to create many LegacyPrismaTraces. */ data: LegacyPrismaTraceCreateManyInput | LegacyPrismaTraceCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaTraceIncludeCreateManyAndReturn | null } /** * LegacyPrismaTrace update */ export type LegacyPrismaTraceUpdateArgs = { /** * Select specific fields to fetch from the LegacyPrismaTrace */ select?: LegacyPrismaTraceSelect | null /** * Omit specific fields from the LegacyPrismaTrace */ omit?: LegacyPrismaTraceOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaTraceInclude | null /** * The data needed to update a LegacyPrismaTrace. */ data: XOR /** * Choose, which LegacyPrismaTrace to update. */ where: LegacyPrismaTraceWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaTrace updateMany */ export type LegacyPrismaTraceUpdateManyArgs = { /** * The data used to update LegacyPrismaTraces. */ data: XOR /** * Filter which LegacyPrismaTraces to update */ where?: LegacyPrismaTraceWhereInput /** * Limit how many LegacyPrismaTraces to update. */ limit?: number } /** * LegacyPrismaTrace updateManyAndReturn */ export type LegacyPrismaTraceUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the LegacyPrismaTrace */ select?: LegacyPrismaTraceSelectUpdateManyAndReturn | null /** * Omit specific fields from the LegacyPrismaTrace */ omit?: LegacyPrismaTraceOmit | null /** * The data used to update LegacyPrismaTraces. */ data: XOR /** * Filter which LegacyPrismaTraces to update */ where?: LegacyPrismaTraceWhereInput /** * Limit how many LegacyPrismaTraces to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaTraceIncludeUpdateManyAndReturn | null } /** * LegacyPrismaTrace upsert */ export type LegacyPrismaTraceUpsertArgs = { /** * Select specific fields to fetch from the LegacyPrismaTrace */ select?: LegacyPrismaTraceSelect | null /** * Omit specific fields from the LegacyPrismaTrace */ omit?: LegacyPrismaTraceOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaTraceInclude | null /** * The filter to search for the LegacyPrismaTrace to update in case it exists. */ where: LegacyPrismaTraceWhereUniqueInput /** * In case the LegacyPrismaTrace found by the `where` argument doesn't exist, create a new LegacyPrismaTrace with this data. */ create: XOR /** * In case the LegacyPrismaTrace was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaTrace delete */ export type LegacyPrismaTraceDeleteArgs = { /** * Select specific fields to fetch from the LegacyPrismaTrace */ select?: LegacyPrismaTraceSelect | null /** * Omit specific fields from the LegacyPrismaTrace */ omit?: LegacyPrismaTraceOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaTraceInclude | null /** * Filter which LegacyPrismaTrace to delete. */ where: LegacyPrismaTraceWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaTrace deleteMany */ export type LegacyPrismaTraceDeleteManyArgs = { /** * Filter which LegacyPrismaTraces to delete */ where?: LegacyPrismaTraceWhereInput /** * Limit how many LegacyPrismaTraces to delete. */ limit?: number } /** * LegacyPrismaTrace without action */ export type LegacyPrismaTraceDefaultArgs = { /** * Select specific fields to fetch from the LegacyPrismaTrace */ select?: LegacyPrismaTraceSelect | null /** * Omit specific fields from the LegacyPrismaTrace */ omit?: LegacyPrismaTraceOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaTraceInclude | null } /** * Model LegacyPrismaObservation */ export type AggregateLegacyPrismaObservation = { _count: LegacyPrismaObservationCountAggregateOutputType | null _avg: LegacyPrismaObservationAvgAggregateOutputType | null _sum: LegacyPrismaObservationSumAggregateOutputType | null _min: LegacyPrismaObservationMinAggregateOutputType | null _max: LegacyPrismaObservationMaxAggregateOutputType | null } export type LegacyPrismaObservationAvgAggregateOutputType = { promptTokens: number | null completionTokens: number | null totalTokens: number | null inputCost: Decimal | null outputCost: Decimal | null totalCost: Decimal | null calculatedInputCost: Decimal | null calculatedOutputCost: Decimal | null calculatedTotalCost: Decimal | null } export type LegacyPrismaObservationSumAggregateOutputType = { promptTokens: number | null completionTokens: number | null totalTokens: number | null inputCost: Decimal | null outputCost: Decimal | null totalCost: Decimal | null calculatedInputCost: Decimal | null calculatedOutputCost: Decimal | null calculatedTotalCost: Decimal | null } export type LegacyPrismaObservationMinAggregateOutputType = { id: string | null traceId: string | null projectId: string | null type: $Enums.LegacyPrismaObservationType | null startTime: Date | null endTime: Date | null name: string | null parentObservationId: string | null level: $Enums.LegacyPrismaObservationLevel | null statusMessage: string | null version: string | null createdAt: Date | null updatedAt: Date | null model: string | null internalModel: string | null internalModelId: string | null promptTokens: number | null completionTokens: number | null totalTokens: number | null unit: string | null inputCost: Decimal | null outputCost: Decimal | null totalCost: Decimal | null calculatedInputCost: Decimal | null calculatedOutputCost: Decimal | null calculatedTotalCost: Decimal | null completionStartTime: Date | null promptId: string | null } export type LegacyPrismaObservationMaxAggregateOutputType = { id: string | null traceId: string | null projectId: string | null type: $Enums.LegacyPrismaObservationType | null startTime: Date | null endTime: Date | null name: string | null parentObservationId: string | null level: $Enums.LegacyPrismaObservationLevel | null statusMessage: string | null version: string | null createdAt: Date | null updatedAt: Date | null model: string | null internalModel: string | null internalModelId: string | null promptTokens: number | null completionTokens: number | null totalTokens: number | null unit: string | null inputCost: Decimal | null outputCost: Decimal | null totalCost: Decimal | null calculatedInputCost: Decimal | null calculatedOutputCost: Decimal | null calculatedTotalCost: Decimal | null completionStartTime: Date | null promptId: string | null } export type LegacyPrismaObservationCountAggregateOutputType = { id: number traceId: number projectId: number type: number startTime: number endTime: number name: number metadata: number parentObservationId: number level: number statusMessage: number version: number createdAt: number updatedAt: number model: number internalModel: number internalModelId: number modelParameters: number input: number output: number promptTokens: number completionTokens: number totalTokens: number unit: number inputCost: number outputCost: number totalCost: number calculatedInputCost: number calculatedOutputCost: number calculatedTotalCost: number completionStartTime: number promptId: number _all: number } export type LegacyPrismaObservationAvgAggregateInputType = { promptTokens?: true completionTokens?: true totalTokens?: true inputCost?: true outputCost?: true totalCost?: true calculatedInputCost?: true calculatedOutputCost?: true calculatedTotalCost?: true } export type LegacyPrismaObservationSumAggregateInputType = { promptTokens?: true completionTokens?: true totalTokens?: true inputCost?: true outputCost?: true totalCost?: true calculatedInputCost?: true calculatedOutputCost?: true calculatedTotalCost?: true } export type LegacyPrismaObservationMinAggregateInputType = { id?: true traceId?: true projectId?: true type?: true startTime?: true endTime?: true name?: true parentObservationId?: true level?: true statusMessage?: true version?: true createdAt?: true updatedAt?: true model?: true internalModel?: true internalModelId?: true promptTokens?: true completionTokens?: true totalTokens?: true unit?: true inputCost?: true outputCost?: true totalCost?: true calculatedInputCost?: true calculatedOutputCost?: true calculatedTotalCost?: true completionStartTime?: true promptId?: true } export type LegacyPrismaObservationMaxAggregateInputType = { id?: true traceId?: true projectId?: true type?: true startTime?: true endTime?: true name?: true parentObservationId?: true level?: true statusMessage?: true version?: true createdAt?: true updatedAt?: true model?: true internalModel?: true internalModelId?: true promptTokens?: true completionTokens?: true totalTokens?: true unit?: true inputCost?: true outputCost?: true totalCost?: true calculatedInputCost?: true calculatedOutputCost?: true calculatedTotalCost?: true completionStartTime?: true promptId?: true } export type LegacyPrismaObservationCountAggregateInputType = { id?: true traceId?: true projectId?: true type?: true startTime?: true endTime?: true name?: true metadata?: true parentObservationId?: true level?: true statusMessage?: true version?: true createdAt?: true updatedAt?: true model?: true internalModel?: true internalModelId?: true modelParameters?: true input?: true output?: true promptTokens?: true completionTokens?: true totalTokens?: true unit?: true inputCost?: true outputCost?: true totalCost?: true calculatedInputCost?: true calculatedOutputCost?: true calculatedTotalCost?: true completionStartTime?: true promptId?: true _all?: true } export type LegacyPrismaObservationAggregateArgs = { /** * Filter which LegacyPrismaObservation to aggregate. */ where?: LegacyPrismaObservationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LegacyPrismaObservations to fetch. */ orderBy?: LegacyPrismaObservationOrderByWithRelationInput | LegacyPrismaObservationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: LegacyPrismaObservationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LegacyPrismaObservations 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` LegacyPrismaObservations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned LegacyPrismaObservations **/ _count?: true | LegacyPrismaObservationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: LegacyPrismaObservationAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: LegacyPrismaObservationSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: LegacyPrismaObservationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: LegacyPrismaObservationMaxAggregateInputType } export type GetLegacyPrismaObservationAggregateType = { [P in keyof T & keyof AggregateLegacyPrismaObservation]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type LegacyPrismaObservationGroupByArgs = { where?: LegacyPrismaObservationWhereInput orderBy?: LegacyPrismaObservationOrderByWithAggregationInput | LegacyPrismaObservationOrderByWithAggregationInput[] by: LegacyPrismaObservationScalarFieldEnum[] | LegacyPrismaObservationScalarFieldEnum having?: LegacyPrismaObservationScalarWhereWithAggregatesInput take?: number skip?: number _count?: LegacyPrismaObservationCountAggregateInputType | true _avg?: LegacyPrismaObservationAvgAggregateInputType _sum?: LegacyPrismaObservationSumAggregateInputType _min?: LegacyPrismaObservationMinAggregateInputType _max?: LegacyPrismaObservationMaxAggregateInputType } export type LegacyPrismaObservationGroupByOutputType = { id: string traceId: string | null projectId: string type: $Enums.LegacyPrismaObservationType startTime: Date endTime: Date | null name: string | null metadata: JsonValue | null parentObservationId: string | null level: $Enums.LegacyPrismaObservationLevel statusMessage: string | null version: string | null createdAt: Date updatedAt: Date model: string | null internalModel: string | null internalModelId: string | null modelParameters: JsonValue | null input: JsonValue | null output: JsonValue | null promptTokens: number completionTokens: number totalTokens: number unit: string | null inputCost: Decimal | null outputCost: Decimal | null totalCost: Decimal | null calculatedInputCost: Decimal | null calculatedOutputCost: Decimal | null calculatedTotalCost: Decimal | null completionStartTime: Date | null promptId: string | null _count: LegacyPrismaObservationCountAggregateOutputType | null _avg: LegacyPrismaObservationAvgAggregateOutputType | null _sum: LegacyPrismaObservationSumAggregateOutputType | null _min: LegacyPrismaObservationMinAggregateOutputType | null _max: LegacyPrismaObservationMaxAggregateOutputType | null } type GetLegacyPrismaObservationGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof LegacyPrismaObservationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type LegacyPrismaObservationSelect = $Extensions.GetSelect<{ id?: boolean traceId?: boolean projectId?: boolean type?: boolean startTime?: boolean endTime?: boolean name?: boolean metadata?: boolean parentObservationId?: boolean level?: boolean statusMessage?: boolean version?: boolean createdAt?: boolean updatedAt?: boolean model?: boolean internalModel?: boolean internalModelId?: boolean modelParameters?: boolean input?: boolean output?: boolean promptTokens?: boolean completionTokens?: boolean totalTokens?: boolean unit?: boolean inputCost?: boolean outputCost?: boolean totalCost?: boolean calculatedInputCost?: boolean calculatedOutputCost?: boolean calculatedTotalCost?: boolean completionStartTime?: boolean promptId?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["legacyPrismaObservation"]> export type LegacyPrismaObservationSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean traceId?: boolean projectId?: boolean type?: boolean startTime?: boolean endTime?: boolean name?: boolean metadata?: boolean parentObservationId?: boolean level?: boolean statusMessage?: boolean version?: boolean createdAt?: boolean updatedAt?: boolean model?: boolean internalModel?: boolean internalModelId?: boolean modelParameters?: boolean input?: boolean output?: boolean promptTokens?: boolean completionTokens?: boolean totalTokens?: boolean unit?: boolean inputCost?: boolean outputCost?: boolean totalCost?: boolean calculatedInputCost?: boolean calculatedOutputCost?: boolean calculatedTotalCost?: boolean completionStartTime?: boolean promptId?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["legacyPrismaObservation"]> export type LegacyPrismaObservationSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean traceId?: boolean projectId?: boolean type?: boolean startTime?: boolean endTime?: boolean name?: boolean metadata?: boolean parentObservationId?: boolean level?: boolean statusMessage?: boolean version?: boolean createdAt?: boolean updatedAt?: boolean model?: boolean internalModel?: boolean internalModelId?: boolean modelParameters?: boolean input?: boolean output?: boolean promptTokens?: boolean completionTokens?: boolean totalTokens?: boolean unit?: boolean inputCost?: boolean outputCost?: boolean totalCost?: boolean calculatedInputCost?: boolean calculatedOutputCost?: boolean calculatedTotalCost?: boolean completionStartTime?: boolean promptId?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["legacyPrismaObservation"]> export type LegacyPrismaObservationSelectScalar = { id?: boolean traceId?: boolean projectId?: boolean type?: boolean startTime?: boolean endTime?: boolean name?: boolean metadata?: boolean parentObservationId?: boolean level?: boolean statusMessage?: boolean version?: boolean createdAt?: boolean updatedAt?: boolean model?: boolean internalModel?: boolean internalModelId?: boolean modelParameters?: boolean input?: boolean output?: boolean promptTokens?: boolean completionTokens?: boolean totalTokens?: boolean unit?: boolean inputCost?: boolean outputCost?: boolean totalCost?: boolean calculatedInputCost?: boolean calculatedOutputCost?: boolean calculatedTotalCost?: boolean completionStartTime?: boolean promptId?: boolean } export type LegacyPrismaObservationOmit = $Extensions.GetOmit<"id" | "traceId" | "projectId" | "type" | "startTime" | "endTime" | "name" | "metadata" | "parentObservationId" | "level" | "statusMessage" | "version" | "createdAt" | "updatedAt" | "model" | "internalModel" | "internalModelId" | "modelParameters" | "input" | "output" | "promptTokens" | "completionTokens" | "totalTokens" | "unit" | "inputCost" | "outputCost" | "totalCost" | "calculatedInputCost" | "calculatedOutputCost" | "calculatedTotalCost" | "completionStartTime" | "promptId", ExtArgs["result"]["legacyPrismaObservation"]> export type LegacyPrismaObservationInclude = { project?: boolean | ProjectDefaultArgs } export type LegacyPrismaObservationIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type LegacyPrismaObservationIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $LegacyPrismaObservationPayload = { name: "LegacyPrismaObservation" objects: { project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ id: string traceId: string | null projectId: string type: $Enums.LegacyPrismaObservationType startTime: Date endTime: Date | null name: string | null metadata: Prisma.JsonValue | null parentObservationId: string | null level: $Enums.LegacyPrismaObservationLevel statusMessage: string | null version: string | null createdAt: Date updatedAt: Date model: string | null internalModel: string | null internalModelId: string | null modelParameters: Prisma.JsonValue | null input: Prisma.JsonValue | null output: Prisma.JsonValue | null promptTokens: number completionTokens: number totalTokens: number unit: string | null inputCost: Prisma.Decimal | null outputCost: Prisma.Decimal | null totalCost: Prisma.Decimal | null calculatedInputCost: Prisma.Decimal | null calculatedOutputCost: Prisma.Decimal | null calculatedTotalCost: Prisma.Decimal | null completionStartTime: Date | null promptId: string | null }, ExtArgs["result"]["legacyPrismaObservation"]> composites: {} } type LegacyPrismaObservationGetPayload = $Result.GetResult type LegacyPrismaObservationCountArgs = Omit & { select?: LegacyPrismaObservationCountAggregateInputType | true } export interface LegacyPrismaObservationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['LegacyPrismaObservation'], meta: { name: 'LegacyPrismaObservation' } } /** * Find zero or one LegacyPrismaObservation that matches the filter. * @param {LegacyPrismaObservationFindUniqueArgs} args - Arguments to find a LegacyPrismaObservation * @example * // Get one LegacyPrismaObservation * const legacyPrismaObservation = await prisma.legacyPrismaObservation.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__LegacyPrismaObservationClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one LegacyPrismaObservation that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {LegacyPrismaObservationFindUniqueOrThrowArgs} args - Arguments to find a LegacyPrismaObservation * @example * // Get one LegacyPrismaObservation * const legacyPrismaObservation = await prisma.legacyPrismaObservation.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__LegacyPrismaObservationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first LegacyPrismaObservation 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 {LegacyPrismaObservationFindFirstArgs} args - Arguments to find a LegacyPrismaObservation * @example * // Get one LegacyPrismaObservation * const legacyPrismaObservation = await prisma.legacyPrismaObservation.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__LegacyPrismaObservationClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first LegacyPrismaObservation 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 {LegacyPrismaObservationFindFirstOrThrowArgs} args - Arguments to find a LegacyPrismaObservation * @example * // Get one LegacyPrismaObservation * const legacyPrismaObservation = await prisma.legacyPrismaObservation.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__LegacyPrismaObservationClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more LegacyPrismaObservations 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 {LegacyPrismaObservationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all LegacyPrismaObservations * const legacyPrismaObservations = await prisma.legacyPrismaObservation.findMany() * * // Get first 10 LegacyPrismaObservations * const legacyPrismaObservations = await prisma.legacyPrismaObservation.findMany({ take: 10 }) * * // Only select the `id` * const legacyPrismaObservationWithIdOnly = await prisma.legacyPrismaObservation.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a LegacyPrismaObservation. * @param {LegacyPrismaObservationCreateArgs} args - Arguments to create a LegacyPrismaObservation. * @example * // Create one LegacyPrismaObservation * const LegacyPrismaObservation = await prisma.legacyPrismaObservation.create({ * data: { * // ... data to create a LegacyPrismaObservation * } * }) * */ create(args: SelectSubset>): Prisma__LegacyPrismaObservationClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many LegacyPrismaObservations. * @param {LegacyPrismaObservationCreateManyArgs} args - Arguments to create many LegacyPrismaObservations. * @example * // Create many LegacyPrismaObservations * const legacyPrismaObservation = await prisma.legacyPrismaObservation.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many LegacyPrismaObservations and returns the data saved in the database. * @param {LegacyPrismaObservationCreateManyAndReturnArgs} args - Arguments to create many LegacyPrismaObservations. * @example * // Create many LegacyPrismaObservations * const legacyPrismaObservation = await prisma.legacyPrismaObservation.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many LegacyPrismaObservations and only return the `id` * const legacyPrismaObservationWithIdOnly = await prisma.legacyPrismaObservation.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 LegacyPrismaObservation. * @param {LegacyPrismaObservationDeleteArgs} args - Arguments to delete one LegacyPrismaObservation. * @example * // Delete one LegacyPrismaObservation * const LegacyPrismaObservation = await prisma.legacyPrismaObservation.delete({ * where: { * // ... filter to delete one LegacyPrismaObservation * } * }) * */ delete(args: SelectSubset>): Prisma__LegacyPrismaObservationClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one LegacyPrismaObservation. * @param {LegacyPrismaObservationUpdateArgs} args - Arguments to update one LegacyPrismaObservation. * @example * // Update one LegacyPrismaObservation * const legacyPrismaObservation = await prisma.legacyPrismaObservation.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__LegacyPrismaObservationClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more LegacyPrismaObservations. * @param {LegacyPrismaObservationDeleteManyArgs} args - Arguments to filter LegacyPrismaObservations to delete. * @example * // Delete a few LegacyPrismaObservations * const { count } = await prisma.legacyPrismaObservation.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more LegacyPrismaObservations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LegacyPrismaObservationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many LegacyPrismaObservations * const legacyPrismaObservation = await prisma.legacyPrismaObservation.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more LegacyPrismaObservations and returns the data updated in the database. * @param {LegacyPrismaObservationUpdateManyAndReturnArgs} args - Arguments to update many LegacyPrismaObservations. * @example * // Update many LegacyPrismaObservations * const legacyPrismaObservation = await prisma.legacyPrismaObservation.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more LegacyPrismaObservations and only return the `id` * const legacyPrismaObservationWithIdOnly = await prisma.legacyPrismaObservation.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 LegacyPrismaObservation. * @param {LegacyPrismaObservationUpsertArgs} args - Arguments to update or create a LegacyPrismaObservation. * @example * // Update or create a LegacyPrismaObservation * const legacyPrismaObservation = await prisma.legacyPrismaObservation.upsert({ * create: { * // ... data to create a LegacyPrismaObservation * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the LegacyPrismaObservation we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__LegacyPrismaObservationClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of LegacyPrismaObservations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LegacyPrismaObservationCountArgs} args - Arguments to filter LegacyPrismaObservations to count. * @example * // Count the number of LegacyPrismaObservations * const count = await prisma.legacyPrismaObservation.count({ * where: { * // ... the filter for the LegacyPrismaObservations 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 LegacyPrismaObservation. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LegacyPrismaObservationAggregateArgs} 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 LegacyPrismaObservation. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LegacyPrismaObservationGroupByArgs} 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 LegacyPrismaObservationGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: LegacyPrismaObservationGroupByArgs['orderBy'] } : { orderBy?: LegacyPrismaObservationGroupByArgs['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 ? GetLegacyPrismaObservationGroupByPayload : Prisma.PrismaPromise /** * Fields of the LegacyPrismaObservation model */ readonly fields: LegacyPrismaObservationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for LegacyPrismaObservation. * 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__LegacyPrismaObservationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$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 LegacyPrismaObservation model */ interface LegacyPrismaObservationFieldRefs { readonly id: FieldRef<"LegacyPrismaObservation", 'String'> readonly traceId: FieldRef<"LegacyPrismaObservation", 'String'> readonly projectId: FieldRef<"LegacyPrismaObservation", 'String'> readonly type: FieldRef<"LegacyPrismaObservation", 'LegacyPrismaObservationType'> readonly startTime: FieldRef<"LegacyPrismaObservation", 'DateTime'> readonly endTime: FieldRef<"LegacyPrismaObservation", 'DateTime'> readonly name: FieldRef<"LegacyPrismaObservation", 'String'> readonly metadata: FieldRef<"LegacyPrismaObservation", 'Json'> readonly parentObservationId: FieldRef<"LegacyPrismaObservation", 'String'> readonly level: FieldRef<"LegacyPrismaObservation", 'LegacyPrismaObservationLevel'> readonly statusMessage: FieldRef<"LegacyPrismaObservation", 'String'> readonly version: FieldRef<"LegacyPrismaObservation", 'String'> readonly createdAt: FieldRef<"LegacyPrismaObservation", 'DateTime'> readonly updatedAt: FieldRef<"LegacyPrismaObservation", 'DateTime'> readonly model: FieldRef<"LegacyPrismaObservation", 'String'> readonly internalModel: FieldRef<"LegacyPrismaObservation", 'String'> readonly internalModelId: FieldRef<"LegacyPrismaObservation", 'String'> readonly modelParameters: FieldRef<"LegacyPrismaObservation", 'Json'> readonly input: FieldRef<"LegacyPrismaObservation", 'Json'> readonly output: FieldRef<"LegacyPrismaObservation", 'Json'> readonly promptTokens: FieldRef<"LegacyPrismaObservation", 'Int'> readonly completionTokens: FieldRef<"LegacyPrismaObservation", 'Int'> readonly totalTokens: FieldRef<"LegacyPrismaObservation", 'Int'> readonly unit: FieldRef<"LegacyPrismaObservation", 'String'> readonly inputCost: FieldRef<"LegacyPrismaObservation", 'Decimal'> readonly outputCost: FieldRef<"LegacyPrismaObservation", 'Decimal'> readonly totalCost: FieldRef<"LegacyPrismaObservation", 'Decimal'> readonly calculatedInputCost: FieldRef<"LegacyPrismaObservation", 'Decimal'> readonly calculatedOutputCost: FieldRef<"LegacyPrismaObservation", 'Decimal'> readonly calculatedTotalCost: FieldRef<"LegacyPrismaObservation", 'Decimal'> readonly completionStartTime: FieldRef<"LegacyPrismaObservation", 'DateTime'> readonly promptId: FieldRef<"LegacyPrismaObservation", 'String'> } // Custom InputTypes /** * LegacyPrismaObservation findUnique */ export type LegacyPrismaObservationFindUniqueArgs = { /** * Select specific fields to fetch from the LegacyPrismaObservation */ select?: LegacyPrismaObservationSelect | null /** * Omit specific fields from the LegacyPrismaObservation */ omit?: LegacyPrismaObservationOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaObservationInclude | null /** * Filter, which LegacyPrismaObservation to fetch. */ where: LegacyPrismaObservationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaObservation findUniqueOrThrow */ export type LegacyPrismaObservationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the LegacyPrismaObservation */ select?: LegacyPrismaObservationSelect | null /** * Omit specific fields from the LegacyPrismaObservation */ omit?: LegacyPrismaObservationOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaObservationInclude | null /** * Filter, which LegacyPrismaObservation to fetch. */ where: LegacyPrismaObservationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaObservation findFirst */ export type LegacyPrismaObservationFindFirstArgs = { /** * Select specific fields to fetch from the LegacyPrismaObservation */ select?: LegacyPrismaObservationSelect | null /** * Omit specific fields from the LegacyPrismaObservation */ omit?: LegacyPrismaObservationOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaObservationInclude | null /** * Filter, which LegacyPrismaObservation to fetch. */ where?: LegacyPrismaObservationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LegacyPrismaObservations to fetch. */ orderBy?: LegacyPrismaObservationOrderByWithRelationInput | LegacyPrismaObservationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for LegacyPrismaObservations. */ cursor?: LegacyPrismaObservationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LegacyPrismaObservations 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` LegacyPrismaObservations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of LegacyPrismaObservations. */ distinct?: LegacyPrismaObservationScalarFieldEnum | LegacyPrismaObservationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaObservation findFirstOrThrow */ export type LegacyPrismaObservationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the LegacyPrismaObservation */ select?: LegacyPrismaObservationSelect | null /** * Omit specific fields from the LegacyPrismaObservation */ omit?: LegacyPrismaObservationOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaObservationInclude | null /** * Filter, which LegacyPrismaObservation to fetch. */ where?: LegacyPrismaObservationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LegacyPrismaObservations to fetch. */ orderBy?: LegacyPrismaObservationOrderByWithRelationInput | LegacyPrismaObservationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for LegacyPrismaObservations. */ cursor?: LegacyPrismaObservationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LegacyPrismaObservations 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` LegacyPrismaObservations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of LegacyPrismaObservations. */ distinct?: LegacyPrismaObservationScalarFieldEnum | LegacyPrismaObservationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaObservation findMany */ export type LegacyPrismaObservationFindManyArgs = { /** * Select specific fields to fetch from the LegacyPrismaObservation */ select?: LegacyPrismaObservationSelect | null /** * Omit specific fields from the LegacyPrismaObservation */ omit?: LegacyPrismaObservationOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaObservationInclude | null /** * Filter, which LegacyPrismaObservations to fetch. */ where?: LegacyPrismaObservationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LegacyPrismaObservations to fetch. */ orderBy?: LegacyPrismaObservationOrderByWithRelationInput | LegacyPrismaObservationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing LegacyPrismaObservations. */ cursor?: LegacyPrismaObservationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LegacyPrismaObservations 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` LegacyPrismaObservations. */ skip?: number distinct?: LegacyPrismaObservationScalarFieldEnum | LegacyPrismaObservationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaObservation create */ export type LegacyPrismaObservationCreateArgs = { /** * Select specific fields to fetch from the LegacyPrismaObservation */ select?: LegacyPrismaObservationSelect | null /** * Omit specific fields from the LegacyPrismaObservation */ omit?: LegacyPrismaObservationOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaObservationInclude | null /** * The data needed to create a LegacyPrismaObservation. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaObservation createMany */ export type LegacyPrismaObservationCreateManyArgs = { /** * The data used to create many LegacyPrismaObservations. */ data: LegacyPrismaObservationCreateManyInput | LegacyPrismaObservationCreateManyInput[] skipDuplicates?: boolean } /** * LegacyPrismaObservation createManyAndReturn */ export type LegacyPrismaObservationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the LegacyPrismaObservation */ select?: LegacyPrismaObservationSelectCreateManyAndReturn | null /** * Omit specific fields from the LegacyPrismaObservation */ omit?: LegacyPrismaObservationOmit | null /** * The data used to create many LegacyPrismaObservations. */ data: LegacyPrismaObservationCreateManyInput | LegacyPrismaObservationCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaObservationIncludeCreateManyAndReturn | null } /** * LegacyPrismaObservation update */ export type LegacyPrismaObservationUpdateArgs = { /** * Select specific fields to fetch from the LegacyPrismaObservation */ select?: LegacyPrismaObservationSelect | null /** * Omit specific fields from the LegacyPrismaObservation */ omit?: LegacyPrismaObservationOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaObservationInclude | null /** * The data needed to update a LegacyPrismaObservation. */ data: XOR /** * Choose, which LegacyPrismaObservation to update. */ where: LegacyPrismaObservationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaObservation updateMany */ export type LegacyPrismaObservationUpdateManyArgs = { /** * The data used to update LegacyPrismaObservations. */ data: XOR /** * Filter which LegacyPrismaObservations to update */ where?: LegacyPrismaObservationWhereInput /** * Limit how many LegacyPrismaObservations to update. */ limit?: number } /** * LegacyPrismaObservation updateManyAndReturn */ export type LegacyPrismaObservationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the LegacyPrismaObservation */ select?: LegacyPrismaObservationSelectUpdateManyAndReturn | null /** * Omit specific fields from the LegacyPrismaObservation */ omit?: LegacyPrismaObservationOmit | null /** * The data used to update LegacyPrismaObservations. */ data: XOR /** * Filter which LegacyPrismaObservations to update */ where?: LegacyPrismaObservationWhereInput /** * Limit how many LegacyPrismaObservations to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaObservationIncludeUpdateManyAndReturn | null } /** * LegacyPrismaObservation upsert */ export type LegacyPrismaObservationUpsertArgs = { /** * Select specific fields to fetch from the LegacyPrismaObservation */ select?: LegacyPrismaObservationSelect | null /** * Omit specific fields from the LegacyPrismaObservation */ omit?: LegacyPrismaObservationOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaObservationInclude | null /** * The filter to search for the LegacyPrismaObservation to update in case it exists. */ where: LegacyPrismaObservationWhereUniqueInput /** * In case the LegacyPrismaObservation found by the `where` argument doesn't exist, create a new LegacyPrismaObservation with this data. */ create: XOR /** * In case the LegacyPrismaObservation was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaObservation delete */ export type LegacyPrismaObservationDeleteArgs = { /** * Select specific fields to fetch from the LegacyPrismaObservation */ select?: LegacyPrismaObservationSelect | null /** * Omit specific fields from the LegacyPrismaObservation */ omit?: LegacyPrismaObservationOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaObservationInclude | null /** * Filter which LegacyPrismaObservation to delete. */ where: LegacyPrismaObservationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaObservation deleteMany */ export type LegacyPrismaObservationDeleteManyArgs = { /** * Filter which LegacyPrismaObservations to delete */ where?: LegacyPrismaObservationWhereInput /** * Limit how many LegacyPrismaObservations to delete. */ limit?: number } /** * LegacyPrismaObservation without action */ export type LegacyPrismaObservationDefaultArgs = { /** * Select specific fields to fetch from the LegacyPrismaObservation */ select?: LegacyPrismaObservationSelect | null /** * Omit specific fields from the LegacyPrismaObservation */ omit?: LegacyPrismaObservationOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaObservationInclude | null } /** * Model LegacyPrismaScore */ export type AggregateLegacyPrismaScore = { _count: LegacyPrismaScoreCountAggregateOutputType | null _avg: LegacyPrismaScoreAvgAggregateOutputType | null _sum: LegacyPrismaScoreSumAggregateOutputType | null _min: LegacyPrismaScoreMinAggregateOutputType | null _max: LegacyPrismaScoreMaxAggregateOutputType | null } export type LegacyPrismaScoreAvgAggregateOutputType = { value: number | null } export type LegacyPrismaScoreSumAggregateOutputType = { value: number | null } export type LegacyPrismaScoreMinAggregateOutputType = { id: string | null timestamp: Date | null projectId: string | null name: string | null value: number | null source: $Enums.LegacyPrismaScoreSource | null authorUserId: string | null comment: string | null traceId: string | null observationId: string | null configId: string | null stringValue: string | null queueId: string | null createdAt: Date | null updatedAt: Date | null dataType: $Enums.ScoreDataType | null } export type LegacyPrismaScoreMaxAggregateOutputType = { id: string | null timestamp: Date | null projectId: string | null name: string | null value: number | null source: $Enums.LegacyPrismaScoreSource | null authorUserId: string | null comment: string | null traceId: string | null observationId: string | null configId: string | null stringValue: string | null queueId: string | null createdAt: Date | null updatedAt: Date | null dataType: $Enums.ScoreDataType | null } export type LegacyPrismaScoreCountAggregateOutputType = { id: number timestamp: number projectId: number name: number value: number source: number authorUserId: number comment: number traceId: number observationId: number configId: number stringValue: number queueId: number createdAt: number updatedAt: number dataType: number _all: number } export type LegacyPrismaScoreAvgAggregateInputType = { value?: true } export type LegacyPrismaScoreSumAggregateInputType = { value?: true } export type LegacyPrismaScoreMinAggregateInputType = { id?: true timestamp?: true projectId?: true name?: true value?: true source?: true authorUserId?: true comment?: true traceId?: true observationId?: true configId?: true stringValue?: true queueId?: true createdAt?: true updatedAt?: true dataType?: true } export type LegacyPrismaScoreMaxAggregateInputType = { id?: true timestamp?: true projectId?: true name?: true value?: true source?: true authorUserId?: true comment?: true traceId?: true observationId?: true configId?: true stringValue?: true queueId?: true createdAt?: true updatedAt?: true dataType?: true } export type LegacyPrismaScoreCountAggregateInputType = { id?: true timestamp?: true projectId?: true name?: true value?: true source?: true authorUserId?: true comment?: true traceId?: true observationId?: true configId?: true stringValue?: true queueId?: true createdAt?: true updatedAt?: true dataType?: true _all?: true } export type LegacyPrismaScoreAggregateArgs = { /** * Filter which LegacyPrismaScore to aggregate. */ where?: LegacyPrismaScoreWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LegacyPrismaScores to fetch. */ orderBy?: LegacyPrismaScoreOrderByWithRelationInput | LegacyPrismaScoreOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: LegacyPrismaScoreWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LegacyPrismaScores 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` LegacyPrismaScores. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned LegacyPrismaScores **/ _count?: true | LegacyPrismaScoreCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: LegacyPrismaScoreAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: LegacyPrismaScoreSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: LegacyPrismaScoreMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: LegacyPrismaScoreMaxAggregateInputType } export type GetLegacyPrismaScoreAggregateType = { [P in keyof T & keyof AggregateLegacyPrismaScore]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type LegacyPrismaScoreGroupByArgs = { where?: LegacyPrismaScoreWhereInput orderBy?: LegacyPrismaScoreOrderByWithAggregationInput | LegacyPrismaScoreOrderByWithAggregationInput[] by: LegacyPrismaScoreScalarFieldEnum[] | LegacyPrismaScoreScalarFieldEnum having?: LegacyPrismaScoreScalarWhereWithAggregatesInput take?: number skip?: number _count?: LegacyPrismaScoreCountAggregateInputType | true _avg?: LegacyPrismaScoreAvgAggregateInputType _sum?: LegacyPrismaScoreSumAggregateInputType _min?: LegacyPrismaScoreMinAggregateInputType _max?: LegacyPrismaScoreMaxAggregateInputType } export type LegacyPrismaScoreGroupByOutputType = { id: string timestamp: Date projectId: string name: string value: number | null source: $Enums.LegacyPrismaScoreSource authorUserId: string | null comment: string | null traceId: string observationId: string | null configId: string | null stringValue: string | null queueId: string | null createdAt: Date updatedAt: Date dataType: $Enums.ScoreDataType _count: LegacyPrismaScoreCountAggregateOutputType | null _avg: LegacyPrismaScoreAvgAggregateOutputType | null _sum: LegacyPrismaScoreSumAggregateOutputType | null _min: LegacyPrismaScoreMinAggregateOutputType | null _max: LegacyPrismaScoreMaxAggregateOutputType | null } type GetLegacyPrismaScoreGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof LegacyPrismaScoreGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type LegacyPrismaScoreSelect = $Extensions.GetSelect<{ id?: boolean timestamp?: boolean projectId?: boolean name?: boolean value?: boolean source?: boolean authorUserId?: boolean comment?: boolean traceId?: boolean observationId?: boolean configId?: boolean stringValue?: boolean queueId?: boolean createdAt?: boolean updatedAt?: boolean dataType?: boolean project?: boolean | ProjectDefaultArgs scoreConfig?: boolean | LegacyPrismaScore$scoreConfigArgs }, ExtArgs["result"]["legacyPrismaScore"]> export type LegacyPrismaScoreSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean timestamp?: boolean projectId?: boolean name?: boolean value?: boolean source?: boolean authorUserId?: boolean comment?: boolean traceId?: boolean observationId?: boolean configId?: boolean stringValue?: boolean queueId?: boolean createdAt?: boolean updatedAt?: boolean dataType?: boolean project?: boolean | ProjectDefaultArgs scoreConfig?: boolean | LegacyPrismaScore$scoreConfigArgs }, ExtArgs["result"]["legacyPrismaScore"]> export type LegacyPrismaScoreSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean timestamp?: boolean projectId?: boolean name?: boolean value?: boolean source?: boolean authorUserId?: boolean comment?: boolean traceId?: boolean observationId?: boolean configId?: boolean stringValue?: boolean queueId?: boolean createdAt?: boolean updatedAt?: boolean dataType?: boolean project?: boolean | ProjectDefaultArgs scoreConfig?: boolean | LegacyPrismaScore$scoreConfigArgs }, ExtArgs["result"]["legacyPrismaScore"]> export type LegacyPrismaScoreSelectScalar = { id?: boolean timestamp?: boolean projectId?: boolean name?: boolean value?: boolean source?: boolean authorUserId?: boolean comment?: boolean traceId?: boolean observationId?: boolean configId?: boolean stringValue?: boolean queueId?: boolean createdAt?: boolean updatedAt?: boolean dataType?: boolean } export type LegacyPrismaScoreOmit = $Extensions.GetOmit<"id" | "timestamp" | "projectId" | "name" | "value" | "source" | "authorUserId" | "comment" | "traceId" | "observationId" | "configId" | "stringValue" | "queueId" | "createdAt" | "updatedAt" | "dataType", ExtArgs["result"]["legacyPrismaScore"]> export type LegacyPrismaScoreInclude = { project?: boolean | ProjectDefaultArgs scoreConfig?: boolean | LegacyPrismaScore$scoreConfigArgs } export type LegacyPrismaScoreIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs scoreConfig?: boolean | LegacyPrismaScore$scoreConfigArgs } export type LegacyPrismaScoreIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs scoreConfig?: boolean | LegacyPrismaScore$scoreConfigArgs } export type $LegacyPrismaScorePayload = { name: "LegacyPrismaScore" objects: { project: Prisma.$ProjectPayload scoreConfig: Prisma.$ScoreConfigPayload | null } scalars: $Extensions.GetPayloadResult<{ id: string timestamp: Date projectId: string name: string value: number | null source: $Enums.LegacyPrismaScoreSource authorUserId: string | null comment: string | null traceId: string observationId: string | null configId: string | null stringValue: string | null queueId: string | null createdAt: Date updatedAt: Date dataType: $Enums.ScoreDataType }, ExtArgs["result"]["legacyPrismaScore"]> composites: {} } type LegacyPrismaScoreGetPayload = $Result.GetResult type LegacyPrismaScoreCountArgs = Omit & { select?: LegacyPrismaScoreCountAggregateInputType | true } export interface LegacyPrismaScoreDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['LegacyPrismaScore'], meta: { name: 'LegacyPrismaScore' } } /** * Find zero or one LegacyPrismaScore that matches the filter. * @param {LegacyPrismaScoreFindUniqueArgs} args - Arguments to find a LegacyPrismaScore * @example * // Get one LegacyPrismaScore * const legacyPrismaScore = await prisma.legacyPrismaScore.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__LegacyPrismaScoreClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one LegacyPrismaScore that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {LegacyPrismaScoreFindUniqueOrThrowArgs} args - Arguments to find a LegacyPrismaScore * @example * // Get one LegacyPrismaScore * const legacyPrismaScore = await prisma.legacyPrismaScore.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__LegacyPrismaScoreClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first LegacyPrismaScore 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 {LegacyPrismaScoreFindFirstArgs} args - Arguments to find a LegacyPrismaScore * @example * // Get one LegacyPrismaScore * const legacyPrismaScore = await prisma.legacyPrismaScore.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__LegacyPrismaScoreClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first LegacyPrismaScore 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 {LegacyPrismaScoreFindFirstOrThrowArgs} args - Arguments to find a LegacyPrismaScore * @example * // Get one LegacyPrismaScore * const legacyPrismaScore = await prisma.legacyPrismaScore.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__LegacyPrismaScoreClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more LegacyPrismaScores 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 {LegacyPrismaScoreFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all LegacyPrismaScores * const legacyPrismaScores = await prisma.legacyPrismaScore.findMany() * * // Get first 10 LegacyPrismaScores * const legacyPrismaScores = await prisma.legacyPrismaScore.findMany({ take: 10 }) * * // Only select the `id` * const legacyPrismaScoreWithIdOnly = await prisma.legacyPrismaScore.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a LegacyPrismaScore. * @param {LegacyPrismaScoreCreateArgs} args - Arguments to create a LegacyPrismaScore. * @example * // Create one LegacyPrismaScore * const LegacyPrismaScore = await prisma.legacyPrismaScore.create({ * data: { * // ... data to create a LegacyPrismaScore * } * }) * */ create(args: SelectSubset>): Prisma__LegacyPrismaScoreClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many LegacyPrismaScores. * @param {LegacyPrismaScoreCreateManyArgs} args - Arguments to create many LegacyPrismaScores. * @example * // Create many LegacyPrismaScores * const legacyPrismaScore = await prisma.legacyPrismaScore.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many LegacyPrismaScores and returns the data saved in the database. * @param {LegacyPrismaScoreCreateManyAndReturnArgs} args - Arguments to create many LegacyPrismaScores. * @example * // Create many LegacyPrismaScores * const legacyPrismaScore = await prisma.legacyPrismaScore.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many LegacyPrismaScores and only return the `id` * const legacyPrismaScoreWithIdOnly = await prisma.legacyPrismaScore.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 LegacyPrismaScore. * @param {LegacyPrismaScoreDeleteArgs} args - Arguments to delete one LegacyPrismaScore. * @example * // Delete one LegacyPrismaScore * const LegacyPrismaScore = await prisma.legacyPrismaScore.delete({ * where: { * // ... filter to delete one LegacyPrismaScore * } * }) * */ delete(args: SelectSubset>): Prisma__LegacyPrismaScoreClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one LegacyPrismaScore. * @param {LegacyPrismaScoreUpdateArgs} args - Arguments to update one LegacyPrismaScore. * @example * // Update one LegacyPrismaScore * const legacyPrismaScore = await prisma.legacyPrismaScore.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__LegacyPrismaScoreClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more LegacyPrismaScores. * @param {LegacyPrismaScoreDeleteManyArgs} args - Arguments to filter LegacyPrismaScores to delete. * @example * // Delete a few LegacyPrismaScores * const { count } = await prisma.legacyPrismaScore.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more LegacyPrismaScores. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LegacyPrismaScoreUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many LegacyPrismaScores * const legacyPrismaScore = await prisma.legacyPrismaScore.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more LegacyPrismaScores and returns the data updated in the database. * @param {LegacyPrismaScoreUpdateManyAndReturnArgs} args - Arguments to update many LegacyPrismaScores. * @example * // Update many LegacyPrismaScores * const legacyPrismaScore = await prisma.legacyPrismaScore.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more LegacyPrismaScores and only return the `id` * const legacyPrismaScoreWithIdOnly = await prisma.legacyPrismaScore.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 LegacyPrismaScore. * @param {LegacyPrismaScoreUpsertArgs} args - Arguments to update or create a LegacyPrismaScore. * @example * // Update or create a LegacyPrismaScore * const legacyPrismaScore = await prisma.legacyPrismaScore.upsert({ * create: { * // ... data to create a LegacyPrismaScore * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the LegacyPrismaScore we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__LegacyPrismaScoreClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of LegacyPrismaScores. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LegacyPrismaScoreCountArgs} args - Arguments to filter LegacyPrismaScores to count. * @example * // Count the number of LegacyPrismaScores * const count = await prisma.legacyPrismaScore.count({ * where: { * // ... the filter for the LegacyPrismaScores 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 LegacyPrismaScore. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LegacyPrismaScoreAggregateArgs} 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 LegacyPrismaScore. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LegacyPrismaScoreGroupByArgs} 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 LegacyPrismaScoreGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: LegacyPrismaScoreGroupByArgs['orderBy'] } : { orderBy?: LegacyPrismaScoreGroupByArgs['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 ? GetLegacyPrismaScoreGroupByPayload : Prisma.PrismaPromise /** * Fields of the LegacyPrismaScore model */ readonly fields: LegacyPrismaScoreFieldRefs; } /** * The delegate class that acts as a "Promise-like" for LegacyPrismaScore. * 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__LegacyPrismaScoreClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> scoreConfig = {}>(args?: Subset>): Prisma__ScoreConfigClient<$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 LegacyPrismaScore model */ interface LegacyPrismaScoreFieldRefs { readonly id: FieldRef<"LegacyPrismaScore", 'String'> readonly timestamp: FieldRef<"LegacyPrismaScore", 'DateTime'> readonly projectId: FieldRef<"LegacyPrismaScore", 'String'> readonly name: FieldRef<"LegacyPrismaScore", 'String'> readonly value: FieldRef<"LegacyPrismaScore", 'Float'> readonly source: FieldRef<"LegacyPrismaScore", 'LegacyPrismaScoreSource'> readonly authorUserId: FieldRef<"LegacyPrismaScore", 'String'> readonly comment: FieldRef<"LegacyPrismaScore", 'String'> readonly traceId: FieldRef<"LegacyPrismaScore", 'String'> readonly observationId: FieldRef<"LegacyPrismaScore", 'String'> readonly configId: FieldRef<"LegacyPrismaScore", 'String'> readonly stringValue: FieldRef<"LegacyPrismaScore", 'String'> readonly queueId: FieldRef<"LegacyPrismaScore", 'String'> readonly createdAt: FieldRef<"LegacyPrismaScore", 'DateTime'> readonly updatedAt: FieldRef<"LegacyPrismaScore", 'DateTime'> readonly dataType: FieldRef<"LegacyPrismaScore", 'ScoreDataType'> } // Custom InputTypes /** * LegacyPrismaScore findUnique */ export type LegacyPrismaScoreFindUniqueArgs = { /** * Select specific fields to fetch from the LegacyPrismaScore */ select?: LegacyPrismaScoreSelect | null /** * Omit specific fields from the LegacyPrismaScore */ omit?: LegacyPrismaScoreOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaScoreInclude | null /** * Filter, which LegacyPrismaScore to fetch. */ where: LegacyPrismaScoreWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaScore findUniqueOrThrow */ export type LegacyPrismaScoreFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the LegacyPrismaScore */ select?: LegacyPrismaScoreSelect | null /** * Omit specific fields from the LegacyPrismaScore */ omit?: LegacyPrismaScoreOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaScoreInclude | null /** * Filter, which LegacyPrismaScore to fetch. */ where: LegacyPrismaScoreWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaScore findFirst */ export type LegacyPrismaScoreFindFirstArgs = { /** * Select specific fields to fetch from the LegacyPrismaScore */ select?: LegacyPrismaScoreSelect | null /** * Omit specific fields from the LegacyPrismaScore */ omit?: LegacyPrismaScoreOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaScoreInclude | null /** * Filter, which LegacyPrismaScore to fetch. */ where?: LegacyPrismaScoreWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LegacyPrismaScores to fetch. */ orderBy?: LegacyPrismaScoreOrderByWithRelationInput | LegacyPrismaScoreOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for LegacyPrismaScores. */ cursor?: LegacyPrismaScoreWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LegacyPrismaScores 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` LegacyPrismaScores. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of LegacyPrismaScores. */ distinct?: LegacyPrismaScoreScalarFieldEnum | LegacyPrismaScoreScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaScore findFirstOrThrow */ export type LegacyPrismaScoreFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the LegacyPrismaScore */ select?: LegacyPrismaScoreSelect | null /** * Omit specific fields from the LegacyPrismaScore */ omit?: LegacyPrismaScoreOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaScoreInclude | null /** * Filter, which LegacyPrismaScore to fetch. */ where?: LegacyPrismaScoreWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LegacyPrismaScores to fetch. */ orderBy?: LegacyPrismaScoreOrderByWithRelationInput | LegacyPrismaScoreOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for LegacyPrismaScores. */ cursor?: LegacyPrismaScoreWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LegacyPrismaScores 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` LegacyPrismaScores. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of LegacyPrismaScores. */ distinct?: LegacyPrismaScoreScalarFieldEnum | LegacyPrismaScoreScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaScore findMany */ export type LegacyPrismaScoreFindManyArgs = { /** * Select specific fields to fetch from the LegacyPrismaScore */ select?: LegacyPrismaScoreSelect | null /** * Omit specific fields from the LegacyPrismaScore */ omit?: LegacyPrismaScoreOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaScoreInclude | null /** * Filter, which LegacyPrismaScores to fetch. */ where?: LegacyPrismaScoreWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LegacyPrismaScores to fetch. */ orderBy?: LegacyPrismaScoreOrderByWithRelationInput | LegacyPrismaScoreOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing LegacyPrismaScores. */ cursor?: LegacyPrismaScoreWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LegacyPrismaScores 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` LegacyPrismaScores. */ skip?: number distinct?: LegacyPrismaScoreScalarFieldEnum | LegacyPrismaScoreScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaScore create */ export type LegacyPrismaScoreCreateArgs = { /** * Select specific fields to fetch from the LegacyPrismaScore */ select?: LegacyPrismaScoreSelect | null /** * Omit specific fields from the LegacyPrismaScore */ omit?: LegacyPrismaScoreOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaScoreInclude | null /** * The data needed to create a LegacyPrismaScore. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaScore createMany */ export type LegacyPrismaScoreCreateManyArgs = { /** * The data used to create many LegacyPrismaScores. */ data: LegacyPrismaScoreCreateManyInput | LegacyPrismaScoreCreateManyInput[] skipDuplicates?: boolean } /** * LegacyPrismaScore createManyAndReturn */ export type LegacyPrismaScoreCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the LegacyPrismaScore */ select?: LegacyPrismaScoreSelectCreateManyAndReturn | null /** * Omit specific fields from the LegacyPrismaScore */ omit?: LegacyPrismaScoreOmit | null /** * The data used to create many LegacyPrismaScores. */ data: LegacyPrismaScoreCreateManyInput | LegacyPrismaScoreCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaScoreIncludeCreateManyAndReturn | null } /** * LegacyPrismaScore update */ export type LegacyPrismaScoreUpdateArgs = { /** * Select specific fields to fetch from the LegacyPrismaScore */ select?: LegacyPrismaScoreSelect | null /** * Omit specific fields from the LegacyPrismaScore */ omit?: LegacyPrismaScoreOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaScoreInclude | null /** * The data needed to update a LegacyPrismaScore. */ data: XOR /** * Choose, which LegacyPrismaScore to update. */ where: LegacyPrismaScoreWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaScore updateMany */ export type LegacyPrismaScoreUpdateManyArgs = { /** * The data used to update LegacyPrismaScores. */ data: XOR /** * Filter which LegacyPrismaScores to update */ where?: LegacyPrismaScoreWhereInput /** * Limit how many LegacyPrismaScores to update. */ limit?: number } /** * LegacyPrismaScore updateManyAndReturn */ export type LegacyPrismaScoreUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the LegacyPrismaScore */ select?: LegacyPrismaScoreSelectUpdateManyAndReturn | null /** * Omit specific fields from the LegacyPrismaScore */ omit?: LegacyPrismaScoreOmit | null /** * The data used to update LegacyPrismaScores. */ data: XOR /** * Filter which LegacyPrismaScores to update */ where?: LegacyPrismaScoreWhereInput /** * Limit how many LegacyPrismaScores to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaScoreIncludeUpdateManyAndReturn | null } /** * LegacyPrismaScore upsert */ export type LegacyPrismaScoreUpsertArgs = { /** * Select specific fields to fetch from the LegacyPrismaScore */ select?: LegacyPrismaScoreSelect | null /** * Omit specific fields from the LegacyPrismaScore */ omit?: LegacyPrismaScoreOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaScoreInclude | null /** * The filter to search for the LegacyPrismaScore to update in case it exists. */ where: LegacyPrismaScoreWhereUniqueInput /** * In case the LegacyPrismaScore found by the `where` argument doesn't exist, create a new LegacyPrismaScore with this data. */ create: XOR /** * In case the LegacyPrismaScore was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaScore delete */ export type LegacyPrismaScoreDeleteArgs = { /** * Select specific fields to fetch from the LegacyPrismaScore */ select?: LegacyPrismaScoreSelect | null /** * Omit specific fields from the LegacyPrismaScore */ omit?: LegacyPrismaScoreOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaScoreInclude | null /** * Filter which LegacyPrismaScore to delete. */ where: LegacyPrismaScoreWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LegacyPrismaScore deleteMany */ export type LegacyPrismaScoreDeleteManyArgs = { /** * Filter which LegacyPrismaScores to delete */ where?: LegacyPrismaScoreWhereInput /** * Limit how many LegacyPrismaScores to delete. */ limit?: number } /** * LegacyPrismaScore.scoreConfig */ export type LegacyPrismaScore$scoreConfigArgs = { /** * Select specific fields to fetch from the ScoreConfig */ select?: ScoreConfigSelect | null /** * Omit specific fields from the ScoreConfig */ omit?: ScoreConfigOmit | null /** * Choose, which related nodes to fetch as well */ include?: ScoreConfigInclude | null where?: ScoreConfigWhereInput } /** * LegacyPrismaScore without action */ export type LegacyPrismaScoreDefaultArgs = { /** * Select specific fields to fetch from the LegacyPrismaScore */ select?: LegacyPrismaScoreSelect | null /** * Omit specific fields from the LegacyPrismaScore */ omit?: LegacyPrismaScoreOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaScoreInclude | null } /** * Model ScoreConfig */ export type AggregateScoreConfig = { _count: ScoreConfigCountAggregateOutputType | null _avg: ScoreConfigAvgAggregateOutputType | null _sum: ScoreConfigSumAggregateOutputType | null _min: ScoreConfigMinAggregateOutputType | null _max: ScoreConfigMaxAggregateOutputType | null } export type ScoreConfigAvgAggregateOutputType = { minValue: number | null maxValue: number | null } export type ScoreConfigSumAggregateOutputType = { minValue: number | null maxValue: number | null } export type ScoreConfigMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null name: string | null dataType: $Enums.ScoreDataType | null isArchived: boolean | null minValue: number | null maxValue: number | null description: string | null } export type ScoreConfigMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null name: string | null dataType: $Enums.ScoreDataType | null isArchived: boolean | null minValue: number | null maxValue: number | null description: string | null } export type ScoreConfigCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number name: number dataType: number isArchived: number minValue: number maxValue: number categories: number description: number _all: number } export type ScoreConfigAvgAggregateInputType = { minValue?: true maxValue?: true } export type ScoreConfigSumAggregateInputType = { minValue?: true maxValue?: true } export type ScoreConfigMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true dataType?: true isArchived?: true minValue?: true maxValue?: true description?: true } export type ScoreConfigMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true dataType?: true isArchived?: true minValue?: true maxValue?: true description?: true } export type ScoreConfigCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true dataType?: true isArchived?: true minValue?: true maxValue?: true categories?: true description?: true _all?: true } export type ScoreConfigAggregateArgs = { /** * Filter which ScoreConfig to aggregate. */ where?: ScoreConfigWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ScoreConfigs to fetch. */ orderBy?: ScoreConfigOrderByWithRelationInput | ScoreConfigOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ScoreConfigWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ScoreConfigs 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` ScoreConfigs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ScoreConfigs **/ _count?: true | ScoreConfigCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ScoreConfigAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ScoreConfigSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ScoreConfigMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ScoreConfigMaxAggregateInputType } export type GetScoreConfigAggregateType = { [P in keyof T & keyof AggregateScoreConfig]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ScoreConfigGroupByArgs = { where?: ScoreConfigWhereInput orderBy?: ScoreConfigOrderByWithAggregationInput | ScoreConfigOrderByWithAggregationInput[] by: ScoreConfigScalarFieldEnum[] | ScoreConfigScalarFieldEnum having?: ScoreConfigScalarWhereWithAggregatesInput take?: number skip?: number _count?: ScoreConfigCountAggregateInputType | true _avg?: ScoreConfigAvgAggregateInputType _sum?: ScoreConfigSumAggregateInputType _min?: ScoreConfigMinAggregateInputType _max?: ScoreConfigMaxAggregateInputType } export type ScoreConfigGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string name: string dataType: $Enums.ScoreDataType isArchived: boolean minValue: number | null maxValue: number | null categories: JsonValue | null description: string | null _count: ScoreConfigCountAggregateOutputType | null _avg: ScoreConfigAvgAggregateOutputType | null _sum: ScoreConfigSumAggregateOutputType | null _min: ScoreConfigMinAggregateOutputType | null _max: ScoreConfigMaxAggregateOutputType | null } type GetScoreConfigGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ScoreConfigGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ScoreConfigSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean dataType?: boolean isArchived?: boolean minValue?: boolean maxValue?: boolean categories?: boolean description?: boolean project?: boolean | ProjectDefaultArgs legacyScore?: boolean | ScoreConfig$legacyScoreArgs _count?: boolean | ScoreConfigCountOutputTypeDefaultArgs }, ExtArgs["result"]["scoreConfig"]> export type ScoreConfigSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean dataType?: boolean isArchived?: boolean minValue?: boolean maxValue?: boolean categories?: boolean description?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["scoreConfig"]> export type ScoreConfigSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean dataType?: boolean isArchived?: boolean minValue?: boolean maxValue?: boolean categories?: boolean description?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["scoreConfig"]> export type ScoreConfigSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean dataType?: boolean isArchived?: boolean minValue?: boolean maxValue?: boolean categories?: boolean description?: boolean } export type ScoreConfigOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "name" | "dataType" | "isArchived" | "minValue" | "maxValue" | "categories" | "description", ExtArgs["result"]["scoreConfig"]> export type ScoreConfigInclude = { project?: boolean | ProjectDefaultArgs legacyScore?: boolean | ScoreConfig$legacyScoreArgs _count?: boolean | ScoreConfigCountOutputTypeDefaultArgs } export type ScoreConfigIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type ScoreConfigIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $ScoreConfigPayload = { name: "ScoreConfig" objects: { project: Prisma.$ProjectPayload legacyScore: Prisma.$LegacyPrismaScorePayload[] } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string name: string dataType: $Enums.ScoreDataType isArchived: boolean minValue: number | null maxValue: number | null categories: Prisma.JsonValue | null description: string | null }, ExtArgs["result"]["scoreConfig"]> composites: {} } type ScoreConfigGetPayload = $Result.GetResult type ScoreConfigCountArgs = Omit & { select?: ScoreConfigCountAggregateInputType | true } export interface ScoreConfigDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ScoreConfig'], meta: { name: 'ScoreConfig' } } /** * Find zero or one ScoreConfig that matches the filter. * @param {ScoreConfigFindUniqueArgs} args - Arguments to find a ScoreConfig * @example * // Get one ScoreConfig * const scoreConfig = await prisma.scoreConfig.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ScoreConfigClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ScoreConfig that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ScoreConfigFindUniqueOrThrowArgs} args - Arguments to find a ScoreConfig * @example * // Get one ScoreConfig * const scoreConfig = await prisma.scoreConfig.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ScoreConfigClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ScoreConfig 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 {ScoreConfigFindFirstArgs} args - Arguments to find a ScoreConfig * @example * // Get one ScoreConfig * const scoreConfig = await prisma.scoreConfig.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ScoreConfigClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ScoreConfig 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 {ScoreConfigFindFirstOrThrowArgs} args - Arguments to find a ScoreConfig * @example * // Get one ScoreConfig * const scoreConfig = await prisma.scoreConfig.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ScoreConfigClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ScoreConfigs 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 {ScoreConfigFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ScoreConfigs * const scoreConfigs = await prisma.scoreConfig.findMany() * * // Get first 10 ScoreConfigs * const scoreConfigs = await prisma.scoreConfig.findMany({ take: 10 }) * * // Only select the `id` * const scoreConfigWithIdOnly = await prisma.scoreConfig.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a ScoreConfig. * @param {ScoreConfigCreateArgs} args - Arguments to create a ScoreConfig. * @example * // Create one ScoreConfig * const ScoreConfig = await prisma.scoreConfig.create({ * data: { * // ... data to create a ScoreConfig * } * }) * */ create(args: SelectSubset>): Prisma__ScoreConfigClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ScoreConfigs. * @param {ScoreConfigCreateManyArgs} args - Arguments to create many ScoreConfigs. * @example * // Create many ScoreConfigs * const scoreConfig = await prisma.scoreConfig.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many ScoreConfigs and returns the data saved in the database. * @param {ScoreConfigCreateManyAndReturnArgs} args - Arguments to create many ScoreConfigs. * @example * // Create many ScoreConfigs * const scoreConfig = await prisma.scoreConfig.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ScoreConfigs and only return the `id` * const scoreConfigWithIdOnly = await prisma.scoreConfig.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 ScoreConfig. * @param {ScoreConfigDeleteArgs} args - Arguments to delete one ScoreConfig. * @example * // Delete one ScoreConfig * const ScoreConfig = await prisma.scoreConfig.delete({ * where: { * // ... filter to delete one ScoreConfig * } * }) * */ delete(args: SelectSubset>): Prisma__ScoreConfigClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ScoreConfig. * @param {ScoreConfigUpdateArgs} args - Arguments to update one ScoreConfig. * @example * // Update one ScoreConfig * const scoreConfig = await prisma.scoreConfig.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ScoreConfigClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ScoreConfigs. * @param {ScoreConfigDeleteManyArgs} args - Arguments to filter ScoreConfigs to delete. * @example * // Delete a few ScoreConfigs * const { count } = await prisma.scoreConfig.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ScoreConfigs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ScoreConfigUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ScoreConfigs * const scoreConfig = await prisma.scoreConfig.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ScoreConfigs and returns the data updated in the database. * @param {ScoreConfigUpdateManyAndReturnArgs} args - Arguments to update many ScoreConfigs. * @example * // Update many ScoreConfigs * const scoreConfig = await prisma.scoreConfig.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ScoreConfigs and only return the `id` * const scoreConfigWithIdOnly = await prisma.scoreConfig.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 ScoreConfig. * @param {ScoreConfigUpsertArgs} args - Arguments to update or create a ScoreConfig. * @example * // Update or create a ScoreConfig * const scoreConfig = await prisma.scoreConfig.upsert({ * create: { * // ... data to create a ScoreConfig * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ScoreConfig we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ScoreConfigClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ScoreConfigs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ScoreConfigCountArgs} args - Arguments to filter ScoreConfigs to count. * @example * // Count the number of ScoreConfigs * const count = await prisma.scoreConfig.count({ * where: { * // ... the filter for the ScoreConfigs 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 ScoreConfig. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ScoreConfigAggregateArgs} 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 ScoreConfig. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ScoreConfigGroupByArgs} 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 ScoreConfigGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ScoreConfigGroupByArgs['orderBy'] } : { orderBy?: ScoreConfigGroupByArgs['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 ? GetScoreConfigGroupByPayload : Prisma.PrismaPromise /** * Fields of the ScoreConfig model */ readonly fields: ScoreConfigFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ScoreConfig. * 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__ScoreConfigClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> legacyScore = {}>(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 ScoreConfig model */ interface ScoreConfigFieldRefs { readonly id: FieldRef<"ScoreConfig", 'String'> readonly createdAt: FieldRef<"ScoreConfig", 'DateTime'> readonly updatedAt: FieldRef<"ScoreConfig", 'DateTime'> readonly projectId: FieldRef<"ScoreConfig", 'String'> readonly name: FieldRef<"ScoreConfig", 'String'> readonly dataType: FieldRef<"ScoreConfig", 'ScoreDataType'> readonly isArchived: FieldRef<"ScoreConfig", 'Boolean'> readonly minValue: FieldRef<"ScoreConfig", 'Float'> readonly maxValue: FieldRef<"ScoreConfig", 'Float'> readonly categories: FieldRef<"ScoreConfig", 'Json'> readonly description: FieldRef<"ScoreConfig", 'String'> } // Custom InputTypes /** * ScoreConfig findUnique */ export type ScoreConfigFindUniqueArgs = { /** * Select specific fields to fetch from the ScoreConfig */ select?: ScoreConfigSelect | null /** * Omit specific fields from the ScoreConfig */ omit?: ScoreConfigOmit | null /** * Choose, which related nodes to fetch as well */ include?: ScoreConfigInclude | null /** * Filter, which ScoreConfig to fetch. */ where: ScoreConfigWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ScoreConfig findUniqueOrThrow */ export type ScoreConfigFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ScoreConfig */ select?: ScoreConfigSelect | null /** * Omit specific fields from the ScoreConfig */ omit?: ScoreConfigOmit | null /** * Choose, which related nodes to fetch as well */ include?: ScoreConfigInclude | null /** * Filter, which ScoreConfig to fetch. */ where: ScoreConfigWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ScoreConfig findFirst */ export type ScoreConfigFindFirstArgs = { /** * Select specific fields to fetch from the ScoreConfig */ select?: ScoreConfigSelect | null /** * Omit specific fields from the ScoreConfig */ omit?: ScoreConfigOmit | null /** * Choose, which related nodes to fetch as well */ include?: ScoreConfigInclude | null /** * Filter, which ScoreConfig to fetch. */ where?: ScoreConfigWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ScoreConfigs to fetch. */ orderBy?: ScoreConfigOrderByWithRelationInput | ScoreConfigOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ScoreConfigs. */ cursor?: ScoreConfigWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ScoreConfigs 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` ScoreConfigs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ScoreConfigs. */ distinct?: ScoreConfigScalarFieldEnum | ScoreConfigScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * ScoreConfig findFirstOrThrow */ export type ScoreConfigFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ScoreConfig */ select?: ScoreConfigSelect | null /** * Omit specific fields from the ScoreConfig */ omit?: ScoreConfigOmit | null /** * Choose, which related nodes to fetch as well */ include?: ScoreConfigInclude | null /** * Filter, which ScoreConfig to fetch. */ where?: ScoreConfigWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ScoreConfigs to fetch. */ orderBy?: ScoreConfigOrderByWithRelationInput | ScoreConfigOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ScoreConfigs. */ cursor?: ScoreConfigWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ScoreConfigs 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` ScoreConfigs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ScoreConfigs. */ distinct?: ScoreConfigScalarFieldEnum | ScoreConfigScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * ScoreConfig findMany */ export type ScoreConfigFindManyArgs = { /** * Select specific fields to fetch from the ScoreConfig */ select?: ScoreConfigSelect | null /** * Omit specific fields from the ScoreConfig */ omit?: ScoreConfigOmit | null /** * Choose, which related nodes to fetch as well */ include?: ScoreConfigInclude | null /** * Filter, which ScoreConfigs to fetch. */ where?: ScoreConfigWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ScoreConfigs to fetch. */ orderBy?: ScoreConfigOrderByWithRelationInput | ScoreConfigOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ScoreConfigs. */ cursor?: ScoreConfigWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ScoreConfigs 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` ScoreConfigs. */ skip?: number distinct?: ScoreConfigScalarFieldEnum | ScoreConfigScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * ScoreConfig create */ export type ScoreConfigCreateArgs = { /** * Select specific fields to fetch from the ScoreConfig */ select?: ScoreConfigSelect | null /** * Omit specific fields from the ScoreConfig */ omit?: ScoreConfigOmit | null /** * Choose, which related nodes to fetch as well */ include?: ScoreConfigInclude | null /** * The data needed to create a ScoreConfig. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * ScoreConfig createMany */ export type ScoreConfigCreateManyArgs = { /** * The data used to create many ScoreConfigs. */ data: ScoreConfigCreateManyInput | ScoreConfigCreateManyInput[] skipDuplicates?: boolean } /** * ScoreConfig createManyAndReturn */ export type ScoreConfigCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ScoreConfig */ select?: ScoreConfigSelectCreateManyAndReturn | null /** * Omit specific fields from the ScoreConfig */ omit?: ScoreConfigOmit | null /** * The data used to create many ScoreConfigs. */ data: ScoreConfigCreateManyInput | ScoreConfigCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: ScoreConfigIncludeCreateManyAndReturn | null } /** * ScoreConfig update */ export type ScoreConfigUpdateArgs = { /** * Select specific fields to fetch from the ScoreConfig */ select?: ScoreConfigSelect | null /** * Omit specific fields from the ScoreConfig */ omit?: ScoreConfigOmit | null /** * Choose, which related nodes to fetch as well */ include?: ScoreConfigInclude | null /** * The data needed to update a ScoreConfig. */ data: XOR /** * Choose, which ScoreConfig to update. */ where: ScoreConfigWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ScoreConfig updateMany */ export type ScoreConfigUpdateManyArgs = { /** * The data used to update ScoreConfigs. */ data: XOR /** * Filter which ScoreConfigs to update */ where?: ScoreConfigWhereInput /** * Limit how many ScoreConfigs to update. */ limit?: number } /** * ScoreConfig updateManyAndReturn */ export type ScoreConfigUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ScoreConfig */ select?: ScoreConfigSelectUpdateManyAndReturn | null /** * Omit specific fields from the ScoreConfig */ omit?: ScoreConfigOmit | null /** * The data used to update ScoreConfigs. */ data: XOR /** * Filter which ScoreConfigs to update */ where?: ScoreConfigWhereInput /** * Limit how many ScoreConfigs to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: ScoreConfigIncludeUpdateManyAndReturn | null } /** * ScoreConfig upsert */ export type ScoreConfigUpsertArgs = { /** * Select specific fields to fetch from the ScoreConfig */ select?: ScoreConfigSelect | null /** * Omit specific fields from the ScoreConfig */ omit?: ScoreConfigOmit | null /** * Choose, which related nodes to fetch as well */ include?: ScoreConfigInclude | null /** * The filter to search for the ScoreConfig to update in case it exists. */ where: ScoreConfigWhereUniqueInput /** * In case the ScoreConfig found by the `where` argument doesn't exist, create a new ScoreConfig with this data. */ create: XOR /** * In case the ScoreConfig was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * ScoreConfig delete */ export type ScoreConfigDeleteArgs = { /** * Select specific fields to fetch from the ScoreConfig */ select?: ScoreConfigSelect | null /** * Omit specific fields from the ScoreConfig */ omit?: ScoreConfigOmit | null /** * Choose, which related nodes to fetch as well */ include?: ScoreConfigInclude | null /** * Filter which ScoreConfig to delete. */ where: ScoreConfigWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ScoreConfig deleteMany */ export type ScoreConfigDeleteManyArgs = { /** * Filter which ScoreConfigs to delete */ where?: ScoreConfigWhereInput /** * Limit how many ScoreConfigs to delete. */ limit?: number } /** * ScoreConfig.legacyScore */ export type ScoreConfig$legacyScoreArgs = { /** * Select specific fields to fetch from the LegacyPrismaScore */ select?: LegacyPrismaScoreSelect | null /** * Omit specific fields from the LegacyPrismaScore */ omit?: LegacyPrismaScoreOmit | null /** * Choose, which related nodes to fetch as well */ include?: LegacyPrismaScoreInclude | null where?: LegacyPrismaScoreWhereInput orderBy?: LegacyPrismaScoreOrderByWithRelationInput | LegacyPrismaScoreOrderByWithRelationInput[] cursor?: LegacyPrismaScoreWhereUniqueInput take?: number skip?: number distinct?: LegacyPrismaScoreScalarFieldEnum | LegacyPrismaScoreScalarFieldEnum[] } /** * ScoreConfig without action */ export type ScoreConfigDefaultArgs = { /** * Select specific fields to fetch from the ScoreConfig */ select?: ScoreConfigSelect | null /** * Omit specific fields from the ScoreConfig */ omit?: ScoreConfigOmit | null /** * Choose, which related nodes to fetch as well */ include?: ScoreConfigInclude | null } /** * Model AnnotationQueue */ export type AggregateAnnotationQueue = { _count: AnnotationQueueCountAggregateOutputType | null _min: AnnotationQueueMinAggregateOutputType | null _max: AnnotationQueueMaxAggregateOutputType | null } export type AnnotationQueueMinAggregateOutputType = { id: string | null name: string | null description: string | null projectId: string | null createdAt: Date | null updatedAt: Date | null } export type AnnotationQueueMaxAggregateOutputType = { id: string | null name: string | null description: string | null projectId: string | null createdAt: Date | null updatedAt: Date | null } export type AnnotationQueueCountAggregateOutputType = { id: number name: number description: number scoreConfigIds: number projectId: number createdAt: number updatedAt: number _all: number } export type AnnotationQueueMinAggregateInputType = { id?: true name?: true description?: true projectId?: true createdAt?: true updatedAt?: true } export type AnnotationQueueMaxAggregateInputType = { id?: true name?: true description?: true projectId?: true createdAt?: true updatedAt?: true } export type AnnotationQueueCountAggregateInputType = { id?: true name?: true description?: true scoreConfigIds?: true projectId?: true createdAt?: true updatedAt?: true _all?: true } export type AnnotationQueueAggregateArgs = { /** * Filter which AnnotationQueue to aggregate. */ where?: AnnotationQueueWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnnotationQueues to fetch. */ orderBy?: AnnotationQueueOrderByWithRelationInput | AnnotationQueueOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AnnotationQueueWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnnotationQueues 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` AnnotationQueues. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AnnotationQueues **/ _count?: true | AnnotationQueueCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AnnotationQueueMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AnnotationQueueMaxAggregateInputType } export type GetAnnotationQueueAggregateType = { [P in keyof T & keyof AggregateAnnotationQueue]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AnnotationQueueGroupByArgs = { where?: AnnotationQueueWhereInput orderBy?: AnnotationQueueOrderByWithAggregationInput | AnnotationQueueOrderByWithAggregationInput[] by: AnnotationQueueScalarFieldEnum[] | AnnotationQueueScalarFieldEnum having?: AnnotationQueueScalarWhereWithAggregatesInput take?: number skip?: number _count?: AnnotationQueueCountAggregateInputType | true _min?: AnnotationQueueMinAggregateInputType _max?: AnnotationQueueMaxAggregateInputType } export type AnnotationQueueGroupByOutputType = { id: string name: string description: string | null scoreConfigIds: string[] projectId: string createdAt: Date updatedAt: Date _count: AnnotationQueueCountAggregateOutputType | null _min: AnnotationQueueMinAggregateOutputType | null _max: AnnotationQueueMaxAggregateOutputType | null } type GetAnnotationQueueGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AnnotationQueueGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AnnotationQueueSelect = $Extensions.GetSelect<{ id?: boolean name?: boolean description?: boolean scoreConfigIds?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs annotationQueueItem?: boolean | AnnotationQueue$annotationQueueItemArgs annotationQueueAssignment?: boolean | AnnotationQueue$annotationQueueAssignmentArgs _count?: boolean | AnnotationQueueCountOutputTypeDefaultArgs }, ExtArgs["result"]["annotationQueue"]> export type AnnotationQueueSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean description?: boolean scoreConfigIds?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["annotationQueue"]> export type AnnotationQueueSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean description?: boolean scoreConfigIds?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["annotationQueue"]> export type AnnotationQueueSelectScalar = { id?: boolean name?: boolean description?: boolean scoreConfigIds?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean } export type AnnotationQueueOmit = $Extensions.GetOmit<"id" | "name" | "description" | "scoreConfigIds" | "projectId" | "createdAt" | "updatedAt", ExtArgs["result"]["annotationQueue"]> export type AnnotationQueueInclude = { project?: boolean | ProjectDefaultArgs annotationQueueItem?: boolean | AnnotationQueue$annotationQueueItemArgs annotationQueueAssignment?: boolean | AnnotationQueue$annotationQueueAssignmentArgs _count?: boolean | AnnotationQueueCountOutputTypeDefaultArgs } export type AnnotationQueueIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type AnnotationQueueIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $AnnotationQueuePayload = { name: "AnnotationQueue" objects: { project: Prisma.$ProjectPayload annotationQueueItem: Prisma.$AnnotationQueueItemPayload[] annotationQueueAssignment: Prisma.$AnnotationQueueAssignmentPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string name: string description: string | null scoreConfigIds: string[] projectId: string createdAt: Date updatedAt: Date }, ExtArgs["result"]["annotationQueue"]> composites: {} } type AnnotationQueueGetPayload = $Result.GetResult type AnnotationQueueCountArgs = Omit & { select?: AnnotationQueueCountAggregateInputType | true } export interface AnnotationQueueDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AnnotationQueue'], meta: { name: 'AnnotationQueue' } } /** * Find zero or one AnnotationQueue that matches the filter. * @param {AnnotationQueueFindUniqueArgs} args - Arguments to find a AnnotationQueue * @example * // Get one AnnotationQueue * const annotationQueue = await prisma.annotationQueue.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AnnotationQueueClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AnnotationQueue that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AnnotationQueueFindUniqueOrThrowArgs} args - Arguments to find a AnnotationQueue * @example * // Get one AnnotationQueue * const annotationQueue = await prisma.annotationQueue.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AnnotationQueueClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AnnotationQueue 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 {AnnotationQueueFindFirstArgs} args - Arguments to find a AnnotationQueue * @example * // Get one AnnotationQueue * const annotationQueue = await prisma.annotationQueue.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AnnotationQueueClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AnnotationQueue 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 {AnnotationQueueFindFirstOrThrowArgs} args - Arguments to find a AnnotationQueue * @example * // Get one AnnotationQueue * const annotationQueue = await prisma.annotationQueue.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AnnotationQueueClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AnnotationQueues 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 {AnnotationQueueFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AnnotationQueues * const annotationQueues = await prisma.annotationQueue.findMany() * * // Get first 10 AnnotationQueues * const annotationQueues = await prisma.annotationQueue.findMany({ take: 10 }) * * // Only select the `id` * const annotationQueueWithIdOnly = await prisma.annotationQueue.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AnnotationQueue. * @param {AnnotationQueueCreateArgs} args - Arguments to create a AnnotationQueue. * @example * // Create one AnnotationQueue * const AnnotationQueue = await prisma.annotationQueue.create({ * data: { * // ... data to create a AnnotationQueue * } * }) * */ create(args: SelectSubset>): Prisma__AnnotationQueueClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AnnotationQueues. * @param {AnnotationQueueCreateManyArgs} args - Arguments to create many AnnotationQueues. * @example * // Create many AnnotationQueues * const annotationQueue = await prisma.annotationQueue.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many AnnotationQueues and returns the data saved in the database. * @param {AnnotationQueueCreateManyAndReturnArgs} args - Arguments to create many AnnotationQueues. * @example * // Create many AnnotationQueues * const annotationQueue = await prisma.annotationQueue.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AnnotationQueues and only return the `id` * const annotationQueueWithIdOnly = await prisma.annotationQueue.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 AnnotationQueue. * @param {AnnotationQueueDeleteArgs} args - Arguments to delete one AnnotationQueue. * @example * // Delete one AnnotationQueue * const AnnotationQueue = await prisma.annotationQueue.delete({ * where: { * // ... filter to delete one AnnotationQueue * } * }) * */ delete(args: SelectSubset>): Prisma__AnnotationQueueClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AnnotationQueue. * @param {AnnotationQueueUpdateArgs} args - Arguments to update one AnnotationQueue. * @example * // Update one AnnotationQueue * const annotationQueue = await prisma.annotationQueue.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AnnotationQueueClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AnnotationQueues. * @param {AnnotationQueueDeleteManyArgs} args - Arguments to filter AnnotationQueues to delete. * @example * // Delete a few AnnotationQueues * const { count } = await prisma.annotationQueue.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AnnotationQueues. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnnotationQueueUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AnnotationQueues * const annotationQueue = await prisma.annotationQueue.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AnnotationQueues and returns the data updated in the database. * @param {AnnotationQueueUpdateManyAndReturnArgs} args - Arguments to update many AnnotationQueues. * @example * // Update many AnnotationQueues * const annotationQueue = await prisma.annotationQueue.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AnnotationQueues and only return the `id` * const annotationQueueWithIdOnly = await prisma.annotationQueue.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 AnnotationQueue. * @param {AnnotationQueueUpsertArgs} args - Arguments to update or create a AnnotationQueue. * @example * // Update or create a AnnotationQueue * const annotationQueue = await prisma.annotationQueue.upsert({ * create: { * // ... data to create a AnnotationQueue * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AnnotationQueue we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AnnotationQueueClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AnnotationQueues. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnnotationQueueCountArgs} args - Arguments to filter AnnotationQueues to count. * @example * // Count the number of AnnotationQueues * const count = await prisma.annotationQueue.count({ * where: { * // ... the filter for the AnnotationQueues 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 AnnotationQueue. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnnotationQueueAggregateArgs} 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 AnnotationQueue. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnnotationQueueGroupByArgs} 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 AnnotationQueueGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AnnotationQueueGroupByArgs['orderBy'] } : { orderBy?: AnnotationQueueGroupByArgs['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 ? GetAnnotationQueueGroupByPayload : Prisma.PrismaPromise /** * Fields of the AnnotationQueue model */ readonly fields: AnnotationQueueFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AnnotationQueue. * 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__AnnotationQueueClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> annotationQueueItem = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> annotationQueueAssignment = {}>(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 AnnotationQueue model */ interface AnnotationQueueFieldRefs { readonly id: FieldRef<"AnnotationQueue", 'String'> readonly name: FieldRef<"AnnotationQueue", 'String'> readonly description: FieldRef<"AnnotationQueue", 'String'> readonly scoreConfigIds: FieldRef<"AnnotationQueue", 'String[]'> readonly projectId: FieldRef<"AnnotationQueue", 'String'> readonly createdAt: FieldRef<"AnnotationQueue", 'DateTime'> readonly updatedAt: FieldRef<"AnnotationQueue", 'DateTime'> } // Custom InputTypes /** * AnnotationQueue findUnique */ export type AnnotationQueueFindUniqueArgs = { /** * Select specific fields to fetch from the AnnotationQueue */ select?: AnnotationQueueSelect | null /** * Omit specific fields from the AnnotationQueue */ omit?: AnnotationQueueOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueInclude | null /** * Filter, which AnnotationQueue to fetch. */ where: AnnotationQueueWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueue findUniqueOrThrow */ export type AnnotationQueueFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AnnotationQueue */ select?: AnnotationQueueSelect | null /** * Omit specific fields from the AnnotationQueue */ omit?: AnnotationQueueOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueInclude | null /** * Filter, which AnnotationQueue to fetch. */ where: AnnotationQueueWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueue findFirst */ export type AnnotationQueueFindFirstArgs = { /** * Select specific fields to fetch from the AnnotationQueue */ select?: AnnotationQueueSelect | null /** * Omit specific fields from the AnnotationQueue */ omit?: AnnotationQueueOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueInclude | null /** * Filter, which AnnotationQueue to fetch. */ where?: AnnotationQueueWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnnotationQueues to fetch. */ orderBy?: AnnotationQueueOrderByWithRelationInput | AnnotationQueueOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AnnotationQueues. */ cursor?: AnnotationQueueWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnnotationQueues 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` AnnotationQueues. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AnnotationQueues. */ distinct?: AnnotationQueueScalarFieldEnum | AnnotationQueueScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueue findFirstOrThrow */ export type AnnotationQueueFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AnnotationQueue */ select?: AnnotationQueueSelect | null /** * Omit specific fields from the AnnotationQueue */ omit?: AnnotationQueueOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueInclude | null /** * Filter, which AnnotationQueue to fetch. */ where?: AnnotationQueueWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnnotationQueues to fetch. */ orderBy?: AnnotationQueueOrderByWithRelationInput | AnnotationQueueOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AnnotationQueues. */ cursor?: AnnotationQueueWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnnotationQueues 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` AnnotationQueues. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AnnotationQueues. */ distinct?: AnnotationQueueScalarFieldEnum | AnnotationQueueScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueue findMany */ export type AnnotationQueueFindManyArgs = { /** * Select specific fields to fetch from the AnnotationQueue */ select?: AnnotationQueueSelect | null /** * Omit specific fields from the AnnotationQueue */ omit?: AnnotationQueueOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueInclude | null /** * Filter, which AnnotationQueues to fetch. */ where?: AnnotationQueueWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnnotationQueues to fetch. */ orderBy?: AnnotationQueueOrderByWithRelationInput | AnnotationQueueOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AnnotationQueues. */ cursor?: AnnotationQueueWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnnotationQueues 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` AnnotationQueues. */ skip?: number distinct?: AnnotationQueueScalarFieldEnum | AnnotationQueueScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueue create */ export type AnnotationQueueCreateArgs = { /** * Select specific fields to fetch from the AnnotationQueue */ select?: AnnotationQueueSelect | null /** * Omit specific fields from the AnnotationQueue */ omit?: AnnotationQueueOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueInclude | null /** * The data needed to create a AnnotationQueue. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueue createMany */ export type AnnotationQueueCreateManyArgs = { /** * The data used to create many AnnotationQueues. */ data: AnnotationQueueCreateManyInput | AnnotationQueueCreateManyInput[] skipDuplicates?: boolean } /** * AnnotationQueue createManyAndReturn */ export type AnnotationQueueCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AnnotationQueue */ select?: AnnotationQueueSelectCreateManyAndReturn | null /** * Omit specific fields from the AnnotationQueue */ omit?: AnnotationQueueOmit | null /** * The data used to create many AnnotationQueues. */ data: AnnotationQueueCreateManyInput | AnnotationQueueCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueIncludeCreateManyAndReturn | null } /** * AnnotationQueue update */ export type AnnotationQueueUpdateArgs = { /** * Select specific fields to fetch from the AnnotationQueue */ select?: AnnotationQueueSelect | null /** * Omit specific fields from the AnnotationQueue */ omit?: AnnotationQueueOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueInclude | null /** * The data needed to update a AnnotationQueue. */ data: XOR /** * Choose, which AnnotationQueue to update. */ where: AnnotationQueueWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueue updateMany */ export type AnnotationQueueUpdateManyArgs = { /** * The data used to update AnnotationQueues. */ data: XOR /** * Filter which AnnotationQueues to update */ where?: AnnotationQueueWhereInput /** * Limit how many AnnotationQueues to update. */ limit?: number } /** * AnnotationQueue updateManyAndReturn */ export type AnnotationQueueUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AnnotationQueue */ select?: AnnotationQueueSelectUpdateManyAndReturn | null /** * Omit specific fields from the AnnotationQueue */ omit?: AnnotationQueueOmit | null /** * The data used to update AnnotationQueues. */ data: XOR /** * Filter which AnnotationQueues to update */ where?: AnnotationQueueWhereInput /** * Limit how many AnnotationQueues to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueIncludeUpdateManyAndReturn | null } /** * AnnotationQueue upsert */ export type AnnotationQueueUpsertArgs = { /** * Select specific fields to fetch from the AnnotationQueue */ select?: AnnotationQueueSelect | null /** * Omit specific fields from the AnnotationQueue */ omit?: AnnotationQueueOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueInclude | null /** * The filter to search for the AnnotationQueue to update in case it exists. */ where: AnnotationQueueWhereUniqueInput /** * In case the AnnotationQueue found by the `where` argument doesn't exist, create a new AnnotationQueue with this data. */ create: XOR /** * In case the AnnotationQueue was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueue delete */ export type AnnotationQueueDeleteArgs = { /** * Select specific fields to fetch from the AnnotationQueue */ select?: AnnotationQueueSelect | null /** * Omit specific fields from the AnnotationQueue */ omit?: AnnotationQueueOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueInclude | null /** * Filter which AnnotationQueue to delete. */ where: AnnotationQueueWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueue deleteMany */ export type AnnotationQueueDeleteManyArgs = { /** * Filter which AnnotationQueues to delete */ where?: AnnotationQueueWhereInput /** * Limit how many AnnotationQueues to delete. */ limit?: number } /** * AnnotationQueue.annotationQueueItem */ export type AnnotationQueue$annotationQueueItemArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelect | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemInclude | null where?: AnnotationQueueItemWhereInput orderBy?: AnnotationQueueItemOrderByWithRelationInput | AnnotationQueueItemOrderByWithRelationInput[] cursor?: AnnotationQueueItemWhereUniqueInput take?: number skip?: number distinct?: AnnotationQueueItemScalarFieldEnum | AnnotationQueueItemScalarFieldEnum[] } /** * AnnotationQueue.annotationQueueAssignment */ export type AnnotationQueue$annotationQueueAssignmentArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelect | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentInclude | null where?: AnnotationQueueAssignmentWhereInput orderBy?: AnnotationQueueAssignmentOrderByWithRelationInput | AnnotationQueueAssignmentOrderByWithRelationInput[] cursor?: AnnotationQueueAssignmentWhereUniqueInput take?: number skip?: number distinct?: AnnotationQueueAssignmentScalarFieldEnum | AnnotationQueueAssignmentScalarFieldEnum[] } /** * AnnotationQueue without action */ export type AnnotationQueueDefaultArgs = { /** * Select specific fields to fetch from the AnnotationQueue */ select?: AnnotationQueueSelect | null /** * Omit specific fields from the AnnotationQueue */ omit?: AnnotationQueueOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueInclude | null } /** * Model AnnotationQueueItem */ export type AggregateAnnotationQueueItem = { _count: AnnotationQueueItemCountAggregateOutputType | null _min: AnnotationQueueItemMinAggregateOutputType | null _max: AnnotationQueueItemMaxAggregateOutputType | null } export type AnnotationQueueItemMinAggregateOutputType = { id: string | null queueId: string | null objectId: string | null objectType: $Enums.AnnotationQueueObjectType | null status: $Enums.AnnotationQueueStatus | null lockedAt: Date | null lockedByUserId: string | null annotatorUserId: string | null completedAt: Date | null projectId: string | null createdAt: Date | null updatedAt: Date | null } export type AnnotationQueueItemMaxAggregateOutputType = { id: string | null queueId: string | null objectId: string | null objectType: $Enums.AnnotationQueueObjectType | null status: $Enums.AnnotationQueueStatus | null lockedAt: Date | null lockedByUserId: string | null annotatorUserId: string | null completedAt: Date | null projectId: string | null createdAt: Date | null updatedAt: Date | null } export type AnnotationQueueItemCountAggregateOutputType = { id: number queueId: number objectId: number objectType: number status: number lockedAt: number lockedByUserId: number annotatorUserId: number completedAt: number projectId: number createdAt: number updatedAt: number _all: number } export type AnnotationQueueItemMinAggregateInputType = { id?: true queueId?: true objectId?: true objectType?: true status?: true lockedAt?: true lockedByUserId?: true annotatorUserId?: true completedAt?: true projectId?: true createdAt?: true updatedAt?: true } export type AnnotationQueueItemMaxAggregateInputType = { id?: true queueId?: true objectId?: true objectType?: true status?: true lockedAt?: true lockedByUserId?: true annotatorUserId?: true completedAt?: true projectId?: true createdAt?: true updatedAt?: true } export type AnnotationQueueItemCountAggregateInputType = { id?: true queueId?: true objectId?: true objectType?: true status?: true lockedAt?: true lockedByUserId?: true annotatorUserId?: true completedAt?: true projectId?: true createdAt?: true updatedAt?: true _all?: true } export type AnnotationQueueItemAggregateArgs = { /** * Filter which AnnotationQueueItem to aggregate. */ where?: AnnotationQueueItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnnotationQueueItems to fetch. */ orderBy?: AnnotationQueueItemOrderByWithRelationInput | AnnotationQueueItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AnnotationQueueItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnnotationQueueItems 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` AnnotationQueueItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AnnotationQueueItems **/ _count?: true | AnnotationQueueItemCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AnnotationQueueItemMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AnnotationQueueItemMaxAggregateInputType } export type GetAnnotationQueueItemAggregateType = { [P in keyof T & keyof AggregateAnnotationQueueItem]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AnnotationQueueItemGroupByArgs = { where?: AnnotationQueueItemWhereInput orderBy?: AnnotationQueueItemOrderByWithAggregationInput | AnnotationQueueItemOrderByWithAggregationInput[] by: AnnotationQueueItemScalarFieldEnum[] | AnnotationQueueItemScalarFieldEnum having?: AnnotationQueueItemScalarWhereWithAggregatesInput take?: number skip?: number _count?: AnnotationQueueItemCountAggregateInputType | true _min?: AnnotationQueueItemMinAggregateInputType _max?: AnnotationQueueItemMaxAggregateInputType } export type AnnotationQueueItemGroupByOutputType = { id: string queueId: string objectId: string objectType: $Enums.AnnotationQueueObjectType status: $Enums.AnnotationQueueStatus lockedAt: Date | null lockedByUserId: string | null annotatorUserId: string | null completedAt: Date | null projectId: string createdAt: Date updatedAt: Date _count: AnnotationQueueItemCountAggregateOutputType | null _min: AnnotationQueueItemMinAggregateOutputType | null _max: AnnotationQueueItemMaxAggregateOutputType | null } type GetAnnotationQueueItemGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AnnotationQueueItemGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AnnotationQueueItemSelect = $Extensions.GetSelect<{ id?: boolean queueId?: boolean objectId?: boolean objectType?: boolean status?: boolean lockedAt?: boolean lockedByUserId?: boolean annotatorUserId?: boolean completedAt?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean queue?: boolean | AnnotationQueueDefaultArgs lockedByUser?: boolean | AnnotationQueueItem$lockedByUserArgs annotatorUser?: boolean | AnnotationQueueItem$annotatorUserArgs project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["annotationQueueItem"]> export type AnnotationQueueItemSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean queueId?: boolean objectId?: boolean objectType?: boolean status?: boolean lockedAt?: boolean lockedByUserId?: boolean annotatorUserId?: boolean completedAt?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean queue?: boolean | AnnotationQueueDefaultArgs lockedByUser?: boolean | AnnotationQueueItem$lockedByUserArgs annotatorUser?: boolean | AnnotationQueueItem$annotatorUserArgs project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["annotationQueueItem"]> export type AnnotationQueueItemSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean queueId?: boolean objectId?: boolean objectType?: boolean status?: boolean lockedAt?: boolean lockedByUserId?: boolean annotatorUserId?: boolean completedAt?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean queue?: boolean | AnnotationQueueDefaultArgs lockedByUser?: boolean | AnnotationQueueItem$lockedByUserArgs annotatorUser?: boolean | AnnotationQueueItem$annotatorUserArgs project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["annotationQueueItem"]> export type AnnotationQueueItemSelectScalar = { id?: boolean queueId?: boolean objectId?: boolean objectType?: boolean status?: boolean lockedAt?: boolean lockedByUserId?: boolean annotatorUserId?: boolean completedAt?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean } export type AnnotationQueueItemOmit = $Extensions.GetOmit<"id" | "queueId" | "objectId" | "objectType" | "status" | "lockedAt" | "lockedByUserId" | "annotatorUserId" | "completedAt" | "projectId" | "createdAt" | "updatedAt", ExtArgs["result"]["annotationQueueItem"]> export type AnnotationQueueItemInclude = { queue?: boolean | AnnotationQueueDefaultArgs lockedByUser?: boolean | AnnotationQueueItem$lockedByUserArgs annotatorUser?: boolean | AnnotationQueueItem$annotatorUserArgs project?: boolean | ProjectDefaultArgs } export type AnnotationQueueItemIncludeCreateManyAndReturn = { queue?: boolean | AnnotationQueueDefaultArgs lockedByUser?: boolean | AnnotationQueueItem$lockedByUserArgs annotatorUser?: boolean | AnnotationQueueItem$annotatorUserArgs project?: boolean | ProjectDefaultArgs } export type AnnotationQueueItemIncludeUpdateManyAndReturn = { queue?: boolean | AnnotationQueueDefaultArgs lockedByUser?: boolean | AnnotationQueueItem$lockedByUserArgs annotatorUser?: boolean | AnnotationQueueItem$annotatorUserArgs project?: boolean | ProjectDefaultArgs } export type $AnnotationQueueItemPayload = { name: "AnnotationQueueItem" objects: { queue: Prisma.$AnnotationQueuePayload lockedByUser: Prisma.$UserPayload | null annotatorUser: Prisma.$UserPayload | null project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ id: string queueId: string objectId: string objectType: $Enums.AnnotationQueueObjectType status: $Enums.AnnotationQueueStatus lockedAt: Date | null lockedByUserId: string | null annotatorUserId: string | null completedAt: Date | null projectId: string createdAt: Date updatedAt: Date }, ExtArgs["result"]["annotationQueueItem"]> composites: {} } type AnnotationQueueItemGetPayload = $Result.GetResult type AnnotationQueueItemCountArgs = Omit & { select?: AnnotationQueueItemCountAggregateInputType | true } export interface AnnotationQueueItemDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AnnotationQueueItem'], meta: { name: 'AnnotationQueueItem' } } /** * Find zero or one AnnotationQueueItem that matches the filter. * @param {AnnotationQueueItemFindUniqueArgs} args - Arguments to find a AnnotationQueueItem * @example * // Get one AnnotationQueueItem * const annotationQueueItem = await prisma.annotationQueueItem.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AnnotationQueueItemClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AnnotationQueueItem that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AnnotationQueueItemFindUniqueOrThrowArgs} args - Arguments to find a AnnotationQueueItem * @example * // Get one AnnotationQueueItem * const annotationQueueItem = await prisma.annotationQueueItem.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AnnotationQueueItemClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AnnotationQueueItem 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 {AnnotationQueueItemFindFirstArgs} args - Arguments to find a AnnotationQueueItem * @example * // Get one AnnotationQueueItem * const annotationQueueItem = await prisma.annotationQueueItem.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AnnotationQueueItemClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AnnotationQueueItem 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 {AnnotationQueueItemFindFirstOrThrowArgs} args - Arguments to find a AnnotationQueueItem * @example * // Get one AnnotationQueueItem * const annotationQueueItem = await prisma.annotationQueueItem.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AnnotationQueueItemClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AnnotationQueueItems 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 {AnnotationQueueItemFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AnnotationQueueItems * const annotationQueueItems = await prisma.annotationQueueItem.findMany() * * // Get first 10 AnnotationQueueItems * const annotationQueueItems = await prisma.annotationQueueItem.findMany({ take: 10 }) * * // Only select the `id` * const annotationQueueItemWithIdOnly = await prisma.annotationQueueItem.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AnnotationQueueItem. * @param {AnnotationQueueItemCreateArgs} args - Arguments to create a AnnotationQueueItem. * @example * // Create one AnnotationQueueItem * const AnnotationQueueItem = await prisma.annotationQueueItem.create({ * data: { * // ... data to create a AnnotationQueueItem * } * }) * */ create(args: SelectSubset>): Prisma__AnnotationQueueItemClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AnnotationQueueItems. * @param {AnnotationQueueItemCreateManyArgs} args - Arguments to create many AnnotationQueueItems. * @example * // Create many AnnotationQueueItems * const annotationQueueItem = await prisma.annotationQueueItem.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many AnnotationQueueItems and returns the data saved in the database. * @param {AnnotationQueueItemCreateManyAndReturnArgs} args - Arguments to create many AnnotationQueueItems. * @example * // Create many AnnotationQueueItems * const annotationQueueItem = await prisma.annotationQueueItem.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AnnotationQueueItems and only return the `id` * const annotationQueueItemWithIdOnly = await prisma.annotationQueueItem.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 AnnotationQueueItem. * @param {AnnotationQueueItemDeleteArgs} args - Arguments to delete one AnnotationQueueItem. * @example * // Delete one AnnotationQueueItem * const AnnotationQueueItem = await prisma.annotationQueueItem.delete({ * where: { * // ... filter to delete one AnnotationQueueItem * } * }) * */ delete(args: SelectSubset>): Prisma__AnnotationQueueItemClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AnnotationQueueItem. * @param {AnnotationQueueItemUpdateArgs} args - Arguments to update one AnnotationQueueItem. * @example * // Update one AnnotationQueueItem * const annotationQueueItem = await prisma.annotationQueueItem.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AnnotationQueueItemClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AnnotationQueueItems. * @param {AnnotationQueueItemDeleteManyArgs} args - Arguments to filter AnnotationQueueItems to delete. * @example * // Delete a few AnnotationQueueItems * const { count } = await prisma.annotationQueueItem.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AnnotationQueueItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnnotationQueueItemUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AnnotationQueueItems * const annotationQueueItem = await prisma.annotationQueueItem.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AnnotationQueueItems and returns the data updated in the database. * @param {AnnotationQueueItemUpdateManyAndReturnArgs} args - Arguments to update many AnnotationQueueItems. * @example * // Update many AnnotationQueueItems * const annotationQueueItem = await prisma.annotationQueueItem.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AnnotationQueueItems and only return the `id` * const annotationQueueItemWithIdOnly = await prisma.annotationQueueItem.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 AnnotationQueueItem. * @param {AnnotationQueueItemUpsertArgs} args - Arguments to update or create a AnnotationQueueItem. * @example * // Update or create a AnnotationQueueItem * const annotationQueueItem = await prisma.annotationQueueItem.upsert({ * create: { * // ... data to create a AnnotationQueueItem * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AnnotationQueueItem we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AnnotationQueueItemClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AnnotationQueueItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnnotationQueueItemCountArgs} args - Arguments to filter AnnotationQueueItems to count. * @example * // Count the number of AnnotationQueueItems * const count = await prisma.annotationQueueItem.count({ * where: { * // ... the filter for the AnnotationQueueItems 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 AnnotationQueueItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnnotationQueueItemAggregateArgs} 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 AnnotationQueueItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnnotationQueueItemGroupByArgs} 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 AnnotationQueueItemGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AnnotationQueueItemGroupByArgs['orderBy'] } : { orderBy?: AnnotationQueueItemGroupByArgs['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 ? GetAnnotationQueueItemGroupByPayload : Prisma.PrismaPromise /** * Fields of the AnnotationQueueItem model */ readonly fields: AnnotationQueueItemFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AnnotationQueueItem. * 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__AnnotationQueueItemClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" queue = {}>(args?: Subset>): Prisma__AnnotationQueueClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> lockedByUser = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> annotatorUser = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> project = {}>(args?: Subset>): Prisma__ProjectClient<$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 AnnotationQueueItem model */ interface AnnotationQueueItemFieldRefs { readonly id: FieldRef<"AnnotationQueueItem", 'String'> readonly queueId: FieldRef<"AnnotationQueueItem", 'String'> readonly objectId: FieldRef<"AnnotationQueueItem", 'String'> readonly objectType: FieldRef<"AnnotationQueueItem", 'AnnotationQueueObjectType'> readonly status: FieldRef<"AnnotationQueueItem", 'AnnotationQueueStatus'> readonly lockedAt: FieldRef<"AnnotationQueueItem", 'DateTime'> readonly lockedByUserId: FieldRef<"AnnotationQueueItem", 'String'> readonly annotatorUserId: FieldRef<"AnnotationQueueItem", 'String'> readonly completedAt: FieldRef<"AnnotationQueueItem", 'DateTime'> readonly projectId: FieldRef<"AnnotationQueueItem", 'String'> readonly createdAt: FieldRef<"AnnotationQueueItem", 'DateTime'> readonly updatedAt: FieldRef<"AnnotationQueueItem", 'DateTime'> } // Custom InputTypes /** * AnnotationQueueItem findUnique */ export type AnnotationQueueItemFindUniqueArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelect | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemInclude | null /** * Filter, which AnnotationQueueItem to fetch. */ where: AnnotationQueueItemWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueItem findUniqueOrThrow */ export type AnnotationQueueItemFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelect | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemInclude | null /** * Filter, which AnnotationQueueItem to fetch. */ where: AnnotationQueueItemWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueItem findFirst */ export type AnnotationQueueItemFindFirstArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelect | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemInclude | null /** * Filter, which AnnotationQueueItem to fetch. */ where?: AnnotationQueueItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnnotationQueueItems to fetch. */ orderBy?: AnnotationQueueItemOrderByWithRelationInput | AnnotationQueueItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AnnotationQueueItems. */ cursor?: AnnotationQueueItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnnotationQueueItems 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` AnnotationQueueItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AnnotationQueueItems. */ distinct?: AnnotationQueueItemScalarFieldEnum | AnnotationQueueItemScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueItem findFirstOrThrow */ export type AnnotationQueueItemFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelect | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemInclude | null /** * Filter, which AnnotationQueueItem to fetch. */ where?: AnnotationQueueItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnnotationQueueItems to fetch. */ orderBy?: AnnotationQueueItemOrderByWithRelationInput | AnnotationQueueItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AnnotationQueueItems. */ cursor?: AnnotationQueueItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnnotationQueueItems 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` AnnotationQueueItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AnnotationQueueItems. */ distinct?: AnnotationQueueItemScalarFieldEnum | AnnotationQueueItemScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueItem findMany */ export type AnnotationQueueItemFindManyArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelect | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemInclude | null /** * Filter, which AnnotationQueueItems to fetch. */ where?: AnnotationQueueItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnnotationQueueItems to fetch. */ orderBy?: AnnotationQueueItemOrderByWithRelationInput | AnnotationQueueItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AnnotationQueueItems. */ cursor?: AnnotationQueueItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnnotationQueueItems 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` AnnotationQueueItems. */ skip?: number distinct?: AnnotationQueueItemScalarFieldEnum | AnnotationQueueItemScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueItem create */ export type AnnotationQueueItemCreateArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelect | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemInclude | null /** * The data needed to create a AnnotationQueueItem. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueItem createMany */ export type AnnotationQueueItemCreateManyArgs = { /** * The data used to create many AnnotationQueueItems. */ data: AnnotationQueueItemCreateManyInput | AnnotationQueueItemCreateManyInput[] skipDuplicates?: boolean } /** * AnnotationQueueItem createManyAndReturn */ export type AnnotationQueueItemCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelectCreateManyAndReturn | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * The data used to create many AnnotationQueueItems. */ data: AnnotationQueueItemCreateManyInput | AnnotationQueueItemCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemIncludeCreateManyAndReturn | null } /** * AnnotationQueueItem update */ export type AnnotationQueueItemUpdateArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelect | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemInclude | null /** * The data needed to update a AnnotationQueueItem. */ data: XOR /** * Choose, which AnnotationQueueItem to update. */ where: AnnotationQueueItemWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueItem updateMany */ export type AnnotationQueueItemUpdateManyArgs = { /** * The data used to update AnnotationQueueItems. */ data: XOR /** * Filter which AnnotationQueueItems to update */ where?: AnnotationQueueItemWhereInput /** * Limit how many AnnotationQueueItems to update. */ limit?: number } /** * AnnotationQueueItem updateManyAndReturn */ export type AnnotationQueueItemUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelectUpdateManyAndReturn | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * The data used to update AnnotationQueueItems. */ data: XOR /** * Filter which AnnotationQueueItems to update */ where?: AnnotationQueueItemWhereInput /** * Limit how many AnnotationQueueItems to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemIncludeUpdateManyAndReturn | null } /** * AnnotationQueueItem upsert */ export type AnnotationQueueItemUpsertArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelect | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemInclude | null /** * The filter to search for the AnnotationQueueItem to update in case it exists. */ where: AnnotationQueueItemWhereUniqueInput /** * In case the AnnotationQueueItem found by the `where` argument doesn't exist, create a new AnnotationQueueItem with this data. */ create: XOR /** * In case the AnnotationQueueItem was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueItem delete */ export type AnnotationQueueItemDeleteArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelect | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemInclude | null /** * Filter which AnnotationQueueItem to delete. */ where: AnnotationQueueItemWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueItem deleteMany */ export type AnnotationQueueItemDeleteManyArgs = { /** * Filter which AnnotationQueueItems to delete */ where?: AnnotationQueueItemWhereInput /** * Limit how many AnnotationQueueItems to delete. */ limit?: number } /** * AnnotationQueueItem.lockedByUser */ export type AnnotationQueueItem$lockedByUserArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput } /** * AnnotationQueueItem.annotatorUser */ export type AnnotationQueueItem$annotatorUserArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput } /** * AnnotationQueueItem without action */ export type AnnotationQueueItemDefaultArgs = { /** * Select specific fields to fetch from the AnnotationQueueItem */ select?: AnnotationQueueItemSelect | null /** * Omit specific fields from the AnnotationQueueItem */ omit?: AnnotationQueueItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueItemInclude | null } /** * Model AnnotationQueueAssignment */ export type AggregateAnnotationQueueAssignment = { _count: AnnotationQueueAssignmentCountAggregateOutputType | null _min: AnnotationQueueAssignmentMinAggregateOutputType | null _max: AnnotationQueueAssignmentMaxAggregateOutputType | null } export type AnnotationQueueAssignmentMinAggregateOutputType = { id: string | null projectId: string | null userId: string | null queueId: string | null createdAt: Date | null updatedAt: Date | null } export type AnnotationQueueAssignmentMaxAggregateOutputType = { id: string | null projectId: string | null userId: string | null queueId: string | null createdAt: Date | null updatedAt: Date | null } export type AnnotationQueueAssignmentCountAggregateOutputType = { id: number projectId: number userId: number queueId: number createdAt: number updatedAt: number _all: number } export type AnnotationQueueAssignmentMinAggregateInputType = { id?: true projectId?: true userId?: true queueId?: true createdAt?: true updatedAt?: true } export type AnnotationQueueAssignmentMaxAggregateInputType = { id?: true projectId?: true userId?: true queueId?: true createdAt?: true updatedAt?: true } export type AnnotationQueueAssignmentCountAggregateInputType = { id?: true projectId?: true userId?: true queueId?: true createdAt?: true updatedAt?: true _all?: true } export type AnnotationQueueAssignmentAggregateArgs = { /** * Filter which AnnotationQueueAssignment to aggregate. */ where?: AnnotationQueueAssignmentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnnotationQueueAssignments to fetch. */ orderBy?: AnnotationQueueAssignmentOrderByWithRelationInput | AnnotationQueueAssignmentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AnnotationQueueAssignmentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnnotationQueueAssignments 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` AnnotationQueueAssignments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AnnotationQueueAssignments **/ _count?: true | AnnotationQueueAssignmentCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AnnotationQueueAssignmentMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AnnotationQueueAssignmentMaxAggregateInputType } export type GetAnnotationQueueAssignmentAggregateType = { [P in keyof T & keyof AggregateAnnotationQueueAssignment]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AnnotationQueueAssignmentGroupByArgs = { where?: AnnotationQueueAssignmentWhereInput orderBy?: AnnotationQueueAssignmentOrderByWithAggregationInput | AnnotationQueueAssignmentOrderByWithAggregationInput[] by: AnnotationQueueAssignmentScalarFieldEnum[] | AnnotationQueueAssignmentScalarFieldEnum having?: AnnotationQueueAssignmentScalarWhereWithAggregatesInput take?: number skip?: number _count?: AnnotationQueueAssignmentCountAggregateInputType | true _min?: AnnotationQueueAssignmentMinAggregateInputType _max?: AnnotationQueueAssignmentMaxAggregateInputType } export type AnnotationQueueAssignmentGroupByOutputType = { id: string projectId: string userId: string queueId: string createdAt: Date updatedAt: Date _count: AnnotationQueueAssignmentCountAggregateOutputType | null _min: AnnotationQueueAssignmentMinAggregateOutputType | null _max: AnnotationQueueAssignmentMaxAggregateOutputType | null } type GetAnnotationQueueAssignmentGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AnnotationQueueAssignmentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AnnotationQueueAssignmentSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean userId?: boolean queueId?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs user?: boolean | UserDefaultArgs queue?: boolean | AnnotationQueueDefaultArgs }, ExtArgs["result"]["annotationQueueAssignment"]> export type AnnotationQueueAssignmentSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean userId?: boolean queueId?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs user?: boolean | UserDefaultArgs queue?: boolean | AnnotationQueueDefaultArgs }, ExtArgs["result"]["annotationQueueAssignment"]> export type AnnotationQueueAssignmentSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean userId?: boolean queueId?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs user?: boolean | UserDefaultArgs queue?: boolean | AnnotationQueueDefaultArgs }, ExtArgs["result"]["annotationQueueAssignment"]> export type AnnotationQueueAssignmentSelectScalar = { id?: boolean projectId?: boolean userId?: boolean queueId?: boolean createdAt?: boolean updatedAt?: boolean } export type AnnotationQueueAssignmentOmit = $Extensions.GetOmit<"id" | "projectId" | "userId" | "queueId" | "createdAt" | "updatedAt", ExtArgs["result"]["annotationQueueAssignment"]> export type AnnotationQueueAssignmentInclude = { project?: boolean | ProjectDefaultArgs user?: boolean | UserDefaultArgs queue?: boolean | AnnotationQueueDefaultArgs } export type AnnotationQueueAssignmentIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs user?: boolean | UserDefaultArgs queue?: boolean | AnnotationQueueDefaultArgs } export type AnnotationQueueAssignmentIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs user?: boolean | UserDefaultArgs queue?: boolean | AnnotationQueueDefaultArgs } export type $AnnotationQueueAssignmentPayload = { name: "AnnotationQueueAssignment" objects: { project: Prisma.$ProjectPayload user: Prisma.$UserPayload queue: Prisma.$AnnotationQueuePayload } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string userId: string queueId: string createdAt: Date updatedAt: Date }, ExtArgs["result"]["annotationQueueAssignment"]> composites: {} } type AnnotationQueueAssignmentGetPayload = $Result.GetResult type AnnotationQueueAssignmentCountArgs = Omit & { select?: AnnotationQueueAssignmentCountAggregateInputType | true } export interface AnnotationQueueAssignmentDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AnnotationQueueAssignment'], meta: { name: 'AnnotationQueueAssignment' } } /** * Find zero or one AnnotationQueueAssignment that matches the filter. * @param {AnnotationQueueAssignmentFindUniqueArgs} args - Arguments to find a AnnotationQueueAssignment * @example * // Get one AnnotationQueueAssignment * const annotationQueueAssignment = await prisma.annotationQueueAssignment.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AnnotationQueueAssignmentClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AnnotationQueueAssignment that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AnnotationQueueAssignmentFindUniqueOrThrowArgs} args - Arguments to find a AnnotationQueueAssignment * @example * // Get one AnnotationQueueAssignment * const annotationQueueAssignment = await prisma.annotationQueueAssignment.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AnnotationQueueAssignmentClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AnnotationQueueAssignment 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 {AnnotationQueueAssignmentFindFirstArgs} args - Arguments to find a AnnotationQueueAssignment * @example * // Get one AnnotationQueueAssignment * const annotationQueueAssignment = await prisma.annotationQueueAssignment.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AnnotationQueueAssignmentClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AnnotationQueueAssignment 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 {AnnotationQueueAssignmentFindFirstOrThrowArgs} args - Arguments to find a AnnotationQueueAssignment * @example * // Get one AnnotationQueueAssignment * const annotationQueueAssignment = await prisma.annotationQueueAssignment.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AnnotationQueueAssignmentClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AnnotationQueueAssignments 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 {AnnotationQueueAssignmentFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AnnotationQueueAssignments * const annotationQueueAssignments = await prisma.annotationQueueAssignment.findMany() * * // Get first 10 AnnotationQueueAssignments * const annotationQueueAssignments = await prisma.annotationQueueAssignment.findMany({ take: 10 }) * * // Only select the `id` * const annotationQueueAssignmentWithIdOnly = await prisma.annotationQueueAssignment.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AnnotationQueueAssignment. * @param {AnnotationQueueAssignmentCreateArgs} args - Arguments to create a AnnotationQueueAssignment. * @example * // Create one AnnotationQueueAssignment * const AnnotationQueueAssignment = await prisma.annotationQueueAssignment.create({ * data: { * // ... data to create a AnnotationQueueAssignment * } * }) * */ create(args: SelectSubset>): Prisma__AnnotationQueueAssignmentClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AnnotationQueueAssignments. * @param {AnnotationQueueAssignmentCreateManyArgs} args - Arguments to create many AnnotationQueueAssignments. * @example * // Create many AnnotationQueueAssignments * const annotationQueueAssignment = await prisma.annotationQueueAssignment.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many AnnotationQueueAssignments and returns the data saved in the database. * @param {AnnotationQueueAssignmentCreateManyAndReturnArgs} args - Arguments to create many AnnotationQueueAssignments. * @example * // Create many AnnotationQueueAssignments * const annotationQueueAssignment = await prisma.annotationQueueAssignment.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AnnotationQueueAssignments and only return the `id` * const annotationQueueAssignmentWithIdOnly = await prisma.annotationQueueAssignment.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 AnnotationQueueAssignment. * @param {AnnotationQueueAssignmentDeleteArgs} args - Arguments to delete one AnnotationQueueAssignment. * @example * // Delete one AnnotationQueueAssignment * const AnnotationQueueAssignment = await prisma.annotationQueueAssignment.delete({ * where: { * // ... filter to delete one AnnotationQueueAssignment * } * }) * */ delete(args: SelectSubset>): Prisma__AnnotationQueueAssignmentClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AnnotationQueueAssignment. * @param {AnnotationQueueAssignmentUpdateArgs} args - Arguments to update one AnnotationQueueAssignment. * @example * // Update one AnnotationQueueAssignment * const annotationQueueAssignment = await prisma.annotationQueueAssignment.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AnnotationQueueAssignmentClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AnnotationQueueAssignments. * @param {AnnotationQueueAssignmentDeleteManyArgs} args - Arguments to filter AnnotationQueueAssignments to delete. * @example * // Delete a few AnnotationQueueAssignments * const { count } = await prisma.annotationQueueAssignment.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AnnotationQueueAssignments. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnnotationQueueAssignmentUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AnnotationQueueAssignments * const annotationQueueAssignment = await prisma.annotationQueueAssignment.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AnnotationQueueAssignments and returns the data updated in the database. * @param {AnnotationQueueAssignmentUpdateManyAndReturnArgs} args - Arguments to update many AnnotationQueueAssignments. * @example * // Update many AnnotationQueueAssignments * const annotationQueueAssignment = await prisma.annotationQueueAssignment.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AnnotationQueueAssignments and only return the `id` * const annotationQueueAssignmentWithIdOnly = await prisma.annotationQueueAssignment.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 AnnotationQueueAssignment. * @param {AnnotationQueueAssignmentUpsertArgs} args - Arguments to update or create a AnnotationQueueAssignment. * @example * // Update or create a AnnotationQueueAssignment * const annotationQueueAssignment = await prisma.annotationQueueAssignment.upsert({ * create: { * // ... data to create a AnnotationQueueAssignment * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AnnotationQueueAssignment we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AnnotationQueueAssignmentClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AnnotationQueueAssignments. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnnotationQueueAssignmentCountArgs} args - Arguments to filter AnnotationQueueAssignments to count. * @example * // Count the number of AnnotationQueueAssignments * const count = await prisma.annotationQueueAssignment.count({ * where: { * // ... the filter for the AnnotationQueueAssignments 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 AnnotationQueueAssignment. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnnotationQueueAssignmentAggregateArgs} 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 AnnotationQueueAssignment. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnnotationQueueAssignmentGroupByArgs} 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 AnnotationQueueAssignmentGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AnnotationQueueAssignmentGroupByArgs['orderBy'] } : { orderBy?: AnnotationQueueAssignmentGroupByArgs['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 ? GetAnnotationQueueAssignmentGroupByPayload : Prisma.PrismaPromise /** * Fields of the AnnotationQueueAssignment model */ readonly fields: AnnotationQueueAssignmentFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AnnotationQueueAssignment. * 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__AnnotationQueueAssignmentClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> queue = {}>(args?: Subset>): Prisma__AnnotationQueueClient<$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 AnnotationQueueAssignment model */ interface AnnotationQueueAssignmentFieldRefs { readonly id: FieldRef<"AnnotationQueueAssignment", 'String'> readonly projectId: FieldRef<"AnnotationQueueAssignment", 'String'> readonly userId: FieldRef<"AnnotationQueueAssignment", 'String'> readonly queueId: FieldRef<"AnnotationQueueAssignment", 'String'> readonly createdAt: FieldRef<"AnnotationQueueAssignment", 'DateTime'> readonly updatedAt: FieldRef<"AnnotationQueueAssignment", 'DateTime'> } // Custom InputTypes /** * AnnotationQueueAssignment findUnique */ export type AnnotationQueueAssignmentFindUniqueArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelect | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentInclude | null /** * Filter, which AnnotationQueueAssignment to fetch. */ where: AnnotationQueueAssignmentWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueAssignment findUniqueOrThrow */ export type AnnotationQueueAssignmentFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelect | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentInclude | null /** * Filter, which AnnotationQueueAssignment to fetch. */ where: AnnotationQueueAssignmentWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueAssignment findFirst */ export type AnnotationQueueAssignmentFindFirstArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelect | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentInclude | null /** * Filter, which AnnotationQueueAssignment to fetch. */ where?: AnnotationQueueAssignmentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnnotationQueueAssignments to fetch. */ orderBy?: AnnotationQueueAssignmentOrderByWithRelationInput | AnnotationQueueAssignmentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AnnotationQueueAssignments. */ cursor?: AnnotationQueueAssignmentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnnotationQueueAssignments 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` AnnotationQueueAssignments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AnnotationQueueAssignments. */ distinct?: AnnotationQueueAssignmentScalarFieldEnum | AnnotationQueueAssignmentScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueAssignment findFirstOrThrow */ export type AnnotationQueueAssignmentFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelect | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentInclude | null /** * Filter, which AnnotationQueueAssignment to fetch. */ where?: AnnotationQueueAssignmentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnnotationQueueAssignments to fetch. */ orderBy?: AnnotationQueueAssignmentOrderByWithRelationInput | AnnotationQueueAssignmentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AnnotationQueueAssignments. */ cursor?: AnnotationQueueAssignmentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnnotationQueueAssignments 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` AnnotationQueueAssignments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AnnotationQueueAssignments. */ distinct?: AnnotationQueueAssignmentScalarFieldEnum | AnnotationQueueAssignmentScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueAssignment findMany */ export type AnnotationQueueAssignmentFindManyArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelect | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentInclude | null /** * Filter, which AnnotationQueueAssignments to fetch. */ where?: AnnotationQueueAssignmentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnnotationQueueAssignments to fetch. */ orderBy?: AnnotationQueueAssignmentOrderByWithRelationInput | AnnotationQueueAssignmentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AnnotationQueueAssignments. */ cursor?: AnnotationQueueAssignmentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnnotationQueueAssignments 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` AnnotationQueueAssignments. */ skip?: number distinct?: AnnotationQueueAssignmentScalarFieldEnum | AnnotationQueueAssignmentScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueAssignment create */ export type AnnotationQueueAssignmentCreateArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelect | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentInclude | null /** * The data needed to create a AnnotationQueueAssignment. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueAssignment createMany */ export type AnnotationQueueAssignmentCreateManyArgs = { /** * The data used to create many AnnotationQueueAssignments. */ data: AnnotationQueueAssignmentCreateManyInput | AnnotationQueueAssignmentCreateManyInput[] skipDuplicates?: boolean } /** * AnnotationQueueAssignment createManyAndReturn */ export type AnnotationQueueAssignmentCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelectCreateManyAndReturn | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * The data used to create many AnnotationQueueAssignments. */ data: AnnotationQueueAssignmentCreateManyInput | AnnotationQueueAssignmentCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentIncludeCreateManyAndReturn | null } /** * AnnotationQueueAssignment update */ export type AnnotationQueueAssignmentUpdateArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelect | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentInclude | null /** * The data needed to update a AnnotationQueueAssignment. */ data: XOR /** * Choose, which AnnotationQueueAssignment to update. */ where: AnnotationQueueAssignmentWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueAssignment updateMany */ export type AnnotationQueueAssignmentUpdateManyArgs = { /** * The data used to update AnnotationQueueAssignments. */ data: XOR /** * Filter which AnnotationQueueAssignments to update */ where?: AnnotationQueueAssignmentWhereInput /** * Limit how many AnnotationQueueAssignments to update. */ limit?: number } /** * AnnotationQueueAssignment updateManyAndReturn */ export type AnnotationQueueAssignmentUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelectUpdateManyAndReturn | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * The data used to update AnnotationQueueAssignments. */ data: XOR /** * Filter which AnnotationQueueAssignments to update */ where?: AnnotationQueueAssignmentWhereInput /** * Limit how many AnnotationQueueAssignments to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentIncludeUpdateManyAndReturn | null } /** * AnnotationQueueAssignment upsert */ export type AnnotationQueueAssignmentUpsertArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelect | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentInclude | null /** * The filter to search for the AnnotationQueueAssignment to update in case it exists. */ where: AnnotationQueueAssignmentWhereUniqueInput /** * In case the AnnotationQueueAssignment found by the `where` argument doesn't exist, create a new AnnotationQueueAssignment with this data. */ create: XOR /** * In case the AnnotationQueueAssignment was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueAssignment delete */ export type AnnotationQueueAssignmentDeleteArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelect | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentInclude | null /** * Filter which AnnotationQueueAssignment to delete. */ where: AnnotationQueueAssignmentWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AnnotationQueueAssignment deleteMany */ export type AnnotationQueueAssignmentDeleteManyArgs = { /** * Filter which AnnotationQueueAssignments to delete */ where?: AnnotationQueueAssignmentWhereInput /** * Limit how many AnnotationQueueAssignments to delete. */ limit?: number } /** * AnnotationQueueAssignment without action */ export type AnnotationQueueAssignmentDefaultArgs = { /** * Select specific fields to fetch from the AnnotationQueueAssignment */ select?: AnnotationQueueAssignmentSelect | null /** * Omit specific fields from the AnnotationQueueAssignment */ omit?: AnnotationQueueAssignmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnnotationQueueAssignmentInclude | null } /** * Model CronJobs */ export type AggregateCronJobs = { _count: CronJobsCountAggregateOutputType | null _min: CronJobsMinAggregateOutputType | null _max: CronJobsMaxAggregateOutputType | null } export type CronJobsMinAggregateOutputType = { name: string | null lastRun: Date | null jobStartedAt: Date | null state: string | null } export type CronJobsMaxAggregateOutputType = { name: string | null lastRun: Date | null jobStartedAt: Date | null state: string | null } export type CronJobsCountAggregateOutputType = { name: number lastRun: number jobStartedAt: number state: number _all: number } export type CronJobsMinAggregateInputType = { name?: true lastRun?: true jobStartedAt?: true state?: true } export type CronJobsMaxAggregateInputType = { name?: true lastRun?: true jobStartedAt?: true state?: true } export type CronJobsCountAggregateInputType = { name?: true lastRun?: true jobStartedAt?: true state?: true _all?: true } export type CronJobsAggregateArgs = { /** * Filter which CronJobs to aggregate. */ where?: CronJobsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CronJobs to fetch. */ orderBy?: CronJobsOrderByWithRelationInput | CronJobsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CronJobsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CronJobs 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` CronJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CronJobs **/ _count?: true | CronJobsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CronJobsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CronJobsMaxAggregateInputType } export type GetCronJobsAggregateType = { [P in keyof T & keyof AggregateCronJobs]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CronJobsGroupByArgs = { where?: CronJobsWhereInput orderBy?: CronJobsOrderByWithAggregationInput | CronJobsOrderByWithAggregationInput[] by: CronJobsScalarFieldEnum[] | CronJobsScalarFieldEnum having?: CronJobsScalarWhereWithAggregatesInput take?: number skip?: number _count?: CronJobsCountAggregateInputType | true _min?: CronJobsMinAggregateInputType _max?: CronJobsMaxAggregateInputType } export type CronJobsGroupByOutputType = { name: string lastRun: Date | null jobStartedAt: Date | null state: string | null _count: CronJobsCountAggregateOutputType | null _min: CronJobsMinAggregateOutputType | null _max: CronJobsMaxAggregateOutputType | null } type GetCronJobsGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CronJobsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CronJobsSelect = $Extensions.GetSelect<{ name?: boolean lastRun?: boolean jobStartedAt?: boolean state?: boolean }, ExtArgs["result"]["cronJobs"]> export type CronJobsSelectCreateManyAndReturn = $Extensions.GetSelect<{ name?: boolean lastRun?: boolean jobStartedAt?: boolean state?: boolean }, ExtArgs["result"]["cronJobs"]> export type CronJobsSelectUpdateManyAndReturn = $Extensions.GetSelect<{ name?: boolean lastRun?: boolean jobStartedAt?: boolean state?: boolean }, ExtArgs["result"]["cronJobs"]> export type CronJobsSelectScalar = { name?: boolean lastRun?: boolean jobStartedAt?: boolean state?: boolean } export type CronJobsOmit = $Extensions.GetOmit<"name" | "lastRun" | "jobStartedAt" | "state", ExtArgs["result"]["cronJobs"]> export type $CronJobsPayload = { name: "CronJobs" objects: {} scalars: $Extensions.GetPayloadResult<{ name: string lastRun: Date | null jobStartedAt: Date | null state: string | null }, ExtArgs["result"]["cronJobs"]> composites: {} } type CronJobsGetPayload = $Result.GetResult type CronJobsCountArgs = Omit & { select?: CronJobsCountAggregateInputType | true } export interface CronJobsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CronJobs'], meta: { name: 'CronJobs' } } /** * Find zero or one CronJobs that matches the filter. * @param {CronJobsFindUniqueArgs} args - Arguments to find a CronJobs * @example * // Get one CronJobs * const cronJobs = await prisma.cronJobs.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CronJobsClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CronJobs that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CronJobsFindUniqueOrThrowArgs} args - Arguments to find a CronJobs * @example * // Get one CronJobs * const cronJobs = await prisma.cronJobs.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CronJobsClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CronJobs 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 {CronJobsFindFirstArgs} args - Arguments to find a CronJobs * @example * // Get one CronJobs * const cronJobs = await prisma.cronJobs.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CronJobsClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CronJobs 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 {CronJobsFindFirstOrThrowArgs} args - Arguments to find a CronJobs * @example * // Get one CronJobs * const cronJobs = await prisma.cronJobs.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CronJobsClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CronJobs 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 {CronJobsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CronJobs * const cronJobs = await prisma.cronJobs.findMany() * * // Get first 10 CronJobs * const cronJobs = await prisma.cronJobs.findMany({ take: 10 }) * * // Only select the `name` * const cronJobsWithNameOnly = await prisma.cronJobs.findMany({ select: { name: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a CronJobs. * @param {CronJobsCreateArgs} args - Arguments to create a CronJobs. * @example * // Create one CronJobs * const CronJobs = await prisma.cronJobs.create({ * data: { * // ... data to create a CronJobs * } * }) * */ create(args: SelectSubset>): Prisma__CronJobsClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CronJobs. * @param {CronJobsCreateManyArgs} args - Arguments to create many CronJobs. * @example * // Create many CronJobs * const cronJobs = await prisma.cronJobs.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many CronJobs and returns the data saved in the database. * @param {CronJobsCreateManyAndReturnArgs} args - Arguments to create many CronJobs. * @example * // Create many CronJobs * const cronJobs = await prisma.cronJobs.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many CronJobs and only return the `name` * const cronJobsWithNameOnly = await prisma.cronJobs.createManyAndReturn({ * select: { name: 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 CronJobs. * @param {CronJobsDeleteArgs} args - Arguments to delete one CronJobs. * @example * // Delete one CronJobs * const CronJobs = await prisma.cronJobs.delete({ * where: { * // ... filter to delete one CronJobs * } * }) * */ delete(args: SelectSubset>): Prisma__CronJobsClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CronJobs. * @param {CronJobsUpdateArgs} args - Arguments to update one CronJobs. * @example * // Update one CronJobs * const cronJobs = await prisma.cronJobs.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CronJobsClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CronJobs. * @param {CronJobsDeleteManyArgs} args - Arguments to filter CronJobs to delete. * @example * // Delete a few CronJobs * const { count } = await prisma.cronJobs.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CronJobs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CronJobsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CronJobs * const cronJobs = await prisma.cronJobs.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CronJobs and returns the data updated in the database. * @param {CronJobsUpdateManyAndReturnArgs} args - Arguments to update many CronJobs. * @example * // Update many CronJobs * const cronJobs = await prisma.cronJobs.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more CronJobs and only return the `name` * const cronJobsWithNameOnly = await prisma.cronJobs.updateManyAndReturn({ * select: { name: 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 CronJobs. * @param {CronJobsUpsertArgs} args - Arguments to update or create a CronJobs. * @example * // Update or create a CronJobs * const cronJobs = await prisma.cronJobs.upsert({ * create: { * // ... data to create a CronJobs * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CronJobs we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CronJobsClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CronJobs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CronJobsCountArgs} args - Arguments to filter CronJobs to count. * @example * // Count the number of CronJobs * const count = await prisma.cronJobs.count({ * where: { * // ... the filter for the CronJobs 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 CronJobs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CronJobsAggregateArgs} 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 CronJobs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CronJobsGroupByArgs} 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 CronJobsGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CronJobsGroupByArgs['orderBy'] } : { orderBy?: CronJobsGroupByArgs['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 ? GetCronJobsGroupByPayload : Prisma.PrismaPromise /** * Fields of the CronJobs model */ readonly fields: CronJobsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CronJobs. * 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__CronJobsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 CronJobs model */ interface CronJobsFieldRefs { readonly name: FieldRef<"CronJobs", 'String'> readonly lastRun: FieldRef<"CronJobs", 'DateTime'> readonly jobStartedAt: FieldRef<"CronJobs", 'DateTime'> readonly state: FieldRef<"CronJobs", 'String'> } // Custom InputTypes /** * CronJobs findUnique */ export type CronJobsFindUniqueArgs = { /** * Select specific fields to fetch from the CronJobs */ select?: CronJobsSelect | null /** * Omit specific fields from the CronJobs */ omit?: CronJobsOmit | null /** * Filter, which CronJobs to fetch. */ where: CronJobsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * CronJobs findUniqueOrThrow */ export type CronJobsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CronJobs */ select?: CronJobsSelect | null /** * Omit specific fields from the CronJobs */ omit?: CronJobsOmit | null /** * Filter, which CronJobs to fetch. */ where: CronJobsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * CronJobs findFirst */ export type CronJobsFindFirstArgs = { /** * Select specific fields to fetch from the CronJobs */ select?: CronJobsSelect | null /** * Omit specific fields from the CronJobs */ omit?: CronJobsOmit | null /** * Filter, which CronJobs to fetch. */ where?: CronJobsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CronJobs to fetch. */ orderBy?: CronJobsOrderByWithRelationInput | CronJobsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CronJobs. */ cursor?: CronJobsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CronJobs 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` CronJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CronJobs. */ distinct?: CronJobsScalarFieldEnum | CronJobsScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * CronJobs findFirstOrThrow */ export type CronJobsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CronJobs */ select?: CronJobsSelect | null /** * Omit specific fields from the CronJobs */ omit?: CronJobsOmit | null /** * Filter, which CronJobs to fetch. */ where?: CronJobsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CronJobs to fetch. */ orderBy?: CronJobsOrderByWithRelationInput | CronJobsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CronJobs. */ cursor?: CronJobsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CronJobs 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` CronJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CronJobs. */ distinct?: CronJobsScalarFieldEnum | CronJobsScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * CronJobs findMany */ export type CronJobsFindManyArgs = { /** * Select specific fields to fetch from the CronJobs */ select?: CronJobsSelect | null /** * Omit specific fields from the CronJobs */ omit?: CronJobsOmit | null /** * Filter, which CronJobs to fetch. */ where?: CronJobsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CronJobs to fetch. */ orderBy?: CronJobsOrderByWithRelationInput | CronJobsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CronJobs. */ cursor?: CronJobsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CronJobs 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` CronJobs. */ skip?: number distinct?: CronJobsScalarFieldEnum | CronJobsScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * CronJobs create */ export type CronJobsCreateArgs = { /** * Select specific fields to fetch from the CronJobs */ select?: CronJobsSelect | null /** * Omit specific fields from the CronJobs */ omit?: CronJobsOmit | null /** * The data needed to create a CronJobs. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * CronJobs createMany */ export type CronJobsCreateManyArgs = { /** * The data used to create many CronJobs. */ data: CronJobsCreateManyInput | CronJobsCreateManyInput[] skipDuplicates?: boolean } /** * CronJobs createManyAndReturn */ export type CronJobsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the CronJobs */ select?: CronJobsSelectCreateManyAndReturn | null /** * Omit specific fields from the CronJobs */ omit?: CronJobsOmit | null /** * The data used to create many CronJobs. */ data: CronJobsCreateManyInput | CronJobsCreateManyInput[] skipDuplicates?: boolean } /** * CronJobs update */ export type CronJobsUpdateArgs = { /** * Select specific fields to fetch from the CronJobs */ select?: CronJobsSelect | null /** * Omit specific fields from the CronJobs */ omit?: CronJobsOmit | null /** * The data needed to update a CronJobs. */ data: XOR /** * Choose, which CronJobs to update. */ where: CronJobsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * CronJobs updateMany */ export type CronJobsUpdateManyArgs = { /** * The data used to update CronJobs. */ data: XOR /** * Filter which CronJobs to update */ where?: CronJobsWhereInput /** * Limit how many CronJobs to update. */ limit?: number } /** * CronJobs updateManyAndReturn */ export type CronJobsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the CronJobs */ select?: CronJobsSelectUpdateManyAndReturn | null /** * Omit specific fields from the CronJobs */ omit?: CronJobsOmit | null /** * The data used to update CronJobs. */ data: XOR /** * Filter which CronJobs to update */ where?: CronJobsWhereInput /** * Limit how many CronJobs to update. */ limit?: number } /** * CronJobs upsert */ export type CronJobsUpsertArgs = { /** * Select specific fields to fetch from the CronJobs */ select?: CronJobsSelect | null /** * Omit specific fields from the CronJobs */ omit?: CronJobsOmit | null /** * The filter to search for the CronJobs to update in case it exists. */ where: CronJobsWhereUniqueInput /** * In case the CronJobs found by the `where` argument doesn't exist, create a new CronJobs with this data. */ create: XOR /** * In case the CronJobs was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * CronJobs delete */ export type CronJobsDeleteArgs = { /** * Select specific fields to fetch from the CronJobs */ select?: CronJobsSelect | null /** * Omit specific fields from the CronJobs */ omit?: CronJobsOmit | null /** * Filter which CronJobs to delete. */ where: CronJobsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * CronJobs deleteMany */ export type CronJobsDeleteManyArgs = { /** * Filter which CronJobs to delete */ where?: CronJobsWhereInput /** * Limit how many CronJobs to delete. */ limit?: number } /** * CronJobs without action */ export type CronJobsDefaultArgs = { /** * Select specific fields to fetch from the CronJobs */ select?: CronJobsSelect | null /** * Omit specific fields from the CronJobs */ omit?: CronJobsOmit | null } /** * Model Dataset */ export type AggregateDataset = { _count: DatasetCountAggregateOutputType | null _min: DatasetMinAggregateOutputType | null _max: DatasetMaxAggregateOutputType | null } export type DatasetMinAggregateOutputType = { id: string | null projectId: string | null name: string | null description: string | null remoteExperimentUrl: string | null createdAt: Date | null updatedAt: Date | null } export type DatasetMaxAggregateOutputType = { id: string | null projectId: string | null name: string | null description: string | null remoteExperimentUrl: string | null createdAt: Date | null updatedAt: Date | null } export type DatasetCountAggregateOutputType = { id: number projectId: number name: number description: number metadata: number remoteExperimentUrl: number remoteExperimentPayload: number createdAt: number updatedAt: number _all: number } export type DatasetMinAggregateInputType = { id?: true projectId?: true name?: true description?: true remoteExperimentUrl?: true createdAt?: true updatedAt?: true } export type DatasetMaxAggregateInputType = { id?: true projectId?: true name?: true description?: true remoteExperimentUrl?: true createdAt?: true updatedAt?: true } export type DatasetCountAggregateInputType = { id?: true projectId?: true name?: true description?: true metadata?: true remoteExperimentUrl?: true remoteExperimentPayload?: true createdAt?: true updatedAt?: true _all?: true } export type DatasetAggregateArgs = { /** * Filter which Dataset to aggregate. */ where?: DatasetWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Datasets to fetch. */ orderBy?: DatasetOrderByWithRelationInput | DatasetOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: DatasetWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Datasets 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` Datasets. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Datasets **/ _count?: true | DatasetCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: DatasetMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: DatasetMaxAggregateInputType } export type GetDatasetAggregateType = { [P in keyof T & keyof AggregateDataset]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type DatasetGroupByArgs = { where?: DatasetWhereInput orderBy?: DatasetOrderByWithAggregationInput | DatasetOrderByWithAggregationInput[] by: DatasetScalarFieldEnum[] | DatasetScalarFieldEnum having?: DatasetScalarWhereWithAggregatesInput take?: number skip?: number _count?: DatasetCountAggregateInputType | true _min?: DatasetMinAggregateInputType _max?: DatasetMaxAggregateInputType } export type DatasetGroupByOutputType = { id: string projectId: string name: string description: string | null metadata: JsonValue | null remoteExperimentUrl: string | null remoteExperimentPayload: JsonValue | null createdAt: Date updatedAt: Date _count: DatasetCountAggregateOutputType | null _min: DatasetMinAggregateOutputType | null _max: DatasetMaxAggregateOutputType | null } type GetDatasetGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof DatasetGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type DatasetSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean name?: boolean description?: boolean metadata?: boolean remoteExperimentUrl?: boolean remoteExperimentPayload?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs datasetItems?: boolean | Dataset$datasetItemsArgs datasetRuns?: boolean | Dataset$datasetRunsArgs _count?: boolean | DatasetCountOutputTypeDefaultArgs }, ExtArgs["result"]["dataset"]> export type DatasetSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean name?: boolean description?: boolean metadata?: boolean remoteExperimentUrl?: boolean remoteExperimentPayload?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["dataset"]> export type DatasetSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean name?: boolean description?: boolean metadata?: boolean remoteExperimentUrl?: boolean remoteExperimentPayload?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["dataset"]> export type DatasetSelectScalar = { id?: boolean projectId?: boolean name?: boolean description?: boolean metadata?: boolean remoteExperimentUrl?: boolean remoteExperimentPayload?: boolean createdAt?: boolean updatedAt?: boolean } export type DatasetOmit = $Extensions.GetOmit<"id" | "projectId" | "name" | "description" | "metadata" | "remoteExperimentUrl" | "remoteExperimentPayload" | "createdAt" | "updatedAt", ExtArgs["result"]["dataset"]> export type DatasetInclude = { project?: boolean | ProjectDefaultArgs datasetItems?: boolean | Dataset$datasetItemsArgs datasetRuns?: boolean | Dataset$datasetRunsArgs _count?: boolean | DatasetCountOutputTypeDefaultArgs } export type DatasetIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type DatasetIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $DatasetPayload = { name: "Dataset" objects: { project: Prisma.$ProjectPayload datasetItems: Prisma.$DatasetItemPayload[] datasetRuns: Prisma.$DatasetRunsPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string name: string description: string | null metadata: Prisma.JsonValue | null remoteExperimentUrl: string | null remoteExperimentPayload: Prisma.JsonValue | null createdAt: Date updatedAt: Date }, ExtArgs["result"]["dataset"]> composites: {} } type DatasetGetPayload = $Result.GetResult type DatasetCountArgs = Omit & { select?: DatasetCountAggregateInputType | true } export interface DatasetDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Dataset'], meta: { name: 'Dataset' } } /** * Find zero or one Dataset that matches the filter. * @param {DatasetFindUniqueArgs} args - Arguments to find a Dataset * @example * // Get one Dataset * const dataset = await prisma.dataset.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__DatasetClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Dataset that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {DatasetFindUniqueOrThrowArgs} args - Arguments to find a Dataset * @example * // Get one Dataset * const dataset = await prisma.dataset.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__DatasetClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Dataset 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 {DatasetFindFirstArgs} args - Arguments to find a Dataset * @example * // Get one Dataset * const dataset = await prisma.dataset.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__DatasetClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Dataset 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 {DatasetFindFirstOrThrowArgs} args - Arguments to find a Dataset * @example * // Get one Dataset * const dataset = await prisma.dataset.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__DatasetClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Datasets 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 {DatasetFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Datasets * const datasets = await prisma.dataset.findMany() * * // Get first 10 Datasets * const datasets = await prisma.dataset.findMany({ take: 10 }) * * // Only select the `id` * const datasetWithIdOnly = await prisma.dataset.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Dataset. * @param {DatasetCreateArgs} args - Arguments to create a Dataset. * @example * // Create one Dataset * const Dataset = await prisma.dataset.create({ * data: { * // ... data to create a Dataset * } * }) * */ create(args: SelectSubset>): Prisma__DatasetClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Datasets. * @param {DatasetCreateManyArgs} args - Arguments to create many Datasets. * @example * // Create many Datasets * const dataset = await prisma.dataset.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Datasets and returns the data saved in the database. * @param {DatasetCreateManyAndReturnArgs} args - Arguments to create many Datasets. * @example * // Create many Datasets * const dataset = await prisma.dataset.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Datasets and only return the `id` * const datasetWithIdOnly = await prisma.dataset.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 Dataset. * @param {DatasetDeleteArgs} args - Arguments to delete one Dataset. * @example * // Delete one Dataset * const Dataset = await prisma.dataset.delete({ * where: { * // ... filter to delete one Dataset * } * }) * */ delete(args: SelectSubset>): Prisma__DatasetClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Dataset. * @param {DatasetUpdateArgs} args - Arguments to update one Dataset. * @example * // Update one Dataset * const dataset = await prisma.dataset.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__DatasetClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Datasets. * @param {DatasetDeleteManyArgs} args - Arguments to filter Datasets to delete. * @example * // Delete a few Datasets * const { count } = await prisma.dataset.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Datasets. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Datasets * const dataset = await prisma.dataset.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Datasets and returns the data updated in the database. * @param {DatasetUpdateManyAndReturnArgs} args - Arguments to update many Datasets. * @example * // Update many Datasets * const dataset = await prisma.dataset.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Datasets and only return the `id` * const datasetWithIdOnly = await prisma.dataset.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 Dataset. * @param {DatasetUpsertArgs} args - Arguments to update or create a Dataset. * @example * // Update or create a Dataset * const dataset = await prisma.dataset.upsert({ * create: { * // ... data to create a Dataset * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Dataset we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__DatasetClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Datasets. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetCountArgs} args - Arguments to filter Datasets to count. * @example * // Count the number of Datasets * const count = await prisma.dataset.count({ * where: { * // ... the filter for the Datasets 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 Dataset. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetAggregateArgs} 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 Dataset. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetGroupByArgs} 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 DatasetGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: DatasetGroupByArgs['orderBy'] } : { orderBy?: DatasetGroupByArgs['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 ? GetDatasetGroupByPayload : Prisma.PrismaPromise /** * Fields of the Dataset model */ readonly fields: DatasetFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Dataset. * 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__DatasetClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> datasetItems = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> datasetRuns = {}>(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 Dataset model */ interface DatasetFieldRefs { readonly id: FieldRef<"Dataset", 'String'> readonly projectId: FieldRef<"Dataset", 'String'> readonly name: FieldRef<"Dataset", 'String'> readonly description: FieldRef<"Dataset", 'String'> readonly metadata: FieldRef<"Dataset", 'Json'> readonly remoteExperimentUrl: FieldRef<"Dataset", 'String'> readonly remoteExperimentPayload: FieldRef<"Dataset", 'Json'> readonly createdAt: FieldRef<"Dataset", 'DateTime'> readonly updatedAt: FieldRef<"Dataset", 'DateTime'> } // Custom InputTypes /** * Dataset findUnique */ export type DatasetFindUniqueArgs = { /** * Select specific fields to fetch from the Dataset */ select?: DatasetSelect | null /** * Omit specific fields from the Dataset */ omit?: DatasetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetInclude | null /** * Filter, which Dataset to fetch. */ where: DatasetWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Dataset findUniqueOrThrow */ export type DatasetFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Dataset */ select?: DatasetSelect | null /** * Omit specific fields from the Dataset */ omit?: DatasetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetInclude | null /** * Filter, which Dataset to fetch. */ where: DatasetWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Dataset findFirst */ export type DatasetFindFirstArgs = { /** * Select specific fields to fetch from the Dataset */ select?: DatasetSelect | null /** * Omit specific fields from the Dataset */ omit?: DatasetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetInclude | null /** * Filter, which Dataset to fetch. */ where?: DatasetWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Datasets to fetch. */ orderBy?: DatasetOrderByWithRelationInput | DatasetOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Datasets. */ cursor?: DatasetWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Datasets 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` Datasets. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Datasets. */ distinct?: DatasetScalarFieldEnum | DatasetScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Dataset findFirstOrThrow */ export type DatasetFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Dataset */ select?: DatasetSelect | null /** * Omit specific fields from the Dataset */ omit?: DatasetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetInclude | null /** * Filter, which Dataset to fetch. */ where?: DatasetWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Datasets to fetch. */ orderBy?: DatasetOrderByWithRelationInput | DatasetOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Datasets. */ cursor?: DatasetWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Datasets 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` Datasets. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Datasets. */ distinct?: DatasetScalarFieldEnum | DatasetScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Dataset findMany */ export type DatasetFindManyArgs = { /** * Select specific fields to fetch from the Dataset */ select?: DatasetSelect | null /** * Omit specific fields from the Dataset */ omit?: DatasetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetInclude | null /** * Filter, which Datasets to fetch. */ where?: DatasetWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Datasets to fetch. */ orderBy?: DatasetOrderByWithRelationInput | DatasetOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Datasets. */ cursor?: DatasetWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Datasets 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` Datasets. */ skip?: number distinct?: DatasetScalarFieldEnum | DatasetScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Dataset create */ export type DatasetCreateArgs = { /** * Select specific fields to fetch from the Dataset */ select?: DatasetSelect | null /** * Omit specific fields from the Dataset */ omit?: DatasetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetInclude | null /** * The data needed to create a Dataset. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Dataset createMany */ export type DatasetCreateManyArgs = { /** * The data used to create many Datasets. */ data: DatasetCreateManyInput | DatasetCreateManyInput[] skipDuplicates?: boolean } /** * Dataset createManyAndReturn */ export type DatasetCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Dataset */ select?: DatasetSelectCreateManyAndReturn | null /** * Omit specific fields from the Dataset */ omit?: DatasetOmit | null /** * The data used to create many Datasets. */ data: DatasetCreateManyInput | DatasetCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: DatasetIncludeCreateManyAndReturn | null } /** * Dataset update */ export type DatasetUpdateArgs = { /** * Select specific fields to fetch from the Dataset */ select?: DatasetSelect | null /** * Omit specific fields from the Dataset */ omit?: DatasetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetInclude | null /** * The data needed to update a Dataset. */ data: XOR /** * Choose, which Dataset to update. */ where: DatasetWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Dataset updateMany */ export type DatasetUpdateManyArgs = { /** * The data used to update Datasets. */ data: XOR /** * Filter which Datasets to update */ where?: DatasetWhereInput /** * Limit how many Datasets to update. */ limit?: number } /** * Dataset updateManyAndReturn */ export type DatasetUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Dataset */ select?: DatasetSelectUpdateManyAndReturn | null /** * Omit specific fields from the Dataset */ omit?: DatasetOmit | null /** * The data used to update Datasets. */ data: XOR /** * Filter which Datasets to update */ where?: DatasetWhereInput /** * Limit how many Datasets to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: DatasetIncludeUpdateManyAndReturn | null } /** * Dataset upsert */ export type DatasetUpsertArgs = { /** * Select specific fields to fetch from the Dataset */ select?: DatasetSelect | null /** * Omit specific fields from the Dataset */ omit?: DatasetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetInclude | null /** * The filter to search for the Dataset to update in case it exists. */ where: DatasetWhereUniqueInput /** * In case the Dataset found by the `where` argument doesn't exist, create a new Dataset with this data. */ create: XOR /** * In case the Dataset was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Dataset delete */ export type DatasetDeleteArgs = { /** * Select specific fields to fetch from the Dataset */ select?: DatasetSelect | null /** * Omit specific fields from the Dataset */ omit?: DatasetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetInclude | null /** * Filter which Dataset to delete. */ where: DatasetWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Dataset deleteMany */ export type DatasetDeleteManyArgs = { /** * Filter which Datasets to delete */ where?: DatasetWhereInput /** * Limit how many Datasets to delete. */ limit?: number } /** * Dataset.datasetItems */ export type Dataset$datasetItemsArgs = { /** * Select specific fields to fetch from the DatasetItem */ select?: DatasetItemSelect | null /** * Omit specific fields from the DatasetItem */ omit?: DatasetItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetItemInclude | null where?: DatasetItemWhereInput orderBy?: DatasetItemOrderByWithRelationInput | DatasetItemOrderByWithRelationInput[] cursor?: DatasetItemWhereUniqueInput take?: number skip?: number distinct?: DatasetItemScalarFieldEnum | DatasetItemScalarFieldEnum[] } /** * Dataset.datasetRuns */ export type Dataset$datasetRunsArgs = { /** * Select specific fields to fetch from the DatasetRuns */ select?: DatasetRunsSelect | null /** * Omit specific fields from the DatasetRuns */ omit?: DatasetRunsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunsInclude | null where?: DatasetRunsWhereInput orderBy?: DatasetRunsOrderByWithRelationInput | DatasetRunsOrderByWithRelationInput[] cursor?: DatasetRunsWhereUniqueInput take?: number skip?: number distinct?: DatasetRunsScalarFieldEnum | DatasetRunsScalarFieldEnum[] } /** * Dataset without action */ export type DatasetDefaultArgs = { /** * Select specific fields to fetch from the Dataset */ select?: DatasetSelect | null /** * Omit specific fields from the Dataset */ omit?: DatasetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetInclude | null } /** * Model DatasetItem */ export type AggregateDatasetItem = { _count: DatasetItemCountAggregateOutputType | null _min: DatasetItemMinAggregateOutputType | null _max: DatasetItemMaxAggregateOutputType | null } export type DatasetItemMinAggregateOutputType = { id: string | null projectId: string | null status: $Enums.DatasetStatus | null sourceTraceId: string | null sourceObservationId: string | null datasetId: string | null createdAt: Date | null updatedAt: Date | null } export type DatasetItemMaxAggregateOutputType = { id: string | null projectId: string | null status: $Enums.DatasetStatus | null sourceTraceId: string | null sourceObservationId: string | null datasetId: string | null createdAt: Date | null updatedAt: Date | null } export type DatasetItemCountAggregateOutputType = { id: number projectId: number status: number input: number expectedOutput: number metadata: number sourceTraceId: number sourceObservationId: number datasetId: number createdAt: number updatedAt: number _all: number } export type DatasetItemMinAggregateInputType = { id?: true projectId?: true status?: true sourceTraceId?: true sourceObservationId?: true datasetId?: true createdAt?: true updatedAt?: true } export type DatasetItemMaxAggregateInputType = { id?: true projectId?: true status?: true sourceTraceId?: true sourceObservationId?: true datasetId?: true createdAt?: true updatedAt?: true } export type DatasetItemCountAggregateInputType = { id?: true projectId?: true status?: true input?: true expectedOutput?: true metadata?: true sourceTraceId?: true sourceObservationId?: true datasetId?: true createdAt?: true updatedAt?: true _all?: true } export type DatasetItemAggregateArgs = { /** * Filter which DatasetItem to aggregate. */ where?: DatasetItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DatasetItems to fetch. */ orderBy?: DatasetItemOrderByWithRelationInput | DatasetItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: DatasetItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DatasetItems 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` DatasetItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned DatasetItems **/ _count?: true | DatasetItemCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: DatasetItemMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: DatasetItemMaxAggregateInputType } export type GetDatasetItemAggregateType = { [P in keyof T & keyof AggregateDatasetItem]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type DatasetItemGroupByArgs = { where?: DatasetItemWhereInput orderBy?: DatasetItemOrderByWithAggregationInput | DatasetItemOrderByWithAggregationInput[] by: DatasetItemScalarFieldEnum[] | DatasetItemScalarFieldEnum having?: DatasetItemScalarWhereWithAggregatesInput take?: number skip?: number _count?: DatasetItemCountAggregateInputType | true _min?: DatasetItemMinAggregateInputType _max?: DatasetItemMaxAggregateInputType } export type DatasetItemGroupByOutputType = { id: string projectId: string status: $Enums.DatasetStatus input: JsonValue | null expectedOutput: JsonValue | null metadata: JsonValue | null sourceTraceId: string | null sourceObservationId: string | null datasetId: string createdAt: Date updatedAt: Date _count: DatasetItemCountAggregateOutputType | null _min: DatasetItemMinAggregateOutputType | null _max: DatasetItemMaxAggregateOutputType | null } type GetDatasetItemGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof DatasetItemGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type DatasetItemSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean status?: boolean input?: boolean expectedOutput?: boolean metadata?: boolean sourceTraceId?: boolean sourceObservationId?: boolean datasetId?: boolean createdAt?: boolean updatedAt?: boolean dataset?: boolean | DatasetDefaultArgs datasetRunItems?: boolean | DatasetItem$datasetRunItemsArgs _count?: boolean | DatasetItemCountOutputTypeDefaultArgs }, ExtArgs["result"]["datasetItem"]> export type DatasetItemSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean status?: boolean input?: boolean expectedOutput?: boolean metadata?: boolean sourceTraceId?: boolean sourceObservationId?: boolean datasetId?: boolean createdAt?: boolean updatedAt?: boolean dataset?: boolean | DatasetDefaultArgs }, ExtArgs["result"]["datasetItem"]> export type DatasetItemSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean status?: boolean input?: boolean expectedOutput?: boolean metadata?: boolean sourceTraceId?: boolean sourceObservationId?: boolean datasetId?: boolean createdAt?: boolean updatedAt?: boolean dataset?: boolean | DatasetDefaultArgs }, ExtArgs["result"]["datasetItem"]> export type DatasetItemSelectScalar = { id?: boolean projectId?: boolean status?: boolean input?: boolean expectedOutput?: boolean metadata?: boolean sourceTraceId?: boolean sourceObservationId?: boolean datasetId?: boolean createdAt?: boolean updatedAt?: boolean } export type DatasetItemOmit = $Extensions.GetOmit<"id" | "projectId" | "status" | "input" | "expectedOutput" | "metadata" | "sourceTraceId" | "sourceObservationId" | "datasetId" | "createdAt" | "updatedAt", ExtArgs["result"]["datasetItem"]> export type DatasetItemInclude = { dataset?: boolean | DatasetDefaultArgs datasetRunItems?: boolean | DatasetItem$datasetRunItemsArgs _count?: boolean | DatasetItemCountOutputTypeDefaultArgs } export type DatasetItemIncludeCreateManyAndReturn = { dataset?: boolean | DatasetDefaultArgs } export type DatasetItemIncludeUpdateManyAndReturn = { dataset?: boolean | DatasetDefaultArgs } export type $DatasetItemPayload = { name: "DatasetItem" objects: { dataset: Prisma.$DatasetPayload datasetRunItems: Prisma.$DatasetRunItemsPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string status: $Enums.DatasetStatus input: Prisma.JsonValue | null expectedOutput: Prisma.JsonValue | null metadata: Prisma.JsonValue | null sourceTraceId: string | null sourceObservationId: string | null datasetId: string createdAt: Date updatedAt: Date }, ExtArgs["result"]["datasetItem"]> composites: {} } type DatasetItemGetPayload = $Result.GetResult type DatasetItemCountArgs = Omit & { select?: DatasetItemCountAggregateInputType | true } export interface DatasetItemDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['DatasetItem'], meta: { name: 'DatasetItem' } } /** * Find zero or one DatasetItem that matches the filter. * @param {DatasetItemFindUniqueArgs} args - Arguments to find a DatasetItem * @example * // Get one DatasetItem * const datasetItem = await prisma.datasetItem.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__DatasetItemClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one DatasetItem that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {DatasetItemFindUniqueOrThrowArgs} args - Arguments to find a DatasetItem * @example * // Get one DatasetItem * const datasetItem = await prisma.datasetItem.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__DatasetItemClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first DatasetItem 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 {DatasetItemFindFirstArgs} args - Arguments to find a DatasetItem * @example * // Get one DatasetItem * const datasetItem = await prisma.datasetItem.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__DatasetItemClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first DatasetItem 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 {DatasetItemFindFirstOrThrowArgs} args - Arguments to find a DatasetItem * @example * // Get one DatasetItem * const datasetItem = await prisma.datasetItem.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__DatasetItemClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more DatasetItems 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 {DatasetItemFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all DatasetItems * const datasetItems = await prisma.datasetItem.findMany() * * // Get first 10 DatasetItems * const datasetItems = await prisma.datasetItem.findMany({ take: 10 }) * * // Only select the `id` * const datasetItemWithIdOnly = await prisma.datasetItem.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a DatasetItem. * @param {DatasetItemCreateArgs} args - Arguments to create a DatasetItem. * @example * // Create one DatasetItem * const DatasetItem = await prisma.datasetItem.create({ * data: { * // ... data to create a DatasetItem * } * }) * */ create(args: SelectSubset>): Prisma__DatasetItemClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many DatasetItems. * @param {DatasetItemCreateManyArgs} args - Arguments to create many DatasetItems. * @example * // Create many DatasetItems * const datasetItem = await prisma.datasetItem.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many DatasetItems and returns the data saved in the database. * @param {DatasetItemCreateManyAndReturnArgs} args - Arguments to create many DatasetItems. * @example * // Create many DatasetItems * const datasetItem = await prisma.datasetItem.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many DatasetItems and only return the `id` * const datasetItemWithIdOnly = await prisma.datasetItem.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 DatasetItem. * @param {DatasetItemDeleteArgs} args - Arguments to delete one DatasetItem. * @example * // Delete one DatasetItem * const DatasetItem = await prisma.datasetItem.delete({ * where: { * // ... filter to delete one DatasetItem * } * }) * */ delete(args: SelectSubset>): Prisma__DatasetItemClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one DatasetItem. * @param {DatasetItemUpdateArgs} args - Arguments to update one DatasetItem. * @example * // Update one DatasetItem * const datasetItem = await prisma.datasetItem.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__DatasetItemClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more DatasetItems. * @param {DatasetItemDeleteManyArgs} args - Arguments to filter DatasetItems to delete. * @example * // Delete a few DatasetItems * const { count } = await prisma.datasetItem.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DatasetItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetItemUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many DatasetItems * const datasetItem = await prisma.datasetItem.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DatasetItems and returns the data updated in the database. * @param {DatasetItemUpdateManyAndReturnArgs} args - Arguments to update many DatasetItems. * @example * // Update many DatasetItems * const datasetItem = await prisma.datasetItem.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more DatasetItems and only return the `id` * const datasetItemWithIdOnly = await prisma.datasetItem.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 DatasetItem. * @param {DatasetItemUpsertArgs} args - Arguments to update or create a DatasetItem. * @example * // Update or create a DatasetItem * const datasetItem = await prisma.datasetItem.upsert({ * create: { * // ... data to create a DatasetItem * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the DatasetItem we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__DatasetItemClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of DatasetItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetItemCountArgs} args - Arguments to filter DatasetItems to count. * @example * // Count the number of DatasetItems * const count = await prisma.datasetItem.count({ * where: { * // ... the filter for the DatasetItems 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 DatasetItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetItemAggregateArgs} 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 DatasetItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetItemGroupByArgs} 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 DatasetItemGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: DatasetItemGroupByArgs['orderBy'] } : { orderBy?: DatasetItemGroupByArgs['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 ? GetDatasetItemGroupByPayload : Prisma.PrismaPromise /** * Fields of the DatasetItem model */ readonly fields: DatasetItemFieldRefs; } /** * The delegate class that acts as a "Promise-like" for DatasetItem. * 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__DatasetItemClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" dataset = {}>(args?: Subset>): Prisma__DatasetClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> datasetRunItems = {}>(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 DatasetItem model */ interface DatasetItemFieldRefs { readonly id: FieldRef<"DatasetItem", 'String'> readonly projectId: FieldRef<"DatasetItem", 'String'> readonly status: FieldRef<"DatasetItem", 'DatasetStatus'> readonly input: FieldRef<"DatasetItem", 'Json'> readonly expectedOutput: FieldRef<"DatasetItem", 'Json'> readonly metadata: FieldRef<"DatasetItem", 'Json'> readonly sourceTraceId: FieldRef<"DatasetItem", 'String'> readonly sourceObservationId: FieldRef<"DatasetItem", 'String'> readonly datasetId: FieldRef<"DatasetItem", 'String'> readonly createdAt: FieldRef<"DatasetItem", 'DateTime'> readonly updatedAt: FieldRef<"DatasetItem", 'DateTime'> } // Custom InputTypes /** * DatasetItem findUnique */ export type DatasetItemFindUniqueArgs = { /** * Select specific fields to fetch from the DatasetItem */ select?: DatasetItemSelect | null /** * Omit specific fields from the DatasetItem */ omit?: DatasetItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetItemInclude | null /** * Filter, which DatasetItem to fetch. */ where: DatasetItemWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DatasetItem findUniqueOrThrow */ export type DatasetItemFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the DatasetItem */ select?: DatasetItemSelect | null /** * Omit specific fields from the DatasetItem */ omit?: DatasetItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetItemInclude | null /** * Filter, which DatasetItem to fetch. */ where: DatasetItemWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DatasetItem findFirst */ export type DatasetItemFindFirstArgs = { /** * Select specific fields to fetch from the DatasetItem */ select?: DatasetItemSelect | null /** * Omit specific fields from the DatasetItem */ omit?: DatasetItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetItemInclude | null /** * Filter, which DatasetItem to fetch. */ where?: DatasetItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DatasetItems to fetch. */ orderBy?: DatasetItemOrderByWithRelationInput | DatasetItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DatasetItems. */ cursor?: DatasetItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DatasetItems 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` DatasetItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DatasetItems. */ distinct?: DatasetItemScalarFieldEnum | DatasetItemScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DatasetItem findFirstOrThrow */ export type DatasetItemFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the DatasetItem */ select?: DatasetItemSelect | null /** * Omit specific fields from the DatasetItem */ omit?: DatasetItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetItemInclude | null /** * Filter, which DatasetItem to fetch. */ where?: DatasetItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DatasetItems to fetch. */ orderBy?: DatasetItemOrderByWithRelationInput | DatasetItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DatasetItems. */ cursor?: DatasetItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DatasetItems 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` DatasetItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DatasetItems. */ distinct?: DatasetItemScalarFieldEnum | DatasetItemScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DatasetItem findMany */ export type DatasetItemFindManyArgs = { /** * Select specific fields to fetch from the DatasetItem */ select?: DatasetItemSelect | null /** * Omit specific fields from the DatasetItem */ omit?: DatasetItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetItemInclude | null /** * Filter, which DatasetItems to fetch. */ where?: DatasetItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DatasetItems to fetch. */ orderBy?: DatasetItemOrderByWithRelationInput | DatasetItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing DatasetItems. */ cursor?: DatasetItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DatasetItems 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` DatasetItems. */ skip?: number distinct?: DatasetItemScalarFieldEnum | DatasetItemScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DatasetItem create */ export type DatasetItemCreateArgs = { /** * Select specific fields to fetch from the DatasetItem */ select?: DatasetItemSelect | null /** * Omit specific fields from the DatasetItem */ omit?: DatasetItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetItemInclude | null /** * The data needed to create a DatasetItem. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * DatasetItem createMany */ export type DatasetItemCreateManyArgs = { /** * The data used to create many DatasetItems. */ data: DatasetItemCreateManyInput | DatasetItemCreateManyInput[] skipDuplicates?: boolean } /** * DatasetItem createManyAndReturn */ export type DatasetItemCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the DatasetItem */ select?: DatasetItemSelectCreateManyAndReturn | null /** * Omit specific fields from the DatasetItem */ omit?: DatasetItemOmit | null /** * The data used to create many DatasetItems. */ data: DatasetItemCreateManyInput | DatasetItemCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: DatasetItemIncludeCreateManyAndReturn | null } /** * DatasetItem update */ export type DatasetItemUpdateArgs = { /** * Select specific fields to fetch from the DatasetItem */ select?: DatasetItemSelect | null /** * Omit specific fields from the DatasetItem */ omit?: DatasetItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetItemInclude | null /** * The data needed to update a DatasetItem. */ data: XOR /** * Choose, which DatasetItem to update. */ where: DatasetItemWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DatasetItem updateMany */ export type DatasetItemUpdateManyArgs = { /** * The data used to update DatasetItems. */ data: XOR /** * Filter which DatasetItems to update */ where?: DatasetItemWhereInput /** * Limit how many DatasetItems to update. */ limit?: number } /** * DatasetItem updateManyAndReturn */ export type DatasetItemUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the DatasetItem */ select?: DatasetItemSelectUpdateManyAndReturn | null /** * Omit specific fields from the DatasetItem */ omit?: DatasetItemOmit | null /** * The data used to update DatasetItems. */ data: XOR /** * Filter which DatasetItems to update */ where?: DatasetItemWhereInput /** * Limit how many DatasetItems to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: DatasetItemIncludeUpdateManyAndReturn | null } /** * DatasetItem upsert */ export type DatasetItemUpsertArgs = { /** * Select specific fields to fetch from the DatasetItem */ select?: DatasetItemSelect | null /** * Omit specific fields from the DatasetItem */ omit?: DatasetItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetItemInclude | null /** * The filter to search for the DatasetItem to update in case it exists. */ where: DatasetItemWhereUniqueInput /** * In case the DatasetItem found by the `where` argument doesn't exist, create a new DatasetItem with this data. */ create: XOR /** * In case the DatasetItem was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * DatasetItem delete */ export type DatasetItemDeleteArgs = { /** * Select specific fields to fetch from the DatasetItem */ select?: DatasetItemSelect | null /** * Omit specific fields from the DatasetItem */ omit?: DatasetItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetItemInclude | null /** * Filter which DatasetItem to delete. */ where: DatasetItemWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DatasetItem deleteMany */ export type DatasetItemDeleteManyArgs = { /** * Filter which DatasetItems to delete */ where?: DatasetItemWhereInput /** * Limit how many DatasetItems to delete. */ limit?: number } /** * DatasetItem.datasetRunItems */ export type DatasetItem$datasetRunItemsArgs = { /** * Select specific fields to fetch from the DatasetRunItems */ select?: DatasetRunItemsSelect | null /** * Omit specific fields from the DatasetRunItems */ omit?: DatasetRunItemsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunItemsInclude | null where?: DatasetRunItemsWhereInput orderBy?: DatasetRunItemsOrderByWithRelationInput | DatasetRunItemsOrderByWithRelationInput[] cursor?: DatasetRunItemsWhereUniqueInput take?: number skip?: number distinct?: DatasetRunItemsScalarFieldEnum | DatasetRunItemsScalarFieldEnum[] } /** * DatasetItem without action */ export type DatasetItemDefaultArgs = { /** * Select specific fields to fetch from the DatasetItem */ select?: DatasetItemSelect | null /** * Omit specific fields from the DatasetItem */ omit?: DatasetItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetItemInclude | null } /** * Model DatasetRuns */ export type AggregateDatasetRuns = { _count: DatasetRunsCountAggregateOutputType | null _min: DatasetRunsMinAggregateOutputType | null _max: DatasetRunsMaxAggregateOutputType | null } export type DatasetRunsMinAggregateOutputType = { id: string | null projectId: string | null name: string | null description: string | null datasetId: string | null createdAt: Date | null updatedAt: Date | null } export type DatasetRunsMaxAggregateOutputType = { id: string | null projectId: string | null name: string | null description: string | null datasetId: string | null createdAt: Date | null updatedAt: Date | null } export type DatasetRunsCountAggregateOutputType = { id: number projectId: number name: number description: number metadata: number datasetId: number createdAt: number updatedAt: number _all: number } export type DatasetRunsMinAggregateInputType = { id?: true projectId?: true name?: true description?: true datasetId?: true createdAt?: true updatedAt?: true } export type DatasetRunsMaxAggregateInputType = { id?: true projectId?: true name?: true description?: true datasetId?: true createdAt?: true updatedAt?: true } export type DatasetRunsCountAggregateInputType = { id?: true projectId?: true name?: true description?: true metadata?: true datasetId?: true createdAt?: true updatedAt?: true _all?: true } export type DatasetRunsAggregateArgs = { /** * Filter which DatasetRuns to aggregate. */ where?: DatasetRunsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DatasetRuns to fetch. */ orderBy?: DatasetRunsOrderByWithRelationInput | DatasetRunsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: DatasetRunsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DatasetRuns 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` DatasetRuns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned DatasetRuns **/ _count?: true | DatasetRunsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: DatasetRunsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: DatasetRunsMaxAggregateInputType } export type GetDatasetRunsAggregateType = { [P in keyof T & keyof AggregateDatasetRuns]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type DatasetRunsGroupByArgs = { where?: DatasetRunsWhereInput orderBy?: DatasetRunsOrderByWithAggregationInput | DatasetRunsOrderByWithAggregationInput[] by: DatasetRunsScalarFieldEnum[] | DatasetRunsScalarFieldEnum having?: DatasetRunsScalarWhereWithAggregatesInput take?: number skip?: number _count?: DatasetRunsCountAggregateInputType | true _min?: DatasetRunsMinAggregateInputType _max?: DatasetRunsMaxAggregateInputType } export type DatasetRunsGroupByOutputType = { id: string projectId: string name: string description: string | null metadata: JsonValue | null datasetId: string createdAt: Date updatedAt: Date _count: DatasetRunsCountAggregateOutputType | null _min: DatasetRunsMinAggregateOutputType | null _max: DatasetRunsMaxAggregateOutputType | null } type GetDatasetRunsGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof DatasetRunsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type DatasetRunsSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean name?: boolean description?: boolean metadata?: boolean datasetId?: boolean createdAt?: boolean updatedAt?: boolean dataset?: boolean | DatasetDefaultArgs datasetRunItems?: boolean | DatasetRuns$datasetRunItemsArgs _count?: boolean | DatasetRunsCountOutputTypeDefaultArgs }, ExtArgs["result"]["datasetRuns"]> export type DatasetRunsSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean name?: boolean description?: boolean metadata?: boolean datasetId?: boolean createdAt?: boolean updatedAt?: boolean dataset?: boolean | DatasetDefaultArgs }, ExtArgs["result"]["datasetRuns"]> export type DatasetRunsSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean name?: boolean description?: boolean metadata?: boolean datasetId?: boolean createdAt?: boolean updatedAt?: boolean dataset?: boolean | DatasetDefaultArgs }, ExtArgs["result"]["datasetRuns"]> export type DatasetRunsSelectScalar = { id?: boolean projectId?: boolean name?: boolean description?: boolean metadata?: boolean datasetId?: boolean createdAt?: boolean updatedAt?: boolean } export type DatasetRunsOmit = $Extensions.GetOmit<"id" | "projectId" | "name" | "description" | "metadata" | "datasetId" | "createdAt" | "updatedAt", ExtArgs["result"]["datasetRuns"]> export type DatasetRunsInclude = { dataset?: boolean | DatasetDefaultArgs datasetRunItems?: boolean | DatasetRuns$datasetRunItemsArgs _count?: boolean | DatasetRunsCountOutputTypeDefaultArgs } export type DatasetRunsIncludeCreateManyAndReturn = { dataset?: boolean | DatasetDefaultArgs } export type DatasetRunsIncludeUpdateManyAndReturn = { dataset?: boolean | DatasetDefaultArgs } export type $DatasetRunsPayload = { name: "DatasetRuns" objects: { dataset: Prisma.$DatasetPayload datasetRunItems: Prisma.$DatasetRunItemsPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string name: string description: string | null metadata: Prisma.JsonValue | null datasetId: string createdAt: Date updatedAt: Date }, ExtArgs["result"]["datasetRuns"]> composites: {} } type DatasetRunsGetPayload = $Result.GetResult type DatasetRunsCountArgs = Omit & { select?: DatasetRunsCountAggregateInputType | true } export interface DatasetRunsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['DatasetRuns'], meta: { name: 'DatasetRuns' } } /** * Find zero or one DatasetRuns that matches the filter. * @param {DatasetRunsFindUniqueArgs} args - Arguments to find a DatasetRuns * @example * // Get one DatasetRuns * const datasetRuns = await prisma.datasetRuns.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__DatasetRunsClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one DatasetRuns that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {DatasetRunsFindUniqueOrThrowArgs} args - Arguments to find a DatasetRuns * @example * // Get one DatasetRuns * const datasetRuns = await prisma.datasetRuns.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__DatasetRunsClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first DatasetRuns 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 {DatasetRunsFindFirstArgs} args - Arguments to find a DatasetRuns * @example * // Get one DatasetRuns * const datasetRuns = await prisma.datasetRuns.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__DatasetRunsClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first DatasetRuns 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 {DatasetRunsFindFirstOrThrowArgs} args - Arguments to find a DatasetRuns * @example * // Get one DatasetRuns * const datasetRuns = await prisma.datasetRuns.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__DatasetRunsClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more DatasetRuns 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 {DatasetRunsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all DatasetRuns * const datasetRuns = await prisma.datasetRuns.findMany() * * // Get first 10 DatasetRuns * const datasetRuns = await prisma.datasetRuns.findMany({ take: 10 }) * * // Only select the `id` * const datasetRunsWithIdOnly = await prisma.datasetRuns.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a DatasetRuns. * @param {DatasetRunsCreateArgs} args - Arguments to create a DatasetRuns. * @example * // Create one DatasetRuns * const DatasetRuns = await prisma.datasetRuns.create({ * data: { * // ... data to create a DatasetRuns * } * }) * */ create(args: SelectSubset>): Prisma__DatasetRunsClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many DatasetRuns. * @param {DatasetRunsCreateManyArgs} args - Arguments to create many DatasetRuns. * @example * // Create many DatasetRuns * const datasetRuns = await prisma.datasetRuns.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many DatasetRuns and returns the data saved in the database. * @param {DatasetRunsCreateManyAndReturnArgs} args - Arguments to create many DatasetRuns. * @example * // Create many DatasetRuns * const datasetRuns = await prisma.datasetRuns.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many DatasetRuns and only return the `id` * const datasetRunsWithIdOnly = await prisma.datasetRuns.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 DatasetRuns. * @param {DatasetRunsDeleteArgs} args - Arguments to delete one DatasetRuns. * @example * // Delete one DatasetRuns * const DatasetRuns = await prisma.datasetRuns.delete({ * where: { * // ... filter to delete one DatasetRuns * } * }) * */ delete(args: SelectSubset>): Prisma__DatasetRunsClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one DatasetRuns. * @param {DatasetRunsUpdateArgs} args - Arguments to update one DatasetRuns. * @example * // Update one DatasetRuns * const datasetRuns = await prisma.datasetRuns.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__DatasetRunsClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more DatasetRuns. * @param {DatasetRunsDeleteManyArgs} args - Arguments to filter DatasetRuns to delete. * @example * // Delete a few DatasetRuns * const { count } = await prisma.datasetRuns.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DatasetRuns. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetRunsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many DatasetRuns * const datasetRuns = await prisma.datasetRuns.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DatasetRuns and returns the data updated in the database. * @param {DatasetRunsUpdateManyAndReturnArgs} args - Arguments to update many DatasetRuns. * @example * // Update many DatasetRuns * const datasetRuns = await prisma.datasetRuns.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more DatasetRuns and only return the `id` * const datasetRunsWithIdOnly = await prisma.datasetRuns.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 DatasetRuns. * @param {DatasetRunsUpsertArgs} args - Arguments to update or create a DatasetRuns. * @example * // Update or create a DatasetRuns * const datasetRuns = await prisma.datasetRuns.upsert({ * create: { * // ... data to create a DatasetRuns * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the DatasetRuns we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__DatasetRunsClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of DatasetRuns. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetRunsCountArgs} args - Arguments to filter DatasetRuns to count. * @example * // Count the number of DatasetRuns * const count = await prisma.datasetRuns.count({ * where: { * // ... the filter for the DatasetRuns 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 DatasetRuns. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetRunsAggregateArgs} 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 DatasetRuns. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetRunsGroupByArgs} 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 DatasetRunsGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: DatasetRunsGroupByArgs['orderBy'] } : { orderBy?: DatasetRunsGroupByArgs['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 ? GetDatasetRunsGroupByPayload : Prisma.PrismaPromise /** * Fields of the DatasetRuns model */ readonly fields: DatasetRunsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for DatasetRuns. * 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__DatasetRunsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" dataset = {}>(args?: Subset>): Prisma__DatasetClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> datasetRunItems = {}>(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 DatasetRuns model */ interface DatasetRunsFieldRefs { readonly id: FieldRef<"DatasetRuns", 'String'> readonly projectId: FieldRef<"DatasetRuns", 'String'> readonly name: FieldRef<"DatasetRuns", 'String'> readonly description: FieldRef<"DatasetRuns", 'String'> readonly metadata: FieldRef<"DatasetRuns", 'Json'> readonly datasetId: FieldRef<"DatasetRuns", 'String'> readonly createdAt: FieldRef<"DatasetRuns", 'DateTime'> readonly updatedAt: FieldRef<"DatasetRuns", 'DateTime'> } // Custom InputTypes /** * DatasetRuns findUnique */ export type DatasetRunsFindUniqueArgs = { /** * Select specific fields to fetch from the DatasetRuns */ select?: DatasetRunsSelect | null /** * Omit specific fields from the DatasetRuns */ omit?: DatasetRunsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunsInclude | null /** * Filter, which DatasetRuns to fetch. */ where: DatasetRunsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRuns findUniqueOrThrow */ export type DatasetRunsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the DatasetRuns */ select?: DatasetRunsSelect | null /** * Omit specific fields from the DatasetRuns */ omit?: DatasetRunsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunsInclude | null /** * Filter, which DatasetRuns to fetch. */ where: DatasetRunsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRuns findFirst */ export type DatasetRunsFindFirstArgs = { /** * Select specific fields to fetch from the DatasetRuns */ select?: DatasetRunsSelect | null /** * Omit specific fields from the DatasetRuns */ omit?: DatasetRunsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunsInclude | null /** * Filter, which DatasetRuns to fetch. */ where?: DatasetRunsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DatasetRuns to fetch. */ orderBy?: DatasetRunsOrderByWithRelationInput | DatasetRunsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DatasetRuns. */ cursor?: DatasetRunsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DatasetRuns 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` DatasetRuns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DatasetRuns. */ distinct?: DatasetRunsScalarFieldEnum | DatasetRunsScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRuns findFirstOrThrow */ export type DatasetRunsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the DatasetRuns */ select?: DatasetRunsSelect | null /** * Omit specific fields from the DatasetRuns */ omit?: DatasetRunsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunsInclude | null /** * Filter, which DatasetRuns to fetch. */ where?: DatasetRunsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DatasetRuns to fetch. */ orderBy?: DatasetRunsOrderByWithRelationInput | DatasetRunsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DatasetRuns. */ cursor?: DatasetRunsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DatasetRuns 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` DatasetRuns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DatasetRuns. */ distinct?: DatasetRunsScalarFieldEnum | DatasetRunsScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRuns findMany */ export type DatasetRunsFindManyArgs = { /** * Select specific fields to fetch from the DatasetRuns */ select?: DatasetRunsSelect | null /** * Omit specific fields from the DatasetRuns */ omit?: DatasetRunsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunsInclude | null /** * Filter, which DatasetRuns to fetch. */ where?: DatasetRunsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DatasetRuns to fetch. */ orderBy?: DatasetRunsOrderByWithRelationInput | DatasetRunsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing DatasetRuns. */ cursor?: DatasetRunsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DatasetRuns 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` DatasetRuns. */ skip?: number distinct?: DatasetRunsScalarFieldEnum | DatasetRunsScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRuns create */ export type DatasetRunsCreateArgs = { /** * Select specific fields to fetch from the DatasetRuns */ select?: DatasetRunsSelect | null /** * Omit specific fields from the DatasetRuns */ omit?: DatasetRunsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunsInclude | null /** * The data needed to create a DatasetRuns. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRuns createMany */ export type DatasetRunsCreateManyArgs = { /** * The data used to create many DatasetRuns. */ data: DatasetRunsCreateManyInput | DatasetRunsCreateManyInput[] skipDuplicates?: boolean } /** * DatasetRuns createManyAndReturn */ export type DatasetRunsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the DatasetRuns */ select?: DatasetRunsSelectCreateManyAndReturn | null /** * Omit specific fields from the DatasetRuns */ omit?: DatasetRunsOmit | null /** * The data used to create many DatasetRuns. */ data: DatasetRunsCreateManyInput | DatasetRunsCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: DatasetRunsIncludeCreateManyAndReturn | null } /** * DatasetRuns update */ export type DatasetRunsUpdateArgs = { /** * Select specific fields to fetch from the DatasetRuns */ select?: DatasetRunsSelect | null /** * Omit specific fields from the DatasetRuns */ omit?: DatasetRunsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunsInclude | null /** * The data needed to update a DatasetRuns. */ data: XOR /** * Choose, which DatasetRuns to update. */ where: DatasetRunsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRuns updateMany */ export type DatasetRunsUpdateManyArgs = { /** * The data used to update DatasetRuns. */ data: XOR /** * Filter which DatasetRuns to update */ where?: DatasetRunsWhereInput /** * Limit how many DatasetRuns to update. */ limit?: number } /** * DatasetRuns updateManyAndReturn */ export type DatasetRunsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the DatasetRuns */ select?: DatasetRunsSelectUpdateManyAndReturn | null /** * Omit specific fields from the DatasetRuns */ omit?: DatasetRunsOmit | null /** * The data used to update DatasetRuns. */ data: XOR /** * Filter which DatasetRuns to update */ where?: DatasetRunsWhereInput /** * Limit how many DatasetRuns to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: DatasetRunsIncludeUpdateManyAndReturn | null } /** * DatasetRuns upsert */ export type DatasetRunsUpsertArgs = { /** * Select specific fields to fetch from the DatasetRuns */ select?: DatasetRunsSelect | null /** * Omit specific fields from the DatasetRuns */ omit?: DatasetRunsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunsInclude | null /** * The filter to search for the DatasetRuns to update in case it exists. */ where: DatasetRunsWhereUniqueInput /** * In case the DatasetRuns found by the `where` argument doesn't exist, create a new DatasetRuns with this data. */ create: XOR /** * In case the DatasetRuns was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRuns delete */ export type DatasetRunsDeleteArgs = { /** * Select specific fields to fetch from the DatasetRuns */ select?: DatasetRunsSelect | null /** * Omit specific fields from the DatasetRuns */ omit?: DatasetRunsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunsInclude | null /** * Filter which DatasetRuns to delete. */ where: DatasetRunsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRuns deleteMany */ export type DatasetRunsDeleteManyArgs = { /** * Filter which DatasetRuns to delete */ where?: DatasetRunsWhereInput /** * Limit how many DatasetRuns to delete. */ limit?: number } /** * DatasetRuns.datasetRunItems */ export type DatasetRuns$datasetRunItemsArgs = { /** * Select specific fields to fetch from the DatasetRunItems */ select?: DatasetRunItemsSelect | null /** * Omit specific fields from the DatasetRunItems */ omit?: DatasetRunItemsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunItemsInclude | null where?: DatasetRunItemsWhereInput orderBy?: DatasetRunItemsOrderByWithRelationInput | DatasetRunItemsOrderByWithRelationInput[] cursor?: DatasetRunItemsWhereUniqueInput take?: number skip?: number distinct?: DatasetRunItemsScalarFieldEnum | DatasetRunItemsScalarFieldEnum[] } /** * DatasetRuns without action */ export type DatasetRunsDefaultArgs = { /** * Select specific fields to fetch from the DatasetRuns */ select?: DatasetRunsSelect | null /** * Omit specific fields from the DatasetRuns */ omit?: DatasetRunsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunsInclude | null } /** * Model DatasetRunItems */ export type AggregateDatasetRunItems = { _count: DatasetRunItemsCountAggregateOutputType | null _min: DatasetRunItemsMinAggregateOutputType | null _max: DatasetRunItemsMaxAggregateOutputType | null } export type DatasetRunItemsMinAggregateOutputType = { id: string | null projectId: string | null datasetRunId: string | null datasetItemId: string | null traceId: string | null observationId: string | null createdAt: Date | null updatedAt: Date | null } export type DatasetRunItemsMaxAggregateOutputType = { id: string | null projectId: string | null datasetRunId: string | null datasetItemId: string | null traceId: string | null observationId: string | null createdAt: Date | null updatedAt: Date | null } export type DatasetRunItemsCountAggregateOutputType = { id: number projectId: number datasetRunId: number datasetItemId: number traceId: number observationId: number createdAt: number updatedAt: number _all: number } export type DatasetRunItemsMinAggregateInputType = { id?: true projectId?: true datasetRunId?: true datasetItemId?: true traceId?: true observationId?: true createdAt?: true updatedAt?: true } export type DatasetRunItemsMaxAggregateInputType = { id?: true projectId?: true datasetRunId?: true datasetItemId?: true traceId?: true observationId?: true createdAt?: true updatedAt?: true } export type DatasetRunItemsCountAggregateInputType = { id?: true projectId?: true datasetRunId?: true datasetItemId?: true traceId?: true observationId?: true createdAt?: true updatedAt?: true _all?: true } export type DatasetRunItemsAggregateArgs = { /** * Filter which DatasetRunItems to aggregate. */ where?: DatasetRunItemsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DatasetRunItems to fetch. */ orderBy?: DatasetRunItemsOrderByWithRelationInput | DatasetRunItemsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: DatasetRunItemsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DatasetRunItems 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` DatasetRunItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned DatasetRunItems **/ _count?: true | DatasetRunItemsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: DatasetRunItemsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: DatasetRunItemsMaxAggregateInputType } export type GetDatasetRunItemsAggregateType = { [P in keyof T & keyof AggregateDatasetRunItems]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type DatasetRunItemsGroupByArgs = { where?: DatasetRunItemsWhereInput orderBy?: DatasetRunItemsOrderByWithAggregationInput | DatasetRunItemsOrderByWithAggregationInput[] by: DatasetRunItemsScalarFieldEnum[] | DatasetRunItemsScalarFieldEnum having?: DatasetRunItemsScalarWhereWithAggregatesInput take?: number skip?: number _count?: DatasetRunItemsCountAggregateInputType | true _min?: DatasetRunItemsMinAggregateInputType _max?: DatasetRunItemsMaxAggregateInputType } export type DatasetRunItemsGroupByOutputType = { id: string projectId: string datasetRunId: string datasetItemId: string traceId: string observationId: string | null createdAt: Date updatedAt: Date _count: DatasetRunItemsCountAggregateOutputType | null _min: DatasetRunItemsMinAggregateOutputType | null _max: DatasetRunItemsMaxAggregateOutputType | null } type GetDatasetRunItemsGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof DatasetRunItemsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type DatasetRunItemsSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean datasetRunId?: boolean datasetItemId?: boolean traceId?: boolean observationId?: boolean createdAt?: boolean updatedAt?: boolean datasetRun?: boolean | DatasetRunsDefaultArgs datasetItem?: boolean | DatasetItemDefaultArgs }, ExtArgs["result"]["datasetRunItems"]> export type DatasetRunItemsSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean datasetRunId?: boolean datasetItemId?: boolean traceId?: boolean observationId?: boolean createdAt?: boolean updatedAt?: boolean datasetRun?: boolean | DatasetRunsDefaultArgs datasetItem?: boolean | DatasetItemDefaultArgs }, ExtArgs["result"]["datasetRunItems"]> export type DatasetRunItemsSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean datasetRunId?: boolean datasetItemId?: boolean traceId?: boolean observationId?: boolean createdAt?: boolean updatedAt?: boolean datasetRun?: boolean | DatasetRunsDefaultArgs datasetItem?: boolean | DatasetItemDefaultArgs }, ExtArgs["result"]["datasetRunItems"]> export type DatasetRunItemsSelectScalar = { id?: boolean projectId?: boolean datasetRunId?: boolean datasetItemId?: boolean traceId?: boolean observationId?: boolean createdAt?: boolean updatedAt?: boolean } export type DatasetRunItemsOmit = $Extensions.GetOmit<"id" | "projectId" | "datasetRunId" | "datasetItemId" | "traceId" | "observationId" | "createdAt" | "updatedAt", ExtArgs["result"]["datasetRunItems"]> export type DatasetRunItemsInclude = { datasetRun?: boolean | DatasetRunsDefaultArgs datasetItem?: boolean | DatasetItemDefaultArgs } export type DatasetRunItemsIncludeCreateManyAndReturn = { datasetRun?: boolean | DatasetRunsDefaultArgs datasetItem?: boolean | DatasetItemDefaultArgs } export type DatasetRunItemsIncludeUpdateManyAndReturn = { datasetRun?: boolean | DatasetRunsDefaultArgs datasetItem?: boolean | DatasetItemDefaultArgs } export type $DatasetRunItemsPayload = { name: "DatasetRunItems" objects: { datasetRun: Prisma.$DatasetRunsPayload datasetItem: Prisma.$DatasetItemPayload } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string datasetRunId: string datasetItemId: string traceId: string observationId: string | null createdAt: Date updatedAt: Date }, ExtArgs["result"]["datasetRunItems"]> composites: {} } type DatasetRunItemsGetPayload = $Result.GetResult type DatasetRunItemsCountArgs = Omit & { select?: DatasetRunItemsCountAggregateInputType | true } export interface DatasetRunItemsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['DatasetRunItems'], meta: { name: 'DatasetRunItems' } } /** * Find zero or one DatasetRunItems that matches the filter. * @param {DatasetRunItemsFindUniqueArgs} args - Arguments to find a DatasetRunItems * @example * // Get one DatasetRunItems * const datasetRunItems = await prisma.datasetRunItems.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__DatasetRunItemsClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one DatasetRunItems that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {DatasetRunItemsFindUniqueOrThrowArgs} args - Arguments to find a DatasetRunItems * @example * // Get one DatasetRunItems * const datasetRunItems = await prisma.datasetRunItems.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__DatasetRunItemsClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first DatasetRunItems 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 {DatasetRunItemsFindFirstArgs} args - Arguments to find a DatasetRunItems * @example * // Get one DatasetRunItems * const datasetRunItems = await prisma.datasetRunItems.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__DatasetRunItemsClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first DatasetRunItems 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 {DatasetRunItemsFindFirstOrThrowArgs} args - Arguments to find a DatasetRunItems * @example * // Get one DatasetRunItems * const datasetRunItems = await prisma.datasetRunItems.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__DatasetRunItemsClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more DatasetRunItems 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 {DatasetRunItemsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all DatasetRunItems * const datasetRunItems = await prisma.datasetRunItems.findMany() * * // Get first 10 DatasetRunItems * const datasetRunItems = await prisma.datasetRunItems.findMany({ take: 10 }) * * // Only select the `id` * const datasetRunItemsWithIdOnly = await prisma.datasetRunItems.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a DatasetRunItems. * @param {DatasetRunItemsCreateArgs} args - Arguments to create a DatasetRunItems. * @example * // Create one DatasetRunItems * const DatasetRunItems = await prisma.datasetRunItems.create({ * data: { * // ... data to create a DatasetRunItems * } * }) * */ create(args: SelectSubset>): Prisma__DatasetRunItemsClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many DatasetRunItems. * @param {DatasetRunItemsCreateManyArgs} args - Arguments to create many DatasetRunItems. * @example * // Create many DatasetRunItems * const datasetRunItems = await prisma.datasetRunItems.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many DatasetRunItems and returns the data saved in the database. * @param {DatasetRunItemsCreateManyAndReturnArgs} args - Arguments to create many DatasetRunItems. * @example * // Create many DatasetRunItems * const datasetRunItems = await prisma.datasetRunItems.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many DatasetRunItems and only return the `id` * const datasetRunItemsWithIdOnly = await prisma.datasetRunItems.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 DatasetRunItems. * @param {DatasetRunItemsDeleteArgs} args - Arguments to delete one DatasetRunItems. * @example * // Delete one DatasetRunItems * const DatasetRunItems = await prisma.datasetRunItems.delete({ * where: { * // ... filter to delete one DatasetRunItems * } * }) * */ delete(args: SelectSubset>): Prisma__DatasetRunItemsClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one DatasetRunItems. * @param {DatasetRunItemsUpdateArgs} args - Arguments to update one DatasetRunItems. * @example * // Update one DatasetRunItems * const datasetRunItems = await prisma.datasetRunItems.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__DatasetRunItemsClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more DatasetRunItems. * @param {DatasetRunItemsDeleteManyArgs} args - Arguments to filter DatasetRunItems to delete. * @example * // Delete a few DatasetRunItems * const { count } = await prisma.datasetRunItems.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DatasetRunItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetRunItemsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many DatasetRunItems * const datasetRunItems = await prisma.datasetRunItems.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DatasetRunItems and returns the data updated in the database. * @param {DatasetRunItemsUpdateManyAndReturnArgs} args - Arguments to update many DatasetRunItems. * @example * // Update many DatasetRunItems * const datasetRunItems = await prisma.datasetRunItems.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more DatasetRunItems and only return the `id` * const datasetRunItemsWithIdOnly = await prisma.datasetRunItems.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 DatasetRunItems. * @param {DatasetRunItemsUpsertArgs} args - Arguments to update or create a DatasetRunItems. * @example * // Update or create a DatasetRunItems * const datasetRunItems = await prisma.datasetRunItems.upsert({ * create: { * // ... data to create a DatasetRunItems * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the DatasetRunItems we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__DatasetRunItemsClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of DatasetRunItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetRunItemsCountArgs} args - Arguments to filter DatasetRunItems to count. * @example * // Count the number of DatasetRunItems * const count = await prisma.datasetRunItems.count({ * where: { * // ... the filter for the DatasetRunItems 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 DatasetRunItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetRunItemsAggregateArgs} 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 DatasetRunItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DatasetRunItemsGroupByArgs} 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 DatasetRunItemsGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: DatasetRunItemsGroupByArgs['orderBy'] } : { orderBy?: DatasetRunItemsGroupByArgs['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 ? GetDatasetRunItemsGroupByPayload : Prisma.PrismaPromise /** * Fields of the DatasetRunItems model */ readonly fields: DatasetRunItemsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for DatasetRunItems. * 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__DatasetRunItemsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" datasetRun = {}>(args?: Subset>): Prisma__DatasetRunsClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> datasetItem = {}>(args?: Subset>): Prisma__DatasetItemClient<$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 DatasetRunItems model */ interface DatasetRunItemsFieldRefs { readonly id: FieldRef<"DatasetRunItems", 'String'> readonly projectId: FieldRef<"DatasetRunItems", 'String'> readonly datasetRunId: FieldRef<"DatasetRunItems", 'String'> readonly datasetItemId: FieldRef<"DatasetRunItems", 'String'> readonly traceId: FieldRef<"DatasetRunItems", 'String'> readonly observationId: FieldRef<"DatasetRunItems", 'String'> readonly createdAt: FieldRef<"DatasetRunItems", 'DateTime'> readonly updatedAt: FieldRef<"DatasetRunItems", 'DateTime'> } // Custom InputTypes /** * DatasetRunItems findUnique */ export type DatasetRunItemsFindUniqueArgs = { /** * Select specific fields to fetch from the DatasetRunItems */ select?: DatasetRunItemsSelect | null /** * Omit specific fields from the DatasetRunItems */ omit?: DatasetRunItemsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunItemsInclude | null /** * Filter, which DatasetRunItems to fetch. */ where: DatasetRunItemsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRunItems findUniqueOrThrow */ export type DatasetRunItemsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the DatasetRunItems */ select?: DatasetRunItemsSelect | null /** * Omit specific fields from the DatasetRunItems */ omit?: DatasetRunItemsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunItemsInclude | null /** * Filter, which DatasetRunItems to fetch. */ where: DatasetRunItemsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRunItems findFirst */ export type DatasetRunItemsFindFirstArgs = { /** * Select specific fields to fetch from the DatasetRunItems */ select?: DatasetRunItemsSelect | null /** * Omit specific fields from the DatasetRunItems */ omit?: DatasetRunItemsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunItemsInclude | null /** * Filter, which DatasetRunItems to fetch. */ where?: DatasetRunItemsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DatasetRunItems to fetch. */ orderBy?: DatasetRunItemsOrderByWithRelationInput | DatasetRunItemsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DatasetRunItems. */ cursor?: DatasetRunItemsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DatasetRunItems 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` DatasetRunItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DatasetRunItems. */ distinct?: DatasetRunItemsScalarFieldEnum | DatasetRunItemsScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRunItems findFirstOrThrow */ export type DatasetRunItemsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the DatasetRunItems */ select?: DatasetRunItemsSelect | null /** * Omit specific fields from the DatasetRunItems */ omit?: DatasetRunItemsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunItemsInclude | null /** * Filter, which DatasetRunItems to fetch. */ where?: DatasetRunItemsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DatasetRunItems to fetch. */ orderBy?: DatasetRunItemsOrderByWithRelationInput | DatasetRunItemsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DatasetRunItems. */ cursor?: DatasetRunItemsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DatasetRunItems 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` DatasetRunItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DatasetRunItems. */ distinct?: DatasetRunItemsScalarFieldEnum | DatasetRunItemsScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRunItems findMany */ export type DatasetRunItemsFindManyArgs = { /** * Select specific fields to fetch from the DatasetRunItems */ select?: DatasetRunItemsSelect | null /** * Omit specific fields from the DatasetRunItems */ omit?: DatasetRunItemsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunItemsInclude | null /** * Filter, which DatasetRunItems to fetch. */ where?: DatasetRunItemsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DatasetRunItems to fetch. */ orderBy?: DatasetRunItemsOrderByWithRelationInput | DatasetRunItemsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing DatasetRunItems. */ cursor?: DatasetRunItemsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DatasetRunItems 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` DatasetRunItems. */ skip?: number distinct?: DatasetRunItemsScalarFieldEnum | DatasetRunItemsScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRunItems create */ export type DatasetRunItemsCreateArgs = { /** * Select specific fields to fetch from the DatasetRunItems */ select?: DatasetRunItemsSelect | null /** * Omit specific fields from the DatasetRunItems */ omit?: DatasetRunItemsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunItemsInclude | null /** * The data needed to create a DatasetRunItems. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRunItems createMany */ export type DatasetRunItemsCreateManyArgs = { /** * The data used to create many DatasetRunItems. */ data: DatasetRunItemsCreateManyInput | DatasetRunItemsCreateManyInput[] skipDuplicates?: boolean } /** * DatasetRunItems createManyAndReturn */ export type DatasetRunItemsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the DatasetRunItems */ select?: DatasetRunItemsSelectCreateManyAndReturn | null /** * Omit specific fields from the DatasetRunItems */ omit?: DatasetRunItemsOmit | null /** * The data used to create many DatasetRunItems. */ data: DatasetRunItemsCreateManyInput | DatasetRunItemsCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: DatasetRunItemsIncludeCreateManyAndReturn | null } /** * DatasetRunItems update */ export type DatasetRunItemsUpdateArgs = { /** * Select specific fields to fetch from the DatasetRunItems */ select?: DatasetRunItemsSelect | null /** * Omit specific fields from the DatasetRunItems */ omit?: DatasetRunItemsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunItemsInclude | null /** * The data needed to update a DatasetRunItems. */ data: XOR /** * Choose, which DatasetRunItems to update. */ where: DatasetRunItemsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRunItems updateMany */ export type DatasetRunItemsUpdateManyArgs = { /** * The data used to update DatasetRunItems. */ data: XOR /** * Filter which DatasetRunItems to update */ where?: DatasetRunItemsWhereInput /** * Limit how many DatasetRunItems to update. */ limit?: number } /** * DatasetRunItems updateManyAndReturn */ export type DatasetRunItemsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the DatasetRunItems */ select?: DatasetRunItemsSelectUpdateManyAndReturn | null /** * Omit specific fields from the DatasetRunItems */ omit?: DatasetRunItemsOmit | null /** * The data used to update DatasetRunItems. */ data: XOR /** * Filter which DatasetRunItems to update */ where?: DatasetRunItemsWhereInput /** * Limit how many DatasetRunItems to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: DatasetRunItemsIncludeUpdateManyAndReturn | null } /** * DatasetRunItems upsert */ export type DatasetRunItemsUpsertArgs = { /** * Select specific fields to fetch from the DatasetRunItems */ select?: DatasetRunItemsSelect | null /** * Omit specific fields from the DatasetRunItems */ omit?: DatasetRunItemsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunItemsInclude | null /** * The filter to search for the DatasetRunItems to update in case it exists. */ where: DatasetRunItemsWhereUniqueInput /** * In case the DatasetRunItems found by the `where` argument doesn't exist, create a new DatasetRunItems with this data. */ create: XOR /** * In case the DatasetRunItems was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRunItems delete */ export type DatasetRunItemsDeleteArgs = { /** * Select specific fields to fetch from the DatasetRunItems */ select?: DatasetRunItemsSelect | null /** * Omit specific fields from the DatasetRunItems */ omit?: DatasetRunItemsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunItemsInclude | null /** * Filter which DatasetRunItems to delete. */ where: DatasetRunItemsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DatasetRunItems deleteMany */ export type DatasetRunItemsDeleteManyArgs = { /** * Filter which DatasetRunItems to delete */ where?: DatasetRunItemsWhereInput /** * Limit how many DatasetRunItems to delete. */ limit?: number } /** * DatasetRunItems without action */ export type DatasetRunItemsDefaultArgs = { /** * Select specific fields to fetch from the DatasetRunItems */ select?: DatasetRunItemsSelect | null /** * Omit specific fields from the DatasetRunItems */ omit?: DatasetRunItemsOmit | null /** * Choose, which related nodes to fetch as well */ include?: DatasetRunItemsInclude | null } /** * Model Comment */ export type AggregateComment = { _count: CommentCountAggregateOutputType | null _min: CommentMinAggregateOutputType | null _max: CommentMaxAggregateOutputType | null } export type CommentMinAggregateOutputType = { id: string | null projectId: string | null objectType: $Enums.CommentObjectType | null objectId: string | null createdAt: Date | null updatedAt: Date | null content: string | null authorUserId: string | null } export type CommentMaxAggregateOutputType = { id: string | null projectId: string | null objectType: $Enums.CommentObjectType | null objectId: string | null createdAt: Date | null updatedAt: Date | null content: string | null authorUserId: string | null } export type CommentCountAggregateOutputType = { id: number projectId: number objectType: number objectId: number createdAt: number updatedAt: number content: number authorUserId: number _all: number } export type CommentMinAggregateInputType = { id?: true projectId?: true objectType?: true objectId?: true createdAt?: true updatedAt?: true content?: true authorUserId?: true } export type CommentMaxAggregateInputType = { id?: true projectId?: true objectType?: true objectId?: true createdAt?: true updatedAt?: true content?: true authorUserId?: true } export type CommentCountAggregateInputType = { id?: true projectId?: true objectType?: true objectId?: true createdAt?: true updatedAt?: true content?: true authorUserId?: true _all?: true } export type CommentAggregateArgs = { /** * Filter which Comment to aggregate. */ where?: CommentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Comments to fetch. */ orderBy?: CommentOrderByWithRelationInput | CommentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CommentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Comments 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` Comments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Comments **/ _count?: true | CommentCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CommentMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CommentMaxAggregateInputType } export type GetCommentAggregateType = { [P in keyof T & keyof AggregateComment]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CommentGroupByArgs = { where?: CommentWhereInput orderBy?: CommentOrderByWithAggregationInput | CommentOrderByWithAggregationInput[] by: CommentScalarFieldEnum[] | CommentScalarFieldEnum having?: CommentScalarWhereWithAggregatesInput take?: number skip?: number _count?: CommentCountAggregateInputType | true _min?: CommentMinAggregateInputType _max?: CommentMaxAggregateInputType } export type CommentGroupByOutputType = { id: string projectId: string objectType: $Enums.CommentObjectType objectId: string createdAt: Date updatedAt: Date content: string authorUserId: string | null _count: CommentCountAggregateOutputType | null _min: CommentMinAggregateOutputType | null _max: CommentMaxAggregateOutputType | null } type GetCommentGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CommentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CommentSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean objectType?: boolean objectId?: boolean createdAt?: boolean updatedAt?: boolean content?: boolean authorUserId?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["comment"]> export type CommentSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean objectType?: boolean objectId?: boolean createdAt?: boolean updatedAt?: boolean content?: boolean authorUserId?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["comment"]> export type CommentSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean objectType?: boolean objectId?: boolean createdAt?: boolean updatedAt?: boolean content?: boolean authorUserId?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["comment"]> export type CommentSelectScalar = { id?: boolean projectId?: boolean objectType?: boolean objectId?: boolean createdAt?: boolean updatedAt?: boolean content?: boolean authorUserId?: boolean } export type CommentOmit = $Extensions.GetOmit<"id" | "projectId" | "objectType" | "objectId" | "createdAt" | "updatedAt" | "content" | "authorUserId", ExtArgs["result"]["comment"]> export type CommentInclude = { project?: boolean | ProjectDefaultArgs } export type CommentIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type CommentIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $CommentPayload = { name: "Comment" objects: { project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string objectType: $Enums.CommentObjectType objectId: string createdAt: Date updatedAt: Date content: string authorUserId: string | null }, ExtArgs["result"]["comment"]> composites: {} } type CommentGetPayload = $Result.GetResult type CommentCountArgs = Omit & { select?: CommentCountAggregateInputType | true } export interface CommentDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Comment'], meta: { name: 'Comment' } } /** * Find zero or one Comment that matches the filter. * @param {CommentFindUniqueArgs} args - Arguments to find a Comment * @example * // Get one Comment * const comment = await prisma.comment.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CommentClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Comment that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CommentFindUniqueOrThrowArgs} args - Arguments to find a Comment * @example * // Get one Comment * const comment = await prisma.comment.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CommentClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Comment 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 {CommentFindFirstArgs} args - Arguments to find a Comment * @example * // Get one Comment * const comment = await prisma.comment.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CommentClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Comment 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 {CommentFindFirstOrThrowArgs} args - Arguments to find a Comment * @example * // Get one Comment * const comment = await prisma.comment.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CommentClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Comments 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 {CommentFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Comments * const comments = await prisma.comment.findMany() * * // Get first 10 Comments * const comments = await prisma.comment.findMany({ take: 10 }) * * // Only select the `id` * const commentWithIdOnly = await prisma.comment.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Comment. * @param {CommentCreateArgs} args - Arguments to create a Comment. * @example * // Create one Comment * const Comment = await prisma.comment.create({ * data: { * // ... data to create a Comment * } * }) * */ create(args: SelectSubset>): Prisma__CommentClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Comments. * @param {CommentCreateManyArgs} args - Arguments to create many Comments. * @example * // Create many Comments * const comment = await prisma.comment.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Comments and returns the data saved in the database. * @param {CommentCreateManyAndReturnArgs} args - Arguments to create many Comments. * @example * // Create many Comments * const comment = await prisma.comment.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Comments and only return the `id` * const commentWithIdOnly = await prisma.comment.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 Comment. * @param {CommentDeleteArgs} args - Arguments to delete one Comment. * @example * // Delete one Comment * const Comment = await prisma.comment.delete({ * where: { * // ... filter to delete one Comment * } * }) * */ delete(args: SelectSubset>): Prisma__CommentClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Comment. * @param {CommentUpdateArgs} args - Arguments to update one Comment. * @example * // Update one Comment * const comment = await prisma.comment.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CommentClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Comments. * @param {CommentDeleteManyArgs} args - Arguments to filter Comments to delete. * @example * // Delete a few Comments * const { count } = await prisma.comment.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Comments. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CommentUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Comments * const comment = await prisma.comment.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Comments and returns the data updated in the database. * @param {CommentUpdateManyAndReturnArgs} args - Arguments to update many Comments. * @example * // Update many Comments * const comment = await prisma.comment.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Comments and only return the `id` * const commentWithIdOnly = await prisma.comment.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 Comment. * @param {CommentUpsertArgs} args - Arguments to update or create a Comment. * @example * // Update or create a Comment * const comment = await prisma.comment.upsert({ * create: { * // ... data to create a Comment * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Comment we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CommentClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Comments. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CommentCountArgs} args - Arguments to filter Comments to count. * @example * // Count the number of Comments * const count = await prisma.comment.count({ * where: { * // ... the filter for the Comments 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 Comment. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CommentAggregateArgs} 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 Comment. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CommentGroupByArgs} 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 CommentGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CommentGroupByArgs['orderBy'] } : { orderBy?: CommentGroupByArgs['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 ? GetCommentGroupByPayload : Prisma.PrismaPromise /** * Fields of the Comment model */ readonly fields: CommentFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Comment. * 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__CommentClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$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 Comment model */ interface CommentFieldRefs { readonly id: FieldRef<"Comment", 'String'> readonly projectId: FieldRef<"Comment", 'String'> readonly objectType: FieldRef<"Comment", 'CommentObjectType'> readonly objectId: FieldRef<"Comment", 'String'> readonly createdAt: FieldRef<"Comment", 'DateTime'> readonly updatedAt: FieldRef<"Comment", 'DateTime'> readonly content: FieldRef<"Comment", 'String'> readonly authorUserId: FieldRef<"Comment", 'String'> } // Custom InputTypes /** * Comment findUnique */ export type CommentFindUniqueArgs = { /** * Select specific fields to fetch from the Comment */ select?: CommentSelect | null /** * Omit specific fields from the Comment */ omit?: CommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: CommentInclude | null /** * Filter, which Comment to fetch. */ where: CommentWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Comment findUniqueOrThrow */ export type CommentFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Comment */ select?: CommentSelect | null /** * Omit specific fields from the Comment */ omit?: CommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: CommentInclude | null /** * Filter, which Comment to fetch. */ where: CommentWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Comment findFirst */ export type CommentFindFirstArgs = { /** * Select specific fields to fetch from the Comment */ select?: CommentSelect | null /** * Omit specific fields from the Comment */ omit?: CommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: CommentInclude | null /** * Filter, which Comment to fetch. */ where?: CommentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Comments to fetch. */ orderBy?: CommentOrderByWithRelationInput | CommentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Comments. */ cursor?: CommentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Comments 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` Comments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Comments. */ distinct?: CommentScalarFieldEnum | CommentScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Comment findFirstOrThrow */ export type CommentFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Comment */ select?: CommentSelect | null /** * Omit specific fields from the Comment */ omit?: CommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: CommentInclude | null /** * Filter, which Comment to fetch. */ where?: CommentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Comments to fetch. */ orderBy?: CommentOrderByWithRelationInput | CommentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Comments. */ cursor?: CommentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Comments 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` Comments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Comments. */ distinct?: CommentScalarFieldEnum | CommentScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Comment findMany */ export type CommentFindManyArgs = { /** * Select specific fields to fetch from the Comment */ select?: CommentSelect | null /** * Omit specific fields from the Comment */ omit?: CommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: CommentInclude | null /** * Filter, which Comments to fetch. */ where?: CommentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Comments to fetch. */ orderBy?: CommentOrderByWithRelationInput | CommentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Comments. */ cursor?: CommentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Comments 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` Comments. */ skip?: number distinct?: CommentScalarFieldEnum | CommentScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Comment create */ export type CommentCreateArgs = { /** * Select specific fields to fetch from the Comment */ select?: CommentSelect | null /** * Omit specific fields from the Comment */ omit?: CommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: CommentInclude | null /** * The data needed to create a Comment. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Comment createMany */ export type CommentCreateManyArgs = { /** * The data used to create many Comments. */ data: CommentCreateManyInput | CommentCreateManyInput[] skipDuplicates?: boolean } /** * Comment createManyAndReturn */ export type CommentCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Comment */ select?: CommentSelectCreateManyAndReturn | null /** * Omit specific fields from the Comment */ omit?: CommentOmit | null /** * The data used to create many Comments. */ data: CommentCreateManyInput | CommentCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: CommentIncludeCreateManyAndReturn | null } /** * Comment update */ export type CommentUpdateArgs = { /** * Select specific fields to fetch from the Comment */ select?: CommentSelect | null /** * Omit specific fields from the Comment */ omit?: CommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: CommentInclude | null /** * The data needed to update a Comment. */ data: XOR /** * Choose, which Comment to update. */ where: CommentWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Comment updateMany */ export type CommentUpdateManyArgs = { /** * The data used to update Comments. */ data: XOR /** * Filter which Comments to update */ where?: CommentWhereInput /** * Limit how many Comments to update. */ limit?: number } /** * Comment updateManyAndReturn */ export type CommentUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Comment */ select?: CommentSelectUpdateManyAndReturn | null /** * Omit specific fields from the Comment */ omit?: CommentOmit | null /** * The data used to update Comments. */ data: XOR /** * Filter which Comments to update */ where?: CommentWhereInput /** * Limit how many Comments to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: CommentIncludeUpdateManyAndReturn | null } /** * Comment upsert */ export type CommentUpsertArgs = { /** * Select specific fields to fetch from the Comment */ select?: CommentSelect | null /** * Omit specific fields from the Comment */ omit?: CommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: CommentInclude | null /** * The filter to search for the Comment to update in case it exists. */ where: CommentWhereUniqueInput /** * In case the Comment found by the `where` argument doesn't exist, create a new Comment with this data. */ create: XOR /** * In case the Comment was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Comment delete */ export type CommentDeleteArgs = { /** * Select specific fields to fetch from the Comment */ select?: CommentSelect | null /** * Omit specific fields from the Comment */ omit?: CommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: CommentInclude | null /** * Filter which Comment to delete. */ where: CommentWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Comment deleteMany */ export type CommentDeleteManyArgs = { /** * Filter which Comments to delete */ where?: CommentWhereInput /** * Limit how many Comments to delete. */ limit?: number } /** * Comment without action */ export type CommentDefaultArgs = { /** * Select specific fields to fetch from the Comment */ select?: CommentSelect | null /** * Omit specific fields from the Comment */ omit?: CommentOmit | null /** * Choose, which related nodes to fetch as well */ include?: CommentInclude | null } /** * Model Prompt */ export type AggregatePrompt = { _count: PromptCountAggregateOutputType | null _avg: PromptAvgAggregateOutputType | null _sum: PromptSumAggregateOutputType | null _min: PromptMinAggregateOutputType | null _max: PromptMaxAggregateOutputType | null } export type PromptAvgAggregateOutputType = { version: number | null } export type PromptSumAggregateOutputType = { version: number | null } export type PromptMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null createdBy: string | null name: string | null version: number | null type: string | null isActive: boolean | null commitMessage: string | null } export type PromptMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null createdBy: string | null name: string | null version: number | null type: string | null isActive: boolean | null commitMessage: string | null } export type PromptCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number createdBy: number prompt: number name: number version: number type: number isActive: number config: number tags: number labels: number commitMessage: number _all: number } export type PromptAvgAggregateInputType = { version?: true } export type PromptSumAggregateInputType = { version?: true } export type PromptMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true createdBy?: true name?: true version?: true type?: true isActive?: true commitMessage?: true } export type PromptMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true createdBy?: true name?: true version?: true type?: true isActive?: true commitMessage?: true } export type PromptCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true createdBy?: true prompt?: true name?: true version?: true type?: true isActive?: true config?: true tags?: true labels?: true commitMessage?: true _all?: true } export type PromptAggregateArgs = { /** * Filter which Prompt to aggregate. */ where?: PromptWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Prompts to fetch. */ orderBy?: PromptOrderByWithRelationInput | PromptOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: PromptWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Prompts 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` Prompts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Prompts **/ _count?: true | PromptCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: PromptAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: PromptSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: PromptMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: PromptMaxAggregateInputType } export type GetPromptAggregateType = { [P in keyof T & keyof AggregatePrompt]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type PromptGroupByArgs = { where?: PromptWhereInput orderBy?: PromptOrderByWithAggregationInput | PromptOrderByWithAggregationInput[] by: PromptScalarFieldEnum[] | PromptScalarFieldEnum having?: PromptScalarWhereWithAggregatesInput take?: number skip?: number _count?: PromptCountAggregateInputType | true _avg?: PromptAvgAggregateInputType _sum?: PromptSumAggregateInputType _min?: PromptMinAggregateInputType _max?: PromptMaxAggregateInputType } export type PromptGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string createdBy: string prompt: JsonValue name: string version: number type: string isActive: boolean | null config: JsonValue tags: string[] labels: string[] commitMessage: string | null _count: PromptCountAggregateOutputType | null _avg: PromptAvgAggregateOutputType | null _sum: PromptSumAggregateOutputType | null _min: PromptMinAggregateOutputType | null _max: PromptMaxAggregateOutputType | null } type GetPromptGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof PromptGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type PromptSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean createdBy?: boolean prompt?: boolean name?: boolean version?: boolean type?: boolean isActive?: boolean config?: boolean tags?: boolean labels?: boolean commitMessage?: boolean project?: boolean | ProjectDefaultArgs PromptDependency?: boolean | Prompt$PromptDependencyArgs _count?: boolean | PromptCountOutputTypeDefaultArgs }, ExtArgs["result"]["prompt"]> export type PromptSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean createdBy?: boolean prompt?: boolean name?: boolean version?: boolean type?: boolean isActive?: boolean config?: boolean tags?: boolean labels?: boolean commitMessage?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["prompt"]> export type PromptSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean createdBy?: boolean prompt?: boolean name?: boolean version?: boolean type?: boolean isActive?: boolean config?: boolean tags?: boolean labels?: boolean commitMessage?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["prompt"]> export type PromptSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean createdBy?: boolean prompt?: boolean name?: boolean version?: boolean type?: boolean isActive?: boolean config?: boolean tags?: boolean labels?: boolean commitMessage?: boolean } export type PromptOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "createdBy" | "prompt" | "name" | "version" | "type" | "isActive" | "config" | "tags" | "labels" | "commitMessage", ExtArgs["result"]["prompt"]> export type PromptInclude = { project?: boolean | ProjectDefaultArgs PromptDependency?: boolean | Prompt$PromptDependencyArgs _count?: boolean | PromptCountOutputTypeDefaultArgs } export type PromptIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type PromptIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $PromptPayload = { name: "Prompt" objects: { project: Prisma.$ProjectPayload PromptDependency: Prisma.$PromptDependencyPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string createdBy: string prompt: Prisma.JsonValue name: string version: number type: string isActive: boolean | null config: Prisma.JsonValue tags: string[] labels: string[] commitMessage: string | null }, ExtArgs["result"]["prompt"]> composites: {} } type PromptGetPayload = $Result.GetResult type PromptCountArgs = Omit & { select?: PromptCountAggregateInputType | true } export interface PromptDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Prompt'], meta: { name: 'Prompt' } } /** * Find zero or one Prompt that matches the filter. * @param {PromptFindUniqueArgs} args - Arguments to find a Prompt * @example * // Get one Prompt * const prompt = await prisma.prompt.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__PromptClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Prompt that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {PromptFindUniqueOrThrowArgs} args - Arguments to find a Prompt * @example * // Get one Prompt * const prompt = await prisma.prompt.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__PromptClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Prompt 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 {PromptFindFirstArgs} args - Arguments to find a Prompt * @example * // Get one Prompt * const prompt = await prisma.prompt.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__PromptClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Prompt 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 {PromptFindFirstOrThrowArgs} args - Arguments to find a Prompt * @example * // Get one Prompt * const prompt = await prisma.prompt.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__PromptClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Prompts 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 {PromptFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Prompts * const prompts = await prisma.prompt.findMany() * * // Get first 10 Prompts * const prompts = await prisma.prompt.findMany({ take: 10 }) * * // Only select the `id` * const promptWithIdOnly = await prisma.prompt.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Prompt. * @param {PromptCreateArgs} args - Arguments to create a Prompt. * @example * // Create one Prompt * const Prompt = await prisma.prompt.create({ * data: { * // ... data to create a Prompt * } * }) * */ create(args: SelectSubset>): Prisma__PromptClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Prompts. * @param {PromptCreateManyArgs} args - Arguments to create many Prompts. * @example * // Create many Prompts * const prompt = await prisma.prompt.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Prompts and returns the data saved in the database. * @param {PromptCreateManyAndReturnArgs} args - Arguments to create many Prompts. * @example * // Create many Prompts * const prompt = await prisma.prompt.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Prompts and only return the `id` * const promptWithIdOnly = await prisma.prompt.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 Prompt. * @param {PromptDeleteArgs} args - Arguments to delete one Prompt. * @example * // Delete one Prompt * const Prompt = await prisma.prompt.delete({ * where: { * // ... filter to delete one Prompt * } * }) * */ delete(args: SelectSubset>): Prisma__PromptClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Prompt. * @param {PromptUpdateArgs} args - Arguments to update one Prompt. * @example * // Update one Prompt * const prompt = await prisma.prompt.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__PromptClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Prompts. * @param {PromptDeleteManyArgs} args - Arguments to filter Prompts to delete. * @example * // Delete a few Prompts * const { count } = await prisma.prompt.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Prompts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PromptUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Prompts * const prompt = await prisma.prompt.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Prompts and returns the data updated in the database. * @param {PromptUpdateManyAndReturnArgs} args - Arguments to update many Prompts. * @example * // Update many Prompts * const prompt = await prisma.prompt.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Prompts and only return the `id` * const promptWithIdOnly = await prisma.prompt.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 Prompt. * @param {PromptUpsertArgs} args - Arguments to update or create a Prompt. * @example * // Update or create a Prompt * const prompt = await prisma.prompt.upsert({ * create: { * // ... data to create a Prompt * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Prompt we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__PromptClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Prompts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PromptCountArgs} args - Arguments to filter Prompts to count. * @example * // Count the number of Prompts * const count = await prisma.prompt.count({ * where: { * // ... the filter for the Prompts 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 Prompt. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PromptAggregateArgs} 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 Prompt. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PromptGroupByArgs} 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 PromptGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: PromptGroupByArgs['orderBy'] } : { orderBy?: PromptGroupByArgs['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 ? GetPromptGroupByPayload : Prisma.PrismaPromise /** * Fields of the Prompt model */ readonly fields: PromptFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Prompt. * 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__PromptClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> PromptDependency = {}>(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 Prompt model */ interface PromptFieldRefs { readonly id: FieldRef<"Prompt", 'String'> readonly createdAt: FieldRef<"Prompt", 'DateTime'> readonly updatedAt: FieldRef<"Prompt", 'DateTime'> readonly projectId: FieldRef<"Prompt", 'String'> readonly createdBy: FieldRef<"Prompt", 'String'> readonly prompt: FieldRef<"Prompt", 'Json'> readonly name: FieldRef<"Prompt", 'String'> readonly version: FieldRef<"Prompt", 'Int'> readonly type: FieldRef<"Prompt", 'String'> readonly isActive: FieldRef<"Prompt", 'Boolean'> readonly config: FieldRef<"Prompt", 'Json'> readonly tags: FieldRef<"Prompt", 'String[]'> readonly labels: FieldRef<"Prompt", 'String[]'> readonly commitMessage: FieldRef<"Prompt", 'String'> } // Custom InputTypes /** * Prompt findUnique */ export type PromptFindUniqueArgs = { /** * Select specific fields to fetch from the Prompt */ select?: PromptSelect | null /** * Omit specific fields from the Prompt */ omit?: PromptOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptInclude | null /** * Filter, which Prompt to fetch. */ where: PromptWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Prompt findUniqueOrThrow */ export type PromptFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Prompt */ select?: PromptSelect | null /** * Omit specific fields from the Prompt */ omit?: PromptOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptInclude | null /** * Filter, which Prompt to fetch. */ where: PromptWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Prompt findFirst */ export type PromptFindFirstArgs = { /** * Select specific fields to fetch from the Prompt */ select?: PromptSelect | null /** * Omit specific fields from the Prompt */ omit?: PromptOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptInclude | null /** * Filter, which Prompt to fetch. */ where?: PromptWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Prompts to fetch. */ orderBy?: PromptOrderByWithRelationInput | PromptOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Prompts. */ cursor?: PromptWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Prompts 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` Prompts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Prompts. */ distinct?: PromptScalarFieldEnum | PromptScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Prompt findFirstOrThrow */ export type PromptFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Prompt */ select?: PromptSelect | null /** * Omit specific fields from the Prompt */ omit?: PromptOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptInclude | null /** * Filter, which Prompt to fetch. */ where?: PromptWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Prompts to fetch. */ orderBy?: PromptOrderByWithRelationInput | PromptOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Prompts. */ cursor?: PromptWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Prompts 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` Prompts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Prompts. */ distinct?: PromptScalarFieldEnum | PromptScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Prompt findMany */ export type PromptFindManyArgs = { /** * Select specific fields to fetch from the Prompt */ select?: PromptSelect | null /** * Omit specific fields from the Prompt */ omit?: PromptOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptInclude | null /** * Filter, which Prompts to fetch. */ where?: PromptWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Prompts to fetch. */ orderBy?: PromptOrderByWithRelationInput | PromptOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Prompts. */ cursor?: PromptWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Prompts 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` Prompts. */ skip?: number distinct?: PromptScalarFieldEnum | PromptScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Prompt create */ export type PromptCreateArgs = { /** * Select specific fields to fetch from the Prompt */ select?: PromptSelect | null /** * Omit specific fields from the Prompt */ omit?: PromptOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptInclude | null /** * The data needed to create a Prompt. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Prompt createMany */ export type PromptCreateManyArgs = { /** * The data used to create many Prompts. */ data: PromptCreateManyInput | PromptCreateManyInput[] skipDuplicates?: boolean } /** * Prompt createManyAndReturn */ export type PromptCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Prompt */ select?: PromptSelectCreateManyAndReturn | null /** * Omit specific fields from the Prompt */ omit?: PromptOmit | null /** * The data used to create many Prompts. */ data: PromptCreateManyInput | PromptCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: PromptIncludeCreateManyAndReturn | null } /** * Prompt update */ export type PromptUpdateArgs = { /** * Select specific fields to fetch from the Prompt */ select?: PromptSelect | null /** * Omit specific fields from the Prompt */ omit?: PromptOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptInclude | null /** * The data needed to update a Prompt. */ data: XOR /** * Choose, which Prompt to update. */ where: PromptWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Prompt updateMany */ export type PromptUpdateManyArgs = { /** * The data used to update Prompts. */ data: XOR /** * Filter which Prompts to update */ where?: PromptWhereInput /** * Limit how many Prompts to update. */ limit?: number } /** * Prompt updateManyAndReturn */ export type PromptUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Prompt */ select?: PromptSelectUpdateManyAndReturn | null /** * Omit specific fields from the Prompt */ omit?: PromptOmit | null /** * The data used to update Prompts. */ data: XOR /** * Filter which Prompts to update */ where?: PromptWhereInput /** * Limit how many Prompts to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: PromptIncludeUpdateManyAndReturn | null } /** * Prompt upsert */ export type PromptUpsertArgs = { /** * Select specific fields to fetch from the Prompt */ select?: PromptSelect | null /** * Omit specific fields from the Prompt */ omit?: PromptOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptInclude | null /** * The filter to search for the Prompt to update in case it exists. */ where: PromptWhereUniqueInput /** * In case the Prompt found by the `where` argument doesn't exist, create a new Prompt with this data. */ create: XOR /** * In case the Prompt was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Prompt delete */ export type PromptDeleteArgs = { /** * Select specific fields to fetch from the Prompt */ select?: PromptSelect | null /** * Omit specific fields from the Prompt */ omit?: PromptOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptInclude | null /** * Filter which Prompt to delete. */ where: PromptWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Prompt deleteMany */ export type PromptDeleteManyArgs = { /** * Filter which Prompts to delete */ where?: PromptWhereInput /** * Limit how many Prompts to delete. */ limit?: number } /** * Prompt.PromptDependency */ export type Prompt$PromptDependencyArgs = { /** * Select specific fields to fetch from the PromptDependency */ select?: PromptDependencySelect | null /** * Omit specific fields from the PromptDependency */ omit?: PromptDependencyOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptDependencyInclude | null where?: PromptDependencyWhereInput orderBy?: PromptDependencyOrderByWithRelationInput | PromptDependencyOrderByWithRelationInput[] cursor?: PromptDependencyWhereUniqueInput take?: number skip?: number distinct?: PromptDependencyScalarFieldEnum | PromptDependencyScalarFieldEnum[] } /** * Prompt without action */ export type PromptDefaultArgs = { /** * Select specific fields to fetch from the Prompt */ select?: PromptSelect | null /** * Omit specific fields from the Prompt */ omit?: PromptOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptInclude | null } /** * Model PromptDependency */ export type AggregatePromptDependency = { _count: PromptDependencyCountAggregateOutputType | null _avg: PromptDependencyAvgAggregateOutputType | null _sum: PromptDependencySumAggregateOutputType | null _min: PromptDependencyMinAggregateOutputType | null _max: PromptDependencyMaxAggregateOutputType | null } export type PromptDependencyAvgAggregateOutputType = { childVersion: number | null } export type PromptDependencySumAggregateOutputType = { childVersion: number | null } export type PromptDependencyMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null parentId: string | null childName: string | null childLabel: string | null childVersion: number | null } export type PromptDependencyMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null parentId: string | null childName: string | null childLabel: string | null childVersion: number | null } export type PromptDependencyCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number parentId: number childName: number childLabel: number childVersion: number _all: number } export type PromptDependencyAvgAggregateInputType = { childVersion?: true } export type PromptDependencySumAggregateInputType = { childVersion?: true } export type PromptDependencyMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true parentId?: true childName?: true childLabel?: true childVersion?: true } export type PromptDependencyMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true parentId?: true childName?: true childLabel?: true childVersion?: true } export type PromptDependencyCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true parentId?: true childName?: true childLabel?: true childVersion?: true _all?: true } export type PromptDependencyAggregateArgs = { /** * Filter which PromptDependency to aggregate. */ where?: PromptDependencyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PromptDependencies to fetch. */ orderBy?: PromptDependencyOrderByWithRelationInput | PromptDependencyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: PromptDependencyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PromptDependencies 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` PromptDependencies. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned PromptDependencies **/ _count?: true | PromptDependencyCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: PromptDependencyAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: PromptDependencySumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: PromptDependencyMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: PromptDependencyMaxAggregateInputType } export type GetPromptDependencyAggregateType = { [P in keyof T & keyof AggregatePromptDependency]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type PromptDependencyGroupByArgs = { where?: PromptDependencyWhereInput orderBy?: PromptDependencyOrderByWithAggregationInput | PromptDependencyOrderByWithAggregationInput[] by: PromptDependencyScalarFieldEnum[] | PromptDependencyScalarFieldEnum having?: PromptDependencyScalarWhereWithAggregatesInput take?: number skip?: number _count?: PromptDependencyCountAggregateInputType | true _avg?: PromptDependencyAvgAggregateInputType _sum?: PromptDependencySumAggregateInputType _min?: PromptDependencyMinAggregateInputType _max?: PromptDependencyMaxAggregateInputType } export type PromptDependencyGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string parentId: string childName: string childLabel: string | null childVersion: number | null _count: PromptDependencyCountAggregateOutputType | null _avg: PromptDependencyAvgAggregateOutputType | null _sum: PromptDependencySumAggregateOutputType | null _min: PromptDependencyMinAggregateOutputType | null _max: PromptDependencyMaxAggregateOutputType | null } type GetPromptDependencyGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof PromptDependencyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type PromptDependencySelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean parentId?: boolean childName?: boolean childLabel?: boolean childVersion?: boolean project?: boolean | ProjectDefaultArgs parent?: boolean | PromptDefaultArgs }, ExtArgs["result"]["promptDependency"]> export type PromptDependencySelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean parentId?: boolean childName?: boolean childLabel?: boolean childVersion?: boolean project?: boolean | ProjectDefaultArgs parent?: boolean | PromptDefaultArgs }, ExtArgs["result"]["promptDependency"]> export type PromptDependencySelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean parentId?: boolean childName?: boolean childLabel?: boolean childVersion?: boolean project?: boolean | ProjectDefaultArgs parent?: boolean | PromptDefaultArgs }, ExtArgs["result"]["promptDependency"]> export type PromptDependencySelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean parentId?: boolean childName?: boolean childLabel?: boolean childVersion?: boolean } export type PromptDependencyOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "parentId" | "childName" | "childLabel" | "childVersion", ExtArgs["result"]["promptDependency"]> export type PromptDependencyInclude = { project?: boolean | ProjectDefaultArgs parent?: boolean | PromptDefaultArgs } export type PromptDependencyIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs parent?: boolean | PromptDefaultArgs } export type PromptDependencyIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs parent?: boolean | PromptDefaultArgs } export type $PromptDependencyPayload = { name: "PromptDependency" objects: { project: Prisma.$ProjectPayload parent: Prisma.$PromptPayload } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string parentId: string childName: string childLabel: string | null childVersion: number | null }, ExtArgs["result"]["promptDependency"]> composites: {} } type PromptDependencyGetPayload = $Result.GetResult type PromptDependencyCountArgs = Omit & { select?: PromptDependencyCountAggregateInputType | true } export interface PromptDependencyDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['PromptDependency'], meta: { name: 'PromptDependency' } } /** * Find zero or one PromptDependency that matches the filter. * @param {PromptDependencyFindUniqueArgs} args - Arguments to find a PromptDependency * @example * // Get one PromptDependency * const promptDependency = await prisma.promptDependency.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__PromptDependencyClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one PromptDependency that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {PromptDependencyFindUniqueOrThrowArgs} args - Arguments to find a PromptDependency * @example * // Get one PromptDependency * const promptDependency = await prisma.promptDependency.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__PromptDependencyClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first PromptDependency 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 {PromptDependencyFindFirstArgs} args - Arguments to find a PromptDependency * @example * // Get one PromptDependency * const promptDependency = await prisma.promptDependency.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__PromptDependencyClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first PromptDependency 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 {PromptDependencyFindFirstOrThrowArgs} args - Arguments to find a PromptDependency * @example * // Get one PromptDependency * const promptDependency = await prisma.promptDependency.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__PromptDependencyClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more PromptDependencies 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 {PromptDependencyFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all PromptDependencies * const promptDependencies = await prisma.promptDependency.findMany() * * // Get first 10 PromptDependencies * const promptDependencies = await prisma.promptDependency.findMany({ take: 10 }) * * // Only select the `id` * const promptDependencyWithIdOnly = await prisma.promptDependency.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a PromptDependency. * @param {PromptDependencyCreateArgs} args - Arguments to create a PromptDependency. * @example * // Create one PromptDependency * const PromptDependency = await prisma.promptDependency.create({ * data: { * // ... data to create a PromptDependency * } * }) * */ create(args: SelectSubset>): Prisma__PromptDependencyClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many PromptDependencies. * @param {PromptDependencyCreateManyArgs} args - Arguments to create many PromptDependencies. * @example * // Create many PromptDependencies * const promptDependency = await prisma.promptDependency.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many PromptDependencies and returns the data saved in the database. * @param {PromptDependencyCreateManyAndReturnArgs} args - Arguments to create many PromptDependencies. * @example * // Create many PromptDependencies * const promptDependency = await prisma.promptDependency.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many PromptDependencies and only return the `id` * const promptDependencyWithIdOnly = await prisma.promptDependency.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 PromptDependency. * @param {PromptDependencyDeleteArgs} args - Arguments to delete one PromptDependency. * @example * // Delete one PromptDependency * const PromptDependency = await prisma.promptDependency.delete({ * where: { * // ... filter to delete one PromptDependency * } * }) * */ delete(args: SelectSubset>): Prisma__PromptDependencyClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one PromptDependency. * @param {PromptDependencyUpdateArgs} args - Arguments to update one PromptDependency. * @example * // Update one PromptDependency * const promptDependency = await prisma.promptDependency.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__PromptDependencyClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more PromptDependencies. * @param {PromptDependencyDeleteManyArgs} args - Arguments to filter PromptDependencies to delete. * @example * // Delete a few PromptDependencies * const { count } = await prisma.promptDependency.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more PromptDependencies. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PromptDependencyUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many PromptDependencies * const promptDependency = await prisma.promptDependency.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more PromptDependencies and returns the data updated in the database. * @param {PromptDependencyUpdateManyAndReturnArgs} args - Arguments to update many PromptDependencies. * @example * // Update many PromptDependencies * const promptDependency = await prisma.promptDependency.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more PromptDependencies and only return the `id` * const promptDependencyWithIdOnly = await prisma.promptDependency.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 PromptDependency. * @param {PromptDependencyUpsertArgs} args - Arguments to update or create a PromptDependency. * @example * // Update or create a PromptDependency * const promptDependency = await prisma.promptDependency.upsert({ * create: { * // ... data to create a PromptDependency * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the PromptDependency we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__PromptDependencyClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of PromptDependencies. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PromptDependencyCountArgs} args - Arguments to filter PromptDependencies to count. * @example * // Count the number of PromptDependencies * const count = await prisma.promptDependency.count({ * where: { * // ... the filter for the PromptDependencies 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 PromptDependency. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PromptDependencyAggregateArgs} 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 PromptDependency. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PromptDependencyGroupByArgs} 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 PromptDependencyGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: PromptDependencyGroupByArgs['orderBy'] } : { orderBy?: PromptDependencyGroupByArgs['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 ? GetPromptDependencyGroupByPayload : Prisma.PrismaPromise /** * Fields of the PromptDependency model */ readonly fields: PromptDependencyFieldRefs; } /** * The delegate class that acts as a "Promise-like" for PromptDependency. * 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__PromptDependencyClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> parent = {}>(args?: Subset>): Prisma__PromptClient<$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 PromptDependency model */ interface PromptDependencyFieldRefs { readonly id: FieldRef<"PromptDependency", 'String'> readonly createdAt: FieldRef<"PromptDependency", 'DateTime'> readonly updatedAt: FieldRef<"PromptDependency", 'DateTime'> readonly projectId: FieldRef<"PromptDependency", 'String'> readonly parentId: FieldRef<"PromptDependency", 'String'> readonly childName: FieldRef<"PromptDependency", 'String'> readonly childLabel: FieldRef<"PromptDependency", 'String'> readonly childVersion: FieldRef<"PromptDependency", 'Int'> } // Custom InputTypes /** * PromptDependency findUnique */ export type PromptDependencyFindUniqueArgs = { /** * Select specific fields to fetch from the PromptDependency */ select?: PromptDependencySelect | null /** * Omit specific fields from the PromptDependency */ omit?: PromptDependencyOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptDependencyInclude | null /** * Filter, which PromptDependency to fetch. */ where: PromptDependencyWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PromptDependency findUniqueOrThrow */ export type PromptDependencyFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the PromptDependency */ select?: PromptDependencySelect | null /** * Omit specific fields from the PromptDependency */ omit?: PromptDependencyOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptDependencyInclude | null /** * Filter, which PromptDependency to fetch. */ where: PromptDependencyWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PromptDependency findFirst */ export type PromptDependencyFindFirstArgs = { /** * Select specific fields to fetch from the PromptDependency */ select?: PromptDependencySelect | null /** * Omit specific fields from the PromptDependency */ omit?: PromptDependencyOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptDependencyInclude | null /** * Filter, which PromptDependency to fetch. */ where?: PromptDependencyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PromptDependencies to fetch. */ orderBy?: PromptDependencyOrderByWithRelationInput | PromptDependencyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for PromptDependencies. */ cursor?: PromptDependencyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PromptDependencies 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` PromptDependencies. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PromptDependencies. */ distinct?: PromptDependencyScalarFieldEnum | PromptDependencyScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * PromptDependency findFirstOrThrow */ export type PromptDependencyFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the PromptDependency */ select?: PromptDependencySelect | null /** * Omit specific fields from the PromptDependency */ omit?: PromptDependencyOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptDependencyInclude | null /** * Filter, which PromptDependency to fetch. */ where?: PromptDependencyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PromptDependencies to fetch. */ orderBy?: PromptDependencyOrderByWithRelationInput | PromptDependencyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for PromptDependencies. */ cursor?: PromptDependencyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PromptDependencies 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` PromptDependencies. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PromptDependencies. */ distinct?: PromptDependencyScalarFieldEnum | PromptDependencyScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * PromptDependency findMany */ export type PromptDependencyFindManyArgs = { /** * Select specific fields to fetch from the PromptDependency */ select?: PromptDependencySelect | null /** * Omit specific fields from the PromptDependency */ omit?: PromptDependencyOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptDependencyInclude | null /** * Filter, which PromptDependencies to fetch. */ where?: PromptDependencyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PromptDependencies to fetch. */ orderBy?: PromptDependencyOrderByWithRelationInput | PromptDependencyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing PromptDependencies. */ cursor?: PromptDependencyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PromptDependencies 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` PromptDependencies. */ skip?: number distinct?: PromptDependencyScalarFieldEnum | PromptDependencyScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * PromptDependency create */ export type PromptDependencyCreateArgs = { /** * Select specific fields to fetch from the PromptDependency */ select?: PromptDependencySelect | null /** * Omit specific fields from the PromptDependency */ omit?: PromptDependencyOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptDependencyInclude | null /** * The data needed to create a PromptDependency. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * PromptDependency createMany */ export type PromptDependencyCreateManyArgs = { /** * The data used to create many PromptDependencies. */ data: PromptDependencyCreateManyInput | PromptDependencyCreateManyInput[] skipDuplicates?: boolean } /** * PromptDependency createManyAndReturn */ export type PromptDependencyCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the PromptDependency */ select?: PromptDependencySelectCreateManyAndReturn | null /** * Omit specific fields from the PromptDependency */ omit?: PromptDependencyOmit | null /** * The data used to create many PromptDependencies. */ data: PromptDependencyCreateManyInput | PromptDependencyCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: PromptDependencyIncludeCreateManyAndReturn | null } /** * PromptDependency update */ export type PromptDependencyUpdateArgs = { /** * Select specific fields to fetch from the PromptDependency */ select?: PromptDependencySelect | null /** * Omit specific fields from the PromptDependency */ omit?: PromptDependencyOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptDependencyInclude | null /** * The data needed to update a PromptDependency. */ data: XOR /** * Choose, which PromptDependency to update. */ where: PromptDependencyWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PromptDependency updateMany */ export type PromptDependencyUpdateManyArgs = { /** * The data used to update PromptDependencies. */ data: XOR /** * Filter which PromptDependencies to update */ where?: PromptDependencyWhereInput /** * Limit how many PromptDependencies to update. */ limit?: number } /** * PromptDependency updateManyAndReturn */ export type PromptDependencyUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the PromptDependency */ select?: PromptDependencySelectUpdateManyAndReturn | null /** * Omit specific fields from the PromptDependency */ omit?: PromptDependencyOmit | null /** * The data used to update PromptDependencies. */ data: XOR /** * Filter which PromptDependencies to update */ where?: PromptDependencyWhereInput /** * Limit how many PromptDependencies to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: PromptDependencyIncludeUpdateManyAndReturn | null } /** * PromptDependency upsert */ export type PromptDependencyUpsertArgs = { /** * Select specific fields to fetch from the PromptDependency */ select?: PromptDependencySelect | null /** * Omit specific fields from the PromptDependency */ omit?: PromptDependencyOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptDependencyInclude | null /** * The filter to search for the PromptDependency to update in case it exists. */ where: PromptDependencyWhereUniqueInput /** * In case the PromptDependency found by the `where` argument doesn't exist, create a new PromptDependency with this data. */ create: XOR /** * In case the PromptDependency was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * PromptDependency delete */ export type PromptDependencyDeleteArgs = { /** * Select specific fields to fetch from the PromptDependency */ select?: PromptDependencySelect | null /** * Omit specific fields from the PromptDependency */ omit?: PromptDependencyOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptDependencyInclude | null /** * Filter which PromptDependency to delete. */ where: PromptDependencyWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PromptDependency deleteMany */ export type PromptDependencyDeleteManyArgs = { /** * Filter which PromptDependencies to delete */ where?: PromptDependencyWhereInput /** * Limit how many PromptDependencies to delete. */ limit?: number } /** * PromptDependency without action */ export type PromptDependencyDefaultArgs = { /** * Select specific fields to fetch from the PromptDependency */ select?: PromptDependencySelect | null /** * Omit specific fields from the PromptDependency */ omit?: PromptDependencyOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptDependencyInclude | null } /** * Model PromptProtectedLabels */ export type AggregatePromptProtectedLabels = { _count: PromptProtectedLabelsCountAggregateOutputType | null _min: PromptProtectedLabelsMinAggregateOutputType | null _max: PromptProtectedLabelsMaxAggregateOutputType | null } export type PromptProtectedLabelsMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null label: string | null } export type PromptProtectedLabelsMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null label: string | null } export type PromptProtectedLabelsCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number label: number _all: number } export type PromptProtectedLabelsMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true label?: true } export type PromptProtectedLabelsMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true label?: true } export type PromptProtectedLabelsCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true label?: true _all?: true } export type PromptProtectedLabelsAggregateArgs = { /** * Filter which PromptProtectedLabels to aggregate. */ where?: PromptProtectedLabelsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PromptProtectedLabels to fetch. */ orderBy?: PromptProtectedLabelsOrderByWithRelationInput | PromptProtectedLabelsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: PromptProtectedLabelsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PromptProtectedLabels 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` PromptProtectedLabels. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned PromptProtectedLabels **/ _count?: true | PromptProtectedLabelsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: PromptProtectedLabelsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: PromptProtectedLabelsMaxAggregateInputType } export type GetPromptProtectedLabelsAggregateType = { [P in keyof T & keyof AggregatePromptProtectedLabels]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type PromptProtectedLabelsGroupByArgs = { where?: PromptProtectedLabelsWhereInput orderBy?: PromptProtectedLabelsOrderByWithAggregationInput | PromptProtectedLabelsOrderByWithAggregationInput[] by: PromptProtectedLabelsScalarFieldEnum[] | PromptProtectedLabelsScalarFieldEnum having?: PromptProtectedLabelsScalarWhereWithAggregatesInput take?: number skip?: number _count?: PromptProtectedLabelsCountAggregateInputType | true _min?: PromptProtectedLabelsMinAggregateInputType _max?: PromptProtectedLabelsMaxAggregateInputType } export type PromptProtectedLabelsGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string label: string _count: PromptProtectedLabelsCountAggregateOutputType | null _min: PromptProtectedLabelsMinAggregateOutputType | null _max: PromptProtectedLabelsMaxAggregateOutputType | null } type GetPromptProtectedLabelsGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof PromptProtectedLabelsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type PromptProtectedLabelsSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean label?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["promptProtectedLabels"]> export type PromptProtectedLabelsSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean label?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["promptProtectedLabels"]> export type PromptProtectedLabelsSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean label?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["promptProtectedLabels"]> export type PromptProtectedLabelsSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean label?: boolean } export type PromptProtectedLabelsOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "label", ExtArgs["result"]["promptProtectedLabels"]> export type PromptProtectedLabelsInclude = { project?: boolean | ProjectDefaultArgs } export type PromptProtectedLabelsIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type PromptProtectedLabelsIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $PromptProtectedLabelsPayload = { name: "PromptProtectedLabels" objects: { project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string label: string }, ExtArgs["result"]["promptProtectedLabels"]> composites: {} } type PromptProtectedLabelsGetPayload = $Result.GetResult type PromptProtectedLabelsCountArgs = Omit & { select?: PromptProtectedLabelsCountAggregateInputType | true } export interface PromptProtectedLabelsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['PromptProtectedLabels'], meta: { name: 'PromptProtectedLabels' } } /** * Find zero or one PromptProtectedLabels that matches the filter. * @param {PromptProtectedLabelsFindUniqueArgs} args - Arguments to find a PromptProtectedLabels * @example * // Get one PromptProtectedLabels * const promptProtectedLabels = await prisma.promptProtectedLabels.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__PromptProtectedLabelsClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one PromptProtectedLabels that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {PromptProtectedLabelsFindUniqueOrThrowArgs} args - Arguments to find a PromptProtectedLabels * @example * // Get one PromptProtectedLabels * const promptProtectedLabels = await prisma.promptProtectedLabels.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__PromptProtectedLabelsClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first PromptProtectedLabels 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 {PromptProtectedLabelsFindFirstArgs} args - Arguments to find a PromptProtectedLabels * @example * // Get one PromptProtectedLabels * const promptProtectedLabels = await prisma.promptProtectedLabels.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__PromptProtectedLabelsClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first PromptProtectedLabels 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 {PromptProtectedLabelsFindFirstOrThrowArgs} args - Arguments to find a PromptProtectedLabels * @example * // Get one PromptProtectedLabels * const promptProtectedLabels = await prisma.promptProtectedLabels.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__PromptProtectedLabelsClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more PromptProtectedLabels 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 {PromptProtectedLabelsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all PromptProtectedLabels * const promptProtectedLabels = await prisma.promptProtectedLabels.findMany() * * // Get first 10 PromptProtectedLabels * const promptProtectedLabels = await prisma.promptProtectedLabels.findMany({ take: 10 }) * * // Only select the `id` * const promptProtectedLabelsWithIdOnly = await prisma.promptProtectedLabels.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a PromptProtectedLabels. * @param {PromptProtectedLabelsCreateArgs} args - Arguments to create a PromptProtectedLabels. * @example * // Create one PromptProtectedLabels * const PromptProtectedLabels = await prisma.promptProtectedLabels.create({ * data: { * // ... data to create a PromptProtectedLabels * } * }) * */ create(args: SelectSubset>): Prisma__PromptProtectedLabelsClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many PromptProtectedLabels. * @param {PromptProtectedLabelsCreateManyArgs} args - Arguments to create many PromptProtectedLabels. * @example * // Create many PromptProtectedLabels * const promptProtectedLabels = await prisma.promptProtectedLabels.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many PromptProtectedLabels and returns the data saved in the database. * @param {PromptProtectedLabelsCreateManyAndReturnArgs} args - Arguments to create many PromptProtectedLabels. * @example * // Create many PromptProtectedLabels * const promptProtectedLabels = await prisma.promptProtectedLabels.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many PromptProtectedLabels and only return the `id` * const promptProtectedLabelsWithIdOnly = await prisma.promptProtectedLabels.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 PromptProtectedLabels. * @param {PromptProtectedLabelsDeleteArgs} args - Arguments to delete one PromptProtectedLabels. * @example * // Delete one PromptProtectedLabels * const PromptProtectedLabels = await prisma.promptProtectedLabels.delete({ * where: { * // ... filter to delete one PromptProtectedLabels * } * }) * */ delete(args: SelectSubset>): Prisma__PromptProtectedLabelsClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one PromptProtectedLabels. * @param {PromptProtectedLabelsUpdateArgs} args - Arguments to update one PromptProtectedLabels. * @example * // Update one PromptProtectedLabels * const promptProtectedLabels = await prisma.promptProtectedLabels.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__PromptProtectedLabelsClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more PromptProtectedLabels. * @param {PromptProtectedLabelsDeleteManyArgs} args - Arguments to filter PromptProtectedLabels to delete. * @example * // Delete a few PromptProtectedLabels * const { count } = await prisma.promptProtectedLabels.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more PromptProtectedLabels. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PromptProtectedLabelsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many PromptProtectedLabels * const promptProtectedLabels = await prisma.promptProtectedLabels.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more PromptProtectedLabels and returns the data updated in the database. * @param {PromptProtectedLabelsUpdateManyAndReturnArgs} args - Arguments to update many PromptProtectedLabels. * @example * // Update many PromptProtectedLabels * const promptProtectedLabels = await prisma.promptProtectedLabels.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more PromptProtectedLabels and only return the `id` * const promptProtectedLabelsWithIdOnly = await prisma.promptProtectedLabels.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 PromptProtectedLabels. * @param {PromptProtectedLabelsUpsertArgs} args - Arguments to update or create a PromptProtectedLabels. * @example * // Update or create a PromptProtectedLabels * const promptProtectedLabels = await prisma.promptProtectedLabels.upsert({ * create: { * // ... data to create a PromptProtectedLabels * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the PromptProtectedLabels we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__PromptProtectedLabelsClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of PromptProtectedLabels. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PromptProtectedLabelsCountArgs} args - Arguments to filter PromptProtectedLabels to count. * @example * // Count the number of PromptProtectedLabels * const count = await prisma.promptProtectedLabels.count({ * where: { * // ... the filter for the PromptProtectedLabels 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 PromptProtectedLabels. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PromptProtectedLabelsAggregateArgs} 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 PromptProtectedLabels. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PromptProtectedLabelsGroupByArgs} 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 PromptProtectedLabelsGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: PromptProtectedLabelsGroupByArgs['orderBy'] } : { orderBy?: PromptProtectedLabelsGroupByArgs['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 ? GetPromptProtectedLabelsGroupByPayload : Prisma.PrismaPromise /** * Fields of the PromptProtectedLabels model */ readonly fields: PromptProtectedLabelsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for PromptProtectedLabels. * 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__PromptProtectedLabelsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$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 PromptProtectedLabels model */ interface PromptProtectedLabelsFieldRefs { readonly id: FieldRef<"PromptProtectedLabels", 'String'> readonly createdAt: FieldRef<"PromptProtectedLabels", 'DateTime'> readonly updatedAt: FieldRef<"PromptProtectedLabels", 'DateTime'> readonly projectId: FieldRef<"PromptProtectedLabels", 'String'> readonly label: FieldRef<"PromptProtectedLabels", 'String'> } // Custom InputTypes /** * PromptProtectedLabels findUnique */ export type PromptProtectedLabelsFindUniqueArgs = { /** * Select specific fields to fetch from the PromptProtectedLabels */ select?: PromptProtectedLabelsSelect | null /** * Omit specific fields from the PromptProtectedLabels */ omit?: PromptProtectedLabelsOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptProtectedLabelsInclude | null /** * Filter, which PromptProtectedLabels to fetch. */ where: PromptProtectedLabelsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PromptProtectedLabels findUniqueOrThrow */ export type PromptProtectedLabelsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the PromptProtectedLabels */ select?: PromptProtectedLabelsSelect | null /** * Omit specific fields from the PromptProtectedLabels */ omit?: PromptProtectedLabelsOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptProtectedLabelsInclude | null /** * Filter, which PromptProtectedLabels to fetch. */ where: PromptProtectedLabelsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PromptProtectedLabels findFirst */ export type PromptProtectedLabelsFindFirstArgs = { /** * Select specific fields to fetch from the PromptProtectedLabels */ select?: PromptProtectedLabelsSelect | null /** * Omit specific fields from the PromptProtectedLabels */ omit?: PromptProtectedLabelsOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptProtectedLabelsInclude | null /** * Filter, which PromptProtectedLabels to fetch. */ where?: PromptProtectedLabelsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PromptProtectedLabels to fetch. */ orderBy?: PromptProtectedLabelsOrderByWithRelationInput | PromptProtectedLabelsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for PromptProtectedLabels. */ cursor?: PromptProtectedLabelsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PromptProtectedLabels 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` PromptProtectedLabels. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PromptProtectedLabels. */ distinct?: PromptProtectedLabelsScalarFieldEnum | PromptProtectedLabelsScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * PromptProtectedLabels findFirstOrThrow */ export type PromptProtectedLabelsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the PromptProtectedLabels */ select?: PromptProtectedLabelsSelect | null /** * Omit specific fields from the PromptProtectedLabels */ omit?: PromptProtectedLabelsOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptProtectedLabelsInclude | null /** * Filter, which PromptProtectedLabels to fetch. */ where?: PromptProtectedLabelsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PromptProtectedLabels to fetch. */ orderBy?: PromptProtectedLabelsOrderByWithRelationInput | PromptProtectedLabelsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for PromptProtectedLabels. */ cursor?: PromptProtectedLabelsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PromptProtectedLabels 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` PromptProtectedLabels. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PromptProtectedLabels. */ distinct?: PromptProtectedLabelsScalarFieldEnum | PromptProtectedLabelsScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * PromptProtectedLabels findMany */ export type PromptProtectedLabelsFindManyArgs = { /** * Select specific fields to fetch from the PromptProtectedLabels */ select?: PromptProtectedLabelsSelect | null /** * Omit specific fields from the PromptProtectedLabels */ omit?: PromptProtectedLabelsOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptProtectedLabelsInclude | null /** * Filter, which PromptProtectedLabels to fetch. */ where?: PromptProtectedLabelsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PromptProtectedLabels to fetch. */ orderBy?: PromptProtectedLabelsOrderByWithRelationInput | PromptProtectedLabelsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing PromptProtectedLabels. */ cursor?: PromptProtectedLabelsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PromptProtectedLabels 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` PromptProtectedLabels. */ skip?: number distinct?: PromptProtectedLabelsScalarFieldEnum | PromptProtectedLabelsScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * PromptProtectedLabels create */ export type PromptProtectedLabelsCreateArgs = { /** * Select specific fields to fetch from the PromptProtectedLabels */ select?: PromptProtectedLabelsSelect | null /** * Omit specific fields from the PromptProtectedLabels */ omit?: PromptProtectedLabelsOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptProtectedLabelsInclude | null /** * The data needed to create a PromptProtectedLabels. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * PromptProtectedLabels createMany */ export type PromptProtectedLabelsCreateManyArgs = { /** * The data used to create many PromptProtectedLabels. */ data: PromptProtectedLabelsCreateManyInput | PromptProtectedLabelsCreateManyInput[] skipDuplicates?: boolean } /** * PromptProtectedLabels createManyAndReturn */ export type PromptProtectedLabelsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the PromptProtectedLabels */ select?: PromptProtectedLabelsSelectCreateManyAndReturn | null /** * Omit specific fields from the PromptProtectedLabels */ omit?: PromptProtectedLabelsOmit | null /** * The data used to create many PromptProtectedLabels. */ data: PromptProtectedLabelsCreateManyInput | PromptProtectedLabelsCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: PromptProtectedLabelsIncludeCreateManyAndReturn | null } /** * PromptProtectedLabels update */ export type PromptProtectedLabelsUpdateArgs = { /** * Select specific fields to fetch from the PromptProtectedLabels */ select?: PromptProtectedLabelsSelect | null /** * Omit specific fields from the PromptProtectedLabels */ omit?: PromptProtectedLabelsOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptProtectedLabelsInclude | null /** * The data needed to update a PromptProtectedLabels. */ data: XOR /** * Choose, which PromptProtectedLabels to update. */ where: PromptProtectedLabelsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PromptProtectedLabels updateMany */ export type PromptProtectedLabelsUpdateManyArgs = { /** * The data used to update PromptProtectedLabels. */ data: XOR /** * Filter which PromptProtectedLabels to update */ where?: PromptProtectedLabelsWhereInput /** * Limit how many PromptProtectedLabels to update. */ limit?: number } /** * PromptProtectedLabels updateManyAndReturn */ export type PromptProtectedLabelsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the PromptProtectedLabels */ select?: PromptProtectedLabelsSelectUpdateManyAndReturn | null /** * Omit specific fields from the PromptProtectedLabels */ omit?: PromptProtectedLabelsOmit | null /** * The data used to update PromptProtectedLabels. */ data: XOR /** * Filter which PromptProtectedLabels to update */ where?: PromptProtectedLabelsWhereInput /** * Limit how many PromptProtectedLabels to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: PromptProtectedLabelsIncludeUpdateManyAndReturn | null } /** * PromptProtectedLabels upsert */ export type PromptProtectedLabelsUpsertArgs = { /** * Select specific fields to fetch from the PromptProtectedLabels */ select?: PromptProtectedLabelsSelect | null /** * Omit specific fields from the PromptProtectedLabels */ omit?: PromptProtectedLabelsOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptProtectedLabelsInclude | null /** * The filter to search for the PromptProtectedLabels to update in case it exists. */ where: PromptProtectedLabelsWhereUniqueInput /** * In case the PromptProtectedLabels found by the `where` argument doesn't exist, create a new PromptProtectedLabels with this data. */ create: XOR /** * In case the PromptProtectedLabels was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * PromptProtectedLabels delete */ export type PromptProtectedLabelsDeleteArgs = { /** * Select specific fields to fetch from the PromptProtectedLabels */ select?: PromptProtectedLabelsSelect | null /** * Omit specific fields from the PromptProtectedLabels */ omit?: PromptProtectedLabelsOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptProtectedLabelsInclude | null /** * Filter which PromptProtectedLabels to delete. */ where: PromptProtectedLabelsWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PromptProtectedLabels deleteMany */ export type PromptProtectedLabelsDeleteManyArgs = { /** * Filter which PromptProtectedLabels to delete */ where?: PromptProtectedLabelsWhereInput /** * Limit how many PromptProtectedLabels to delete. */ limit?: number } /** * PromptProtectedLabels without action */ export type PromptProtectedLabelsDefaultArgs = { /** * Select specific fields to fetch from the PromptProtectedLabels */ select?: PromptProtectedLabelsSelect | null /** * Omit specific fields from the PromptProtectedLabels */ omit?: PromptProtectedLabelsOmit | null /** * Choose, which related nodes to fetch as well */ include?: PromptProtectedLabelsInclude | null } /** * Model Model */ export type AggregateModel = { _count: ModelCountAggregateOutputType | null _avg: ModelAvgAggregateOutputType | null _sum: ModelSumAggregateOutputType | null _min: ModelMinAggregateOutputType | null _max: ModelMaxAggregateOutputType | null } export type ModelAvgAggregateOutputType = { inputPrice: Decimal | null outputPrice: Decimal | null totalPrice: Decimal | null } export type ModelSumAggregateOutputType = { inputPrice: Decimal | null outputPrice: Decimal | null totalPrice: Decimal | null } export type ModelMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null modelName: string | null matchPattern: string | null startDate: Date | null inputPrice: Decimal | null outputPrice: Decimal | null totalPrice: Decimal | null unit: string | null tokenizerId: string | null } export type ModelMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null modelName: string | null matchPattern: string | null startDate: Date | null inputPrice: Decimal | null outputPrice: Decimal | null totalPrice: Decimal | null unit: string | null tokenizerId: string | null } export type ModelCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number modelName: number matchPattern: number startDate: number inputPrice: number outputPrice: number totalPrice: number unit: number tokenizerId: number tokenizerConfig: number _all: number } export type ModelAvgAggregateInputType = { inputPrice?: true outputPrice?: true totalPrice?: true } export type ModelSumAggregateInputType = { inputPrice?: true outputPrice?: true totalPrice?: true } export type ModelMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true modelName?: true matchPattern?: true startDate?: true inputPrice?: true outputPrice?: true totalPrice?: true unit?: true tokenizerId?: true } export type ModelMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true modelName?: true matchPattern?: true startDate?: true inputPrice?: true outputPrice?: true totalPrice?: true unit?: true tokenizerId?: true } export type ModelCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true modelName?: true matchPattern?: true startDate?: true inputPrice?: true outputPrice?: true totalPrice?: true unit?: true tokenizerId?: true tokenizerConfig?: true _all?: true } export type ModelAggregateArgs = { /** * Filter which Model to aggregate. */ where?: ModelWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Models to fetch. */ orderBy?: ModelOrderByWithRelationInput | ModelOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ModelWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Models 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` Models. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Models **/ _count?: true | ModelCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ModelAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ModelSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ModelMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ModelMaxAggregateInputType } export type GetModelAggregateType = { [P in keyof T & keyof AggregateModel]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ModelGroupByArgs = { where?: ModelWhereInput orderBy?: ModelOrderByWithAggregationInput | ModelOrderByWithAggregationInput[] by: ModelScalarFieldEnum[] | ModelScalarFieldEnum having?: ModelScalarWhereWithAggregatesInput take?: number skip?: number _count?: ModelCountAggregateInputType | true _avg?: ModelAvgAggregateInputType _sum?: ModelSumAggregateInputType _min?: ModelMinAggregateInputType _max?: ModelMaxAggregateInputType } export type ModelGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string | null modelName: string matchPattern: string startDate: Date | null inputPrice: Decimal | null outputPrice: Decimal | null totalPrice: Decimal | null unit: string | null tokenizerId: string | null tokenizerConfig: JsonValue | null _count: ModelCountAggregateOutputType | null _avg: ModelAvgAggregateOutputType | null _sum: ModelSumAggregateOutputType | null _min: ModelMinAggregateOutputType | null _max: ModelMaxAggregateOutputType | null } type GetModelGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ModelGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ModelSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean modelName?: boolean matchPattern?: boolean startDate?: boolean inputPrice?: boolean outputPrice?: boolean totalPrice?: boolean unit?: boolean tokenizerId?: boolean tokenizerConfig?: boolean project?: boolean | Model$projectArgs Price?: boolean | Model$PriceArgs _count?: boolean | ModelCountOutputTypeDefaultArgs }, ExtArgs["result"]["model"]> export type ModelSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean modelName?: boolean matchPattern?: boolean startDate?: boolean inputPrice?: boolean outputPrice?: boolean totalPrice?: boolean unit?: boolean tokenizerId?: boolean tokenizerConfig?: boolean project?: boolean | Model$projectArgs }, ExtArgs["result"]["model"]> export type ModelSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean modelName?: boolean matchPattern?: boolean startDate?: boolean inputPrice?: boolean outputPrice?: boolean totalPrice?: boolean unit?: boolean tokenizerId?: boolean tokenizerConfig?: boolean project?: boolean | Model$projectArgs }, ExtArgs["result"]["model"]> export type ModelSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean modelName?: boolean matchPattern?: boolean startDate?: boolean inputPrice?: boolean outputPrice?: boolean totalPrice?: boolean unit?: boolean tokenizerId?: boolean tokenizerConfig?: boolean } export type ModelOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "modelName" | "matchPattern" | "startDate" | "inputPrice" | "outputPrice" | "totalPrice" | "unit" | "tokenizerId" | "tokenizerConfig", ExtArgs["result"]["model"]> export type ModelInclude = { project?: boolean | Model$projectArgs Price?: boolean | Model$PriceArgs _count?: boolean | ModelCountOutputTypeDefaultArgs } export type ModelIncludeCreateManyAndReturn = { project?: boolean | Model$projectArgs } export type ModelIncludeUpdateManyAndReturn = { project?: boolean | Model$projectArgs } export type $ModelPayload = { name: "Model" objects: { project: Prisma.$ProjectPayload | null Price: Prisma.$PricePayload[] } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string | null modelName: string matchPattern: string startDate: Date | null inputPrice: Prisma.Decimal | null outputPrice: Prisma.Decimal | null totalPrice: Prisma.Decimal | null unit: string | null tokenizerId: string | null tokenizerConfig: Prisma.JsonValue | null }, ExtArgs["result"]["model"]> composites: {} } type ModelGetPayload = $Result.GetResult type ModelCountArgs = Omit & { select?: ModelCountAggregateInputType | true } export interface ModelDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Model'], meta: { name: 'Model' } } /** * Find zero or one Model that matches the filter. * @param {ModelFindUniqueArgs} args - Arguments to find a Model * @example * // Get one Model * const model = await prisma.model.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ModelClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Model that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ModelFindUniqueOrThrowArgs} args - Arguments to find a Model * @example * // Get one Model * const model = await prisma.model.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ModelClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Model 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 {ModelFindFirstArgs} args - Arguments to find a Model * @example * // Get one Model * const model = await prisma.model.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ModelClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Model 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 {ModelFindFirstOrThrowArgs} args - Arguments to find a Model * @example * // Get one Model * const model = await prisma.model.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ModelClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Models 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 {ModelFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Models * const models = await prisma.model.findMany() * * // Get first 10 Models * const models = await prisma.model.findMany({ take: 10 }) * * // Only select the `id` * const modelWithIdOnly = await prisma.model.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Model. * @param {ModelCreateArgs} args - Arguments to create a Model. * @example * // Create one Model * const Model = await prisma.model.create({ * data: { * // ... data to create a Model * } * }) * */ create(args: SelectSubset>): Prisma__ModelClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Models. * @param {ModelCreateManyArgs} args - Arguments to create many Models. * @example * // Create many Models * const model = await prisma.model.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Models and returns the data saved in the database. * @param {ModelCreateManyAndReturnArgs} args - Arguments to create many Models. * @example * // Create many Models * const model = await prisma.model.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Models and only return the `id` * const modelWithIdOnly = await prisma.model.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 Model. * @param {ModelDeleteArgs} args - Arguments to delete one Model. * @example * // Delete one Model * const Model = await prisma.model.delete({ * where: { * // ... filter to delete one Model * } * }) * */ delete(args: SelectSubset>): Prisma__ModelClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Model. * @param {ModelUpdateArgs} args - Arguments to update one Model. * @example * // Update one Model * const model = await prisma.model.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ModelClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Models. * @param {ModelDeleteManyArgs} args - Arguments to filter Models to delete. * @example * // Delete a few Models * const { count } = await prisma.model.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Models. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ModelUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Models * const model = await prisma.model.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Models and returns the data updated in the database. * @param {ModelUpdateManyAndReturnArgs} args - Arguments to update many Models. * @example * // Update many Models * const model = await prisma.model.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Models and only return the `id` * const modelWithIdOnly = await prisma.model.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 Model. * @param {ModelUpsertArgs} args - Arguments to update or create a Model. * @example * // Update or create a Model * const model = await prisma.model.upsert({ * create: { * // ... data to create a Model * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Model we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ModelClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Models. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ModelCountArgs} args - Arguments to filter Models to count. * @example * // Count the number of Models * const count = await prisma.model.count({ * where: { * // ... the filter for the Models 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 Model. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ModelAggregateArgs} 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 Model. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ModelGroupByArgs} 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 ModelGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ModelGroupByArgs['orderBy'] } : { orderBy?: ModelGroupByArgs['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 ? GetModelGroupByPayload : Prisma.PrismaPromise /** * Fields of the Model model */ readonly fields: ModelFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Model. * 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__ModelClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> Price = {}>(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 Model model */ interface ModelFieldRefs { readonly id: FieldRef<"Model", 'String'> readonly createdAt: FieldRef<"Model", 'DateTime'> readonly updatedAt: FieldRef<"Model", 'DateTime'> readonly projectId: FieldRef<"Model", 'String'> readonly modelName: FieldRef<"Model", 'String'> readonly matchPattern: FieldRef<"Model", 'String'> readonly startDate: FieldRef<"Model", 'DateTime'> readonly inputPrice: FieldRef<"Model", 'Decimal'> readonly outputPrice: FieldRef<"Model", 'Decimal'> readonly totalPrice: FieldRef<"Model", 'Decimal'> readonly unit: FieldRef<"Model", 'String'> readonly tokenizerId: FieldRef<"Model", 'String'> readonly tokenizerConfig: FieldRef<"Model", 'Json'> } // Custom InputTypes /** * Model findUnique */ export type ModelFindUniqueArgs = { /** * Select specific fields to fetch from the Model */ select?: ModelSelect | null /** * Omit specific fields from the Model */ omit?: ModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: ModelInclude | null /** * Filter, which Model to fetch. */ where: ModelWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Model findUniqueOrThrow */ export type ModelFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Model */ select?: ModelSelect | null /** * Omit specific fields from the Model */ omit?: ModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: ModelInclude | null /** * Filter, which Model to fetch. */ where: ModelWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Model findFirst */ export type ModelFindFirstArgs = { /** * Select specific fields to fetch from the Model */ select?: ModelSelect | null /** * Omit specific fields from the Model */ omit?: ModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: ModelInclude | null /** * Filter, which Model to fetch. */ where?: ModelWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Models to fetch. */ orderBy?: ModelOrderByWithRelationInput | ModelOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Models. */ cursor?: ModelWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Models 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` Models. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Models. */ distinct?: ModelScalarFieldEnum | ModelScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Model findFirstOrThrow */ export type ModelFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Model */ select?: ModelSelect | null /** * Omit specific fields from the Model */ omit?: ModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: ModelInclude | null /** * Filter, which Model to fetch. */ where?: ModelWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Models to fetch. */ orderBy?: ModelOrderByWithRelationInput | ModelOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Models. */ cursor?: ModelWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Models 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` Models. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Models. */ distinct?: ModelScalarFieldEnum | ModelScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Model findMany */ export type ModelFindManyArgs = { /** * Select specific fields to fetch from the Model */ select?: ModelSelect | null /** * Omit specific fields from the Model */ omit?: ModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: ModelInclude | null /** * Filter, which Models to fetch. */ where?: ModelWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Models to fetch. */ orderBy?: ModelOrderByWithRelationInput | ModelOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Models. */ cursor?: ModelWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Models 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` Models. */ skip?: number distinct?: ModelScalarFieldEnum | ModelScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Model create */ export type ModelCreateArgs = { /** * Select specific fields to fetch from the Model */ select?: ModelSelect | null /** * Omit specific fields from the Model */ omit?: ModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: ModelInclude | null /** * The data needed to create a Model. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Model createMany */ export type ModelCreateManyArgs = { /** * The data used to create many Models. */ data: ModelCreateManyInput | ModelCreateManyInput[] skipDuplicates?: boolean } /** * Model createManyAndReturn */ export type ModelCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Model */ select?: ModelSelectCreateManyAndReturn | null /** * Omit specific fields from the Model */ omit?: ModelOmit | null /** * The data used to create many Models. */ data: ModelCreateManyInput | ModelCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: ModelIncludeCreateManyAndReturn | null } /** * Model update */ export type ModelUpdateArgs = { /** * Select specific fields to fetch from the Model */ select?: ModelSelect | null /** * Omit specific fields from the Model */ omit?: ModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: ModelInclude | null /** * The data needed to update a Model. */ data: XOR /** * Choose, which Model to update. */ where: ModelWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Model updateMany */ export type ModelUpdateManyArgs = { /** * The data used to update Models. */ data: XOR /** * Filter which Models to update */ where?: ModelWhereInput /** * Limit how many Models to update. */ limit?: number } /** * Model updateManyAndReturn */ export type ModelUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Model */ select?: ModelSelectUpdateManyAndReturn | null /** * Omit specific fields from the Model */ omit?: ModelOmit | null /** * The data used to update Models. */ data: XOR /** * Filter which Models to update */ where?: ModelWhereInput /** * Limit how many Models to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: ModelIncludeUpdateManyAndReturn | null } /** * Model upsert */ export type ModelUpsertArgs = { /** * Select specific fields to fetch from the Model */ select?: ModelSelect | null /** * Omit specific fields from the Model */ omit?: ModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: ModelInclude | null /** * The filter to search for the Model to update in case it exists. */ where: ModelWhereUniqueInput /** * In case the Model found by the `where` argument doesn't exist, create a new Model with this data. */ create: XOR /** * In case the Model was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Model delete */ export type ModelDeleteArgs = { /** * Select specific fields to fetch from the Model */ select?: ModelSelect | null /** * Omit specific fields from the Model */ omit?: ModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: ModelInclude | null /** * Filter which Model to delete. */ where: ModelWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Model deleteMany */ export type ModelDeleteManyArgs = { /** * Filter which Models to delete */ where?: ModelWhereInput /** * Limit how many Models to delete. */ limit?: number } /** * Model.project */ export type Model$projectArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null where?: ProjectWhereInput } /** * Model.Price */ export type Model$PriceArgs = { /** * Select specific fields to fetch from the Price */ select?: PriceSelect | null /** * Omit specific fields from the Price */ omit?: PriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: PriceInclude | null where?: PriceWhereInput orderBy?: PriceOrderByWithRelationInput | PriceOrderByWithRelationInput[] cursor?: PriceWhereUniqueInput take?: number skip?: number distinct?: PriceScalarFieldEnum | PriceScalarFieldEnum[] } /** * Model without action */ export type ModelDefaultArgs = { /** * Select specific fields to fetch from the Model */ select?: ModelSelect | null /** * Omit specific fields from the Model */ omit?: ModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: ModelInclude | null } /** * Model Price */ export type AggregatePrice = { _count: PriceCountAggregateOutputType | null _avg: PriceAvgAggregateOutputType | null _sum: PriceSumAggregateOutputType | null _min: PriceMinAggregateOutputType | null _max: PriceMaxAggregateOutputType | null } export type PriceAvgAggregateOutputType = { price: Decimal | null } export type PriceSumAggregateOutputType = { price: Decimal | null } export type PriceMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null modelId: string | null projectId: string | null usageType: string | null price: Decimal | null } export type PriceMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null modelId: string | null projectId: string | null usageType: string | null price: Decimal | null } export type PriceCountAggregateOutputType = { id: number createdAt: number updatedAt: number modelId: number projectId: number usageType: number price: number _all: number } export type PriceAvgAggregateInputType = { price?: true } export type PriceSumAggregateInputType = { price?: true } export type PriceMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true modelId?: true projectId?: true usageType?: true price?: true } export type PriceMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true modelId?: true projectId?: true usageType?: true price?: true } export type PriceCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true modelId?: true projectId?: true usageType?: true price?: true _all?: true } export type PriceAggregateArgs = { /** * Filter which Price to aggregate. */ where?: PriceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Prices to fetch. */ orderBy?: PriceOrderByWithRelationInput | PriceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: PriceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Prices 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` Prices. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Prices **/ _count?: true | PriceCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: PriceAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: PriceSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: PriceMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: PriceMaxAggregateInputType } export type GetPriceAggregateType = { [P in keyof T & keyof AggregatePrice]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type PriceGroupByArgs = { where?: PriceWhereInput orderBy?: PriceOrderByWithAggregationInput | PriceOrderByWithAggregationInput[] by: PriceScalarFieldEnum[] | PriceScalarFieldEnum having?: PriceScalarWhereWithAggregatesInput take?: number skip?: number _count?: PriceCountAggregateInputType | true _avg?: PriceAvgAggregateInputType _sum?: PriceSumAggregateInputType _min?: PriceMinAggregateInputType _max?: PriceMaxAggregateInputType } export type PriceGroupByOutputType = { id: string createdAt: Date updatedAt: Date modelId: string projectId: string | null usageType: string price: Decimal _count: PriceCountAggregateOutputType | null _avg: PriceAvgAggregateOutputType | null _sum: PriceSumAggregateOutputType | null _min: PriceMinAggregateOutputType | null _max: PriceMaxAggregateOutputType | null } type GetPriceGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof PriceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type PriceSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean modelId?: boolean projectId?: boolean usageType?: boolean price?: boolean Model?: boolean | ModelDefaultArgs project?: boolean | Price$projectArgs }, ExtArgs["result"]["price"]> export type PriceSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean modelId?: boolean projectId?: boolean usageType?: boolean price?: boolean Model?: boolean | ModelDefaultArgs project?: boolean | Price$projectArgs }, ExtArgs["result"]["price"]> export type PriceSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean modelId?: boolean projectId?: boolean usageType?: boolean price?: boolean Model?: boolean | ModelDefaultArgs project?: boolean | Price$projectArgs }, ExtArgs["result"]["price"]> export type PriceSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean modelId?: boolean projectId?: boolean usageType?: boolean price?: boolean } export type PriceOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "modelId" | "projectId" | "usageType" | "price", ExtArgs["result"]["price"]> export type PriceInclude = { Model?: boolean | ModelDefaultArgs project?: boolean | Price$projectArgs } export type PriceIncludeCreateManyAndReturn = { Model?: boolean | ModelDefaultArgs project?: boolean | Price$projectArgs } export type PriceIncludeUpdateManyAndReturn = { Model?: boolean | ModelDefaultArgs project?: boolean | Price$projectArgs } export type $PricePayload = { name: "Price" objects: { Model: Prisma.$ModelPayload project: Prisma.$ProjectPayload | null } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date modelId: string projectId: string | null usageType: string price: Prisma.Decimal }, ExtArgs["result"]["price"]> composites: {} } type PriceGetPayload = $Result.GetResult type PriceCountArgs = Omit & { select?: PriceCountAggregateInputType | true } export interface PriceDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Price'], meta: { name: 'Price' } } /** * Find zero or one Price that matches the filter. * @param {PriceFindUniqueArgs} args - Arguments to find a Price * @example * // Get one Price * const price = await prisma.price.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__PriceClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Price that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {PriceFindUniqueOrThrowArgs} args - Arguments to find a Price * @example * // Get one Price * const price = await prisma.price.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__PriceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Price 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 {PriceFindFirstArgs} args - Arguments to find a Price * @example * // Get one Price * const price = await prisma.price.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__PriceClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Price 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 {PriceFindFirstOrThrowArgs} args - Arguments to find a Price * @example * // Get one Price * const price = await prisma.price.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__PriceClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Prices 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 {PriceFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Prices * const prices = await prisma.price.findMany() * * // Get first 10 Prices * const prices = await prisma.price.findMany({ take: 10 }) * * // Only select the `id` * const priceWithIdOnly = await prisma.price.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Price. * @param {PriceCreateArgs} args - Arguments to create a Price. * @example * // Create one Price * const Price = await prisma.price.create({ * data: { * // ... data to create a Price * } * }) * */ create(args: SelectSubset>): Prisma__PriceClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Prices. * @param {PriceCreateManyArgs} args - Arguments to create many Prices. * @example * // Create many Prices * const price = await prisma.price.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Prices and returns the data saved in the database. * @param {PriceCreateManyAndReturnArgs} args - Arguments to create many Prices. * @example * // Create many Prices * const price = await prisma.price.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Prices and only return the `id` * const priceWithIdOnly = await prisma.price.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 Price. * @param {PriceDeleteArgs} args - Arguments to delete one Price. * @example * // Delete one Price * const Price = await prisma.price.delete({ * where: { * // ... filter to delete one Price * } * }) * */ delete(args: SelectSubset>): Prisma__PriceClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Price. * @param {PriceUpdateArgs} args - Arguments to update one Price. * @example * // Update one Price * const price = await prisma.price.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__PriceClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Prices. * @param {PriceDeleteManyArgs} args - Arguments to filter Prices to delete. * @example * // Delete a few Prices * const { count } = await prisma.price.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Prices. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PriceUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Prices * const price = await prisma.price.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Prices and returns the data updated in the database. * @param {PriceUpdateManyAndReturnArgs} args - Arguments to update many Prices. * @example * // Update many Prices * const price = await prisma.price.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Prices and only return the `id` * const priceWithIdOnly = await prisma.price.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 Price. * @param {PriceUpsertArgs} args - Arguments to update or create a Price. * @example * // Update or create a Price * const price = await prisma.price.upsert({ * create: { * // ... data to create a Price * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Price we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__PriceClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Prices. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PriceCountArgs} args - Arguments to filter Prices to count. * @example * // Count the number of Prices * const count = await prisma.price.count({ * where: { * // ... the filter for the Prices 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 Price. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PriceAggregateArgs} 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 Price. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PriceGroupByArgs} 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 PriceGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: PriceGroupByArgs['orderBy'] } : { orderBy?: PriceGroupByArgs['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 ? GetPriceGroupByPayload : Prisma.PrismaPromise /** * Fields of the Price model */ readonly fields: PriceFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Price. * 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__PriceClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" Model = {}>(args?: Subset>): Prisma__ModelClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> project = {}>(args?: Subset>): Prisma__ProjectClient<$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 Price model */ interface PriceFieldRefs { readonly id: FieldRef<"Price", 'String'> readonly createdAt: FieldRef<"Price", 'DateTime'> readonly updatedAt: FieldRef<"Price", 'DateTime'> readonly modelId: FieldRef<"Price", 'String'> readonly projectId: FieldRef<"Price", 'String'> readonly usageType: FieldRef<"Price", 'String'> readonly price: FieldRef<"Price", 'Decimal'> } // Custom InputTypes /** * Price findUnique */ export type PriceFindUniqueArgs = { /** * Select specific fields to fetch from the Price */ select?: PriceSelect | null /** * Omit specific fields from the Price */ omit?: PriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: PriceInclude | null /** * Filter, which Price to fetch. */ where: PriceWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Price findUniqueOrThrow */ export type PriceFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Price */ select?: PriceSelect | null /** * Omit specific fields from the Price */ omit?: PriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: PriceInclude | null /** * Filter, which Price to fetch. */ where: PriceWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Price findFirst */ export type PriceFindFirstArgs = { /** * Select specific fields to fetch from the Price */ select?: PriceSelect | null /** * Omit specific fields from the Price */ omit?: PriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: PriceInclude | null /** * Filter, which Price to fetch. */ where?: PriceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Prices to fetch. */ orderBy?: PriceOrderByWithRelationInput | PriceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Prices. */ cursor?: PriceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Prices 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` Prices. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Prices. */ distinct?: PriceScalarFieldEnum | PriceScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Price findFirstOrThrow */ export type PriceFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Price */ select?: PriceSelect | null /** * Omit specific fields from the Price */ omit?: PriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: PriceInclude | null /** * Filter, which Price to fetch. */ where?: PriceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Prices to fetch. */ orderBy?: PriceOrderByWithRelationInput | PriceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Prices. */ cursor?: PriceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Prices 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` Prices. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Prices. */ distinct?: PriceScalarFieldEnum | PriceScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Price findMany */ export type PriceFindManyArgs = { /** * Select specific fields to fetch from the Price */ select?: PriceSelect | null /** * Omit specific fields from the Price */ omit?: PriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: PriceInclude | null /** * Filter, which Prices to fetch. */ where?: PriceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Prices to fetch. */ orderBy?: PriceOrderByWithRelationInput | PriceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Prices. */ cursor?: PriceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Prices 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` Prices. */ skip?: number distinct?: PriceScalarFieldEnum | PriceScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Price create */ export type PriceCreateArgs = { /** * Select specific fields to fetch from the Price */ select?: PriceSelect | null /** * Omit specific fields from the Price */ omit?: PriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: PriceInclude | null /** * The data needed to create a Price. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Price createMany */ export type PriceCreateManyArgs = { /** * The data used to create many Prices. */ data: PriceCreateManyInput | PriceCreateManyInput[] skipDuplicates?: boolean } /** * Price createManyAndReturn */ export type PriceCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Price */ select?: PriceSelectCreateManyAndReturn | null /** * Omit specific fields from the Price */ omit?: PriceOmit | null /** * The data used to create many Prices. */ data: PriceCreateManyInput | PriceCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: PriceIncludeCreateManyAndReturn | null } /** * Price update */ export type PriceUpdateArgs = { /** * Select specific fields to fetch from the Price */ select?: PriceSelect | null /** * Omit specific fields from the Price */ omit?: PriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: PriceInclude | null /** * The data needed to update a Price. */ data: XOR /** * Choose, which Price to update. */ where: PriceWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Price updateMany */ export type PriceUpdateManyArgs = { /** * The data used to update Prices. */ data: XOR /** * Filter which Prices to update */ where?: PriceWhereInput /** * Limit how many Prices to update. */ limit?: number } /** * Price updateManyAndReturn */ export type PriceUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Price */ select?: PriceSelectUpdateManyAndReturn | null /** * Omit specific fields from the Price */ omit?: PriceOmit | null /** * The data used to update Prices. */ data: XOR /** * Filter which Prices to update */ where?: PriceWhereInput /** * Limit how many Prices to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: PriceIncludeUpdateManyAndReturn | null } /** * Price upsert */ export type PriceUpsertArgs = { /** * Select specific fields to fetch from the Price */ select?: PriceSelect | null /** * Omit specific fields from the Price */ omit?: PriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: PriceInclude | null /** * The filter to search for the Price to update in case it exists. */ where: PriceWhereUniqueInput /** * In case the Price found by the `where` argument doesn't exist, create a new Price with this data. */ create: XOR /** * In case the Price was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Price delete */ export type PriceDeleteArgs = { /** * Select specific fields to fetch from the Price */ select?: PriceSelect | null /** * Omit specific fields from the Price */ omit?: PriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: PriceInclude | null /** * Filter which Price to delete. */ where: PriceWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Price deleteMany */ export type PriceDeleteManyArgs = { /** * Filter which Prices to delete */ where?: PriceWhereInput /** * Limit how many Prices to delete. */ limit?: number } /** * Price.project */ export type Price$projectArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null where?: ProjectWhereInput } /** * Price without action */ export type PriceDefaultArgs = { /** * Select specific fields to fetch from the Price */ select?: PriceSelect | null /** * Omit specific fields from the Price */ omit?: PriceOmit | null /** * Choose, which related nodes to fetch as well */ include?: PriceInclude | null } /** * Model AuditLog */ export type AggregateAuditLog = { _count: AuditLogCountAggregateOutputType | null _min: AuditLogMinAggregateOutputType | null _max: AuditLogMaxAggregateOutputType | null } export type AuditLogMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null type: $Enums.AuditLogRecordType | null apiKeyId: string | null userId: string | null orgId: string | null userOrgRole: string | null projectId: string | null userProjectRole: string | null resourceType: string | null resourceId: string | null action: string | null before: string | null after: string | null } export type AuditLogMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null type: $Enums.AuditLogRecordType | null apiKeyId: string | null userId: string | null orgId: string | null userOrgRole: string | null projectId: string | null userProjectRole: string | null resourceType: string | null resourceId: string | null action: string | null before: string | null after: string | null } export type AuditLogCountAggregateOutputType = { id: number createdAt: number updatedAt: number type: number apiKeyId: number userId: number orgId: number userOrgRole: number projectId: number userProjectRole: number resourceType: number resourceId: number action: number before: number after: number _all: number } export type AuditLogMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true type?: true apiKeyId?: true userId?: true orgId?: true userOrgRole?: true projectId?: true userProjectRole?: true resourceType?: true resourceId?: true action?: true before?: true after?: true } export type AuditLogMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true type?: true apiKeyId?: true userId?: true orgId?: true userOrgRole?: true projectId?: true userProjectRole?: true resourceType?: true resourceId?: true action?: true before?: true after?: true } export type AuditLogCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true type?: true apiKeyId?: true userId?: true orgId?: true userOrgRole?: true projectId?: true userProjectRole?: true resourceType?: true resourceId?: true action?: true before?: true after?: true _all?: true } export type AuditLogAggregateArgs = { /** * Filter which AuditLog to aggregate. */ where?: AuditLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuditLogs to fetch. */ orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AuditLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuditLogs 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` AuditLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AuditLogs **/ _count?: true | AuditLogCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AuditLogMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AuditLogMaxAggregateInputType } export type GetAuditLogAggregateType = { [P in keyof T & keyof AggregateAuditLog]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AuditLogGroupByArgs = { where?: AuditLogWhereInput orderBy?: AuditLogOrderByWithAggregationInput | AuditLogOrderByWithAggregationInput[] by: AuditLogScalarFieldEnum[] | AuditLogScalarFieldEnum having?: AuditLogScalarWhereWithAggregatesInput take?: number skip?: number _count?: AuditLogCountAggregateInputType | true _min?: AuditLogMinAggregateInputType _max?: AuditLogMaxAggregateInputType } export type AuditLogGroupByOutputType = { id: string createdAt: Date updatedAt: Date type: $Enums.AuditLogRecordType apiKeyId: string | null userId: string | null orgId: string userOrgRole: string | null projectId: string | null userProjectRole: string | null resourceType: string resourceId: string action: string before: string | null after: string | null _count: AuditLogCountAggregateOutputType | null _min: AuditLogMinAggregateOutputType | null _max: AuditLogMaxAggregateOutputType | null } type GetAuditLogGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AuditLogGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AuditLogSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean type?: boolean apiKeyId?: boolean userId?: boolean orgId?: boolean userOrgRole?: boolean projectId?: boolean userProjectRole?: boolean resourceType?: boolean resourceId?: boolean action?: boolean before?: boolean after?: boolean }, ExtArgs["result"]["auditLog"]> export type AuditLogSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean type?: boolean apiKeyId?: boolean userId?: boolean orgId?: boolean userOrgRole?: boolean projectId?: boolean userProjectRole?: boolean resourceType?: boolean resourceId?: boolean action?: boolean before?: boolean after?: boolean }, ExtArgs["result"]["auditLog"]> export type AuditLogSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean type?: boolean apiKeyId?: boolean userId?: boolean orgId?: boolean userOrgRole?: boolean projectId?: boolean userProjectRole?: boolean resourceType?: boolean resourceId?: boolean action?: boolean before?: boolean after?: boolean }, ExtArgs["result"]["auditLog"]> export type AuditLogSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean type?: boolean apiKeyId?: boolean userId?: boolean orgId?: boolean userOrgRole?: boolean projectId?: boolean userProjectRole?: boolean resourceType?: boolean resourceId?: boolean action?: boolean before?: boolean after?: boolean } export type AuditLogOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "type" | "apiKeyId" | "userId" | "orgId" | "userOrgRole" | "projectId" | "userProjectRole" | "resourceType" | "resourceId" | "action" | "before" | "after", ExtArgs["result"]["auditLog"]> export type $AuditLogPayload = { name: "AuditLog" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date type: $Enums.AuditLogRecordType apiKeyId: string | null userId: string | null orgId: string userOrgRole: string | null projectId: string | null userProjectRole: string | null resourceType: string resourceId: string action: string before: string | null after: string | null }, ExtArgs["result"]["auditLog"]> composites: {} } type AuditLogGetPayload = $Result.GetResult type AuditLogCountArgs = Omit & { select?: AuditLogCountAggregateInputType | true } export interface AuditLogDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AuditLog'], meta: { name: 'AuditLog' } } /** * Find zero or one AuditLog that matches the filter. * @param {AuditLogFindUniqueArgs} args - Arguments to find a AuditLog * @example * // Get one AuditLog * const auditLog = await prisma.auditLog.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AuditLog that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AuditLogFindUniqueOrThrowArgs} args - Arguments to find a AuditLog * @example * // Get one AuditLog * const auditLog = await prisma.auditLog.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AuditLog 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 {AuditLogFindFirstArgs} args - Arguments to find a AuditLog * @example * // Get one AuditLog * const auditLog = await prisma.auditLog.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AuditLog 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 {AuditLogFindFirstOrThrowArgs} args - Arguments to find a AuditLog * @example * // Get one AuditLog * const auditLog = await prisma.auditLog.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AuditLogs 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 {AuditLogFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AuditLogs * const auditLogs = await prisma.auditLog.findMany() * * // Get first 10 AuditLogs * const auditLogs = await prisma.auditLog.findMany({ take: 10 }) * * // Only select the `id` * const auditLogWithIdOnly = await prisma.auditLog.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AuditLog. * @param {AuditLogCreateArgs} args - Arguments to create a AuditLog. * @example * // Create one AuditLog * const AuditLog = await prisma.auditLog.create({ * data: { * // ... data to create a AuditLog * } * }) * */ create(args: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AuditLogs. * @param {AuditLogCreateManyArgs} args - Arguments to create many AuditLogs. * @example * // Create many AuditLogs * const auditLog = await prisma.auditLog.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many AuditLogs and returns the data saved in the database. * @param {AuditLogCreateManyAndReturnArgs} args - Arguments to create many AuditLogs. * @example * // Create many AuditLogs * const auditLog = await prisma.auditLog.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AuditLogs and only return the `id` * const auditLogWithIdOnly = await prisma.auditLog.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 AuditLog. * @param {AuditLogDeleteArgs} args - Arguments to delete one AuditLog. * @example * // Delete one AuditLog * const AuditLog = await prisma.auditLog.delete({ * where: { * // ... filter to delete one AuditLog * } * }) * */ delete(args: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AuditLog. * @param {AuditLogUpdateArgs} args - Arguments to update one AuditLog. * @example * // Update one AuditLog * const auditLog = await prisma.auditLog.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AuditLogs. * @param {AuditLogDeleteManyArgs} args - Arguments to filter AuditLogs to delete. * @example * // Delete a few AuditLogs * const { count } = await prisma.auditLog.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AuditLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuditLogUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AuditLogs * const auditLog = await prisma.auditLog.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AuditLogs and returns the data updated in the database. * @param {AuditLogUpdateManyAndReturnArgs} args - Arguments to update many AuditLogs. * @example * // Update many AuditLogs * const auditLog = await prisma.auditLog.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AuditLogs and only return the `id` * const auditLogWithIdOnly = await prisma.auditLog.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 AuditLog. * @param {AuditLogUpsertArgs} args - Arguments to update or create a AuditLog. * @example * // Update or create a AuditLog * const auditLog = await prisma.auditLog.upsert({ * create: { * // ... data to create a AuditLog * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AuditLog we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AuditLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuditLogCountArgs} args - Arguments to filter AuditLogs to count. * @example * // Count the number of AuditLogs * const count = await prisma.auditLog.count({ * where: { * // ... the filter for the AuditLogs 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 AuditLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuditLogAggregateArgs} 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 AuditLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuditLogGroupByArgs} 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 AuditLogGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AuditLogGroupByArgs['orderBy'] } : { orderBy?: AuditLogGroupByArgs['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 ? GetAuditLogGroupByPayload : Prisma.PrismaPromise /** * Fields of the AuditLog model */ readonly fields: AuditLogFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AuditLog. * 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__AuditLogClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 AuditLog model */ interface AuditLogFieldRefs { readonly id: FieldRef<"AuditLog", 'String'> readonly createdAt: FieldRef<"AuditLog", 'DateTime'> readonly updatedAt: FieldRef<"AuditLog", 'DateTime'> readonly type: FieldRef<"AuditLog", 'AuditLogRecordType'> readonly apiKeyId: FieldRef<"AuditLog", 'String'> readonly userId: FieldRef<"AuditLog", 'String'> readonly orgId: FieldRef<"AuditLog", 'String'> readonly userOrgRole: FieldRef<"AuditLog", 'String'> readonly projectId: FieldRef<"AuditLog", 'String'> readonly userProjectRole: FieldRef<"AuditLog", 'String'> readonly resourceType: FieldRef<"AuditLog", 'String'> readonly resourceId: FieldRef<"AuditLog", 'String'> readonly action: FieldRef<"AuditLog", 'String'> readonly before: FieldRef<"AuditLog", 'String'> readonly after: FieldRef<"AuditLog", 'String'> } // Custom InputTypes /** * AuditLog findUnique */ export type AuditLogFindUniqueArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Omit specific fields from the AuditLog */ omit?: AuditLogOmit | null /** * Filter, which AuditLog to fetch. */ where: AuditLogWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AuditLog findUniqueOrThrow */ export type AuditLogFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Omit specific fields from the AuditLog */ omit?: AuditLogOmit | null /** * Filter, which AuditLog to fetch. */ where: AuditLogWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AuditLog findFirst */ export type AuditLogFindFirstArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Omit specific fields from the AuditLog */ omit?: AuditLogOmit | null /** * Filter, which AuditLog to fetch. */ where?: AuditLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuditLogs to fetch. */ orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AuditLogs. */ cursor?: AuditLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuditLogs 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` AuditLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AuditLogs. */ distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AuditLog findFirstOrThrow */ export type AuditLogFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Omit specific fields from the AuditLog */ omit?: AuditLogOmit | null /** * Filter, which AuditLog to fetch. */ where?: AuditLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuditLogs to fetch. */ orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AuditLogs. */ cursor?: AuditLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuditLogs 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` AuditLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AuditLogs. */ distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AuditLog findMany */ export type AuditLogFindManyArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Omit specific fields from the AuditLog */ omit?: AuditLogOmit | null /** * Filter, which AuditLogs to fetch. */ where?: AuditLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuditLogs to fetch. */ orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AuditLogs. */ cursor?: AuditLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuditLogs 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` AuditLogs. */ skip?: number distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AuditLog create */ export type AuditLogCreateArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Omit specific fields from the AuditLog */ omit?: AuditLogOmit | null /** * The data needed to create a AuditLog. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * AuditLog createMany */ export type AuditLogCreateManyArgs = { /** * The data used to create many AuditLogs. */ data: AuditLogCreateManyInput | AuditLogCreateManyInput[] skipDuplicates?: boolean } /** * AuditLog createManyAndReturn */ export type AuditLogCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelectCreateManyAndReturn | null /** * Omit specific fields from the AuditLog */ omit?: AuditLogOmit | null /** * The data used to create many AuditLogs. */ data: AuditLogCreateManyInput | AuditLogCreateManyInput[] skipDuplicates?: boolean } /** * AuditLog update */ export type AuditLogUpdateArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Omit specific fields from the AuditLog */ omit?: AuditLogOmit | null /** * The data needed to update a AuditLog. */ data: XOR /** * Choose, which AuditLog to update. */ where: AuditLogWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AuditLog updateMany */ export type AuditLogUpdateManyArgs = { /** * The data used to update AuditLogs. */ data: XOR /** * Filter which AuditLogs to update */ where?: AuditLogWhereInput /** * Limit how many AuditLogs to update. */ limit?: number } /** * AuditLog updateManyAndReturn */ export type AuditLogUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelectUpdateManyAndReturn | null /** * Omit specific fields from the AuditLog */ omit?: AuditLogOmit | null /** * The data used to update AuditLogs. */ data: XOR /** * Filter which AuditLogs to update */ where?: AuditLogWhereInput /** * Limit how many AuditLogs to update. */ limit?: number } /** * AuditLog upsert */ export type AuditLogUpsertArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Omit specific fields from the AuditLog */ omit?: AuditLogOmit | null /** * The filter to search for the AuditLog to update in case it exists. */ where: AuditLogWhereUniqueInput /** * In case the AuditLog found by the `where` argument doesn't exist, create a new AuditLog with this data. */ create: XOR /** * In case the AuditLog was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * AuditLog delete */ export type AuditLogDeleteArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Omit specific fields from the AuditLog */ omit?: AuditLogOmit | null /** * Filter which AuditLog to delete. */ where: AuditLogWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AuditLog deleteMany */ export type AuditLogDeleteManyArgs = { /** * Filter which AuditLogs to delete */ where?: AuditLogWhereInput /** * Limit how many AuditLogs to delete. */ limit?: number } /** * AuditLog without action */ export type AuditLogDefaultArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Omit specific fields from the AuditLog */ omit?: AuditLogOmit | null } /** * Model EvalTemplate */ export type AggregateEvalTemplate = { _count: EvalTemplateCountAggregateOutputType | null _avg: EvalTemplateAvgAggregateOutputType | null _sum: EvalTemplateSumAggregateOutputType | null _min: EvalTemplateMinAggregateOutputType | null _max: EvalTemplateMaxAggregateOutputType | null } export type EvalTemplateAvgAggregateOutputType = { version: number | null } export type EvalTemplateSumAggregateOutputType = { version: number | null } export type EvalTemplateMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null name: string | null version: number | null prompt: string | null partner: string | null model: string | null provider: string | null } export type EvalTemplateMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null name: string | null version: number | null prompt: string | null partner: string | null model: string | null provider: string | null } export type EvalTemplateCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number name: number version: number prompt: number partner: number model: number provider: number modelParams: number vars: number outputSchema: number _all: number } export type EvalTemplateAvgAggregateInputType = { version?: true } export type EvalTemplateSumAggregateInputType = { version?: true } export type EvalTemplateMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true version?: true prompt?: true partner?: true model?: true provider?: true } export type EvalTemplateMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true version?: true prompt?: true partner?: true model?: true provider?: true } export type EvalTemplateCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true version?: true prompt?: true partner?: true model?: true provider?: true modelParams?: true vars?: true outputSchema?: true _all?: true } export type EvalTemplateAggregateArgs = { /** * Filter which EvalTemplate to aggregate. */ where?: EvalTemplateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EvalTemplates to fetch. */ orderBy?: EvalTemplateOrderByWithRelationInput | EvalTemplateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: EvalTemplateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EvalTemplates 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` EvalTemplates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned EvalTemplates **/ _count?: true | EvalTemplateCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: EvalTemplateAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: EvalTemplateSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: EvalTemplateMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: EvalTemplateMaxAggregateInputType } export type GetEvalTemplateAggregateType = { [P in keyof T & keyof AggregateEvalTemplate]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type EvalTemplateGroupByArgs = { where?: EvalTemplateWhereInput orderBy?: EvalTemplateOrderByWithAggregationInput | EvalTemplateOrderByWithAggregationInput[] by: EvalTemplateScalarFieldEnum[] | EvalTemplateScalarFieldEnum having?: EvalTemplateScalarWhereWithAggregatesInput take?: number skip?: number _count?: EvalTemplateCountAggregateInputType | true _avg?: EvalTemplateAvgAggregateInputType _sum?: EvalTemplateSumAggregateInputType _min?: EvalTemplateMinAggregateInputType _max?: EvalTemplateMaxAggregateInputType } export type EvalTemplateGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string | null name: string version: number prompt: string partner: string | null model: string | null provider: string | null modelParams: JsonValue | null vars: string[] outputSchema: JsonValue _count: EvalTemplateCountAggregateOutputType | null _avg: EvalTemplateAvgAggregateOutputType | null _sum: EvalTemplateSumAggregateOutputType | null _min: EvalTemplateMinAggregateOutputType | null _max: EvalTemplateMaxAggregateOutputType | null } type GetEvalTemplateGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof EvalTemplateGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type EvalTemplateSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean version?: boolean prompt?: boolean partner?: boolean model?: boolean provider?: boolean modelParams?: boolean vars?: boolean outputSchema?: boolean project?: boolean | EvalTemplate$projectArgs JobConfiguration?: boolean | EvalTemplate$JobConfigurationArgs JobExecution?: boolean | EvalTemplate$JobExecutionArgs _count?: boolean | EvalTemplateCountOutputTypeDefaultArgs }, ExtArgs["result"]["evalTemplate"]> export type EvalTemplateSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean version?: boolean prompt?: boolean partner?: boolean model?: boolean provider?: boolean modelParams?: boolean vars?: boolean outputSchema?: boolean project?: boolean | EvalTemplate$projectArgs }, ExtArgs["result"]["evalTemplate"]> export type EvalTemplateSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean version?: boolean prompt?: boolean partner?: boolean model?: boolean provider?: boolean modelParams?: boolean vars?: boolean outputSchema?: boolean project?: boolean | EvalTemplate$projectArgs }, ExtArgs["result"]["evalTemplate"]> export type EvalTemplateSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean version?: boolean prompt?: boolean partner?: boolean model?: boolean provider?: boolean modelParams?: boolean vars?: boolean outputSchema?: boolean } export type EvalTemplateOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "name" | "version" | "prompt" | "partner" | "model" | "provider" | "modelParams" | "vars" | "outputSchema", ExtArgs["result"]["evalTemplate"]> export type EvalTemplateInclude = { project?: boolean | EvalTemplate$projectArgs JobConfiguration?: boolean | EvalTemplate$JobConfigurationArgs JobExecution?: boolean | EvalTemplate$JobExecutionArgs _count?: boolean | EvalTemplateCountOutputTypeDefaultArgs } export type EvalTemplateIncludeCreateManyAndReturn = { project?: boolean | EvalTemplate$projectArgs } export type EvalTemplateIncludeUpdateManyAndReturn = { project?: boolean | EvalTemplate$projectArgs } export type $EvalTemplatePayload = { name: "EvalTemplate" objects: { project: Prisma.$ProjectPayload | null JobConfiguration: Prisma.$JobConfigurationPayload[] JobExecution: Prisma.$JobExecutionPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string | null name: string version: number prompt: string partner: string | null model: string | null provider: string | null modelParams: Prisma.JsonValue | null vars: string[] outputSchema: Prisma.JsonValue }, ExtArgs["result"]["evalTemplate"]> composites: {} } type EvalTemplateGetPayload = $Result.GetResult type EvalTemplateCountArgs = Omit & { select?: EvalTemplateCountAggregateInputType | true } export interface EvalTemplateDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['EvalTemplate'], meta: { name: 'EvalTemplate' } } /** * Find zero or one EvalTemplate that matches the filter. * @param {EvalTemplateFindUniqueArgs} args - Arguments to find a EvalTemplate * @example * // Get one EvalTemplate * const evalTemplate = await prisma.evalTemplate.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__EvalTemplateClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one EvalTemplate that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {EvalTemplateFindUniqueOrThrowArgs} args - Arguments to find a EvalTemplate * @example * // Get one EvalTemplate * const evalTemplate = await prisma.evalTemplate.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__EvalTemplateClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first EvalTemplate 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 {EvalTemplateFindFirstArgs} args - Arguments to find a EvalTemplate * @example * // Get one EvalTemplate * const evalTemplate = await prisma.evalTemplate.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__EvalTemplateClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first EvalTemplate 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 {EvalTemplateFindFirstOrThrowArgs} args - Arguments to find a EvalTemplate * @example * // Get one EvalTemplate * const evalTemplate = await prisma.evalTemplate.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__EvalTemplateClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more EvalTemplates 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 {EvalTemplateFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all EvalTemplates * const evalTemplates = await prisma.evalTemplate.findMany() * * // Get first 10 EvalTemplates * const evalTemplates = await prisma.evalTemplate.findMany({ take: 10 }) * * // Only select the `id` * const evalTemplateWithIdOnly = await prisma.evalTemplate.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a EvalTemplate. * @param {EvalTemplateCreateArgs} args - Arguments to create a EvalTemplate. * @example * // Create one EvalTemplate * const EvalTemplate = await prisma.evalTemplate.create({ * data: { * // ... data to create a EvalTemplate * } * }) * */ create(args: SelectSubset>): Prisma__EvalTemplateClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many EvalTemplates. * @param {EvalTemplateCreateManyArgs} args - Arguments to create many EvalTemplates. * @example * // Create many EvalTemplates * const evalTemplate = await prisma.evalTemplate.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many EvalTemplates and returns the data saved in the database. * @param {EvalTemplateCreateManyAndReturnArgs} args - Arguments to create many EvalTemplates. * @example * // Create many EvalTemplates * const evalTemplate = await prisma.evalTemplate.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many EvalTemplates and only return the `id` * const evalTemplateWithIdOnly = await prisma.evalTemplate.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 EvalTemplate. * @param {EvalTemplateDeleteArgs} args - Arguments to delete one EvalTemplate. * @example * // Delete one EvalTemplate * const EvalTemplate = await prisma.evalTemplate.delete({ * where: { * // ... filter to delete one EvalTemplate * } * }) * */ delete(args: SelectSubset>): Prisma__EvalTemplateClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one EvalTemplate. * @param {EvalTemplateUpdateArgs} args - Arguments to update one EvalTemplate. * @example * // Update one EvalTemplate * const evalTemplate = await prisma.evalTemplate.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__EvalTemplateClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more EvalTemplates. * @param {EvalTemplateDeleteManyArgs} args - Arguments to filter EvalTemplates to delete. * @example * // Delete a few EvalTemplates * const { count } = await prisma.evalTemplate.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more EvalTemplates. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EvalTemplateUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many EvalTemplates * const evalTemplate = await prisma.evalTemplate.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more EvalTemplates and returns the data updated in the database. * @param {EvalTemplateUpdateManyAndReturnArgs} args - Arguments to update many EvalTemplates. * @example * // Update many EvalTemplates * const evalTemplate = await prisma.evalTemplate.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more EvalTemplates and only return the `id` * const evalTemplateWithIdOnly = await prisma.evalTemplate.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 EvalTemplate. * @param {EvalTemplateUpsertArgs} args - Arguments to update or create a EvalTemplate. * @example * // Update or create a EvalTemplate * const evalTemplate = await prisma.evalTemplate.upsert({ * create: { * // ... data to create a EvalTemplate * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the EvalTemplate we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__EvalTemplateClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of EvalTemplates. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EvalTemplateCountArgs} args - Arguments to filter EvalTemplates to count. * @example * // Count the number of EvalTemplates * const count = await prisma.evalTemplate.count({ * where: { * // ... the filter for the EvalTemplates 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 EvalTemplate. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EvalTemplateAggregateArgs} 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 EvalTemplate. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EvalTemplateGroupByArgs} 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 EvalTemplateGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: EvalTemplateGroupByArgs['orderBy'] } : { orderBy?: EvalTemplateGroupByArgs['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 ? GetEvalTemplateGroupByPayload : Prisma.PrismaPromise /** * Fields of the EvalTemplate model */ readonly fields: EvalTemplateFieldRefs; } /** * The delegate class that acts as a "Promise-like" for EvalTemplate. * 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__EvalTemplateClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> JobConfiguration = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> JobExecution = {}>(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 EvalTemplate model */ interface EvalTemplateFieldRefs { readonly id: FieldRef<"EvalTemplate", 'String'> readonly createdAt: FieldRef<"EvalTemplate", 'DateTime'> readonly updatedAt: FieldRef<"EvalTemplate", 'DateTime'> readonly projectId: FieldRef<"EvalTemplate", 'String'> readonly name: FieldRef<"EvalTemplate", 'String'> readonly version: FieldRef<"EvalTemplate", 'Int'> readonly prompt: FieldRef<"EvalTemplate", 'String'> readonly partner: FieldRef<"EvalTemplate", 'String'> readonly model: FieldRef<"EvalTemplate", 'String'> readonly provider: FieldRef<"EvalTemplate", 'String'> readonly modelParams: FieldRef<"EvalTemplate", 'Json'> readonly vars: FieldRef<"EvalTemplate", 'String[]'> readonly outputSchema: FieldRef<"EvalTemplate", 'Json'> } // Custom InputTypes /** * EvalTemplate findUnique */ export type EvalTemplateFindUniqueArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelect | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateInclude | null /** * Filter, which EvalTemplate to fetch. */ where: EvalTemplateWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * EvalTemplate findUniqueOrThrow */ export type EvalTemplateFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelect | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateInclude | null /** * Filter, which EvalTemplate to fetch. */ where: EvalTemplateWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * EvalTemplate findFirst */ export type EvalTemplateFindFirstArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelect | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateInclude | null /** * Filter, which EvalTemplate to fetch. */ where?: EvalTemplateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EvalTemplates to fetch. */ orderBy?: EvalTemplateOrderByWithRelationInput | EvalTemplateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for EvalTemplates. */ cursor?: EvalTemplateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EvalTemplates 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` EvalTemplates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EvalTemplates. */ distinct?: EvalTemplateScalarFieldEnum | EvalTemplateScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * EvalTemplate findFirstOrThrow */ export type EvalTemplateFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelect | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateInclude | null /** * Filter, which EvalTemplate to fetch. */ where?: EvalTemplateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EvalTemplates to fetch. */ orderBy?: EvalTemplateOrderByWithRelationInput | EvalTemplateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for EvalTemplates. */ cursor?: EvalTemplateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EvalTemplates 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` EvalTemplates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of EvalTemplates. */ distinct?: EvalTemplateScalarFieldEnum | EvalTemplateScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * EvalTemplate findMany */ export type EvalTemplateFindManyArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelect | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateInclude | null /** * Filter, which EvalTemplates to fetch. */ where?: EvalTemplateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of EvalTemplates to fetch. */ orderBy?: EvalTemplateOrderByWithRelationInput | EvalTemplateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing EvalTemplates. */ cursor?: EvalTemplateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` EvalTemplates 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` EvalTemplates. */ skip?: number distinct?: EvalTemplateScalarFieldEnum | EvalTemplateScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * EvalTemplate create */ export type EvalTemplateCreateArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelect | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateInclude | null /** * The data needed to create a EvalTemplate. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * EvalTemplate createMany */ export type EvalTemplateCreateManyArgs = { /** * The data used to create many EvalTemplates. */ data: EvalTemplateCreateManyInput | EvalTemplateCreateManyInput[] skipDuplicates?: boolean } /** * EvalTemplate createManyAndReturn */ export type EvalTemplateCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelectCreateManyAndReturn | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * The data used to create many EvalTemplates. */ data: EvalTemplateCreateManyInput | EvalTemplateCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateIncludeCreateManyAndReturn | null } /** * EvalTemplate update */ export type EvalTemplateUpdateArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelect | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateInclude | null /** * The data needed to update a EvalTemplate. */ data: XOR /** * Choose, which EvalTemplate to update. */ where: EvalTemplateWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * EvalTemplate updateMany */ export type EvalTemplateUpdateManyArgs = { /** * The data used to update EvalTemplates. */ data: XOR /** * Filter which EvalTemplates to update */ where?: EvalTemplateWhereInput /** * Limit how many EvalTemplates to update. */ limit?: number } /** * EvalTemplate updateManyAndReturn */ export type EvalTemplateUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelectUpdateManyAndReturn | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * The data used to update EvalTemplates. */ data: XOR /** * Filter which EvalTemplates to update */ where?: EvalTemplateWhereInput /** * Limit how many EvalTemplates to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateIncludeUpdateManyAndReturn | null } /** * EvalTemplate upsert */ export type EvalTemplateUpsertArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelect | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateInclude | null /** * The filter to search for the EvalTemplate to update in case it exists. */ where: EvalTemplateWhereUniqueInput /** * In case the EvalTemplate found by the `where` argument doesn't exist, create a new EvalTemplate with this data. */ create: XOR /** * In case the EvalTemplate was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * EvalTemplate delete */ export type EvalTemplateDeleteArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelect | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateInclude | null /** * Filter which EvalTemplate to delete. */ where: EvalTemplateWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * EvalTemplate deleteMany */ export type EvalTemplateDeleteManyArgs = { /** * Filter which EvalTemplates to delete */ where?: EvalTemplateWhereInput /** * Limit how many EvalTemplates to delete. */ limit?: number } /** * EvalTemplate.project */ export type EvalTemplate$projectArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null where?: ProjectWhereInput } /** * EvalTemplate.JobConfiguration */ export type EvalTemplate$JobConfigurationArgs = { /** * Select specific fields to fetch from the JobConfiguration */ select?: JobConfigurationSelect | null /** * Omit specific fields from the JobConfiguration */ omit?: JobConfigurationOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobConfigurationInclude | null where?: JobConfigurationWhereInput orderBy?: JobConfigurationOrderByWithRelationInput | JobConfigurationOrderByWithRelationInput[] cursor?: JobConfigurationWhereUniqueInput take?: number skip?: number distinct?: JobConfigurationScalarFieldEnum | JobConfigurationScalarFieldEnum[] } /** * EvalTemplate.JobExecution */ export type EvalTemplate$JobExecutionArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelect | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobExecutionInclude | null where?: JobExecutionWhereInput orderBy?: JobExecutionOrderByWithRelationInput | JobExecutionOrderByWithRelationInput[] cursor?: JobExecutionWhereUniqueInput take?: number skip?: number distinct?: JobExecutionScalarFieldEnum | JobExecutionScalarFieldEnum[] } /** * EvalTemplate without action */ export type EvalTemplateDefaultArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelect | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateInclude | null } /** * Model JobConfiguration */ export type AggregateJobConfiguration = { _count: JobConfigurationCountAggregateOutputType | null _avg: JobConfigurationAvgAggregateOutputType | null _sum: JobConfigurationSumAggregateOutputType | null _min: JobConfigurationMinAggregateOutputType | null _max: JobConfigurationMaxAggregateOutputType | null } export type JobConfigurationAvgAggregateOutputType = { sampling: Decimal | null delay: number | null } export type JobConfigurationSumAggregateOutputType = { sampling: Decimal | null delay: number | null } export type JobConfigurationMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null jobType: $Enums.JobType | null status: $Enums.JobConfigState | null evalTemplateId: string | null scoreName: string | null targetObject: string | null sampling: Decimal | null delay: number | null } export type JobConfigurationMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null jobType: $Enums.JobType | null status: $Enums.JobConfigState | null evalTemplateId: string | null scoreName: string | null targetObject: string | null sampling: Decimal | null delay: number | null } export type JobConfigurationCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number jobType: number status: number evalTemplateId: number scoreName: number filter: number targetObject: number variableMapping: number sampling: number delay: number timeScope: number _all: number } export type JobConfigurationAvgAggregateInputType = { sampling?: true delay?: true } export type JobConfigurationSumAggregateInputType = { sampling?: true delay?: true } export type JobConfigurationMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true jobType?: true status?: true evalTemplateId?: true scoreName?: true targetObject?: true sampling?: true delay?: true } export type JobConfigurationMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true jobType?: true status?: true evalTemplateId?: true scoreName?: true targetObject?: true sampling?: true delay?: true } export type JobConfigurationCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true jobType?: true status?: true evalTemplateId?: true scoreName?: true filter?: true targetObject?: true variableMapping?: true sampling?: true delay?: true timeScope?: true _all?: true } export type JobConfigurationAggregateArgs = { /** * Filter which JobConfiguration to aggregate. */ where?: JobConfigurationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of JobConfigurations to fetch. */ orderBy?: JobConfigurationOrderByWithRelationInput | JobConfigurationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: JobConfigurationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` JobConfigurations 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` JobConfigurations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned JobConfigurations **/ _count?: true | JobConfigurationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: JobConfigurationAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: JobConfigurationSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: JobConfigurationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: JobConfigurationMaxAggregateInputType } export type GetJobConfigurationAggregateType = { [P in keyof T & keyof AggregateJobConfiguration]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type JobConfigurationGroupByArgs = { where?: JobConfigurationWhereInput orderBy?: JobConfigurationOrderByWithAggregationInput | JobConfigurationOrderByWithAggregationInput[] by: JobConfigurationScalarFieldEnum[] | JobConfigurationScalarFieldEnum having?: JobConfigurationScalarWhereWithAggregatesInput take?: number skip?: number _count?: JobConfigurationCountAggregateInputType | true _avg?: JobConfigurationAvgAggregateInputType _sum?: JobConfigurationSumAggregateInputType _min?: JobConfigurationMinAggregateInputType _max?: JobConfigurationMaxAggregateInputType } export type JobConfigurationGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string jobType: $Enums.JobType status: $Enums.JobConfigState evalTemplateId: string | null scoreName: string filter: JsonValue targetObject: string variableMapping: JsonValue sampling: Decimal delay: number timeScope: string[] _count: JobConfigurationCountAggregateOutputType | null _avg: JobConfigurationAvgAggregateOutputType | null _sum: JobConfigurationSumAggregateOutputType | null _min: JobConfigurationMinAggregateOutputType | null _max: JobConfigurationMaxAggregateOutputType | null } type GetJobConfigurationGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof JobConfigurationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type JobConfigurationSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean jobType?: boolean status?: boolean evalTemplateId?: boolean scoreName?: boolean filter?: boolean targetObject?: boolean variableMapping?: boolean sampling?: boolean delay?: boolean timeScope?: boolean project?: boolean | ProjectDefaultArgs evalTemplate?: boolean | JobConfiguration$evalTemplateArgs JobExecution?: boolean | JobConfiguration$JobExecutionArgs _count?: boolean | JobConfigurationCountOutputTypeDefaultArgs }, ExtArgs["result"]["jobConfiguration"]> export type JobConfigurationSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean jobType?: boolean status?: boolean evalTemplateId?: boolean scoreName?: boolean filter?: boolean targetObject?: boolean variableMapping?: boolean sampling?: boolean delay?: boolean timeScope?: boolean project?: boolean | ProjectDefaultArgs evalTemplate?: boolean | JobConfiguration$evalTemplateArgs }, ExtArgs["result"]["jobConfiguration"]> export type JobConfigurationSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean jobType?: boolean status?: boolean evalTemplateId?: boolean scoreName?: boolean filter?: boolean targetObject?: boolean variableMapping?: boolean sampling?: boolean delay?: boolean timeScope?: boolean project?: boolean | ProjectDefaultArgs evalTemplate?: boolean | JobConfiguration$evalTemplateArgs }, ExtArgs["result"]["jobConfiguration"]> export type JobConfigurationSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean jobType?: boolean status?: boolean evalTemplateId?: boolean scoreName?: boolean filter?: boolean targetObject?: boolean variableMapping?: boolean sampling?: boolean delay?: boolean timeScope?: boolean } export type JobConfigurationOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "jobType" | "status" | "evalTemplateId" | "scoreName" | "filter" | "targetObject" | "variableMapping" | "sampling" | "delay" | "timeScope", ExtArgs["result"]["jobConfiguration"]> export type JobConfigurationInclude = { project?: boolean | ProjectDefaultArgs evalTemplate?: boolean | JobConfiguration$evalTemplateArgs JobExecution?: boolean | JobConfiguration$JobExecutionArgs _count?: boolean | JobConfigurationCountOutputTypeDefaultArgs } export type JobConfigurationIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs evalTemplate?: boolean | JobConfiguration$evalTemplateArgs } export type JobConfigurationIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs evalTemplate?: boolean | JobConfiguration$evalTemplateArgs } export type $JobConfigurationPayload = { name: "JobConfiguration" objects: { project: Prisma.$ProjectPayload evalTemplate: Prisma.$EvalTemplatePayload | null JobExecution: Prisma.$JobExecutionPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string jobType: $Enums.JobType status: $Enums.JobConfigState evalTemplateId: string | null scoreName: string filter: Prisma.JsonValue targetObject: string variableMapping: Prisma.JsonValue sampling: Prisma.Decimal delay: number timeScope: string[] }, ExtArgs["result"]["jobConfiguration"]> composites: {} } type JobConfigurationGetPayload = $Result.GetResult type JobConfigurationCountArgs = Omit & { select?: JobConfigurationCountAggregateInputType | true } export interface JobConfigurationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['JobConfiguration'], meta: { name: 'JobConfiguration' } } /** * Find zero or one JobConfiguration that matches the filter. * @param {JobConfigurationFindUniqueArgs} args - Arguments to find a JobConfiguration * @example * // Get one JobConfiguration * const jobConfiguration = await prisma.jobConfiguration.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__JobConfigurationClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one JobConfiguration that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {JobConfigurationFindUniqueOrThrowArgs} args - Arguments to find a JobConfiguration * @example * // Get one JobConfiguration * const jobConfiguration = await prisma.jobConfiguration.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__JobConfigurationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first JobConfiguration 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 {JobConfigurationFindFirstArgs} args - Arguments to find a JobConfiguration * @example * // Get one JobConfiguration * const jobConfiguration = await prisma.jobConfiguration.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__JobConfigurationClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first JobConfiguration 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 {JobConfigurationFindFirstOrThrowArgs} args - Arguments to find a JobConfiguration * @example * // Get one JobConfiguration * const jobConfiguration = await prisma.jobConfiguration.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__JobConfigurationClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more JobConfigurations 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 {JobConfigurationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all JobConfigurations * const jobConfigurations = await prisma.jobConfiguration.findMany() * * // Get first 10 JobConfigurations * const jobConfigurations = await prisma.jobConfiguration.findMany({ take: 10 }) * * // Only select the `id` * const jobConfigurationWithIdOnly = await prisma.jobConfiguration.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a JobConfiguration. * @param {JobConfigurationCreateArgs} args - Arguments to create a JobConfiguration. * @example * // Create one JobConfiguration * const JobConfiguration = await prisma.jobConfiguration.create({ * data: { * // ... data to create a JobConfiguration * } * }) * */ create(args: SelectSubset>): Prisma__JobConfigurationClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many JobConfigurations. * @param {JobConfigurationCreateManyArgs} args - Arguments to create many JobConfigurations. * @example * // Create many JobConfigurations * const jobConfiguration = await prisma.jobConfiguration.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many JobConfigurations and returns the data saved in the database. * @param {JobConfigurationCreateManyAndReturnArgs} args - Arguments to create many JobConfigurations. * @example * // Create many JobConfigurations * const jobConfiguration = await prisma.jobConfiguration.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many JobConfigurations and only return the `id` * const jobConfigurationWithIdOnly = await prisma.jobConfiguration.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 JobConfiguration. * @param {JobConfigurationDeleteArgs} args - Arguments to delete one JobConfiguration. * @example * // Delete one JobConfiguration * const JobConfiguration = await prisma.jobConfiguration.delete({ * where: { * // ... filter to delete one JobConfiguration * } * }) * */ delete(args: SelectSubset>): Prisma__JobConfigurationClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one JobConfiguration. * @param {JobConfigurationUpdateArgs} args - Arguments to update one JobConfiguration. * @example * // Update one JobConfiguration * const jobConfiguration = await prisma.jobConfiguration.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__JobConfigurationClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more JobConfigurations. * @param {JobConfigurationDeleteManyArgs} args - Arguments to filter JobConfigurations to delete. * @example * // Delete a few JobConfigurations * const { count } = await prisma.jobConfiguration.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more JobConfigurations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {JobConfigurationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many JobConfigurations * const jobConfiguration = await prisma.jobConfiguration.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more JobConfigurations and returns the data updated in the database. * @param {JobConfigurationUpdateManyAndReturnArgs} args - Arguments to update many JobConfigurations. * @example * // Update many JobConfigurations * const jobConfiguration = await prisma.jobConfiguration.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more JobConfigurations and only return the `id` * const jobConfigurationWithIdOnly = await prisma.jobConfiguration.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 JobConfiguration. * @param {JobConfigurationUpsertArgs} args - Arguments to update or create a JobConfiguration. * @example * // Update or create a JobConfiguration * const jobConfiguration = await prisma.jobConfiguration.upsert({ * create: { * // ... data to create a JobConfiguration * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the JobConfiguration we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__JobConfigurationClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of JobConfigurations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {JobConfigurationCountArgs} args - Arguments to filter JobConfigurations to count. * @example * // Count the number of JobConfigurations * const count = await prisma.jobConfiguration.count({ * where: { * // ... the filter for the JobConfigurations 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 JobConfiguration. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {JobConfigurationAggregateArgs} 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 JobConfiguration. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {JobConfigurationGroupByArgs} 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 JobConfigurationGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: JobConfigurationGroupByArgs['orderBy'] } : { orderBy?: JobConfigurationGroupByArgs['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 ? GetJobConfigurationGroupByPayload : Prisma.PrismaPromise /** * Fields of the JobConfiguration model */ readonly fields: JobConfigurationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for JobConfiguration. * 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__JobConfigurationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> evalTemplate = {}>(args?: Subset>): Prisma__EvalTemplateClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> JobExecution = {}>(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 JobConfiguration model */ interface JobConfigurationFieldRefs { readonly id: FieldRef<"JobConfiguration", 'String'> readonly createdAt: FieldRef<"JobConfiguration", 'DateTime'> readonly updatedAt: FieldRef<"JobConfiguration", 'DateTime'> readonly projectId: FieldRef<"JobConfiguration", 'String'> readonly jobType: FieldRef<"JobConfiguration", 'JobType'> readonly status: FieldRef<"JobConfiguration", 'JobConfigState'> readonly evalTemplateId: FieldRef<"JobConfiguration", 'String'> readonly scoreName: FieldRef<"JobConfiguration", 'String'> readonly filter: FieldRef<"JobConfiguration", 'Json'> readonly targetObject: FieldRef<"JobConfiguration", 'String'> readonly variableMapping: FieldRef<"JobConfiguration", 'Json'> readonly sampling: FieldRef<"JobConfiguration", 'Decimal'> readonly delay: FieldRef<"JobConfiguration", 'Int'> readonly timeScope: FieldRef<"JobConfiguration", 'String[]'> } // Custom InputTypes /** * JobConfiguration findUnique */ export type JobConfigurationFindUniqueArgs = { /** * Select specific fields to fetch from the JobConfiguration */ select?: JobConfigurationSelect | null /** * Omit specific fields from the JobConfiguration */ omit?: JobConfigurationOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobConfigurationInclude | null /** * Filter, which JobConfiguration to fetch. */ where: JobConfigurationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * JobConfiguration findUniqueOrThrow */ export type JobConfigurationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the JobConfiguration */ select?: JobConfigurationSelect | null /** * Omit specific fields from the JobConfiguration */ omit?: JobConfigurationOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobConfigurationInclude | null /** * Filter, which JobConfiguration to fetch. */ where: JobConfigurationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * JobConfiguration findFirst */ export type JobConfigurationFindFirstArgs = { /** * Select specific fields to fetch from the JobConfiguration */ select?: JobConfigurationSelect | null /** * Omit specific fields from the JobConfiguration */ omit?: JobConfigurationOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobConfigurationInclude | null /** * Filter, which JobConfiguration to fetch. */ where?: JobConfigurationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of JobConfigurations to fetch. */ orderBy?: JobConfigurationOrderByWithRelationInput | JobConfigurationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for JobConfigurations. */ cursor?: JobConfigurationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` JobConfigurations 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` JobConfigurations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of JobConfigurations. */ distinct?: JobConfigurationScalarFieldEnum | JobConfigurationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * JobConfiguration findFirstOrThrow */ export type JobConfigurationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the JobConfiguration */ select?: JobConfigurationSelect | null /** * Omit specific fields from the JobConfiguration */ omit?: JobConfigurationOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobConfigurationInclude | null /** * Filter, which JobConfiguration to fetch. */ where?: JobConfigurationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of JobConfigurations to fetch. */ orderBy?: JobConfigurationOrderByWithRelationInput | JobConfigurationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for JobConfigurations. */ cursor?: JobConfigurationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` JobConfigurations 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` JobConfigurations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of JobConfigurations. */ distinct?: JobConfigurationScalarFieldEnum | JobConfigurationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * JobConfiguration findMany */ export type JobConfigurationFindManyArgs = { /** * Select specific fields to fetch from the JobConfiguration */ select?: JobConfigurationSelect | null /** * Omit specific fields from the JobConfiguration */ omit?: JobConfigurationOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobConfigurationInclude | null /** * Filter, which JobConfigurations to fetch. */ where?: JobConfigurationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of JobConfigurations to fetch. */ orderBy?: JobConfigurationOrderByWithRelationInput | JobConfigurationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing JobConfigurations. */ cursor?: JobConfigurationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` JobConfigurations 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` JobConfigurations. */ skip?: number distinct?: JobConfigurationScalarFieldEnum | JobConfigurationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * JobConfiguration create */ export type JobConfigurationCreateArgs = { /** * Select specific fields to fetch from the JobConfiguration */ select?: JobConfigurationSelect | null /** * Omit specific fields from the JobConfiguration */ omit?: JobConfigurationOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobConfigurationInclude | null /** * The data needed to create a JobConfiguration. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * JobConfiguration createMany */ export type JobConfigurationCreateManyArgs = { /** * The data used to create many JobConfigurations. */ data: JobConfigurationCreateManyInput | JobConfigurationCreateManyInput[] skipDuplicates?: boolean } /** * JobConfiguration createManyAndReturn */ export type JobConfigurationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the JobConfiguration */ select?: JobConfigurationSelectCreateManyAndReturn | null /** * Omit specific fields from the JobConfiguration */ omit?: JobConfigurationOmit | null /** * The data used to create many JobConfigurations. */ data: JobConfigurationCreateManyInput | JobConfigurationCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: JobConfigurationIncludeCreateManyAndReturn | null } /** * JobConfiguration update */ export type JobConfigurationUpdateArgs = { /** * Select specific fields to fetch from the JobConfiguration */ select?: JobConfigurationSelect | null /** * Omit specific fields from the JobConfiguration */ omit?: JobConfigurationOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobConfigurationInclude | null /** * The data needed to update a JobConfiguration. */ data: XOR /** * Choose, which JobConfiguration to update. */ where: JobConfigurationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * JobConfiguration updateMany */ export type JobConfigurationUpdateManyArgs = { /** * The data used to update JobConfigurations. */ data: XOR /** * Filter which JobConfigurations to update */ where?: JobConfigurationWhereInput /** * Limit how many JobConfigurations to update. */ limit?: number } /** * JobConfiguration updateManyAndReturn */ export type JobConfigurationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the JobConfiguration */ select?: JobConfigurationSelectUpdateManyAndReturn | null /** * Omit specific fields from the JobConfiguration */ omit?: JobConfigurationOmit | null /** * The data used to update JobConfigurations. */ data: XOR /** * Filter which JobConfigurations to update */ where?: JobConfigurationWhereInput /** * Limit how many JobConfigurations to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: JobConfigurationIncludeUpdateManyAndReturn | null } /** * JobConfiguration upsert */ export type JobConfigurationUpsertArgs = { /** * Select specific fields to fetch from the JobConfiguration */ select?: JobConfigurationSelect | null /** * Omit specific fields from the JobConfiguration */ omit?: JobConfigurationOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobConfigurationInclude | null /** * The filter to search for the JobConfiguration to update in case it exists. */ where: JobConfigurationWhereUniqueInput /** * In case the JobConfiguration found by the `where` argument doesn't exist, create a new JobConfiguration with this data. */ create: XOR /** * In case the JobConfiguration was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * JobConfiguration delete */ export type JobConfigurationDeleteArgs = { /** * Select specific fields to fetch from the JobConfiguration */ select?: JobConfigurationSelect | null /** * Omit specific fields from the JobConfiguration */ omit?: JobConfigurationOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobConfigurationInclude | null /** * Filter which JobConfiguration to delete. */ where: JobConfigurationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * JobConfiguration deleteMany */ export type JobConfigurationDeleteManyArgs = { /** * Filter which JobConfigurations to delete */ where?: JobConfigurationWhereInput /** * Limit how many JobConfigurations to delete. */ limit?: number } /** * JobConfiguration.evalTemplate */ export type JobConfiguration$evalTemplateArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelect | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateInclude | null where?: EvalTemplateWhereInput } /** * JobConfiguration.JobExecution */ export type JobConfiguration$JobExecutionArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelect | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobExecutionInclude | null where?: JobExecutionWhereInput orderBy?: JobExecutionOrderByWithRelationInput | JobExecutionOrderByWithRelationInput[] cursor?: JobExecutionWhereUniqueInput take?: number skip?: number distinct?: JobExecutionScalarFieldEnum | JobExecutionScalarFieldEnum[] } /** * JobConfiguration without action */ export type JobConfigurationDefaultArgs = { /** * Select specific fields to fetch from the JobConfiguration */ select?: JobConfigurationSelect | null /** * Omit specific fields from the JobConfiguration */ omit?: JobConfigurationOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobConfigurationInclude | null } /** * Model JobExecution */ export type AggregateJobExecution = { _count: JobExecutionCountAggregateOutputType | null _min: JobExecutionMinAggregateOutputType | null _max: JobExecutionMaxAggregateOutputType | null } export type JobExecutionMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null jobConfigurationId: string | null jobTemplateId: string | null status: $Enums.JobExecutionStatus | null startTime: Date | null endTime: Date | null error: string | null jobInputTraceId: string | null jobInputTraceTimestamp: Date | null jobInputObservationId: string | null jobInputDatasetItemId: string | null jobOutputScoreId: string | null } export type JobExecutionMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null jobConfigurationId: string | null jobTemplateId: string | null status: $Enums.JobExecutionStatus | null startTime: Date | null endTime: Date | null error: string | null jobInputTraceId: string | null jobInputTraceTimestamp: Date | null jobInputObservationId: string | null jobInputDatasetItemId: string | null jobOutputScoreId: string | null } export type JobExecutionCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number jobConfigurationId: number jobTemplateId: number status: number startTime: number endTime: number error: number jobInputTraceId: number jobInputTraceTimestamp: number jobInputObservationId: number jobInputDatasetItemId: number jobOutputScoreId: number _all: number } export type JobExecutionMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true jobConfigurationId?: true jobTemplateId?: true status?: true startTime?: true endTime?: true error?: true jobInputTraceId?: true jobInputTraceTimestamp?: true jobInputObservationId?: true jobInputDatasetItemId?: true jobOutputScoreId?: true } export type JobExecutionMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true jobConfigurationId?: true jobTemplateId?: true status?: true startTime?: true endTime?: true error?: true jobInputTraceId?: true jobInputTraceTimestamp?: true jobInputObservationId?: true jobInputDatasetItemId?: true jobOutputScoreId?: true } export type JobExecutionCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true jobConfigurationId?: true jobTemplateId?: true status?: true startTime?: true endTime?: true error?: true jobInputTraceId?: true jobInputTraceTimestamp?: true jobInputObservationId?: true jobInputDatasetItemId?: true jobOutputScoreId?: true _all?: true } export type JobExecutionAggregateArgs = { /** * Filter which JobExecution to aggregate. */ where?: JobExecutionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of JobExecutions to fetch. */ orderBy?: JobExecutionOrderByWithRelationInput | JobExecutionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: JobExecutionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` JobExecutions 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` JobExecutions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned JobExecutions **/ _count?: true | JobExecutionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: JobExecutionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: JobExecutionMaxAggregateInputType } export type GetJobExecutionAggregateType = { [P in keyof T & keyof AggregateJobExecution]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type JobExecutionGroupByArgs = { where?: JobExecutionWhereInput orderBy?: JobExecutionOrderByWithAggregationInput | JobExecutionOrderByWithAggregationInput[] by: JobExecutionScalarFieldEnum[] | JobExecutionScalarFieldEnum having?: JobExecutionScalarWhereWithAggregatesInput take?: number skip?: number _count?: JobExecutionCountAggregateInputType | true _min?: JobExecutionMinAggregateInputType _max?: JobExecutionMaxAggregateInputType } export type JobExecutionGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string jobConfigurationId: string jobTemplateId: string | null status: $Enums.JobExecutionStatus startTime: Date | null endTime: Date | null error: string | null jobInputTraceId: string | null jobInputTraceTimestamp: Date | null jobInputObservationId: string | null jobInputDatasetItemId: string | null jobOutputScoreId: string | null _count: JobExecutionCountAggregateOutputType | null _min: JobExecutionMinAggregateOutputType | null _max: JobExecutionMaxAggregateOutputType | null } type GetJobExecutionGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof JobExecutionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type JobExecutionSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean jobConfigurationId?: boolean jobTemplateId?: boolean status?: boolean startTime?: boolean endTime?: boolean error?: boolean jobInputTraceId?: boolean jobInputTraceTimestamp?: boolean jobInputObservationId?: boolean jobInputDatasetItemId?: boolean jobOutputScoreId?: boolean project?: boolean | ProjectDefaultArgs jobConfiguration?: boolean | JobConfigurationDefaultArgs jobTemplate?: boolean | JobExecution$jobTemplateArgs }, ExtArgs["result"]["jobExecution"]> export type JobExecutionSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean jobConfigurationId?: boolean jobTemplateId?: boolean status?: boolean startTime?: boolean endTime?: boolean error?: boolean jobInputTraceId?: boolean jobInputTraceTimestamp?: boolean jobInputObservationId?: boolean jobInputDatasetItemId?: boolean jobOutputScoreId?: boolean project?: boolean | ProjectDefaultArgs jobConfiguration?: boolean | JobConfigurationDefaultArgs jobTemplate?: boolean | JobExecution$jobTemplateArgs }, ExtArgs["result"]["jobExecution"]> export type JobExecutionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean jobConfigurationId?: boolean jobTemplateId?: boolean status?: boolean startTime?: boolean endTime?: boolean error?: boolean jobInputTraceId?: boolean jobInputTraceTimestamp?: boolean jobInputObservationId?: boolean jobInputDatasetItemId?: boolean jobOutputScoreId?: boolean project?: boolean | ProjectDefaultArgs jobConfiguration?: boolean | JobConfigurationDefaultArgs jobTemplate?: boolean | JobExecution$jobTemplateArgs }, ExtArgs["result"]["jobExecution"]> export type JobExecutionSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean jobConfigurationId?: boolean jobTemplateId?: boolean status?: boolean startTime?: boolean endTime?: boolean error?: boolean jobInputTraceId?: boolean jobInputTraceTimestamp?: boolean jobInputObservationId?: boolean jobInputDatasetItemId?: boolean jobOutputScoreId?: boolean } export type JobExecutionOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "jobConfigurationId" | "jobTemplateId" | "status" | "startTime" | "endTime" | "error" | "jobInputTraceId" | "jobInputTraceTimestamp" | "jobInputObservationId" | "jobInputDatasetItemId" | "jobOutputScoreId", ExtArgs["result"]["jobExecution"]> export type JobExecutionInclude = { project?: boolean | ProjectDefaultArgs jobConfiguration?: boolean | JobConfigurationDefaultArgs jobTemplate?: boolean | JobExecution$jobTemplateArgs } export type JobExecutionIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs jobConfiguration?: boolean | JobConfigurationDefaultArgs jobTemplate?: boolean | JobExecution$jobTemplateArgs } export type JobExecutionIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs jobConfiguration?: boolean | JobConfigurationDefaultArgs jobTemplate?: boolean | JobExecution$jobTemplateArgs } export type $JobExecutionPayload = { name: "JobExecution" objects: { project: Prisma.$ProjectPayload jobConfiguration: Prisma.$JobConfigurationPayload jobTemplate: Prisma.$EvalTemplatePayload | null } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string jobConfigurationId: string jobTemplateId: string | null status: $Enums.JobExecutionStatus startTime: Date | null endTime: Date | null error: string | null jobInputTraceId: string | null jobInputTraceTimestamp: Date | null jobInputObservationId: string | null jobInputDatasetItemId: string | null jobOutputScoreId: string | null }, ExtArgs["result"]["jobExecution"]> composites: {} } type JobExecutionGetPayload = $Result.GetResult type JobExecutionCountArgs = Omit & { select?: JobExecutionCountAggregateInputType | true } export interface JobExecutionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['JobExecution'], meta: { name: 'JobExecution' } } /** * Find zero or one JobExecution that matches the filter. * @param {JobExecutionFindUniqueArgs} args - Arguments to find a JobExecution * @example * // Get one JobExecution * const jobExecution = await prisma.jobExecution.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__JobExecutionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one JobExecution that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {JobExecutionFindUniqueOrThrowArgs} args - Arguments to find a JobExecution * @example * // Get one JobExecution * const jobExecution = await prisma.jobExecution.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__JobExecutionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first JobExecution 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 {JobExecutionFindFirstArgs} args - Arguments to find a JobExecution * @example * // Get one JobExecution * const jobExecution = await prisma.jobExecution.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__JobExecutionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first JobExecution 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 {JobExecutionFindFirstOrThrowArgs} args - Arguments to find a JobExecution * @example * // Get one JobExecution * const jobExecution = await prisma.jobExecution.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__JobExecutionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more JobExecutions 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 {JobExecutionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all JobExecutions * const jobExecutions = await prisma.jobExecution.findMany() * * // Get first 10 JobExecutions * const jobExecutions = await prisma.jobExecution.findMany({ take: 10 }) * * // Only select the `id` * const jobExecutionWithIdOnly = await prisma.jobExecution.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a JobExecution. * @param {JobExecutionCreateArgs} args - Arguments to create a JobExecution. * @example * // Create one JobExecution * const JobExecution = await prisma.jobExecution.create({ * data: { * // ... data to create a JobExecution * } * }) * */ create(args: SelectSubset>): Prisma__JobExecutionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many JobExecutions. * @param {JobExecutionCreateManyArgs} args - Arguments to create many JobExecutions. * @example * // Create many JobExecutions * const jobExecution = await prisma.jobExecution.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many JobExecutions and returns the data saved in the database. * @param {JobExecutionCreateManyAndReturnArgs} args - Arguments to create many JobExecutions. * @example * // Create many JobExecutions * const jobExecution = await prisma.jobExecution.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many JobExecutions and only return the `id` * const jobExecutionWithIdOnly = await prisma.jobExecution.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 JobExecution. * @param {JobExecutionDeleteArgs} args - Arguments to delete one JobExecution. * @example * // Delete one JobExecution * const JobExecution = await prisma.jobExecution.delete({ * where: { * // ... filter to delete one JobExecution * } * }) * */ delete(args: SelectSubset>): Prisma__JobExecutionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one JobExecution. * @param {JobExecutionUpdateArgs} args - Arguments to update one JobExecution. * @example * // Update one JobExecution * const jobExecution = await prisma.jobExecution.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__JobExecutionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more JobExecutions. * @param {JobExecutionDeleteManyArgs} args - Arguments to filter JobExecutions to delete. * @example * // Delete a few JobExecutions * const { count } = await prisma.jobExecution.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more JobExecutions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {JobExecutionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many JobExecutions * const jobExecution = await prisma.jobExecution.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more JobExecutions and returns the data updated in the database. * @param {JobExecutionUpdateManyAndReturnArgs} args - Arguments to update many JobExecutions. * @example * // Update many JobExecutions * const jobExecution = await prisma.jobExecution.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more JobExecutions and only return the `id` * const jobExecutionWithIdOnly = await prisma.jobExecution.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 JobExecution. * @param {JobExecutionUpsertArgs} args - Arguments to update or create a JobExecution. * @example * // Update or create a JobExecution * const jobExecution = await prisma.jobExecution.upsert({ * create: { * // ... data to create a JobExecution * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the JobExecution we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__JobExecutionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of JobExecutions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {JobExecutionCountArgs} args - Arguments to filter JobExecutions to count. * @example * // Count the number of JobExecutions * const count = await prisma.jobExecution.count({ * where: { * // ... the filter for the JobExecutions 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 JobExecution. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {JobExecutionAggregateArgs} 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 JobExecution. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {JobExecutionGroupByArgs} 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 JobExecutionGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: JobExecutionGroupByArgs['orderBy'] } : { orderBy?: JobExecutionGroupByArgs['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 ? GetJobExecutionGroupByPayload : Prisma.PrismaPromise /** * Fields of the JobExecution model */ readonly fields: JobExecutionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for JobExecution. * 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__JobExecutionClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> jobConfiguration = {}>(args?: Subset>): Prisma__JobConfigurationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> jobTemplate = {}>(args?: Subset>): Prisma__EvalTemplateClient<$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 JobExecution model */ interface JobExecutionFieldRefs { readonly id: FieldRef<"JobExecution", 'String'> readonly createdAt: FieldRef<"JobExecution", 'DateTime'> readonly updatedAt: FieldRef<"JobExecution", 'DateTime'> readonly projectId: FieldRef<"JobExecution", 'String'> readonly jobConfigurationId: FieldRef<"JobExecution", 'String'> readonly jobTemplateId: FieldRef<"JobExecution", 'String'> readonly status: FieldRef<"JobExecution", 'JobExecutionStatus'> readonly startTime: FieldRef<"JobExecution", 'DateTime'> readonly endTime: FieldRef<"JobExecution", 'DateTime'> readonly error: FieldRef<"JobExecution", 'String'> readonly jobInputTraceId: FieldRef<"JobExecution", 'String'> readonly jobInputTraceTimestamp: FieldRef<"JobExecution", 'DateTime'> readonly jobInputObservationId: FieldRef<"JobExecution", 'String'> readonly jobInputDatasetItemId: FieldRef<"JobExecution", 'String'> readonly jobOutputScoreId: FieldRef<"JobExecution", 'String'> } // Custom InputTypes /** * JobExecution findUnique */ export type JobExecutionFindUniqueArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelect | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobExecutionInclude | null /** * Filter, which JobExecution to fetch. */ where: JobExecutionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * JobExecution findUniqueOrThrow */ export type JobExecutionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelect | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobExecutionInclude | null /** * Filter, which JobExecution to fetch. */ where: JobExecutionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * JobExecution findFirst */ export type JobExecutionFindFirstArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelect | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobExecutionInclude | null /** * Filter, which JobExecution to fetch. */ where?: JobExecutionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of JobExecutions to fetch. */ orderBy?: JobExecutionOrderByWithRelationInput | JobExecutionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for JobExecutions. */ cursor?: JobExecutionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` JobExecutions 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` JobExecutions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of JobExecutions. */ distinct?: JobExecutionScalarFieldEnum | JobExecutionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * JobExecution findFirstOrThrow */ export type JobExecutionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelect | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobExecutionInclude | null /** * Filter, which JobExecution to fetch. */ where?: JobExecutionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of JobExecutions to fetch. */ orderBy?: JobExecutionOrderByWithRelationInput | JobExecutionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for JobExecutions. */ cursor?: JobExecutionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` JobExecutions 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` JobExecutions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of JobExecutions. */ distinct?: JobExecutionScalarFieldEnum | JobExecutionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * JobExecution findMany */ export type JobExecutionFindManyArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelect | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobExecutionInclude | null /** * Filter, which JobExecutions to fetch. */ where?: JobExecutionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of JobExecutions to fetch. */ orderBy?: JobExecutionOrderByWithRelationInput | JobExecutionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing JobExecutions. */ cursor?: JobExecutionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` JobExecutions 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` JobExecutions. */ skip?: number distinct?: JobExecutionScalarFieldEnum | JobExecutionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * JobExecution create */ export type JobExecutionCreateArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelect | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobExecutionInclude | null /** * The data needed to create a JobExecution. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * JobExecution createMany */ export type JobExecutionCreateManyArgs = { /** * The data used to create many JobExecutions. */ data: JobExecutionCreateManyInput | JobExecutionCreateManyInput[] skipDuplicates?: boolean } /** * JobExecution createManyAndReturn */ export type JobExecutionCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelectCreateManyAndReturn | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * The data used to create many JobExecutions. */ data: JobExecutionCreateManyInput | JobExecutionCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: JobExecutionIncludeCreateManyAndReturn | null } /** * JobExecution update */ export type JobExecutionUpdateArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelect | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobExecutionInclude | null /** * The data needed to update a JobExecution. */ data: XOR /** * Choose, which JobExecution to update. */ where: JobExecutionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * JobExecution updateMany */ export type JobExecutionUpdateManyArgs = { /** * The data used to update JobExecutions. */ data: XOR /** * Filter which JobExecutions to update */ where?: JobExecutionWhereInput /** * Limit how many JobExecutions to update. */ limit?: number } /** * JobExecution updateManyAndReturn */ export type JobExecutionUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelectUpdateManyAndReturn | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * The data used to update JobExecutions. */ data: XOR /** * Filter which JobExecutions to update */ where?: JobExecutionWhereInput /** * Limit how many JobExecutions to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: JobExecutionIncludeUpdateManyAndReturn | null } /** * JobExecution upsert */ export type JobExecutionUpsertArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelect | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobExecutionInclude | null /** * The filter to search for the JobExecution to update in case it exists. */ where: JobExecutionWhereUniqueInput /** * In case the JobExecution found by the `where` argument doesn't exist, create a new JobExecution with this data. */ create: XOR /** * In case the JobExecution was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * JobExecution delete */ export type JobExecutionDeleteArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelect | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobExecutionInclude | null /** * Filter which JobExecution to delete. */ where: JobExecutionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * JobExecution deleteMany */ export type JobExecutionDeleteManyArgs = { /** * Filter which JobExecutions to delete */ where?: JobExecutionWhereInput /** * Limit how many JobExecutions to delete. */ limit?: number } /** * JobExecution.jobTemplate */ export type JobExecution$jobTemplateArgs = { /** * Select specific fields to fetch from the EvalTemplate */ select?: EvalTemplateSelect | null /** * Omit specific fields from the EvalTemplate */ omit?: EvalTemplateOmit | null /** * Choose, which related nodes to fetch as well */ include?: EvalTemplateInclude | null where?: EvalTemplateWhereInput } /** * JobExecution without action */ export type JobExecutionDefaultArgs = { /** * Select specific fields to fetch from the JobExecution */ select?: JobExecutionSelect | null /** * Omit specific fields from the JobExecution */ omit?: JobExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: JobExecutionInclude | null } /** * Model DefaultLlmModel */ export type AggregateDefaultLlmModel = { _count: DefaultLlmModelCountAggregateOutputType | null _min: DefaultLlmModelMinAggregateOutputType | null _max: DefaultLlmModelMaxAggregateOutputType | null } export type DefaultLlmModelMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null llmApiKeyId: string | null provider: string | null adapter: string | null model: string | null } export type DefaultLlmModelMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null llmApiKeyId: string | null provider: string | null adapter: string | null model: string | null } export type DefaultLlmModelCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number llmApiKeyId: number provider: number adapter: number model: number modelParams: number _all: number } export type DefaultLlmModelMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true llmApiKeyId?: true provider?: true adapter?: true model?: true } export type DefaultLlmModelMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true llmApiKeyId?: true provider?: true adapter?: true model?: true } export type DefaultLlmModelCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true llmApiKeyId?: true provider?: true adapter?: true model?: true modelParams?: true _all?: true } export type DefaultLlmModelAggregateArgs = { /** * Filter which DefaultLlmModel to aggregate. */ where?: DefaultLlmModelWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DefaultLlmModels to fetch. */ orderBy?: DefaultLlmModelOrderByWithRelationInput | DefaultLlmModelOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: DefaultLlmModelWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DefaultLlmModels 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` DefaultLlmModels. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned DefaultLlmModels **/ _count?: true | DefaultLlmModelCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: DefaultLlmModelMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: DefaultLlmModelMaxAggregateInputType } export type GetDefaultLlmModelAggregateType = { [P in keyof T & keyof AggregateDefaultLlmModel]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type DefaultLlmModelGroupByArgs = { where?: DefaultLlmModelWhereInput orderBy?: DefaultLlmModelOrderByWithAggregationInput | DefaultLlmModelOrderByWithAggregationInput[] by: DefaultLlmModelScalarFieldEnum[] | DefaultLlmModelScalarFieldEnum having?: DefaultLlmModelScalarWhereWithAggregatesInput take?: number skip?: number _count?: DefaultLlmModelCountAggregateInputType | true _min?: DefaultLlmModelMinAggregateInputType _max?: DefaultLlmModelMaxAggregateInputType } export type DefaultLlmModelGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string llmApiKeyId: string provider: string adapter: string model: string modelParams: JsonValue | null _count: DefaultLlmModelCountAggregateOutputType | null _min: DefaultLlmModelMinAggregateOutputType | null _max: DefaultLlmModelMaxAggregateOutputType | null } type GetDefaultLlmModelGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof DefaultLlmModelGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type DefaultLlmModelSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean llmApiKeyId?: boolean provider?: boolean adapter?: boolean model?: boolean modelParams?: boolean Project?: boolean | ProjectDefaultArgs LlmApiKey?: boolean | LlmApiKeysDefaultArgs }, ExtArgs["result"]["defaultLlmModel"]> export type DefaultLlmModelSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean llmApiKeyId?: boolean provider?: boolean adapter?: boolean model?: boolean modelParams?: boolean Project?: boolean | ProjectDefaultArgs LlmApiKey?: boolean | LlmApiKeysDefaultArgs }, ExtArgs["result"]["defaultLlmModel"]> export type DefaultLlmModelSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean llmApiKeyId?: boolean provider?: boolean adapter?: boolean model?: boolean modelParams?: boolean Project?: boolean | ProjectDefaultArgs LlmApiKey?: boolean | LlmApiKeysDefaultArgs }, ExtArgs["result"]["defaultLlmModel"]> export type DefaultLlmModelSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean llmApiKeyId?: boolean provider?: boolean adapter?: boolean model?: boolean modelParams?: boolean } export type DefaultLlmModelOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "llmApiKeyId" | "provider" | "adapter" | "model" | "modelParams", ExtArgs["result"]["defaultLlmModel"]> export type DefaultLlmModelInclude = { Project?: boolean | ProjectDefaultArgs LlmApiKey?: boolean | LlmApiKeysDefaultArgs } export type DefaultLlmModelIncludeCreateManyAndReturn = { Project?: boolean | ProjectDefaultArgs LlmApiKey?: boolean | LlmApiKeysDefaultArgs } export type DefaultLlmModelIncludeUpdateManyAndReturn = { Project?: boolean | ProjectDefaultArgs LlmApiKey?: boolean | LlmApiKeysDefaultArgs } export type $DefaultLlmModelPayload = { name: "DefaultLlmModel" objects: { Project: Prisma.$ProjectPayload LlmApiKey: Prisma.$LlmApiKeysPayload } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string llmApiKeyId: string provider: string adapter: string model: string modelParams: Prisma.JsonValue | null }, ExtArgs["result"]["defaultLlmModel"]> composites: {} } type DefaultLlmModelGetPayload = $Result.GetResult type DefaultLlmModelCountArgs = Omit & { select?: DefaultLlmModelCountAggregateInputType | true } export interface DefaultLlmModelDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['DefaultLlmModel'], meta: { name: 'DefaultLlmModel' } } /** * Find zero or one DefaultLlmModel that matches the filter. * @param {DefaultLlmModelFindUniqueArgs} args - Arguments to find a DefaultLlmModel * @example * // Get one DefaultLlmModel * const defaultLlmModel = await prisma.defaultLlmModel.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__DefaultLlmModelClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one DefaultLlmModel that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {DefaultLlmModelFindUniqueOrThrowArgs} args - Arguments to find a DefaultLlmModel * @example * // Get one DefaultLlmModel * const defaultLlmModel = await prisma.defaultLlmModel.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__DefaultLlmModelClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first DefaultLlmModel 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 {DefaultLlmModelFindFirstArgs} args - Arguments to find a DefaultLlmModel * @example * // Get one DefaultLlmModel * const defaultLlmModel = await prisma.defaultLlmModel.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__DefaultLlmModelClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first DefaultLlmModel 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 {DefaultLlmModelFindFirstOrThrowArgs} args - Arguments to find a DefaultLlmModel * @example * // Get one DefaultLlmModel * const defaultLlmModel = await prisma.defaultLlmModel.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__DefaultLlmModelClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more DefaultLlmModels 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 {DefaultLlmModelFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all DefaultLlmModels * const defaultLlmModels = await prisma.defaultLlmModel.findMany() * * // Get first 10 DefaultLlmModels * const defaultLlmModels = await prisma.defaultLlmModel.findMany({ take: 10 }) * * // Only select the `id` * const defaultLlmModelWithIdOnly = await prisma.defaultLlmModel.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a DefaultLlmModel. * @param {DefaultLlmModelCreateArgs} args - Arguments to create a DefaultLlmModel. * @example * // Create one DefaultLlmModel * const DefaultLlmModel = await prisma.defaultLlmModel.create({ * data: { * // ... data to create a DefaultLlmModel * } * }) * */ create(args: SelectSubset>): Prisma__DefaultLlmModelClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many DefaultLlmModels. * @param {DefaultLlmModelCreateManyArgs} args - Arguments to create many DefaultLlmModels. * @example * // Create many DefaultLlmModels * const defaultLlmModel = await prisma.defaultLlmModel.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many DefaultLlmModels and returns the data saved in the database. * @param {DefaultLlmModelCreateManyAndReturnArgs} args - Arguments to create many DefaultLlmModels. * @example * // Create many DefaultLlmModels * const defaultLlmModel = await prisma.defaultLlmModel.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many DefaultLlmModels and only return the `id` * const defaultLlmModelWithIdOnly = await prisma.defaultLlmModel.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 DefaultLlmModel. * @param {DefaultLlmModelDeleteArgs} args - Arguments to delete one DefaultLlmModel. * @example * // Delete one DefaultLlmModel * const DefaultLlmModel = await prisma.defaultLlmModel.delete({ * where: { * // ... filter to delete one DefaultLlmModel * } * }) * */ delete(args: SelectSubset>): Prisma__DefaultLlmModelClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one DefaultLlmModel. * @param {DefaultLlmModelUpdateArgs} args - Arguments to update one DefaultLlmModel. * @example * // Update one DefaultLlmModel * const defaultLlmModel = await prisma.defaultLlmModel.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__DefaultLlmModelClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more DefaultLlmModels. * @param {DefaultLlmModelDeleteManyArgs} args - Arguments to filter DefaultLlmModels to delete. * @example * // Delete a few DefaultLlmModels * const { count } = await prisma.defaultLlmModel.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DefaultLlmModels. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DefaultLlmModelUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many DefaultLlmModels * const defaultLlmModel = await prisma.defaultLlmModel.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DefaultLlmModels and returns the data updated in the database. * @param {DefaultLlmModelUpdateManyAndReturnArgs} args - Arguments to update many DefaultLlmModels. * @example * // Update many DefaultLlmModels * const defaultLlmModel = await prisma.defaultLlmModel.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more DefaultLlmModels and only return the `id` * const defaultLlmModelWithIdOnly = await prisma.defaultLlmModel.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 DefaultLlmModel. * @param {DefaultLlmModelUpsertArgs} args - Arguments to update or create a DefaultLlmModel. * @example * // Update or create a DefaultLlmModel * const defaultLlmModel = await prisma.defaultLlmModel.upsert({ * create: { * // ... data to create a DefaultLlmModel * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the DefaultLlmModel we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__DefaultLlmModelClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of DefaultLlmModels. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DefaultLlmModelCountArgs} args - Arguments to filter DefaultLlmModels to count. * @example * // Count the number of DefaultLlmModels * const count = await prisma.defaultLlmModel.count({ * where: { * // ... the filter for the DefaultLlmModels 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 DefaultLlmModel. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DefaultLlmModelAggregateArgs} 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 DefaultLlmModel. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DefaultLlmModelGroupByArgs} 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 DefaultLlmModelGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: DefaultLlmModelGroupByArgs['orderBy'] } : { orderBy?: DefaultLlmModelGroupByArgs['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 ? GetDefaultLlmModelGroupByPayload : Prisma.PrismaPromise /** * Fields of the DefaultLlmModel model */ readonly fields: DefaultLlmModelFieldRefs; } /** * The delegate class that acts as a "Promise-like" for DefaultLlmModel. * 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__DefaultLlmModelClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" Project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> LlmApiKey = {}>(args?: Subset>): Prisma__LlmApiKeysClient<$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 DefaultLlmModel model */ interface DefaultLlmModelFieldRefs { readonly id: FieldRef<"DefaultLlmModel", 'String'> readonly createdAt: FieldRef<"DefaultLlmModel", 'DateTime'> readonly updatedAt: FieldRef<"DefaultLlmModel", 'DateTime'> readonly projectId: FieldRef<"DefaultLlmModel", 'String'> readonly llmApiKeyId: FieldRef<"DefaultLlmModel", 'String'> readonly provider: FieldRef<"DefaultLlmModel", 'String'> readonly adapter: FieldRef<"DefaultLlmModel", 'String'> readonly model: FieldRef<"DefaultLlmModel", 'String'> readonly modelParams: FieldRef<"DefaultLlmModel", 'Json'> } // Custom InputTypes /** * DefaultLlmModel findUnique */ export type DefaultLlmModelFindUniqueArgs = { /** * Select specific fields to fetch from the DefaultLlmModel */ select?: DefaultLlmModelSelect | null /** * Omit specific fields from the DefaultLlmModel */ omit?: DefaultLlmModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: DefaultLlmModelInclude | null /** * Filter, which DefaultLlmModel to fetch. */ where: DefaultLlmModelWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DefaultLlmModel findUniqueOrThrow */ export type DefaultLlmModelFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the DefaultLlmModel */ select?: DefaultLlmModelSelect | null /** * Omit specific fields from the DefaultLlmModel */ omit?: DefaultLlmModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: DefaultLlmModelInclude | null /** * Filter, which DefaultLlmModel to fetch. */ where: DefaultLlmModelWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DefaultLlmModel findFirst */ export type DefaultLlmModelFindFirstArgs = { /** * Select specific fields to fetch from the DefaultLlmModel */ select?: DefaultLlmModelSelect | null /** * Omit specific fields from the DefaultLlmModel */ omit?: DefaultLlmModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: DefaultLlmModelInclude | null /** * Filter, which DefaultLlmModel to fetch. */ where?: DefaultLlmModelWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DefaultLlmModels to fetch. */ orderBy?: DefaultLlmModelOrderByWithRelationInput | DefaultLlmModelOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DefaultLlmModels. */ cursor?: DefaultLlmModelWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DefaultLlmModels 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` DefaultLlmModels. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DefaultLlmModels. */ distinct?: DefaultLlmModelScalarFieldEnum | DefaultLlmModelScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DefaultLlmModel findFirstOrThrow */ export type DefaultLlmModelFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the DefaultLlmModel */ select?: DefaultLlmModelSelect | null /** * Omit specific fields from the DefaultLlmModel */ omit?: DefaultLlmModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: DefaultLlmModelInclude | null /** * Filter, which DefaultLlmModel to fetch. */ where?: DefaultLlmModelWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DefaultLlmModels to fetch. */ orderBy?: DefaultLlmModelOrderByWithRelationInput | DefaultLlmModelOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DefaultLlmModels. */ cursor?: DefaultLlmModelWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DefaultLlmModels 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` DefaultLlmModels. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DefaultLlmModels. */ distinct?: DefaultLlmModelScalarFieldEnum | DefaultLlmModelScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DefaultLlmModel findMany */ export type DefaultLlmModelFindManyArgs = { /** * Select specific fields to fetch from the DefaultLlmModel */ select?: DefaultLlmModelSelect | null /** * Omit specific fields from the DefaultLlmModel */ omit?: DefaultLlmModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: DefaultLlmModelInclude | null /** * Filter, which DefaultLlmModels to fetch. */ where?: DefaultLlmModelWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DefaultLlmModels to fetch. */ orderBy?: DefaultLlmModelOrderByWithRelationInput | DefaultLlmModelOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing DefaultLlmModels. */ cursor?: DefaultLlmModelWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DefaultLlmModels 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` DefaultLlmModels. */ skip?: number distinct?: DefaultLlmModelScalarFieldEnum | DefaultLlmModelScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DefaultLlmModel create */ export type DefaultLlmModelCreateArgs = { /** * Select specific fields to fetch from the DefaultLlmModel */ select?: DefaultLlmModelSelect | null /** * Omit specific fields from the DefaultLlmModel */ omit?: DefaultLlmModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: DefaultLlmModelInclude | null /** * The data needed to create a DefaultLlmModel. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * DefaultLlmModel createMany */ export type DefaultLlmModelCreateManyArgs = { /** * The data used to create many DefaultLlmModels. */ data: DefaultLlmModelCreateManyInput | DefaultLlmModelCreateManyInput[] skipDuplicates?: boolean } /** * DefaultLlmModel createManyAndReturn */ export type DefaultLlmModelCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the DefaultLlmModel */ select?: DefaultLlmModelSelectCreateManyAndReturn | null /** * Omit specific fields from the DefaultLlmModel */ omit?: DefaultLlmModelOmit | null /** * The data used to create many DefaultLlmModels. */ data: DefaultLlmModelCreateManyInput | DefaultLlmModelCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: DefaultLlmModelIncludeCreateManyAndReturn | null } /** * DefaultLlmModel update */ export type DefaultLlmModelUpdateArgs = { /** * Select specific fields to fetch from the DefaultLlmModel */ select?: DefaultLlmModelSelect | null /** * Omit specific fields from the DefaultLlmModel */ omit?: DefaultLlmModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: DefaultLlmModelInclude | null /** * The data needed to update a DefaultLlmModel. */ data: XOR /** * Choose, which DefaultLlmModel to update. */ where: DefaultLlmModelWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DefaultLlmModel updateMany */ export type DefaultLlmModelUpdateManyArgs = { /** * The data used to update DefaultLlmModels. */ data: XOR /** * Filter which DefaultLlmModels to update */ where?: DefaultLlmModelWhereInput /** * Limit how many DefaultLlmModels to update. */ limit?: number } /** * DefaultLlmModel updateManyAndReturn */ export type DefaultLlmModelUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the DefaultLlmModel */ select?: DefaultLlmModelSelectUpdateManyAndReturn | null /** * Omit specific fields from the DefaultLlmModel */ omit?: DefaultLlmModelOmit | null /** * The data used to update DefaultLlmModels. */ data: XOR /** * Filter which DefaultLlmModels to update */ where?: DefaultLlmModelWhereInput /** * Limit how many DefaultLlmModels to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: DefaultLlmModelIncludeUpdateManyAndReturn | null } /** * DefaultLlmModel upsert */ export type DefaultLlmModelUpsertArgs = { /** * Select specific fields to fetch from the DefaultLlmModel */ select?: DefaultLlmModelSelect | null /** * Omit specific fields from the DefaultLlmModel */ omit?: DefaultLlmModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: DefaultLlmModelInclude | null /** * The filter to search for the DefaultLlmModel to update in case it exists. */ where: DefaultLlmModelWhereUniqueInput /** * In case the DefaultLlmModel found by the `where` argument doesn't exist, create a new DefaultLlmModel with this data. */ create: XOR /** * In case the DefaultLlmModel was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * DefaultLlmModel delete */ export type DefaultLlmModelDeleteArgs = { /** * Select specific fields to fetch from the DefaultLlmModel */ select?: DefaultLlmModelSelect | null /** * Omit specific fields from the DefaultLlmModel */ omit?: DefaultLlmModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: DefaultLlmModelInclude | null /** * Filter which DefaultLlmModel to delete. */ where: DefaultLlmModelWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DefaultLlmModel deleteMany */ export type DefaultLlmModelDeleteManyArgs = { /** * Filter which DefaultLlmModels to delete */ where?: DefaultLlmModelWhereInput /** * Limit how many DefaultLlmModels to delete. */ limit?: number } /** * DefaultLlmModel without action */ export type DefaultLlmModelDefaultArgs = { /** * Select specific fields to fetch from the DefaultLlmModel */ select?: DefaultLlmModelSelect | null /** * Omit specific fields from the DefaultLlmModel */ omit?: DefaultLlmModelOmit | null /** * Choose, which related nodes to fetch as well */ include?: DefaultLlmModelInclude | null } /** * Model SsoConfig */ export type AggregateSsoConfig = { _count: SsoConfigCountAggregateOutputType | null _min: SsoConfigMinAggregateOutputType | null _max: SsoConfigMaxAggregateOutputType | null } export type SsoConfigMinAggregateOutputType = { domain: string | null createdAt: Date | null updatedAt: Date | null authProvider: string | null } export type SsoConfigMaxAggregateOutputType = { domain: string | null createdAt: Date | null updatedAt: Date | null authProvider: string | null } export type SsoConfigCountAggregateOutputType = { domain: number createdAt: number updatedAt: number authProvider: number authConfig: number _all: number } export type SsoConfigMinAggregateInputType = { domain?: true createdAt?: true updatedAt?: true authProvider?: true } export type SsoConfigMaxAggregateInputType = { domain?: true createdAt?: true updatedAt?: true authProvider?: true } export type SsoConfigCountAggregateInputType = { domain?: true createdAt?: true updatedAt?: true authProvider?: true authConfig?: true _all?: true } export type SsoConfigAggregateArgs = { /** * Filter which SsoConfig to aggregate. */ where?: SsoConfigWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SsoConfigs to fetch. */ orderBy?: SsoConfigOrderByWithRelationInput | SsoConfigOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SsoConfigWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SsoConfigs 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` SsoConfigs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SsoConfigs **/ _count?: true | SsoConfigCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SsoConfigMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SsoConfigMaxAggregateInputType } export type GetSsoConfigAggregateType = { [P in keyof T & keyof AggregateSsoConfig]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SsoConfigGroupByArgs = { where?: SsoConfigWhereInput orderBy?: SsoConfigOrderByWithAggregationInput | SsoConfigOrderByWithAggregationInput[] by: SsoConfigScalarFieldEnum[] | SsoConfigScalarFieldEnum having?: SsoConfigScalarWhereWithAggregatesInput take?: number skip?: number _count?: SsoConfigCountAggregateInputType | true _min?: SsoConfigMinAggregateInputType _max?: SsoConfigMaxAggregateInputType } export type SsoConfigGroupByOutputType = { domain: string createdAt: Date updatedAt: Date authProvider: string authConfig: JsonValue | null _count: SsoConfigCountAggregateOutputType | null _min: SsoConfigMinAggregateOutputType | null _max: SsoConfigMaxAggregateOutputType | null } type GetSsoConfigGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SsoConfigGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SsoConfigSelect = $Extensions.GetSelect<{ domain?: boolean createdAt?: boolean updatedAt?: boolean authProvider?: boolean authConfig?: boolean }, ExtArgs["result"]["ssoConfig"]> export type SsoConfigSelectCreateManyAndReturn = $Extensions.GetSelect<{ domain?: boolean createdAt?: boolean updatedAt?: boolean authProvider?: boolean authConfig?: boolean }, ExtArgs["result"]["ssoConfig"]> export type SsoConfigSelectUpdateManyAndReturn = $Extensions.GetSelect<{ domain?: boolean createdAt?: boolean updatedAt?: boolean authProvider?: boolean authConfig?: boolean }, ExtArgs["result"]["ssoConfig"]> export type SsoConfigSelectScalar = { domain?: boolean createdAt?: boolean updatedAt?: boolean authProvider?: boolean authConfig?: boolean } export type SsoConfigOmit = $Extensions.GetOmit<"domain" | "createdAt" | "updatedAt" | "authProvider" | "authConfig", ExtArgs["result"]["ssoConfig"]> export type $SsoConfigPayload = { name: "SsoConfig" objects: {} scalars: $Extensions.GetPayloadResult<{ domain: string createdAt: Date updatedAt: Date authProvider: string authConfig: Prisma.JsonValue | null }, ExtArgs["result"]["ssoConfig"]> composites: {} } type SsoConfigGetPayload = $Result.GetResult type SsoConfigCountArgs = Omit & { select?: SsoConfigCountAggregateInputType | true } export interface SsoConfigDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SsoConfig'], meta: { name: 'SsoConfig' } } /** * Find zero or one SsoConfig that matches the filter. * @param {SsoConfigFindUniqueArgs} args - Arguments to find a SsoConfig * @example * // Get one SsoConfig * const ssoConfig = await prisma.ssoConfig.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SsoConfigClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SsoConfig that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SsoConfigFindUniqueOrThrowArgs} args - Arguments to find a SsoConfig * @example * // Get one SsoConfig * const ssoConfig = await prisma.ssoConfig.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SsoConfigClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SsoConfig 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 {SsoConfigFindFirstArgs} args - Arguments to find a SsoConfig * @example * // Get one SsoConfig * const ssoConfig = await prisma.ssoConfig.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SsoConfigClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SsoConfig 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 {SsoConfigFindFirstOrThrowArgs} args - Arguments to find a SsoConfig * @example * // Get one SsoConfig * const ssoConfig = await prisma.ssoConfig.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SsoConfigClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SsoConfigs 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 {SsoConfigFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SsoConfigs * const ssoConfigs = await prisma.ssoConfig.findMany() * * // Get first 10 SsoConfigs * const ssoConfigs = await prisma.ssoConfig.findMany({ take: 10 }) * * // Only select the `domain` * const ssoConfigWithDomainOnly = await prisma.ssoConfig.findMany({ select: { domain: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a SsoConfig. * @param {SsoConfigCreateArgs} args - Arguments to create a SsoConfig. * @example * // Create one SsoConfig * const SsoConfig = await prisma.ssoConfig.create({ * data: { * // ... data to create a SsoConfig * } * }) * */ create(args: SelectSubset>): Prisma__SsoConfigClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SsoConfigs. * @param {SsoConfigCreateManyArgs} args - Arguments to create many SsoConfigs. * @example * // Create many SsoConfigs * const ssoConfig = await prisma.ssoConfig.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SsoConfigs and returns the data saved in the database. * @param {SsoConfigCreateManyAndReturnArgs} args - Arguments to create many SsoConfigs. * @example * // Create many SsoConfigs * const ssoConfig = await prisma.ssoConfig.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SsoConfigs and only return the `domain` * const ssoConfigWithDomainOnly = await prisma.ssoConfig.createManyAndReturn({ * select: { domain: 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 SsoConfig. * @param {SsoConfigDeleteArgs} args - Arguments to delete one SsoConfig. * @example * // Delete one SsoConfig * const SsoConfig = await prisma.ssoConfig.delete({ * where: { * // ... filter to delete one SsoConfig * } * }) * */ delete(args: SelectSubset>): Prisma__SsoConfigClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SsoConfig. * @param {SsoConfigUpdateArgs} args - Arguments to update one SsoConfig. * @example * // Update one SsoConfig * const ssoConfig = await prisma.ssoConfig.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SsoConfigClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SsoConfigs. * @param {SsoConfigDeleteManyArgs} args - Arguments to filter SsoConfigs to delete. * @example * // Delete a few SsoConfigs * const { count } = await prisma.ssoConfig.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SsoConfigs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SsoConfigUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SsoConfigs * const ssoConfig = await prisma.ssoConfig.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SsoConfigs and returns the data updated in the database. * @param {SsoConfigUpdateManyAndReturnArgs} args - Arguments to update many SsoConfigs. * @example * // Update many SsoConfigs * const ssoConfig = await prisma.ssoConfig.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SsoConfigs and only return the `domain` * const ssoConfigWithDomainOnly = await prisma.ssoConfig.updateManyAndReturn({ * select: { domain: 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 SsoConfig. * @param {SsoConfigUpsertArgs} args - Arguments to update or create a SsoConfig. * @example * // Update or create a SsoConfig * const ssoConfig = await prisma.ssoConfig.upsert({ * create: { * // ... data to create a SsoConfig * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SsoConfig we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SsoConfigClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SsoConfigs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SsoConfigCountArgs} args - Arguments to filter SsoConfigs to count. * @example * // Count the number of SsoConfigs * const count = await prisma.ssoConfig.count({ * where: { * // ... the filter for the SsoConfigs 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 SsoConfig. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SsoConfigAggregateArgs} 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 SsoConfig. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SsoConfigGroupByArgs} 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 SsoConfigGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SsoConfigGroupByArgs['orderBy'] } : { orderBy?: SsoConfigGroupByArgs['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 ? GetSsoConfigGroupByPayload : Prisma.PrismaPromise /** * Fields of the SsoConfig model */ readonly fields: SsoConfigFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SsoConfig. * 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__SsoConfigClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 SsoConfig model */ interface SsoConfigFieldRefs { readonly domain: FieldRef<"SsoConfig", 'String'> readonly createdAt: FieldRef<"SsoConfig", 'DateTime'> readonly updatedAt: FieldRef<"SsoConfig", 'DateTime'> readonly authProvider: FieldRef<"SsoConfig", 'String'> readonly authConfig: FieldRef<"SsoConfig", 'Json'> } // Custom InputTypes /** * SsoConfig findUnique */ export type SsoConfigFindUniqueArgs = { /** * Select specific fields to fetch from the SsoConfig */ select?: SsoConfigSelect | null /** * Omit specific fields from the SsoConfig */ omit?: SsoConfigOmit | null /** * Filter, which SsoConfig to fetch. */ where: SsoConfigWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * SsoConfig findUniqueOrThrow */ export type SsoConfigFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SsoConfig */ select?: SsoConfigSelect | null /** * Omit specific fields from the SsoConfig */ omit?: SsoConfigOmit | null /** * Filter, which SsoConfig to fetch. */ where: SsoConfigWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * SsoConfig findFirst */ export type SsoConfigFindFirstArgs = { /** * Select specific fields to fetch from the SsoConfig */ select?: SsoConfigSelect | null /** * Omit specific fields from the SsoConfig */ omit?: SsoConfigOmit | null /** * Filter, which SsoConfig to fetch. */ where?: SsoConfigWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SsoConfigs to fetch. */ orderBy?: SsoConfigOrderByWithRelationInput | SsoConfigOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SsoConfigs. */ cursor?: SsoConfigWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SsoConfigs 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` SsoConfigs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SsoConfigs. */ distinct?: SsoConfigScalarFieldEnum | SsoConfigScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * SsoConfig findFirstOrThrow */ export type SsoConfigFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SsoConfig */ select?: SsoConfigSelect | null /** * Omit specific fields from the SsoConfig */ omit?: SsoConfigOmit | null /** * Filter, which SsoConfig to fetch. */ where?: SsoConfigWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SsoConfigs to fetch. */ orderBy?: SsoConfigOrderByWithRelationInput | SsoConfigOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SsoConfigs. */ cursor?: SsoConfigWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SsoConfigs 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` SsoConfigs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SsoConfigs. */ distinct?: SsoConfigScalarFieldEnum | SsoConfigScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * SsoConfig findMany */ export type SsoConfigFindManyArgs = { /** * Select specific fields to fetch from the SsoConfig */ select?: SsoConfigSelect | null /** * Omit specific fields from the SsoConfig */ omit?: SsoConfigOmit | null /** * Filter, which SsoConfigs to fetch. */ where?: SsoConfigWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SsoConfigs to fetch. */ orderBy?: SsoConfigOrderByWithRelationInput | SsoConfigOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SsoConfigs. */ cursor?: SsoConfigWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SsoConfigs 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` SsoConfigs. */ skip?: number distinct?: SsoConfigScalarFieldEnum | SsoConfigScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * SsoConfig create */ export type SsoConfigCreateArgs = { /** * Select specific fields to fetch from the SsoConfig */ select?: SsoConfigSelect | null /** * Omit specific fields from the SsoConfig */ omit?: SsoConfigOmit | null /** * The data needed to create a SsoConfig. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * SsoConfig createMany */ export type SsoConfigCreateManyArgs = { /** * The data used to create many SsoConfigs. */ data: SsoConfigCreateManyInput | SsoConfigCreateManyInput[] skipDuplicates?: boolean } /** * SsoConfig createManyAndReturn */ export type SsoConfigCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SsoConfig */ select?: SsoConfigSelectCreateManyAndReturn | null /** * Omit specific fields from the SsoConfig */ omit?: SsoConfigOmit | null /** * The data used to create many SsoConfigs. */ data: SsoConfigCreateManyInput | SsoConfigCreateManyInput[] skipDuplicates?: boolean } /** * SsoConfig update */ export type SsoConfigUpdateArgs = { /** * Select specific fields to fetch from the SsoConfig */ select?: SsoConfigSelect | null /** * Omit specific fields from the SsoConfig */ omit?: SsoConfigOmit | null /** * The data needed to update a SsoConfig. */ data: XOR /** * Choose, which SsoConfig to update. */ where: SsoConfigWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * SsoConfig updateMany */ export type SsoConfigUpdateManyArgs = { /** * The data used to update SsoConfigs. */ data: XOR /** * Filter which SsoConfigs to update */ where?: SsoConfigWhereInput /** * Limit how many SsoConfigs to update. */ limit?: number } /** * SsoConfig updateManyAndReturn */ export type SsoConfigUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SsoConfig */ select?: SsoConfigSelectUpdateManyAndReturn | null /** * Omit specific fields from the SsoConfig */ omit?: SsoConfigOmit | null /** * The data used to update SsoConfigs. */ data: XOR /** * Filter which SsoConfigs to update */ where?: SsoConfigWhereInput /** * Limit how many SsoConfigs to update. */ limit?: number } /** * SsoConfig upsert */ export type SsoConfigUpsertArgs = { /** * Select specific fields to fetch from the SsoConfig */ select?: SsoConfigSelect | null /** * Omit specific fields from the SsoConfig */ omit?: SsoConfigOmit | null /** * The filter to search for the SsoConfig to update in case it exists. */ where: SsoConfigWhereUniqueInput /** * In case the SsoConfig found by the `where` argument doesn't exist, create a new SsoConfig with this data. */ create: XOR /** * In case the SsoConfig was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * SsoConfig delete */ export type SsoConfigDeleteArgs = { /** * Select specific fields to fetch from the SsoConfig */ select?: SsoConfigSelect | null /** * Omit specific fields from the SsoConfig */ omit?: SsoConfigOmit | null /** * Filter which SsoConfig to delete. */ where: SsoConfigWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * SsoConfig deleteMany */ export type SsoConfigDeleteManyArgs = { /** * Filter which SsoConfigs to delete */ where?: SsoConfigWhereInput /** * Limit how many SsoConfigs to delete. */ limit?: number } /** * SsoConfig without action */ export type SsoConfigDefaultArgs = { /** * Select specific fields to fetch from the SsoConfig */ select?: SsoConfigSelect | null /** * Omit specific fields from the SsoConfig */ omit?: SsoConfigOmit | null } /** * Model PosthogIntegration */ export type AggregatePosthogIntegration = { _count: PosthogIntegrationCountAggregateOutputType | null _min: PosthogIntegrationMinAggregateOutputType | null _max: PosthogIntegrationMaxAggregateOutputType | null } export type PosthogIntegrationMinAggregateOutputType = { projectId: string | null encryptedPosthogApiKey: string | null posthogHostName: string | null lastSyncAt: Date | null enabled: boolean | null createdAt: Date | null } export type PosthogIntegrationMaxAggregateOutputType = { projectId: string | null encryptedPosthogApiKey: string | null posthogHostName: string | null lastSyncAt: Date | null enabled: boolean | null createdAt: Date | null } export type PosthogIntegrationCountAggregateOutputType = { projectId: number encryptedPosthogApiKey: number posthogHostName: number lastSyncAt: number enabled: number createdAt: number _all: number } export type PosthogIntegrationMinAggregateInputType = { projectId?: true encryptedPosthogApiKey?: true posthogHostName?: true lastSyncAt?: true enabled?: true createdAt?: true } export type PosthogIntegrationMaxAggregateInputType = { projectId?: true encryptedPosthogApiKey?: true posthogHostName?: true lastSyncAt?: true enabled?: true createdAt?: true } export type PosthogIntegrationCountAggregateInputType = { projectId?: true encryptedPosthogApiKey?: true posthogHostName?: true lastSyncAt?: true enabled?: true createdAt?: true _all?: true } export type PosthogIntegrationAggregateArgs = { /** * Filter which PosthogIntegration to aggregate. */ where?: PosthogIntegrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PosthogIntegrations to fetch. */ orderBy?: PosthogIntegrationOrderByWithRelationInput | PosthogIntegrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: PosthogIntegrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PosthogIntegrations 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` PosthogIntegrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned PosthogIntegrations **/ _count?: true | PosthogIntegrationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: PosthogIntegrationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: PosthogIntegrationMaxAggregateInputType } export type GetPosthogIntegrationAggregateType = { [P in keyof T & keyof AggregatePosthogIntegration]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type PosthogIntegrationGroupByArgs = { where?: PosthogIntegrationWhereInput orderBy?: PosthogIntegrationOrderByWithAggregationInput | PosthogIntegrationOrderByWithAggregationInput[] by: PosthogIntegrationScalarFieldEnum[] | PosthogIntegrationScalarFieldEnum having?: PosthogIntegrationScalarWhereWithAggregatesInput take?: number skip?: number _count?: PosthogIntegrationCountAggregateInputType | true _min?: PosthogIntegrationMinAggregateInputType _max?: PosthogIntegrationMaxAggregateInputType } export type PosthogIntegrationGroupByOutputType = { projectId: string encryptedPosthogApiKey: string posthogHostName: string lastSyncAt: Date | null enabled: boolean createdAt: Date _count: PosthogIntegrationCountAggregateOutputType | null _min: PosthogIntegrationMinAggregateOutputType | null _max: PosthogIntegrationMaxAggregateOutputType | null } type GetPosthogIntegrationGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof PosthogIntegrationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type PosthogIntegrationSelect = $Extensions.GetSelect<{ projectId?: boolean encryptedPosthogApiKey?: boolean posthogHostName?: boolean lastSyncAt?: boolean enabled?: boolean createdAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["posthogIntegration"]> export type PosthogIntegrationSelectCreateManyAndReturn = $Extensions.GetSelect<{ projectId?: boolean encryptedPosthogApiKey?: boolean posthogHostName?: boolean lastSyncAt?: boolean enabled?: boolean createdAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["posthogIntegration"]> export type PosthogIntegrationSelectUpdateManyAndReturn = $Extensions.GetSelect<{ projectId?: boolean encryptedPosthogApiKey?: boolean posthogHostName?: boolean lastSyncAt?: boolean enabled?: boolean createdAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["posthogIntegration"]> export type PosthogIntegrationSelectScalar = { projectId?: boolean encryptedPosthogApiKey?: boolean posthogHostName?: boolean lastSyncAt?: boolean enabled?: boolean createdAt?: boolean } export type PosthogIntegrationOmit = $Extensions.GetOmit<"projectId" | "encryptedPosthogApiKey" | "posthogHostName" | "lastSyncAt" | "enabled" | "createdAt", ExtArgs["result"]["posthogIntegration"]> export type PosthogIntegrationInclude = { project?: boolean | ProjectDefaultArgs } export type PosthogIntegrationIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type PosthogIntegrationIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $PosthogIntegrationPayload = { name: "PosthogIntegration" objects: { project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ projectId: string encryptedPosthogApiKey: string posthogHostName: string lastSyncAt: Date | null enabled: boolean createdAt: Date }, ExtArgs["result"]["posthogIntegration"]> composites: {} } type PosthogIntegrationGetPayload = $Result.GetResult type PosthogIntegrationCountArgs = Omit & { select?: PosthogIntegrationCountAggregateInputType | true } export interface PosthogIntegrationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['PosthogIntegration'], meta: { name: 'PosthogIntegration' } } /** * Find zero or one PosthogIntegration that matches the filter. * @param {PosthogIntegrationFindUniqueArgs} args - Arguments to find a PosthogIntegration * @example * // Get one PosthogIntegration * const posthogIntegration = await prisma.posthogIntegration.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__PosthogIntegrationClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one PosthogIntegration that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {PosthogIntegrationFindUniqueOrThrowArgs} args - Arguments to find a PosthogIntegration * @example * // Get one PosthogIntegration * const posthogIntegration = await prisma.posthogIntegration.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__PosthogIntegrationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first PosthogIntegration 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 {PosthogIntegrationFindFirstArgs} args - Arguments to find a PosthogIntegration * @example * // Get one PosthogIntegration * const posthogIntegration = await prisma.posthogIntegration.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__PosthogIntegrationClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first PosthogIntegration 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 {PosthogIntegrationFindFirstOrThrowArgs} args - Arguments to find a PosthogIntegration * @example * // Get one PosthogIntegration * const posthogIntegration = await prisma.posthogIntegration.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__PosthogIntegrationClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more PosthogIntegrations 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 {PosthogIntegrationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all PosthogIntegrations * const posthogIntegrations = await prisma.posthogIntegration.findMany() * * // Get first 10 PosthogIntegrations * const posthogIntegrations = await prisma.posthogIntegration.findMany({ take: 10 }) * * // Only select the `projectId` * const posthogIntegrationWithProjectIdOnly = await prisma.posthogIntegration.findMany({ select: { projectId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a PosthogIntegration. * @param {PosthogIntegrationCreateArgs} args - Arguments to create a PosthogIntegration. * @example * // Create one PosthogIntegration * const PosthogIntegration = await prisma.posthogIntegration.create({ * data: { * // ... data to create a PosthogIntegration * } * }) * */ create(args: SelectSubset>): Prisma__PosthogIntegrationClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many PosthogIntegrations. * @param {PosthogIntegrationCreateManyArgs} args - Arguments to create many PosthogIntegrations. * @example * // Create many PosthogIntegrations * const posthogIntegration = await prisma.posthogIntegration.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many PosthogIntegrations and returns the data saved in the database. * @param {PosthogIntegrationCreateManyAndReturnArgs} args - Arguments to create many PosthogIntegrations. * @example * // Create many PosthogIntegrations * const posthogIntegration = await prisma.posthogIntegration.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many PosthogIntegrations and only return the `projectId` * const posthogIntegrationWithProjectIdOnly = await prisma.posthogIntegration.createManyAndReturn({ * select: { projectId: 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 PosthogIntegration. * @param {PosthogIntegrationDeleteArgs} args - Arguments to delete one PosthogIntegration. * @example * // Delete one PosthogIntegration * const PosthogIntegration = await prisma.posthogIntegration.delete({ * where: { * // ... filter to delete one PosthogIntegration * } * }) * */ delete(args: SelectSubset>): Prisma__PosthogIntegrationClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one PosthogIntegration. * @param {PosthogIntegrationUpdateArgs} args - Arguments to update one PosthogIntegration. * @example * // Update one PosthogIntegration * const posthogIntegration = await prisma.posthogIntegration.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__PosthogIntegrationClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more PosthogIntegrations. * @param {PosthogIntegrationDeleteManyArgs} args - Arguments to filter PosthogIntegrations to delete. * @example * // Delete a few PosthogIntegrations * const { count } = await prisma.posthogIntegration.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more PosthogIntegrations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PosthogIntegrationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many PosthogIntegrations * const posthogIntegration = await prisma.posthogIntegration.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more PosthogIntegrations and returns the data updated in the database. * @param {PosthogIntegrationUpdateManyAndReturnArgs} args - Arguments to update many PosthogIntegrations. * @example * // Update many PosthogIntegrations * const posthogIntegration = await prisma.posthogIntegration.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more PosthogIntegrations and only return the `projectId` * const posthogIntegrationWithProjectIdOnly = await prisma.posthogIntegration.updateManyAndReturn({ * select: { projectId: 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 PosthogIntegration. * @param {PosthogIntegrationUpsertArgs} args - Arguments to update or create a PosthogIntegration. * @example * // Update or create a PosthogIntegration * const posthogIntegration = await prisma.posthogIntegration.upsert({ * create: { * // ... data to create a PosthogIntegration * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the PosthogIntegration we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__PosthogIntegrationClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of PosthogIntegrations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PosthogIntegrationCountArgs} args - Arguments to filter PosthogIntegrations to count. * @example * // Count the number of PosthogIntegrations * const count = await prisma.posthogIntegration.count({ * where: { * // ... the filter for the PosthogIntegrations 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 PosthogIntegration. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PosthogIntegrationAggregateArgs} 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 PosthogIntegration. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PosthogIntegrationGroupByArgs} 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 PosthogIntegrationGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: PosthogIntegrationGroupByArgs['orderBy'] } : { orderBy?: PosthogIntegrationGroupByArgs['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 ? GetPosthogIntegrationGroupByPayload : Prisma.PrismaPromise /** * Fields of the PosthogIntegration model */ readonly fields: PosthogIntegrationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for PosthogIntegration. * 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__PosthogIntegrationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$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 PosthogIntegration model */ interface PosthogIntegrationFieldRefs { readonly projectId: FieldRef<"PosthogIntegration", 'String'> readonly encryptedPosthogApiKey: FieldRef<"PosthogIntegration", 'String'> readonly posthogHostName: FieldRef<"PosthogIntegration", 'String'> readonly lastSyncAt: FieldRef<"PosthogIntegration", 'DateTime'> readonly enabled: FieldRef<"PosthogIntegration", 'Boolean'> readonly createdAt: FieldRef<"PosthogIntegration", 'DateTime'> } // Custom InputTypes /** * PosthogIntegration findUnique */ export type PosthogIntegrationFindUniqueArgs = { /** * Select specific fields to fetch from the PosthogIntegration */ select?: PosthogIntegrationSelect | null /** * Omit specific fields from the PosthogIntegration */ omit?: PosthogIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: PosthogIntegrationInclude | null /** * Filter, which PosthogIntegration to fetch. */ where: PosthogIntegrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PosthogIntegration findUniqueOrThrow */ export type PosthogIntegrationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the PosthogIntegration */ select?: PosthogIntegrationSelect | null /** * Omit specific fields from the PosthogIntegration */ omit?: PosthogIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: PosthogIntegrationInclude | null /** * Filter, which PosthogIntegration to fetch. */ where: PosthogIntegrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PosthogIntegration findFirst */ export type PosthogIntegrationFindFirstArgs = { /** * Select specific fields to fetch from the PosthogIntegration */ select?: PosthogIntegrationSelect | null /** * Omit specific fields from the PosthogIntegration */ omit?: PosthogIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: PosthogIntegrationInclude | null /** * Filter, which PosthogIntegration to fetch. */ where?: PosthogIntegrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PosthogIntegrations to fetch. */ orderBy?: PosthogIntegrationOrderByWithRelationInput | PosthogIntegrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for PosthogIntegrations. */ cursor?: PosthogIntegrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PosthogIntegrations 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` PosthogIntegrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PosthogIntegrations. */ distinct?: PosthogIntegrationScalarFieldEnum | PosthogIntegrationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * PosthogIntegration findFirstOrThrow */ export type PosthogIntegrationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the PosthogIntegration */ select?: PosthogIntegrationSelect | null /** * Omit specific fields from the PosthogIntegration */ omit?: PosthogIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: PosthogIntegrationInclude | null /** * Filter, which PosthogIntegration to fetch. */ where?: PosthogIntegrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PosthogIntegrations to fetch. */ orderBy?: PosthogIntegrationOrderByWithRelationInput | PosthogIntegrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for PosthogIntegrations. */ cursor?: PosthogIntegrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PosthogIntegrations 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` PosthogIntegrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PosthogIntegrations. */ distinct?: PosthogIntegrationScalarFieldEnum | PosthogIntegrationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * PosthogIntegration findMany */ export type PosthogIntegrationFindManyArgs = { /** * Select specific fields to fetch from the PosthogIntegration */ select?: PosthogIntegrationSelect | null /** * Omit specific fields from the PosthogIntegration */ omit?: PosthogIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: PosthogIntegrationInclude | null /** * Filter, which PosthogIntegrations to fetch. */ where?: PosthogIntegrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PosthogIntegrations to fetch. */ orderBy?: PosthogIntegrationOrderByWithRelationInput | PosthogIntegrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing PosthogIntegrations. */ cursor?: PosthogIntegrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PosthogIntegrations 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` PosthogIntegrations. */ skip?: number distinct?: PosthogIntegrationScalarFieldEnum | PosthogIntegrationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * PosthogIntegration create */ export type PosthogIntegrationCreateArgs = { /** * Select specific fields to fetch from the PosthogIntegration */ select?: PosthogIntegrationSelect | null /** * Omit specific fields from the PosthogIntegration */ omit?: PosthogIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: PosthogIntegrationInclude | null /** * The data needed to create a PosthogIntegration. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * PosthogIntegration createMany */ export type PosthogIntegrationCreateManyArgs = { /** * The data used to create many PosthogIntegrations. */ data: PosthogIntegrationCreateManyInput | PosthogIntegrationCreateManyInput[] skipDuplicates?: boolean } /** * PosthogIntegration createManyAndReturn */ export type PosthogIntegrationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the PosthogIntegration */ select?: PosthogIntegrationSelectCreateManyAndReturn | null /** * Omit specific fields from the PosthogIntegration */ omit?: PosthogIntegrationOmit | null /** * The data used to create many PosthogIntegrations. */ data: PosthogIntegrationCreateManyInput | PosthogIntegrationCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: PosthogIntegrationIncludeCreateManyAndReturn | null } /** * PosthogIntegration update */ export type PosthogIntegrationUpdateArgs = { /** * Select specific fields to fetch from the PosthogIntegration */ select?: PosthogIntegrationSelect | null /** * Omit specific fields from the PosthogIntegration */ omit?: PosthogIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: PosthogIntegrationInclude | null /** * The data needed to update a PosthogIntegration. */ data: XOR /** * Choose, which PosthogIntegration to update. */ where: PosthogIntegrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PosthogIntegration updateMany */ export type PosthogIntegrationUpdateManyArgs = { /** * The data used to update PosthogIntegrations. */ data: XOR /** * Filter which PosthogIntegrations to update */ where?: PosthogIntegrationWhereInput /** * Limit how many PosthogIntegrations to update. */ limit?: number } /** * PosthogIntegration updateManyAndReturn */ export type PosthogIntegrationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the PosthogIntegration */ select?: PosthogIntegrationSelectUpdateManyAndReturn | null /** * Omit specific fields from the PosthogIntegration */ omit?: PosthogIntegrationOmit | null /** * The data used to update PosthogIntegrations. */ data: XOR /** * Filter which PosthogIntegrations to update */ where?: PosthogIntegrationWhereInput /** * Limit how many PosthogIntegrations to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: PosthogIntegrationIncludeUpdateManyAndReturn | null } /** * PosthogIntegration upsert */ export type PosthogIntegrationUpsertArgs = { /** * Select specific fields to fetch from the PosthogIntegration */ select?: PosthogIntegrationSelect | null /** * Omit specific fields from the PosthogIntegration */ omit?: PosthogIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: PosthogIntegrationInclude | null /** * The filter to search for the PosthogIntegration to update in case it exists. */ where: PosthogIntegrationWhereUniqueInput /** * In case the PosthogIntegration found by the `where` argument doesn't exist, create a new PosthogIntegration with this data. */ create: XOR /** * In case the PosthogIntegration was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * PosthogIntegration delete */ export type PosthogIntegrationDeleteArgs = { /** * Select specific fields to fetch from the PosthogIntegration */ select?: PosthogIntegrationSelect | null /** * Omit specific fields from the PosthogIntegration */ omit?: PosthogIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: PosthogIntegrationInclude | null /** * Filter which PosthogIntegration to delete. */ where: PosthogIntegrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PosthogIntegration deleteMany */ export type PosthogIntegrationDeleteManyArgs = { /** * Filter which PosthogIntegrations to delete */ where?: PosthogIntegrationWhereInput /** * Limit how many PosthogIntegrations to delete. */ limit?: number } /** * PosthogIntegration without action */ export type PosthogIntegrationDefaultArgs = { /** * Select specific fields to fetch from the PosthogIntegration */ select?: PosthogIntegrationSelect | null /** * Omit specific fields from the PosthogIntegration */ omit?: PosthogIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: PosthogIntegrationInclude | null } /** * Model BlobStorageIntegration */ export type AggregateBlobStorageIntegration = { _count: BlobStorageIntegrationCountAggregateOutputType | null _min: BlobStorageIntegrationMinAggregateOutputType | null _max: BlobStorageIntegrationMaxAggregateOutputType | null } export type BlobStorageIntegrationMinAggregateOutputType = { projectId: string | null type: $Enums.BlobStorageIntegrationType | null bucketName: string | null prefix: string | null accessKeyId: string | null secretAccessKey: string | null region: string | null endpoint: string | null forcePathStyle: boolean | null nextSyncAt: Date | null lastSyncAt: Date | null enabled: boolean | null exportFrequency: string | null fileType: $Enums.BlobStorageIntegrationFileType | null exportMode: $Enums.BlobStorageExportMode | null exportStartDate: Date | null createdAt: Date | null updatedAt: Date | null } export type BlobStorageIntegrationMaxAggregateOutputType = { projectId: string | null type: $Enums.BlobStorageIntegrationType | null bucketName: string | null prefix: string | null accessKeyId: string | null secretAccessKey: string | null region: string | null endpoint: string | null forcePathStyle: boolean | null nextSyncAt: Date | null lastSyncAt: Date | null enabled: boolean | null exportFrequency: string | null fileType: $Enums.BlobStorageIntegrationFileType | null exportMode: $Enums.BlobStorageExportMode | null exportStartDate: Date | null createdAt: Date | null updatedAt: Date | null } export type BlobStorageIntegrationCountAggregateOutputType = { projectId: number type: number bucketName: number prefix: number accessKeyId: number secretAccessKey: number region: number endpoint: number forcePathStyle: number nextSyncAt: number lastSyncAt: number enabled: number exportFrequency: number fileType: number exportMode: number exportStartDate: number createdAt: number updatedAt: number _all: number } export type BlobStorageIntegrationMinAggregateInputType = { projectId?: true type?: true bucketName?: true prefix?: true accessKeyId?: true secretAccessKey?: true region?: true endpoint?: true forcePathStyle?: true nextSyncAt?: true lastSyncAt?: true enabled?: true exportFrequency?: true fileType?: true exportMode?: true exportStartDate?: true createdAt?: true updatedAt?: true } export type BlobStorageIntegrationMaxAggregateInputType = { projectId?: true type?: true bucketName?: true prefix?: true accessKeyId?: true secretAccessKey?: true region?: true endpoint?: true forcePathStyle?: true nextSyncAt?: true lastSyncAt?: true enabled?: true exportFrequency?: true fileType?: true exportMode?: true exportStartDate?: true createdAt?: true updatedAt?: true } export type BlobStorageIntegrationCountAggregateInputType = { projectId?: true type?: true bucketName?: true prefix?: true accessKeyId?: true secretAccessKey?: true region?: true endpoint?: true forcePathStyle?: true nextSyncAt?: true lastSyncAt?: true enabled?: true exportFrequency?: true fileType?: true exportMode?: true exportStartDate?: true createdAt?: true updatedAt?: true _all?: true } export type BlobStorageIntegrationAggregateArgs = { /** * Filter which BlobStorageIntegration to aggregate. */ where?: BlobStorageIntegrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BlobStorageIntegrations to fetch. */ orderBy?: BlobStorageIntegrationOrderByWithRelationInput | BlobStorageIntegrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: BlobStorageIntegrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BlobStorageIntegrations 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` BlobStorageIntegrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned BlobStorageIntegrations **/ _count?: true | BlobStorageIntegrationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: BlobStorageIntegrationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: BlobStorageIntegrationMaxAggregateInputType } export type GetBlobStorageIntegrationAggregateType = { [P in keyof T & keyof AggregateBlobStorageIntegration]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type BlobStorageIntegrationGroupByArgs = { where?: BlobStorageIntegrationWhereInput orderBy?: BlobStorageIntegrationOrderByWithAggregationInput | BlobStorageIntegrationOrderByWithAggregationInput[] by: BlobStorageIntegrationScalarFieldEnum[] | BlobStorageIntegrationScalarFieldEnum having?: BlobStorageIntegrationScalarWhereWithAggregatesInput take?: number skip?: number _count?: BlobStorageIntegrationCountAggregateInputType | true _min?: BlobStorageIntegrationMinAggregateInputType _max?: BlobStorageIntegrationMaxAggregateInputType } export type BlobStorageIntegrationGroupByOutputType = { projectId: string type: $Enums.BlobStorageIntegrationType bucketName: string prefix: string accessKeyId: string | null secretAccessKey: string | null region: string endpoint: string | null forcePathStyle: boolean nextSyncAt: Date | null lastSyncAt: Date | null enabled: boolean exportFrequency: string fileType: $Enums.BlobStorageIntegrationFileType exportMode: $Enums.BlobStorageExportMode exportStartDate: Date | null createdAt: Date updatedAt: Date _count: BlobStorageIntegrationCountAggregateOutputType | null _min: BlobStorageIntegrationMinAggregateOutputType | null _max: BlobStorageIntegrationMaxAggregateOutputType | null } type GetBlobStorageIntegrationGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof BlobStorageIntegrationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type BlobStorageIntegrationSelect = $Extensions.GetSelect<{ projectId?: boolean type?: boolean bucketName?: boolean prefix?: boolean accessKeyId?: boolean secretAccessKey?: boolean region?: boolean endpoint?: boolean forcePathStyle?: boolean nextSyncAt?: boolean lastSyncAt?: boolean enabled?: boolean exportFrequency?: boolean fileType?: boolean exportMode?: boolean exportStartDate?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["blobStorageIntegration"]> export type BlobStorageIntegrationSelectCreateManyAndReturn = $Extensions.GetSelect<{ projectId?: boolean type?: boolean bucketName?: boolean prefix?: boolean accessKeyId?: boolean secretAccessKey?: boolean region?: boolean endpoint?: boolean forcePathStyle?: boolean nextSyncAt?: boolean lastSyncAt?: boolean enabled?: boolean exportFrequency?: boolean fileType?: boolean exportMode?: boolean exportStartDate?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["blobStorageIntegration"]> export type BlobStorageIntegrationSelectUpdateManyAndReturn = $Extensions.GetSelect<{ projectId?: boolean type?: boolean bucketName?: boolean prefix?: boolean accessKeyId?: boolean secretAccessKey?: boolean region?: boolean endpoint?: boolean forcePathStyle?: boolean nextSyncAt?: boolean lastSyncAt?: boolean enabled?: boolean exportFrequency?: boolean fileType?: boolean exportMode?: boolean exportStartDate?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["blobStorageIntegration"]> export type BlobStorageIntegrationSelectScalar = { projectId?: boolean type?: boolean bucketName?: boolean prefix?: boolean accessKeyId?: boolean secretAccessKey?: boolean region?: boolean endpoint?: boolean forcePathStyle?: boolean nextSyncAt?: boolean lastSyncAt?: boolean enabled?: boolean exportFrequency?: boolean fileType?: boolean exportMode?: boolean exportStartDate?: boolean createdAt?: boolean updatedAt?: boolean } export type BlobStorageIntegrationOmit = $Extensions.GetOmit<"projectId" | "type" | "bucketName" | "prefix" | "accessKeyId" | "secretAccessKey" | "region" | "endpoint" | "forcePathStyle" | "nextSyncAt" | "lastSyncAt" | "enabled" | "exportFrequency" | "fileType" | "exportMode" | "exportStartDate" | "createdAt" | "updatedAt", ExtArgs["result"]["blobStorageIntegration"]> export type BlobStorageIntegrationInclude = { project?: boolean | ProjectDefaultArgs } export type BlobStorageIntegrationIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type BlobStorageIntegrationIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $BlobStorageIntegrationPayload = { name: "BlobStorageIntegration" objects: { project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ projectId: string type: $Enums.BlobStorageIntegrationType bucketName: string prefix: string accessKeyId: string | null secretAccessKey: string | null region: string endpoint: string | null forcePathStyle: boolean nextSyncAt: Date | null lastSyncAt: Date | null enabled: boolean exportFrequency: string fileType: $Enums.BlobStorageIntegrationFileType exportMode: $Enums.BlobStorageExportMode exportStartDate: Date | null createdAt: Date updatedAt: Date }, ExtArgs["result"]["blobStorageIntegration"]> composites: {} } type BlobStorageIntegrationGetPayload = $Result.GetResult type BlobStorageIntegrationCountArgs = Omit & { select?: BlobStorageIntegrationCountAggregateInputType | true } export interface BlobStorageIntegrationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['BlobStorageIntegration'], meta: { name: 'BlobStorageIntegration' } } /** * Find zero or one BlobStorageIntegration that matches the filter. * @param {BlobStorageIntegrationFindUniqueArgs} args - Arguments to find a BlobStorageIntegration * @example * // Get one BlobStorageIntegration * const blobStorageIntegration = await prisma.blobStorageIntegration.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__BlobStorageIntegrationClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one BlobStorageIntegration that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {BlobStorageIntegrationFindUniqueOrThrowArgs} args - Arguments to find a BlobStorageIntegration * @example * // Get one BlobStorageIntegration * const blobStorageIntegration = await prisma.blobStorageIntegration.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__BlobStorageIntegrationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first BlobStorageIntegration 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 {BlobStorageIntegrationFindFirstArgs} args - Arguments to find a BlobStorageIntegration * @example * // Get one BlobStorageIntegration * const blobStorageIntegration = await prisma.blobStorageIntegration.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__BlobStorageIntegrationClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first BlobStorageIntegration 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 {BlobStorageIntegrationFindFirstOrThrowArgs} args - Arguments to find a BlobStorageIntegration * @example * // Get one BlobStorageIntegration * const blobStorageIntegration = await prisma.blobStorageIntegration.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__BlobStorageIntegrationClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more BlobStorageIntegrations 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 {BlobStorageIntegrationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all BlobStorageIntegrations * const blobStorageIntegrations = await prisma.blobStorageIntegration.findMany() * * // Get first 10 BlobStorageIntegrations * const blobStorageIntegrations = await prisma.blobStorageIntegration.findMany({ take: 10 }) * * // Only select the `projectId` * const blobStorageIntegrationWithProjectIdOnly = await prisma.blobStorageIntegration.findMany({ select: { projectId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a BlobStorageIntegration. * @param {BlobStorageIntegrationCreateArgs} args - Arguments to create a BlobStorageIntegration. * @example * // Create one BlobStorageIntegration * const BlobStorageIntegration = await prisma.blobStorageIntegration.create({ * data: { * // ... data to create a BlobStorageIntegration * } * }) * */ create(args: SelectSubset>): Prisma__BlobStorageIntegrationClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many BlobStorageIntegrations. * @param {BlobStorageIntegrationCreateManyArgs} args - Arguments to create many BlobStorageIntegrations. * @example * // Create many BlobStorageIntegrations * const blobStorageIntegration = await prisma.blobStorageIntegration.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many BlobStorageIntegrations and returns the data saved in the database. * @param {BlobStorageIntegrationCreateManyAndReturnArgs} args - Arguments to create many BlobStorageIntegrations. * @example * // Create many BlobStorageIntegrations * const blobStorageIntegration = await prisma.blobStorageIntegration.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many BlobStorageIntegrations and only return the `projectId` * const blobStorageIntegrationWithProjectIdOnly = await prisma.blobStorageIntegration.createManyAndReturn({ * select: { projectId: 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 BlobStorageIntegration. * @param {BlobStorageIntegrationDeleteArgs} args - Arguments to delete one BlobStorageIntegration. * @example * // Delete one BlobStorageIntegration * const BlobStorageIntegration = await prisma.blobStorageIntegration.delete({ * where: { * // ... filter to delete one BlobStorageIntegration * } * }) * */ delete(args: SelectSubset>): Prisma__BlobStorageIntegrationClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one BlobStorageIntegration. * @param {BlobStorageIntegrationUpdateArgs} args - Arguments to update one BlobStorageIntegration. * @example * // Update one BlobStorageIntegration * const blobStorageIntegration = await prisma.blobStorageIntegration.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__BlobStorageIntegrationClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more BlobStorageIntegrations. * @param {BlobStorageIntegrationDeleteManyArgs} args - Arguments to filter BlobStorageIntegrations to delete. * @example * // Delete a few BlobStorageIntegrations * const { count } = await prisma.blobStorageIntegration.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more BlobStorageIntegrations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BlobStorageIntegrationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many BlobStorageIntegrations * const blobStorageIntegration = await prisma.blobStorageIntegration.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more BlobStorageIntegrations and returns the data updated in the database. * @param {BlobStorageIntegrationUpdateManyAndReturnArgs} args - Arguments to update many BlobStorageIntegrations. * @example * // Update many BlobStorageIntegrations * const blobStorageIntegration = await prisma.blobStorageIntegration.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more BlobStorageIntegrations and only return the `projectId` * const blobStorageIntegrationWithProjectIdOnly = await prisma.blobStorageIntegration.updateManyAndReturn({ * select: { projectId: 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 BlobStorageIntegration. * @param {BlobStorageIntegrationUpsertArgs} args - Arguments to update or create a BlobStorageIntegration. * @example * // Update or create a BlobStorageIntegration * const blobStorageIntegration = await prisma.blobStorageIntegration.upsert({ * create: { * // ... data to create a BlobStorageIntegration * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the BlobStorageIntegration we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__BlobStorageIntegrationClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of BlobStorageIntegrations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BlobStorageIntegrationCountArgs} args - Arguments to filter BlobStorageIntegrations to count. * @example * // Count the number of BlobStorageIntegrations * const count = await prisma.blobStorageIntegration.count({ * where: { * // ... the filter for the BlobStorageIntegrations 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 BlobStorageIntegration. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BlobStorageIntegrationAggregateArgs} 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 BlobStorageIntegration. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BlobStorageIntegrationGroupByArgs} 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 BlobStorageIntegrationGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: BlobStorageIntegrationGroupByArgs['orderBy'] } : { orderBy?: BlobStorageIntegrationGroupByArgs['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 ? GetBlobStorageIntegrationGroupByPayload : Prisma.PrismaPromise /** * Fields of the BlobStorageIntegration model */ readonly fields: BlobStorageIntegrationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for BlobStorageIntegration. * 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__BlobStorageIntegrationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$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 BlobStorageIntegration model */ interface BlobStorageIntegrationFieldRefs { readonly projectId: FieldRef<"BlobStorageIntegration", 'String'> readonly type: FieldRef<"BlobStorageIntegration", 'BlobStorageIntegrationType'> readonly bucketName: FieldRef<"BlobStorageIntegration", 'String'> readonly prefix: FieldRef<"BlobStorageIntegration", 'String'> readonly accessKeyId: FieldRef<"BlobStorageIntegration", 'String'> readonly secretAccessKey: FieldRef<"BlobStorageIntegration", 'String'> readonly region: FieldRef<"BlobStorageIntegration", 'String'> readonly endpoint: FieldRef<"BlobStorageIntegration", 'String'> readonly forcePathStyle: FieldRef<"BlobStorageIntegration", 'Boolean'> readonly nextSyncAt: FieldRef<"BlobStorageIntegration", 'DateTime'> readonly lastSyncAt: FieldRef<"BlobStorageIntegration", 'DateTime'> readonly enabled: FieldRef<"BlobStorageIntegration", 'Boolean'> readonly exportFrequency: FieldRef<"BlobStorageIntegration", 'String'> readonly fileType: FieldRef<"BlobStorageIntegration", 'BlobStorageIntegrationFileType'> readonly exportMode: FieldRef<"BlobStorageIntegration", 'BlobStorageExportMode'> readonly exportStartDate: FieldRef<"BlobStorageIntegration", 'DateTime'> readonly createdAt: FieldRef<"BlobStorageIntegration", 'DateTime'> readonly updatedAt: FieldRef<"BlobStorageIntegration", 'DateTime'> } // Custom InputTypes /** * BlobStorageIntegration findUnique */ export type BlobStorageIntegrationFindUniqueArgs = { /** * Select specific fields to fetch from the BlobStorageIntegration */ select?: BlobStorageIntegrationSelect | null /** * Omit specific fields from the BlobStorageIntegration */ omit?: BlobStorageIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: BlobStorageIntegrationInclude | null /** * Filter, which BlobStorageIntegration to fetch. */ where: BlobStorageIntegrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BlobStorageIntegration findUniqueOrThrow */ export type BlobStorageIntegrationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the BlobStorageIntegration */ select?: BlobStorageIntegrationSelect | null /** * Omit specific fields from the BlobStorageIntegration */ omit?: BlobStorageIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: BlobStorageIntegrationInclude | null /** * Filter, which BlobStorageIntegration to fetch. */ where: BlobStorageIntegrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BlobStorageIntegration findFirst */ export type BlobStorageIntegrationFindFirstArgs = { /** * Select specific fields to fetch from the BlobStorageIntegration */ select?: BlobStorageIntegrationSelect | null /** * Omit specific fields from the BlobStorageIntegration */ omit?: BlobStorageIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: BlobStorageIntegrationInclude | null /** * Filter, which BlobStorageIntegration to fetch. */ where?: BlobStorageIntegrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BlobStorageIntegrations to fetch. */ orderBy?: BlobStorageIntegrationOrderByWithRelationInput | BlobStorageIntegrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BlobStorageIntegrations. */ cursor?: BlobStorageIntegrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BlobStorageIntegrations 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` BlobStorageIntegrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BlobStorageIntegrations. */ distinct?: BlobStorageIntegrationScalarFieldEnum | BlobStorageIntegrationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * BlobStorageIntegration findFirstOrThrow */ export type BlobStorageIntegrationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the BlobStorageIntegration */ select?: BlobStorageIntegrationSelect | null /** * Omit specific fields from the BlobStorageIntegration */ omit?: BlobStorageIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: BlobStorageIntegrationInclude | null /** * Filter, which BlobStorageIntegration to fetch. */ where?: BlobStorageIntegrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BlobStorageIntegrations to fetch. */ orderBy?: BlobStorageIntegrationOrderByWithRelationInput | BlobStorageIntegrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BlobStorageIntegrations. */ cursor?: BlobStorageIntegrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BlobStorageIntegrations 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` BlobStorageIntegrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BlobStorageIntegrations. */ distinct?: BlobStorageIntegrationScalarFieldEnum | BlobStorageIntegrationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * BlobStorageIntegration findMany */ export type BlobStorageIntegrationFindManyArgs = { /** * Select specific fields to fetch from the BlobStorageIntegration */ select?: BlobStorageIntegrationSelect | null /** * Omit specific fields from the BlobStorageIntegration */ omit?: BlobStorageIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: BlobStorageIntegrationInclude | null /** * Filter, which BlobStorageIntegrations to fetch. */ where?: BlobStorageIntegrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BlobStorageIntegrations to fetch. */ orderBy?: BlobStorageIntegrationOrderByWithRelationInput | BlobStorageIntegrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing BlobStorageIntegrations. */ cursor?: BlobStorageIntegrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BlobStorageIntegrations 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` BlobStorageIntegrations. */ skip?: number distinct?: BlobStorageIntegrationScalarFieldEnum | BlobStorageIntegrationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * BlobStorageIntegration create */ export type BlobStorageIntegrationCreateArgs = { /** * Select specific fields to fetch from the BlobStorageIntegration */ select?: BlobStorageIntegrationSelect | null /** * Omit specific fields from the BlobStorageIntegration */ omit?: BlobStorageIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: BlobStorageIntegrationInclude | null /** * The data needed to create a BlobStorageIntegration. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * BlobStorageIntegration createMany */ export type BlobStorageIntegrationCreateManyArgs = { /** * The data used to create many BlobStorageIntegrations. */ data: BlobStorageIntegrationCreateManyInput | BlobStorageIntegrationCreateManyInput[] skipDuplicates?: boolean } /** * BlobStorageIntegration createManyAndReturn */ export type BlobStorageIntegrationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the BlobStorageIntegration */ select?: BlobStorageIntegrationSelectCreateManyAndReturn | null /** * Omit specific fields from the BlobStorageIntegration */ omit?: BlobStorageIntegrationOmit | null /** * The data used to create many BlobStorageIntegrations. */ data: BlobStorageIntegrationCreateManyInput | BlobStorageIntegrationCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: BlobStorageIntegrationIncludeCreateManyAndReturn | null } /** * BlobStorageIntegration update */ export type BlobStorageIntegrationUpdateArgs = { /** * Select specific fields to fetch from the BlobStorageIntegration */ select?: BlobStorageIntegrationSelect | null /** * Omit specific fields from the BlobStorageIntegration */ omit?: BlobStorageIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: BlobStorageIntegrationInclude | null /** * The data needed to update a BlobStorageIntegration. */ data: XOR /** * Choose, which BlobStorageIntegration to update. */ where: BlobStorageIntegrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BlobStorageIntegration updateMany */ export type BlobStorageIntegrationUpdateManyArgs = { /** * The data used to update BlobStorageIntegrations. */ data: XOR /** * Filter which BlobStorageIntegrations to update */ where?: BlobStorageIntegrationWhereInput /** * Limit how many BlobStorageIntegrations to update. */ limit?: number } /** * BlobStorageIntegration updateManyAndReturn */ export type BlobStorageIntegrationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the BlobStorageIntegration */ select?: BlobStorageIntegrationSelectUpdateManyAndReturn | null /** * Omit specific fields from the BlobStorageIntegration */ omit?: BlobStorageIntegrationOmit | null /** * The data used to update BlobStorageIntegrations. */ data: XOR /** * Filter which BlobStorageIntegrations to update */ where?: BlobStorageIntegrationWhereInput /** * Limit how many BlobStorageIntegrations to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: BlobStorageIntegrationIncludeUpdateManyAndReturn | null } /** * BlobStorageIntegration upsert */ export type BlobStorageIntegrationUpsertArgs = { /** * Select specific fields to fetch from the BlobStorageIntegration */ select?: BlobStorageIntegrationSelect | null /** * Omit specific fields from the BlobStorageIntegration */ omit?: BlobStorageIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: BlobStorageIntegrationInclude | null /** * The filter to search for the BlobStorageIntegration to update in case it exists. */ where: BlobStorageIntegrationWhereUniqueInput /** * In case the BlobStorageIntegration found by the `where` argument doesn't exist, create a new BlobStorageIntegration with this data. */ create: XOR /** * In case the BlobStorageIntegration was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * BlobStorageIntegration delete */ export type BlobStorageIntegrationDeleteArgs = { /** * Select specific fields to fetch from the BlobStorageIntegration */ select?: BlobStorageIntegrationSelect | null /** * Omit specific fields from the BlobStorageIntegration */ omit?: BlobStorageIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: BlobStorageIntegrationInclude | null /** * Filter which BlobStorageIntegration to delete. */ where: BlobStorageIntegrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BlobStorageIntegration deleteMany */ export type BlobStorageIntegrationDeleteManyArgs = { /** * Filter which BlobStorageIntegrations to delete */ where?: BlobStorageIntegrationWhereInput /** * Limit how many BlobStorageIntegrations to delete. */ limit?: number } /** * BlobStorageIntegration without action */ export type BlobStorageIntegrationDefaultArgs = { /** * Select specific fields to fetch from the BlobStorageIntegration */ select?: BlobStorageIntegrationSelect | null /** * Omit specific fields from the BlobStorageIntegration */ omit?: BlobStorageIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: BlobStorageIntegrationInclude | null } /** * Model BatchExport */ export type AggregateBatchExport = { _count: BatchExportCountAggregateOutputType | null _min: BatchExportMinAggregateOutputType | null _max: BatchExportMaxAggregateOutputType | null } export type BatchExportMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null userId: string | null finishedAt: Date | null expiresAt: Date | null name: string | null status: string | null format: string | null url: string | null log: string | null } export type BatchExportMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null userId: string | null finishedAt: Date | null expiresAt: Date | null name: string | null status: string | null format: string | null url: string | null log: string | null } export type BatchExportCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number userId: number finishedAt: number expiresAt: number name: number status: number query: number format: number url: number log: number _all: number } export type BatchExportMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true userId?: true finishedAt?: true expiresAt?: true name?: true status?: true format?: true url?: true log?: true } export type BatchExportMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true userId?: true finishedAt?: true expiresAt?: true name?: true status?: true format?: true url?: true log?: true } export type BatchExportCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true userId?: true finishedAt?: true expiresAt?: true name?: true status?: true query?: true format?: true url?: true log?: true _all?: true } export type BatchExportAggregateArgs = { /** * Filter which BatchExport to aggregate. */ where?: BatchExportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BatchExports to fetch. */ orderBy?: BatchExportOrderByWithRelationInput | BatchExportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: BatchExportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BatchExports 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` BatchExports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned BatchExports **/ _count?: true | BatchExportCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: BatchExportMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: BatchExportMaxAggregateInputType } export type GetBatchExportAggregateType = { [P in keyof T & keyof AggregateBatchExport]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type BatchExportGroupByArgs = { where?: BatchExportWhereInput orderBy?: BatchExportOrderByWithAggregationInput | BatchExportOrderByWithAggregationInput[] by: BatchExportScalarFieldEnum[] | BatchExportScalarFieldEnum having?: BatchExportScalarWhereWithAggregatesInput take?: number skip?: number _count?: BatchExportCountAggregateInputType | true _min?: BatchExportMinAggregateInputType _max?: BatchExportMaxAggregateInputType } export type BatchExportGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string userId: string finishedAt: Date | null expiresAt: Date | null name: string status: string query: JsonValue format: string url: string | null log: string | null _count: BatchExportCountAggregateOutputType | null _min: BatchExportMinAggregateOutputType | null _max: BatchExportMaxAggregateOutputType | null } type GetBatchExportGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof BatchExportGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type BatchExportSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean userId?: boolean finishedAt?: boolean expiresAt?: boolean name?: boolean status?: boolean query?: boolean format?: boolean url?: boolean log?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["batchExport"]> export type BatchExportSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean userId?: boolean finishedAt?: boolean expiresAt?: boolean name?: boolean status?: boolean query?: boolean format?: boolean url?: boolean log?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["batchExport"]> export type BatchExportSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean userId?: boolean finishedAt?: boolean expiresAt?: boolean name?: boolean status?: boolean query?: boolean format?: boolean url?: boolean log?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["batchExport"]> export type BatchExportSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean userId?: boolean finishedAt?: boolean expiresAt?: boolean name?: boolean status?: boolean query?: boolean format?: boolean url?: boolean log?: boolean } export type BatchExportOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "userId" | "finishedAt" | "expiresAt" | "name" | "status" | "query" | "format" | "url" | "log", ExtArgs["result"]["batchExport"]> export type BatchExportInclude = { project?: boolean | ProjectDefaultArgs } export type BatchExportIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type BatchExportIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $BatchExportPayload = { name: "BatchExport" objects: { project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string userId: string finishedAt: Date | null expiresAt: Date | null name: string status: string query: Prisma.JsonValue format: string url: string | null log: string | null }, ExtArgs["result"]["batchExport"]> composites: {} } type BatchExportGetPayload = $Result.GetResult type BatchExportCountArgs = Omit & { select?: BatchExportCountAggregateInputType | true } export interface BatchExportDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['BatchExport'], meta: { name: 'BatchExport' } } /** * Find zero or one BatchExport that matches the filter. * @param {BatchExportFindUniqueArgs} args - Arguments to find a BatchExport * @example * // Get one BatchExport * const batchExport = await prisma.batchExport.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__BatchExportClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one BatchExport that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {BatchExportFindUniqueOrThrowArgs} args - Arguments to find a BatchExport * @example * // Get one BatchExport * const batchExport = await prisma.batchExport.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__BatchExportClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first BatchExport 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 {BatchExportFindFirstArgs} args - Arguments to find a BatchExport * @example * // Get one BatchExport * const batchExport = await prisma.batchExport.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__BatchExportClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first BatchExport 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 {BatchExportFindFirstOrThrowArgs} args - Arguments to find a BatchExport * @example * // Get one BatchExport * const batchExport = await prisma.batchExport.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__BatchExportClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more BatchExports 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 {BatchExportFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all BatchExports * const batchExports = await prisma.batchExport.findMany() * * // Get first 10 BatchExports * const batchExports = await prisma.batchExport.findMany({ take: 10 }) * * // Only select the `id` * const batchExportWithIdOnly = await prisma.batchExport.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a BatchExport. * @param {BatchExportCreateArgs} args - Arguments to create a BatchExport. * @example * // Create one BatchExport * const BatchExport = await prisma.batchExport.create({ * data: { * // ... data to create a BatchExport * } * }) * */ create(args: SelectSubset>): Prisma__BatchExportClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many BatchExports. * @param {BatchExportCreateManyArgs} args - Arguments to create many BatchExports. * @example * // Create many BatchExports * const batchExport = await prisma.batchExport.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many BatchExports and returns the data saved in the database. * @param {BatchExportCreateManyAndReturnArgs} args - Arguments to create many BatchExports. * @example * // Create many BatchExports * const batchExport = await prisma.batchExport.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many BatchExports and only return the `id` * const batchExportWithIdOnly = await prisma.batchExport.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 BatchExport. * @param {BatchExportDeleteArgs} args - Arguments to delete one BatchExport. * @example * // Delete one BatchExport * const BatchExport = await prisma.batchExport.delete({ * where: { * // ... filter to delete one BatchExport * } * }) * */ delete(args: SelectSubset>): Prisma__BatchExportClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one BatchExport. * @param {BatchExportUpdateArgs} args - Arguments to update one BatchExport. * @example * // Update one BatchExport * const batchExport = await prisma.batchExport.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__BatchExportClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more BatchExports. * @param {BatchExportDeleteManyArgs} args - Arguments to filter BatchExports to delete. * @example * // Delete a few BatchExports * const { count } = await prisma.batchExport.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more BatchExports. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BatchExportUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many BatchExports * const batchExport = await prisma.batchExport.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more BatchExports and returns the data updated in the database. * @param {BatchExportUpdateManyAndReturnArgs} args - Arguments to update many BatchExports. * @example * // Update many BatchExports * const batchExport = await prisma.batchExport.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more BatchExports and only return the `id` * const batchExportWithIdOnly = await prisma.batchExport.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 BatchExport. * @param {BatchExportUpsertArgs} args - Arguments to update or create a BatchExport. * @example * // Update or create a BatchExport * const batchExport = await prisma.batchExport.upsert({ * create: { * // ... data to create a BatchExport * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the BatchExport we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__BatchExportClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of BatchExports. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BatchExportCountArgs} args - Arguments to filter BatchExports to count. * @example * // Count the number of BatchExports * const count = await prisma.batchExport.count({ * where: { * // ... the filter for the BatchExports 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 BatchExport. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BatchExportAggregateArgs} 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 BatchExport. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BatchExportGroupByArgs} 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 BatchExportGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: BatchExportGroupByArgs['orderBy'] } : { orderBy?: BatchExportGroupByArgs['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 ? GetBatchExportGroupByPayload : Prisma.PrismaPromise /** * Fields of the BatchExport model */ readonly fields: BatchExportFieldRefs; } /** * The delegate class that acts as a "Promise-like" for BatchExport. * 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__BatchExportClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$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 BatchExport model */ interface BatchExportFieldRefs { readonly id: FieldRef<"BatchExport", 'String'> readonly createdAt: FieldRef<"BatchExport", 'DateTime'> readonly updatedAt: FieldRef<"BatchExport", 'DateTime'> readonly projectId: FieldRef<"BatchExport", 'String'> readonly userId: FieldRef<"BatchExport", 'String'> readonly finishedAt: FieldRef<"BatchExport", 'DateTime'> readonly expiresAt: FieldRef<"BatchExport", 'DateTime'> readonly name: FieldRef<"BatchExport", 'String'> readonly status: FieldRef<"BatchExport", 'String'> readonly query: FieldRef<"BatchExport", 'Json'> readonly format: FieldRef<"BatchExport", 'String'> readonly url: FieldRef<"BatchExport", 'String'> readonly log: FieldRef<"BatchExport", 'String'> } // Custom InputTypes /** * BatchExport findUnique */ export type BatchExportFindUniqueArgs = { /** * Select specific fields to fetch from the BatchExport */ select?: BatchExportSelect | null /** * Omit specific fields from the BatchExport */ omit?: BatchExportOmit | null /** * Choose, which related nodes to fetch as well */ include?: BatchExportInclude | null /** * Filter, which BatchExport to fetch. */ where: BatchExportWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BatchExport findUniqueOrThrow */ export type BatchExportFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the BatchExport */ select?: BatchExportSelect | null /** * Omit specific fields from the BatchExport */ omit?: BatchExportOmit | null /** * Choose, which related nodes to fetch as well */ include?: BatchExportInclude | null /** * Filter, which BatchExport to fetch. */ where: BatchExportWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BatchExport findFirst */ export type BatchExportFindFirstArgs = { /** * Select specific fields to fetch from the BatchExport */ select?: BatchExportSelect | null /** * Omit specific fields from the BatchExport */ omit?: BatchExportOmit | null /** * Choose, which related nodes to fetch as well */ include?: BatchExportInclude | null /** * Filter, which BatchExport to fetch. */ where?: BatchExportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BatchExports to fetch. */ orderBy?: BatchExportOrderByWithRelationInput | BatchExportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BatchExports. */ cursor?: BatchExportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BatchExports 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` BatchExports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BatchExports. */ distinct?: BatchExportScalarFieldEnum | BatchExportScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * BatchExport findFirstOrThrow */ export type BatchExportFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the BatchExport */ select?: BatchExportSelect | null /** * Omit specific fields from the BatchExport */ omit?: BatchExportOmit | null /** * Choose, which related nodes to fetch as well */ include?: BatchExportInclude | null /** * Filter, which BatchExport to fetch. */ where?: BatchExportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BatchExports to fetch. */ orderBy?: BatchExportOrderByWithRelationInput | BatchExportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BatchExports. */ cursor?: BatchExportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BatchExports 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` BatchExports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BatchExports. */ distinct?: BatchExportScalarFieldEnum | BatchExportScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * BatchExport findMany */ export type BatchExportFindManyArgs = { /** * Select specific fields to fetch from the BatchExport */ select?: BatchExportSelect | null /** * Omit specific fields from the BatchExport */ omit?: BatchExportOmit | null /** * Choose, which related nodes to fetch as well */ include?: BatchExportInclude | null /** * Filter, which BatchExports to fetch. */ where?: BatchExportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BatchExports to fetch. */ orderBy?: BatchExportOrderByWithRelationInput | BatchExportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing BatchExports. */ cursor?: BatchExportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BatchExports 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` BatchExports. */ skip?: number distinct?: BatchExportScalarFieldEnum | BatchExportScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * BatchExport create */ export type BatchExportCreateArgs = { /** * Select specific fields to fetch from the BatchExport */ select?: BatchExportSelect | null /** * Omit specific fields from the BatchExport */ omit?: BatchExportOmit | null /** * Choose, which related nodes to fetch as well */ include?: BatchExportInclude | null /** * The data needed to create a BatchExport. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * BatchExport createMany */ export type BatchExportCreateManyArgs = { /** * The data used to create many BatchExports. */ data: BatchExportCreateManyInput | BatchExportCreateManyInput[] skipDuplicates?: boolean } /** * BatchExport createManyAndReturn */ export type BatchExportCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the BatchExport */ select?: BatchExportSelectCreateManyAndReturn | null /** * Omit specific fields from the BatchExport */ omit?: BatchExportOmit | null /** * The data used to create many BatchExports. */ data: BatchExportCreateManyInput | BatchExportCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: BatchExportIncludeCreateManyAndReturn | null } /** * BatchExport update */ export type BatchExportUpdateArgs = { /** * Select specific fields to fetch from the BatchExport */ select?: BatchExportSelect | null /** * Omit specific fields from the BatchExport */ omit?: BatchExportOmit | null /** * Choose, which related nodes to fetch as well */ include?: BatchExportInclude | null /** * The data needed to update a BatchExport. */ data: XOR /** * Choose, which BatchExport to update. */ where: BatchExportWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BatchExport updateMany */ export type BatchExportUpdateManyArgs = { /** * The data used to update BatchExports. */ data: XOR /** * Filter which BatchExports to update */ where?: BatchExportWhereInput /** * Limit how many BatchExports to update. */ limit?: number } /** * BatchExport updateManyAndReturn */ export type BatchExportUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the BatchExport */ select?: BatchExportSelectUpdateManyAndReturn | null /** * Omit specific fields from the BatchExport */ omit?: BatchExportOmit | null /** * The data used to update BatchExports. */ data: XOR /** * Filter which BatchExports to update */ where?: BatchExportWhereInput /** * Limit how many BatchExports to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: BatchExportIncludeUpdateManyAndReturn | null } /** * BatchExport upsert */ export type BatchExportUpsertArgs = { /** * Select specific fields to fetch from the BatchExport */ select?: BatchExportSelect | null /** * Omit specific fields from the BatchExport */ omit?: BatchExportOmit | null /** * Choose, which related nodes to fetch as well */ include?: BatchExportInclude | null /** * The filter to search for the BatchExport to update in case it exists. */ where: BatchExportWhereUniqueInput /** * In case the BatchExport found by the `where` argument doesn't exist, create a new BatchExport with this data. */ create: XOR /** * In case the BatchExport was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * BatchExport delete */ export type BatchExportDeleteArgs = { /** * Select specific fields to fetch from the BatchExport */ select?: BatchExportSelect | null /** * Omit specific fields from the BatchExport */ omit?: BatchExportOmit | null /** * Choose, which related nodes to fetch as well */ include?: BatchExportInclude | null /** * Filter which BatchExport to delete. */ where: BatchExportWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BatchExport deleteMany */ export type BatchExportDeleteManyArgs = { /** * Filter which BatchExports to delete */ where?: BatchExportWhereInput /** * Limit how many BatchExports to delete. */ limit?: number } /** * BatchExport without action */ export type BatchExportDefaultArgs = { /** * Select specific fields to fetch from the BatchExport */ select?: BatchExportSelect | null /** * Omit specific fields from the BatchExport */ omit?: BatchExportOmit | null /** * Choose, which related nodes to fetch as well */ include?: BatchExportInclude | null } /** * Model Media */ export type AggregateMedia = { _count: MediaCountAggregateOutputType | null _avg: MediaAvgAggregateOutputType | null _sum: MediaSumAggregateOutputType | null _min: MediaMinAggregateOutputType | null _max: MediaMaxAggregateOutputType | null } export type MediaAvgAggregateOutputType = { uploadHttpStatus: number | null contentLength: number | null } export type MediaSumAggregateOutputType = { uploadHttpStatus: number | null contentLength: bigint | null } export type MediaMinAggregateOutputType = { id: string | null sha256Hash: string | null projectId: string | null createdAt: Date | null updatedAt: Date | null uploadedAt: Date | null uploadHttpStatus: number | null uploadHttpError: string | null bucketPath: string | null bucketName: string | null contentType: string | null contentLength: bigint | null } export type MediaMaxAggregateOutputType = { id: string | null sha256Hash: string | null projectId: string | null createdAt: Date | null updatedAt: Date | null uploadedAt: Date | null uploadHttpStatus: number | null uploadHttpError: string | null bucketPath: string | null bucketName: string | null contentType: string | null contentLength: bigint | null } export type MediaCountAggregateOutputType = { id: number sha256Hash: number projectId: number createdAt: number updatedAt: number uploadedAt: number uploadHttpStatus: number uploadHttpError: number bucketPath: number bucketName: number contentType: number contentLength: number _all: number } export type MediaAvgAggregateInputType = { uploadHttpStatus?: true contentLength?: true } export type MediaSumAggregateInputType = { uploadHttpStatus?: true contentLength?: true } export type MediaMinAggregateInputType = { id?: true sha256Hash?: true projectId?: true createdAt?: true updatedAt?: true uploadedAt?: true uploadHttpStatus?: true uploadHttpError?: true bucketPath?: true bucketName?: true contentType?: true contentLength?: true } export type MediaMaxAggregateInputType = { id?: true sha256Hash?: true projectId?: true createdAt?: true updatedAt?: true uploadedAt?: true uploadHttpStatus?: true uploadHttpError?: true bucketPath?: true bucketName?: true contentType?: true contentLength?: true } export type MediaCountAggregateInputType = { id?: true sha256Hash?: true projectId?: true createdAt?: true updatedAt?: true uploadedAt?: true uploadHttpStatus?: true uploadHttpError?: true bucketPath?: true bucketName?: true contentType?: true contentLength?: true _all?: true } export type MediaAggregateArgs = { /** * Filter which Media to aggregate. */ where?: MediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Media to fetch. */ orderBy?: MediaOrderByWithRelationInput | MediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: MediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Media 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` Media. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Media **/ _count?: true | MediaCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: MediaAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: MediaSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: MediaMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: MediaMaxAggregateInputType } export type GetMediaAggregateType = { [P in keyof T & keyof AggregateMedia]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type MediaGroupByArgs = { where?: MediaWhereInput orderBy?: MediaOrderByWithAggregationInput | MediaOrderByWithAggregationInput[] by: MediaScalarFieldEnum[] | MediaScalarFieldEnum having?: MediaScalarWhereWithAggregatesInput take?: number skip?: number _count?: MediaCountAggregateInputType | true _avg?: MediaAvgAggregateInputType _sum?: MediaSumAggregateInputType _min?: MediaMinAggregateInputType _max?: MediaMaxAggregateInputType } export type MediaGroupByOutputType = { id: string sha256Hash: string projectId: string createdAt: Date updatedAt: Date uploadedAt: Date | null uploadHttpStatus: number | null uploadHttpError: string | null bucketPath: string bucketName: string contentType: string contentLength: bigint _count: MediaCountAggregateOutputType | null _avg: MediaAvgAggregateOutputType | null _sum: MediaSumAggregateOutputType | null _min: MediaMinAggregateOutputType | null _max: MediaMaxAggregateOutputType | null } type GetMediaGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof MediaGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type MediaSelect = $Extensions.GetSelect<{ id?: boolean sha256Hash?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean uploadedAt?: boolean uploadHttpStatus?: boolean uploadHttpError?: boolean bucketPath?: boolean bucketName?: boolean contentType?: boolean contentLength?: boolean project?: boolean | ProjectDefaultArgs TraceMedia?: boolean | Media$TraceMediaArgs ObservationMedia?: boolean | Media$ObservationMediaArgs _count?: boolean | MediaCountOutputTypeDefaultArgs }, ExtArgs["result"]["media"]> export type MediaSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean sha256Hash?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean uploadedAt?: boolean uploadHttpStatus?: boolean uploadHttpError?: boolean bucketPath?: boolean bucketName?: boolean contentType?: boolean contentLength?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["media"]> export type MediaSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean sha256Hash?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean uploadedAt?: boolean uploadHttpStatus?: boolean uploadHttpError?: boolean bucketPath?: boolean bucketName?: boolean contentType?: boolean contentLength?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["media"]> export type MediaSelectScalar = { id?: boolean sha256Hash?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean uploadedAt?: boolean uploadHttpStatus?: boolean uploadHttpError?: boolean bucketPath?: boolean bucketName?: boolean contentType?: boolean contentLength?: boolean } export type MediaOmit = $Extensions.GetOmit<"id" | "sha256Hash" | "projectId" | "createdAt" | "updatedAt" | "uploadedAt" | "uploadHttpStatus" | "uploadHttpError" | "bucketPath" | "bucketName" | "contentType" | "contentLength", ExtArgs["result"]["media"]> export type MediaInclude = { project?: boolean | ProjectDefaultArgs TraceMedia?: boolean | Media$TraceMediaArgs ObservationMedia?: boolean | Media$ObservationMediaArgs _count?: boolean | MediaCountOutputTypeDefaultArgs } export type MediaIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type MediaIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $MediaPayload = { name: "Media" objects: { project: Prisma.$ProjectPayload TraceMedia: Prisma.$TraceMediaPayload[] ObservationMedia: Prisma.$ObservationMediaPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string sha256Hash: string projectId: string createdAt: Date updatedAt: Date uploadedAt: Date | null uploadHttpStatus: number | null uploadHttpError: string | null bucketPath: string bucketName: string contentType: string contentLength: bigint }, ExtArgs["result"]["media"]> composites: {} } type MediaGetPayload = $Result.GetResult type MediaCountArgs = Omit & { select?: MediaCountAggregateInputType | true } export interface MediaDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Media'], meta: { name: 'Media' } } /** * Find zero or one Media that matches the filter. * @param {MediaFindUniqueArgs} args - Arguments to find a Media * @example * // Get one Media * const media = await prisma.media.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__MediaClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Media that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {MediaFindUniqueOrThrowArgs} args - Arguments to find a Media * @example * // Get one Media * const media = await prisma.media.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__MediaClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Media 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 {MediaFindFirstArgs} args - Arguments to find a Media * @example * // Get one Media * const media = await prisma.media.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__MediaClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Media 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 {MediaFindFirstOrThrowArgs} args - Arguments to find a Media * @example * // Get one Media * const media = await prisma.media.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__MediaClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Media 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 {MediaFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Media * const media = await prisma.media.findMany() * * // Get first 10 Media * const media = await prisma.media.findMany({ take: 10 }) * * // Only select the `id` * const mediaWithIdOnly = await prisma.media.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Media. * @param {MediaCreateArgs} args - Arguments to create a Media. * @example * // Create one Media * const Media = await prisma.media.create({ * data: { * // ... data to create a Media * } * }) * */ create(args: SelectSubset>): Prisma__MediaClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Media. * @param {MediaCreateManyArgs} args - Arguments to create many Media. * @example * // Create many Media * const media = await prisma.media.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Media and returns the data saved in the database. * @param {MediaCreateManyAndReturnArgs} args - Arguments to create many Media. * @example * // Create many Media * const media = await prisma.media.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Media and only return the `id` * const mediaWithIdOnly = await prisma.media.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 Media. * @param {MediaDeleteArgs} args - Arguments to delete one Media. * @example * // Delete one Media * const Media = await prisma.media.delete({ * where: { * // ... filter to delete one Media * } * }) * */ delete(args: SelectSubset>): Prisma__MediaClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Media. * @param {MediaUpdateArgs} args - Arguments to update one Media. * @example * // Update one Media * const media = await prisma.media.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__MediaClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Media. * @param {MediaDeleteManyArgs} args - Arguments to filter Media to delete. * @example * // Delete a few Media * const { count } = await prisma.media.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Media. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MediaUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Media * const media = await prisma.media.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Media and returns the data updated in the database. * @param {MediaUpdateManyAndReturnArgs} args - Arguments to update many Media. * @example * // Update many Media * const media = await prisma.media.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Media and only return the `id` * const mediaWithIdOnly = await prisma.media.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 Media. * @param {MediaUpsertArgs} args - Arguments to update or create a Media. * @example * // Update or create a Media * const media = await prisma.media.upsert({ * create: { * // ... data to create a Media * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Media we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__MediaClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Media. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MediaCountArgs} args - Arguments to filter Media to count. * @example * // Count the number of Media * const count = await prisma.media.count({ * where: { * // ... the filter for the Media 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 Media. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MediaAggregateArgs} 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 Media. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MediaGroupByArgs} 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 MediaGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: MediaGroupByArgs['orderBy'] } : { orderBy?: MediaGroupByArgs['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 ? GetMediaGroupByPayload : Prisma.PrismaPromise /** * Fields of the Media model */ readonly fields: MediaFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Media. * 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__MediaClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> TraceMedia = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> ObservationMedia = {}>(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 Media model */ interface MediaFieldRefs { readonly id: FieldRef<"Media", 'String'> readonly sha256Hash: FieldRef<"Media", 'String'> readonly projectId: FieldRef<"Media", 'String'> readonly createdAt: FieldRef<"Media", 'DateTime'> readonly updatedAt: FieldRef<"Media", 'DateTime'> readonly uploadedAt: FieldRef<"Media", 'DateTime'> readonly uploadHttpStatus: FieldRef<"Media", 'Int'> readonly uploadHttpError: FieldRef<"Media", 'String'> readonly bucketPath: FieldRef<"Media", 'String'> readonly bucketName: FieldRef<"Media", 'String'> readonly contentType: FieldRef<"Media", 'String'> readonly contentLength: FieldRef<"Media", 'BigInt'> } // Custom InputTypes /** * Media findUnique */ export type MediaFindUniqueArgs = { /** * Select specific fields to fetch from the Media */ select?: MediaSelect | null /** * Omit specific fields from the Media */ omit?: MediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: MediaInclude | null /** * Filter, which Media to fetch. */ where: MediaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Media findUniqueOrThrow */ export type MediaFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Media */ select?: MediaSelect | null /** * Omit specific fields from the Media */ omit?: MediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: MediaInclude | null /** * Filter, which Media to fetch. */ where: MediaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Media findFirst */ export type MediaFindFirstArgs = { /** * Select specific fields to fetch from the Media */ select?: MediaSelect | null /** * Omit specific fields from the Media */ omit?: MediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: MediaInclude | null /** * Filter, which Media to fetch. */ where?: MediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Media to fetch. */ orderBy?: MediaOrderByWithRelationInput | MediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Media. */ cursor?: MediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Media 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` Media. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Media. */ distinct?: MediaScalarFieldEnum | MediaScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Media findFirstOrThrow */ export type MediaFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Media */ select?: MediaSelect | null /** * Omit specific fields from the Media */ omit?: MediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: MediaInclude | null /** * Filter, which Media to fetch. */ where?: MediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Media to fetch. */ orderBy?: MediaOrderByWithRelationInput | MediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Media. */ cursor?: MediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Media 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` Media. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Media. */ distinct?: MediaScalarFieldEnum | MediaScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Media findMany */ export type MediaFindManyArgs = { /** * Select specific fields to fetch from the Media */ select?: MediaSelect | null /** * Omit specific fields from the Media */ omit?: MediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: MediaInclude | null /** * Filter, which Media to fetch. */ where?: MediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Media to fetch. */ orderBy?: MediaOrderByWithRelationInput | MediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Media. */ cursor?: MediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Media 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` Media. */ skip?: number distinct?: MediaScalarFieldEnum | MediaScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Media create */ export type MediaCreateArgs = { /** * Select specific fields to fetch from the Media */ select?: MediaSelect | null /** * Omit specific fields from the Media */ omit?: MediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: MediaInclude | null /** * The data needed to create a Media. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Media createMany */ export type MediaCreateManyArgs = { /** * The data used to create many Media. */ data: MediaCreateManyInput | MediaCreateManyInput[] skipDuplicates?: boolean } /** * Media createManyAndReturn */ export type MediaCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Media */ select?: MediaSelectCreateManyAndReturn | null /** * Omit specific fields from the Media */ omit?: MediaOmit | null /** * The data used to create many Media. */ data: MediaCreateManyInput | MediaCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: MediaIncludeCreateManyAndReturn | null } /** * Media update */ export type MediaUpdateArgs = { /** * Select specific fields to fetch from the Media */ select?: MediaSelect | null /** * Omit specific fields from the Media */ omit?: MediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: MediaInclude | null /** * The data needed to update a Media. */ data: XOR /** * Choose, which Media to update. */ where: MediaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Media updateMany */ export type MediaUpdateManyArgs = { /** * The data used to update Media. */ data: XOR /** * Filter which Media to update */ where?: MediaWhereInput /** * Limit how many Media to update. */ limit?: number } /** * Media updateManyAndReturn */ export type MediaUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Media */ select?: MediaSelectUpdateManyAndReturn | null /** * Omit specific fields from the Media */ omit?: MediaOmit | null /** * The data used to update Media. */ data: XOR /** * Filter which Media to update */ where?: MediaWhereInput /** * Limit how many Media to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: MediaIncludeUpdateManyAndReturn | null } /** * Media upsert */ export type MediaUpsertArgs = { /** * Select specific fields to fetch from the Media */ select?: MediaSelect | null /** * Omit specific fields from the Media */ omit?: MediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: MediaInclude | null /** * The filter to search for the Media to update in case it exists. */ where: MediaWhereUniqueInput /** * In case the Media found by the `where` argument doesn't exist, create a new Media with this data. */ create: XOR /** * In case the Media was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Media delete */ export type MediaDeleteArgs = { /** * Select specific fields to fetch from the Media */ select?: MediaSelect | null /** * Omit specific fields from the Media */ omit?: MediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: MediaInclude | null /** * Filter which Media to delete. */ where: MediaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Media deleteMany */ export type MediaDeleteManyArgs = { /** * Filter which Media to delete */ where?: MediaWhereInput /** * Limit how many Media to delete. */ limit?: number } /** * Media.TraceMedia */ export type Media$TraceMediaArgs = { /** * Select specific fields to fetch from the TraceMedia */ select?: TraceMediaSelect | null /** * Omit specific fields from the TraceMedia */ omit?: TraceMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceMediaInclude | null where?: TraceMediaWhereInput orderBy?: TraceMediaOrderByWithRelationInput | TraceMediaOrderByWithRelationInput[] cursor?: TraceMediaWhereUniqueInput take?: number skip?: number distinct?: TraceMediaScalarFieldEnum | TraceMediaScalarFieldEnum[] } /** * Media.ObservationMedia */ export type Media$ObservationMediaArgs = { /** * Select specific fields to fetch from the ObservationMedia */ select?: ObservationMediaSelect | null /** * Omit specific fields from the ObservationMedia */ omit?: ObservationMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: ObservationMediaInclude | null where?: ObservationMediaWhereInput orderBy?: ObservationMediaOrderByWithRelationInput | ObservationMediaOrderByWithRelationInput[] cursor?: ObservationMediaWhereUniqueInput take?: number skip?: number distinct?: ObservationMediaScalarFieldEnum | ObservationMediaScalarFieldEnum[] } /** * Media without action */ export type MediaDefaultArgs = { /** * Select specific fields to fetch from the Media */ select?: MediaSelect | null /** * Omit specific fields from the Media */ omit?: MediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: MediaInclude | null } /** * Model TraceMedia */ export type AggregateTraceMedia = { _count: TraceMediaCountAggregateOutputType | null _min: TraceMediaMinAggregateOutputType | null _max: TraceMediaMaxAggregateOutputType | null } export type TraceMediaMinAggregateOutputType = { id: string | null projectId: string | null createdAt: Date | null updatedAt: Date | null mediaId: string | null traceId: string | null field: string | null } export type TraceMediaMaxAggregateOutputType = { id: string | null projectId: string | null createdAt: Date | null updatedAt: Date | null mediaId: string | null traceId: string | null field: string | null } export type TraceMediaCountAggregateOutputType = { id: number projectId: number createdAt: number updatedAt: number mediaId: number traceId: number field: number _all: number } export type TraceMediaMinAggregateInputType = { id?: true projectId?: true createdAt?: true updatedAt?: true mediaId?: true traceId?: true field?: true } export type TraceMediaMaxAggregateInputType = { id?: true projectId?: true createdAt?: true updatedAt?: true mediaId?: true traceId?: true field?: true } export type TraceMediaCountAggregateInputType = { id?: true projectId?: true createdAt?: true updatedAt?: true mediaId?: true traceId?: true field?: true _all?: true } export type TraceMediaAggregateArgs = { /** * Filter which TraceMedia to aggregate. */ where?: TraceMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TraceMedias to fetch. */ orderBy?: TraceMediaOrderByWithRelationInput | TraceMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: TraceMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TraceMedias 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` TraceMedias. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TraceMedias **/ _count?: true | TraceMediaCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TraceMediaMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TraceMediaMaxAggregateInputType } export type GetTraceMediaAggregateType = { [P in keyof T & keyof AggregateTraceMedia]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type TraceMediaGroupByArgs = { where?: TraceMediaWhereInput orderBy?: TraceMediaOrderByWithAggregationInput | TraceMediaOrderByWithAggregationInput[] by: TraceMediaScalarFieldEnum[] | TraceMediaScalarFieldEnum having?: TraceMediaScalarWhereWithAggregatesInput take?: number skip?: number _count?: TraceMediaCountAggregateInputType | true _min?: TraceMediaMinAggregateInputType _max?: TraceMediaMaxAggregateInputType } export type TraceMediaGroupByOutputType = { id: string projectId: string createdAt: Date updatedAt: Date mediaId: string traceId: string field: string _count: TraceMediaCountAggregateOutputType | null _min: TraceMediaMinAggregateOutputType | null _max: TraceMediaMaxAggregateOutputType | null } type GetTraceMediaGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof TraceMediaGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type TraceMediaSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean mediaId?: boolean traceId?: boolean field?: boolean project?: boolean | ProjectDefaultArgs media?: boolean | MediaDefaultArgs }, ExtArgs["result"]["traceMedia"]> export type TraceMediaSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean mediaId?: boolean traceId?: boolean field?: boolean project?: boolean | ProjectDefaultArgs media?: boolean | MediaDefaultArgs }, ExtArgs["result"]["traceMedia"]> export type TraceMediaSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean mediaId?: boolean traceId?: boolean field?: boolean project?: boolean | ProjectDefaultArgs media?: boolean | MediaDefaultArgs }, ExtArgs["result"]["traceMedia"]> export type TraceMediaSelectScalar = { id?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean mediaId?: boolean traceId?: boolean field?: boolean } export type TraceMediaOmit = $Extensions.GetOmit<"id" | "projectId" | "createdAt" | "updatedAt" | "mediaId" | "traceId" | "field", ExtArgs["result"]["traceMedia"]> export type TraceMediaInclude = { project?: boolean | ProjectDefaultArgs media?: boolean | MediaDefaultArgs } export type TraceMediaIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs media?: boolean | MediaDefaultArgs } export type TraceMediaIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs media?: boolean | MediaDefaultArgs } export type $TraceMediaPayload = { name: "TraceMedia" objects: { project: Prisma.$ProjectPayload media: Prisma.$MediaPayload } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string createdAt: Date updatedAt: Date mediaId: string traceId: string field: string }, ExtArgs["result"]["traceMedia"]> composites: {} } type TraceMediaGetPayload = $Result.GetResult type TraceMediaCountArgs = Omit & { select?: TraceMediaCountAggregateInputType | true } export interface TraceMediaDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TraceMedia'], meta: { name: 'TraceMedia' } } /** * Find zero or one TraceMedia that matches the filter. * @param {TraceMediaFindUniqueArgs} args - Arguments to find a TraceMedia * @example * // Get one TraceMedia * const traceMedia = await prisma.traceMedia.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__TraceMediaClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TraceMedia that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TraceMediaFindUniqueOrThrowArgs} args - Arguments to find a TraceMedia * @example * // Get one TraceMedia * const traceMedia = await prisma.traceMedia.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__TraceMediaClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TraceMedia 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 {TraceMediaFindFirstArgs} args - Arguments to find a TraceMedia * @example * // Get one TraceMedia * const traceMedia = await prisma.traceMedia.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__TraceMediaClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TraceMedia 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 {TraceMediaFindFirstOrThrowArgs} args - Arguments to find a TraceMedia * @example * // Get one TraceMedia * const traceMedia = await prisma.traceMedia.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__TraceMediaClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TraceMedias 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 {TraceMediaFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TraceMedias * const traceMedias = await prisma.traceMedia.findMany() * * // Get first 10 TraceMedias * const traceMedias = await prisma.traceMedia.findMany({ take: 10 }) * * // Only select the `id` * const traceMediaWithIdOnly = await prisma.traceMedia.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a TraceMedia. * @param {TraceMediaCreateArgs} args - Arguments to create a TraceMedia. * @example * // Create one TraceMedia * const TraceMedia = await prisma.traceMedia.create({ * data: { * // ... data to create a TraceMedia * } * }) * */ create(args: SelectSubset>): Prisma__TraceMediaClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TraceMedias. * @param {TraceMediaCreateManyArgs} args - Arguments to create many TraceMedias. * @example * // Create many TraceMedias * const traceMedia = await prisma.traceMedia.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many TraceMedias and returns the data saved in the database. * @param {TraceMediaCreateManyAndReturnArgs} args - Arguments to create many TraceMedias. * @example * // Create many TraceMedias * const traceMedia = await prisma.traceMedia.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TraceMedias and only return the `id` * const traceMediaWithIdOnly = await prisma.traceMedia.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 TraceMedia. * @param {TraceMediaDeleteArgs} args - Arguments to delete one TraceMedia. * @example * // Delete one TraceMedia * const TraceMedia = await prisma.traceMedia.delete({ * where: { * // ... filter to delete one TraceMedia * } * }) * */ delete(args: SelectSubset>): Prisma__TraceMediaClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TraceMedia. * @param {TraceMediaUpdateArgs} args - Arguments to update one TraceMedia. * @example * // Update one TraceMedia * const traceMedia = await prisma.traceMedia.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__TraceMediaClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TraceMedias. * @param {TraceMediaDeleteManyArgs} args - Arguments to filter TraceMedias to delete. * @example * // Delete a few TraceMedias * const { count } = await prisma.traceMedia.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TraceMedias. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TraceMediaUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TraceMedias * const traceMedia = await prisma.traceMedia.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TraceMedias and returns the data updated in the database. * @param {TraceMediaUpdateManyAndReturnArgs} args - Arguments to update many TraceMedias. * @example * // Update many TraceMedias * const traceMedia = await prisma.traceMedia.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TraceMedias and only return the `id` * const traceMediaWithIdOnly = await prisma.traceMedia.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 TraceMedia. * @param {TraceMediaUpsertArgs} args - Arguments to update or create a TraceMedia. * @example * // Update or create a TraceMedia * const traceMedia = await prisma.traceMedia.upsert({ * create: { * // ... data to create a TraceMedia * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TraceMedia we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__TraceMediaClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TraceMedias. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TraceMediaCountArgs} args - Arguments to filter TraceMedias to count. * @example * // Count the number of TraceMedias * const count = await prisma.traceMedia.count({ * where: { * // ... the filter for the TraceMedias 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 TraceMedia. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TraceMediaAggregateArgs} 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 TraceMedia. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TraceMediaGroupByArgs} 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 TraceMediaGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: TraceMediaGroupByArgs['orderBy'] } : { orderBy?: TraceMediaGroupByArgs['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 ? GetTraceMediaGroupByPayload : Prisma.PrismaPromise /** * Fields of the TraceMedia model */ readonly fields: TraceMediaFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TraceMedia. * 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__TraceMediaClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> media = {}>(args?: Subset>): Prisma__MediaClient<$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 TraceMedia model */ interface TraceMediaFieldRefs { readonly id: FieldRef<"TraceMedia", 'String'> readonly projectId: FieldRef<"TraceMedia", 'String'> readonly createdAt: FieldRef<"TraceMedia", 'DateTime'> readonly updatedAt: FieldRef<"TraceMedia", 'DateTime'> readonly mediaId: FieldRef<"TraceMedia", 'String'> readonly traceId: FieldRef<"TraceMedia", 'String'> readonly field: FieldRef<"TraceMedia", 'String'> } // Custom InputTypes /** * TraceMedia findUnique */ export type TraceMediaFindUniqueArgs = { /** * Select specific fields to fetch from the TraceMedia */ select?: TraceMediaSelect | null /** * Omit specific fields from the TraceMedia */ omit?: TraceMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceMediaInclude | null /** * Filter, which TraceMedia to fetch. */ where: TraceMediaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * TraceMedia findUniqueOrThrow */ export type TraceMediaFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TraceMedia */ select?: TraceMediaSelect | null /** * Omit specific fields from the TraceMedia */ omit?: TraceMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceMediaInclude | null /** * Filter, which TraceMedia to fetch. */ where: TraceMediaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * TraceMedia findFirst */ export type TraceMediaFindFirstArgs = { /** * Select specific fields to fetch from the TraceMedia */ select?: TraceMediaSelect | null /** * Omit specific fields from the TraceMedia */ omit?: TraceMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceMediaInclude | null /** * Filter, which TraceMedia to fetch. */ where?: TraceMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TraceMedias to fetch. */ orderBy?: TraceMediaOrderByWithRelationInput | TraceMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TraceMedias. */ cursor?: TraceMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TraceMedias 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` TraceMedias. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TraceMedias. */ distinct?: TraceMediaScalarFieldEnum | TraceMediaScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * TraceMedia findFirstOrThrow */ export type TraceMediaFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TraceMedia */ select?: TraceMediaSelect | null /** * Omit specific fields from the TraceMedia */ omit?: TraceMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceMediaInclude | null /** * Filter, which TraceMedia to fetch. */ where?: TraceMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TraceMedias to fetch. */ orderBy?: TraceMediaOrderByWithRelationInput | TraceMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TraceMedias. */ cursor?: TraceMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TraceMedias 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` TraceMedias. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TraceMedias. */ distinct?: TraceMediaScalarFieldEnum | TraceMediaScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * TraceMedia findMany */ export type TraceMediaFindManyArgs = { /** * Select specific fields to fetch from the TraceMedia */ select?: TraceMediaSelect | null /** * Omit specific fields from the TraceMedia */ omit?: TraceMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceMediaInclude | null /** * Filter, which TraceMedias to fetch. */ where?: TraceMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TraceMedias to fetch. */ orderBy?: TraceMediaOrderByWithRelationInput | TraceMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TraceMedias. */ cursor?: TraceMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TraceMedias 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` TraceMedias. */ skip?: number distinct?: TraceMediaScalarFieldEnum | TraceMediaScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * TraceMedia create */ export type TraceMediaCreateArgs = { /** * Select specific fields to fetch from the TraceMedia */ select?: TraceMediaSelect | null /** * Omit specific fields from the TraceMedia */ omit?: TraceMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceMediaInclude | null /** * The data needed to create a TraceMedia. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * TraceMedia createMany */ export type TraceMediaCreateManyArgs = { /** * The data used to create many TraceMedias. */ data: TraceMediaCreateManyInput | TraceMediaCreateManyInput[] skipDuplicates?: boolean } /** * TraceMedia createManyAndReturn */ export type TraceMediaCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TraceMedia */ select?: TraceMediaSelectCreateManyAndReturn | null /** * Omit specific fields from the TraceMedia */ omit?: TraceMediaOmit | null /** * The data used to create many TraceMedias. */ data: TraceMediaCreateManyInput | TraceMediaCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: TraceMediaIncludeCreateManyAndReturn | null } /** * TraceMedia update */ export type TraceMediaUpdateArgs = { /** * Select specific fields to fetch from the TraceMedia */ select?: TraceMediaSelect | null /** * Omit specific fields from the TraceMedia */ omit?: TraceMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceMediaInclude | null /** * The data needed to update a TraceMedia. */ data: XOR /** * Choose, which TraceMedia to update. */ where: TraceMediaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * TraceMedia updateMany */ export type TraceMediaUpdateManyArgs = { /** * The data used to update TraceMedias. */ data: XOR /** * Filter which TraceMedias to update */ where?: TraceMediaWhereInput /** * Limit how many TraceMedias to update. */ limit?: number } /** * TraceMedia updateManyAndReturn */ export type TraceMediaUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TraceMedia */ select?: TraceMediaSelectUpdateManyAndReturn | null /** * Omit specific fields from the TraceMedia */ omit?: TraceMediaOmit | null /** * The data used to update TraceMedias. */ data: XOR /** * Filter which TraceMedias to update */ where?: TraceMediaWhereInput /** * Limit how many TraceMedias to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: TraceMediaIncludeUpdateManyAndReturn | null } /** * TraceMedia upsert */ export type TraceMediaUpsertArgs = { /** * Select specific fields to fetch from the TraceMedia */ select?: TraceMediaSelect | null /** * Omit specific fields from the TraceMedia */ omit?: TraceMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceMediaInclude | null /** * The filter to search for the TraceMedia to update in case it exists. */ where: TraceMediaWhereUniqueInput /** * In case the TraceMedia found by the `where` argument doesn't exist, create a new TraceMedia with this data. */ create: XOR /** * In case the TraceMedia was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * TraceMedia delete */ export type TraceMediaDeleteArgs = { /** * Select specific fields to fetch from the TraceMedia */ select?: TraceMediaSelect | null /** * Omit specific fields from the TraceMedia */ omit?: TraceMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceMediaInclude | null /** * Filter which TraceMedia to delete. */ where: TraceMediaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * TraceMedia deleteMany */ export type TraceMediaDeleteManyArgs = { /** * Filter which TraceMedias to delete */ where?: TraceMediaWhereInput /** * Limit how many TraceMedias to delete. */ limit?: number } /** * TraceMedia without action */ export type TraceMediaDefaultArgs = { /** * Select specific fields to fetch from the TraceMedia */ select?: TraceMediaSelect | null /** * Omit specific fields from the TraceMedia */ omit?: TraceMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: TraceMediaInclude | null } /** * Model ObservationMedia */ export type AggregateObservationMedia = { _count: ObservationMediaCountAggregateOutputType | null _min: ObservationMediaMinAggregateOutputType | null _max: ObservationMediaMaxAggregateOutputType | null } export type ObservationMediaMinAggregateOutputType = { id: string | null projectId: string | null createdAt: Date | null updatedAt: Date | null mediaId: string | null traceId: string | null observationId: string | null field: string | null } export type ObservationMediaMaxAggregateOutputType = { id: string | null projectId: string | null createdAt: Date | null updatedAt: Date | null mediaId: string | null traceId: string | null observationId: string | null field: string | null } export type ObservationMediaCountAggregateOutputType = { id: number projectId: number createdAt: number updatedAt: number mediaId: number traceId: number observationId: number field: number _all: number } export type ObservationMediaMinAggregateInputType = { id?: true projectId?: true createdAt?: true updatedAt?: true mediaId?: true traceId?: true observationId?: true field?: true } export type ObservationMediaMaxAggregateInputType = { id?: true projectId?: true createdAt?: true updatedAt?: true mediaId?: true traceId?: true observationId?: true field?: true } export type ObservationMediaCountAggregateInputType = { id?: true projectId?: true createdAt?: true updatedAt?: true mediaId?: true traceId?: true observationId?: true field?: true _all?: true } export type ObservationMediaAggregateArgs = { /** * Filter which ObservationMedia to aggregate. */ where?: ObservationMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ObservationMedias to fetch. */ orderBy?: ObservationMediaOrderByWithRelationInput | ObservationMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ObservationMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ObservationMedias 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` ObservationMedias. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ObservationMedias **/ _count?: true | ObservationMediaCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ObservationMediaMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ObservationMediaMaxAggregateInputType } export type GetObservationMediaAggregateType = { [P in keyof T & keyof AggregateObservationMedia]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ObservationMediaGroupByArgs = { where?: ObservationMediaWhereInput orderBy?: ObservationMediaOrderByWithAggregationInput | ObservationMediaOrderByWithAggregationInput[] by: ObservationMediaScalarFieldEnum[] | ObservationMediaScalarFieldEnum having?: ObservationMediaScalarWhereWithAggregatesInput take?: number skip?: number _count?: ObservationMediaCountAggregateInputType | true _min?: ObservationMediaMinAggregateInputType _max?: ObservationMediaMaxAggregateInputType } export type ObservationMediaGroupByOutputType = { id: string projectId: string createdAt: Date updatedAt: Date mediaId: string traceId: string observationId: string field: string _count: ObservationMediaCountAggregateOutputType | null _min: ObservationMediaMinAggregateOutputType | null _max: ObservationMediaMaxAggregateOutputType | null } type GetObservationMediaGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ObservationMediaGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ObservationMediaSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean mediaId?: boolean traceId?: boolean observationId?: boolean field?: boolean project?: boolean | ProjectDefaultArgs media?: boolean | MediaDefaultArgs }, ExtArgs["result"]["observationMedia"]> export type ObservationMediaSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean mediaId?: boolean traceId?: boolean observationId?: boolean field?: boolean project?: boolean | ProjectDefaultArgs media?: boolean | MediaDefaultArgs }, ExtArgs["result"]["observationMedia"]> export type ObservationMediaSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean mediaId?: boolean traceId?: boolean observationId?: boolean field?: boolean project?: boolean | ProjectDefaultArgs media?: boolean | MediaDefaultArgs }, ExtArgs["result"]["observationMedia"]> export type ObservationMediaSelectScalar = { id?: boolean projectId?: boolean createdAt?: boolean updatedAt?: boolean mediaId?: boolean traceId?: boolean observationId?: boolean field?: boolean } export type ObservationMediaOmit = $Extensions.GetOmit<"id" | "projectId" | "createdAt" | "updatedAt" | "mediaId" | "traceId" | "observationId" | "field", ExtArgs["result"]["observationMedia"]> export type ObservationMediaInclude = { project?: boolean | ProjectDefaultArgs media?: boolean | MediaDefaultArgs } export type ObservationMediaIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs media?: boolean | MediaDefaultArgs } export type ObservationMediaIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs media?: boolean | MediaDefaultArgs } export type $ObservationMediaPayload = { name: "ObservationMedia" objects: { project: Prisma.$ProjectPayload media: Prisma.$MediaPayload } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string createdAt: Date updatedAt: Date mediaId: string traceId: string observationId: string field: string }, ExtArgs["result"]["observationMedia"]> composites: {} } type ObservationMediaGetPayload = $Result.GetResult type ObservationMediaCountArgs = Omit & { select?: ObservationMediaCountAggregateInputType | true } export interface ObservationMediaDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ObservationMedia'], meta: { name: 'ObservationMedia' } } /** * Find zero or one ObservationMedia that matches the filter. * @param {ObservationMediaFindUniqueArgs} args - Arguments to find a ObservationMedia * @example * // Get one ObservationMedia * const observationMedia = await prisma.observationMedia.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ObservationMediaClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ObservationMedia that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ObservationMediaFindUniqueOrThrowArgs} args - Arguments to find a ObservationMedia * @example * // Get one ObservationMedia * const observationMedia = await prisma.observationMedia.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ObservationMediaClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ObservationMedia 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 {ObservationMediaFindFirstArgs} args - Arguments to find a ObservationMedia * @example * // Get one ObservationMedia * const observationMedia = await prisma.observationMedia.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ObservationMediaClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ObservationMedia 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 {ObservationMediaFindFirstOrThrowArgs} args - Arguments to find a ObservationMedia * @example * // Get one ObservationMedia * const observationMedia = await prisma.observationMedia.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ObservationMediaClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ObservationMedias 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 {ObservationMediaFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ObservationMedias * const observationMedias = await prisma.observationMedia.findMany() * * // Get first 10 ObservationMedias * const observationMedias = await prisma.observationMedia.findMany({ take: 10 }) * * // Only select the `id` * const observationMediaWithIdOnly = await prisma.observationMedia.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a ObservationMedia. * @param {ObservationMediaCreateArgs} args - Arguments to create a ObservationMedia. * @example * // Create one ObservationMedia * const ObservationMedia = await prisma.observationMedia.create({ * data: { * // ... data to create a ObservationMedia * } * }) * */ create(args: SelectSubset>): Prisma__ObservationMediaClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ObservationMedias. * @param {ObservationMediaCreateManyArgs} args - Arguments to create many ObservationMedias. * @example * // Create many ObservationMedias * const observationMedia = await prisma.observationMedia.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many ObservationMedias and returns the data saved in the database. * @param {ObservationMediaCreateManyAndReturnArgs} args - Arguments to create many ObservationMedias. * @example * // Create many ObservationMedias * const observationMedia = await prisma.observationMedia.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ObservationMedias and only return the `id` * const observationMediaWithIdOnly = await prisma.observationMedia.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 ObservationMedia. * @param {ObservationMediaDeleteArgs} args - Arguments to delete one ObservationMedia. * @example * // Delete one ObservationMedia * const ObservationMedia = await prisma.observationMedia.delete({ * where: { * // ... filter to delete one ObservationMedia * } * }) * */ delete(args: SelectSubset>): Prisma__ObservationMediaClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ObservationMedia. * @param {ObservationMediaUpdateArgs} args - Arguments to update one ObservationMedia. * @example * // Update one ObservationMedia * const observationMedia = await prisma.observationMedia.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ObservationMediaClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ObservationMedias. * @param {ObservationMediaDeleteManyArgs} args - Arguments to filter ObservationMedias to delete. * @example * // Delete a few ObservationMedias * const { count } = await prisma.observationMedia.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ObservationMedias. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ObservationMediaUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ObservationMedias * const observationMedia = await prisma.observationMedia.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ObservationMedias and returns the data updated in the database. * @param {ObservationMediaUpdateManyAndReturnArgs} args - Arguments to update many ObservationMedias. * @example * // Update many ObservationMedias * const observationMedia = await prisma.observationMedia.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ObservationMedias and only return the `id` * const observationMediaWithIdOnly = await prisma.observationMedia.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 ObservationMedia. * @param {ObservationMediaUpsertArgs} args - Arguments to update or create a ObservationMedia. * @example * // Update or create a ObservationMedia * const observationMedia = await prisma.observationMedia.upsert({ * create: { * // ... data to create a ObservationMedia * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ObservationMedia we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ObservationMediaClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ObservationMedias. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ObservationMediaCountArgs} args - Arguments to filter ObservationMedias to count. * @example * // Count the number of ObservationMedias * const count = await prisma.observationMedia.count({ * where: { * // ... the filter for the ObservationMedias 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 ObservationMedia. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ObservationMediaAggregateArgs} 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 ObservationMedia. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ObservationMediaGroupByArgs} 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 ObservationMediaGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ObservationMediaGroupByArgs['orderBy'] } : { orderBy?: ObservationMediaGroupByArgs['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 ? GetObservationMediaGroupByPayload : Prisma.PrismaPromise /** * Fields of the ObservationMedia model */ readonly fields: ObservationMediaFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ObservationMedia. * 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__ObservationMediaClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> media = {}>(args?: Subset>): Prisma__MediaClient<$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 ObservationMedia model */ interface ObservationMediaFieldRefs { readonly id: FieldRef<"ObservationMedia", 'String'> readonly projectId: FieldRef<"ObservationMedia", 'String'> readonly createdAt: FieldRef<"ObservationMedia", 'DateTime'> readonly updatedAt: FieldRef<"ObservationMedia", 'DateTime'> readonly mediaId: FieldRef<"ObservationMedia", 'String'> readonly traceId: FieldRef<"ObservationMedia", 'String'> readonly observationId: FieldRef<"ObservationMedia", 'String'> readonly field: FieldRef<"ObservationMedia", 'String'> } // Custom InputTypes /** * ObservationMedia findUnique */ export type ObservationMediaFindUniqueArgs = { /** * Select specific fields to fetch from the ObservationMedia */ select?: ObservationMediaSelect | null /** * Omit specific fields from the ObservationMedia */ omit?: ObservationMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: ObservationMediaInclude | null /** * Filter, which ObservationMedia to fetch. */ where: ObservationMediaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ObservationMedia findUniqueOrThrow */ export type ObservationMediaFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ObservationMedia */ select?: ObservationMediaSelect | null /** * Omit specific fields from the ObservationMedia */ omit?: ObservationMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: ObservationMediaInclude | null /** * Filter, which ObservationMedia to fetch. */ where: ObservationMediaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ObservationMedia findFirst */ export type ObservationMediaFindFirstArgs = { /** * Select specific fields to fetch from the ObservationMedia */ select?: ObservationMediaSelect | null /** * Omit specific fields from the ObservationMedia */ omit?: ObservationMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: ObservationMediaInclude | null /** * Filter, which ObservationMedia to fetch. */ where?: ObservationMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ObservationMedias to fetch. */ orderBy?: ObservationMediaOrderByWithRelationInput | ObservationMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ObservationMedias. */ cursor?: ObservationMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ObservationMedias 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` ObservationMedias. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ObservationMedias. */ distinct?: ObservationMediaScalarFieldEnum | ObservationMediaScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * ObservationMedia findFirstOrThrow */ export type ObservationMediaFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ObservationMedia */ select?: ObservationMediaSelect | null /** * Omit specific fields from the ObservationMedia */ omit?: ObservationMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: ObservationMediaInclude | null /** * Filter, which ObservationMedia to fetch. */ where?: ObservationMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ObservationMedias to fetch. */ orderBy?: ObservationMediaOrderByWithRelationInput | ObservationMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ObservationMedias. */ cursor?: ObservationMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ObservationMedias 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` ObservationMedias. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ObservationMedias. */ distinct?: ObservationMediaScalarFieldEnum | ObservationMediaScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * ObservationMedia findMany */ export type ObservationMediaFindManyArgs = { /** * Select specific fields to fetch from the ObservationMedia */ select?: ObservationMediaSelect | null /** * Omit specific fields from the ObservationMedia */ omit?: ObservationMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: ObservationMediaInclude | null /** * Filter, which ObservationMedias to fetch. */ where?: ObservationMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ObservationMedias to fetch. */ orderBy?: ObservationMediaOrderByWithRelationInput | ObservationMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ObservationMedias. */ cursor?: ObservationMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ObservationMedias 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` ObservationMedias. */ skip?: number distinct?: ObservationMediaScalarFieldEnum | ObservationMediaScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * ObservationMedia create */ export type ObservationMediaCreateArgs = { /** * Select specific fields to fetch from the ObservationMedia */ select?: ObservationMediaSelect | null /** * Omit specific fields from the ObservationMedia */ omit?: ObservationMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: ObservationMediaInclude | null /** * The data needed to create a ObservationMedia. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * ObservationMedia createMany */ export type ObservationMediaCreateManyArgs = { /** * The data used to create many ObservationMedias. */ data: ObservationMediaCreateManyInput | ObservationMediaCreateManyInput[] skipDuplicates?: boolean } /** * ObservationMedia createManyAndReturn */ export type ObservationMediaCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ObservationMedia */ select?: ObservationMediaSelectCreateManyAndReturn | null /** * Omit specific fields from the ObservationMedia */ omit?: ObservationMediaOmit | null /** * The data used to create many ObservationMedias. */ data: ObservationMediaCreateManyInput | ObservationMediaCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: ObservationMediaIncludeCreateManyAndReturn | null } /** * ObservationMedia update */ export type ObservationMediaUpdateArgs = { /** * Select specific fields to fetch from the ObservationMedia */ select?: ObservationMediaSelect | null /** * Omit specific fields from the ObservationMedia */ omit?: ObservationMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: ObservationMediaInclude | null /** * The data needed to update a ObservationMedia. */ data: XOR /** * Choose, which ObservationMedia to update. */ where: ObservationMediaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ObservationMedia updateMany */ export type ObservationMediaUpdateManyArgs = { /** * The data used to update ObservationMedias. */ data: XOR /** * Filter which ObservationMedias to update */ where?: ObservationMediaWhereInput /** * Limit how many ObservationMedias to update. */ limit?: number } /** * ObservationMedia updateManyAndReturn */ export type ObservationMediaUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ObservationMedia */ select?: ObservationMediaSelectUpdateManyAndReturn | null /** * Omit specific fields from the ObservationMedia */ omit?: ObservationMediaOmit | null /** * The data used to update ObservationMedias. */ data: XOR /** * Filter which ObservationMedias to update */ where?: ObservationMediaWhereInput /** * Limit how many ObservationMedias to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: ObservationMediaIncludeUpdateManyAndReturn | null } /** * ObservationMedia upsert */ export type ObservationMediaUpsertArgs = { /** * Select specific fields to fetch from the ObservationMedia */ select?: ObservationMediaSelect | null /** * Omit specific fields from the ObservationMedia */ omit?: ObservationMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: ObservationMediaInclude | null /** * The filter to search for the ObservationMedia to update in case it exists. */ where: ObservationMediaWhereUniqueInput /** * In case the ObservationMedia found by the `where` argument doesn't exist, create a new ObservationMedia with this data. */ create: XOR /** * In case the ObservationMedia was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * ObservationMedia delete */ export type ObservationMediaDeleteArgs = { /** * Select specific fields to fetch from the ObservationMedia */ select?: ObservationMediaSelect | null /** * Omit specific fields from the ObservationMedia */ omit?: ObservationMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: ObservationMediaInclude | null /** * Filter which ObservationMedia to delete. */ where: ObservationMediaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * ObservationMedia deleteMany */ export type ObservationMediaDeleteManyArgs = { /** * Filter which ObservationMedias to delete */ where?: ObservationMediaWhereInput /** * Limit how many ObservationMedias to delete. */ limit?: number } /** * ObservationMedia without action */ export type ObservationMediaDefaultArgs = { /** * Select specific fields to fetch from the ObservationMedia */ select?: ObservationMediaSelect | null /** * Omit specific fields from the ObservationMedia */ omit?: ObservationMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: ObservationMediaInclude | null } /** * Model BillingMeterBackup */ export type AggregateBillingMeterBackup = { _count: BillingMeterBackupCountAggregateOutputType | null _avg: BillingMeterBackupAvgAggregateOutputType | null _sum: BillingMeterBackupSumAggregateOutputType | null _min: BillingMeterBackupMinAggregateOutputType | null _max: BillingMeterBackupMaxAggregateOutputType | null } export type BillingMeterBackupAvgAggregateOutputType = { aggregatedValue: number | null } export type BillingMeterBackupSumAggregateOutputType = { aggregatedValue: number | null } export type BillingMeterBackupMinAggregateOutputType = { stripeCustomerId: string | null meterId: string | null startTime: Date | null endTime: Date | null aggregatedValue: number | null eventName: string | null orgId: string | null createdAt: Date | null updatedAt: Date | null } export type BillingMeterBackupMaxAggregateOutputType = { stripeCustomerId: string | null meterId: string | null startTime: Date | null endTime: Date | null aggregatedValue: number | null eventName: string | null orgId: string | null createdAt: Date | null updatedAt: Date | null } export type BillingMeterBackupCountAggregateOutputType = { stripeCustomerId: number meterId: number startTime: number endTime: number aggregatedValue: number eventName: number orgId: number createdAt: number updatedAt: number _all: number } export type BillingMeterBackupAvgAggregateInputType = { aggregatedValue?: true } export type BillingMeterBackupSumAggregateInputType = { aggregatedValue?: true } export type BillingMeterBackupMinAggregateInputType = { stripeCustomerId?: true meterId?: true startTime?: true endTime?: true aggregatedValue?: true eventName?: true orgId?: true createdAt?: true updatedAt?: true } export type BillingMeterBackupMaxAggregateInputType = { stripeCustomerId?: true meterId?: true startTime?: true endTime?: true aggregatedValue?: true eventName?: true orgId?: true createdAt?: true updatedAt?: true } export type BillingMeterBackupCountAggregateInputType = { stripeCustomerId?: true meterId?: true startTime?: true endTime?: true aggregatedValue?: true eventName?: true orgId?: true createdAt?: true updatedAt?: true _all?: true } export type BillingMeterBackupAggregateArgs = { /** * Filter which BillingMeterBackup to aggregate. */ where?: BillingMeterBackupWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BillingMeterBackups to fetch. */ orderBy?: BillingMeterBackupOrderByWithRelationInput | BillingMeterBackupOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: BillingMeterBackupWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BillingMeterBackups 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` BillingMeterBackups. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned BillingMeterBackups **/ _count?: true | BillingMeterBackupCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: BillingMeterBackupAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: BillingMeterBackupSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: BillingMeterBackupMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: BillingMeterBackupMaxAggregateInputType } export type GetBillingMeterBackupAggregateType = { [P in keyof T & keyof AggregateBillingMeterBackup]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type BillingMeterBackupGroupByArgs = { where?: BillingMeterBackupWhereInput orderBy?: BillingMeterBackupOrderByWithAggregationInput | BillingMeterBackupOrderByWithAggregationInput[] by: BillingMeterBackupScalarFieldEnum[] | BillingMeterBackupScalarFieldEnum having?: BillingMeterBackupScalarWhereWithAggregatesInput take?: number skip?: number _count?: BillingMeterBackupCountAggregateInputType | true _avg?: BillingMeterBackupAvgAggregateInputType _sum?: BillingMeterBackupSumAggregateInputType _min?: BillingMeterBackupMinAggregateInputType _max?: BillingMeterBackupMaxAggregateInputType } export type BillingMeterBackupGroupByOutputType = { stripeCustomerId: string meterId: string startTime: Date endTime: Date aggregatedValue: number eventName: string orgId: string createdAt: Date updatedAt: Date _count: BillingMeterBackupCountAggregateOutputType | null _avg: BillingMeterBackupAvgAggregateOutputType | null _sum: BillingMeterBackupSumAggregateOutputType | null _min: BillingMeterBackupMinAggregateOutputType | null _max: BillingMeterBackupMaxAggregateOutputType | null } type GetBillingMeterBackupGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof BillingMeterBackupGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type BillingMeterBackupSelect = $Extensions.GetSelect<{ stripeCustomerId?: boolean meterId?: boolean startTime?: boolean endTime?: boolean aggregatedValue?: boolean eventName?: boolean orgId?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["billingMeterBackup"]> export type BillingMeterBackupSelectCreateManyAndReturn = $Extensions.GetSelect<{ stripeCustomerId?: boolean meterId?: boolean startTime?: boolean endTime?: boolean aggregatedValue?: boolean eventName?: boolean orgId?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["billingMeterBackup"]> export type BillingMeterBackupSelectUpdateManyAndReturn = $Extensions.GetSelect<{ stripeCustomerId?: boolean meterId?: boolean startTime?: boolean endTime?: boolean aggregatedValue?: boolean eventName?: boolean orgId?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["billingMeterBackup"]> export type BillingMeterBackupSelectScalar = { stripeCustomerId?: boolean meterId?: boolean startTime?: boolean endTime?: boolean aggregatedValue?: boolean eventName?: boolean orgId?: boolean createdAt?: boolean updatedAt?: boolean } export type BillingMeterBackupOmit = $Extensions.GetOmit<"stripeCustomerId" | "meterId" | "startTime" | "endTime" | "aggregatedValue" | "eventName" | "orgId" | "createdAt" | "updatedAt", ExtArgs["result"]["billingMeterBackup"]> export type $BillingMeterBackupPayload = { name: "BillingMeterBackup" objects: {} scalars: $Extensions.GetPayloadResult<{ stripeCustomerId: string meterId: string startTime: Date endTime: Date aggregatedValue: number eventName: string orgId: string createdAt: Date updatedAt: Date }, ExtArgs["result"]["billingMeterBackup"]> composites: {} } type BillingMeterBackupGetPayload = $Result.GetResult type BillingMeterBackupCountArgs = Omit & { select?: BillingMeterBackupCountAggregateInputType | true } export interface BillingMeterBackupDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['BillingMeterBackup'], meta: { name: 'BillingMeterBackup' } } /** * Find zero or one BillingMeterBackup that matches the filter. * @param {BillingMeterBackupFindUniqueArgs} args - Arguments to find a BillingMeterBackup * @example * // Get one BillingMeterBackup * const billingMeterBackup = await prisma.billingMeterBackup.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__BillingMeterBackupClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one BillingMeterBackup that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {BillingMeterBackupFindUniqueOrThrowArgs} args - Arguments to find a BillingMeterBackup * @example * // Get one BillingMeterBackup * const billingMeterBackup = await prisma.billingMeterBackup.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__BillingMeterBackupClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first BillingMeterBackup 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 {BillingMeterBackupFindFirstArgs} args - Arguments to find a BillingMeterBackup * @example * // Get one BillingMeterBackup * const billingMeterBackup = await prisma.billingMeterBackup.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__BillingMeterBackupClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first BillingMeterBackup 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 {BillingMeterBackupFindFirstOrThrowArgs} args - Arguments to find a BillingMeterBackup * @example * // Get one BillingMeterBackup * const billingMeterBackup = await prisma.billingMeterBackup.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__BillingMeterBackupClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more BillingMeterBackups 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 {BillingMeterBackupFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all BillingMeterBackups * const billingMeterBackups = await prisma.billingMeterBackup.findMany() * * // Get first 10 BillingMeterBackups * const billingMeterBackups = await prisma.billingMeterBackup.findMany({ take: 10 }) * * // Only select the `stripeCustomerId` * const billingMeterBackupWithStripeCustomerIdOnly = await prisma.billingMeterBackup.findMany({ select: { stripeCustomerId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a BillingMeterBackup. * @param {BillingMeterBackupCreateArgs} args - Arguments to create a BillingMeterBackup. * @example * // Create one BillingMeterBackup * const BillingMeterBackup = await prisma.billingMeterBackup.create({ * data: { * // ... data to create a BillingMeterBackup * } * }) * */ create(args: SelectSubset>): Prisma__BillingMeterBackupClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many BillingMeterBackups. * @param {BillingMeterBackupCreateManyArgs} args - Arguments to create many BillingMeterBackups. * @example * // Create many BillingMeterBackups * const billingMeterBackup = await prisma.billingMeterBackup.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many BillingMeterBackups and returns the data saved in the database. * @param {BillingMeterBackupCreateManyAndReturnArgs} args - Arguments to create many BillingMeterBackups. * @example * // Create many BillingMeterBackups * const billingMeterBackup = await prisma.billingMeterBackup.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many BillingMeterBackups and only return the `stripeCustomerId` * const billingMeterBackupWithStripeCustomerIdOnly = await prisma.billingMeterBackup.createManyAndReturn({ * select: { stripeCustomerId: 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 BillingMeterBackup. * @param {BillingMeterBackupDeleteArgs} args - Arguments to delete one BillingMeterBackup. * @example * // Delete one BillingMeterBackup * const BillingMeterBackup = await prisma.billingMeterBackup.delete({ * where: { * // ... filter to delete one BillingMeterBackup * } * }) * */ delete(args: SelectSubset>): Prisma__BillingMeterBackupClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one BillingMeterBackup. * @param {BillingMeterBackupUpdateArgs} args - Arguments to update one BillingMeterBackup. * @example * // Update one BillingMeterBackup * const billingMeterBackup = await prisma.billingMeterBackup.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__BillingMeterBackupClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more BillingMeterBackups. * @param {BillingMeterBackupDeleteManyArgs} args - Arguments to filter BillingMeterBackups to delete. * @example * // Delete a few BillingMeterBackups * const { count } = await prisma.billingMeterBackup.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more BillingMeterBackups. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BillingMeterBackupUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many BillingMeterBackups * const billingMeterBackup = await prisma.billingMeterBackup.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more BillingMeterBackups and returns the data updated in the database. * @param {BillingMeterBackupUpdateManyAndReturnArgs} args - Arguments to update many BillingMeterBackups. * @example * // Update many BillingMeterBackups * const billingMeterBackup = await prisma.billingMeterBackup.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more BillingMeterBackups and only return the `stripeCustomerId` * const billingMeterBackupWithStripeCustomerIdOnly = await prisma.billingMeterBackup.updateManyAndReturn({ * select: { stripeCustomerId: 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 BillingMeterBackup. * @param {BillingMeterBackupUpsertArgs} args - Arguments to update or create a BillingMeterBackup. * @example * // Update or create a BillingMeterBackup * const billingMeterBackup = await prisma.billingMeterBackup.upsert({ * create: { * // ... data to create a BillingMeterBackup * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the BillingMeterBackup we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__BillingMeterBackupClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of BillingMeterBackups. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BillingMeterBackupCountArgs} args - Arguments to filter BillingMeterBackups to count. * @example * // Count the number of BillingMeterBackups * const count = await prisma.billingMeterBackup.count({ * where: { * // ... the filter for the BillingMeterBackups 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 BillingMeterBackup. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BillingMeterBackupAggregateArgs} 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 BillingMeterBackup. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BillingMeterBackupGroupByArgs} 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 BillingMeterBackupGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: BillingMeterBackupGroupByArgs['orderBy'] } : { orderBy?: BillingMeterBackupGroupByArgs['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 ? GetBillingMeterBackupGroupByPayload : Prisma.PrismaPromise /** * Fields of the BillingMeterBackup model */ readonly fields: BillingMeterBackupFieldRefs; } /** * The delegate class that acts as a "Promise-like" for BillingMeterBackup. * 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__BillingMeterBackupClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 BillingMeterBackup model */ interface BillingMeterBackupFieldRefs { readonly stripeCustomerId: FieldRef<"BillingMeterBackup", 'String'> readonly meterId: FieldRef<"BillingMeterBackup", 'String'> readonly startTime: FieldRef<"BillingMeterBackup", 'DateTime'> readonly endTime: FieldRef<"BillingMeterBackup", 'DateTime'> readonly aggregatedValue: FieldRef<"BillingMeterBackup", 'Int'> readonly eventName: FieldRef<"BillingMeterBackup", 'String'> readonly orgId: FieldRef<"BillingMeterBackup", 'String'> readonly createdAt: FieldRef<"BillingMeterBackup", 'DateTime'> readonly updatedAt: FieldRef<"BillingMeterBackup", 'DateTime'> } // Custom InputTypes /** * BillingMeterBackup findUnique */ export type BillingMeterBackupFindUniqueArgs = { /** * Select specific fields to fetch from the BillingMeterBackup */ select?: BillingMeterBackupSelect | null /** * Omit specific fields from the BillingMeterBackup */ omit?: BillingMeterBackupOmit | null /** * Filter, which BillingMeterBackup to fetch. */ where: BillingMeterBackupWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BillingMeterBackup findUniqueOrThrow */ export type BillingMeterBackupFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the BillingMeterBackup */ select?: BillingMeterBackupSelect | null /** * Omit specific fields from the BillingMeterBackup */ omit?: BillingMeterBackupOmit | null /** * Filter, which BillingMeterBackup to fetch. */ where: BillingMeterBackupWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BillingMeterBackup findFirst */ export type BillingMeterBackupFindFirstArgs = { /** * Select specific fields to fetch from the BillingMeterBackup */ select?: BillingMeterBackupSelect | null /** * Omit specific fields from the BillingMeterBackup */ omit?: BillingMeterBackupOmit | null /** * Filter, which BillingMeterBackup to fetch. */ where?: BillingMeterBackupWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BillingMeterBackups to fetch. */ orderBy?: BillingMeterBackupOrderByWithRelationInput | BillingMeterBackupOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BillingMeterBackups. */ cursor?: BillingMeterBackupWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BillingMeterBackups 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` BillingMeterBackups. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BillingMeterBackups. */ distinct?: BillingMeterBackupScalarFieldEnum | BillingMeterBackupScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * BillingMeterBackup findFirstOrThrow */ export type BillingMeterBackupFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the BillingMeterBackup */ select?: BillingMeterBackupSelect | null /** * Omit specific fields from the BillingMeterBackup */ omit?: BillingMeterBackupOmit | null /** * Filter, which BillingMeterBackup to fetch. */ where?: BillingMeterBackupWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BillingMeterBackups to fetch. */ orderBy?: BillingMeterBackupOrderByWithRelationInput | BillingMeterBackupOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BillingMeterBackups. */ cursor?: BillingMeterBackupWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BillingMeterBackups 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` BillingMeterBackups. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BillingMeterBackups. */ distinct?: BillingMeterBackupScalarFieldEnum | BillingMeterBackupScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * BillingMeterBackup findMany */ export type BillingMeterBackupFindManyArgs = { /** * Select specific fields to fetch from the BillingMeterBackup */ select?: BillingMeterBackupSelect | null /** * Omit specific fields from the BillingMeterBackup */ omit?: BillingMeterBackupOmit | null /** * Filter, which BillingMeterBackups to fetch. */ where?: BillingMeterBackupWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BillingMeterBackups to fetch. */ orderBy?: BillingMeterBackupOrderByWithRelationInput | BillingMeterBackupOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing BillingMeterBackups. */ cursor?: BillingMeterBackupWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BillingMeterBackups 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` BillingMeterBackups. */ skip?: number distinct?: BillingMeterBackupScalarFieldEnum | BillingMeterBackupScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * BillingMeterBackup create */ export type BillingMeterBackupCreateArgs = { /** * Select specific fields to fetch from the BillingMeterBackup */ select?: BillingMeterBackupSelect | null /** * Omit specific fields from the BillingMeterBackup */ omit?: BillingMeterBackupOmit | null /** * The data needed to create a BillingMeterBackup. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * BillingMeterBackup createMany */ export type BillingMeterBackupCreateManyArgs = { /** * The data used to create many BillingMeterBackups. */ data: BillingMeterBackupCreateManyInput | BillingMeterBackupCreateManyInput[] skipDuplicates?: boolean } /** * BillingMeterBackup createManyAndReturn */ export type BillingMeterBackupCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the BillingMeterBackup */ select?: BillingMeterBackupSelectCreateManyAndReturn | null /** * Omit specific fields from the BillingMeterBackup */ omit?: BillingMeterBackupOmit | null /** * The data used to create many BillingMeterBackups. */ data: BillingMeterBackupCreateManyInput | BillingMeterBackupCreateManyInput[] skipDuplicates?: boolean } /** * BillingMeterBackup update */ export type BillingMeterBackupUpdateArgs = { /** * Select specific fields to fetch from the BillingMeterBackup */ select?: BillingMeterBackupSelect | null /** * Omit specific fields from the BillingMeterBackup */ omit?: BillingMeterBackupOmit | null /** * The data needed to update a BillingMeterBackup. */ data: XOR /** * Choose, which BillingMeterBackup to update. */ where: BillingMeterBackupWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BillingMeterBackup updateMany */ export type BillingMeterBackupUpdateManyArgs = { /** * The data used to update BillingMeterBackups. */ data: XOR /** * Filter which BillingMeterBackups to update */ where?: BillingMeterBackupWhereInput /** * Limit how many BillingMeterBackups to update. */ limit?: number } /** * BillingMeterBackup updateManyAndReturn */ export type BillingMeterBackupUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the BillingMeterBackup */ select?: BillingMeterBackupSelectUpdateManyAndReturn | null /** * Omit specific fields from the BillingMeterBackup */ omit?: BillingMeterBackupOmit | null /** * The data used to update BillingMeterBackups. */ data: XOR /** * Filter which BillingMeterBackups to update */ where?: BillingMeterBackupWhereInput /** * Limit how many BillingMeterBackups to update. */ limit?: number } /** * BillingMeterBackup upsert */ export type BillingMeterBackupUpsertArgs = { /** * Select specific fields to fetch from the BillingMeterBackup */ select?: BillingMeterBackupSelect | null /** * Omit specific fields from the BillingMeterBackup */ omit?: BillingMeterBackupOmit | null /** * The filter to search for the BillingMeterBackup to update in case it exists. */ where: BillingMeterBackupWhereUniqueInput /** * In case the BillingMeterBackup found by the `where` argument doesn't exist, create a new BillingMeterBackup with this data. */ create: XOR /** * In case the BillingMeterBackup was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * BillingMeterBackup delete */ export type BillingMeterBackupDeleteArgs = { /** * Select specific fields to fetch from the BillingMeterBackup */ select?: BillingMeterBackupSelect | null /** * Omit specific fields from the BillingMeterBackup */ omit?: BillingMeterBackupOmit | null /** * Filter which BillingMeterBackup to delete. */ where: BillingMeterBackupWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * BillingMeterBackup deleteMany */ export type BillingMeterBackupDeleteManyArgs = { /** * Filter which BillingMeterBackups to delete */ where?: BillingMeterBackupWhereInput /** * Limit how many BillingMeterBackups to delete. */ limit?: number } /** * BillingMeterBackup without action */ export type BillingMeterBackupDefaultArgs = { /** * Select specific fields to fetch from the BillingMeterBackup */ select?: BillingMeterBackupSelect | null /** * Omit specific fields from the BillingMeterBackup */ omit?: BillingMeterBackupOmit | null } /** * Model LlmSchema */ export type AggregateLlmSchema = { _count: LlmSchemaCountAggregateOutputType | null _min: LlmSchemaMinAggregateOutputType | null _max: LlmSchemaMaxAggregateOutputType | null } export type LlmSchemaMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null name: string | null description: string | null } export type LlmSchemaMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null name: string | null description: string | null } export type LlmSchemaCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number name: number description: number schema: number _all: number } export type LlmSchemaMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true description?: true } export type LlmSchemaMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true description?: true } export type LlmSchemaCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true description?: true schema?: true _all?: true } export type LlmSchemaAggregateArgs = { /** * Filter which LlmSchema to aggregate. */ where?: LlmSchemaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LlmSchemas to fetch. */ orderBy?: LlmSchemaOrderByWithRelationInput | LlmSchemaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: LlmSchemaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LlmSchemas 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` LlmSchemas. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned LlmSchemas **/ _count?: true | LlmSchemaCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: LlmSchemaMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: LlmSchemaMaxAggregateInputType } export type GetLlmSchemaAggregateType = { [P in keyof T & keyof AggregateLlmSchema]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type LlmSchemaGroupByArgs = { where?: LlmSchemaWhereInput orderBy?: LlmSchemaOrderByWithAggregationInput | LlmSchemaOrderByWithAggregationInput[] by: LlmSchemaScalarFieldEnum[] | LlmSchemaScalarFieldEnum having?: LlmSchemaScalarWhereWithAggregatesInput take?: number skip?: number _count?: LlmSchemaCountAggregateInputType | true _min?: LlmSchemaMinAggregateInputType _max?: LlmSchemaMaxAggregateInputType } export type LlmSchemaGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string name: string description: string schema: JsonValue _count: LlmSchemaCountAggregateOutputType | null _min: LlmSchemaMinAggregateOutputType | null _max: LlmSchemaMaxAggregateOutputType | null } type GetLlmSchemaGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof LlmSchemaGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type LlmSchemaSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean description?: boolean schema?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["llmSchema"]> export type LlmSchemaSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean description?: boolean schema?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["llmSchema"]> export type LlmSchemaSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean description?: boolean schema?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["llmSchema"]> export type LlmSchemaSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean description?: boolean schema?: boolean } export type LlmSchemaOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "name" | "description" | "schema", ExtArgs["result"]["llmSchema"]> export type LlmSchemaInclude = { project?: boolean | ProjectDefaultArgs } export type LlmSchemaIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type LlmSchemaIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $LlmSchemaPayload = { name: "LlmSchema" objects: { project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string name: string description: string schema: Prisma.JsonValue }, ExtArgs["result"]["llmSchema"]> composites: {} } type LlmSchemaGetPayload = $Result.GetResult type LlmSchemaCountArgs = Omit & { select?: LlmSchemaCountAggregateInputType | true } export interface LlmSchemaDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['LlmSchema'], meta: { name: 'LlmSchema' } } /** * Find zero or one LlmSchema that matches the filter. * @param {LlmSchemaFindUniqueArgs} args - Arguments to find a LlmSchema * @example * // Get one LlmSchema * const llmSchema = await prisma.llmSchema.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__LlmSchemaClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one LlmSchema that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {LlmSchemaFindUniqueOrThrowArgs} args - Arguments to find a LlmSchema * @example * // Get one LlmSchema * const llmSchema = await prisma.llmSchema.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__LlmSchemaClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first LlmSchema 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 {LlmSchemaFindFirstArgs} args - Arguments to find a LlmSchema * @example * // Get one LlmSchema * const llmSchema = await prisma.llmSchema.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__LlmSchemaClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first LlmSchema 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 {LlmSchemaFindFirstOrThrowArgs} args - Arguments to find a LlmSchema * @example * // Get one LlmSchema * const llmSchema = await prisma.llmSchema.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__LlmSchemaClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more LlmSchemas 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 {LlmSchemaFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all LlmSchemas * const llmSchemas = await prisma.llmSchema.findMany() * * // Get first 10 LlmSchemas * const llmSchemas = await prisma.llmSchema.findMany({ take: 10 }) * * // Only select the `id` * const llmSchemaWithIdOnly = await prisma.llmSchema.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a LlmSchema. * @param {LlmSchemaCreateArgs} args - Arguments to create a LlmSchema. * @example * // Create one LlmSchema * const LlmSchema = await prisma.llmSchema.create({ * data: { * // ... data to create a LlmSchema * } * }) * */ create(args: SelectSubset>): Prisma__LlmSchemaClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many LlmSchemas. * @param {LlmSchemaCreateManyArgs} args - Arguments to create many LlmSchemas. * @example * // Create many LlmSchemas * const llmSchema = await prisma.llmSchema.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many LlmSchemas and returns the data saved in the database. * @param {LlmSchemaCreateManyAndReturnArgs} args - Arguments to create many LlmSchemas. * @example * // Create many LlmSchemas * const llmSchema = await prisma.llmSchema.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many LlmSchemas and only return the `id` * const llmSchemaWithIdOnly = await prisma.llmSchema.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 LlmSchema. * @param {LlmSchemaDeleteArgs} args - Arguments to delete one LlmSchema. * @example * // Delete one LlmSchema * const LlmSchema = await prisma.llmSchema.delete({ * where: { * // ... filter to delete one LlmSchema * } * }) * */ delete(args: SelectSubset>): Prisma__LlmSchemaClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one LlmSchema. * @param {LlmSchemaUpdateArgs} args - Arguments to update one LlmSchema. * @example * // Update one LlmSchema * const llmSchema = await prisma.llmSchema.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__LlmSchemaClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more LlmSchemas. * @param {LlmSchemaDeleteManyArgs} args - Arguments to filter LlmSchemas to delete. * @example * // Delete a few LlmSchemas * const { count } = await prisma.llmSchema.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more LlmSchemas. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LlmSchemaUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many LlmSchemas * const llmSchema = await prisma.llmSchema.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more LlmSchemas and returns the data updated in the database. * @param {LlmSchemaUpdateManyAndReturnArgs} args - Arguments to update many LlmSchemas. * @example * // Update many LlmSchemas * const llmSchema = await prisma.llmSchema.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more LlmSchemas and only return the `id` * const llmSchemaWithIdOnly = await prisma.llmSchema.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 LlmSchema. * @param {LlmSchemaUpsertArgs} args - Arguments to update or create a LlmSchema. * @example * // Update or create a LlmSchema * const llmSchema = await prisma.llmSchema.upsert({ * create: { * // ... data to create a LlmSchema * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the LlmSchema we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__LlmSchemaClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of LlmSchemas. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LlmSchemaCountArgs} args - Arguments to filter LlmSchemas to count. * @example * // Count the number of LlmSchemas * const count = await prisma.llmSchema.count({ * where: { * // ... the filter for the LlmSchemas 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 LlmSchema. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LlmSchemaAggregateArgs} 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 LlmSchema. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LlmSchemaGroupByArgs} 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 LlmSchemaGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: LlmSchemaGroupByArgs['orderBy'] } : { orderBy?: LlmSchemaGroupByArgs['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 ? GetLlmSchemaGroupByPayload : Prisma.PrismaPromise /** * Fields of the LlmSchema model */ readonly fields: LlmSchemaFieldRefs; } /** * The delegate class that acts as a "Promise-like" for LlmSchema. * 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__LlmSchemaClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$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 LlmSchema model */ interface LlmSchemaFieldRefs { readonly id: FieldRef<"LlmSchema", 'String'> readonly createdAt: FieldRef<"LlmSchema", 'DateTime'> readonly updatedAt: FieldRef<"LlmSchema", 'DateTime'> readonly projectId: FieldRef<"LlmSchema", 'String'> readonly name: FieldRef<"LlmSchema", 'String'> readonly description: FieldRef<"LlmSchema", 'String'> readonly schema: FieldRef<"LlmSchema", 'Json'> } // Custom InputTypes /** * LlmSchema findUnique */ export type LlmSchemaFindUniqueArgs = { /** * Select specific fields to fetch from the LlmSchema */ select?: LlmSchemaSelect | null /** * Omit specific fields from the LlmSchema */ omit?: LlmSchemaOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmSchemaInclude | null /** * Filter, which LlmSchema to fetch. */ where: LlmSchemaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LlmSchema findUniqueOrThrow */ export type LlmSchemaFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the LlmSchema */ select?: LlmSchemaSelect | null /** * Omit specific fields from the LlmSchema */ omit?: LlmSchemaOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmSchemaInclude | null /** * Filter, which LlmSchema to fetch. */ where: LlmSchemaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LlmSchema findFirst */ export type LlmSchemaFindFirstArgs = { /** * Select specific fields to fetch from the LlmSchema */ select?: LlmSchemaSelect | null /** * Omit specific fields from the LlmSchema */ omit?: LlmSchemaOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmSchemaInclude | null /** * Filter, which LlmSchema to fetch. */ where?: LlmSchemaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LlmSchemas to fetch. */ orderBy?: LlmSchemaOrderByWithRelationInput | LlmSchemaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for LlmSchemas. */ cursor?: LlmSchemaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LlmSchemas 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` LlmSchemas. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of LlmSchemas. */ distinct?: LlmSchemaScalarFieldEnum | LlmSchemaScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LlmSchema findFirstOrThrow */ export type LlmSchemaFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the LlmSchema */ select?: LlmSchemaSelect | null /** * Omit specific fields from the LlmSchema */ omit?: LlmSchemaOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmSchemaInclude | null /** * Filter, which LlmSchema to fetch. */ where?: LlmSchemaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LlmSchemas to fetch. */ orderBy?: LlmSchemaOrderByWithRelationInput | LlmSchemaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for LlmSchemas. */ cursor?: LlmSchemaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LlmSchemas 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` LlmSchemas. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of LlmSchemas. */ distinct?: LlmSchemaScalarFieldEnum | LlmSchemaScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LlmSchema findMany */ export type LlmSchemaFindManyArgs = { /** * Select specific fields to fetch from the LlmSchema */ select?: LlmSchemaSelect | null /** * Omit specific fields from the LlmSchema */ omit?: LlmSchemaOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmSchemaInclude | null /** * Filter, which LlmSchemas to fetch. */ where?: LlmSchemaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LlmSchemas to fetch. */ orderBy?: LlmSchemaOrderByWithRelationInput | LlmSchemaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing LlmSchemas. */ cursor?: LlmSchemaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LlmSchemas 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` LlmSchemas. */ skip?: number distinct?: LlmSchemaScalarFieldEnum | LlmSchemaScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LlmSchema create */ export type LlmSchemaCreateArgs = { /** * Select specific fields to fetch from the LlmSchema */ select?: LlmSchemaSelect | null /** * Omit specific fields from the LlmSchema */ omit?: LlmSchemaOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmSchemaInclude | null /** * The data needed to create a LlmSchema. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * LlmSchema createMany */ export type LlmSchemaCreateManyArgs = { /** * The data used to create many LlmSchemas. */ data: LlmSchemaCreateManyInput | LlmSchemaCreateManyInput[] skipDuplicates?: boolean } /** * LlmSchema createManyAndReturn */ export type LlmSchemaCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the LlmSchema */ select?: LlmSchemaSelectCreateManyAndReturn | null /** * Omit specific fields from the LlmSchema */ omit?: LlmSchemaOmit | null /** * The data used to create many LlmSchemas. */ data: LlmSchemaCreateManyInput | LlmSchemaCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: LlmSchemaIncludeCreateManyAndReturn | null } /** * LlmSchema update */ export type LlmSchemaUpdateArgs = { /** * Select specific fields to fetch from the LlmSchema */ select?: LlmSchemaSelect | null /** * Omit specific fields from the LlmSchema */ omit?: LlmSchemaOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmSchemaInclude | null /** * The data needed to update a LlmSchema. */ data: XOR /** * Choose, which LlmSchema to update. */ where: LlmSchemaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LlmSchema updateMany */ export type LlmSchemaUpdateManyArgs = { /** * The data used to update LlmSchemas. */ data: XOR /** * Filter which LlmSchemas to update */ where?: LlmSchemaWhereInput /** * Limit how many LlmSchemas to update. */ limit?: number } /** * LlmSchema updateManyAndReturn */ export type LlmSchemaUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the LlmSchema */ select?: LlmSchemaSelectUpdateManyAndReturn | null /** * Omit specific fields from the LlmSchema */ omit?: LlmSchemaOmit | null /** * The data used to update LlmSchemas. */ data: XOR /** * Filter which LlmSchemas to update */ where?: LlmSchemaWhereInput /** * Limit how many LlmSchemas to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: LlmSchemaIncludeUpdateManyAndReturn | null } /** * LlmSchema upsert */ export type LlmSchemaUpsertArgs = { /** * Select specific fields to fetch from the LlmSchema */ select?: LlmSchemaSelect | null /** * Omit specific fields from the LlmSchema */ omit?: LlmSchemaOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmSchemaInclude | null /** * The filter to search for the LlmSchema to update in case it exists. */ where: LlmSchemaWhereUniqueInput /** * In case the LlmSchema found by the `where` argument doesn't exist, create a new LlmSchema with this data. */ create: XOR /** * In case the LlmSchema was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * LlmSchema delete */ export type LlmSchemaDeleteArgs = { /** * Select specific fields to fetch from the LlmSchema */ select?: LlmSchemaSelect | null /** * Omit specific fields from the LlmSchema */ omit?: LlmSchemaOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmSchemaInclude | null /** * Filter which LlmSchema to delete. */ where: LlmSchemaWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LlmSchema deleteMany */ export type LlmSchemaDeleteManyArgs = { /** * Filter which LlmSchemas to delete */ where?: LlmSchemaWhereInput /** * Limit how many LlmSchemas to delete. */ limit?: number } /** * LlmSchema without action */ export type LlmSchemaDefaultArgs = { /** * Select specific fields to fetch from the LlmSchema */ select?: LlmSchemaSelect | null /** * Omit specific fields from the LlmSchema */ omit?: LlmSchemaOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmSchemaInclude | null } /** * Model LlmTool */ export type AggregateLlmTool = { _count: LlmToolCountAggregateOutputType | null _min: LlmToolMinAggregateOutputType | null _max: LlmToolMaxAggregateOutputType | null } export type LlmToolMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null name: string | null description: string | null } export type LlmToolMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null name: string | null description: string | null } export type LlmToolCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number name: number description: number parameters: number _all: number } export type LlmToolMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true description?: true } export type LlmToolMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true description?: true } export type LlmToolCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true description?: true parameters?: true _all?: true } export type LlmToolAggregateArgs = { /** * Filter which LlmTool to aggregate. */ where?: LlmToolWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LlmTools to fetch. */ orderBy?: LlmToolOrderByWithRelationInput | LlmToolOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: LlmToolWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LlmTools 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` LlmTools. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned LlmTools **/ _count?: true | LlmToolCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: LlmToolMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: LlmToolMaxAggregateInputType } export type GetLlmToolAggregateType = { [P in keyof T & keyof AggregateLlmTool]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type LlmToolGroupByArgs = { where?: LlmToolWhereInput orderBy?: LlmToolOrderByWithAggregationInput | LlmToolOrderByWithAggregationInput[] by: LlmToolScalarFieldEnum[] | LlmToolScalarFieldEnum having?: LlmToolScalarWhereWithAggregatesInput take?: number skip?: number _count?: LlmToolCountAggregateInputType | true _min?: LlmToolMinAggregateInputType _max?: LlmToolMaxAggregateInputType } export type LlmToolGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string name: string description: string parameters: JsonValue _count: LlmToolCountAggregateOutputType | null _min: LlmToolMinAggregateOutputType | null _max: LlmToolMaxAggregateOutputType | null } type GetLlmToolGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof LlmToolGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type LlmToolSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean description?: boolean parameters?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["llmTool"]> export type LlmToolSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean description?: boolean parameters?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["llmTool"]> export type LlmToolSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean description?: boolean parameters?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["llmTool"]> export type LlmToolSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean description?: boolean parameters?: boolean } export type LlmToolOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "name" | "description" | "parameters", ExtArgs["result"]["llmTool"]> export type LlmToolInclude = { project?: boolean | ProjectDefaultArgs } export type LlmToolIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type LlmToolIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $LlmToolPayload = { name: "LlmTool" objects: { project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string name: string description: string parameters: Prisma.JsonValue }, ExtArgs["result"]["llmTool"]> composites: {} } type LlmToolGetPayload = $Result.GetResult type LlmToolCountArgs = Omit & { select?: LlmToolCountAggregateInputType | true } export interface LlmToolDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['LlmTool'], meta: { name: 'LlmTool' } } /** * Find zero or one LlmTool that matches the filter. * @param {LlmToolFindUniqueArgs} args - Arguments to find a LlmTool * @example * // Get one LlmTool * const llmTool = await prisma.llmTool.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__LlmToolClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one LlmTool that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {LlmToolFindUniqueOrThrowArgs} args - Arguments to find a LlmTool * @example * // Get one LlmTool * const llmTool = await prisma.llmTool.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__LlmToolClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first LlmTool 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 {LlmToolFindFirstArgs} args - Arguments to find a LlmTool * @example * // Get one LlmTool * const llmTool = await prisma.llmTool.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__LlmToolClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first LlmTool 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 {LlmToolFindFirstOrThrowArgs} args - Arguments to find a LlmTool * @example * // Get one LlmTool * const llmTool = await prisma.llmTool.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__LlmToolClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more LlmTools 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 {LlmToolFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all LlmTools * const llmTools = await prisma.llmTool.findMany() * * // Get first 10 LlmTools * const llmTools = await prisma.llmTool.findMany({ take: 10 }) * * // Only select the `id` * const llmToolWithIdOnly = await prisma.llmTool.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a LlmTool. * @param {LlmToolCreateArgs} args - Arguments to create a LlmTool. * @example * // Create one LlmTool * const LlmTool = await prisma.llmTool.create({ * data: { * // ... data to create a LlmTool * } * }) * */ create(args: SelectSubset>): Prisma__LlmToolClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many LlmTools. * @param {LlmToolCreateManyArgs} args - Arguments to create many LlmTools. * @example * // Create many LlmTools * const llmTool = await prisma.llmTool.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many LlmTools and returns the data saved in the database. * @param {LlmToolCreateManyAndReturnArgs} args - Arguments to create many LlmTools. * @example * // Create many LlmTools * const llmTool = await prisma.llmTool.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many LlmTools and only return the `id` * const llmToolWithIdOnly = await prisma.llmTool.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 LlmTool. * @param {LlmToolDeleteArgs} args - Arguments to delete one LlmTool. * @example * // Delete one LlmTool * const LlmTool = await prisma.llmTool.delete({ * where: { * // ... filter to delete one LlmTool * } * }) * */ delete(args: SelectSubset>): Prisma__LlmToolClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one LlmTool. * @param {LlmToolUpdateArgs} args - Arguments to update one LlmTool. * @example * // Update one LlmTool * const llmTool = await prisma.llmTool.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__LlmToolClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more LlmTools. * @param {LlmToolDeleteManyArgs} args - Arguments to filter LlmTools to delete. * @example * // Delete a few LlmTools * const { count } = await prisma.llmTool.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more LlmTools. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LlmToolUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many LlmTools * const llmTool = await prisma.llmTool.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more LlmTools and returns the data updated in the database. * @param {LlmToolUpdateManyAndReturnArgs} args - Arguments to update many LlmTools. * @example * // Update many LlmTools * const llmTool = await prisma.llmTool.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more LlmTools and only return the `id` * const llmToolWithIdOnly = await prisma.llmTool.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 LlmTool. * @param {LlmToolUpsertArgs} args - Arguments to update or create a LlmTool. * @example * // Update or create a LlmTool * const llmTool = await prisma.llmTool.upsert({ * create: { * // ... data to create a LlmTool * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the LlmTool we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__LlmToolClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of LlmTools. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LlmToolCountArgs} args - Arguments to filter LlmTools to count. * @example * // Count the number of LlmTools * const count = await prisma.llmTool.count({ * where: { * // ... the filter for the LlmTools 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 LlmTool. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LlmToolAggregateArgs} 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 LlmTool. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {LlmToolGroupByArgs} 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 LlmToolGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: LlmToolGroupByArgs['orderBy'] } : { orderBy?: LlmToolGroupByArgs['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 ? GetLlmToolGroupByPayload : Prisma.PrismaPromise /** * Fields of the LlmTool model */ readonly fields: LlmToolFieldRefs; } /** * The delegate class that acts as a "Promise-like" for LlmTool. * 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__LlmToolClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$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 LlmTool model */ interface LlmToolFieldRefs { readonly id: FieldRef<"LlmTool", 'String'> readonly createdAt: FieldRef<"LlmTool", 'DateTime'> readonly updatedAt: FieldRef<"LlmTool", 'DateTime'> readonly projectId: FieldRef<"LlmTool", 'String'> readonly name: FieldRef<"LlmTool", 'String'> readonly description: FieldRef<"LlmTool", 'String'> readonly parameters: FieldRef<"LlmTool", 'Json'> } // Custom InputTypes /** * LlmTool findUnique */ export type LlmToolFindUniqueArgs = { /** * Select specific fields to fetch from the LlmTool */ select?: LlmToolSelect | null /** * Omit specific fields from the LlmTool */ omit?: LlmToolOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmToolInclude | null /** * Filter, which LlmTool to fetch. */ where: LlmToolWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LlmTool findUniqueOrThrow */ export type LlmToolFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the LlmTool */ select?: LlmToolSelect | null /** * Omit specific fields from the LlmTool */ omit?: LlmToolOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmToolInclude | null /** * Filter, which LlmTool to fetch. */ where: LlmToolWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LlmTool findFirst */ export type LlmToolFindFirstArgs = { /** * Select specific fields to fetch from the LlmTool */ select?: LlmToolSelect | null /** * Omit specific fields from the LlmTool */ omit?: LlmToolOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmToolInclude | null /** * Filter, which LlmTool to fetch. */ where?: LlmToolWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LlmTools to fetch. */ orderBy?: LlmToolOrderByWithRelationInput | LlmToolOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for LlmTools. */ cursor?: LlmToolWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LlmTools 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` LlmTools. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of LlmTools. */ distinct?: LlmToolScalarFieldEnum | LlmToolScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LlmTool findFirstOrThrow */ export type LlmToolFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the LlmTool */ select?: LlmToolSelect | null /** * Omit specific fields from the LlmTool */ omit?: LlmToolOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmToolInclude | null /** * Filter, which LlmTool to fetch. */ where?: LlmToolWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LlmTools to fetch. */ orderBy?: LlmToolOrderByWithRelationInput | LlmToolOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for LlmTools. */ cursor?: LlmToolWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LlmTools 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` LlmTools. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of LlmTools. */ distinct?: LlmToolScalarFieldEnum | LlmToolScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LlmTool findMany */ export type LlmToolFindManyArgs = { /** * Select specific fields to fetch from the LlmTool */ select?: LlmToolSelect | null /** * Omit specific fields from the LlmTool */ omit?: LlmToolOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmToolInclude | null /** * Filter, which LlmTools to fetch. */ where?: LlmToolWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of LlmTools to fetch. */ orderBy?: LlmToolOrderByWithRelationInput | LlmToolOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing LlmTools. */ cursor?: LlmToolWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` LlmTools 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` LlmTools. */ skip?: number distinct?: LlmToolScalarFieldEnum | LlmToolScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * LlmTool create */ export type LlmToolCreateArgs = { /** * Select specific fields to fetch from the LlmTool */ select?: LlmToolSelect | null /** * Omit specific fields from the LlmTool */ omit?: LlmToolOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmToolInclude | null /** * The data needed to create a LlmTool. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * LlmTool createMany */ export type LlmToolCreateManyArgs = { /** * The data used to create many LlmTools. */ data: LlmToolCreateManyInput | LlmToolCreateManyInput[] skipDuplicates?: boolean } /** * LlmTool createManyAndReturn */ export type LlmToolCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the LlmTool */ select?: LlmToolSelectCreateManyAndReturn | null /** * Omit specific fields from the LlmTool */ omit?: LlmToolOmit | null /** * The data used to create many LlmTools. */ data: LlmToolCreateManyInput | LlmToolCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: LlmToolIncludeCreateManyAndReturn | null } /** * LlmTool update */ export type LlmToolUpdateArgs = { /** * Select specific fields to fetch from the LlmTool */ select?: LlmToolSelect | null /** * Omit specific fields from the LlmTool */ omit?: LlmToolOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmToolInclude | null /** * The data needed to update a LlmTool. */ data: XOR /** * Choose, which LlmTool to update. */ where: LlmToolWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LlmTool updateMany */ export type LlmToolUpdateManyArgs = { /** * The data used to update LlmTools. */ data: XOR /** * Filter which LlmTools to update */ where?: LlmToolWhereInput /** * Limit how many LlmTools to update. */ limit?: number } /** * LlmTool updateManyAndReturn */ export type LlmToolUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the LlmTool */ select?: LlmToolSelectUpdateManyAndReturn | null /** * Omit specific fields from the LlmTool */ omit?: LlmToolOmit | null /** * The data used to update LlmTools. */ data: XOR /** * Filter which LlmTools to update */ where?: LlmToolWhereInput /** * Limit how many LlmTools to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: LlmToolIncludeUpdateManyAndReturn | null } /** * LlmTool upsert */ export type LlmToolUpsertArgs = { /** * Select specific fields to fetch from the LlmTool */ select?: LlmToolSelect | null /** * Omit specific fields from the LlmTool */ omit?: LlmToolOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmToolInclude | null /** * The filter to search for the LlmTool to update in case it exists. */ where: LlmToolWhereUniqueInput /** * In case the LlmTool found by the `where` argument doesn't exist, create a new LlmTool with this data. */ create: XOR /** * In case the LlmTool was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * LlmTool delete */ export type LlmToolDeleteArgs = { /** * Select specific fields to fetch from the LlmTool */ select?: LlmToolSelect | null /** * Omit specific fields from the LlmTool */ omit?: LlmToolOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmToolInclude | null /** * Filter which LlmTool to delete. */ where: LlmToolWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * LlmTool deleteMany */ export type LlmToolDeleteManyArgs = { /** * Filter which LlmTools to delete */ where?: LlmToolWhereInput /** * Limit how many LlmTools to delete. */ limit?: number } /** * LlmTool without action */ export type LlmToolDefaultArgs = { /** * Select specific fields to fetch from the LlmTool */ select?: LlmToolSelect | null /** * Omit specific fields from the LlmTool */ omit?: LlmToolOmit | null /** * Choose, which related nodes to fetch as well */ include?: LlmToolInclude | null } /** * Model Dashboard */ export type AggregateDashboard = { _count: DashboardCountAggregateOutputType | null _min: DashboardMinAggregateOutputType | null _max: DashboardMaxAggregateOutputType | null } export type DashboardMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null createdBy: string | null updatedBy: string | null projectId: string | null name: string | null description: string | null } export type DashboardMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null createdBy: string | null updatedBy: string | null projectId: string | null name: string | null description: string | null } export type DashboardCountAggregateOutputType = { id: number createdAt: number updatedAt: number createdBy: number updatedBy: number projectId: number name: number description: number definition: number filters: number _all: number } export type DashboardMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true createdBy?: true updatedBy?: true projectId?: true name?: true description?: true } export type DashboardMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true createdBy?: true updatedBy?: true projectId?: true name?: true description?: true } export type DashboardCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true createdBy?: true updatedBy?: true projectId?: true name?: true description?: true definition?: true filters?: true _all?: true } export type DashboardAggregateArgs = { /** * Filter which Dashboard to aggregate. */ where?: DashboardWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Dashboards to fetch. */ orderBy?: DashboardOrderByWithRelationInput | DashboardOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: DashboardWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Dashboards 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` Dashboards. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Dashboards **/ _count?: true | DashboardCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: DashboardMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: DashboardMaxAggregateInputType } export type GetDashboardAggregateType = { [P in keyof T & keyof AggregateDashboard]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type DashboardGroupByArgs = { where?: DashboardWhereInput orderBy?: DashboardOrderByWithAggregationInput | DashboardOrderByWithAggregationInput[] by: DashboardScalarFieldEnum[] | DashboardScalarFieldEnum having?: DashboardScalarWhereWithAggregatesInput take?: number skip?: number _count?: DashboardCountAggregateInputType | true _min?: DashboardMinAggregateInputType _max?: DashboardMaxAggregateInputType } export type DashboardGroupByOutputType = { id: string createdAt: Date updatedAt: Date createdBy: string | null updatedBy: string | null projectId: string | null name: string description: string definition: JsonValue filters: JsonValue _count: DashboardCountAggregateOutputType | null _min: DashboardMinAggregateOutputType | null _max: DashboardMaxAggregateOutputType | null } type GetDashboardGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof DashboardGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type DashboardSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean createdBy?: boolean updatedBy?: boolean projectId?: boolean name?: boolean description?: boolean definition?: boolean filters?: boolean createdByUser?: boolean | Dashboard$createdByUserArgs updatedByUser?: boolean | Dashboard$updatedByUserArgs project?: boolean | Dashboard$projectArgs }, ExtArgs["result"]["dashboard"]> export type DashboardSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean createdBy?: boolean updatedBy?: boolean projectId?: boolean name?: boolean description?: boolean definition?: boolean filters?: boolean createdByUser?: boolean | Dashboard$createdByUserArgs updatedByUser?: boolean | Dashboard$updatedByUserArgs project?: boolean | Dashboard$projectArgs }, ExtArgs["result"]["dashboard"]> export type DashboardSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean createdBy?: boolean updatedBy?: boolean projectId?: boolean name?: boolean description?: boolean definition?: boolean filters?: boolean createdByUser?: boolean | Dashboard$createdByUserArgs updatedByUser?: boolean | Dashboard$updatedByUserArgs project?: boolean | Dashboard$projectArgs }, ExtArgs["result"]["dashboard"]> export type DashboardSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean createdBy?: boolean updatedBy?: boolean projectId?: boolean name?: boolean description?: boolean definition?: boolean filters?: boolean } export type DashboardOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "createdBy" | "updatedBy" | "projectId" | "name" | "description" | "definition" | "filters", ExtArgs["result"]["dashboard"]> export type DashboardInclude = { createdByUser?: boolean | Dashboard$createdByUserArgs updatedByUser?: boolean | Dashboard$updatedByUserArgs project?: boolean | Dashboard$projectArgs } export type DashboardIncludeCreateManyAndReturn = { createdByUser?: boolean | Dashboard$createdByUserArgs updatedByUser?: boolean | Dashboard$updatedByUserArgs project?: boolean | Dashboard$projectArgs } export type DashboardIncludeUpdateManyAndReturn = { createdByUser?: boolean | Dashboard$createdByUserArgs updatedByUser?: boolean | Dashboard$updatedByUserArgs project?: boolean | Dashboard$projectArgs } export type $DashboardPayload = { name: "Dashboard" objects: { createdByUser: Prisma.$UserPayload | null updatedByUser: Prisma.$UserPayload | null project: Prisma.$ProjectPayload | null } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date createdBy: string | null updatedBy: string | null projectId: string | null name: string description: string definition: Prisma.JsonValue filters: Prisma.JsonValue }, ExtArgs["result"]["dashboard"]> composites: {} } type DashboardGetPayload = $Result.GetResult type DashboardCountArgs = Omit & { select?: DashboardCountAggregateInputType | true } export interface DashboardDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Dashboard'], meta: { name: 'Dashboard' } } /** * Find zero or one Dashboard that matches the filter. * @param {DashboardFindUniqueArgs} args - Arguments to find a Dashboard * @example * // Get one Dashboard * const dashboard = await prisma.dashboard.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__DashboardClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Dashboard that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {DashboardFindUniqueOrThrowArgs} args - Arguments to find a Dashboard * @example * // Get one Dashboard * const dashboard = await prisma.dashboard.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__DashboardClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Dashboard 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 {DashboardFindFirstArgs} args - Arguments to find a Dashboard * @example * // Get one Dashboard * const dashboard = await prisma.dashboard.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__DashboardClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Dashboard 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 {DashboardFindFirstOrThrowArgs} args - Arguments to find a Dashboard * @example * // Get one Dashboard * const dashboard = await prisma.dashboard.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__DashboardClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Dashboards 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 {DashboardFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Dashboards * const dashboards = await prisma.dashboard.findMany() * * // Get first 10 Dashboards * const dashboards = await prisma.dashboard.findMany({ take: 10 }) * * // Only select the `id` * const dashboardWithIdOnly = await prisma.dashboard.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Dashboard. * @param {DashboardCreateArgs} args - Arguments to create a Dashboard. * @example * // Create one Dashboard * const Dashboard = await prisma.dashboard.create({ * data: { * // ... data to create a Dashboard * } * }) * */ create(args: SelectSubset>): Prisma__DashboardClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Dashboards. * @param {DashboardCreateManyArgs} args - Arguments to create many Dashboards. * @example * // Create many Dashboards * const dashboard = await prisma.dashboard.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Dashboards and returns the data saved in the database. * @param {DashboardCreateManyAndReturnArgs} args - Arguments to create many Dashboards. * @example * // Create many Dashboards * const dashboard = await prisma.dashboard.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Dashboards and only return the `id` * const dashboardWithIdOnly = await prisma.dashboard.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 Dashboard. * @param {DashboardDeleteArgs} args - Arguments to delete one Dashboard. * @example * // Delete one Dashboard * const Dashboard = await prisma.dashboard.delete({ * where: { * // ... filter to delete one Dashboard * } * }) * */ delete(args: SelectSubset>): Prisma__DashboardClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Dashboard. * @param {DashboardUpdateArgs} args - Arguments to update one Dashboard. * @example * // Update one Dashboard * const dashboard = await prisma.dashboard.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__DashboardClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Dashboards. * @param {DashboardDeleteManyArgs} args - Arguments to filter Dashboards to delete. * @example * // Delete a few Dashboards * const { count } = await prisma.dashboard.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Dashboards. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DashboardUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Dashboards * const dashboard = await prisma.dashboard.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Dashboards and returns the data updated in the database. * @param {DashboardUpdateManyAndReturnArgs} args - Arguments to update many Dashboards. * @example * // Update many Dashboards * const dashboard = await prisma.dashboard.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Dashboards and only return the `id` * const dashboardWithIdOnly = await prisma.dashboard.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 Dashboard. * @param {DashboardUpsertArgs} args - Arguments to update or create a Dashboard. * @example * // Update or create a Dashboard * const dashboard = await prisma.dashboard.upsert({ * create: { * // ... data to create a Dashboard * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Dashboard we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__DashboardClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Dashboards. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DashboardCountArgs} args - Arguments to filter Dashboards to count. * @example * // Count the number of Dashboards * const count = await prisma.dashboard.count({ * where: { * // ... the filter for the Dashboards 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 Dashboard. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DashboardAggregateArgs} 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 Dashboard. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DashboardGroupByArgs} 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 DashboardGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: DashboardGroupByArgs['orderBy'] } : { orderBy?: DashboardGroupByArgs['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 ? GetDashboardGroupByPayload : Prisma.PrismaPromise /** * Fields of the Dashboard model */ readonly fields: DashboardFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Dashboard. * 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__DashboardClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" createdByUser = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> updatedByUser = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> project = {}>(args?: Subset>): Prisma__ProjectClient<$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 Dashboard model */ interface DashboardFieldRefs { readonly id: FieldRef<"Dashboard", 'String'> readonly createdAt: FieldRef<"Dashboard", 'DateTime'> readonly updatedAt: FieldRef<"Dashboard", 'DateTime'> readonly createdBy: FieldRef<"Dashboard", 'String'> readonly updatedBy: FieldRef<"Dashboard", 'String'> readonly projectId: FieldRef<"Dashboard", 'String'> readonly name: FieldRef<"Dashboard", 'String'> readonly description: FieldRef<"Dashboard", 'String'> readonly definition: FieldRef<"Dashboard", 'Json'> readonly filters: FieldRef<"Dashboard", 'Json'> } // Custom InputTypes /** * Dashboard findUnique */ export type DashboardFindUniqueArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardInclude | null /** * Filter, which Dashboard to fetch. */ where: DashboardWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Dashboard findUniqueOrThrow */ export type DashboardFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardInclude | null /** * Filter, which Dashboard to fetch. */ where: DashboardWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Dashboard findFirst */ export type DashboardFindFirstArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardInclude | null /** * Filter, which Dashboard to fetch. */ where?: DashboardWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Dashboards to fetch. */ orderBy?: DashboardOrderByWithRelationInput | DashboardOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Dashboards. */ cursor?: DashboardWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Dashboards 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` Dashboards. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Dashboards. */ distinct?: DashboardScalarFieldEnum | DashboardScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Dashboard findFirstOrThrow */ export type DashboardFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardInclude | null /** * Filter, which Dashboard to fetch. */ where?: DashboardWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Dashboards to fetch. */ orderBy?: DashboardOrderByWithRelationInput | DashboardOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Dashboards. */ cursor?: DashboardWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Dashboards 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` Dashboards. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Dashboards. */ distinct?: DashboardScalarFieldEnum | DashboardScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Dashboard findMany */ export type DashboardFindManyArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardInclude | null /** * Filter, which Dashboards to fetch. */ where?: DashboardWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Dashboards to fetch. */ orderBy?: DashboardOrderByWithRelationInput | DashboardOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Dashboards. */ cursor?: DashboardWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Dashboards 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` Dashboards. */ skip?: number distinct?: DashboardScalarFieldEnum | DashboardScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Dashboard create */ export type DashboardCreateArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardInclude | null /** * The data needed to create a Dashboard. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Dashboard createMany */ export type DashboardCreateManyArgs = { /** * The data used to create many Dashboards. */ data: DashboardCreateManyInput | DashboardCreateManyInput[] skipDuplicates?: boolean } /** * Dashboard createManyAndReturn */ export type DashboardCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelectCreateManyAndReturn | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * The data used to create many Dashboards. */ data: DashboardCreateManyInput | DashboardCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: DashboardIncludeCreateManyAndReturn | null } /** * Dashboard update */ export type DashboardUpdateArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardInclude | null /** * The data needed to update a Dashboard. */ data: XOR /** * Choose, which Dashboard to update. */ where: DashboardWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Dashboard updateMany */ export type DashboardUpdateManyArgs = { /** * The data used to update Dashboards. */ data: XOR /** * Filter which Dashboards to update */ where?: DashboardWhereInput /** * Limit how many Dashboards to update. */ limit?: number } /** * Dashboard updateManyAndReturn */ export type DashboardUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelectUpdateManyAndReturn | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * The data used to update Dashboards. */ data: XOR /** * Filter which Dashboards to update */ where?: DashboardWhereInput /** * Limit how many Dashboards to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: DashboardIncludeUpdateManyAndReturn | null } /** * Dashboard upsert */ export type DashboardUpsertArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardInclude | null /** * The filter to search for the Dashboard to update in case it exists. */ where: DashboardWhereUniqueInput /** * In case the Dashboard found by the `where` argument doesn't exist, create a new Dashboard with this data. */ create: XOR /** * In case the Dashboard was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Dashboard delete */ export type DashboardDeleteArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardInclude | null /** * Filter which Dashboard to delete. */ where: DashboardWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Dashboard deleteMany */ export type DashboardDeleteManyArgs = { /** * Filter which Dashboards to delete */ where?: DashboardWhereInput /** * Limit how many Dashboards to delete. */ limit?: number } /** * Dashboard.createdByUser */ export type Dashboard$createdByUserArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput } /** * Dashboard.updatedByUser */ export type Dashboard$updatedByUserArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput } /** * Dashboard.project */ export type Dashboard$projectArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null where?: ProjectWhereInput } /** * Dashboard without action */ export type DashboardDefaultArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardInclude | null } /** * Model DashboardWidget */ export type AggregateDashboardWidget = { _count: DashboardWidgetCountAggregateOutputType | null _min: DashboardWidgetMinAggregateOutputType | null _max: DashboardWidgetMaxAggregateOutputType | null } export type DashboardWidgetMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null createdBy: string | null updatedBy: string | null projectId: string | null name: string | null description: string | null view: $Enums.DashboardWidgetViews | null chartType: $Enums.DashboardWidgetChartType | null } export type DashboardWidgetMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null createdBy: string | null updatedBy: string | null projectId: string | null name: string | null description: string | null view: $Enums.DashboardWidgetViews | null chartType: $Enums.DashboardWidgetChartType | null } export type DashboardWidgetCountAggregateOutputType = { id: number createdAt: number updatedAt: number createdBy: number updatedBy: number projectId: number name: number description: number view: number dimensions: number metrics: number filters: number chartType: number chartConfig: number _all: number } export type DashboardWidgetMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true createdBy?: true updatedBy?: true projectId?: true name?: true description?: true view?: true chartType?: true } export type DashboardWidgetMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true createdBy?: true updatedBy?: true projectId?: true name?: true description?: true view?: true chartType?: true } export type DashboardWidgetCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true createdBy?: true updatedBy?: true projectId?: true name?: true description?: true view?: true dimensions?: true metrics?: true filters?: true chartType?: true chartConfig?: true _all?: true } export type DashboardWidgetAggregateArgs = { /** * Filter which DashboardWidget to aggregate. */ where?: DashboardWidgetWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DashboardWidgets to fetch. */ orderBy?: DashboardWidgetOrderByWithRelationInput | DashboardWidgetOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: DashboardWidgetWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DashboardWidgets 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` DashboardWidgets. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned DashboardWidgets **/ _count?: true | DashboardWidgetCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: DashboardWidgetMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: DashboardWidgetMaxAggregateInputType } export type GetDashboardWidgetAggregateType = { [P in keyof T & keyof AggregateDashboardWidget]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type DashboardWidgetGroupByArgs = { where?: DashboardWidgetWhereInput orderBy?: DashboardWidgetOrderByWithAggregationInput | DashboardWidgetOrderByWithAggregationInput[] by: DashboardWidgetScalarFieldEnum[] | DashboardWidgetScalarFieldEnum having?: DashboardWidgetScalarWhereWithAggregatesInput take?: number skip?: number _count?: DashboardWidgetCountAggregateInputType | true _min?: DashboardWidgetMinAggregateInputType _max?: DashboardWidgetMaxAggregateInputType } export type DashboardWidgetGroupByOutputType = { id: string createdAt: Date updatedAt: Date createdBy: string | null updatedBy: string | null projectId: string | null name: string description: string view: $Enums.DashboardWidgetViews dimensions: JsonValue metrics: JsonValue filters: JsonValue chartType: $Enums.DashboardWidgetChartType chartConfig: JsonValue _count: DashboardWidgetCountAggregateOutputType | null _min: DashboardWidgetMinAggregateOutputType | null _max: DashboardWidgetMaxAggregateOutputType | null } type GetDashboardWidgetGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof DashboardWidgetGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type DashboardWidgetSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean createdBy?: boolean updatedBy?: boolean projectId?: boolean name?: boolean description?: boolean view?: boolean dimensions?: boolean metrics?: boolean filters?: boolean chartType?: boolean chartConfig?: boolean createdByUser?: boolean | DashboardWidget$createdByUserArgs updatedByUser?: boolean | DashboardWidget$updatedByUserArgs project?: boolean | DashboardWidget$projectArgs }, ExtArgs["result"]["dashboardWidget"]> export type DashboardWidgetSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean createdBy?: boolean updatedBy?: boolean projectId?: boolean name?: boolean description?: boolean view?: boolean dimensions?: boolean metrics?: boolean filters?: boolean chartType?: boolean chartConfig?: boolean createdByUser?: boolean | DashboardWidget$createdByUserArgs updatedByUser?: boolean | DashboardWidget$updatedByUserArgs project?: boolean | DashboardWidget$projectArgs }, ExtArgs["result"]["dashboardWidget"]> export type DashboardWidgetSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean createdBy?: boolean updatedBy?: boolean projectId?: boolean name?: boolean description?: boolean view?: boolean dimensions?: boolean metrics?: boolean filters?: boolean chartType?: boolean chartConfig?: boolean createdByUser?: boolean | DashboardWidget$createdByUserArgs updatedByUser?: boolean | DashboardWidget$updatedByUserArgs project?: boolean | DashboardWidget$projectArgs }, ExtArgs["result"]["dashboardWidget"]> export type DashboardWidgetSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean createdBy?: boolean updatedBy?: boolean projectId?: boolean name?: boolean description?: boolean view?: boolean dimensions?: boolean metrics?: boolean filters?: boolean chartType?: boolean chartConfig?: boolean } export type DashboardWidgetOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "createdBy" | "updatedBy" | "projectId" | "name" | "description" | "view" | "dimensions" | "metrics" | "filters" | "chartType" | "chartConfig", ExtArgs["result"]["dashboardWidget"]> export type DashboardWidgetInclude = { createdByUser?: boolean | DashboardWidget$createdByUserArgs updatedByUser?: boolean | DashboardWidget$updatedByUserArgs project?: boolean | DashboardWidget$projectArgs } export type DashboardWidgetIncludeCreateManyAndReturn = { createdByUser?: boolean | DashboardWidget$createdByUserArgs updatedByUser?: boolean | DashboardWidget$updatedByUserArgs project?: boolean | DashboardWidget$projectArgs } export type DashboardWidgetIncludeUpdateManyAndReturn = { createdByUser?: boolean | DashboardWidget$createdByUserArgs updatedByUser?: boolean | DashboardWidget$updatedByUserArgs project?: boolean | DashboardWidget$projectArgs } export type $DashboardWidgetPayload = { name: "DashboardWidget" objects: { createdByUser: Prisma.$UserPayload | null updatedByUser: Prisma.$UserPayload | null project: Prisma.$ProjectPayload | null } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date createdBy: string | null updatedBy: string | null projectId: string | null name: string description: string view: $Enums.DashboardWidgetViews dimensions: Prisma.JsonValue metrics: Prisma.JsonValue filters: Prisma.JsonValue chartType: $Enums.DashboardWidgetChartType chartConfig: Prisma.JsonValue }, ExtArgs["result"]["dashboardWidget"]> composites: {} } type DashboardWidgetGetPayload = $Result.GetResult type DashboardWidgetCountArgs = Omit & { select?: DashboardWidgetCountAggregateInputType | true } export interface DashboardWidgetDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['DashboardWidget'], meta: { name: 'DashboardWidget' } } /** * Find zero or one DashboardWidget that matches the filter. * @param {DashboardWidgetFindUniqueArgs} args - Arguments to find a DashboardWidget * @example * // Get one DashboardWidget * const dashboardWidget = await prisma.dashboardWidget.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__DashboardWidgetClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one DashboardWidget that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {DashboardWidgetFindUniqueOrThrowArgs} args - Arguments to find a DashboardWidget * @example * // Get one DashboardWidget * const dashboardWidget = await prisma.dashboardWidget.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__DashboardWidgetClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first DashboardWidget 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 {DashboardWidgetFindFirstArgs} args - Arguments to find a DashboardWidget * @example * // Get one DashboardWidget * const dashboardWidget = await prisma.dashboardWidget.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__DashboardWidgetClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first DashboardWidget 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 {DashboardWidgetFindFirstOrThrowArgs} args - Arguments to find a DashboardWidget * @example * // Get one DashboardWidget * const dashboardWidget = await prisma.dashboardWidget.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__DashboardWidgetClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more DashboardWidgets 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 {DashboardWidgetFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all DashboardWidgets * const dashboardWidgets = await prisma.dashboardWidget.findMany() * * // Get first 10 DashboardWidgets * const dashboardWidgets = await prisma.dashboardWidget.findMany({ take: 10 }) * * // Only select the `id` * const dashboardWidgetWithIdOnly = await prisma.dashboardWidget.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a DashboardWidget. * @param {DashboardWidgetCreateArgs} args - Arguments to create a DashboardWidget. * @example * // Create one DashboardWidget * const DashboardWidget = await prisma.dashboardWidget.create({ * data: { * // ... data to create a DashboardWidget * } * }) * */ create(args: SelectSubset>): Prisma__DashboardWidgetClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many DashboardWidgets. * @param {DashboardWidgetCreateManyArgs} args - Arguments to create many DashboardWidgets. * @example * // Create many DashboardWidgets * const dashboardWidget = await prisma.dashboardWidget.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many DashboardWidgets and returns the data saved in the database. * @param {DashboardWidgetCreateManyAndReturnArgs} args - Arguments to create many DashboardWidgets. * @example * // Create many DashboardWidgets * const dashboardWidget = await prisma.dashboardWidget.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many DashboardWidgets and only return the `id` * const dashboardWidgetWithIdOnly = await prisma.dashboardWidget.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 DashboardWidget. * @param {DashboardWidgetDeleteArgs} args - Arguments to delete one DashboardWidget. * @example * // Delete one DashboardWidget * const DashboardWidget = await prisma.dashboardWidget.delete({ * where: { * // ... filter to delete one DashboardWidget * } * }) * */ delete(args: SelectSubset>): Prisma__DashboardWidgetClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one DashboardWidget. * @param {DashboardWidgetUpdateArgs} args - Arguments to update one DashboardWidget. * @example * // Update one DashboardWidget * const dashboardWidget = await prisma.dashboardWidget.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__DashboardWidgetClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more DashboardWidgets. * @param {DashboardWidgetDeleteManyArgs} args - Arguments to filter DashboardWidgets to delete. * @example * // Delete a few DashboardWidgets * const { count } = await prisma.dashboardWidget.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DashboardWidgets. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DashboardWidgetUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many DashboardWidgets * const dashboardWidget = await prisma.dashboardWidget.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DashboardWidgets and returns the data updated in the database. * @param {DashboardWidgetUpdateManyAndReturnArgs} args - Arguments to update many DashboardWidgets. * @example * // Update many DashboardWidgets * const dashboardWidget = await prisma.dashboardWidget.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more DashboardWidgets and only return the `id` * const dashboardWidgetWithIdOnly = await prisma.dashboardWidget.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 DashboardWidget. * @param {DashboardWidgetUpsertArgs} args - Arguments to update or create a DashboardWidget. * @example * // Update or create a DashboardWidget * const dashboardWidget = await prisma.dashboardWidget.upsert({ * create: { * // ... data to create a DashboardWidget * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the DashboardWidget we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__DashboardWidgetClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of DashboardWidgets. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DashboardWidgetCountArgs} args - Arguments to filter DashboardWidgets to count. * @example * // Count the number of DashboardWidgets * const count = await prisma.dashboardWidget.count({ * where: { * // ... the filter for the DashboardWidgets 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 DashboardWidget. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DashboardWidgetAggregateArgs} 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 DashboardWidget. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DashboardWidgetGroupByArgs} 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 DashboardWidgetGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: DashboardWidgetGroupByArgs['orderBy'] } : { orderBy?: DashboardWidgetGroupByArgs['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 ? GetDashboardWidgetGroupByPayload : Prisma.PrismaPromise /** * Fields of the DashboardWidget model */ readonly fields: DashboardWidgetFieldRefs; } /** * The delegate class that acts as a "Promise-like" for DashboardWidget. * 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__DashboardWidgetClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" createdByUser = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> updatedByUser = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> project = {}>(args?: Subset>): Prisma__ProjectClient<$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 DashboardWidget model */ interface DashboardWidgetFieldRefs { readonly id: FieldRef<"DashboardWidget", 'String'> readonly createdAt: FieldRef<"DashboardWidget", 'DateTime'> readonly updatedAt: FieldRef<"DashboardWidget", 'DateTime'> readonly createdBy: FieldRef<"DashboardWidget", 'String'> readonly updatedBy: FieldRef<"DashboardWidget", 'String'> readonly projectId: FieldRef<"DashboardWidget", 'String'> readonly name: FieldRef<"DashboardWidget", 'String'> readonly description: FieldRef<"DashboardWidget", 'String'> readonly view: FieldRef<"DashboardWidget", 'DashboardWidgetViews'> readonly dimensions: FieldRef<"DashboardWidget", 'Json'> readonly metrics: FieldRef<"DashboardWidget", 'Json'> readonly filters: FieldRef<"DashboardWidget", 'Json'> readonly chartType: FieldRef<"DashboardWidget", 'DashboardWidgetChartType'> readonly chartConfig: FieldRef<"DashboardWidget", 'Json'> } // Custom InputTypes /** * DashboardWidget findUnique */ export type DashboardWidgetFindUniqueArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelect | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetInclude | null /** * Filter, which DashboardWidget to fetch. */ where: DashboardWidgetWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DashboardWidget findUniqueOrThrow */ export type DashboardWidgetFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelect | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetInclude | null /** * Filter, which DashboardWidget to fetch. */ where: DashboardWidgetWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DashboardWidget findFirst */ export type DashboardWidgetFindFirstArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelect | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetInclude | null /** * Filter, which DashboardWidget to fetch. */ where?: DashboardWidgetWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DashboardWidgets to fetch. */ orderBy?: DashboardWidgetOrderByWithRelationInput | DashboardWidgetOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DashboardWidgets. */ cursor?: DashboardWidgetWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DashboardWidgets 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` DashboardWidgets. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DashboardWidgets. */ distinct?: DashboardWidgetScalarFieldEnum | DashboardWidgetScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DashboardWidget findFirstOrThrow */ export type DashboardWidgetFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelect | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetInclude | null /** * Filter, which DashboardWidget to fetch. */ where?: DashboardWidgetWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DashboardWidgets to fetch. */ orderBy?: DashboardWidgetOrderByWithRelationInput | DashboardWidgetOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DashboardWidgets. */ cursor?: DashboardWidgetWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DashboardWidgets 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` DashboardWidgets. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DashboardWidgets. */ distinct?: DashboardWidgetScalarFieldEnum | DashboardWidgetScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DashboardWidget findMany */ export type DashboardWidgetFindManyArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelect | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetInclude | null /** * Filter, which DashboardWidgets to fetch. */ where?: DashboardWidgetWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DashboardWidgets to fetch. */ orderBy?: DashboardWidgetOrderByWithRelationInput | DashboardWidgetOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing DashboardWidgets. */ cursor?: DashboardWidgetWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DashboardWidgets 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` DashboardWidgets. */ skip?: number distinct?: DashboardWidgetScalarFieldEnum | DashboardWidgetScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * DashboardWidget create */ export type DashboardWidgetCreateArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelect | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetInclude | null /** * The data needed to create a DashboardWidget. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * DashboardWidget createMany */ export type DashboardWidgetCreateManyArgs = { /** * The data used to create many DashboardWidgets. */ data: DashboardWidgetCreateManyInput | DashboardWidgetCreateManyInput[] skipDuplicates?: boolean } /** * DashboardWidget createManyAndReturn */ export type DashboardWidgetCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelectCreateManyAndReturn | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * The data used to create many DashboardWidgets. */ data: DashboardWidgetCreateManyInput | DashboardWidgetCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetIncludeCreateManyAndReturn | null } /** * DashboardWidget update */ export type DashboardWidgetUpdateArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelect | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetInclude | null /** * The data needed to update a DashboardWidget. */ data: XOR /** * Choose, which DashboardWidget to update. */ where: DashboardWidgetWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DashboardWidget updateMany */ export type DashboardWidgetUpdateManyArgs = { /** * The data used to update DashboardWidgets. */ data: XOR /** * Filter which DashboardWidgets to update */ where?: DashboardWidgetWhereInput /** * Limit how many DashboardWidgets to update. */ limit?: number } /** * DashboardWidget updateManyAndReturn */ export type DashboardWidgetUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelectUpdateManyAndReturn | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * The data used to update DashboardWidgets. */ data: XOR /** * Filter which DashboardWidgets to update */ where?: DashboardWidgetWhereInput /** * Limit how many DashboardWidgets to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetIncludeUpdateManyAndReturn | null } /** * DashboardWidget upsert */ export type DashboardWidgetUpsertArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelect | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetInclude | null /** * The filter to search for the DashboardWidget to update in case it exists. */ where: DashboardWidgetWhereUniqueInput /** * In case the DashboardWidget found by the `where` argument doesn't exist, create a new DashboardWidget with this data. */ create: XOR /** * In case the DashboardWidget was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * DashboardWidget delete */ export type DashboardWidgetDeleteArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelect | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetInclude | null /** * Filter which DashboardWidget to delete. */ where: DashboardWidgetWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * DashboardWidget deleteMany */ export type DashboardWidgetDeleteManyArgs = { /** * Filter which DashboardWidgets to delete */ where?: DashboardWidgetWhereInput /** * Limit how many DashboardWidgets to delete. */ limit?: number } /** * DashboardWidget.createdByUser */ export type DashboardWidget$createdByUserArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput } /** * DashboardWidget.updatedByUser */ export type DashboardWidget$updatedByUserArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput } /** * DashboardWidget.project */ export type DashboardWidget$projectArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Omit specific fields from the Project */ omit?: ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null where?: ProjectWhereInput } /** * DashboardWidget without action */ export type DashboardWidgetDefaultArgs = { /** * Select specific fields to fetch from the DashboardWidget */ select?: DashboardWidgetSelect | null /** * Omit specific fields from the DashboardWidget */ omit?: DashboardWidgetOmit | null /** * Choose, which related nodes to fetch as well */ include?: DashboardWidgetInclude | null } /** * Model TableViewPreset */ export type AggregateTableViewPreset = { _count: TableViewPresetCountAggregateOutputType | null _min: TableViewPresetMinAggregateOutputType | null _max: TableViewPresetMaxAggregateOutputType | null } export type TableViewPresetMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null name: string | null tableName: string | null createdBy: string | null updatedBy: string | null searchQuery: string | null } export type TableViewPresetMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null name: string | null tableName: string | null createdBy: string | null updatedBy: string | null searchQuery: string | null } export type TableViewPresetCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number name: number tableName: number createdBy: number updatedBy: number filters: number columnOrder: number columnVisibility: number searchQuery: number orderBy: number _all: number } export type TableViewPresetMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true tableName?: true createdBy?: true updatedBy?: true searchQuery?: true } export type TableViewPresetMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true tableName?: true createdBy?: true updatedBy?: true searchQuery?: true } export type TableViewPresetCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true name?: true tableName?: true createdBy?: true updatedBy?: true filters?: true columnOrder?: true columnVisibility?: true searchQuery?: true orderBy?: true _all?: true } export type TableViewPresetAggregateArgs = { /** * Filter which TableViewPreset to aggregate. */ where?: TableViewPresetWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TableViewPresets to fetch. */ orderBy?: TableViewPresetOrderByWithRelationInput | TableViewPresetOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: TableViewPresetWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TableViewPresets 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` TableViewPresets. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TableViewPresets **/ _count?: true | TableViewPresetCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TableViewPresetMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TableViewPresetMaxAggregateInputType } export type GetTableViewPresetAggregateType = { [P in keyof T & keyof AggregateTableViewPreset]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type TableViewPresetGroupByArgs = { where?: TableViewPresetWhereInput orderBy?: TableViewPresetOrderByWithAggregationInput | TableViewPresetOrderByWithAggregationInput[] by: TableViewPresetScalarFieldEnum[] | TableViewPresetScalarFieldEnum having?: TableViewPresetScalarWhereWithAggregatesInput take?: number skip?: number _count?: TableViewPresetCountAggregateInputType | true _min?: TableViewPresetMinAggregateInputType _max?: TableViewPresetMaxAggregateInputType } export type TableViewPresetGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string name: string tableName: string createdBy: string | null updatedBy: string | null filters: JsonValue columnOrder: JsonValue columnVisibility: JsonValue searchQuery: string | null orderBy: JsonValue | null _count: TableViewPresetCountAggregateOutputType | null _min: TableViewPresetMinAggregateOutputType | null _max: TableViewPresetMaxAggregateOutputType | null } type GetTableViewPresetGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof TableViewPresetGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type TableViewPresetSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean tableName?: boolean createdBy?: boolean updatedBy?: boolean filters?: boolean columnOrder?: boolean columnVisibility?: boolean searchQuery?: boolean orderBy?: boolean project?: boolean | ProjectDefaultArgs createdByUser?: boolean | TableViewPreset$createdByUserArgs updatedByUser?: boolean | TableViewPreset$updatedByUserArgs }, ExtArgs["result"]["tableViewPreset"]> export type TableViewPresetSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean tableName?: boolean createdBy?: boolean updatedBy?: boolean filters?: boolean columnOrder?: boolean columnVisibility?: boolean searchQuery?: boolean orderBy?: boolean project?: boolean | ProjectDefaultArgs createdByUser?: boolean | TableViewPreset$createdByUserArgs updatedByUser?: boolean | TableViewPreset$updatedByUserArgs }, ExtArgs["result"]["tableViewPreset"]> export type TableViewPresetSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean tableName?: boolean createdBy?: boolean updatedBy?: boolean filters?: boolean columnOrder?: boolean columnVisibility?: boolean searchQuery?: boolean orderBy?: boolean project?: boolean | ProjectDefaultArgs createdByUser?: boolean | TableViewPreset$createdByUserArgs updatedByUser?: boolean | TableViewPreset$updatedByUserArgs }, ExtArgs["result"]["tableViewPreset"]> export type TableViewPresetSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean name?: boolean tableName?: boolean createdBy?: boolean updatedBy?: boolean filters?: boolean columnOrder?: boolean columnVisibility?: boolean searchQuery?: boolean orderBy?: boolean } export type TableViewPresetOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "name" | "tableName" | "createdBy" | "updatedBy" | "filters" | "columnOrder" | "columnVisibility" | "searchQuery" | "orderBy", ExtArgs["result"]["tableViewPreset"]> export type TableViewPresetInclude = { project?: boolean | ProjectDefaultArgs createdByUser?: boolean | TableViewPreset$createdByUserArgs updatedByUser?: boolean | TableViewPreset$updatedByUserArgs } export type TableViewPresetIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs createdByUser?: boolean | TableViewPreset$createdByUserArgs updatedByUser?: boolean | TableViewPreset$updatedByUserArgs } export type TableViewPresetIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs createdByUser?: boolean | TableViewPreset$createdByUserArgs updatedByUser?: boolean | TableViewPreset$updatedByUserArgs } export type $TableViewPresetPayload = { name: "TableViewPreset" objects: { project: Prisma.$ProjectPayload createdByUser: Prisma.$UserPayload | null updatedByUser: Prisma.$UserPayload | null } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string name: string tableName: string createdBy: string | null updatedBy: string | null filters: Prisma.JsonValue columnOrder: Prisma.JsonValue columnVisibility: Prisma.JsonValue searchQuery: string | null orderBy: Prisma.JsonValue | null }, ExtArgs["result"]["tableViewPreset"]> composites: {} } type TableViewPresetGetPayload = $Result.GetResult type TableViewPresetCountArgs = Omit & { select?: TableViewPresetCountAggregateInputType | true } export interface TableViewPresetDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TableViewPreset'], meta: { name: 'TableViewPreset' } } /** * Find zero or one TableViewPreset that matches the filter. * @param {TableViewPresetFindUniqueArgs} args - Arguments to find a TableViewPreset * @example * // Get one TableViewPreset * const tableViewPreset = await prisma.tableViewPreset.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__TableViewPresetClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TableViewPreset that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TableViewPresetFindUniqueOrThrowArgs} args - Arguments to find a TableViewPreset * @example * // Get one TableViewPreset * const tableViewPreset = await prisma.tableViewPreset.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__TableViewPresetClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TableViewPreset 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 {TableViewPresetFindFirstArgs} args - Arguments to find a TableViewPreset * @example * // Get one TableViewPreset * const tableViewPreset = await prisma.tableViewPreset.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__TableViewPresetClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TableViewPreset 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 {TableViewPresetFindFirstOrThrowArgs} args - Arguments to find a TableViewPreset * @example * // Get one TableViewPreset * const tableViewPreset = await prisma.tableViewPreset.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__TableViewPresetClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TableViewPresets 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 {TableViewPresetFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TableViewPresets * const tableViewPresets = await prisma.tableViewPreset.findMany() * * // Get first 10 TableViewPresets * const tableViewPresets = await prisma.tableViewPreset.findMany({ take: 10 }) * * // Only select the `id` * const tableViewPresetWithIdOnly = await prisma.tableViewPreset.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a TableViewPreset. * @param {TableViewPresetCreateArgs} args - Arguments to create a TableViewPreset. * @example * // Create one TableViewPreset * const TableViewPreset = await prisma.tableViewPreset.create({ * data: { * // ... data to create a TableViewPreset * } * }) * */ create(args: SelectSubset>): Prisma__TableViewPresetClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TableViewPresets. * @param {TableViewPresetCreateManyArgs} args - Arguments to create many TableViewPresets. * @example * // Create many TableViewPresets * const tableViewPreset = await prisma.tableViewPreset.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many TableViewPresets and returns the data saved in the database. * @param {TableViewPresetCreateManyAndReturnArgs} args - Arguments to create many TableViewPresets. * @example * // Create many TableViewPresets * const tableViewPreset = await prisma.tableViewPreset.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TableViewPresets and only return the `id` * const tableViewPresetWithIdOnly = await prisma.tableViewPreset.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 TableViewPreset. * @param {TableViewPresetDeleteArgs} args - Arguments to delete one TableViewPreset. * @example * // Delete one TableViewPreset * const TableViewPreset = await prisma.tableViewPreset.delete({ * where: { * // ... filter to delete one TableViewPreset * } * }) * */ delete(args: SelectSubset>): Prisma__TableViewPresetClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TableViewPreset. * @param {TableViewPresetUpdateArgs} args - Arguments to update one TableViewPreset. * @example * // Update one TableViewPreset * const tableViewPreset = await prisma.tableViewPreset.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__TableViewPresetClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TableViewPresets. * @param {TableViewPresetDeleteManyArgs} args - Arguments to filter TableViewPresets to delete. * @example * // Delete a few TableViewPresets * const { count } = await prisma.tableViewPreset.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TableViewPresets. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TableViewPresetUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TableViewPresets * const tableViewPreset = await prisma.tableViewPreset.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TableViewPresets and returns the data updated in the database. * @param {TableViewPresetUpdateManyAndReturnArgs} args - Arguments to update many TableViewPresets. * @example * // Update many TableViewPresets * const tableViewPreset = await prisma.tableViewPreset.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TableViewPresets and only return the `id` * const tableViewPresetWithIdOnly = await prisma.tableViewPreset.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 TableViewPreset. * @param {TableViewPresetUpsertArgs} args - Arguments to update or create a TableViewPreset. * @example * // Update or create a TableViewPreset * const tableViewPreset = await prisma.tableViewPreset.upsert({ * create: { * // ... data to create a TableViewPreset * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TableViewPreset we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__TableViewPresetClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TableViewPresets. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TableViewPresetCountArgs} args - Arguments to filter TableViewPresets to count. * @example * // Count the number of TableViewPresets * const count = await prisma.tableViewPreset.count({ * where: { * // ... the filter for the TableViewPresets 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 TableViewPreset. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TableViewPresetAggregateArgs} 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 TableViewPreset. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TableViewPresetGroupByArgs} 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 TableViewPresetGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: TableViewPresetGroupByArgs['orderBy'] } : { orderBy?: TableViewPresetGroupByArgs['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 ? GetTableViewPresetGroupByPayload : Prisma.PrismaPromise /** * Fields of the TableViewPreset model */ readonly fields: TableViewPresetFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TableViewPreset. * 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__TableViewPresetClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> createdByUser = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> updatedByUser = {}>(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 TableViewPreset model */ interface TableViewPresetFieldRefs { readonly id: FieldRef<"TableViewPreset", 'String'> readonly createdAt: FieldRef<"TableViewPreset", 'DateTime'> readonly updatedAt: FieldRef<"TableViewPreset", 'DateTime'> readonly projectId: FieldRef<"TableViewPreset", 'String'> readonly name: FieldRef<"TableViewPreset", 'String'> readonly tableName: FieldRef<"TableViewPreset", 'String'> readonly createdBy: FieldRef<"TableViewPreset", 'String'> readonly updatedBy: FieldRef<"TableViewPreset", 'String'> readonly filters: FieldRef<"TableViewPreset", 'Json'> readonly columnOrder: FieldRef<"TableViewPreset", 'Json'> readonly columnVisibility: FieldRef<"TableViewPreset", 'Json'> readonly searchQuery: FieldRef<"TableViewPreset", 'String'> readonly orderBy: FieldRef<"TableViewPreset", 'Json'> } // Custom InputTypes /** * TableViewPreset findUnique */ export type TableViewPresetFindUniqueArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelect | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetInclude | null /** * Filter, which TableViewPreset to fetch. */ where: TableViewPresetWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * TableViewPreset findUniqueOrThrow */ export type TableViewPresetFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelect | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetInclude | null /** * Filter, which TableViewPreset to fetch. */ where: TableViewPresetWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * TableViewPreset findFirst */ export type TableViewPresetFindFirstArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelect | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetInclude | null /** * Filter, which TableViewPreset to fetch. */ where?: TableViewPresetWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TableViewPresets to fetch. */ orderBy?: TableViewPresetOrderByWithRelationInput | TableViewPresetOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TableViewPresets. */ cursor?: TableViewPresetWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TableViewPresets 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` TableViewPresets. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TableViewPresets. */ distinct?: TableViewPresetScalarFieldEnum | TableViewPresetScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * TableViewPreset findFirstOrThrow */ export type TableViewPresetFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelect | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetInclude | null /** * Filter, which TableViewPreset to fetch. */ where?: TableViewPresetWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TableViewPresets to fetch. */ orderBy?: TableViewPresetOrderByWithRelationInput | TableViewPresetOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TableViewPresets. */ cursor?: TableViewPresetWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TableViewPresets 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` TableViewPresets. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TableViewPresets. */ distinct?: TableViewPresetScalarFieldEnum | TableViewPresetScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * TableViewPreset findMany */ export type TableViewPresetFindManyArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelect | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetInclude | null /** * Filter, which TableViewPresets to fetch. */ where?: TableViewPresetWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TableViewPresets to fetch. */ orderBy?: TableViewPresetOrderByWithRelationInput | TableViewPresetOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TableViewPresets. */ cursor?: TableViewPresetWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TableViewPresets 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` TableViewPresets. */ skip?: number distinct?: TableViewPresetScalarFieldEnum | TableViewPresetScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * TableViewPreset create */ export type TableViewPresetCreateArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelect | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetInclude | null /** * The data needed to create a TableViewPreset. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * TableViewPreset createMany */ export type TableViewPresetCreateManyArgs = { /** * The data used to create many TableViewPresets. */ data: TableViewPresetCreateManyInput | TableViewPresetCreateManyInput[] skipDuplicates?: boolean } /** * TableViewPreset createManyAndReturn */ export type TableViewPresetCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelectCreateManyAndReturn | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * The data used to create many TableViewPresets. */ data: TableViewPresetCreateManyInput | TableViewPresetCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetIncludeCreateManyAndReturn | null } /** * TableViewPreset update */ export type TableViewPresetUpdateArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelect | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetInclude | null /** * The data needed to update a TableViewPreset. */ data: XOR /** * Choose, which TableViewPreset to update. */ where: TableViewPresetWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * TableViewPreset updateMany */ export type TableViewPresetUpdateManyArgs = { /** * The data used to update TableViewPresets. */ data: XOR /** * Filter which TableViewPresets to update */ where?: TableViewPresetWhereInput /** * Limit how many TableViewPresets to update. */ limit?: number } /** * TableViewPreset updateManyAndReturn */ export type TableViewPresetUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelectUpdateManyAndReturn | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * The data used to update TableViewPresets. */ data: XOR /** * Filter which TableViewPresets to update */ where?: TableViewPresetWhereInput /** * Limit how many TableViewPresets to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetIncludeUpdateManyAndReturn | null } /** * TableViewPreset upsert */ export type TableViewPresetUpsertArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelect | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetInclude | null /** * The filter to search for the TableViewPreset to update in case it exists. */ where: TableViewPresetWhereUniqueInput /** * In case the TableViewPreset found by the `where` argument doesn't exist, create a new TableViewPreset with this data. */ create: XOR /** * In case the TableViewPreset was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * TableViewPreset delete */ export type TableViewPresetDeleteArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelect | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetInclude | null /** * Filter which TableViewPreset to delete. */ where: TableViewPresetWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * TableViewPreset deleteMany */ export type TableViewPresetDeleteManyArgs = { /** * Filter which TableViewPresets to delete */ where?: TableViewPresetWhereInput /** * Limit how many TableViewPresets to delete. */ limit?: number } /** * TableViewPreset.createdByUser */ export type TableViewPreset$createdByUserArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput } /** * TableViewPreset.updatedByUser */ export type TableViewPreset$updatedByUserArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput } /** * TableViewPreset without action */ export type TableViewPresetDefaultArgs = { /** * Select specific fields to fetch from the TableViewPreset */ select?: TableViewPresetSelect | null /** * Omit specific fields from the TableViewPreset */ omit?: TableViewPresetOmit | null /** * Choose, which related nodes to fetch as well */ include?: TableViewPresetInclude | null } /** * Model Action */ export type AggregateAction = { _count: ActionCountAggregateOutputType | null _min: ActionMinAggregateOutputType | null _max: ActionMaxAggregateOutputType | null } export type ActionMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null type: $Enums.ActionType | null } export type ActionMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null type: $Enums.ActionType | null } export type ActionCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number type: number config: number _all: number } export type ActionMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true type?: true } export type ActionMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true type?: true } export type ActionCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true type?: true config?: true _all?: true } export type ActionAggregateArgs = { /** * Filter which Action to aggregate. */ where?: ActionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Actions to fetch. */ orderBy?: ActionOrderByWithRelationInput | ActionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ActionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Actions 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` Actions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Actions **/ _count?: true | ActionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ActionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ActionMaxAggregateInputType } export type GetActionAggregateType = { [P in keyof T & keyof AggregateAction]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ActionGroupByArgs = { where?: ActionWhereInput orderBy?: ActionOrderByWithAggregationInput | ActionOrderByWithAggregationInput[] by: ActionScalarFieldEnum[] | ActionScalarFieldEnum having?: ActionScalarWhereWithAggregatesInput take?: number skip?: number _count?: ActionCountAggregateInputType | true _min?: ActionMinAggregateInputType _max?: ActionMaxAggregateInputType } export type ActionGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string type: $Enums.ActionType config: JsonValue _count: ActionCountAggregateOutputType | null _min: ActionMinAggregateOutputType | null _max: ActionMaxAggregateOutputType | null } type GetActionGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ActionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ActionSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean type?: boolean config?: boolean project?: boolean | ProjectDefaultArgs automations?: boolean | Action$automationsArgs automationExecutions?: boolean | Action$automationExecutionsArgs _count?: boolean | ActionCountOutputTypeDefaultArgs }, ExtArgs["result"]["action"]> export type ActionSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean type?: boolean config?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["action"]> export type ActionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean type?: boolean config?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["action"]> export type ActionSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean type?: boolean config?: boolean } export type ActionOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "type" | "config", ExtArgs["result"]["action"]> export type ActionInclude = { project?: boolean | ProjectDefaultArgs automations?: boolean | Action$automationsArgs automationExecutions?: boolean | Action$automationExecutionsArgs _count?: boolean | ActionCountOutputTypeDefaultArgs } export type ActionIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type ActionIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $ActionPayload = { name: "Action" objects: { project: Prisma.$ProjectPayload automations: Prisma.$AutomationPayload[] automationExecutions: Prisma.$AutomationExecutionPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string type: $Enums.ActionType config: Prisma.JsonValue }, ExtArgs["result"]["action"]> composites: {} } type ActionGetPayload = $Result.GetResult type ActionCountArgs = Omit & { select?: ActionCountAggregateInputType | true } export interface ActionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Action'], meta: { name: 'Action' } } /** * Find zero or one Action that matches the filter. * @param {ActionFindUniqueArgs} args - Arguments to find a Action * @example * // Get one Action * const action = await prisma.action.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ActionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Action that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ActionFindUniqueOrThrowArgs} args - Arguments to find a Action * @example * // Get one Action * const action = await prisma.action.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ActionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Action 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 {ActionFindFirstArgs} args - Arguments to find a Action * @example * // Get one Action * const action = await prisma.action.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ActionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Action 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 {ActionFindFirstOrThrowArgs} args - Arguments to find a Action * @example * // Get one Action * const action = await prisma.action.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ActionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Actions 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 {ActionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Actions * const actions = await prisma.action.findMany() * * // Get first 10 Actions * const actions = await prisma.action.findMany({ take: 10 }) * * // Only select the `id` * const actionWithIdOnly = await prisma.action.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Action. * @param {ActionCreateArgs} args - Arguments to create a Action. * @example * // Create one Action * const Action = await prisma.action.create({ * data: { * // ... data to create a Action * } * }) * */ create(args: SelectSubset>): Prisma__ActionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Actions. * @param {ActionCreateManyArgs} args - Arguments to create many Actions. * @example * // Create many Actions * const action = await prisma.action.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Actions and returns the data saved in the database. * @param {ActionCreateManyAndReturnArgs} args - Arguments to create many Actions. * @example * // Create many Actions * const action = await prisma.action.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Actions and only return the `id` * const actionWithIdOnly = await prisma.action.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 Action. * @param {ActionDeleteArgs} args - Arguments to delete one Action. * @example * // Delete one Action * const Action = await prisma.action.delete({ * where: { * // ... filter to delete one Action * } * }) * */ delete(args: SelectSubset>): Prisma__ActionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Action. * @param {ActionUpdateArgs} args - Arguments to update one Action. * @example * // Update one Action * const action = await prisma.action.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ActionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Actions. * @param {ActionDeleteManyArgs} args - Arguments to filter Actions to delete. * @example * // Delete a few Actions * const { count } = await prisma.action.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Actions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ActionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Actions * const action = await prisma.action.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Actions and returns the data updated in the database. * @param {ActionUpdateManyAndReturnArgs} args - Arguments to update many Actions. * @example * // Update many Actions * const action = await prisma.action.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Actions and only return the `id` * const actionWithIdOnly = await prisma.action.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 Action. * @param {ActionUpsertArgs} args - Arguments to update or create a Action. * @example * // Update or create a Action * const action = await prisma.action.upsert({ * create: { * // ... data to create a Action * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Action we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ActionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Actions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ActionCountArgs} args - Arguments to filter Actions to count. * @example * // Count the number of Actions * const count = await prisma.action.count({ * where: { * // ... the filter for the Actions 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 Action. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ActionAggregateArgs} 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 Action. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ActionGroupByArgs} 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 ActionGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ActionGroupByArgs['orderBy'] } : { orderBy?: ActionGroupByArgs['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 ? GetActionGroupByPayload : Prisma.PrismaPromise /** * Fields of the Action model */ readonly fields: ActionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Action. * 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__ActionClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> automations = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> automationExecutions = {}>(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 Action model */ interface ActionFieldRefs { readonly id: FieldRef<"Action", 'String'> readonly createdAt: FieldRef<"Action", 'DateTime'> readonly updatedAt: FieldRef<"Action", 'DateTime'> readonly projectId: FieldRef<"Action", 'String'> readonly type: FieldRef<"Action", 'ActionType'> readonly config: FieldRef<"Action", 'Json'> } // Custom InputTypes /** * Action findUnique */ export type ActionFindUniqueArgs = { /** * Select specific fields to fetch from the Action */ select?: ActionSelect | null /** * Omit specific fields from the Action */ omit?: ActionOmit | null /** * Choose, which related nodes to fetch as well */ include?: ActionInclude | null /** * Filter, which Action to fetch. */ where: ActionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Action findUniqueOrThrow */ export type ActionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Action */ select?: ActionSelect | null /** * Omit specific fields from the Action */ omit?: ActionOmit | null /** * Choose, which related nodes to fetch as well */ include?: ActionInclude | null /** * Filter, which Action to fetch. */ where: ActionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Action findFirst */ export type ActionFindFirstArgs = { /** * Select specific fields to fetch from the Action */ select?: ActionSelect | null /** * Omit specific fields from the Action */ omit?: ActionOmit | null /** * Choose, which related nodes to fetch as well */ include?: ActionInclude | null /** * Filter, which Action to fetch. */ where?: ActionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Actions to fetch. */ orderBy?: ActionOrderByWithRelationInput | ActionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Actions. */ cursor?: ActionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Actions 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` Actions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Actions. */ distinct?: ActionScalarFieldEnum | ActionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Action findFirstOrThrow */ export type ActionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Action */ select?: ActionSelect | null /** * Omit specific fields from the Action */ omit?: ActionOmit | null /** * Choose, which related nodes to fetch as well */ include?: ActionInclude | null /** * Filter, which Action to fetch. */ where?: ActionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Actions to fetch. */ orderBy?: ActionOrderByWithRelationInput | ActionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Actions. */ cursor?: ActionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Actions 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` Actions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Actions. */ distinct?: ActionScalarFieldEnum | ActionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Action findMany */ export type ActionFindManyArgs = { /** * Select specific fields to fetch from the Action */ select?: ActionSelect | null /** * Omit specific fields from the Action */ omit?: ActionOmit | null /** * Choose, which related nodes to fetch as well */ include?: ActionInclude | null /** * Filter, which Actions to fetch. */ where?: ActionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Actions to fetch. */ orderBy?: ActionOrderByWithRelationInput | ActionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Actions. */ cursor?: ActionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Actions 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` Actions. */ skip?: number distinct?: ActionScalarFieldEnum | ActionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Action create */ export type ActionCreateArgs = { /** * Select specific fields to fetch from the Action */ select?: ActionSelect | null /** * Omit specific fields from the Action */ omit?: ActionOmit | null /** * Choose, which related nodes to fetch as well */ include?: ActionInclude | null /** * The data needed to create a Action. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Action createMany */ export type ActionCreateManyArgs = { /** * The data used to create many Actions. */ data: ActionCreateManyInput | ActionCreateManyInput[] skipDuplicates?: boolean } /** * Action createManyAndReturn */ export type ActionCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Action */ select?: ActionSelectCreateManyAndReturn | null /** * Omit specific fields from the Action */ omit?: ActionOmit | null /** * The data used to create many Actions. */ data: ActionCreateManyInput | ActionCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: ActionIncludeCreateManyAndReturn | null } /** * Action update */ export type ActionUpdateArgs = { /** * Select specific fields to fetch from the Action */ select?: ActionSelect | null /** * Omit specific fields from the Action */ omit?: ActionOmit | null /** * Choose, which related nodes to fetch as well */ include?: ActionInclude | null /** * The data needed to update a Action. */ data: XOR /** * Choose, which Action to update. */ where: ActionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Action updateMany */ export type ActionUpdateManyArgs = { /** * The data used to update Actions. */ data: XOR /** * Filter which Actions to update */ where?: ActionWhereInput /** * Limit how many Actions to update. */ limit?: number } /** * Action updateManyAndReturn */ export type ActionUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Action */ select?: ActionSelectUpdateManyAndReturn | null /** * Omit specific fields from the Action */ omit?: ActionOmit | null /** * The data used to update Actions. */ data: XOR /** * Filter which Actions to update */ where?: ActionWhereInput /** * Limit how many Actions to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: ActionIncludeUpdateManyAndReturn | null } /** * Action upsert */ export type ActionUpsertArgs = { /** * Select specific fields to fetch from the Action */ select?: ActionSelect | null /** * Omit specific fields from the Action */ omit?: ActionOmit | null /** * Choose, which related nodes to fetch as well */ include?: ActionInclude | null /** * The filter to search for the Action to update in case it exists. */ where: ActionWhereUniqueInput /** * In case the Action found by the `where` argument doesn't exist, create a new Action with this data. */ create: XOR /** * In case the Action was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Action delete */ export type ActionDeleteArgs = { /** * Select specific fields to fetch from the Action */ select?: ActionSelect | null /** * Omit specific fields from the Action */ omit?: ActionOmit | null /** * Choose, which related nodes to fetch as well */ include?: ActionInclude | null /** * Filter which Action to delete. */ where: ActionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Action deleteMany */ export type ActionDeleteManyArgs = { /** * Filter which Actions to delete */ where?: ActionWhereInput /** * Limit how many Actions to delete. */ limit?: number } /** * Action.automations */ export type Action$automationsArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelect | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationInclude | null where?: AutomationWhereInput orderBy?: AutomationOrderByWithRelationInput | AutomationOrderByWithRelationInput[] cursor?: AutomationWhereUniqueInput take?: number skip?: number distinct?: AutomationScalarFieldEnum | AutomationScalarFieldEnum[] } /** * Action.automationExecutions */ export type Action$automationExecutionsArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelect | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionInclude | null where?: AutomationExecutionWhereInput orderBy?: AutomationExecutionOrderByWithRelationInput | AutomationExecutionOrderByWithRelationInput[] cursor?: AutomationExecutionWhereUniqueInput take?: number skip?: number distinct?: AutomationExecutionScalarFieldEnum | AutomationExecutionScalarFieldEnum[] } /** * Action without action */ export type ActionDefaultArgs = { /** * Select specific fields to fetch from the Action */ select?: ActionSelect | null /** * Omit specific fields from the Action */ omit?: ActionOmit | null /** * Choose, which related nodes to fetch as well */ include?: ActionInclude | null } /** * Model Trigger */ export type AggregateTrigger = { _count: TriggerCountAggregateOutputType | null _min: TriggerMinAggregateOutputType | null _max: TriggerMaxAggregateOutputType | null } export type TriggerMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null eventSource: string | null status: $Enums.JobConfigState | null } export type TriggerMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null projectId: string | null eventSource: string | null status: $Enums.JobConfigState | null } export type TriggerCountAggregateOutputType = { id: number createdAt: number updatedAt: number projectId: number eventSource: number eventActions: number filter: number status: number _all: number } export type TriggerMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true eventSource?: true status?: true } export type TriggerMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true eventSource?: true status?: true } export type TriggerCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true projectId?: true eventSource?: true eventActions?: true filter?: true status?: true _all?: true } export type TriggerAggregateArgs = { /** * Filter which Trigger to aggregate. */ where?: TriggerWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Triggers to fetch. */ orderBy?: TriggerOrderByWithRelationInput | TriggerOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: TriggerWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Triggers 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` Triggers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Triggers **/ _count?: true | TriggerCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TriggerMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TriggerMaxAggregateInputType } export type GetTriggerAggregateType = { [P in keyof T & keyof AggregateTrigger]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type TriggerGroupByArgs = { where?: TriggerWhereInput orderBy?: TriggerOrderByWithAggregationInput | TriggerOrderByWithAggregationInput[] by: TriggerScalarFieldEnum[] | TriggerScalarFieldEnum having?: TriggerScalarWhereWithAggregatesInput take?: number skip?: number _count?: TriggerCountAggregateInputType | true _min?: TriggerMinAggregateInputType _max?: TriggerMaxAggregateInputType } export type TriggerGroupByOutputType = { id: string createdAt: Date updatedAt: Date projectId: string eventSource: string eventActions: string[] filter: JsonValue | null status: $Enums.JobConfigState _count: TriggerCountAggregateOutputType | null _min: TriggerMinAggregateOutputType | null _max: TriggerMaxAggregateOutputType | null } type GetTriggerGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof TriggerGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type TriggerSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean eventSource?: boolean eventActions?: boolean filter?: boolean status?: boolean project?: boolean | ProjectDefaultArgs automationExecutions?: boolean | Trigger$automationExecutionsArgs automations?: boolean | Trigger$automationsArgs _count?: boolean | TriggerCountOutputTypeDefaultArgs }, ExtArgs["result"]["trigger"]> export type TriggerSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean eventSource?: boolean eventActions?: boolean filter?: boolean status?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["trigger"]> export type TriggerSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean eventSource?: boolean eventActions?: boolean filter?: boolean status?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["trigger"]> export type TriggerSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean projectId?: boolean eventSource?: boolean eventActions?: boolean filter?: boolean status?: boolean } export type TriggerOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "projectId" | "eventSource" | "eventActions" | "filter" | "status", ExtArgs["result"]["trigger"]> export type TriggerInclude = { project?: boolean | ProjectDefaultArgs automationExecutions?: boolean | Trigger$automationExecutionsArgs automations?: boolean | Trigger$automationsArgs _count?: boolean | TriggerCountOutputTypeDefaultArgs } export type TriggerIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type TriggerIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $TriggerPayload = { name: "Trigger" objects: { project: Prisma.$ProjectPayload automationExecutions: Prisma.$AutomationExecutionPayload[] automations: Prisma.$AutomationPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date projectId: string eventSource: string eventActions: string[] filter: Prisma.JsonValue | null status: $Enums.JobConfigState }, ExtArgs["result"]["trigger"]> composites: {} } type TriggerGetPayload = $Result.GetResult type TriggerCountArgs = Omit & { select?: TriggerCountAggregateInputType | true } export interface TriggerDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Trigger'], meta: { name: 'Trigger' } } /** * Find zero or one Trigger that matches the filter. * @param {TriggerFindUniqueArgs} args - Arguments to find a Trigger * @example * // Get one Trigger * const trigger = await prisma.trigger.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__TriggerClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Trigger that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TriggerFindUniqueOrThrowArgs} args - Arguments to find a Trigger * @example * // Get one Trigger * const trigger = await prisma.trigger.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__TriggerClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Trigger 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 {TriggerFindFirstArgs} args - Arguments to find a Trigger * @example * // Get one Trigger * const trigger = await prisma.trigger.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__TriggerClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Trigger 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 {TriggerFindFirstOrThrowArgs} args - Arguments to find a Trigger * @example * // Get one Trigger * const trigger = await prisma.trigger.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__TriggerClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Triggers 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 {TriggerFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Triggers * const triggers = await prisma.trigger.findMany() * * // Get first 10 Triggers * const triggers = await prisma.trigger.findMany({ take: 10 }) * * // Only select the `id` * const triggerWithIdOnly = await prisma.trigger.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Trigger. * @param {TriggerCreateArgs} args - Arguments to create a Trigger. * @example * // Create one Trigger * const Trigger = await prisma.trigger.create({ * data: { * // ... data to create a Trigger * } * }) * */ create(args: SelectSubset>): Prisma__TriggerClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Triggers. * @param {TriggerCreateManyArgs} args - Arguments to create many Triggers. * @example * // Create many Triggers * const trigger = await prisma.trigger.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Triggers and returns the data saved in the database. * @param {TriggerCreateManyAndReturnArgs} args - Arguments to create many Triggers. * @example * // Create many Triggers * const trigger = await prisma.trigger.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Triggers and only return the `id` * const triggerWithIdOnly = await prisma.trigger.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 Trigger. * @param {TriggerDeleteArgs} args - Arguments to delete one Trigger. * @example * // Delete one Trigger * const Trigger = await prisma.trigger.delete({ * where: { * // ... filter to delete one Trigger * } * }) * */ delete(args: SelectSubset>): Prisma__TriggerClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Trigger. * @param {TriggerUpdateArgs} args - Arguments to update one Trigger. * @example * // Update one Trigger * const trigger = await prisma.trigger.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__TriggerClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Triggers. * @param {TriggerDeleteManyArgs} args - Arguments to filter Triggers to delete. * @example * // Delete a few Triggers * const { count } = await prisma.trigger.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Triggers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TriggerUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Triggers * const trigger = await prisma.trigger.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Triggers and returns the data updated in the database. * @param {TriggerUpdateManyAndReturnArgs} args - Arguments to update many Triggers. * @example * // Update many Triggers * const trigger = await prisma.trigger.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Triggers and only return the `id` * const triggerWithIdOnly = await prisma.trigger.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 Trigger. * @param {TriggerUpsertArgs} args - Arguments to update or create a Trigger. * @example * // Update or create a Trigger * const trigger = await prisma.trigger.upsert({ * create: { * // ... data to create a Trigger * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Trigger we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__TriggerClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Triggers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TriggerCountArgs} args - Arguments to filter Triggers to count. * @example * // Count the number of Triggers * const count = await prisma.trigger.count({ * where: { * // ... the filter for the Triggers 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 Trigger. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TriggerAggregateArgs} 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 Trigger. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TriggerGroupByArgs} 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 TriggerGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: TriggerGroupByArgs['orderBy'] } : { orderBy?: TriggerGroupByArgs['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 ? GetTriggerGroupByPayload : Prisma.PrismaPromise /** * Fields of the Trigger model */ readonly fields: TriggerFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Trigger. * 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__TriggerClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> automationExecutions = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> automations = {}>(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 Trigger model */ interface TriggerFieldRefs { readonly id: FieldRef<"Trigger", 'String'> readonly createdAt: FieldRef<"Trigger", 'DateTime'> readonly updatedAt: FieldRef<"Trigger", 'DateTime'> readonly projectId: FieldRef<"Trigger", 'String'> readonly eventSource: FieldRef<"Trigger", 'String'> readonly eventActions: FieldRef<"Trigger", 'String[]'> readonly filter: FieldRef<"Trigger", 'Json'> readonly status: FieldRef<"Trigger", 'JobConfigState'> } // Custom InputTypes /** * Trigger findUnique */ export type TriggerFindUniqueArgs = { /** * Select specific fields to fetch from the Trigger */ select?: TriggerSelect | null /** * Omit specific fields from the Trigger */ omit?: TriggerOmit | null /** * Choose, which related nodes to fetch as well */ include?: TriggerInclude | null /** * Filter, which Trigger to fetch. */ where: TriggerWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Trigger findUniqueOrThrow */ export type TriggerFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Trigger */ select?: TriggerSelect | null /** * Omit specific fields from the Trigger */ omit?: TriggerOmit | null /** * Choose, which related nodes to fetch as well */ include?: TriggerInclude | null /** * Filter, which Trigger to fetch. */ where: TriggerWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Trigger findFirst */ export type TriggerFindFirstArgs = { /** * Select specific fields to fetch from the Trigger */ select?: TriggerSelect | null /** * Omit specific fields from the Trigger */ omit?: TriggerOmit | null /** * Choose, which related nodes to fetch as well */ include?: TriggerInclude | null /** * Filter, which Trigger to fetch. */ where?: TriggerWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Triggers to fetch. */ orderBy?: TriggerOrderByWithRelationInput | TriggerOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Triggers. */ cursor?: TriggerWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Triggers 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` Triggers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Triggers. */ distinct?: TriggerScalarFieldEnum | TriggerScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Trigger findFirstOrThrow */ export type TriggerFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Trigger */ select?: TriggerSelect | null /** * Omit specific fields from the Trigger */ omit?: TriggerOmit | null /** * Choose, which related nodes to fetch as well */ include?: TriggerInclude | null /** * Filter, which Trigger to fetch. */ where?: TriggerWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Triggers to fetch. */ orderBy?: TriggerOrderByWithRelationInput | TriggerOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Triggers. */ cursor?: TriggerWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Triggers 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` Triggers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Triggers. */ distinct?: TriggerScalarFieldEnum | TriggerScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Trigger findMany */ export type TriggerFindManyArgs = { /** * Select specific fields to fetch from the Trigger */ select?: TriggerSelect | null /** * Omit specific fields from the Trigger */ omit?: TriggerOmit | null /** * Choose, which related nodes to fetch as well */ include?: TriggerInclude | null /** * Filter, which Triggers to fetch. */ where?: TriggerWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Triggers to fetch. */ orderBy?: TriggerOrderByWithRelationInput | TriggerOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Triggers. */ cursor?: TriggerWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Triggers 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` Triggers. */ skip?: number distinct?: TriggerScalarFieldEnum | TriggerScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Trigger create */ export type TriggerCreateArgs = { /** * Select specific fields to fetch from the Trigger */ select?: TriggerSelect | null /** * Omit specific fields from the Trigger */ omit?: TriggerOmit | null /** * Choose, which related nodes to fetch as well */ include?: TriggerInclude | null /** * The data needed to create a Trigger. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Trigger createMany */ export type TriggerCreateManyArgs = { /** * The data used to create many Triggers. */ data: TriggerCreateManyInput | TriggerCreateManyInput[] skipDuplicates?: boolean } /** * Trigger createManyAndReturn */ export type TriggerCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Trigger */ select?: TriggerSelectCreateManyAndReturn | null /** * Omit specific fields from the Trigger */ omit?: TriggerOmit | null /** * The data used to create many Triggers. */ data: TriggerCreateManyInput | TriggerCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: TriggerIncludeCreateManyAndReturn | null } /** * Trigger update */ export type TriggerUpdateArgs = { /** * Select specific fields to fetch from the Trigger */ select?: TriggerSelect | null /** * Omit specific fields from the Trigger */ omit?: TriggerOmit | null /** * Choose, which related nodes to fetch as well */ include?: TriggerInclude | null /** * The data needed to update a Trigger. */ data: XOR /** * Choose, which Trigger to update. */ where: TriggerWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Trigger updateMany */ export type TriggerUpdateManyArgs = { /** * The data used to update Triggers. */ data: XOR /** * Filter which Triggers to update */ where?: TriggerWhereInput /** * Limit how many Triggers to update. */ limit?: number } /** * Trigger updateManyAndReturn */ export type TriggerUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Trigger */ select?: TriggerSelectUpdateManyAndReturn | null /** * Omit specific fields from the Trigger */ omit?: TriggerOmit | null /** * The data used to update Triggers. */ data: XOR /** * Filter which Triggers to update */ where?: TriggerWhereInput /** * Limit how many Triggers to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: TriggerIncludeUpdateManyAndReturn | null } /** * Trigger upsert */ export type TriggerUpsertArgs = { /** * Select specific fields to fetch from the Trigger */ select?: TriggerSelect | null /** * Omit specific fields from the Trigger */ omit?: TriggerOmit | null /** * Choose, which related nodes to fetch as well */ include?: TriggerInclude | null /** * The filter to search for the Trigger to update in case it exists. */ where: TriggerWhereUniqueInput /** * In case the Trigger found by the `where` argument doesn't exist, create a new Trigger with this data. */ create: XOR /** * In case the Trigger was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Trigger delete */ export type TriggerDeleteArgs = { /** * Select specific fields to fetch from the Trigger */ select?: TriggerSelect | null /** * Omit specific fields from the Trigger */ omit?: TriggerOmit | null /** * Choose, which related nodes to fetch as well */ include?: TriggerInclude | null /** * Filter which Trigger to delete. */ where: TriggerWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Trigger deleteMany */ export type TriggerDeleteManyArgs = { /** * Filter which Triggers to delete */ where?: TriggerWhereInput /** * Limit how many Triggers to delete. */ limit?: number } /** * Trigger.automationExecutions */ export type Trigger$automationExecutionsArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelect | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionInclude | null where?: AutomationExecutionWhereInput orderBy?: AutomationExecutionOrderByWithRelationInput | AutomationExecutionOrderByWithRelationInput[] cursor?: AutomationExecutionWhereUniqueInput take?: number skip?: number distinct?: AutomationExecutionScalarFieldEnum | AutomationExecutionScalarFieldEnum[] } /** * Trigger.automations */ export type Trigger$automationsArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelect | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationInclude | null where?: AutomationWhereInput orderBy?: AutomationOrderByWithRelationInput | AutomationOrderByWithRelationInput[] cursor?: AutomationWhereUniqueInput take?: number skip?: number distinct?: AutomationScalarFieldEnum | AutomationScalarFieldEnum[] } /** * Trigger without action */ export type TriggerDefaultArgs = { /** * Select specific fields to fetch from the Trigger */ select?: TriggerSelect | null /** * Omit specific fields from the Trigger */ omit?: TriggerOmit | null /** * Choose, which related nodes to fetch as well */ include?: TriggerInclude | null } /** * Model Automation */ export type AggregateAutomation = { _count: AutomationCountAggregateOutputType | null _min: AutomationMinAggregateOutputType | null _max: AutomationMaxAggregateOutputType | null } export type AutomationMinAggregateOutputType = { id: string | null name: string | null triggerId: string | null actionId: string | null createdAt: Date | null projectId: string | null } export type AutomationMaxAggregateOutputType = { id: string | null name: string | null triggerId: string | null actionId: string | null createdAt: Date | null projectId: string | null } export type AutomationCountAggregateOutputType = { id: number name: number triggerId: number actionId: number createdAt: number projectId: number _all: number } export type AutomationMinAggregateInputType = { id?: true name?: true triggerId?: true actionId?: true createdAt?: true projectId?: true } export type AutomationMaxAggregateInputType = { id?: true name?: true triggerId?: true actionId?: true createdAt?: true projectId?: true } export type AutomationCountAggregateInputType = { id?: true name?: true triggerId?: true actionId?: true createdAt?: true projectId?: true _all?: true } export type AutomationAggregateArgs = { /** * Filter which Automation to aggregate. */ where?: AutomationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Automations to fetch. */ orderBy?: AutomationOrderByWithRelationInput | AutomationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AutomationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Automations 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` Automations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Automations **/ _count?: true | AutomationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AutomationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AutomationMaxAggregateInputType } export type GetAutomationAggregateType = { [P in keyof T & keyof AggregateAutomation]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AutomationGroupByArgs = { where?: AutomationWhereInput orderBy?: AutomationOrderByWithAggregationInput | AutomationOrderByWithAggregationInput[] by: AutomationScalarFieldEnum[] | AutomationScalarFieldEnum having?: AutomationScalarWhereWithAggregatesInput take?: number skip?: number _count?: AutomationCountAggregateInputType | true _min?: AutomationMinAggregateInputType _max?: AutomationMaxAggregateInputType } export type AutomationGroupByOutputType = { id: string name: string triggerId: string actionId: string createdAt: Date projectId: string _count: AutomationCountAggregateOutputType | null _min: AutomationMinAggregateOutputType | null _max: AutomationMaxAggregateOutputType | null } type GetAutomationGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AutomationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AutomationSelect = $Extensions.GetSelect<{ id?: boolean name?: boolean triggerId?: boolean actionId?: boolean createdAt?: boolean projectId?: boolean trigger?: boolean | TriggerDefaultArgs action?: boolean | ActionDefaultArgs project?: boolean | ProjectDefaultArgs AutomationExecution?: boolean | Automation$AutomationExecutionArgs _count?: boolean | AutomationCountOutputTypeDefaultArgs }, ExtArgs["result"]["automation"]> export type AutomationSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean triggerId?: boolean actionId?: boolean createdAt?: boolean projectId?: boolean trigger?: boolean | TriggerDefaultArgs action?: boolean | ActionDefaultArgs project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["automation"]> export type AutomationSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean triggerId?: boolean actionId?: boolean createdAt?: boolean projectId?: boolean trigger?: boolean | TriggerDefaultArgs action?: boolean | ActionDefaultArgs project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["automation"]> export type AutomationSelectScalar = { id?: boolean name?: boolean triggerId?: boolean actionId?: boolean createdAt?: boolean projectId?: boolean } export type AutomationOmit = $Extensions.GetOmit<"id" | "name" | "triggerId" | "actionId" | "createdAt" | "projectId", ExtArgs["result"]["automation"]> export type AutomationInclude = { trigger?: boolean | TriggerDefaultArgs action?: boolean | ActionDefaultArgs project?: boolean | ProjectDefaultArgs AutomationExecution?: boolean | Automation$AutomationExecutionArgs _count?: boolean | AutomationCountOutputTypeDefaultArgs } export type AutomationIncludeCreateManyAndReturn = { trigger?: boolean | TriggerDefaultArgs action?: boolean | ActionDefaultArgs project?: boolean | ProjectDefaultArgs } export type AutomationIncludeUpdateManyAndReturn = { trigger?: boolean | TriggerDefaultArgs action?: boolean | ActionDefaultArgs project?: boolean | ProjectDefaultArgs } export type $AutomationPayload = { name: "Automation" objects: { trigger: Prisma.$TriggerPayload action: Prisma.$ActionPayload project: Prisma.$ProjectPayload AutomationExecution: Prisma.$AutomationExecutionPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string name: string triggerId: string actionId: string createdAt: Date projectId: string }, ExtArgs["result"]["automation"]> composites: {} } type AutomationGetPayload = $Result.GetResult type AutomationCountArgs = Omit & { select?: AutomationCountAggregateInputType | true } export interface AutomationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Automation'], meta: { name: 'Automation' } } /** * Find zero or one Automation that matches the filter. * @param {AutomationFindUniqueArgs} args - Arguments to find a Automation * @example * // Get one Automation * const automation = await prisma.automation.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AutomationClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Automation that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AutomationFindUniqueOrThrowArgs} args - Arguments to find a Automation * @example * // Get one Automation * const automation = await prisma.automation.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AutomationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Automation 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 {AutomationFindFirstArgs} args - Arguments to find a Automation * @example * // Get one Automation * const automation = await prisma.automation.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AutomationClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Automation 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 {AutomationFindFirstOrThrowArgs} args - Arguments to find a Automation * @example * // Get one Automation * const automation = await prisma.automation.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AutomationClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Automations 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 {AutomationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Automations * const automations = await prisma.automation.findMany() * * // Get first 10 Automations * const automations = await prisma.automation.findMany({ take: 10 }) * * // Only select the `id` * const automationWithIdOnly = await prisma.automation.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Automation. * @param {AutomationCreateArgs} args - Arguments to create a Automation. * @example * // Create one Automation * const Automation = await prisma.automation.create({ * data: { * // ... data to create a Automation * } * }) * */ create(args: SelectSubset>): Prisma__AutomationClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Automations. * @param {AutomationCreateManyArgs} args - Arguments to create many Automations. * @example * // Create many Automations * const automation = await prisma.automation.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Automations and returns the data saved in the database. * @param {AutomationCreateManyAndReturnArgs} args - Arguments to create many Automations. * @example * // Create many Automations * const automation = await prisma.automation.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Automations and only return the `id` * const automationWithIdOnly = await prisma.automation.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 Automation. * @param {AutomationDeleteArgs} args - Arguments to delete one Automation. * @example * // Delete one Automation * const Automation = await prisma.automation.delete({ * where: { * // ... filter to delete one Automation * } * }) * */ delete(args: SelectSubset>): Prisma__AutomationClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Automation. * @param {AutomationUpdateArgs} args - Arguments to update one Automation. * @example * // Update one Automation * const automation = await prisma.automation.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AutomationClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Automations. * @param {AutomationDeleteManyArgs} args - Arguments to filter Automations to delete. * @example * // Delete a few Automations * const { count } = await prisma.automation.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Automations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AutomationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Automations * const automation = await prisma.automation.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Automations and returns the data updated in the database. * @param {AutomationUpdateManyAndReturnArgs} args - Arguments to update many Automations. * @example * // Update many Automations * const automation = await prisma.automation.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Automations and only return the `id` * const automationWithIdOnly = await prisma.automation.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 Automation. * @param {AutomationUpsertArgs} args - Arguments to update or create a Automation. * @example * // Update or create a Automation * const automation = await prisma.automation.upsert({ * create: { * // ... data to create a Automation * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Automation we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AutomationClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Automations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AutomationCountArgs} args - Arguments to filter Automations to count. * @example * // Count the number of Automations * const count = await prisma.automation.count({ * where: { * // ... the filter for the Automations 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 Automation. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AutomationAggregateArgs} 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 Automation. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AutomationGroupByArgs} 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 AutomationGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AutomationGroupByArgs['orderBy'] } : { orderBy?: AutomationGroupByArgs['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 ? GetAutomationGroupByPayload : Prisma.PrismaPromise /** * Fields of the Automation model */ readonly fields: AutomationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Automation. * 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__AutomationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" trigger = {}>(args?: Subset>): Prisma__TriggerClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> action = {}>(args?: Subset>): Prisma__ActionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> AutomationExecution = {}>(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 Automation model */ interface AutomationFieldRefs { readonly id: FieldRef<"Automation", 'String'> readonly name: FieldRef<"Automation", 'String'> readonly triggerId: FieldRef<"Automation", 'String'> readonly actionId: FieldRef<"Automation", 'String'> readonly createdAt: FieldRef<"Automation", 'DateTime'> readonly projectId: FieldRef<"Automation", 'String'> } // Custom InputTypes /** * Automation findUnique */ export type AutomationFindUniqueArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelect | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationInclude | null /** * Filter, which Automation to fetch. */ where: AutomationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Automation findUniqueOrThrow */ export type AutomationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelect | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationInclude | null /** * Filter, which Automation to fetch. */ where: AutomationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Automation findFirst */ export type AutomationFindFirstArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelect | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationInclude | null /** * Filter, which Automation to fetch. */ where?: AutomationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Automations to fetch. */ orderBy?: AutomationOrderByWithRelationInput | AutomationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Automations. */ cursor?: AutomationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Automations 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` Automations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Automations. */ distinct?: AutomationScalarFieldEnum | AutomationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Automation findFirstOrThrow */ export type AutomationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelect | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationInclude | null /** * Filter, which Automation to fetch. */ where?: AutomationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Automations to fetch. */ orderBy?: AutomationOrderByWithRelationInput | AutomationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Automations. */ cursor?: AutomationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Automations 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` Automations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Automations. */ distinct?: AutomationScalarFieldEnum | AutomationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Automation findMany */ export type AutomationFindManyArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelect | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationInclude | null /** * Filter, which Automations to fetch. */ where?: AutomationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Automations to fetch. */ orderBy?: AutomationOrderByWithRelationInput | AutomationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Automations. */ cursor?: AutomationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Automations 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` Automations. */ skip?: number distinct?: AutomationScalarFieldEnum | AutomationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Automation create */ export type AutomationCreateArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelect | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationInclude | null /** * The data needed to create a Automation. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Automation createMany */ export type AutomationCreateManyArgs = { /** * The data used to create many Automations. */ data: AutomationCreateManyInput | AutomationCreateManyInput[] skipDuplicates?: boolean } /** * Automation createManyAndReturn */ export type AutomationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelectCreateManyAndReturn | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * The data used to create many Automations. */ data: AutomationCreateManyInput | AutomationCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: AutomationIncludeCreateManyAndReturn | null } /** * Automation update */ export type AutomationUpdateArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelect | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationInclude | null /** * The data needed to update a Automation. */ data: XOR /** * Choose, which Automation to update. */ where: AutomationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Automation updateMany */ export type AutomationUpdateManyArgs = { /** * The data used to update Automations. */ data: XOR /** * Filter which Automations to update */ where?: AutomationWhereInput /** * Limit how many Automations to update. */ limit?: number } /** * Automation updateManyAndReturn */ export type AutomationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelectUpdateManyAndReturn | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * The data used to update Automations. */ data: XOR /** * Filter which Automations to update */ where?: AutomationWhereInput /** * Limit how many Automations to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: AutomationIncludeUpdateManyAndReturn | null } /** * Automation upsert */ export type AutomationUpsertArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelect | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationInclude | null /** * The filter to search for the Automation to update in case it exists. */ where: AutomationWhereUniqueInput /** * In case the Automation found by the `where` argument doesn't exist, create a new Automation with this data. */ create: XOR /** * In case the Automation was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Automation delete */ export type AutomationDeleteArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelect | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationInclude | null /** * Filter which Automation to delete. */ where: AutomationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Automation deleteMany */ export type AutomationDeleteManyArgs = { /** * Filter which Automations to delete */ where?: AutomationWhereInput /** * Limit how many Automations to delete. */ limit?: number } /** * Automation.AutomationExecution */ export type Automation$AutomationExecutionArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelect | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionInclude | null where?: AutomationExecutionWhereInput orderBy?: AutomationExecutionOrderByWithRelationInput | AutomationExecutionOrderByWithRelationInput[] cursor?: AutomationExecutionWhereUniqueInput take?: number skip?: number distinct?: AutomationExecutionScalarFieldEnum | AutomationExecutionScalarFieldEnum[] } /** * Automation without action */ export type AutomationDefaultArgs = { /** * Select specific fields to fetch from the Automation */ select?: AutomationSelect | null /** * Omit specific fields from the Automation */ omit?: AutomationOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationInclude | null } /** * Model AutomationExecution */ export type AggregateAutomationExecution = { _count: AutomationExecutionCountAggregateOutputType | null _min: AutomationExecutionMinAggregateOutputType | null _max: AutomationExecutionMaxAggregateOutputType | null } export type AutomationExecutionMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null sourceId: string | null automationId: string | null triggerId: string | null actionId: string | null projectId: string | null status: $Enums.ActionExecutionStatus | null startedAt: Date | null finishedAt: Date | null error: string | null } export type AutomationExecutionMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null sourceId: string | null automationId: string | null triggerId: string | null actionId: string | null projectId: string | null status: $Enums.ActionExecutionStatus | null startedAt: Date | null finishedAt: Date | null error: string | null } export type AutomationExecutionCountAggregateOutputType = { id: number createdAt: number updatedAt: number sourceId: number automationId: number triggerId: number actionId: number projectId: number status: number input: number output: number startedAt: number finishedAt: number error: number _all: number } export type AutomationExecutionMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true sourceId?: true automationId?: true triggerId?: true actionId?: true projectId?: true status?: true startedAt?: true finishedAt?: true error?: true } export type AutomationExecutionMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true sourceId?: true automationId?: true triggerId?: true actionId?: true projectId?: true status?: true startedAt?: true finishedAt?: true error?: true } export type AutomationExecutionCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true sourceId?: true automationId?: true triggerId?: true actionId?: true projectId?: true status?: true input?: true output?: true startedAt?: true finishedAt?: true error?: true _all?: true } export type AutomationExecutionAggregateArgs = { /** * Filter which AutomationExecution to aggregate. */ where?: AutomationExecutionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AutomationExecutions to fetch. */ orderBy?: AutomationExecutionOrderByWithRelationInput | AutomationExecutionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AutomationExecutionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AutomationExecutions 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` AutomationExecutions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AutomationExecutions **/ _count?: true | AutomationExecutionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AutomationExecutionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AutomationExecutionMaxAggregateInputType } export type GetAutomationExecutionAggregateType = { [P in keyof T & keyof AggregateAutomationExecution]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AutomationExecutionGroupByArgs = { where?: AutomationExecutionWhereInput orderBy?: AutomationExecutionOrderByWithAggregationInput | AutomationExecutionOrderByWithAggregationInput[] by: AutomationExecutionScalarFieldEnum[] | AutomationExecutionScalarFieldEnum having?: AutomationExecutionScalarWhereWithAggregatesInput take?: number skip?: number _count?: AutomationExecutionCountAggregateInputType | true _min?: AutomationExecutionMinAggregateInputType _max?: AutomationExecutionMaxAggregateInputType } export type AutomationExecutionGroupByOutputType = { id: string createdAt: Date updatedAt: Date sourceId: string automationId: string triggerId: string actionId: string projectId: string status: $Enums.ActionExecutionStatus input: JsonValue output: JsonValue | null startedAt: Date | null finishedAt: Date | null error: string | null _count: AutomationExecutionCountAggregateOutputType | null _min: AutomationExecutionMinAggregateOutputType | null _max: AutomationExecutionMaxAggregateOutputType | null } type GetAutomationExecutionGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AutomationExecutionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AutomationExecutionSelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean sourceId?: boolean automationId?: boolean triggerId?: boolean actionId?: boolean projectId?: boolean status?: boolean input?: boolean output?: boolean startedAt?: boolean finishedAt?: boolean error?: boolean automation?: boolean | AutomationDefaultArgs trigger?: boolean | TriggerDefaultArgs action?: boolean | ActionDefaultArgs project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["automationExecution"]> export type AutomationExecutionSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean sourceId?: boolean automationId?: boolean triggerId?: boolean actionId?: boolean projectId?: boolean status?: boolean input?: boolean output?: boolean startedAt?: boolean finishedAt?: boolean error?: boolean automation?: boolean | AutomationDefaultArgs trigger?: boolean | TriggerDefaultArgs action?: boolean | ActionDefaultArgs project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["automationExecution"]> export type AutomationExecutionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean sourceId?: boolean automationId?: boolean triggerId?: boolean actionId?: boolean projectId?: boolean status?: boolean input?: boolean output?: boolean startedAt?: boolean finishedAt?: boolean error?: boolean automation?: boolean | AutomationDefaultArgs trigger?: boolean | TriggerDefaultArgs action?: boolean | ActionDefaultArgs project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["automationExecution"]> export type AutomationExecutionSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean sourceId?: boolean automationId?: boolean triggerId?: boolean actionId?: boolean projectId?: boolean status?: boolean input?: boolean output?: boolean startedAt?: boolean finishedAt?: boolean error?: boolean } export type AutomationExecutionOmit = $Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "sourceId" | "automationId" | "triggerId" | "actionId" | "projectId" | "status" | "input" | "output" | "startedAt" | "finishedAt" | "error", ExtArgs["result"]["automationExecution"]> export type AutomationExecutionInclude = { automation?: boolean | AutomationDefaultArgs trigger?: boolean | TriggerDefaultArgs action?: boolean | ActionDefaultArgs project?: boolean | ProjectDefaultArgs } export type AutomationExecutionIncludeCreateManyAndReturn = { automation?: boolean | AutomationDefaultArgs trigger?: boolean | TriggerDefaultArgs action?: boolean | ActionDefaultArgs project?: boolean | ProjectDefaultArgs } export type AutomationExecutionIncludeUpdateManyAndReturn = { automation?: boolean | AutomationDefaultArgs trigger?: boolean | TriggerDefaultArgs action?: boolean | ActionDefaultArgs project?: boolean | ProjectDefaultArgs } export type $AutomationExecutionPayload = { name: "AutomationExecution" objects: { automation: Prisma.$AutomationPayload trigger: Prisma.$TriggerPayload action: Prisma.$ActionPayload project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date sourceId: string automationId: string triggerId: string actionId: string projectId: string status: $Enums.ActionExecutionStatus input: Prisma.JsonValue output: Prisma.JsonValue | null startedAt: Date | null finishedAt: Date | null error: string | null }, ExtArgs["result"]["automationExecution"]> composites: {} } type AutomationExecutionGetPayload = $Result.GetResult type AutomationExecutionCountArgs = Omit & { select?: AutomationExecutionCountAggregateInputType | true } export interface AutomationExecutionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AutomationExecution'], meta: { name: 'AutomationExecution' } } /** * Find zero or one AutomationExecution that matches the filter. * @param {AutomationExecutionFindUniqueArgs} args - Arguments to find a AutomationExecution * @example * // Get one AutomationExecution * const automationExecution = await prisma.automationExecution.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AutomationExecutionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AutomationExecution that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AutomationExecutionFindUniqueOrThrowArgs} args - Arguments to find a AutomationExecution * @example * // Get one AutomationExecution * const automationExecution = await prisma.automationExecution.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AutomationExecutionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AutomationExecution 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 {AutomationExecutionFindFirstArgs} args - Arguments to find a AutomationExecution * @example * // Get one AutomationExecution * const automationExecution = await prisma.automationExecution.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AutomationExecutionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AutomationExecution 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 {AutomationExecutionFindFirstOrThrowArgs} args - Arguments to find a AutomationExecution * @example * // Get one AutomationExecution * const automationExecution = await prisma.automationExecution.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AutomationExecutionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AutomationExecutions 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 {AutomationExecutionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AutomationExecutions * const automationExecutions = await prisma.automationExecution.findMany() * * // Get first 10 AutomationExecutions * const automationExecutions = await prisma.automationExecution.findMany({ take: 10 }) * * // Only select the `id` * const automationExecutionWithIdOnly = await prisma.automationExecution.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AutomationExecution. * @param {AutomationExecutionCreateArgs} args - Arguments to create a AutomationExecution. * @example * // Create one AutomationExecution * const AutomationExecution = await prisma.automationExecution.create({ * data: { * // ... data to create a AutomationExecution * } * }) * */ create(args: SelectSubset>): Prisma__AutomationExecutionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AutomationExecutions. * @param {AutomationExecutionCreateManyArgs} args - Arguments to create many AutomationExecutions. * @example * // Create many AutomationExecutions * const automationExecution = await prisma.automationExecution.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many AutomationExecutions and returns the data saved in the database. * @param {AutomationExecutionCreateManyAndReturnArgs} args - Arguments to create many AutomationExecutions. * @example * // Create many AutomationExecutions * const automationExecution = await prisma.automationExecution.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AutomationExecutions and only return the `id` * const automationExecutionWithIdOnly = await prisma.automationExecution.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 AutomationExecution. * @param {AutomationExecutionDeleteArgs} args - Arguments to delete one AutomationExecution. * @example * // Delete one AutomationExecution * const AutomationExecution = await prisma.automationExecution.delete({ * where: { * // ... filter to delete one AutomationExecution * } * }) * */ delete(args: SelectSubset>): Prisma__AutomationExecutionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AutomationExecution. * @param {AutomationExecutionUpdateArgs} args - Arguments to update one AutomationExecution. * @example * // Update one AutomationExecution * const automationExecution = await prisma.automationExecution.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AutomationExecutionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AutomationExecutions. * @param {AutomationExecutionDeleteManyArgs} args - Arguments to filter AutomationExecutions to delete. * @example * // Delete a few AutomationExecutions * const { count } = await prisma.automationExecution.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AutomationExecutions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AutomationExecutionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AutomationExecutions * const automationExecution = await prisma.automationExecution.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AutomationExecutions and returns the data updated in the database. * @param {AutomationExecutionUpdateManyAndReturnArgs} args - Arguments to update many AutomationExecutions. * @example * // Update many AutomationExecutions * const automationExecution = await prisma.automationExecution.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AutomationExecutions and only return the `id` * const automationExecutionWithIdOnly = await prisma.automationExecution.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 AutomationExecution. * @param {AutomationExecutionUpsertArgs} args - Arguments to update or create a AutomationExecution. * @example * // Update or create a AutomationExecution * const automationExecution = await prisma.automationExecution.upsert({ * create: { * // ... data to create a AutomationExecution * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AutomationExecution we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AutomationExecutionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AutomationExecutions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AutomationExecutionCountArgs} args - Arguments to filter AutomationExecutions to count. * @example * // Count the number of AutomationExecutions * const count = await prisma.automationExecution.count({ * where: { * // ... the filter for the AutomationExecutions 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 AutomationExecution. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AutomationExecutionAggregateArgs} 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 AutomationExecution. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AutomationExecutionGroupByArgs} 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 AutomationExecutionGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AutomationExecutionGroupByArgs['orderBy'] } : { orderBy?: AutomationExecutionGroupByArgs['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 ? GetAutomationExecutionGroupByPayload : Prisma.PrismaPromise /** * Fields of the AutomationExecution model */ readonly fields: AutomationExecutionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AutomationExecution. * 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__AutomationExecutionClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" automation = {}>(args?: Subset>): Prisma__AutomationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> trigger = {}>(args?: Subset>): Prisma__TriggerClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> action = {}>(args?: Subset>): Prisma__ActionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> project = {}>(args?: Subset>): Prisma__ProjectClient<$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 AutomationExecution model */ interface AutomationExecutionFieldRefs { readonly id: FieldRef<"AutomationExecution", 'String'> readonly createdAt: FieldRef<"AutomationExecution", 'DateTime'> readonly updatedAt: FieldRef<"AutomationExecution", 'DateTime'> readonly sourceId: FieldRef<"AutomationExecution", 'String'> readonly automationId: FieldRef<"AutomationExecution", 'String'> readonly triggerId: FieldRef<"AutomationExecution", 'String'> readonly actionId: FieldRef<"AutomationExecution", 'String'> readonly projectId: FieldRef<"AutomationExecution", 'String'> readonly status: FieldRef<"AutomationExecution", 'ActionExecutionStatus'> readonly input: FieldRef<"AutomationExecution", 'Json'> readonly output: FieldRef<"AutomationExecution", 'Json'> readonly startedAt: FieldRef<"AutomationExecution", 'DateTime'> readonly finishedAt: FieldRef<"AutomationExecution", 'DateTime'> readonly error: FieldRef<"AutomationExecution", 'String'> } // Custom InputTypes /** * AutomationExecution findUnique */ export type AutomationExecutionFindUniqueArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelect | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionInclude | null /** * Filter, which AutomationExecution to fetch. */ where: AutomationExecutionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AutomationExecution findUniqueOrThrow */ export type AutomationExecutionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelect | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionInclude | null /** * Filter, which AutomationExecution to fetch. */ where: AutomationExecutionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AutomationExecution findFirst */ export type AutomationExecutionFindFirstArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelect | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionInclude | null /** * Filter, which AutomationExecution to fetch. */ where?: AutomationExecutionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AutomationExecutions to fetch. */ orderBy?: AutomationExecutionOrderByWithRelationInput | AutomationExecutionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AutomationExecutions. */ cursor?: AutomationExecutionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AutomationExecutions 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` AutomationExecutions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AutomationExecutions. */ distinct?: AutomationExecutionScalarFieldEnum | AutomationExecutionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AutomationExecution findFirstOrThrow */ export type AutomationExecutionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelect | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionInclude | null /** * Filter, which AutomationExecution to fetch. */ where?: AutomationExecutionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AutomationExecutions to fetch. */ orderBy?: AutomationExecutionOrderByWithRelationInput | AutomationExecutionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AutomationExecutions. */ cursor?: AutomationExecutionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AutomationExecutions 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` AutomationExecutions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AutomationExecutions. */ distinct?: AutomationExecutionScalarFieldEnum | AutomationExecutionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AutomationExecution findMany */ export type AutomationExecutionFindManyArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelect | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionInclude | null /** * Filter, which AutomationExecutions to fetch. */ where?: AutomationExecutionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AutomationExecutions to fetch. */ orderBy?: AutomationExecutionOrderByWithRelationInput | AutomationExecutionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AutomationExecutions. */ cursor?: AutomationExecutionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AutomationExecutions 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` AutomationExecutions. */ skip?: number distinct?: AutomationExecutionScalarFieldEnum | AutomationExecutionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * AutomationExecution create */ export type AutomationExecutionCreateArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelect | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionInclude | null /** * The data needed to create a AutomationExecution. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * AutomationExecution createMany */ export type AutomationExecutionCreateManyArgs = { /** * The data used to create many AutomationExecutions. */ data: AutomationExecutionCreateManyInput | AutomationExecutionCreateManyInput[] skipDuplicates?: boolean } /** * AutomationExecution createManyAndReturn */ export type AutomationExecutionCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelectCreateManyAndReturn | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * The data used to create many AutomationExecutions. */ data: AutomationExecutionCreateManyInput | AutomationExecutionCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionIncludeCreateManyAndReturn | null } /** * AutomationExecution update */ export type AutomationExecutionUpdateArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelect | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionInclude | null /** * The data needed to update a AutomationExecution. */ data: XOR /** * Choose, which AutomationExecution to update. */ where: AutomationExecutionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AutomationExecution updateMany */ export type AutomationExecutionUpdateManyArgs = { /** * The data used to update AutomationExecutions. */ data: XOR /** * Filter which AutomationExecutions to update */ where?: AutomationExecutionWhereInput /** * Limit how many AutomationExecutions to update. */ limit?: number } /** * AutomationExecution updateManyAndReturn */ export type AutomationExecutionUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelectUpdateManyAndReturn | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * The data used to update AutomationExecutions. */ data: XOR /** * Filter which AutomationExecutions to update */ where?: AutomationExecutionWhereInput /** * Limit how many AutomationExecutions to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionIncludeUpdateManyAndReturn | null } /** * AutomationExecution upsert */ export type AutomationExecutionUpsertArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelect | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionInclude | null /** * The filter to search for the AutomationExecution to update in case it exists. */ where: AutomationExecutionWhereUniqueInput /** * In case the AutomationExecution found by the `where` argument doesn't exist, create a new AutomationExecution with this data. */ create: XOR /** * In case the AutomationExecution was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * AutomationExecution delete */ export type AutomationExecutionDeleteArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelect | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionInclude | null /** * Filter which AutomationExecution to delete. */ where: AutomationExecutionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * AutomationExecution deleteMany */ export type AutomationExecutionDeleteManyArgs = { /** * Filter which AutomationExecutions to delete */ where?: AutomationExecutionWhereInput /** * Limit how many AutomationExecutions to delete. */ limit?: number } /** * AutomationExecution without action */ export type AutomationExecutionDefaultArgs = { /** * Select specific fields to fetch from the AutomationExecution */ select?: AutomationExecutionSelect | null /** * Omit specific fields from the AutomationExecution */ omit?: AutomationExecutionOmit | null /** * Choose, which related nodes to fetch as well */ include?: AutomationExecutionInclude | null } /** * Model SlackIntegration */ export type AggregateSlackIntegration = { _count: SlackIntegrationCountAggregateOutputType | null _min: SlackIntegrationMinAggregateOutputType | null _max: SlackIntegrationMaxAggregateOutputType | null } export type SlackIntegrationMinAggregateOutputType = { id: string | null projectId: string | null teamId: string | null teamName: string | null botToken: string | null botUserId: string | null createdAt: Date | null updatedAt: Date | null } export type SlackIntegrationMaxAggregateOutputType = { id: string | null projectId: string | null teamId: string | null teamName: string | null botToken: string | null botUserId: string | null createdAt: Date | null updatedAt: Date | null } export type SlackIntegrationCountAggregateOutputType = { id: number projectId: number teamId: number teamName: number botToken: number botUserId: number createdAt: number updatedAt: number _all: number } export type SlackIntegrationMinAggregateInputType = { id?: true projectId?: true teamId?: true teamName?: true botToken?: true botUserId?: true createdAt?: true updatedAt?: true } export type SlackIntegrationMaxAggregateInputType = { id?: true projectId?: true teamId?: true teamName?: true botToken?: true botUserId?: true createdAt?: true updatedAt?: true } export type SlackIntegrationCountAggregateInputType = { id?: true projectId?: true teamId?: true teamName?: true botToken?: true botUserId?: true createdAt?: true updatedAt?: true _all?: true } export type SlackIntegrationAggregateArgs = { /** * Filter which SlackIntegration to aggregate. */ where?: SlackIntegrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SlackIntegrations to fetch. */ orderBy?: SlackIntegrationOrderByWithRelationInput | SlackIntegrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SlackIntegrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SlackIntegrations 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` SlackIntegrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SlackIntegrations **/ _count?: true | SlackIntegrationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SlackIntegrationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SlackIntegrationMaxAggregateInputType } export type GetSlackIntegrationAggregateType = { [P in keyof T & keyof AggregateSlackIntegration]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SlackIntegrationGroupByArgs = { where?: SlackIntegrationWhereInput orderBy?: SlackIntegrationOrderByWithAggregationInput | SlackIntegrationOrderByWithAggregationInput[] by: SlackIntegrationScalarFieldEnum[] | SlackIntegrationScalarFieldEnum having?: SlackIntegrationScalarWhereWithAggregatesInput take?: number skip?: number _count?: SlackIntegrationCountAggregateInputType | true _min?: SlackIntegrationMinAggregateInputType _max?: SlackIntegrationMaxAggregateInputType } export type SlackIntegrationGroupByOutputType = { id: string projectId: string teamId: string teamName: string botToken: string botUserId: string createdAt: Date updatedAt: Date _count: SlackIntegrationCountAggregateOutputType | null _min: SlackIntegrationMinAggregateOutputType | null _max: SlackIntegrationMaxAggregateOutputType | null } type GetSlackIntegrationGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SlackIntegrationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SlackIntegrationSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean teamId?: boolean teamName?: boolean botToken?: boolean botUserId?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["slackIntegration"]> export type SlackIntegrationSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean teamId?: boolean teamName?: boolean botToken?: boolean botUserId?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["slackIntegration"]> export type SlackIntegrationSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean teamId?: boolean teamName?: boolean botToken?: boolean botUserId?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["slackIntegration"]> export type SlackIntegrationSelectScalar = { id?: boolean projectId?: boolean teamId?: boolean teamName?: boolean botToken?: boolean botUserId?: boolean createdAt?: boolean updatedAt?: boolean } export type SlackIntegrationOmit = $Extensions.GetOmit<"id" | "projectId" | "teamId" | "teamName" | "botToken" | "botUserId" | "createdAt" | "updatedAt", ExtArgs["result"]["slackIntegration"]> export type SlackIntegrationInclude = { project?: boolean | ProjectDefaultArgs } export type SlackIntegrationIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type SlackIntegrationIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $SlackIntegrationPayload = { name: "SlackIntegration" objects: { project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string teamId: string teamName: string botToken: string botUserId: string createdAt: Date updatedAt: Date }, ExtArgs["result"]["slackIntegration"]> composites: {} } type SlackIntegrationGetPayload = $Result.GetResult type SlackIntegrationCountArgs = Omit & { select?: SlackIntegrationCountAggregateInputType | true } export interface SlackIntegrationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SlackIntegration'], meta: { name: 'SlackIntegration' } } /** * Find zero or one SlackIntegration that matches the filter. * @param {SlackIntegrationFindUniqueArgs} args - Arguments to find a SlackIntegration * @example * // Get one SlackIntegration * const slackIntegration = await prisma.slackIntegration.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SlackIntegrationClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SlackIntegration that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SlackIntegrationFindUniqueOrThrowArgs} args - Arguments to find a SlackIntegration * @example * // Get one SlackIntegration * const slackIntegration = await prisma.slackIntegration.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SlackIntegrationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SlackIntegration 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 {SlackIntegrationFindFirstArgs} args - Arguments to find a SlackIntegration * @example * // Get one SlackIntegration * const slackIntegration = await prisma.slackIntegration.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SlackIntegrationClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SlackIntegration 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 {SlackIntegrationFindFirstOrThrowArgs} args - Arguments to find a SlackIntegration * @example * // Get one SlackIntegration * const slackIntegration = await prisma.slackIntegration.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SlackIntegrationClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SlackIntegrations 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 {SlackIntegrationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SlackIntegrations * const slackIntegrations = await prisma.slackIntegration.findMany() * * // Get first 10 SlackIntegrations * const slackIntegrations = await prisma.slackIntegration.findMany({ take: 10 }) * * // Only select the `id` * const slackIntegrationWithIdOnly = await prisma.slackIntegration.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a SlackIntegration. * @param {SlackIntegrationCreateArgs} args - Arguments to create a SlackIntegration. * @example * // Create one SlackIntegration * const SlackIntegration = await prisma.slackIntegration.create({ * data: { * // ... data to create a SlackIntegration * } * }) * */ create(args: SelectSubset>): Prisma__SlackIntegrationClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SlackIntegrations. * @param {SlackIntegrationCreateManyArgs} args - Arguments to create many SlackIntegrations. * @example * // Create many SlackIntegrations * const slackIntegration = await prisma.slackIntegration.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SlackIntegrations and returns the data saved in the database. * @param {SlackIntegrationCreateManyAndReturnArgs} args - Arguments to create many SlackIntegrations. * @example * // Create many SlackIntegrations * const slackIntegration = await prisma.slackIntegration.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SlackIntegrations and only return the `id` * const slackIntegrationWithIdOnly = await prisma.slackIntegration.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 SlackIntegration. * @param {SlackIntegrationDeleteArgs} args - Arguments to delete one SlackIntegration. * @example * // Delete one SlackIntegration * const SlackIntegration = await prisma.slackIntegration.delete({ * where: { * // ... filter to delete one SlackIntegration * } * }) * */ delete(args: SelectSubset>): Prisma__SlackIntegrationClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SlackIntegration. * @param {SlackIntegrationUpdateArgs} args - Arguments to update one SlackIntegration. * @example * // Update one SlackIntegration * const slackIntegration = await prisma.slackIntegration.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SlackIntegrationClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SlackIntegrations. * @param {SlackIntegrationDeleteManyArgs} args - Arguments to filter SlackIntegrations to delete. * @example * // Delete a few SlackIntegrations * const { count } = await prisma.slackIntegration.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SlackIntegrations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SlackIntegrationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SlackIntegrations * const slackIntegration = await prisma.slackIntegration.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SlackIntegrations and returns the data updated in the database. * @param {SlackIntegrationUpdateManyAndReturnArgs} args - Arguments to update many SlackIntegrations. * @example * // Update many SlackIntegrations * const slackIntegration = await prisma.slackIntegration.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SlackIntegrations and only return the `id` * const slackIntegrationWithIdOnly = await prisma.slackIntegration.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 SlackIntegration. * @param {SlackIntegrationUpsertArgs} args - Arguments to update or create a SlackIntegration. * @example * // Update or create a SlackIntegration * const slackIntegration = await prisma.slackIntegration.upsert({ * create: { * // ... data to create a SlackIntegration * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SlackIntegration we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SlackIntegrationClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SlackIntegrations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SlackIntegrationCountArgs} args - Arguments to filter SlackIntegrations to count. * @example * // Count the number of SlackIntegrations * const count = await prisma.slackIntegration.count({ * where: { * // ... the filter for the SlackIntegrations 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 SlackIntegration. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SlackIntegrationAggregateArgs} 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 SlackIntegration. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SlackIntegrationGroupByArgs} 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 SlackIntegrationGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SlackIntegrationGroupByArgs['orderBy'] } : { orderBy?: SlackIntegrationGroupByArgs['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 ? GetSlackIntegrationGroupByPayload : Prisma.PrismaPromise /** * Fields of the SlackIntegration model */ readonly fields: SlackIntegrationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SlackIntegration. * 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__SlackIntegrationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$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 SlackIntegration model */ interface SlackIntegrationFieldRefs { readonly id: FieldRef<"SlackIntegration", 'String'> readonly projectId: FieldRef<"SlackIntegration", 'String'> readonly teamId: FieldRef<"SlackIntegration", 'String'> readonly teamName: FieldRef<"SlackIntegration", 'String'> readonly botToken: FieldRef<"SlackIntegration", 'String'> readonly botUserId: FieldRef<"SlackIntegration", 'String'> readonly createdAt: FieldRef<"SlackIntegration", 'DateTime'> readonly updatedAt: FieldRef<"SlackIntegration", 'DateTime'> } // Custom InputTypes /** * SlackIntegration findUnique */ export type SlackIntegrationFindUniqueArgs = { /** * Select specific fields to fetch from the SlackIntegration */ select?: SlackIntegrationSelect | null /** * Omit specific fields from the SlackIntegration */ omit?: SlackIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: SlackIntegrationInclude | null /** * Filter, which SlackIntegration to fetch. */ where: SlackIntegrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * SlackIntegration findUniqueOrThrow */ export type SlackIntegrationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SlackIntegration */ select?: SlackIntegrationSelect | null /** * Omit specific fields from the SlackIntegration */ omit?: SlackIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: SlackIntegrationInclude | null /** * Filter, which SlackIntegration to fetch. */ where: SlackIntegrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * SlackIntegration findFirst */ export type SlackIntegrationFindFirstArgs = { /** * Select specific fields to fetch from the SlackIntegration */ select?: SlackIntegrationSelect | null /** * Omit specific fields from the SlackIntegration */ omit?: SlackIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: SlackIntegrationInclude | null /** * Filter, which SlackIntegration to fetch. */ where?: SlackIntegrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SlackIntegrations to fetch. */ orderBy?: SlackIntegrationOrderByWithRelationInput | SlackIntegrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SlackIntegrations. */ cursor?: SlackIntegrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SlackIntegrations 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` SlackIntegrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SlackIntegrations. */ distinct?: SlackIntegrationScalarFieldEnum | SlackIntegrationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * SlackIntegration findFirstOrThrow */ export type SlackIntegrationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SlackIntegration */ select?: SlackIntegrationSelect | null /** * Omit specific fields from the SlackIntegration */ omit?: SlackIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: SlackIntegrationInclude | null /** * Filter, which SlackIntegration to fetch. */ where?: SlackIntegrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SlackIntegrations to fetch. */ orderBy?: SlackIntegrationOrderByWithRelationInput | SlackIntegrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SlackIntegrations. */ cursor?: SlackIntegrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SlackIntegrations 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` SlackIntegrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SlackIntegrations. */ distinct?: SlackIntegrationScalarFieldEnum | SlackIntegrationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * SlackIntegration findMany */ export type SlackIntegrationFindManyArgs = { /** * Select specific fields to fetch from the SlackIntegration */ select?: SlackIntegrationSelect | null /** * Omit specific fields from the SlackIntegration */ omit?: SlackIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: SlackIntegrationInclude | null /** * Filter, which SlackIntegrations to fetch. */ where?: SlackIntegrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SlackIntegrations to fetch. */ orderBy?: SlackIntegrationOrderByWithRelationInput | SlackIntegrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SlackIntegrations. */ cursor?: SlackIntegrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SlackIntegrations 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` SlackIntegrations. */ skip?: number distinct?: SlackIntegrationScalarFieldEnum | SlackIntegrationScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * SlackIntegration create */ export type SlackIntegrationCreateArgs = { /** * Select specific fields to fetch from the SlackIntegration */ select?: SlackIntegrationSelect | null /** * Omit specific fields from the SlackIntegration */ omit?: SlackIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: SlackIntegrationInclude | null /** * The data needed to create a SlackIntegration. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * SlackIntegration createMany */ export type SlackIntegrationCreateManyArgs = { /** * The data used to create many SlackIntegrations. */ data: SlackIntegrationCreateManyInput | SlackIntegrationCreateManyInput[] skipDuplicates?: boolean } /** * SlackIntegration createManyAndReturn */ export type SlackIntegrationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SlackIntegration */ select?: SlackIntegrationSelectCreateManyAndReturn | null /** * Omit specific fields from the SlackIntegration */ omit?: SlackIntegrationOmit | null /** * The data used to create many SlackIntegrations. */ data: SlackIntegrationCreateManyInput | SlackIntegrationCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SlackIntegrationIncludeCreateManyAndReturn | null } /** * SlackIntegration update */ export type SlackIntegrationUpdateArgs = { /** * Select specific fields to fetch from the SlackIntegration */ select?: SlackIntegrationSelect | null /** * Omit specific fields from the SlackIntegration */ omit?: SlackIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: SlackIntegrationInclude | null /** * The data needed to update a SlackIntegration. */ data: XOR /** * Choose, which SlackIntegration to update. */ where: SlackIntegrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * SlackIntegration updateMany */ export type SlackIntegrationUpdateManyArgs = { /** * The data used to update SlackIntegrations. */ data: XOR /** * Filter which SlackIntegrations to update */ where?: SlackIntegrationWhereInput /** * Limit how many SlackIntegrations to update. */ limit?: number } /** * SlackIntegration updateManyAndReturn */ export type SlackIntegrationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SlackIntegration */ select?: SlackIntegrationSelectUpdateManyAndReturn | null /** * Omit specific fields from the SlackIntegration */ omit?: SlackIntegrationOmit | null /** * The data used to update SlackIntegrations. */ data: XOR /** * Filter which SlackIntegrations to update */ where?: SlackIntegrationWhereInput /** * Limit how many SlackIntegrations to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: SlackIntegrationIncludeUpdateManyAndReturn | null } /** * SlackIntegration upsert */ export type SlackIntegrationUpsertArgs = { /** * Select specific fields to fetch from the SlackIntegration */ select?: SlackIntegrationSelect | null /** * Omit specific fields from the SlackIntegration */ omit?: SlackIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: SlackIntegrationInclude | null /** * The filter to search for the SlackIntegration to update in case it exists. */ where: SlackIntegrationWhereUniqueInput /** * In case the SlackIntegration found by the `where` argument doesn't exist, create a new SlackIntegration with this data. */ create: XOR /** * In case the SlackIntegration was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * SlackIntegration delete */ export type SlackIntegrationDeleteArgs = { /** * Select specific fields to fetch from the SlackIntegration */ select?: SlackIntegrationSelect | null /** * Omit specific fields from the SlackIntegration */ omit?: SlackIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: SlackIntegrationInclude | null /** * Filter which SlackIntegration to delete. */ where: SlackIntegrationWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * SlackIntegration deleteMany */ export type SlackIntegrationDeleteManyArgs = { /** * Filter which SlackIntegrations to delete */ where?: SlackIntegrationWhereInput /** * Limit how many SlackIntegrations to delete. */ limit?: number } /** * SlackIntegration without action */ export type SlackIntegrationDefaultArgs = { /** * Select specific fields to fetch from the SlackIntegration */ select?: SlackIntegrationSelect | null /** * Omit specific fields from the SlackIntegration */ omit?: SlackIntegrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: SlackIntegrationInclude | null } /** * Model PendingDeletion */ export type AggregatePendingDeletion = { _count: PendingDeletionCountAggregateOutputType | null _min: PendingDeletionMinAggregateOutputType | null _max: PendingDeletionMaxAggregateOutputType | null } export type PendingDeletionMinAggregateOutputType = { id: string | null projectId: string | null object: string | null objectId: string | null isDeleted: boolean | null createdAt: Date | null updatedAt: Date | null } export type PendingDeletionMaxAggregateOutputType = { id: string | null projectId: string | null object: string | null objectId: string | null isDeleted: boolean | null createdAt: Date | null updatedAt: Date | null } export type PendingDeletionCountAggregateOutputType = { id: number projectId: number object: number objectId: number isDeleted: number createdAt: number updatedAt: number _all: number } export type PendingDeletionMinAggregateInputType = { id?: true projectId?: true object?: true objectId?: true isDeleted?: true createdAt?: true updatedAt?: true } export type PendingDeletionMaxAggregateInputType = { id?: true projectId?: true object?: true objectId?: true isDeleted?: true createdAt?: true updatedAt?: true } export type PendingDeletionCountAggregateInputType = { id?: true projectId?: true object?: true objectId?: true isDeleted?: true createdAt?: true updatedAt?: true _all?: true } export type PendingDeletionAggregateArgs = { /** * Filter which PendingDeletion to aggregate. */ where?: PendingDeletionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PendingDeletions to fetch. */ orderBy?: PendingDeletionOrderByWithRelationInput | PendingDeletionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: PendingDeletionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PendingDeletions 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` PendingDeletions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned PendingDeletions **/ _count?: true | PendingDeletionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: PendingDeletionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: PendingDeletionMaxAggregateInputType } export type GetPendingDeletionAggregateType = { [P in keyof T & keyof AggregatePendingDeletion]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type PendingDeletionGroupByArgs = { where?: PendingDeletionWhereInput orderBy?: PendingDeletionOrderByWithAggregationInput | PendingDeletionOrderByWithAggregationInput[] by: PendingDeletionScalarFieldEnum[] | PendingDeletionScalarFieldEnum having?: PendingDeletionScalarWhereWithAggregatesInput take?: number skip?: number _count?: PendingDeletionCountAggregateInputType | true _min?: PendingDeletionMinAggregateInputType _max?: PendingDeletionMaxAggregateInputType } export type PendingDeletionGroupByOutputType = { id: string projectId: string object: string objectId: string isDeleted: boolean createdAt: Date updatedAt: Date _count: PendingDeletionCountAggregateOutputType | null _min: PendingDeletionMinAggregateOutputType | null _max: PendingDeletionMaxAggregateOutputType | null } type GetPendingDeletionGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof PendingDeletionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type PendingDeletionSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean object?: boolean objectId?: boolean isDeleted?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["pendingDeletion"]> export type PendingDeletionSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean object?: boolean objectId?: boolean isDeleted?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["pendingDeletion"]> export type PendingDeletionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean object?: boolean objectId?: boolean isDeleted?: boolean createdAt?: boolean updatedAt?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["pendingDeletion"]> export type PendingDeletionSelectScalar = { id?: boolean projectId?: boolean object?: boolean objectId?: boolean isDeleted?: boolean createdAt?: boolean updatedAt?: boolean } export type PendingDeletionOmit = $Extensions.GetOmit<"id" | "projectId" | "object" | "objectId" | "isDeleted" | "createdAt" | "updatedAt", ExtArgs["result"]["pendingDeletion"]> export type PendingDeletionInclude = { project?: boolean | ProjectDefaultArgs } export type PendingDeletionIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type PendingDeletionIncludeUpdateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $PendingDeletionPayload = { name: "PendingDeletion" objects: { project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string object: string objectId: string isDeleted: boolean createdAt: Date updatedAt: Date }, ExtArgs["result"]["pendingDeletion"]> composites: {} } type PendingDeletionGetPayload = $Result.GetResult type PendingDeletionCountArgs = Omit & { select?: PendingDeletionCountAggregateInputType | true } export interface PendingDeletionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['PendingDeletion'], meta: { name: 'PendingDeletion' } } /** * Find zero or one PendingDeletion that matches the filter. * @param {PendingDeletionFindUniqueArgs} args - Arguments to find a PendingDeletion * @example * // Get one PendingDeletion * const pendingDeletion = await prisma.pendingDeletion.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__PendingDeletionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one PendingDeletion that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {PendingDeletionFindUniqueOrThrowArgs} args - Arguments to find a PendingDeletion * @example * // Get one PendingDeletion * const pendingDeletion = await prisma.pendingDeletion.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__PendingDeletionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first PendingDeletion 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 {PendingDeletionFindFirstArgs} args - Arguments to find a PendingDeletion * @example * // Get one PendingDeletion * const pendingDeletion = await prisma.pendingDeletion.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__PendingDeletionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first PendingDeletion 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 {PendingDeletionFindFirstOrThrowArgs} args - Arguments to find a PendingDeletion * @example * // Get one PendingDeletion * const pendingDeletion = await prisma.pendingDeletion.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__PendingDeletionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more PendingDeletions 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 {PendingDeletionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all PendingDeletions * const pendingDeletions = await prisma.pendingDeletion.findMany() * * // Get first 10 PendingDeletions * const pendingDeletions = await prisma.pendingDeletion.findMany({ take: 10 }) * * // Only select the `id` * const pendingDeletionWithIdOnly = await prisma.pendingDeletion.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a PendingDeletion. * @param {PendingDeletionCreateArgs} args - Arguments to create a PendingDeletion. * @example * // Create one PendingDeletion * const PendingDeletion = await prisma.pendingDeletion.create({ * data: { * // ... data to create a PendingDeletion * } * }) * */ create(args: SelectSubset>): Prisma__PendingDeletionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many PendingDeletions. * @param {PendingDeletionCreateManyArgs} args - Arguments to create many PendingDeletions. * @example * // Create many PendingDeletions * const pendingDeletion = await prisma.pendingDeletion.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many PendingDeletions and returns the data saved in the database. * @param {PendingDeletionCreateManyAndReturnArgs} args - Arguments to create many PendingDeletions. * @example * // Create many PendingDeletions * const pendingDeletion = await prisma.pendingDeletion.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many PendingDeletions and only return the `id` * const pendingDeletionWithIdOnly = await prisma.pendingDeletion.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 PendingDeletion. * @param {PendingDeletionDeleteArgs} args - Arguments to delete one PendingDeletion. * @example * // Delete one PendingDeletion * const PendingDeletion = await prisma.pendingDeletion.delete({ * where: { * // ... filter to delete one PendingDeletion * } * }) * */ delete(args: SelectSubset>): Prisma__PendingDeletionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one PendingDeletion. * @param {PendingDeletionUpdateArgs} args - Arguments to update one PendingDeletion. * @example * // Update one PendingDeletion * const pendingDeletion = await prisma.pendingDeletion.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__PendingDeletionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more PendingDeletions. * @param {PendingDeletionDeleteManyArgs} args - Arguments to filter PendingDeletions to delete. * @example * // Delete a few PendingDeletions * const { count } = await prisma.pendingDeletion.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more PendingDeletions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PendingDeletionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many PendingDeletions * const pendingDeletion = await prisma.pendingDeletion.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more PendingDeletions and returns the data updated in the database. * @param {PendingDeletionUpdateManyAndReturnArgs} args - Arguments to update many PendingDeletions. * @example * // Update many PendingDeletions * const pendingDeletion = await prisma.pendingDeletion.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more PendingDeletions and only return the `id` * const pendingDeletionWithIdOnly = await prisma.pendingDeletion.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 PendingDeletion. * @param {PendingDeletionUpsertArgs} args - Arguments to update or create a PendingDeletion. * @example * // Update or create a PendingDeletion * const pendingDeletion = await prisma.pendingDeletion.upsert({ * create: { * // ... data to create a PendingDeletion * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the PendingDeletion we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__PendingDeletionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of PendingDeletions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PendingDeletionCountArgs} args - Arguments to filter PendingDeletions to count. * @example * // Count the number of PendingDeletions * const count = await prisma.pendingDeletion.count({ * where: { * // ... the filter for the PendingDeletions 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 PendingDeletion. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PendingDeletionAggregateArgs} 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 PendingDeletion. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PendingDeletionGroupByArgs} 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 PendingDeletionGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: PendingDeletionGroupByArgs['orderBy'] } : { orderBy?: PendingDeletionGroupByArgs['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 ? GetPendingDeletionGroupByPayload : Prisma.PrismaPromise /** * Fields of the PendingDeletion model */ readonly fields: PendingDeletionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for PendingDeletion. * 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__PendingDeletionClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$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 PendingDeletion model */ interface PendingDeletionFieldRefs { readonly id: FieldRef<"PendingDeletion", 'String'> readonly projectId: FieldRef<"PendingDeletion", 'String'> readonly object: FieldRef<"PendingDeletion", 'String'> readonly objectId: FieldRef<"PendingDeletion", 'String'> readonly isDeleted: FieldRef<"PendingDeletion", 'Boolean'> readonly createdAt: FieldRef<"PendingDeletion", 'DateTime'> readonly updatedAt: FieldRef<"PendingDeletion", 'DateTime'> } // Custom InputTypes /** * PendingDeletion findUnique */ export type PendingDeletionFindUniqueArgs = { /** * Select specific fields to fetch from the PendingDeletion */ select?: PendingDeletionSelect | null /** * Omit specific fields from the PendingDeletion */ omit?: PendingDeletionOmit | null /** * Choose, which related nodes to fetch as well */ include?: PendingDeletionInclude | null /** * Filter, which PendingDeletion to fetch. */ where: PendingDeletionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PendingDeletion findUniqueOrThrow */ export type PendingDeletionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the PendingDeletion */ select?: PendingDeletionSelect | null /** * Omit specific fields from the PendingDeletion */ omit?: PendingDeletionOmit | null /** * Choose, which related nodes to fetch as well */ include?: PendingDeletionInclude | null /** * Filter, which PendingDeletion to fetch. */ where: PendingDeletionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PendingDeletion findFirst */ export type PendingDeletionFindFirstArgs = { /** * Select specific fields to fetch from the PendingDeletion */ select?: PendingDeletionSelect | null /** * Omit specific fields from the PendingDeletion */ omit?: PendingDeletionOmit | null /** * Choose, which related nodes to fetch as well */ include?: PendingDeletionInclude | null /** * Filter, which PendingDeletion to fetch. */ where?: PendingDeletionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PendingDeletions to fetch. */ orderBy?: PendingDeletionOrderByWithRelationInput | PendingDeletionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for PendingDeletions. */ cursor?: PendingDeletionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PendingDeletions 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` PendingDeletions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PendingDeletions. */ distinct?: PendingDeletionScalarFieldEnum | PendingDeletionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * PendingDeletion findFirstOrThrow */ export type PendingDeletionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the PendingDeletion */ select?: PendingDeletionSelect | null /** * Omit specific fields from the PendingDeletion */ omit?: PendingDeletionOmit | null /** * Choose, which related nodes to fetch as well */ include?: PendingDeletionInclude | null /** * Filter, which PendingDeletion to fetch. */ where?: PendingDeletionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PendingDeletions to fetch. */ orderBy?: PendingDeletionOrderByWithRelationInput | PendingDeletionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for PendingDeletions. */ cursor?: PendingDeletionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PendingDeletions 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` PendingDeletions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PendingDeletions. */ distinct?: PendingDeletionScalarFieldEnum | PendingDeletionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * PendingDeletion findMany */ export type PendingDeletionFindManyArgs = { /** * Select specific fields to fetch from the PendingDeletion */ select?: PendingDeletionSelect | null /** * Omit specific fields from the PendingDeletion */ omit?: PendingDeletionOmit | null /** * Choose, which related nodes to fetch as well */ include?: PendingDeletionInclude | null /** * Filter, which PendingDeletions to fetch. */ where?: PendingDeletionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PendingDeletions to fetch. */ orderBy?: PendingDeletionOrderByWithRelationInput | PendingDeletionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing PendingDeletions. */ cursor?: PendingDeletionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PendingDeletions 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` PendingDeletions. */ skip?: number distinct?: PendingDeletionScalarFieldEnum | PendingDeletionScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * PendingDeletion create */ export type PendingDeletionCreateArgs = { /** * Select specific fields to fetch from the PendingDeletion */ select?: PendingDeletionSelect | null /** * Omit specific fields from the PendingDeletion */ omit?: PendingDeletionOmit | null /** * Choose, which related nodes to fetch as well */ include?: PendingDeletionInclude | null /** * The data needed to create a PendingDeletion. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * PendingDeletion createMany */ export type PendingDeletionCreateManyArgs = { /** * The data used to create many PendingDeletions. */ data: PendingDeletionCreateManyInput | PendingDeletionCreateManyInput[] skipDuplicates?: boolean } /** * PendingDeletion createManyAndReturn */ export type PendingDeletionCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the PendingDeletion */ select?: PendingDeletionSelectCreateManyAndReturn | null /** * Omit specific fields from the PendingDeletion */ omit?: PendingDeletionOmit | null /** * The data used to create many PendingDeletions. */ data: PendingDeletionCreateManyInput | PendingDeletionCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: PendingDeletionIncludeCreateManyAndReturn | null } /** * PendingDeletion update */ export type PendingDeletionUpdateArgs = { /** * Select specific fields to fetch from the PendingDeletion */ select?: PendingDeletionSelect | null /** * Omit specific fields from the PendingDeletion */ omit?: PendingDeletionOmit | null /** * Choose, which related nodes to fetch as well */ include?: PendingDeletionInclude | null /** * The data needed to update a PendingDeletion. */ data: XOR /** * Choose, which PendingDeletion to update. */ where: PendingDeletionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PendingDeletion updateMany */ export type PendingDeletionUpdateManyArgs = { /** * The data used to update PendingDeletions. */ data: XOR /** * Filter which PendingDeletions to update */ where?: PendingDeletionWhereInput /** * Limit how many PendingDeletions to update. */ limit?: number } /** * PendingDeletion updateManyAndReturn */ export type PendingDeletionUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the PendingDeletion */ select?: PendingDeletionSelectUpdateManyAndReturn | null /** * Omit specific fields from the PendingDeletion */ omit?: PendingDeletionOmit | null /** * The data used to update PendingDeletions. */ data: XOR /** * Filter which PendingDeletions to update */ where?: PendingDeletionWhereInput /** * Limit how many PendingDeletions to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: PendingDeletionIncludeUpdateManyAndReturn | null } /** * PendingDeletion upsert */ export type PendingDeletionUpsertArgs = { /** * Select specific fields to fetch from the PendingDeletion */ select?: PendingDeletionSelect | null /** * Omit specific fields from the PendingDeletion */ omit?: PendingDeletionOmit | null /** * Choose, which related nodes to fetch as well */ include?: PendingDeletionInclude | null /** * The filter to search for the PendingDeletion to update in case it exists. */ where: PendingDeletionWhereUniqueInput /** * In case the PendingDeletion found by the `where` argument doesn't exist, create a new PendingDeletion with this data. */ create: XOR /** * In case the PendingDeletion was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * PendingDeletion delete */ export type PendingDeletionDeleteArgs = { /** * Select specific fields to fetch from the PendingDeletion */ select?: PendingDeletionSelect | null /** * Omit specific fields from the PendingDeletion */ omit?: PendingDeletionOmit | null /** * Choose, which related nodes to fetch as well */ include?: PendingDeletionInclude | null /** * Filter which PendingDeletion to delete. */ where: PendingDeletionWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * PendingDeletion deleteMany */ export type PendingDeletionDeleteManyArgs = { /** * Filter which PendingDeletions to delete */ where?: PendingDeletionWhereInput /** * Limit how many PendingDeletions to delete. */ limit?: number } /** * PendingDeletion without action */ export type PendingDeletionDefaultArgs = { /** * Select specific fields to fetch from the PendingDeletion */ select?: PendingDeletionSelect | null /** * Omit specific fields from the PendingDeletion */ omit?: PendingDeletionOmit | null /** * Choose, which related nodes to fetch as well */ include?: PendingDeletionInclude | null } /** * Model Survey */ export type AggregateSurvey = { _count: SurveyCountAggregateOutputType | null _min: SurveyMinAggregateOutputType | null _max: SurveyMaxAggregateOutputType | null } export type SurveyMinAggregateOutputType = { id: string | null createdAt: Date | null surveyName: $Enums.SurveyName | null userId: string | null userEmail: string | null orgId: string | null } export type SurveyMaxAggregateOutputType = { id: string | null createdAt: Date | null surveyName: $Enums.SurveyName | null userId: string | null userEmail: string | null orgId: string | null } export type SurveyCountAggregateOutputType = { id: number createdAt: number surveyName: number response: number userId: number userEmail: number orgId: number _all: number } export type SurveyMinAggregateInputType = { id?: true createdAt?: true surveyName?: true userId?: true userEmail?: true orgId?: true } export type SurveyMaxAggregateInputType = { id?: true createdAt?: true surveyName?: true userId?: true userEmail?: true orgId?: true } export type SurveyCountAggregateInputType = { id?: true createdAt?: true surveyName?: true response?: true userId?: true userEmail?: true orgId?: true _all?: true } export type SurveyAggregateArgs = { /** * Filter which Survey to aggregate. */ where?: SurveyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Surveys to fetch. */ orderBy?: SurveyOrderByWithRelationInput | SurveyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SurveyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Surveys 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` Surveys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Surveys **/ _count?: true | SurveyCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SurveyMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SurveyMaxAggregateInputType } export type GetSurveyAggregateType = { [P in keyof T & keyof AggregateSurvey]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SurveyGroupByArgs = { where?: SurveyWhereInput orderBy?: SurveyOrderByWithAggregationInput | SurveyOrderByWithAggregationInput[] by: SurveyScalarFieldEnum[] | SurveyScalarFieldEnum having?: SurveyScalarWhereWithAggregatesInput take?: number skip?: number _count?: SurveyCountAggregateInputType | true _min?: SurveyMinAggregateInputType _max?: SurveyMaxAggregateInputType } export type SurveyGroupByOutputType = { id: string createdAt: Date surveyName: $Enums.SurveyName response: JsonValue userId: string | null userEmail: string | null orgId: string | null _count: SurveyCountAggregateOutputType | null _min: SurveyMinAggregateOutputType | null _max: SurveyMaxAggregateOutputType | null } type GetSurveyGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SurveyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SurveySelect = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean surveyName?: boolean response?: boolean userId?: boolean userEmail?: boolean orgId?: boolean org?: boolean | Survey$orgArgs user?: boolean | Survey$userArgs }, ExtArgs["result"]["survey"]> export type SurveySelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean surveyName?: boolean response?: boolean userId?: boolean userEmail?: boolean orgId?: boolean org?: boolean | Survey$orgArgs user?: boolean | Survey$userArgs }, ExtArgs["result"]["survey"]> export type SurveySelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean createdAt?: boolean surveyName?: boolean response?: boolean userId?: boolean userEmail?: boolean orgId?: boolean org?: boolean | Survey$orgArgs user?: boolean | Survey$userArgs }, ExtArgs["result"]["survey"]> export type SurveySelectScalar = { id?: boolean createdAt?: boolean surveyName?: boolean response?: boolean userId?: boolean userEmail?: boolean orgId?: boolean } export type SurveyOmit = $Extensions.GetOmit<"id" | "createdAt" | "surveyName" | "response" | "userId" | "userEmail" | "orgId", ExtArgs["result"]["survey"]> export type SurveyInclude = { org?: boolean | Survey$orgArgs user?: boolean | Survey$userArgs } export type SurveyIncludeCreateManyAndReturn = { org?: boolean | Survey$orgArgs user?: boolean | Survey$userArgs } export type SurveyIncludeUpdateManyAndReturn = { org?: boolean | Survey$orgArgs user?: boolean | Survey$userArgs } export type $SurveyPayload = { name: "Survey" objects: { org: Prisma.$OrganizationPayload | null user: Prisma.$UserPayload | null } scalars: $Extensions.GetPayloadResult<{ id: string createdAt: Date surveyName: $Enums.SurveyName response: Prisma.JsonValue userId: string | null userEmail: string | null orgId: string | null }, ExtArgs["result"]["survey"]> composites: {} } type SurveyGetPayload = $Result.GetResult type SurveyCountArgs = Omit & { select?: SurveyCountAggregateInputType | true } export interface SurveyDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Survey'], meta: { name: 'Survey' } } /** * Find zero or one Survey that matches the filter. * @param {SurveyFindUniqueArgs} args - Arguments to find a Survey * @example * // Get one Survey * const survey = await prisma.survey.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SurveyClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Survey that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SurveyFindUniqueOrThrowArgs} args - Arguments to find a Survey * @example * // Get one Survey * const survey = await prisma.survey.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SurveyClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Survey 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 {SurveyFindFirstArgs} args - Arguments to find a Survey * @example * // Get one Survey * const survey = await prisma.survey.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SurveyClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Survey 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 {SurveyFindFirstOrThrowArgs} args - Arguments to find a Survey * @example * // Get one Survey * const survey = await prisma.survey.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SurveyClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Surveys 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 {SurveyFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Surveys * const surveys = await prisma.survey.findMany() * * // Get first 10 Surveys * const surveys = await prisma.survey.findMany({ take: 10 }) * * // Only select the `id` * const surveyWithIdOnly = await prisma.survey.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Survey. * @param {SurveyCreateArgs} args - Arguments to create a Survey. * @example * // Create one Survey * const Survey = await prisma.survey.create({ * data: { * // ... data to create a Survey * } * }) * */ create(args: SelectSubset>): Prisma__SurveyClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Surveys. * @param {SurveyCreateManyArgs} args - Arguments to create many Surveys. * @example * // Create many Surveys * const survey = await prisma.survey.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Surveys and returns the data saved in the database. * @param {SurveyCreateManyAndReturnArgs} args - Arguments to create many Surveys. * @example * // Create many Surveys * const survey = await prisma.survey.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Surveys and only return the `id` * const surveyWithIdOnly = await prisma.survey.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 Survey. * @param {SurveyDeleteArgs} args - Arguments to delete one Survey. * @example * // Delete one Survey * const Survey = await prisma.survey.delete({ * where: { * // ... filter to delete one Survey * } * }) * */ delete(args: SelectSubset>): Prisma__SurveyClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Survey. * @param {SurveyUpdateArgs} args - Arguments to update one Survey. * @example * // Update one Survey * const survey = await prisma.survey.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SurveyClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Surveys. * @param {SurveyDeleteManyArgs} args - Arguments to filter Surveys to delete. * @example * // Delete a few Surveys * const { count } = await prisma.survey.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Surveys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SurveyUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Surveys * const survey = await prisma.survey.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Surveys and returns the data updated in the database. * @param {SurveyUpdateManyAndReturnArgs} args - Arguments to update many Surveys. * @example * // Update many Surveys * const survey = await prisma.survey.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Surveys and only return the `id` * const surveyWithIdOnly = await prisma.survey.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 Survey. * @param {SurveyUpsertArgs} args - Arguments to update or create a Survey. * @example * // Update or create a Survey * const survey = await prisma.survey.upsert({ * create: { * // ... data to create a Survey * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Survey we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SurveyClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Surveys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SurveyCountArgs} args - Arguments to filter Surveys to count. * @example * // Count the number of Surveys * const count = await prisma.survey.count({ * where: { * // ... the filter for the Surveys 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 Survey. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SurveyAggregateArgs} 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 Survey. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SurveyGroupByArgs} 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 SurveyGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SurveyGroupByArgs['orderBy'] } : { orderBy?: SurveyGroupByArgs['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 ? GetSurveyGroupByPayload : Prisma.PrismaPromise /** * Fields of the Survey model */ readonly fields: SurveyFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Survey. * 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__SurveyClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" org = {}>(args?: Subset>): Prisma__OrganizationClient<$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 Survey model */ interface SurveyFieldRefs { readonly id: FieldRef<"Survey", 'String'> readonly createdAt: FieldRef<"Survey", 'DateTime'> readonly surveyName: FieldRef<"Survey", 'SurveyName'> readonly response: FieldRef<"Survey", 'Json'> readonly userId: FieldRef<"Survey", 'String'> readonly userEmail: FieldRef<"Survey", 'String'> readonly orgId: FieldRef<"Survey", 'String'> } // Custom InputTypes /** * Survey findUnique */ export type SurveyFindUniqueArgs = { /** * Select specific fields to fetch from the Survey */ select?: SurveySelect | null /** * Omit specific fields from the Survey */ omit?: SurveyOmit | null /** * Choose, which related nodes to fetch as well */ include?: SurveyInclude | null /** * Filter, which Survey to fetch. */ where: SurveyWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Survey findUniqueOrThrow */ export type SurveyFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Survey */ select?: SurveySelect | null /** * Omit specific fields from the Survey */ omit?: SurveyOmit | null /** * Choose, which related nodes to fetch as well */ include?: SurveyInclude | null /** * Filter, which Survey to fetch. */ where: SurveyWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Survey findFirst */ export type SurveyFindFirstArgs = { /** * Select specific fields to fetch from the Survey */ select?: SurveySelect | null /** * Omit specific fields from the Survey */ omit?: SurveyOmit | null /** * Choose, which related nodes to fetch as well */ include?: SurveyInclude | null /** * Filter, which Survey to fetch. */ where?: SurveyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Surveys to fetch. */ orderBy?: SurveyOrderByWithRelationInput | SurveyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Surveys. */ cursor?: SurveyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Surveys 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` Surveys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Surveys. */ distinct?: SurveyScalarFieldEnum | SurveyScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Survey findFirstOrThrow */ export type SurveyFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Survey */ select?: SurveySelect | null /** * Omit specific fields from the Survey */ omit?: SurveyOmit | null /** * Choose, which related nodes to fetch as well */ include?: SurveyInclude | null /** * Filter, which Survey to fetch. */ where?: SurveyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Surveys to fetch. */ orderBy?: SurveyOrderByWithRelationInput | SurveyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Surveys. */ cursor?: SurveyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Surveys 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` Surveys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Surveys. */ distinct?: SurveyScalarFieldEnum | SurveyScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Survey findMany */ export type SurveyFindManyArgs = { /** * Select specific fields to fetch from the Survey */ select?: SurveySelect | null /** * Omit specific fields from the Survey */ omit?: SurveyOmit | null /** * Choose, which related nodes to fetch as well */ include?: SurveyInclude | null /** * Filter, which Surveys to fetch. */ where?: SurveyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Surveys to fetch. */ orderBy?: SurveyOrderByWithRelationInput | SurveyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Surveys. */ cursor?: SurveyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Surveys 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` Surveys. */ skip?: number distinct?: SurveyScalarFieldEnum | SurveyScalarFieldEnum[] relationLoadStrategy?: RelationLoadStrategy } /** * Survey create */ export type SurveyCreateArgs = { /** * Select specific fields to fetch from the Survey */ select?: SurveySelect | null /** * Omit specific fields from the Survey */ omit?: SurveyOmit | null /** * Choose, which related nodes to fetch as well */ include?: SurveyInclude | null /** * The data needed to create a Survey. */ data: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Survey createMany */ export type SurveyCreateManyArgs = { /** * The data used to create many Surveys. */ data: SurveyCreateManyInput | SurveyCreateManyInput[] skipDuplicates?: boolean } /** * Survey createManyAndReturn */ export type SurveyCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Survey */ select?: SurveySelectCreateManyAndReturn | null /** * Omit specific fields from the Survey */ omit?: SurveyOmit | null /** * The data used to create many Surveys. */ data: SurveyCreateManyInput | SurveyCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SurveyIncludeCreateManyAndReturn | null } /** * Survey update */ export type SurveyUpdateArgs = { /** * Select specific fields to fetch from the Survey */ select?: SurveySelect | null /** * Omit specific fields from the Survey */ omit?: SurveyOmit | null /** * Choose, which related nodes to fetch as well */ include?: SurveyInclude | null /** * The data needed to update a Survey. */ data: XOR /** * Choose, which Survey to update. */ where: SurveyWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Survey updateMany */ export type SurveyUpdateManyArgs = { /** * The data used to update Surveys. */ data: XOR /** * Filter which Surveys to update */ where?: SurveyWhereInput /** * Limit how many Surveys to update. */ limit?: number } /** * Survey updateManyAndReturn */ export type SurveyUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Survey */ select?: SurveySelectUpdateManyAndReturn | null /** * Omit specific fields from the Survey */ omit?: SurveyOmit | null /** * The data used to update Surveys. */ data: XOR /** * Filter which Surveys to update */ where?: SurveyWhereInput /** * Limit how many Surveys to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: SurveyIncludeUpdateManyAndReturn | null } /** * Survey upsert */ export type SurveyUpsertArgs = { /** * Select specific fields to fetch from the Survey */ select?: SurveySelect | null /** * Omit specific fields from the Survey */ omit?: SurveyOmit | null /** * Choose, which related nodes to fetch as well */ include?: SurveyInclude | null /** * The filter to search for the Survey to update in case it exists. */ where: SurveyWhereUniqueInput /** * In case the Survey found by the `where` argument doesn't exist, create a new Survey with this data. */ create: XOR /** * In case the Survey was found with the provided `where` argument, update it with this data. */ update: XOR relationLoadStrategy?: RelationLoadStrategy } /** * Survey delete */ export type SurveyDeleteArgs = { /** * Select specific fields to fetch from the Survey */ select?: SurveySelect | null /** * Omit specific fields from the Survey */ omit?: SurveyOmit | null /** * Choose, which related nodes to fetch as well */ include?: SurveyInclude | null /** * Filter which Survey to delete. */ where: SurveyWhereUniqueInput relationLoadStrategy?: RelationLoadStrategy } /** * Survey deleteMany */ export type SurveyDeleteManyArgs = { /** * Filter which Surveys to delete */ where?: SurveyWhereInput /** * Limit how many Surveys to delete. */ limit?: number } /** * Survey.org */ export type Survey$orgArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Omit specific fields from the Organization */ omit?: OrganizationOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null where?: OrganizationWhereInput } /** * Survey.user */ export type Survey$userArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput } /** * Survey without action */ export type SurveyDefaultArgs = { /** * Select specific fields to fetch from the Survey */ select?: SurveySelect | null /** * Omit specific fields from the Survey */ omit?: SurveyOmit | null /** * Choose, which related nodes to fetch as well */ include?: SurveyInclude | null } /** * Enums */ export const TransactionIsolationLevel: { ReadUncommitted: 'ReadUncommitted', ReadCommitted: 'ReadCommitted', RepeatableRead: 'RepeatableRead', Serializable: 'Serializable' }; export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] export const AccountScalarFieldEnum: { id: 'id', userId: 'userId', type: 'type', provider: 'provider', providerAccountId: 'providerAccountId', refresh_token: 'refresh_token', access_token: 'access_token', expires_at: 'expires_at', expires_in: 'expires_in', ext_expires_in: 'ext_expires_in', token_type: 'token_type', scope: 'scope', id_token: 'id_token', session_state: 'session_state', refresh_token_expires_in: 'refresh_token_expires_in', created_at: 'created_at' }; export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum] export const RelationLoadStrategy: { query: 'query', join: 'join' }; export type RelationLoadStrategy = (typeof RelationLoadStrategy)[keyof typeof RelationLoadStrategy] export const SessionScalarFieldEnum: { id: 'id', sessionToken: 'sessionToken', userId: 'userId', expires: 'expires' }; export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum] export const UserScalarFieldEnum: { id: 'id', name: 'name', email: 'email', emailVerified: 'emailVerified', password: 'password', image: 'image', admin: 'admin', createdAt: 'createdAt', updatedAt: 'updatedAt', featureFlags: 'featureFlags' }; export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] export const VerificationTokenScalarFieldEnum: { identifier: 'identifier', token: 'token', expires: 'expires' }; export type VerificationTokenScalarFieldEnum = (typeof VerificationTokenScalarFieldEnum)[keyof typeof VerificationTokenScalarFieldEnum] export const OrganizationScalarFieldEnum: { id: 'id', name: 'name', createdAt: 'createdAt', updatedAt: 'updatedAt', cloudConfig: 'cloudConfig', metadata: 'metadata' }; export type OrganizationScalarFieldEnum = (typeof OrganizationScalarFieldEnum)[keyof typeof OrganizationScalarFieldEnum] export const ProjectScalarFieldEnum: { id: 'id', orgId: 'orgId', createdAt: 'createdAt', updatedAt: 'updatedAt', deletedAt: 'deletedAt', name: 'name', retentionDays: 'retentionDays', metadata: 'metadata' }; export type ProjectScalarFieldEnum = (typeof ProjectScalarFieldEnum)[keyof typeof ProjectScalarFieldEnum] export const ApiKeyScalarFieldEnum: { id: 'id', createdAt: 'createdAt', note: 'note', publicKey: 'publicKey', hashedSecretKey: 'hashedSecretKey', fastHashedSecretKey: 'fastHashedSecretKey', displaySecretKey: 'displaySecretKey', lastUsedAt: 'lastUsedAt', expiresAt: 'expiresAt', projectId: 'projectId', orgId: 'orgId', scope: 'scope' }; export type ApiKeyScalarFieldEnum = (typeof ApiKeyScalarFieldEnum)[keyof typeof ApiKeyScalarFieldEnum] export const BackgroundMigrationScalarFieldEnum: { id: 'id', name: 'name', script: 'script', args: 'args', state: 'state', finishedAt: 'finishedAt', failedAt: 'failedAt', failedReason: 'failedReason', workerId: 'workerId', lockedAt: 'lockedAt' }; export type BackgroundMigrationScalarFieldEnum = (typeof BackgroundMigrationScalarFieldEnum)[keyof typeof BackgroundMigrationScalarFieldEnum] export const LlmApiKeysScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', provider: 'provider', adapter: 'adapter', displaySecretKey: 'displaySecretKey', secretKey: 'secretKey', baseURL: 'baseURL', customModels: 'customModels', withDefaultModels: 'withDefaultModels', extraHeaders: 'extraHeaders', extraHeaderKeys: 'extraHeaderKeys', config: 'config', projectId: 'projectId' }; export type LlmApiKeysScalarFieldEnum = (typeof LlmApiKeysScalarFieldEnum)[keyof typeof LlmApiKeysScalarFieldEnum] export const OrganizationMembershipScalarFieldEnum: { id: 'id', orgId: 'orgId', userId: 'userId', role: 'role', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type OrganizationMembershipScalarFieldEnum = (typeof OrganizationMembershipScalarFieldEnum)[keyof typeof OrganizationMembershipScalarFieldEnum] export const ProjectMembershipScalarFieldEnum: { orgMembershipId: 'orgMembershipId', projectId: 'projectId', userId: 'userId', role: 'role', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type ProjectMembershipScalarFieldEnum = (typeof ProjectMembershipScalarFieldEnum)[keyof typeof ProjectMembershipScalarFieldEnum] export const MembershipInvitationScalarFieldEnum: { id: 'id', email: 'email', orgId: 'orgId', orgRole: 'orgRole', projectId: 'projectId', projectRole: 'projectRole', invitedByUserId: 'invitedByUserId', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type MembershipInvitationScalarFieldEnum = (typeof MembershipInvitationScalarFieldEnum)[keyof typeof MembershipInvitationScalarFieldEnum] export const TraceSessionScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', bookmarked: 'bookmarked', public: 'public', environment: 'environment' }; export type TraceSessionScalarFieldEnum = (typeof TraceSessionScalarFieldEnum)[keyof typeof TraceSessionScalarFieldEnum] export const LegacyPrismaTraceScalarFieldEnum: { id: 'id', externalId: 'externalId', timestamp: 'timestamp', name: 'name', userId: 'userId', metadata: 'metadata', release: 'release', version: 'version', projectId: 'projectId', public: 'public', bookmarked: 'bookmarked', tags: 'tags', input: 'input', output: 'output', sessionId: 'sessionId', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type LegacyPrismaTraceScalarFieldEnum = (typeof LegacyPrismaTraceScalarFieldEnum)[keyof typeof LegacyPrismaTraceScalarFieldEnum] export const LegacyPrismaObservationScalarFieldEnum: { id: 'id', traceId: 'traceId', projectId: 'projectId', type: 'type', startTime: 'startTime', endTime: 'endTime', name: 'name', metadata: 'metadata', parentObservationId: 'parentObservationId', level: 'level', statusMessage: 'statusMessage', version: 'version', createdAt: 'createdAt', updatedAt: 'updatedAt', model: 'model', internalModel: 'internalModel', internalModelId: 'internalModelId', modelParameters: 'modelParameters', input: 'input', output: 'output', promptTokens: 'promptTokens', completionTokens: 'completionTokens', totalTokens: 'totalTokens', unit: 'unit', inputCost: 'inputCost', outputCost: 'outputCost', totalCost: 'totalCost', calculatedInputCost: 'calculatedInputCost', calculatedOutputCost: 'calculatedOutputCost', calculatedTotalCost: 'calculatedTotalCost', completionStartTime: 'completionStartTime', promptId: 'promptId' }; export type LegacyPrismaObservationScalarFieldEnum = (typeof LegacyPrismaObservationScalarFieldEnum)[keyof typeof LegacyPrismaObservationScalarFieldEnum] export const LegacyPrismaScoreScalarFieldEnum: { id: 'id', timestamp: 'timestamp', projectId: 'projectId', name: 'name', value: 'value', source: 'source', authorUserId: 'authorUserId', comment: 'comment', traceId: 'traceId', observationId: 'observationId', configId: 'configId', stringValue: 'stringValue', queueId: 'queueId', createdAt: 'createdAt', updatedAt: 'updatedAt', dataType: 'dataType' }; export type LegacyPrismaScoreScalarFieldEnum = (typeof LegacyPrismaScoreScalarFieldEnum)[keyof typeof LegacyPrismaScoreScalarFieldEnum] export const ScoreConfigScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', name: 'name', dataType: 'dataType', isArchived: 'isArchived', minValue: 'minValue', maxValue: 'maxValue', categories: 'categories', description: 'description' }; export type ScoreConfigScalarFieldEnum = (typeof ScoreConfigScalarFieldEnum)[keyof typeof ScoreConfigScalarFieldEnum] export const AnnotationQueueScalarFieldEnum: { id: 'id', name: 'name', description: 'description', scoreConfigIds: 'scoreConfigIds', projectId: 'projectId', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type AnnotationQueueScalarFieldEnum = (typeof AnnotationQueueScalarFieldEnum)[keyof typeof AnnotationQueueScalarFieldEnum] export const AnnotationQueueItemScalarFieldEnum: { id: 'id', queueId: 'queueId', objectId: 'objectId', objectType: 'objectType', status: 'status', lockedAt: 'lockedAt', lockedByUserId: 'lockedByUserId', annotatorUserId: 'annotatorUserId', completedAt: 'completedAt', projectId: 'projectId', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type AnnotationQueueItemScalarFieldEnum = (typeof AnnotationQueueItemScalarFieldEnum)[keyof typeof AnnotationQueueItemScalarFieldEnum] export const AnnotationQueueAssignmentScalarFieldEnum: { id: 'id', projectId: 'projectId', userId: 'userId', queueId: 'queueId', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type AnnotationQueueAssignmentScalarFieldEnum = (typeof AnnotationQueueAssignmentScalarFieldEnum)[keyof typeof AnnotationQueueAssignmentScalarFieldEnum] export const CronJobsScalarFieldEnum: { name: 'name', lastRun: 'lastRun', jobStartedAt: 'jobStartedAt', state: 'state' }; export type CronJobsScalarFieldEnum = (typeof CronJobsScalarFieldEnum)[keyof typeof CronJobsScalarFieldEnum] export const DatasetScalarFieldEnum: { id: 'id', projectId: 'projectId', name: 'name', description: 'description', metadata: 'metadata', remoteExperimentUrl: 'remoteExperimentUrl', remoteExperimentPayload: 'remoteExperimentPayload', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type DatasetScalarFieldEnum = (typeof DatasetScalarFieldEnum)[keyof typeof DatasetScalarFieldEnum] export const DatasetItemScalarFieldEnum: { id: 'id', projectId: 'projectId', status: 'status', input: 'input', expectedOutput: 'expectedOutput', metadata: 'metadata', sourceTraceId: 'sourceTraceId', sourceObservationId: 'sourceObservationId', datasetId: 'datasetId', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type DatasetItemScalarFieldEnum = (typeof DatasetItemScalarFieldEnum)[keyof typeof DatasetItemScalarFieldEnum] export const DatasetRunsScalarFieldEnum: { id: 'id', projectId: 'projectId', name: 'name', description: 'description', metadata: 'metadata', datasetId: 'datasetId', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type DatasetRunsScalarFieldEnum = (typeof DatasetRunsScalarFieldEnum)[keyof typeof DatasetRunsScalarFieldEnum] export const DatasetRunItemsScalarFieldEnum: { id: 'id', projectId: 'projectId', datasetRunId: 'datasetRunId', datasetItemId: 'datasetItemId', traceId: 'traceId', observationId: 'observationId', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type DatasetRunItemsScalarFieldEnum = (typeof DatasetRunItemsScalarFieldEnum)[keyof typeof DatasetRunItemsScalarFieldEnum] export const CommentScalarFieldEnum: { id: 'id', projectId: 'projectId', objectType: 'objectType', objectId: 'objectId', createdAt: 'createdAt', updatedAt: 'updatedAt', content: 'content', authorUserId: 'authorUserId' }; export type CommentScalarFieldEnum = (typeof CommentScalarFieldEnum)[keyof typeof CommentScalarFieldEnum] export const PromptScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', createdBy: 'createdBy', prompt: 'prompt', name: 'name', version: 'version', type: 'type', isActive: 'isActive', config: 'config', tags: 'tags', labels: 'labels', commitMessage: 'commitMessage' }; export type PromptScalarFieldEnum = (typeof PromptScalarFieldEnum)[keyof typeof PromptScalarFieldEnum] export const PromptDependencyScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', parentId: 'parentId', childName: 'childName', childLabel: 'childLabel', childVersion: 'childVersion' }; export type PromptDependencyScalarFieldEnum = (typeof PromptDependencyScalarFieldEnum)[keyof typeof PromptDependencyScalarFieldEnum] export const PromptProtectedLabelsScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', label: 'label' }; export type PromptProtectedLabelsScalarFieldEnum = (typeof PromptProtectedLabelsScalarFieldEnum)[keyof typeof PromptProtectedLabelsScalarFieldEnum] export const ModelScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', modelName: 'modelName', matchPattern: 'matchPattern', startDate: 'startDate', inputPrice: 'inputPrice', outputPrice: 'outputPrice', totalPrice: 'totalPrice', unit: 'unit', tokenizerId: 'tokenizerId', tokenizerConfig: 'tokenizerConfig' }; export type ModelScalarFieldEnum = (typeof ModelScalarFieldEnum)[keyof typeof ModelScalarFieldEnum] export const PriceScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', modelId: 'modelId', projectId: 'projectId', usageType: 'usageType', price: 'price' }; export type PriceScalarFieldEnum = (typeof PriceScalarFieldEnum)[keyof typeof PriceScalarFieldEnum] export const AuditLogScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', type: 'type', apiKeyId: 'apiKeyId', userId: 'userId', orgId: 'orgId', userOrgRole: 'userOrgRole', projectId: 'projectId', userProjectRole: 'userProjectRole', resourceType: 'resourceType', resourceId: 'resourceId', action: 'action', before: 'before', after: 'after' }; export type AuditLogScalarFieldEnum = (typeof AuditLogScalarFieldEnum)[keyof typeof AuditLogScalarFieldEnum] export const EvalTemplateScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', name: 'name', version: 'version', prompt: 'prompt', partner: 'partner', model: 'model', provider: 'provider', modelParams: 'modelParams', vars: 'vars', outputSchema: 'outputSchema' }; export type EvalTemplateScalarFieldEnum = (typeof EvalTemplateScalarFieldEnum)[keyof typeof EvalTemplateScalarFieldEnum] export const JobConfigurationScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', jobType: 'jobType', status: 'status', evalTemplateId: 'evalTemplateId', scoreName: 'scoreName', filter: 'filter', targetObject: 'targetObject', variableMapping: 'variableMapping', sampling: 'sampling', delay: 'delay', timeScope: 'timeScope' }; export type JobConfigurationScalarFieldEnum = (typeof JobConfigurationScalarFieldEnum)[keyof typeof JobConfigurationScalarFieldEnum] export const JobExecutionScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', jobConfigurationId: 'jobConfigurationId', jobTemplateId: 'jobTemplateId', status: 'status', startTime: 'startTime', endTime: 'endTime', error: 'error', jobInputTraceId: 'jobInputTraceId', jobInputTraceTimestamp: 'jobInputTraceTimestamp', jobInputObservationId: 'jobInputObservationId', jobInputDatasetItemId: 'jobInputDatasetItemId', jobOutputScoreId: 'jobOutputScoreId' }; export type JobExecutionScalarFieldEnum = (typeof JobExecutionScalarFieldEnum)[keyof typeof JobExecutionScalarFieldEnum] export const DefaultLlmModelScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', llmApiKeyId: 'llmApiKeyId', provider: 'provider', adapter: 'adapter', model: 'model', modelParams: 'modelParams' }; export type DefaultLlmModelScalarFieldEnum = (typeof DefaultLlmModelScalarFieldEnum)[keyof typeof DefaultLlmModelScalarFieldEnum] export const SsoConfigScalarFieldEnum: { domain: 'domain', createdAt: 'createdAt', updatedAt: 'updatedAt', authProvider: 'authProvider', authConfig: 'authConfig' }; export type SsoConfigScalarFieldEnum = (typeof SsoConfigScalarFieldEnum)[keyof typeof SsoConfigScalarFieldEnum] export const PosthogIntegrationScalarFieldEnum: { projectId: 'projectId', encryptedPosthogApiKey: 'encryptedPosthogApiKey', posthogHostName: 'posthogHostName', lastSyncAt: 'lastSyncAt', enabled: 'enabled', createdAt: 'createdAt' }; export type PosthogIntegrationScalarFieldEnum = (typeof PosthogIntegrationScalarFieldEnum)[keyof typeof PosthogIntegrationScalarFieldEnum] export const BlobStorageIntegrationScalarFieldEnum: { projectId: 'projectId', type: 'type', bucketName: 'bucketName', prefix: 'prefix', accessKeyId: 'accessKeyId', secretAccessKey: 'secretAccessKey', region: 'region', endpoint: 'endpoint', forcePathStyle: 'forcePathStyle', nextSyncAt: 'nextSyncAt', lastSyncAt: 'lastSyncAt', enabled: 'enabled', exportFrequency: 'exportFrequency', fileType: 'fileType', exportMode: 'exportMode', exportStartDate: 'exportStartDate', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type BlobStorageIntegrationScalarFieldEnum = (typeof BlobStorageIntegrationScalarFieldEnum)[keyof typeof BlobStorageIntegrationScalarFieldEnum] export const BatchExportScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', userId: 'userId', finishedAt: 'finishedAt', expiresAt: 'expiresAt', name: 'name', status: 'status', query: 'query', format: 'format', url: 'url', log: 'log' }; export type BatchExportScalarFieldEnum = (typeof BatchExportScalarFieldEnum)[keyof typeof BatchExportScalarFieldEnum] export const MediaScalarFieldEnum: { id: 'id', sha256Hash: 'sha256Hash', projectId: 'projectId', createdAt: 'createdAt', updatedAt: 'updatedAt', uploadedAt: 'uploadedAt', uploadHttpStatus: 'uploadHttpStatus', uploadHttpError: 'uploadHttpError', bucketPath: 'bucketPath', bucketName: 'bucketName', contentType: 'contentType', contentLength: 'contentLength' }; export type MediaScalarFieldEnum = (typeof MediaScalarFieldEnum)[keyof typeof MediaScalarFieldEnum] export const TraceMediaScalarFieldEnum: { id: 'id', projectId: 'projectId', createdAt: 'createdAt', updatedAt: 'updatedAt', mediaId: 'mediaId', traceId: 'traceId', field: 'field' }; export type TraceMediaScalarFieldEnum = (typeof TraceMediaScalarFieldEnum)[keyof typeof TraceMediaScalarFieldEnum] export const ObservationMediaScalarFieldEnum: { id: 'id', projectId: 'projectId', createdAt: 'createdAt', updatedAt: 'updatedAt', mediaId: 'mediaId', traceId: 'traceId', observationId: 'observationId', field: 'field' }; export type ObservationMediaScalarFieldEnum = (typeof ObservationMediaScalarFieldEnum)[keyof typeof ObservationMediaScalarFieldEnum] export const BillingMeterBackupScalarFieldEnum: { stripeCustomerId: 'stripeCustomerId', meterId: 'meterId', startTime: 'startTime', endTime: 'endTime', aggregatedValue: 'aggregatedValue', eventName: 'eventName', orgId: 'orgId', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type BillingMeterBackupScalarFieldEnum = (typeof BillingMeterBackupScalarFieldEnum)[keyof typeof BillingMeterBackupScalarFieldEnum] export const LlmSchemaScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', name: 'name', description: 'description', schema: 'schema' }; export type LlmSchemaScalarFieldEnum = (typeof LlmSchemaScalarFieldEnum)[keyof typeof LlmSchemaScalarFieldEnum] export const LlmToolScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', name: 'name', description: 'description', parameters: 'parameters' }; export type LlmToolScalarFieldEnum = (typeof LlmToolScalarFieldEnum)[keyof typeof LlmToolScalarFieldEnum] export const DashboardScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', createdBy: 'createdBy', updatedBy: 'updatedBy', projectId: 'projectId', name: 'name', description: 'description', definition: 'definition', filters: 'filters' }; export type DashboardScalarFieldEnum = (typeof DashboardScalarFieldEnum)[keyof typeof DashboardScalarFieldEnum] export const DashboardWidgetScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', createdBy: 'createdBy', updatedBy: 'updatedBy', projectId: 'projectId', name: 'name', description: 'description', view: 'view', dimensions: 'dimensions', metrics: 'metrics', filters: 'filters', chartType: 'chartType', chartConfig: 'chartConfig' }; export type DashboardWidgetScalarFieldEnum = (typeof DashboardWidgetScalarFieldEnum)[keyof typeof DashboardWidgetScalarFieldEnum] export const TableViewPresetScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', name: 'name', tableName: 'tableName', createdBy: 'createdBy', updatedBy: 'updatedBy', filters: 'filters', columnOrder: 'columnOrder', columnVisibility: 'columnVisibility', searchQuery: 'searchQuery', orderBy: 'orderBy' }; export type TableViewPresetScalarFieldEnum = (typeof TableViewPresetScalarFieldEnum)[keyof typeof TableViewPresetScalarFieldEnum] export const ActionScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', type: 'type', config: 'config' }; export type ActionScalarFieldEnum = (typeof ActionScalarFieldEnum)[keyof typeof ActionScalarFieldEnum] export const TriggerScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', projectId: 'projectId', eventSource: 'eventSource', eventActions: 'eventActions', filter: 'filter', status: 'status' }; export type TriggerScalarFieldEnum = (typeof TriggerScalarFieldEnum)[keyof typeof TriggerScalarFieldEnum] export const AutomationScalarFieldEnum: { id: 'id', name: 'name', triggerId: 'triggerId', actionId: 'actionId', createdAt: 'createdAt', projectId: 'projectId' }; export type AutomationScalarFieldEnum = (typeof AutomationScalarFieldEnum)[keyof typeof AutomationScalarFieldEnum] export const AutomationExecutionScalarFieldEnum: { id: 'id', createdAt: 'createdAt', updatedAt: 'updatedAt', sourceId: 'sourceId', automationId: 'automationId', triggerId: 'triggerId', actionId: 'actionId', projectId: 'projectId', status: 'status', input: 'input', output: 'output', startedAt: 'startedAt', finishedAt: 'finishedAt', error: 'error' }; export type AutomationExecutionScalarFieldEnum = (typeof AutomationExecutionScalarFieldEnum)[keyof typeof AutomationExecutionScalarFieldEnum] export const SlackIntegrationScalarFieldEnum: { id: 'id', projectId: 'projectId', teamId: 'teamId', teamName: 'teamName', botToken: 'botToken', botUserId: 'botUserId', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type SlackIntegrationScalarFieldEnum = (typeof SlackIntegrationScalarFieldEnum)[keyof typeof SlackIntegrationScalarFieldEnum] export const PendingDeletionScalarFieldEnum: { id: 'id', projectId: 'projectId', object: 'object', objectId: 'objectId', isDeleted: 'isDeleted', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type PendingDeletionScalarFieldEnum = (typeof PendingDeletionScalarFieldEnum)[keyof typeof PendingDeletionScalarFieldEnum] export const SurveyScalarFieldEnum: { id: 'id', createdAt: 'createdAt', surveyName: 'surveyName', response: 'response', userId: 'userId', userEmail: 'userEmail', orgId: 'orgId' }; export type SurveyScalarFieldEnum = (typeof SurveyScalarFieldEnum)[keyof typeof SurveyScalarFieldEnum] 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 NullsOrder: { first: 'first', last: 'last' }; export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] export const JsonNullValueFilter: { DbNull: typeof DbNull, JsonNull: typeof JsonNull, AnyNull: typeof AnyNull }; export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] /** * 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 '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 '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 'Boolean' */ export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'> /** * 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 'ApiKeyScope' */ export type EnumApiKeyScopeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApiKeyScope'> /** * Reference to a field of type 'ApiKeyScope[]' */ export type ListEnumApiKeyScopeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApiKeyScope[]'> /** * Reference to a field of type 'Role' */ export type EnumRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Role'> /** * Reference to a field of type 'Role[]' */ export type ListEnumRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Role[]'> /** * Reference to a field of type 'LegacyPrismaObservationType' */ export type EnumLegacyPrismaObservationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'LegacyPrismaObservationType'> /** * Reference to a field of type 'LegacyPrismaObservationType[]' */ export type ListEnumLegacyPrismaObservationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'LegacyPrismaObservationType[]'> /** * Reference to a field of type 'LegacyPrismaObservationLevel' */ export type EnumLegacyPrismaObservationLevelFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'LegacyPrismaObservationLevel'> /** * Reference to a field of type 'LegacyPrismaObservationLevel[]' */ export type ListEnumLegacyPrismaObservationLevelFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'LegacyPrismaObservationLevel[]'> /** * Reference to a field of type 'Decimal' */ export type DecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal'> /** * Reference to a field of type 'Decimal[]' */ export type ListDecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal[]'> /** * 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 'LegacyPrismaScoreSource' */ export type EnumLegacyPrismaScoreSourceFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'LegacyPrismaScoreSource'> /** * Reference to a field of type 'LegacyPrismaScoreSource[]' */ export type ListEnumLegacyPrismaScoreSourceFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'LegacyPrismaScoreSource[]'> /** * Reference to a field of type 'ScoreDataType' */ export type EnumScoreDataTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ScoreDataType'> /** * Reference to a field of type 'ScoreDataType[]' */ export type ListEnumScoreDataTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ScoreDataType[]'> /** * Reference to a field of type 'AnnotationQueueObjectType' */ export type EnumAnnotationQueueObjectTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AnnotationQueueObjectType'> /** * Reference to a field of type 'AnnotationQueueObjectType[]' */ export type ListEnumAnnotationQueueObjectTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AnnotationQueueObjectType[]'> /** * Reference to a field of type 'AnnotationQueueStatus' */ export type EnumAnnotationQueueStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AnnotationQueueStatus'> /** * Reference to a field of type 'AnnotationQueueStatus[]' */ export type ListEnumAnnotationQueueStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AnnotationQueueStatus[]'> /** * Reference to a field of type 'DatasetStatus' */ export type EnumDatasetStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DatasetStatus'> /** * Reference to a field of type 'DatasetStatus[]' */ export type ListEnumDatasetStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DatasetStatus[]'> /** * Reference to a field of type 'CommentObjectType' */ export type EnumCommentObjectTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'CommentObjectType'> /** * Reference to a field of type 'CommentObjectType[]' */ export type ListEnumCommentObjectTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'CommentObjectType[]'> /** * Reference to a field of type 'AuditLogRecordType' */ export type EnumAuditLogRecordTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AuditLogRecordType'> /** * Reference to a field of type 'AuditLogRecordType[]' */ export type ListEnumAuditLogRecordTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AuditLogRecordType[]'> /** * Reference to a field of type 'JobType' */ export type EnumJobTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'JobType'> /** * Reference to a field of type 'JobType[]' */ export type ListEnumJobTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'JobType[]'> /** * Reference to a field of type 'JobConfigState' */ export type EnumJobConfigStateFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'JobConfigState'> /** * Reference to a field of type 'JobConfigState[]' */ export type ListEnumJobConfigStateFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'JobConfigState[]'> /** * Reference to a field of type 'JobExecutionStatus' */ export type EnumJobExecutionStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'JobExecutionStatus'> /** * Reference to a field of type 'JobExecutionStatus[]' */ export type ListEnumJobExecutionStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'JobExecutionStatus[]'> /** * Reference to a field of type 'BlobStorageIntegrationType' */ export type EnumBlobStorageIntegrationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BlobStorageIntegrationType'> /** * Reference to a field of type 'BlobStorageIntegrationType[]' */ export type ListEnumBlobStorageIntegrationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BlobStorageIntegrationType[]'> /** * Reference to a field of type 'BlobStorageIntegrationFileType' */ export type EnumBlobStorageIntegrationFileTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BlobStorageIntegrationFileType'> /** * Reference to a field of type 'BlobStorageIntegrationFileType[]' */ export type ListEnumBlobStorageIntegrationFileTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BlobStorageIntegrationFileType[]'> /** * Reference to a field of type 'BlobStorageExportMode' */ export type EnumBlobStorageExportModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BlobStorageExportMode'> /** * Reference to a field of type 'BlobStorageExportMode[]' */ export type ListEnumBlobStorageExportModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BlobStorageExportMode[]'> /** * Reference to a field of type 'BigInt' */ export type BigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BigInt'> /** * Reference to a field of type 'BigInt[]' */ export type ListBigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BigInt[]'> /** * Reference to a field of type 'DashboardWidgetViews' */ export type EnumDashboardWidgetViewsFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DashboardWidgetViews'> /** * Reference to a field of type 'DashboardWidgetViews[]' */ export type ListEnumDashboardWidgetViewsFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DashboardWidgetViews[]'> /** * Reference to a field of type 'DashboardWidgetChartType' */ export type EnumDashboardWidgetChartTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DashboardWidgetChartType'> /** * Reference to a field of type 'DashboardWidgetChartType[]' */ export type ListEnumDashboardWidgetChartTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DashboardWidgetChartType[]'> /** * 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 'ActionExecutionStatus' */ export type EnumActionExecutionStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ActionExecutionStatus'> /** * Reference to a field of type 'ActionExecutionStatus[]' */ export type ListEnumActionExecutionStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ActionExecutionStatus[]'> /** * Reference to a field of type 'SurveyName' */ export type EnumSurveyNameFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'SurveyName'> /** * Reference to a field of type 'SurveyName[]' */ export type ListEnumSurveyNameFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'SurveyName[]'> /** * Deep Input Types */ export type AccountWhereInput = { AND?: AccountWhereInput | AccountWhereInput[] OR?: AccountWhereInput[] NOT?: AccountWhereInput | AccountWhereInput[] id?: StringFilter<"Account"> | string userId?: StringFilter<"Account"> | string type?: StringFilter<"Account"> | string provider?: StringFilter<"Account"> | string providerAccountId?: StringFilter<"Account"> | string refresh_token?: StringNullableFilter<"Account"> | string | null access_token?: StringNullableFilter<"Account"> | string | null expires_at?: IntNullableFilter<"Account"> | number | null expires_in?: IntNullableFilter<"Account"> | number | null ext_expires_in?: IntNullableFilter<"Account"> | number | null token_type?: StringNullableFilter<"Account"> | string | null scope?: StringNullableFilter<"Account"> | string | null id_token?: StringNullableFilter<"Account"> | string | null session_state?: StringNullableFilter<"Account"> | string | null refresh_token_expires_in?: IntNullableFilter<"Account"> | number | null created_at?: IntNullableFilter<"Account"> | number | null user?: XOR } export type AccountOrderByWithRelationInput = { id?: SortOrder userId?: SortOrder type?: SortOrder provider?: SortOrder providerAccountId?: SortOrder refresh_token?: SortOrderInput | SortOrder access_token?: SortOrderInput | SortOrder expires_at?: SortOrderInput | SortOrder expires_in?: SortOrderInput | SortOrder ext_expires_in?: SortOrderInput | SortOrder token_type?: SortOrderInput | SortOrder scope?: SortOrderInput | SortOrder id_token?: SortOrderInput | SortOrder session_state?: SortOrderInput | SortOrder refresh_token_expires_in?: SortOrderInput | SortOrder created_at?: SortOrderInput | SortOrder user?: UserOrderByWithRelationInput } export type AccountWhereUniqueInput = Prisma.AtLeast<{ id?: string provider_providerAccountId?: AccountProviderProviderAccountIdCompoundUniqueInput AND?: AccountWhereInput | AccountWhereInput[] OR?: AccountWhereInput[] NOT?: AccountWhereInput | AccountWhereInput[] userId?: StringFilter<"Account"> | string type?: StringFilter<"Account"> | string provider?: StringFilter<"Account"> | string providerAccountId?: StringFilter<"Account"> | string refresh_token?: StringNullableFilter<"Account"> | string | null access_token?: StringNullableFilter<"Account"> | string | null expires_at?: IntNullableFilter<"Account"> | number | null expires_in?: IntNullableFilter<"Account"> | number | null ext_expires_in?: IntNullableFilter<"Account"> | number | null token_type?: StringNullableFilter<"Account"> | string | null scope?: StringNullableFilter<"Account"> | string | null id_token?: StringNullableFilter<"Account"> | string | null session_state?: StringNullableFilter<"Account"> | string | null refresh_token_expires_in?: IntNullableFilter<"Account"> | number | null created_at?: IntNullableFilter<"Account"> | number | null user?: XOR }, "id" | "provider_providerAccountId"> export type AccountOrderByWithAggregationInput = { id?: SortOrder userId?: SortOrder type?: SortOrder provider?: SortOrder providerAccountId?: SortOrder refresh_token?: SortOrderInput | SortOrder access_token?: SortOrderInput | SortOrder expires_at?: SortOrderInput | SortOrder expires_in?: SortOrderInput | SortOrder ext_expires_in?: SortOrderInput | SortOrder token_type?: SortOrderInput | SortOrder scope?: SortOrderInput | SortOrder id_token?: SortOrderInput | SortOrder session_state?: SortOrderInput | SortOrder refresh_token_expires_in?: SortOrderInput | SortOrder created_at?: SortOrderInput | SortOrder _count?: AccountCountOrderByAggregateInput _avg?: AccountAvgOrderByAggregateInput _max?: AccountMaxOrderByAggregateInput _min?: AccountMinOrderByAggregateInput _sum?: AccountSumOrderByAggregateInput } export type AccountScalarWhereWithAggregatesInput = { AND?: AccountScalarWhereWithAggregatesInput | AccountScalarWhereWithAggregatesInput[] OR?: AccountScalarWhereWithAggregatesInput[] NOT?: AccountScalarWhereWithAggregatesInput | AccountScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Account"> | string userId?: StringWithAggregatesFilter<"Account"> | string type?: StringWithAggregatesFilter<"Account"> | string provider?: StringWithAggregatesFilter<"Account"> | string providerAccountId?: StringWithAggregatesFilter<"Account"> | string refresh_token?: StringNullableWithAggregatesFilter<"Account"> | string | null access_token?: StringNullableWithAggregatesFilter<"Account"> | string | null expires_at?: IntNullableWithAggregatesFilter<"Account"> | number | null expires_in?: IntNullableWithAggregatesFilter<"Account"> | number | null ext_expires_in?: IntNullableWithAggregatesFilter<"Account"> | number | null token_type?: StringNullableWithAggregatesFilter<"Account"> | string | null scope?: StringNullableWithAggregatesFilter<"Account"> | string | null id_token?: StringNullableWithAggregatesFilter<"Account"> | string | null session_state?: StringNullableWithAggregatesFilter<"Account"> | string | null refresh_token_expires_in?: IntNullableWithAggregatesFilter<"Account"> | number | null created_at?: IntNullableWithAggregatesFilter<"Account"> | number | null } export type SessionWhereInput = { AND?: SessionWhereInput | SessionWhereInput[] OR?: SessionWhereInput[] NOT?: SessionWhereInput | SessionWhereInput[] id?: StringFilter<"Session"> | string sessionToken?: StringFilter<"Session"> | string userId?: StringFilter<"Session"> | string expires?: DateTimeFilter<"Session"> | Date | string user?: XOR } export type SessionOrderByWithRelationInput = { id?: SortOrder sessionToken?: SortOrder userId?: SortOrder expires?: SortOrder user?: UserOrderByWithRelationInput } export type SessionWhereUniqueInput = Prisma.AtLeast<{ id?: string sessionToken?: string AND?: SessionWhereInput | SessionWhereInput[] OR?: SessionWhereInput[] NOT?: SessionWhereInput | SessionWhereInput[] userId?: StringFilter<"Session"> | string expires?: DateTimeFilter<"Session"> | Date | string user?: XOR }, "id" | "sessionToken"> export type SessionOrderByWithAggregationInput = { id?: SortOrder sessionToken?: SortOrder userId?: SortOrder expires?: SortOrder _count?: SessionCountOrderByAggregateInput _max?: SessionMaxOrderByAggregateInput _min?: SessionMinOrderByAggregateInput } export type SessionScalarWhereWithAggregatesInput = { AND?: SessionScalarWhereWithAggregatesInput | SessionScalarWhereWithAggregatesInput[] OR?: SessionScalarWhereWithAggregatesInput[] NOT?: SessionScalarWhereWithAggregatesInput | SessionScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Session"> | string sessionToken?: StringWithAggregatesFilter<"Session"> | string userId?: StringWithAggregatesFilter<"Session"> | string expires?: DateTimeWithAggregatesFilter<"Session"> | Date | string } export type UserWhereInput = { AND?: UserWhereInput | UserWhereInput[] OR?: UserWhereInput[] NOT?: UserWhereInput | UserWhereInput[] id?: StringFilter<"User"> | string name?: StringNullableFilter<"User"> | string | null email?: StringNullableFilter<"User"> | string | null emailVerified?: DateTimeNullableFilter<"User"> | Date | string | null password?: StringNullableFilter<"User"> | string | null image?: StringNullableFilter<"User"> | string | null admin?: BoolFilter<"User"> | boolean createdAt?: DateTimeFilter<"User"> | Date | string updatedAt?: DateTimeFilter<"User"> | Date | string featureFlags?: StringNullableListFilter<"User"> accounts?: AccountListRelationFilter sessions?: SessionListRelationFilter organizationMemberships?: OrganizationMembershipListRelationFilter projectMemberships?: ProjectMembershipListRelationFilter invitations?: MembershipInvitationListRelationFilter annotatedLockedItem?: AnnotationQueueItemListRelationFilter annotatedCompletedItem?: AnnotationQueueItemListRelationFilter dashboardWidgetsCreated?: DashboardWidgetListRelationFilter dashboardWidgetsUpdated?: DashboardWidgetListRelationFilter dashboardCreated?: DashboardListRelationFilter dashboardUpdated?: DashboardListRelationFilter tableViewPresetCreated?: TableViewPresetListRelationFilter tableViewPresetUpdated?: TableViewPresetListRelationFilter annotationQueueAssignment?: AnnotationQueueAssignmentListRelationFilter surveys?: SurveyListRelationFilter } export type UserOrderByWithRelationInput = { id?: SortOrder name?: SortOrderInput | SortOrder email?: SortOrderInput | SortOrder emailVerified?: SortOrderInput | SortOrder password?: SortOrderInput | SortOrder image?: SortOrderInput | SortOrder admin?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder featureFlags?: SortOrder accounts?: AccountOrderByRelationAggregateInput sessions?: SessionOrderByRelationAggregateInput organizationMemberships?: OrganizationMembershipOrderByRelationAggregateInput projectMemberships?: ProjectMembershipOrderByRelationAggregateInput invitations?: MembershipInvitationOrderByRelationAggregateInput annotatedLockedItem?: AnnotationQueueItemOrderByRelationAggregateInput annotatedCompletedItem?: AnnotationQueueItemOrderByRelationAggregateInput dashboardWidgetsCreated?: DashboardWidgetOrderByRelationAggregateInput dashboardWidgetsUpdated?: DashboardWidgetOrderByRelationAggregateInput dashboardCreated?: DashboardOrderByRelationAggregateInput dashboardUpdated?: DashboardOrderByRelationAggregateInput tableViewPresetCreated?: TableViewPresetOrderByRelationAggregateInput tableViewPresetUpdated?: TableViewPresetOrderByRelationAggregateInput annotationQueueAssignment?: AnnotationQueueAssignmentOrderByRelationAggregateInput surveys?: SurveyOrderByRelationAggregateInput } export type UserWhereUniqueInput = Prisma.AtLeast<{ id?: string email?: string AND?: UserWhereInput | UserWhereInput[] OR?: UserWhereInput[] NOT?: UserWhereInput | UserWhereInput[] name?: StringNullableFilter<"User"> | string | null emailVerified?: DateTimeNullableFilter<"User"> | Date | string | null password?: StringNullableFilter<"User"> | string | null image?: StringNullableFilter<"User"> | string | null admin?: BoolFilter<"User"> | boolean createdAt?: DateTimeFilter<"User"> | Date | string updatedAt?: DateTimeFilter<"User"> | Date | string featureFlags?: StringNullableListFilter<"User"> accounts?: AccountListRelationFilter sessions?: SessionListRelationFilter organizationMemberships?: OrganizationMembershipListRelationFilter projectMemberships?: ProjectMembershipListRelationFilter invitations?: MembershipInvitationListRelationFilter annotatedLockedItem?: AnnotationQueueItemListRelationFilter annotatedCompletedItem?: AnnotationQueueItemListRelationFilter dashboardWidgetsCreated?: DashboardWidgetListRelationFilter dashboardWidgetsUpdated?: DashboardWidgetListRelationFilter dashboardCreated?: DashboardListRelationFilter dashboardUpdated?: DashboardListRelationFilter tableViewPresetCreated?: TableViewPresetListRelationFilter tableViewPresetUpdated?: TableViewPresetListRelationFilter annotationQueueAssignment?: AnnotationQueueAssignmentListRelationFilter surveys?: SurveyListRelationFilter }, "id" | "email"> export type UserOrderByWithAggregationInput = { id?: SortOrder name?: SortOrderInput | SortOrder email?: SortOrderInput | SortOrder emailVerified?: SortOrderInput | SortOrder password?: SortOrderInput | SortOrder image?: SortOrderInput | SortOrder admin?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder featureFlags?: SortOrder _count?: UserCountOrderByAggregateInput _max?: UserMaxOrderByAggregateInput _min?: UserMinOrderByAggregateInput } export type UserScalarWhereWithAggregatesInput = { AND?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[] OR?: UserScalarWhereWithAggregatesInput[] NOT?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"User"> | string name?: StringNullableWithAggregatesFilter<"User"> | string | null email?: StringNullableWithAggregatesFilter<"User"> | string | null emailVerified?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null password?: StringNullableWithAggregatesFilter<"User"> | string | null image?: StringNullableWithAggregatesFilter<"User"> | string | null admin?: BoolWithAggregatesFilter<"User"> | boolean createdAt?: DateTimeWithAggregatesFilter<"User"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"User"> | Date | string featureFlags?: StringNullableListFilter<"User"> } export type VerificationTokenWhereInput = { AND?: VerificationTokenWhereInput | VerificationTokenWhereInput[] OR?: VerificationTokenWhereInput[] NOT?: VerificationTokenWhereInput | VerificationTokenWhereInput[] identifier?: StringFilter<"VerificationToken"> | string token?: StringFilter<"VerificationToken"> | string expires?: DateTimeFilter<"VerificationToken"> | Date | string } export type VerificationTokenOrderByWithRelationInput = { identifier?: SortOrder token?: SortOrder expires?: SortOrder } export type VerificationTokenWhereUniqueInput = Prisma.AtLeast<{ token?: string identifier_token?: VerificationTokenIdentifierTokenCompoundUniqueInput AND?: VerificationTokenWhereInput | VerificationTokenWhereInput[] OR?: VerificationTokenWhereInput[] NOT?: VerificationTokenWhereInput | VerificationTokenWhereInput[] identifier?: StringFilter<"VerificationToken"> | string expires?: DateTimeFilter<"VerificationToken"> | Date | string }, "token" | "identifier_token"> export type VerificationTokenOrderByWithAggregationInput = { identifier?: SortOrder token?: SortOrder expires?: SortOrder _count?: VerificationTokenCountOrderByAggregateInput _max?: VerificationTokenMaxOrderByAggregateInput _min?: VerificationTokenMinOrderByAggregateInput } export type VerificationTokenScalarWhereWithAggregatesInput = { AND?: VerificationTokenScalarWhereWithAggregatesInput | VerificationTokenScalarWhereWithAggregatesInput[] OR?: VerificationTokenScalarWhereWithAggregatesInput[] NOT?: VerificationTokenScalarWhereWithAggregatesInput | VerificationTokenScalarWhereWithAggregatesInput[] identifier?: StringWithAggregatesFilter<"VerificationToken"> | string token?: StringWithAggregatesFilter<"VerificationToken"> | string expires?: DateTimeWithAggregatesFilter<"VerificationToken"> | Date | string } export type OrganizationWhereInput = { AND?: OrganizationWhereInput | OrganizationWhereInput[] OR?: OrganizationWhereInput[] NOT?: OrganizationWhereInput | OrganizationWhereInput[] id?: StringFilter<"Organization"> | string name?: StringFilter<"Organization"> | string createdAt?: DateTimeFilter<"Organization"> | Date | string updatedAt?: DateTimeFilter<"Organization"> | Date | string cloudConfig?: JsonNullableFilter<"Organization"> metadata?: JsonNullableFilter<"Organization"> organizationMemberships?: OrganizationMembershipListRelationFilter projects?: ProjectListRelationFilter MembershipInvitation?: MembershipInvitationListRelationFilter ApiKey?: ApiKeyListRelationFilter surveys?: SurveyListRelationFilter } export type OrganizationOrderByWithRelationInput = { id?: SortOrder name?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder cloudConfig?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder organizationMemberships?: OrganizationMembershipOrderByRelationAggregateInput projects?: ProjectOrderByRelationAggregateInput MembershipInvitation?: MembershipInvitationOrderByRelationAggregateInput ApiKey?: ApiKeyOrderByRelationAggregateInput surveys?: SurveyOrderByRelationAggregateInput } export type OrganizationWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: OrganizationWhereInput | OrganizationWhereInput[] OR?: OrganizationWhereInput[] NOT?: OrganizationWhereInput | OrganizationWhereInput[] name?: StringFilter<"Organization"> | string createdAt?: DateTimeFilter<"Organization"> | Date | string updatedAt?: DateTimeFilter<"Organization"> | Date | string cloudConfig?: JsonNullableFilter<"Organization"> metadata?: JsonNullableFilter<"Organization"> organizationMemberships?: OrganizationMembershipListRelationFilter projects?: ProjectListRelationFilter MembershipInvitation?: MembershipInvitationListRelationFilter ApiKey?: ApiKeyListRelationFilter surveys?: SurveyListRelationFilter }, "id"> export type OrganizationOrderByWithAggregationInput = { id?: SortOrder name?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder cloudConfig?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder _count?: OrganizationCountOrderByAggregateInput _max?: OrganizationMaxOrderByAggregateInput _min?: OrganizationMinOrderByAggregateInput } export type OrganizationScalarWhereWithAggregatesInput = { AND?: OrganizationScalarWhereWithAggregatesInput | OrganizationScalarWhereWithAggregatesInput[] OR?: OrganizationScalarWhereWithAggregatesInput[] NOT?: OrganizationScalarWhereWithAggregatesInput | OrganizationScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Organization"> | string name?: StringWithAggregatesFilter<"Organization"> | string createdAt?: DateTimeWithAggregatesFilter<"Organization"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Organization"> | Date | string cloudConfig?: JsonNullableWithAggregatesFilter<"Organization"> metadata?: JsonNullableWithAggregatesFilter<"Organization"> } export type ProjectWhereInput = { AND?: ProjectWhereInput | ProjectWhereInput[] OR?: ProjectWhereInput[] NOT?: ProjectWhereInput | ProjectWhereInput[] id?: StringFilter<"Project"> | string orgId?: StringFilter<"Project"> | string createdAt?: DateTimeFilter<"Project"> | Date | string updatedAt?: DateTimeFilter<"Project"> | Date | string deletedAt?: DateTimeNullableFilter<"Project"> | Date | string | null name?: StringFilter<"Project"> | string retentionDays?: IntNullableFilter<"Project"> | number | null metadata?: JsonNullableFilter<"Project"> projectMembers?: ProjectMembershipListRelationFilter organization?: XOR apiKeys?: ApiKeyListRelationFilter dataset?: DatasetListRelationFilter invitations?: MembershipInvitationListRelationFilter sessions?: TraceSessionListRelationFilter Prompt?: PromptListRelationFilter Model?: ModelListRelationFilter EvalTemplate?: EvalTemplateListRelationFilter JobConfiguration?: JobConfigurationListRelationFilter JobExecution?: JobExecutionListRelationFilter LlmApiKeys?: LlmApiKeysListRelationFilter PosthogIntegration?: PosthogIntegrationListRelationFilter BlobStorageIntegration?: BlobStorageIntegrationListRelationFilter scoreConfig?: ScoreConfigListRelationFilter BatchExport?: BatchExportListRelationFilter comment?: CommentListRelationFilter annotationQueue?: AnnotationQueueListRelationFilter annotationQueueItem?: AnnotationQueueItemListRelationFilter TraceMedia?: TraceMediaListRelationFilter Media?: MediaListRelationFilter ObservationMedia?: ObservationMediaListRelationFilter LegacyTrace?: LegacyPrismaTraceListRelationFilter LegacyObservation?: LegacyPrismaObservationListRelationFilter LegacyScore?: LegacyPrismaScoreListRelationFilter PromptDependency?: PromptDependencyListRelationFilter LlmSchema?: LlmSchemaListRelationFilter LlmTool?: LlmToolListRelationFilter PromptProtectedLabels?: PromptProtectedLabelsListRelationFilter Dashboard?: DashboardListRelationFilter DashboardWidget?: DashboardWidgetListRelationFilter TableViewPreset?: TableViewPresetListRelationFilter actions?: ActionListRelationFilter triggers?: TriggerListRelationFilter automationExecutions?: AutomationExecutionListRelationFilter Automation?: AutomationListRelationFilter DefaultLlmModel?: DefaultLlmModelListRelationFilter Price?: PriceListRelationFilter SlackIntegration?: XOR | null PendingDeletion?: PendingDeletionListRelationFilter AnnotationQueueAssignment?: AnnotationQueueAssignmentListRelationFilter } export type ProjectOrderByWithRelationInput = { id?: SortOrder orgId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder deletedAt?: SortOrderInput | SortOrder name?: SortOrder retentionDays?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder projectMembers?: ProjectMembershipOrderByRelationAggregateInput organization?: OrganizationOrderByWithRelationInput apiKeys?: ApiKeyOrderByRelationAggregateInput dataset?: DatasetOrderByRelationAggregateInput invitations?: MembershipInvitationOrderByRelationAggregateInput sessions?: TraceSessionOrderByRelationAggregateInput Prompt?: PromptOrderByRelationAggregateInput Model?: ModelOrderByRelationAggregateInput EvalTemplate?: EvalTemplateOrderByRelationAggregateInput JobConfiguration?: JobConfigurationOrderByRelationAggregateInput JobExecution?: JobExecutionOrderByRelationAggregateInput LlmApiKeys?: LlmApiKeysOrderByRelationAggregateInput PosthogIntegration?: PosthogIntegrationOrderByRelationAggregateInput BlobStorageIntegration?: BlobStorageIntegrationOrderByRelationAggregateInput scoreConfig?: ScoreConfigOrderByRelationAggregateInput BatchExport?: BatchExportOrderByRelationAggregateInput comment?: CommentOrderByRelationAggregateInput annotationQueue?: AnnotationQueueOrderByRelationAggregateInput annotationQueueItem?: AnnotationQueueItemOrderByRelationAggregateInput TraceMedia?: TraceMediaOrderByRelationAggregateInput Media?: MediaOrderByRelationAggregateInput ObservationMedia?: ObservationMediaOrderByRelationAggregateInput LegacyTrace?: LegacyPrismaTraceOrderByRelationAggregateInput LegacyObservation?: LegacyPrismaObservationOrderByRelationAggregateInput LegacyScore?: LegacyPrismaScoreOrderByRelationAggregateInput PromptDependency?: PromptDependencyOrderByRelationAggregateInput LlmSchema?: LlmSchemaOrderByRelationAggregateInput LlmTool?: LlmToolOrderByRelationAggregateInput PromptProtectedLabels?: PromptProtectedLabelsOrderByRelationAggregateInput Dashboard?: DashboardOrderByRelationAggregateInput DashboardWidget?: DashboardWidgetOrderByRelationAggregateInput TableViewPreset?: TableViewPresetOrderByRelationAggregateInput actions?: ActionOrderByRelationAggregateInput triggers?: TriggerOrderByRelationAggregateInput automationExecutions?: AutomationExecutionOrderByRelationAggregateInput Automation?: AutomationOrderByRelationAggregateInput DefaultLlmModel?: DefaultLlmModelOrderByRelationAggregateInput Price?: PriceOrderByRelationAggregateInput SlackIntegration?: SlackIntegrationOrderByWithRelationInput PendingDeletion?: PendingDeletionOrderByRelationAggregateInput AnnotationQueueAssignment?: AnnotationQueueAssignmentOrderByRelationAggregateInput } export type ProjectWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: ProjectWhereInput | ProjectWhereInput[] OR?: ProjectWhereInput[] NOT?: ProjectWhereInput | ProjectWhereInput[] orgId?: StringFilter<"Project"> | string createdAt?: DateTimeFilter<"Project"> | Date | string updatedAt?: DateTimeFilter<"Project"> | Date | string deletedAt?: DateTimeNullableFilter<"Project"> | Date | string | null name?: StringFilter<"Project"> | string retentionDays?: IntNullableFilter<"Project"> | number | null metadata?: JsonNullableFilter<"Project"> projectMembers?: ProjectMembershipListRelationFilter organization?: XOR apiKeys?: ApiKeyListRelationFilter dataset?: DatasetListRelationFilter invitations?: MembershipInvitationListRelationFilter sessions?: TraceSessionListRelationFilter Prompt?: PromptListRelationFilter Model?: ModelListRelationFilter EvalTemplate?: EvalTemplateListRelationFilter JobConfiguration?: JobConfigurationListRelationFilter JobExecution?: JobExecutionListRelationFilter LlmApiKeys?: LlmApiKeysListRelationFilter PosthogIntegration?: PosthogIntegrationListRelationFilter BlobStorageIntegration?: BlobStorageIntegrationListRelationFilter scoreConfig?: ScoreConfigListRelationFilter BatchExport?: BatchExportListRelationFilter comment?: CommentListRelationFilter annotationQueue?: AnnotationQueueListRelationFilter annotationQueueItem?: AnnotationQueueItemListRelationFilter TraceMedia?: TraceMediaListRelationFilter Media?: MediaListRelationFilter ObservationMedia?: ObservationMediaListRelationFilter LegacyTrace?: LegacyPrismaTraceListRelationFilter LegacyObservation?: LegacyPrismaObservationListRelationFilter LegacyScore?: LegacyPrismaScoreListRelationFilter PromptDependency?: PromptDependencyListRelationFilter LlmSchema?: LlmSchemaListRelationFilter LlmTool?: LlmToolListRelationFilter PromptProtectedLabels?: PromptProtectedLabelsListRelationFilter Dashboard?: DashboardListRelationFilter DashboardWidget?: DashboardWidgetListRelationFilter TableViewPreset?: TableViewPresetListRelationFilter actions?: ActionListRelationFilter triggers?: TriggerListRelationFilter automationExecutions?: AutomationExecutionListRelationFilter Automation?: AutomationListRelationFilter DefaultLlmModel?: DefaultLlmModelListRelationFilter Price?: PriceListRelationFilter SlackIntegration?: XOR | null PendingDeletion?: PendingDeletionListRelationFilter AnnotationQueueAssignment?: AnnotationQueueAssignmentListRelationFilter }, "id"> export type ProjectOrderByWithAggregationInput = { id?: SortOrder orgId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder deletedAt?: SortOrderInput | SortOrder name?: SortOrder retentionDays?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder _count?: ProjectCountOrderByAggregateInput _avg?: ProjectAvgOrderByAggregateInput _max?: ProjectMaxOrderByAggregateInput _min?: ProjectMinOrderByAggregateInput _sum?: ProjectSumOrderByAggregateInput } export type ProjectScalarWhereWithAggregatesInput = { AND?: ProjectScalarWhereWithAggregatesInput | ProjectScalarWhereWithAggregatesInput[] OR?: ProjectScalarWhereWithAggregatesInput[] NOT?: ProjectScalarWhereWithAggregatesInput | ProjectScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Project"> | string orgId?: StringWithAggregatesFilter<"Project"> | string createdAt?: DateTimeWithAggregatesFilter<"Project"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Project"> | Date | string deletedAt?: DateTimeNullableWithAggregatesFilter<"Project"> | Date | string | null name?: StringWithAggregatesFilter<"Project"> | string retentionDays?: IntNullableWithAggregatesFilter<"Project"> | number | null metadata?: JsonNullableWithAggregatesFilter<"Project"> } export type ApiKeyWhereInput = { AND?: ApiKeyWhereInput | ApiKeyWhereInput[] OR?: ApiKeyWhereInput[] NOT?: ApiKeyWhereInput | ApiKeyWhereInput[] id?: StringFilter<"ApiKey"> | string createdAt?: DateTimeFilter<"ApiKey"> | Date | string note?: StringNullableFilter<"ApiKey"> | string | null publicKey?: StringFilter<"ApiKey"> | string hashedSecretKey?: StringFilter<"ApiKey"> | string fastHashedSecretKey?: StringNullableFilter<"ApiKey"> | string | null displaySecretKey?: StringFilter<"ApiKey"> | string lastUsedAt?: DateTimeNullableFilter<"ApiKey"> | Date | string | null expiresAt?: DateTimeNullableFilter<"ApiKey"> | Date | string | null projectId?: StringNullableFilter<"ApiKey"> | string | null orgId?: StringNullableFilter<"ApiKey"> | string | null scope?: EnumApiKeyScopeFilter<"ApiKey"> | $Enums.ApiKeyScope project?: XOR | null organization?: XOR | null } export type ApiKeyOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder note?: SortOrderInput | SortOrder publicKey?: SortOrder hashedSecretKey?: SortOrder fastHashedSecretKey?: SortOrderInput | SortOrder displaySecretKey?: SortOrder lastUsedAt?: SortOrderInput | SortOrder expiresAt?: SortOrderInput | SortOrder projectId?: SortOrderInput | SortOrder orgId?: SortOrderInput | SortOrder scope?: SortOrder project?: ProjectOrderByWithRelationInput organization?: OrganizationOrderByWithRelationInput } export type ApiKeyWhereUniqueInput = Prisma.AtLeast<{ id?: string publicKey?: string hashedSecretKey?: string fastHashedSecretKey?: string AND?: ApiKeyWhereInput | ApiKeyWhereInput[] OR?: ApiKeyWhereInput[] NOT?: ApiKeyWhereInput | ApiKeyWhereInput[] createdAt?: DateTimeFilter<"ApiKey"> | Date | string note?: StringNullableFilter<"ApiKey"> | string | null displaySecretKey?: StringFilter<"ApiKey"> | string lastUsedAt?: DateTimeNullableFilter<"ApiKey"> | Date | string | null expiresAt?: DateTimeNullableFilter<"ApiKey"> | Date | string | null projectId?: StringNullableFilter<"ApiKey"> | string | null orgId?: StringNullableFilter<"ApiKey"> | string | null scope?: EnumApiKeyScopeFilter<"ApiKey"> | $Enums.ApiKeyScope project?: XOR | null organization?: XOR | null }, "id" | "id" | "publicKey" | "hashedSecretKey" | "fastHashedSecretKey"> export type ApiKeyOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder note?: SortOrderInput | SortOrder publicKey?: SortOrder hashedSecretKey?: SortOrder fastHashedSecretKey?: SortOrderInput | SortOrder displaySecretKey?: SortOrder lastUsedAt?: SortOrderInput | SortOrder expiresAt?: SortOrderInput | SortOrder projectId?: SortOrderInput | SortOrder orgId?: SortOrderInput | SortOrder scope?: SortOrder _count?: ApiKeyCountOrderByAggregateInput _max?: ApiKeyMaxOrderByAggregateInput _min?: ApiKeyMinOrderByAggregateInput } export type ApiKeyScalarWhereWithAggregatesInput = { AND?: ApiKeyScalarWhereWithAggregatesInput | ApiKeyScalarWhereWithAggregatesInput[] OR?: ApiKeyScalarWhereWithAggregatesInput[] NOT?: ApiKeyScalarWhereWithAggregatesInput | ApiKeyScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"ApiKey"> | string createdAt?: DateTimeWithAggregatesFilter<"ApiKey"> | Date | string note?: StringNullableWithAggregatesFilter<"ApiKey"> | string | null publicKey?: StringWithAggregatesFilter<"ApiKey"> | string hashedSecretKey?: StringWithAggregatesFilter<"ApiKey"> | string fastHashedSecretKey?: StringNullableWithAggregatesFilter<"ApiKey"> | string | null displaySecretKey?: StringWithAggregatesFilter<"ApiKey"> | string lastUsedAt?: DateTimeNullableWithAggregatesFilter<"ApiKey"> | Date | string | null expiresAt?: DateTimeNullableWithAggregatesFilter<"ApiKey"> | Date | string | null projectId?: StringNullableWithAggregatesFilter<"ApiKey"> | string | null orgId?: StringNullableWithAggregatesFilter<"ApiKey"> | string | null scope?: EnumApiKeyScopeWithAggregatesFilter<"ApiKey"> | $Enums.ApiKeyScope } export type BackgroundMigrationWhereInput = { AND?: BackgroundMigrationWhereInput | BackgroundMigrationWhereInput[] OR?: BackgroundMigrationWhereInput[] NOT?: BackgroundMigrationWhereInput | BackgroundMigrationWhereInput[] id?: StringFilter<"BackgroundMigration"> | string name?: StringFilter<"BackgroundMigration"> | string script?: StringFilter<"BackgroundMigration"> | string args?: JsonFilter<"BackgroundMigration"> state?: JsonFilter<"BackgroundMigration"> finishedAt?: DateTimeNullableFilter<"BackgroundMigration"> | Date | string | null failedAt?: DateTimeNullableFilter<"BackgroundMigration"> | Date | string | null failedReason?: StringNullableFilter<"BackgroundMigration"> | string | null workerId?: StringNullableFilter<"BackgroundMigration"> | string | null lockedAt?: DateTimeNullableFilter<"BackgroundMigration"> | Date | string | null } export type BackgroundMigrationOrderByWithRelationInput = { id?: SortOrder name?: SortOrder script?: SortOrder args?: SortOrder state?: SortOrder finishedAt?: SortOrderInput | SortOrder failedAt?: SortOrderInput | SortOrder failedReason?: SortOrderInput | SortOrder workerId?: SortOrderInput | SortOrder lockedAt?: SortOrderInput | SortOrder } export type BackgroundMigrationWhereUniqueInput = Prisma.AtLeast<{ id?: string name?: string AND?: BackgroundMigrationWhereInput | BackgroundMigrationWhereInput[] OR?: BackgroundMigrationWhereInput[] NOT?: BackgroundMigrationWhereInput | BackgroundMigrationWhereInput[] script?: StringFilter<"BackgroundMigration"> | string args?: JsonFilter<"BackgroundMigration"> state?: JsonFilter<"BackgroundMigration"> finishedAt?: DateTimeNullableFilter<"BackgroundMigration"> | Date | string | null failedAt?: DateTimeNullableFilter<"BackgroundMigration"> | Date | string | null failedReason?: StringNullableFilter<"BackgroundMigration"> | string | null workerId?: StringNullableFilter<"BackgroundMigration"> | string | null lockedAt?: DateTimeNullableFilter<"BackgroundMigration"> | Date | string | null }, "id" | "name"> export type BackgroundMigrationOrderByWithAggregationInput = { id?: SortOrder name?: SortOrder script?: SortOrder args?: SortOrder state?: SortOrder finishedAt?: SortOrderInput | SortOrder failedAt?: SortOrderInput | SortOrder failedReason?: SortOrderInput | SortOrder workerId?: SortOrderInput | SortOrder lockedAt?: SortOrderInput | SortOrder _count?: BackgroundMigrationCountOrderByAggregateInput _max?: BackgroundMigrationMaxOrderByAggregateInput _min?: BackgroundMigrationMinOrderByAggregateInput } export type BackgroundMigrationScalarWhereWithAggregatesInput = { AND?: BackgroundMigrationScalarWhereWithAggregatesInput | BackgroundMigrationScalarWhereWithAggregatesInput[] OR?: BackgroundMigrationScalarWhereWithAggregatesInput[] NOT?: BackgroundMigrationScalarWhereWithAggregatesInput | BackgroundMigrationScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"BackgroundMigration"> | string name?: StringWithAggregatesFilter<"BackgroundMigration"> | string script?: StringWithAggregatesFilter<"BackgroundMigration"> | string args?: JsonWithAggregatesFilter<"BackgroundMigration"> state?: JsonWithAggregatesFilter<"BackgroundMigration"> finishedAt?: DateTimeNullableWithAggregatesFilter<"BackgroundMigration"> | Date | string | null failedAt?: DateTimeNullableWithAggregatesFilter<"BackgroundMigration"> | Date | string | null failedReason?: StringNullableWithAggregatesFilter<"BackgroundMigration"> | string | null workerId?: StringNullableWithAggregatesFilter<"BackgroundMigration"> | string | null lockedAt?: DateTimeNullableWithAggregatesFilter<"BackgroundMigration"> | Date | string | null } export type LlmApiKeysWhereInput = { AND?: LlmApiKeysWhereInput | LlmApiKeysWhereInput[] OR?: LlmApiKeysWhereInput[] NOT?: LlmApiKeysWhereInput | LlmApiKeysWhereInput[] id?: StringFilter<"LlmApiKeys"> | string createdAt?: DateTimeFilter<"LlmApiKeys"> | Date | string updatedAt?: DateTimeFilter<"LlmApiKeys"> | Date | string provider?: StringFilter<"LlmApiKeys"> | string adapter?: StringFilter<"LlmApiKeys"> | string displaySecretKey?: StringFilter<"LlmApiKeys"> | string secretKey?: StringFilter<"LlmApiKeys"> | string baseURL?: StringNullableFilter<"LlmApiKeys"> | string | null customModels?: StringNullableListFilter<"LlmApiKeys"> withDefaultModels?: BoolFilter<"LlmApiKeys"> | boolean extraHeaders?: StringNullableFilter<"LlmApiKeys"> | string | null extraHeaderKeys?: StringNullableListFilter<"LlmApiKeys"> config?: JsonNullableFilter<"LlmApiKeys"> projectId?: StringFilter<"LlmApiKeys"> | string project?: XOR DefaultLlmModel?: DefaultLlmModelListRelationFilter } export type LlmApiKeysOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder provider?: SortOrder adapter?: SortOrder displaySecretKey?: SortOrder secretKey?: SortOrder baseURL?: SortOrderInput | SortOrder customModels?: SortOrder withDefaultModels?: SortOrder extraHeaders?: SortOrderInput | SortOrder extraHeaderKeys?: SortOrder config?: SortOrderInput | SortOrder projectId?: SortOrder project?: ProjectOrderByWithRelationInput DefaultLlmModel?: DefaultLlmModelOrderByRelationAggregateInput } export type LlmApiKeysWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId_provider?: LlmApiKeysProjectIdProviderCompoundUniqueInput AND?: LlmApiKeysWhereInput | LlmApiKeysWhereInput[] OR?: LlmApiKeysWhereInput[] NOT?: LlmApiKeysWhereInput | LlmApiKeysWhereInput[] createdAt?: DateTimeFilter<"LlmApiKeys"> | Date | string updatedAt?: DateTimeFilter<"LlmApiKeys"> | Date | string provider?: StringFilter<"LlmApiKeys"> | string adapter?: StringFilter<"LlmApiKeys"> | string displaySecretKey?: StringFilter<"LlmApiKeys"> | string secretKey?: StringFilter<"LlmApiKeys"> | string baseURL?: StringNullableFilter<"LlmApiKeys"> | string | null customModels?: StringNullableListFilter<"LlmApiKeys"> withDefaultModels?: BoolFilter<"LlmApiKeys"> | boolean extraHeaders?: StringNullableFilter<"LlmApiKeys"> | string | null extraHeaderKeys?: StringNullableListFilter<"LlmApiKeys"> config?: JsonNullableFilter<"LlmApiKeys"> projectId?: StringFilter<"LlmApiKeys"> | string project?: XOR DefaultLlmModel?: DefaultLlmModelListRelationFilter }, "id" | "id" | "projectId_provider"> export type LlmApiKeysOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder provider?: SortOrder adapter?: SortOrder displaySecretKey?: SortOrder secretKey?: SortOrder baseURL?: SortOrderInput | SortOrder customModels?: SortOrder withDefaultModels?: SortOrder extraHeaders?: SortOrderInput | SortOrder extraHeaderKeys?: SortOrder config?: SortOrderInput | SortOrder projectId?: SortOrder _count?: LlmApiKeysCountOrderByAggregateInput _max?: LlmApiKeysMaxOrderByAggregateInput _min?: LlmApiKeysMinOrderByAggregateInput } export type LlmApiKeysScalarWhereWithAggregatesInput = { AND?: LlmApiKeysScalarWhereWithAggregatesInput | LlmApiKeysScalarWhereWithAggregatesInput[] OR?: LlmApiKeysScalarWhereWithAggregatesInput[] NOT?: LlmApiKeysScalarWhereWithAggregatesInput | LlmApiKeysScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"LlmApiKeys"> | string createdAt?: DateTimeWithAggregatesFilter<"LlmApiKeys"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"LlmApiKeys"> | Date | string provider?: StringWithAggregatesFilter<"LlmApiKeys"> | string adapter?: StringWithAggregatesFilter<"LlmApiKeys"> | string displaySecretKey?: StringWithAggregatesFilter<"LlmApiKeys"> | string secretKey?: StringWithAggregatesFilter<"LlmApiKeys"> | string baseURL?: StringNullableWithAggregatesFilter<"LlmApiKeys"> | string | null customModels?: StringNullableListFilter<"LlmApiKeys"> withDefaultModels?: BoolWithAggregatesFilter<"LlmApiKeys"> | boolean extraHeaders?: StringNullableWithAggregatesFilter<"LlmApiKeys"> | string | null extraHeaderKeys?: StringNullableListFilter<"LlmApiKeys"> config?: JsonNullableWithAggregatesFilter<"LlmApiKeys"> projectId?: StringWithAggregatesFilter<"LlmApiKeys"> | string } export type OrganizationMembershipWhereInput = { AND?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[] OR?: OrganizationMembershipWhereInput[] NOT?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[] id?: StringFilter<"OrganizationMembership"> | string orgId?: StringFilter<"OrganizationMembership"> | string userId?: StringFilter<"OrganizationMembership"> | string role?: EnumRoleFilter<"OrganizationMembership"> | $Enums.Role createdAt?: DateTimeFilter<"OrganizationMembership"> | Date | string updatedAt?: DateTimeFilter<"OrganizationMembership"> | Date | string organization?: XOR user?: XOR ProjectMemberships?: ProjectMembershipListRelationFilter } export type OrganizationMembershipOrderByWithRelationInput = { id?: SortOrder orgId?: SortOrder userId?: SortOrder role?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder organization?: OrganizationOrderByWithRelationInput user?: UserOrderByWithRelationInput ProjectMemberships?: ProjectMembershipOrderByRelationAggregateInput } export type OrganizationMembershipWhereUniqueInput = Prisma.AtLeast<{ id?: string orgId_userId?: OrganizationMembershipOrgIdUserIdCompoundUniqueInput AND?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[] OR?: OrganizationMembershipWhereInput[] NOT?: OrganizationMembershipWhereInput | OrganizationMembershipWhereInput[] orgId?: StringFilter<"OrganizationMembership"> | string userId?: StringFilter<"OrganizationMembership"> | string role?: EnumRoleFilter<"OrganizationMembership"> | $Enums.Role createdAt?: DateTimeFilter<"OrganizationMembership"> | Date | string updatedAt?: DateTimeFilter<"OrganizationMembership"> | Date | string organization?: XOR user?: XOR ProjectMemberships?: ProjectMembershipListRelationFilter }, "id" | "orgId_userId"> export type OrganizationMembershipOrderByWithAggregationInput = { id?: SortOrder orgId?: SortOrder userId?: SortOrder role?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: OrganizationMembershipCountOrderByAggregateInput _max?: OrganizationMembershipMaxOrderByAggregateInput _min?: OrganizationMembershipMinOrderByAggregateInput } export type OrganizationMembershipScalarWhereWithAggregatesInput = { AND?: OrganizationMembershipScalarWhereWithAggregatesInput | OrganizationMembershipScalarWhereWithAggregatesInput[] OR?: OrganizationMembershipScalarWhereWithAggregatesInput[] NOT?: OrganizationMembershipScalarWhereWithAggregatesInput | OrganizationMembershipScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"OrganizationMembership"> | string orgId?: StringWithAggregatesFilter<"OrganizationMembership"> | string userId?: StringWithAggregatesFilter<"OrganizationMembership"> | string role?: EnumRoleWithAggregatesFilter<"OrganizationMembership"> | $Enums.Role createdAt?: DateTimeWithAggregatesFilter<"OrganizationMembership"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"OrganizationMembership"> | Date | string } export type ProjectMembershipWhereInput = { AND?: ProjectMembershipWhereInput | ProjectMembershipWhereInput[] OR?: ProjectMembershipWhereInput[] NOT?: ProjectMembershipWhereInput | ProjectMembershipWhereInput[] orgMembershipId?: StringFilter<"ProjectMembership"> | string projectId?: StringFilter<"ProjectMembership"> | string userId?: StringFilter<"ProjectMembership"> | string role?: EnumRoleFilter<"ProjectMembership"> | $Enums.Role createdAt?: DateTimeFilter<"ProjectMembership"> | Date | string updatedAt?: DateTimeFilter<"ProjectMembership"> | Date | string organizationMembership?: XOR project?: XOR user?: XOR } export type ProjectMembershipOrderByWithRelationInput = { orgMembershipId?: SortOrder projectId?: SortOrder userId?: SortOrder role?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder organizationMembership?: OrganizationMembershipOrderByWithRelationInput project?: ProjectOrderByWithRelationInput user?: UserOrderByWithRelationInput } export type ProjectMembershipWhereUniqueInput = Prisma.AtLeast<{ projectId_userId?: ProjectMembershipProjectIdUserIdCompoundUniqueInput AND?: ProjectMembershipWhereInput | ProjectMembershipWhereInput[] OR?: ProjectMembershipWhereInput[] NOT?: ProjectMembershipWhereInput | ProjectMembershipWhereInput[] orgMembershipId?: StringFilter<"ProjectMembership"> | string projectId?: StringFilter<"ProjectMembership"> | string userId?: StringFilter<"ProjectMembership"> | string role?: EnumRoleFilter<"ProjectMembership"> | $Enums.Role createdAt?: DateTimeFilter<"ProjectMembership"> | Date | string updatedAt?: DateTimeFilter<"ProjectMembership"> | Date | string organizationMembership?: XOR project?: XOR user?: XOR }, "projectId_userId"> export type ProjectMembershipOrderByWithAggregationInput = { orgMembershipId?: SortOrder projectId?: SortOrder userId?: SortOrder role?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: ProjectMembershipCountOrderByAggregateInput _max?: ProjectMembershipMaxOrderByAggregateInput _min?: ProjectMembershipMinOrderByAggregateInput } export type ProjectMembershipScalarWhereWithAggregatesInput = { AND?: ProjectMembershipScalarWhereWithAggregatesInput | ProjectMembershipScalarWhereWithAggregatesInput[] OR?: ProjectMembershipScalarWhereWithAggregatesInput[] NOT?: ProjectMembershipScalarWhereWithAggregatesInput | ProjectMembershipScalarWhereWithAggregatesInput[] orgMembershipId?: StringWithAggregatesFilter<"ProjectMembership"> | string projectId?: StringWithAggregatesFilter<"ProjectMembership"> | string userId?: StringWithAggregatesFilter<"ProjectMembership"> | string role?: EnumRoleWithAggregatesFilter<"ProjectMembership"> | $Enums.Role createdAt?: DateTimeWithAggregatesFilter<"ProjectMembership"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"ProjectMembership"> | Date | string } export type MembershipInvitationWhereInput = { AND?: MembershipInvitationWhereInput | MembershipInvitationWhereInput[] OR?: MembershipInvitationWhereInput[] NOT?: MembershipInvitationWhereInput | MembershipInvitationWhereInput[] id?: StringFilter<"MembershipInvitation"> | string email?: StringFilter<"MembershipInvitation"> | string orgId?: StringFilter<"MembershipInvitation"> | string orgRole?: EnumRoleFilter<"MembershipInvitation"> | $Enums.Role projectId?: StringNullableFilter<"MembershipInvitation"> | string | null projectRole?: EnumRoleNullableFilter<"MembershipInvitation"> | $Enums.Role | null invitedByUserId?: StringNullableFilter<"MembershipInvitation"> | string | null createdAt?: DateTimeFilter<"MembershipInvitation"> | Date | string updatedAt?: DateTimeFilter<"MembershipInvitation"> | Date | string organization?: XOR project?: XOR | null invitedByUser?: XOR | null } export type MembershipInvitationOrderByWithRelationInput = { id?: SortOrder email?: SortOrder orgId?: SortOrder orgRole?: SortOrder projectId?: SortOrderInput | SortOrder projectRole?: SortOrderInput | SortOrder invitedByUserId?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder organization?: OrganizationOrderByWithRelationInput project?: ProjectOrderByWithRelationInput invitedByUser?: UserOrderByWithRelationInput } export type MembershipInvitationWhereUniqueInput = Prisma.AtLeast<{ id?: string email_orgId?: MembershipInvitationEmailOrgIdCompoundUniqueInput AND?: MembershipInvitationWhereInput | MembershipInvitationWhereInput[] OR?: MembershipInvitationWhereInput[] NOT?: MembershipInvitationWhereInput | MembershipInvitationWhereInput[] email?: StringFilter<"MembershipInvitation"> | string orgId?: StringFilter<"MembershipInvitation"> | string orgRole?: EnumRoleFilter<"MembershipInvitation"> | $Enums.Role projectId?: StringNullableFilter<"MembershipInvitation"> | string | null projectRole?: EnumRoleNullableFilter<"MembershipInvitation"> | $Enums.Role | null invitedByUserId?: StringNullableFilter<"MembershipInvitation"> | string | null createdAt?: DateTimeFilter<"MembershipInvitation"> | Date | string updatedAt?: DateTimeFilter<"MembershipInvitation"> | Date | string organization?: XOR project?: XOR | null invitedByUser?: XOR | null }, "id" | "id" | "email_orgId"> export type MembershipInvitationOrderByWithAggregationInput = { id?: SortOrder email?: SortOrder orgId?: SortOrder orgRole?: SortOrder projectId?: SortOrderInput | SortOrder projectRole?: SortOrderInput | SortOrder invitedByUserId?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: MembershipInvitationCountOrderByAggregateInput _max?: MembershipInvitationMaxOrderByAggregateInput _min?: MembershipInvitationMinOrderByAggregateInput } export type MembershipInvitationScalarWhereWithAggregatesInput = { AND?: MembershipInvitationScalarWhereWithAggregatesInput | MembershipInvitationScalarWhereWithAggregatesInput[] OR?: MembershipInvitationScalarWhereWithAggregatesInput[] NOT?: MembershipInvitationScalarWhereWithAggregatesInput | MembershipInvitationScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"MembershipInvitation"> | string email?: StringWithAggregatesFilter<"MembershipInvitation"> | string orgId?: StringWithAggregatesFilter<"MembershipInvitation"> | string orgRole?: EnumRoleWithAggregatesFilter<"MembershipInvitation"> | $Enums.Role projectId?: StringNullableWithAggregatesFilter<"MembershipInvitation"> | string | null projectRole?: EnumRoleNullableWithAggregatesFilter<"MembershipInvitation"> | $Enums.Role | null invitedByUserId?: StringNullableWithAggregatesFilter<"MembershipInvitation"> | string | null createdAt?: DateTimeWithAggregatesFilter<"MembershipInvitation"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"MembershipInvitation"> | Date | string } export type TraceSessionWhereInput = { AND?: TraceSessionWhereInput | TraceSessionWhereInput[] OR?: TraceSessionWhereInput[] NOT?: TraceSessionWhereInput | TraceSessionWhereInput[] id?: StringFilter<"TraceSession"> | string createdAt?: DateTimeFilter<"TraceSession"> | Date | string updatedAt?: DateTimeFilter<"TraceSession"> | Date | string projectId?: StringFilter<"TraceSession"> | string bookmarked?: BoolFilter<"TraceSession"> | boolean public?: BoolFilter<"TraceSession"> | boolean environment?: StringFilter<"TraceSession"> | string project?: XOR } export type TraceSessionOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder bookmarked?: SortOrder public?: SortOrder environment?: SortOrder project?: ProjectOrderByWithRelationInput } export type TraceSessionWhereUniqueInput = Prisma.AtLeast<{ id_projectId?: TraceSessionIdProjectIdCompoundUniqueInput AND?: TraceSessionWhereInput | TraceSessionWhereInput[] OR?: TraceSessionWhereInput[] NOT?: TraceSessionWhereInput | TraceSessionWhereInput[] id?: StringFilter<"TraceSession"> | string createdAt?: DateTimeFilter<"TraceSession"> | Date | string updatedAt?: DateTimeFilter<"TraceSession"> | Date | string projectId?: StringFilter<"TraceSession"> | string bookmarked?: BoolFilter<"TraceSession"> | boolean public?: BoolFilter<"TraceSession"> | boolean environment?: StringFilter<"TraceSession"> | string project?: XOR }, "id_projectId"> export type TraceSessionOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder bookmarked?: SortOrder public?: SortOrder environment?: SortOrder _count?: TraceSessionCountOrderByAggregateInput _max?: TraceSessionMaxOrderByAggregateInput _min?: TraceSessionMinOrderByAggregateInput } export type TraceSessionScalarWhereWithAggregatesInput = { AND?: TraceSessionScalarWhereWithAggregatesInput | TraceSessionScalarWhereWithAggregatesInput[] OR?: TraceSessionScalarWhereWithAggregatesInput[] NOT?: TraceSessionScalarWhereWithAggregatesInput | TraceSessionScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"TraceSession"> | string createdAt?: DateTimeWithAggregatesFilter<"TraceSession"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"TraceSession"> | Date | string projectId?: StringWithAggregatesFilter<"TraceSession"> | string bookmarked?: BoolWithAggregatesFilter<"TraceSession"> | boolean public?: BoolWithAggregatesFilter<"TraceSession"> | boolean environment?: StringWithAggregatesFilter<"TraceSession"> | string } export type LegacyPrismaTraceWhereInput = { AND?: LegacyPrismaTraceWhereInput | LegacyPrismaTraceWhereInput[] OR?: LegacyPrismaTraceWhereInput[] NOT?: LegacyPrismaTraceWhereInput | LegacyPrismaTraceWhereInput[] id?: StringFilter<"LegacyPrismaTrace"> | string externalId?: StringNullableFilter<"LegacyPrismaTrace"> | string | null timestamp?: DateTimeFilter<"LegacyPrismaTrace"> | Date | string name?: StringNullableFilter<"LegacyPrismaTrace"> | string | null userId?: StringNullableFilter<"LegacyPrismaTrace"> | string | null metadata?: JsonNullableFilter<"LegacyPrismaTrace"> release?: StringNullableFilter<"LegacyPrismaTrace"> | string | null version?: StringNullableFilter<"LegacyPrismaTrace"> | string | null projectId?: StringFilter<"LegacyPrismaTrace"> | string public?: BoolFilter<"LegacyPrismaTrace"> | boolean bookmarked?: BoolFilter<"LegacyPrismaTrace"> | boolean tags?: StringNullableListFilter<"LegacyPrismaTrace"> input?: JsonNullableFilter<"LegacyPrismaTrace"> output?: JsonNullableFilter<"LegacyPrismaTrace"> sessionId?: StringNullableFilter<"LegacyPrismaTrace"> | string | null createdAt?: DateTimeFilter<"LegacyPrismaTrace"> | Date | string updatedAt?: DateTimeFilter<"LegacyPrismaTrace"> | Date | string project?: XOR } export type LegacyPrismaTraceOrderByWithRelationInput = { id?: SortOrder externalId?: SortOrderInput | SortOrder timestamp?: SortOrder name?: SortOrderInput | SortOrder userId?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder release?: SortOrderInput | SortOrder version?: SortOrderInput | SortOrder projectId?: SortOrder public?: SortOrder bookmarked?: SortOrder tags?: SortOrder input?: SortOrderInput | SortOrder output?: SortOrderInput | SortOrder sessionId?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder project?: ProjectOrderByWithRelationInput } export type LegacyPrismaTraceWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: LegacyPrismaTraceWhereInput | LegacyPrismaTraceWhereInput[] OR?: LegacyPrismaTraceWhereInput[] NOT?: LegacyPrismaTraceWhereInput | LegacyPrismaTraceWhereInput[] externalId?: StringNullableFilter<"LegacyPrismaTrace"> | string | null timestamp?: DateTimeFilter<"LegacyPrismaTrace"> | Date | string name?: StringNullableFilter<"LegacyPrismaTrace"> | string | null userId?: StringNullableFilter<"LegacyPrismaTrace"> | string | null metadata?: JsonNullableFilter<"LegacyPrismaTrace"> release?: StringNullableFilter<"LegacyPrismaTrace"> | string | null version?: StringNullableFilter<"LegacyPrismaTrace"> | string | null projectId?: StringFilter<"LegacyPrismaTrace"> | string public?: BoolFilter<"LegacyPrismaTrace"> | boolean bookmarked?: BoolFilter<"LegacyPrismaTrace"> | boolean tags?: StringNullableListFilter<"LegacyPrismaTrace"> input?: JsonNullableFilter<"LegacyPrismaTrace"> output?: JsonNullableFilter<"LegacyPrismaTrace"> sessionId?: StringNullableFilter<"LegacyPrismaTrace"> | string | null createdAt?: DateTimeFilter<"LegacyPrismaTrace"> | Date | string updatedAt?: DateTimeFilter<"LegacyPrismaTrace"> | Date | string project?: XOR }, "id"> export type LegacyPrismaTraceOrderByWithAggregationInput = { id?: SortOrder externalId?: SortOrderInput | SortOrder timestamp?: SortOrder name?: SortOrderInput | SortOrder userId?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder release?: SortOrderInput | SortOrder version?: SortOrderInput | SortOrder projectId?: SortOrder public?: SortOrder bookmarked?: SortOrder tags?: SortOrder input?: SortOrderInput | SortOrder output?: SortOrderInput | SortOrder sessionId?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: LegacyPrismaTraceCountOrderByAggregateInput _max?: LegacyPrismaTraceMaxOrderByAggregateInput _min?: LegacyPrismaTraceMinOrderByAggregateInput } export type LegacyPrismaTraceScalarWhereWithAggregatesInput = { AND?: LegacyPrismaTraceScalarWhereWithAggregatesInput | LegacyPrismaTraceScalarWhereWithAggregatesInput[] OR?: LegacyPrismaTraceScalarWhereWithAggregatesInput[] NOT?: LegacyPrismaTraceScalarWhereWithAggregatesInput | LegacyPrismaTraceScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"LegacyPrismaTrace"> | string externalId?: StringNullableWithAggregatesFilter<"LegacyPrismaTrace"> | string | null timestamp?: DateTimeWithAggregatesFilter<"LegacyPrismaTrace"> | Date | string name?: StringNullableWithAggregatesFilter<"LegacyPrismaTrace"> | string | null userId?: StringNullableWithAggregatesFilter<"LegacyPrismaTrace"> | string | null metadata?: JsonNullableWithAggregatesFilter<"LegacyPrismaTrace"> release?: StringNullableWithAggregatesFilter<"LegacyPrismaTrace"> | string | null version?: StringNullableWithAggregatesFilter<"LegacyPrismaTrace"> | string | null projectId?: StringWithAggregatesFilter<"LegacyPrismaTrace"> | string public?: BoolWithAggregatesFilter<"LegacyPrismaTrace"> | boolean bookmarked?: BoolWithAggregatesFilter<"LegacyPrismaTrace"> | boolean tags?: StringNullableListFilter<"LegacyPrismaTrace"> input?: JsonNullableWithAggregatesFilter<"LegacyPrismaTrace"> output?: JsonNullableWithAggregatesFilter<"LegacyPrismaTrace"> sessionId?: StringNullableWithAggregatesFilter<"LegacyPrismaTrace"> | string | null createdAt?: DateTimeWithAggregatesFilter<"LegacyPrismaTrace"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"LegacyPrismaTrace"> | Date | string } export type LegacyPrismaObservationWhereInput = { AND?: LegacyPrismaObservationWhereInput | LegacyPrismaObservationWhereInput[] OR?: LegacyPrismaObservationWhereInput[] NOT?: LegacyPrismaObservationWhereInput | LegacyPrismaObservationWhereInput[] id?: StringFilter<"LegacyPrismaObservation"> | string traceId?: StringNullableFilter<"LegacyPrismaObservation"> | string | null projectId?: StringFilter<"LegacyPrismaObservation"> | string type?: EnumLegacyPrismaObservationTypeFilter<"LegacyPrismaObservation"> | $Enums.LegacyPrismaObservationType startTime?: DateTimeFilter<"LegacyPrismaObservation"> | Date | string endTime?: DateTimeNullableFilter<"LegacyPrismaObservation"> | Date | string | null name?: StringNullableFilter<"LegacyPrismaObservation"> | string | null metadata?: JsonNullableFilter<"LegacyPrismaObservation"> parentObservationId?: StringNullableFilter<"LegacyPrismaObservation"> | string | null level?: EnumLegacyPrismaObservationLevelFilter<"LegacyPrismaObservation"> | $Enums.LegacyPrismaObservationLevel statusMessage?: StringNullableFilter<"LegacyPrismaObservation"> | string | null version?: StringNullableFilter<"LegacyPrismaObservation"> | string | null createdAt?: DateTimeFilter<"LegacyPrismaObservation"> | Date | string updatedAt?: DateTimeFilter<"LegacyPrismaObservation"> | Date | string model?: StringNullableFilter<"LegacyPrismaObservation"> | string | null internalModel?: StringNullableFilter<"LegacyPrismaObservation"> | string | null internalModelId?: StringNullableFilter<"LegacyPrismaObservation"> | string | null modelParameters?: JsonNullableFilter<"LegacyPrismaObservation"> input?: JsonNullableFilter<"LegacyPrismaObservation"> output?: JsonNullableFilter<"LegacyPrismaObservation"> promptTokens?: IntFilter<"LegacyPrismaObservation"> | number completionTokens?: IntFilter<"LegacyPrismaObservation"> | number totalTokens?: IntFilter<"LegacyPrismaObservation"> | number unit?: StringNullableFilter<"LegacyPrismaObservation"> | string | null inputCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null outputCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null totalCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null calculatedInputCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null completionStartTime?: DateTimeNullableFilter<"LegacyPrismaObservation"> | Date | string | null promptId?: StringNullableFilter<"LegacyPrismaObservation"> | string | null project?: XOR } export type LegacyPrismaObservationOrderByWithRelationInput = { id?: SortOrder traceId?: SortOrderInput | SortOrder projectId?: SortOrder type?: SortOrder startTime?: SortOrder endTime?: SortOrderInput | SortOrder name?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder parentObservationId?: SortOrderInput | SortOrder level?: SortOrder statusMessage?: SortOrderInput | SortOrder version?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder model?: SortOrderInput | SortOrder internalModel?: SortOrderInput | SortOrder internalModelId?: SortOrderInput | SortOrder modelParameters?: SortOrderInput | SortOrder input?: SortOrderInput | SortOrder output?: SortOrderInput | SortOrder promptTokens?: SortOrder completionTokens?: SortOrder totalTokens?: SortOrder unit?: SortOrderInput | SortOrder inputCost?: SortOrderInput | SortOrder outputCost?: SortOrderInput | SortOrder totalCost?: SortOrderInput | SortOrder calculatedInputCost?: SortOrderInput | SortOrder calculatedOutputCost?: SortOrderInput | SortOrder calculatedTotalCost?: SortOrderInput | SortOrder completionStartTime?: SortOrderInput | SortOrder promptId?: SortOrderInput | SortOrder project?: ProjectOrderByWithRelationInput } export type LegacyPrismaObservationWhereUniqueInput = Prisma.AtLeast<{ id?: string id_projectId?: LegacyPrismaObservationIdProjectIdCompoundUniqueInput AND?: LegacyPrismaObservationWhereInput | LegacyPrismaObservationWhereInput[] OR?: LegacyPrismaObservationWhereInput[] NOT?: LegacyPrismaObservationWhereInput | LegacyPrismaObservationWhereInput[] traceId?: StringNullableFilter<"LegacyPrismaObservation"> | string | null projectId?: StringFilter<"LegacyPrismaObservation"> | string type?: EnumLegacyPrismaObservationTypeFilter<"LegacyPrismaObservation"> | $Enums.LegacyPrismaObservationType startTime?: DateTimeFilter<"LegacyPrismaObservation"> | Date | string endTime?: DateTimeNullableFilter<"LegacyPrismaObservation"> | Date | string | null name?: StringNullableFilter<"LegacyPrismaObservation"> | string | null metadata?: JsonNullableFilter<"LegacyPrismaObservation"> parentObservationId?: StringNullableFilter<"LegacyPrismaObservation"> | string | null level?: EnumLegacyPrismaObservationLevelFilter<"LegacyPrismaObservation"> | $Enums.LegacyPrismaObservationLevel statusMessage?: StringNullableFilter<"LegacyPrismaObservation"> | string | null version?: StringNullableFilter<"LegacyPrismaObservation"> | string | null createdAt?: DateTimeFilter<"LegacyPrismaObservation"> | Date | string updatedAt?: DateTimeFilter<"LegacyPrismaObservation"> | Date | string model?: StringNullableFilter<"LegacyPrismaObservation"> | string | null internalModel?: StringNullableFilter<"LegacyPrismaObservation"> | string | null internalModelId?: StringNullableFilter<"LegacyPrismaObservation"> | string | null modelParameters?: JsonNullableFilter<"LegacyPrismaObservation"> input?: JsonNullableFilter<"LegacyPrismaObservation"> output?: JsonNullableFilter<"LegacyPrismaObservation"> promptTokens?: IntFilter<"LegacyPrismaObservation"> | number completionTokens?: IntFilter<"LegacyPrismaObservation"> | number totalTokens?: IntFilter<"LegacyPrismaObservation"> | number unit?: StringNullableFilter<"LegacyPrismaObservation"> | string | null inputCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null outputCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null totalCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null calculatedInputCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null completionStartTime?: DateTimeNullableFilter<"LegacyPrismaObservation"> | Date | string | null promptId?: StringNullableFilter<"LegacyPrismaObservation"> | string | null project?: XOR }, "id" | "id_projectId"> export type LegacyPrismaObservationOrderByWithAggregationInput = { id?: SortOrder traceId?: SortOrderInput | SortOrder projectId?: SortOrder type?: SortOrder startTime?: SortOrder endTime?: SortOrderInput | SortOrder name?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder parentObservationId?: SortOrderInput | SortOrder level?: SortOrder statusMessage?: SortOrderInput | SortOrder version?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder model?: SortOrderInput | SortOrder internalModel?: SortOrderInput | SortOrder internalModelId?: SortOrderInput | SortOrder modelParameters?: SortOrderInput | SortOrder input?: SortOrderInput | SortOrder output?: SortOrderInput | SortOrder promptTokens?: SortOrder completionTokens?: SortOrder totalTokens?: SortOrder unit?: SortOrderInput | SortOrder inputCost?: SortOrderInput | SortOrder outputCost?: SortOrderInput | SortOrder totalCost?: SortOrderInput | SortOrder calculatedInputCost?: SortOrderInput | SortOrder calculatedOutputCost?: SortOrderInput | SortOrder calculatedTotalCost?: SortOrderInput | SortOrder completionStartTime?: SortOrderInput | SortOrder promptId?: SortOrderInput | SortOrder _count?: LegacyPrismaObservationCountOrderByAggregateInput _avg?: LegacyPrismaObservationAvgOrderByAggregateInput _max?: LegacyPrismaObservationMaxOrderByAggregateInput _min?: LegacyPrismaObservationMinOrderByAggregateInput _sum?: LegacyPrismaObservationSumOrderByAggregateInput } export type LegacyPrismaObservationScalarWhereWithAggregatesInput = { AND?: LegacyPrismaObservationScalarWhereWithAggregatesInput | LegacyPrismaObservationScalarWhereWithAggregatesInput[] OR?: LegacyPrismaObservationScalarWhereWithAggregatesInput[] NOT?: LegacyPrismaObservationScalarWhereWithAggregatesInput | LegacyPrismaObservationScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"LegacyPrismaObservation"> | string traceId?: StringNullableWithAggregatesFilter<"LegacyPrismaObservation"> | string | null projectId?: StringWithAggregatesFilter<"LegacyPrismaObservation"> | string type?: EnumLegacyPrismaObservationTypeWithAggregatesFilter<"LegacyPrismaObservation"> | $Enums.LegacyPrismaObservationType startTime?: DateTimeWithAggregatesFilter<"LegacyPrismaObservation"> | Date | string endTime?: DateTimeNullableWithAggregatesFilter<"LegacyPrismaObservation"> | Date | string | null name?: StringNullableWithAggregatesFilter<"LegacyPrismaObservation"> | string | null metadata?: JsonNullableWithAggregatesFilter<"LegacyPrismaObservation"> parentObservationId?: StringNullableWithAggregatesFilter<"LegacyPrismaObservation"> | string | null level?: EnumLegacyPrismaObservationLevelWithAggregatesFilter<"LegacyPrismaObservation"> | $Enums.LegacyPrismaObservationLevel statusMessage?: StringNullableWithAggregatesFilter<"LegacyPrismaObservation"> | string | null version?: StringNullableWithAggregatesFilter<"LegacyPrismaObservation"> | string | null createdAt?: DateTimeWithAggregatesFilter<"LegacyPrismaObservation"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"LegacyPrismaObservation"> | Date | string model?: StringNullableWithAggregatesFilter<"LegacyPrismaObservation"> | string | null internalModel?: StringNullableWithAggregatesFilter<"LegacyPrismaObservation"> | string | null internalModelId?: StringNullableWithAggregatesFilter<"LegacyPrismaObservation"> | string | null modelParameters?: JsonNullableWithAggregatesFilter<"LegacyPrismaObservation"> input?: JsonNullableWithAggregatesFilter<"LegacyPrismaObservation"> output?: JsonNullableWithAggregatesFilter<"LegacyPrismaObservation"> promptTokens?: IntWithAggregatesFilter<"LegacyPrismaObservation"> | number completionTokens?: IntWithAggregatesFilter<"LegacyPrismaObservation"> | number totalTokens?: IntWithAggregatesFilter<"LegacyPrismaObservation"> | number unit?: StringNullableWithAggregatesFilter<"LegacyPrismaObservation"> | string | null inputCost?: DecimalNullableWithAggregatesFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null outputCost?: DecimalNullableWithAggregatesFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null totalCost?: DecimalNullableWithAggregatesFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null calculatedInputCost?: DecimalNullableWithAggregatesFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: DecimalNullableWithAggregatesFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: DecimalNullableWithAggregatesFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null completionStartTime?: DateTimeNullableWithAggregatesFilter<"LegacyPrismaObservation"> | Date | string | null promptId?: StringNullableWithAggregatesFilter<"LegacyPrismaObservation"> | string | null } export type LegacyPrismaScoreWhereInput = { AND?: LegacyPrismaScoreWhereInput | LegacyPrismaScoreWhereInput[] OR?: LegacyPrismaScoreWhereInput[] NOT?: LegacyPrismaScoreWhereInput | LegacyPrismaScoreWhereInput[] id?: StringFilter<"LegacyPrismaScore"> | string timestamp?: DateTimeFilter<"LegacyPrismaScore"> | Date | string projectId?: StringFilter<"LegacyPrismaScore"> | string name?: StringFilter<"LegacyPrismaScore"> | string value?: FloatNullableFilter<"LegacyPrismaScore"> | number | null source?: EnumLegacyPrismaScoreSourceFilter<"LegacyPrismaScore"> | $Enums.LegacyPrismaScoreSource authorUserId?: StringNullableFilter<"LegacyPrismaScore"> | string | null comment?: StringNullableFilter<"LegacyPrismaScore"> | string | null traceId?: StringFilter<"LegacyPrismaScore"> | string observationId?: StringNullableFilter<"LegacyPrismaScore"> | string | null configId?: StringNullableFilter<"LegacyPrismaScore"> | string | null stringValue?: StringNullableFilter<"LegacyPrismaScore"> | string | null queueId?: StringNullableFilter<"LegacyPrismaScore"> | string | null createdAt?: DateTimeFilter<"LegacyPrismaScore"> | Date | string updatedAt?: DateTimeFilter<"LegacyPrismaScore"> | Date | string dataType?: EnumScoreDataTypeFilter<"LegacyPrismaScore"> | $Enums.ScoreDataType project?: XOR scoreConfig?: XOR | null } export type LegacyPrismaScoreOrderByWithRelationInput = { id?: SortOrder timestamp?: SortOrder projectId?: SortOrder name?: SortOrder value?: SortOrderInput | SortOrder source?: SortOrder authorUserId?: SortOrderInput | SortOrder comment?: SortOrderInput | SortOrder traceId?: SortOrder observationId?: SortOrderInput | SortOrder configId?: SortOrderInput | SortOrder stringValue?: SortOrderInput | SortOrder queueId?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder dataType?: SortOrder project?: ProjectOrderByWithRelationInput scoreConfig?: ScoreConfigOrderByWithRelationInput } export type LegacyPrismaScoreWhereUniqueInput = Prisma.AtLeast<{ id?: string id_projectId?: LegacyPrismaScoreIdProjectIdCompoundUniqueInput AND?: LegacyPrismaScoreWhereInput | LegacyPrismaScoreWhereInput[] OR?: LegacyPrismaScoreWhereInput[] NOT?: LegacyPrismaScoreWhereInput | LegacyPrismaScoreWhereInput[] timestamp?: DateTimeFilter<"LegacyPrismaScore"> | Date | string projectId?: StringFilter<"LegacyPrismaScore"> | string name?: StringFilter<"LegacyPrismaScore"> | string value?: FloatNullableFilter<"LegacyPrismaScore"> | number | null source?: EnumLegacyPrismaScoreSourceFilter<"LegacyPrismaScore"> | $Enums.LegacyPrismaScoreSource authorUserId?: StringNullableFilter<"LegacyPrismaScore"> | string | null comment?: StringNullableFilter<"LegacyPrismaScore"> | string | null traceId?: StringFilter<"LegacyPrismaScore"> | string observationId?: StringNullableFilter<"LegacyPrismaScore"> | string | null configId?: StringNullableFilter<"LegacyPrismaScore"> | string | null stringValue?: StringNullableFilter<"LegacyPrismaScore"> | string | null queueId?: StringNullableFilter<"LegacyPrismaScore"> | string | null createdAt?: DateTimeFilter<"LegacyPrismaScore"> | Date | string updatedAt?: DateTimeFilter<"LegacyPrismaScore"> | Date | string dataType?: EnumScoreDataTypeFilter<"LegacyPrismaScore"> | $Enums.ScoreDataType project?: XOR scoreConfig?: XOR | null }, "id" | "id_projectId"> export type LegacyPrismaScoreOrderByWithAggregationInput = { id?: SortOrder timestamp?: SortOrder projectId?: SortOrder name?: SortOrder value?: SortOrderInput | SortOrder source?: SortOrder authorUserId?: SortOrderInput | SortOrder comment?: SortOrderInput | SortOrder traceId?: SortOrder observationId?: SortOrderInput | SortOrder configId?: SortOrderInput | SortOrder stringValue?: SortOrderInput | SortOrder queueId?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder dataType?: SortOrder _count?: LegacyPrismaScoreCountOrderByAggregateInput _avg?: LegacyPrismaScoreAvgOrderByAggregateInput _max?: LegacyPrismaScoreMaxOrderByAggregateInput _min?: LegacyPrismaScoreMinOrderByAggregateInput _sum?: LegacyPrismaScoreSumOrderByAggregateInput } export type LegacyPrismaScoreScalarWhereWithAggregatesInput = { AND?: LegacyPrismaScoreScalarWhereWithAggregatesInput | LegacyPrismaScoreScalarWhereWithAggregatesInput[] OR?: LegacyPrismaScoreScalarWhereWithAggregatesInput[] NOT?: LegacyPrismaScoreScalarWhereWithAggregatesInput | LegacyPrismaScoreScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"LegacyPrismaScore"> | string timestamp?: DateTimeWithAggregatesFilter<"LegacyPrismaScore"> | Date | string projectId?: StringWithAggregatesFilter<"LegacyPrismaScore"> | string name?: StringWithAggregatesFilter<"LegacyPrismaScore"> | string value?: FloatNullableWithAggregatesFilter<"LegacyPrismaScore"> | number | null source?: EnumLegacyPrismaScoreSourceWithAggregatesFilter<"LegacyPrismaScore"> | $Enums.LegacyPrismaScoreSource authorUserId?: StringNullableWithAggregatesFilter<"LegacyPrismaScore"> | string | null comment?: StringNullableWithAggregatesFilter<"LegacyPrismaScore"> | string | null traceId?: StringWithAggregatesFilter<"LegacyPrismaScore"> | string observationId?: StringNullableWithAggregatesFilter<"LegacyPrismaScore"> | string | null configId?: StringNullableWithAggregatesFilter<"LegacyPrismaScore"> | string | null stringValue?: StringNullableWithAggregatesFilter<"LegacyPrismaScore"> | string | null queueId?: StringNullableWithAggregatesFilter<"LegacyPrismaScore"> | string | null createdAt?: DateTimeWithAggregatesFilter<"LegacyPrismaScore"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"LegacyPrismaScore"> | Date | string dataType?: EnumScoreDataTypeWithAggregatesFilter<"LegacyPrismaScore"> | $Enums.ScoreDataType } export type ScoreConfigWhereInput = { AND?: ScoreConfigWhereInput | ScoreConfigWhereInput[] OR?: ScoreConfigWhereInput[] NOT?: ScoreConfigWhereInput | ScoreConfigWhereInput[] id?: StringFilter<"ScoreConfig"> | string createdAt?: DateTimeFilter<"ScoreConfig"> | Date | string updatedAt?: DateTimeFilter<"ScoreConfig"> | Date | string projectId?: StringFilter<"ScoreConfig"> | string name?: StringFilter<"ScoreConfig"> | string dataType?: EnumScoreDataTypeFilter<"ScoreConfig"> | $Enums.ScoreDataType isArchived?: BoolFilter<"ScoreConfig"> | boolean minValue?: FloatNullableFilter<"ScoreConfig"> | number | null maxValue?: FloatNullableFilter<"ScoreConfig"> | number | null categories?: JsonNullableFilter<"ScoreConfig"> description?: StringNullableFilter<"ScoreConfig"> | string | null project?: XOR legacyScore?: LegacyPrismaScoreListRelationFilter } export type ScoreConfigOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder dataType?: SortOrder isArchived?: SortOrder minValue?: SortOrderInput | SortOrder maxValue?: SortOrderInput | SortOrder categories?: SortOrderInput | SortOrder description?: SortOrderInput | SortOrder project?: ProjectOrderByWithRelationInput legacyScore?: LegacyPrismaScoreOrderByRelationAggregateInput } export type ScoreConfigWhereUniqueInput = Prisma.AtLeast<{ id?: string id_projectId?: ScoreConfigIdProjectIdCompoundUniqueInput AND?: ScoreConfigWhereInput | ScoreConfigWhereInput[] OR?: ScoreConfigWhereInput[] NOT?: ScoreConfigWhereInput | ScoreConfigWhereInput[] createdAt?: DateTimeFilter<"ScoreConfig"> | Date | string updatedAt?: DateTimeFilter<"ScoreConfig"> | Date | string projectId?: StringFilter<"ScoreConfig"> | string name?: StringFilter<"ScoreConfig"> | string dataType?: EnumScoreDataTypeFilter<"ScoreConfig"> | $Enums.ScoreDataType isArchived?: BoolFilter<"ScoreConfig"> | boolean minValue?: FloatNullableFilter<"ScoreConfig"> | number | null maxValue?: FloatNullableFilter<"ScoreConfig"> | number | null categories?: JsonNullableFilter<"ScoreConfig"> description?: StringNullableFilter<"ScoreConfig"> | string | null project?: XOR legacyScore?: LegacyPrismaScoreListRelationFilter }, "id" | "id_projectId"> export type ScoreConfigOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder dataType?: SortOrder isArchived?: SortOrder minValue?: SortOrderInput | SortOrder maxValue?: SortOrderInput | SortOrder categories?: SortOrderInput | SortOrder description?: SortOrderInput | SortOrder _count?: ScoreConfigCountOrderByAggregateInput _avg?: ScoreConfigAvgOrderByAggregateInput _max?: ScoreConfigMaxOrderByAggregateInput _min?: ScoreConfigMinOrderByAggregateInput _sum?: ScoreConfigSumOrderByAggregateInput } export type ScoreConfigScalarWhereWithAggregatesInput = { AND?: ScoreConfigScalarWhereWithAggregatesInput | ScoreConfigScalarWhereWithAggregatesInput[] OR?: ScoreConfigScalarWhereWithAggregatesInput[] NOT?: ScoreConfigScalarWhereWithAggregatesInput | ScoreConfigScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"ScoreConfig"> | string createdAt?: DateTimeWithAggregatesFilter<"ScoreConfig"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"ScoreConfig"> | Date | string projectId?: StringWithAggregatesFilter<"ScoreConfig"> | string name?: StringWithAggregatesFilter<"ScoreConfig"> | string dataType?: EnumScoreDataTypeWithAggregatesFilter<"ScoreConfig"> | $Enums.ScoreDataType isArchived?: BoolWithAggregatesFilter<"ScoreConfig"> | boolean minValue?: FloatNullableWithAggregatesFilter<"ScoreConfig"> | number | null maxValue?: FloatNullableWithAggregatesFilter<"ScoreConfig"> | number | null categories?: JsonNullableWithAggregatesFilter<"ScoreConfig"> description?: StringNullableWithAggregatesFilter<"ScoreConfig"> | string | null } export type AnnotationQueueWhereInput = { AND?: AnnotationQueueWhereInput | AnnotationQueueWhereInput[] OR?: AnnotationQueueWhereInput[] NOT?: AnnotationQueueWhereInput | AnnotationQueueWhereInput[] id?: StringFilter<"AnnotationQueue"> | string name?: StringFilter<"AnnotationQueue"> | string description?: StringNullableFilter<"AnnotationQueue"> | string | null scoreConfigIds?: StringNullableListFilter<"AnnotationQueue"> projectId?: StringFilter<"AnnotationQueue"> | string createdAt?: DateTimeFilter<"AnnotationQueue"> | Date | string updatedAt?: DateTimeFilter<"AnnotationQueue"> | Date | string project?: XOR annotationQueueItem?: AnnotationQueueItemListRelationFilter annotationQueueAssignment?: AnnotationQueueAssignmentListRelationFilter } export type AnnotationQueueOrderByWithRelationInput = { id?: SortOrder name?: SortOrder description?: SortOrderInput | SortOrder scoreConfigIds?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder project?: ProjectOrderByWithRelationInput annotationQueueItem?: AnnotationQueueItemOrderByRelationAggregateInput annotationQueueAssignment?: AnnotationQueueAssignmentOrderByRelationAggregateInput } export type AnnotationQueueWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId_name?: AnnotationQueueProjectIdNameCompoundUniqueInput AND?: AnnotationQueueWhereInput | AnnotationQueueWhereInput[] OR?: AnnotationQueueWhereInput[] NOT?: AnnotationQueueWhereInput | AnnotationQueueWhereInput[] name?: StringFilter<"AnnotationQueue"> | string description?: StringNullableFilter<"AnnotationQueue"> | string | null scoreConfigIds?: StringNullableListFilter<"AnnotationQueue"> projectId?: StringFilter<"AnnotationQueue"> | string createdAt?: DateTimeFilter<"AnnotationQueue"> | Date | string updatedAt?: DateTimeFilter<"AnnotationQueue"> | Date | string project?: XOR annotationQueueItem?: AnnotationQueueItemListRelationFilter annotationQueueAssignment?: AnnotationQueueAssignmentListRelationFilter }, "id" | "projectId_name"> export type AnnotationQueueOrderByWithAggregationInput = { id?: SortOrder name?: SortOrder description?: SortOrderInput | SortOrder scoreConfigIds?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: AnnotationQueueCountOrderByAggregateInput _max?: AnnotationQueueMaxOrderByAggregateInput _min?: AnnotationQueueMinOrderByAggregateInput } export type AnnotationQueueScalarWhereWithAggregatesInput = { AND?: AnnotationQueueScalarWhereWithAggregatesInput | AnnotationQueueScalarWhereWithAggregatesInput[] OR?: AnnotationQueueScalarWhereWithAggregatesInput[] NOT?: AnnotationQueueScalarWhereWithAggregatesInput | AnnotationQueueScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"AnnotationQueue"> | string name?: StringWithAggregatesFilter<"AnnotationQueue"> | string description?: StringNullableWithAggregatesFilter<"AnnotationQueue"> | string | null scoreConfigIds?: StringNullableListFilter<"AnnotationQueue"> projectId?: StringWithAggregatesFilter<"AnnotationQueue"> | string createdAt?: DateTimeWithAggregatesFilter<"AnnotationQueue"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"AnnotationQueue"> | Date | string } export type AnnotationQueueItemWhereInput = { AND?: AnnotationQueueItemWhereInput | AnnotationQueueItemWhereInput[] OR?: AnnotationQueueItemWhereInput[] NOT?: AnnotationQueueItemWhereInput | AnnotationQueueItemWhereInput[] id?: StringFilter<"AnnotationQueueItem"> | string queueId?: StringFilter<"AnnotationQueueItem"> | string objectId?: StringFilter<"AnnotationQueueItem"> | string objectType?: EnumAnnotationQueueObjectTypeFilter<"AnnotationQueueItem"> | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFilter<"AnnotationQueueItem"> | $Enums.AnnotationQueueStatus lockedAt?: DateTimeNullableFilter<"AnnotationQueueItem"> | Date | string | null lockedByUserId?: StringNullableFilter<"AnnotationQueueItem"> | string | null annotatorUserId?: StringNullableFilter<"AnnotationQueueItem"> | string | null completedAt?: DateTimeNullableFilter<"AnnotationQueueItem"> | Date | string | null projectId?: StringFilter<"AnnotationQueueItem"> | string createdAt?: DateTimeFilter<"AnnotationQueueItem"> | Date | string updatedAt?: DateTimeFilter<"AnnotationQueueItem"> | Date | string queue?: XOR lockedByUser?: XOR | null annotatorUser?: XOR | null project?: XOR } export type AnnotationQueueItemOrderByWithRelationInput = { id?: SortOrder queueId?: SortOrder objectId?: SortOrder objectType?: SortOrder status?: SortOrder lockedAt?: SortOrderInput | SortOrder lockedByUserId?: SortOrderInput | SortOrder annotatorUserId?: SortOrderInput | SortOrder completedAt?: SortOrderInput | SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder queue?: AnnotationQueueOrderByWithRelationInput lockedByUser?: UserOrderByWithRelationInput annotatorUser?: UserOrderByWithRelationInput project?: ProjectOrderByWithRelationInput } export type AnnotationQueueItemWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: AnnotationQueueItemWhereInput | AnnotationQueueItemWhereInput[] OR?: AnnotationQueueItemWhereInput[] NOT?: AnnotationQueueItemWhereInput | AnnotationQueueItemWhereInput[] queueId?: StringFilter<"AnnotationQueueItem"> | string objectId?: StringFilter<"AnnotationQueueItem"> | string objectType?: EnumAnnotationQueueObjectTypeFilter<"AnnotationQueueItem"> | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFilter<"AnnotationQueueItem"> | $Enums.AnnotationQueueStatus lockedAt?: DateTimeNullableFilter<"AnnotationQueueItem"> | Date | string | null lockedByUserId?: StringNullableFilter<"AnnotationQueueItem"> | string | null annotatorUserId?: StringNullableFilter<"AnnotationQueueItem"> | string | null completedAt?: DateTimeNullableFilter<"AnnotationQueueItem"> | Date | string | null projectId?: StringFilter<"AnnotationQueueItem"> | string createdAt?: DateTimeFilter<"AnnotationQueueItem"> | Date | string updatedAt?: DateTimeFilter<"AnnotationQueueItem"> | Date | string queue?: XOR lockedByUser?: XOR | null annotatorUser?: XOR | null project?: XOR }, "id"> export type AnnotationQueueItemOrderByWithAggregationInput = { id?: SortOrder queueId?: SortOrder objectId?: SortOrder objectType?: SortOrder status?: SortOrder lockedAt?: SortOrderInput | SortOrder lockedByUserId?: SortOrderInput | SortOrder annotatorUserId?: SortOrderInput | SortOrder completedAt?: SortOrderInput | SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: AnnotationQueueItemCountOrderByAggregateInput _max?: AnnotationQueueItemMaxOrderByAggregateInput _min?: AnnotationQueueItemMinOrderByAggregateInput } export type AnnotationQueueItemScalarWhereWithAggregatesInput = { AND?: AnnotationQueueItemScalarWhereWithAggregatesInput | AnnotationQueueItemScalarWhereWithAggregatesInput[] OR?: AnnotationQueueItemScalarWhereWithAggregatesInput[] NOT?: AnnotationQueueItemScalarWhereWithAggregatesInput | AnnotationQueueItemScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"AnnotationQueueItem"> | string queueId?: StringWithAggregatesFilter<"AnnotationQueueItem"> | string objectId?: StringWithAggregatesFilter<"AnnotationQueueItem"> | string objectType?: EnumAnnotationQueueObjectTypeWithAggregatesFilter<"AnnotationQueueItem"> | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusWithAggregatesFilter<"AnnotationQueueItem"> | $Enums.AnnotationQueueStatus lockedAt?: DateTimeNullableWithAggregatesFilter<"AnnotationQueueItem"> | Date | string | null lockedByUserId?: StringNullableWithAggregatesFilter<"AnnotationQueueItem"> | string | null annotatorUserId?: StringNullableWithAggregatesFilter<"AnnotationQueueItem"> | string | null completedAt?: DateTimeNullableWithAggregatesFilter<"AnnotationQueueItem"> | Date | string | null projectId?: StringWithAggregatesFilter<"AnnotationQueueItem"> | string createdAt?: DateTimeWithAggregatesFilter<"AnnotationQueueItem"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"AnnotationQueueItem"> | Date | string } export type AnnotationQueueAssignmentWhereInput = { AND?: AnnotationQueueAssignmentWhereInput | AnnotationQueueAssignmentWhereInput[] OR?: AnnotationQueueAssignmentWhereInput[] NOT?: AnnotationQueueAssignmentWhereInput | AnnotationQueueAssignmentWhereInput[] id?: StringFilter<"AnnotationQueueAssignment"> | string projectId?: StringFilter<"AnnotationQueueAssignment"> | string userId?: StringFilter<"AnnotationQueueAssignment"> | string queueId?: StringFilter<"AnnotationQueueAssignment"> | string createdAt?: DateTimeFilter<"AnnotationQueueAssignment"> | Date | string updatedAt?: DateTimeFilter<"AnnotationQueueAssignment"> | Date | string project?: XOR user?: XOR queue?: XOR } export type AnnotationQueueAssignmentOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder userId?: SortOrder queueId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder project?: ProjectOrderByWithRelationInput user?: UserOrderByWithRelationInput queue?: AnnotationQueueOrderByWithRelationInput } export type AnnotationQueueAssignmentWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId_queueId_userId?: AnnotationQueueAssignmentProjectIdQueueIdUserIdCompoundUniqueInput AND?: AnnotationQueueAssignmentWhereInput | AnnotationQueueAssignmentWhereInput[] OR?: AnnotationQueueAssignmentWhereInput[] NOT?: AnnotationQueueAssignmentWhereInput | AnnotationQueueAssignmentWhereInput[] projectId?: StringFilter<"AnnotationQueueAssignment"> | string userId?: StringFilter<"AnnotationQueueAssignment"> | string queueId?: StringFilter<"AnnotationQueueAssignment"> | string createdAt?: DateTimeFilter<"AnnotationQueueAssignment"> | Date | string updatedAt?: DateTimeFilter<"AnnotationQueueAssignment"> | Date | string project?: XOR user?: XOR queue?: XOR }, "id" | "projectId_queueId_userId"> export type AnnotationQueueAssignmentOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder userId?: SortOrder queueId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: AnnotationQueueAssignmentCountOrderByAggregateInput _max?: AnnotationQueueAssignmentMaxOrderByAggregateInput _min?: AnnotationQueueAssignmentMinOrderByAggregateInput } export type AnnotationQueueAssignmentScalarWhereWithAggregatesInput = { AND?: AnnotationQueueAssignmentScalarWhereWithAggregatesInput | AnnotationQueueAssignmentScalarWhereWithAggregatesInput[] OR?: AnnotationQueueAssignmentScalarWhereWithAggregatesInput[] NOT?: AnnotationQueueAssignmentScalarWhereWithAggregatesInput | AnnotationQueueAssignmentScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"AnnotationQueueAssignment"> | string projectId?: StringWithAggregatesFilter<"AnnotationQueueAssignment"> | string userId?: StringWithAggregatesFilter<"AnnotationQueueAssignment"> | string queueId?: StringWithAggregatesFilter<"AnnotationQueueAssignment"> | string createdAt?: DateTimeWithAggregatesFilter<"AnnotationQueueAssignment"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"AnnotationQueueAssignment"> | Date | string } export type CronJobsWhereInput = { AND?: CronJobsWhereInput | CronJobsWhereInput[] OR?: CronJobsWhereInput[] NOT?: CronJobsWhereInput | CronJobsWhereInput[] name?: StringFilter<"CronJobs"> | string lastRun?: DateTimeNullableFilter<"CronJobs"> | Date | string | null jobStartedAt?: DateTimeNullableFilter<"CronJobs"> | Date | string | null state?: StringNullableFilter<"CronJobs"> | string | null } export type CronJobsOrderByWithRelationInput = { name?: SortOrder lastRun?: SortOrderInput | SortOrder jobStartedAt?: SortOrderInput | SortOrder state?: SortOrderInput | SortOrder } export type CronJobsWhereUniqueInput = Prisma.AtLeast<{ name?: string AND?: CronJobsWhereInput | CronJobsWhereInput[] OR?: CronJobsWhereInput[] NOT?: CronJobsWhereInput | CronJobsWhereInput[] lastRun?: DateTimeNullableFilter<"CronJobs"> | Date | string | null jobStartedAt?: DateTimeNullableFilter<"CronJobs"> | Date | string | null state?: StringNullableFilter<"CronJobs"> | string | null }, "name"> export type CronJobsOrderByWithAggregationInput = { name?: SortOrder lastRun?: SortOrderInput | SortOrder jobStartedAt?: SortOrderInput | SortOrder state?: SortOrderInput | SortOrder _count?: CronJobsCountOrderByAggregateInput _max?: CronJobsMaxOrderByAggregateInput _min?: CronJobsMinOrderByAggregateInput } export type CronJobsScalarWhereWithAggregatesInput = { AND?: CronJobsScalarWhereWithAggregatesInput | CronJobsScalarWhereWithAggregatesInput[] OR?: CronJobsScalarWhereWithAggregatesInput[] NOT?: CronJobsScalarWhereWithAggregatesInput | CronJobsScalarWhereWithAggregatesInput[] name?: StringWithAggregatesFilter<"CronJobs"> | string lastRun?: DateTimeNullableWithAggregatesFilter<"CronJobs"> | Date | string | null jobStartedAt?: DateTimeNullableWithAggregatesFilter<"CronJobs"> | Date | string | null state?: StringNullableWithAggregatesFilter<"CronJobs"> | string | null } export type DatasetWhereInput = { AND?: DatasetWhereInput | DatasetWhereInput[] OR?: DatasetWhereInput[] NOT?: DatasetWhereInput | DatasetWhereInput[] id?: StringFilter<"Dataset"> | string projectId?: StringFilter<"Dataset"> | string name?: StringFilter<"Dataset"> | string description?: StringNullableFilter<"Dataset"> | string | null metadata?: JsonNullableFilter<"Dataset"> remoteExperimentUrl?: StringNullableFilter<"Dataset"> | string | null remoteExperimentPayload?: JsonNullableFilter<"Dataset"> createdAt?: DateTimeFilter<"Dataset"> | Date | string updatedAt?: DateTimeFilter<"Dataset"> | Date | string project?: XOR datasetItems?: DatasetItemListRelationFilter datasetRuns?: DatasetRunsListRelationFilter } export type DatasetOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder remoteExperimentUrl?: SortOrderInput | SortOrder remoteExperimentPayload?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder project?: ProjectOrderByWithRelationInput datasetItems?: DatasetItemOrderByRelationAggregateInput datasetRuns?: DatasetRunsOrderByRelationAggregateInput } export type DatasetWhereUniqueInput = Prisma.AtLeast<{ projectId_name?: DatasetProjectIdNameCompoundUniqueInput id_projectId?: DatasetIdProjectIdCompoundUniqueInput AND?: DatasetWhereInput | DatasetWhereInput[] OR?: DatasetWhereInput[] NOT?: DatasetWhereInput | DatasetWhereInput[] id?: StringFilter<"Dataset"> | string projectId?: StringFilter<"Dataset"> | string name?: StringFilter<"Dataset"> | string description?: StringNullableFilter<"Dataset"> | string | null metadata?: JsonNullableFilter<"Dataset"> remoteExperimentUrl?: StringNullableFilter<"Dataset"> | string | null remoteExperimentPayload?: JsonNullableFilter<"Dataset"> createdAt?: DateTimeFilter<"Dataset"> | Date | string updatedAt?: DateTimeFilter<"Dataset"> | Date | string project?: XOR datasetItems?: DatasetItemListRelationFilter datasetRuns?: DatasetRunsListRelationFilter }, "id_projectId" | "projectId_name"> export type DatasetOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder remoteExperimentUrl?: SortOrderInput | SortOrder remoteExperimentPayload?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: DatasetCountOrderByAggregateInput _max?: DatasetMaxOrderByAggregateInput _min?: DatasetMinOrderByAggregateInput } export type DatasetScalarWhereWithAggregatesInput = { AND?: DatasetScalarWhereWithAggregatesInput | DatasetScalarWhereWithAggregatesInput[] OR?: DatasetScalarWhereWithAggregatesInput[] NOT?: DatasetScalarWhereWithAggregatesInput | DatasetScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Dataset"> | string projectId?: StringWithAggregatesFilter<"Dataset"> | string name?: StringWithAggregatesFilter<"Dataset"> | string description?: StringNullableWithAggregatesFilter<"Dataset"> | string | null metadata?: JsonNullableWithAggregatesFilter<"Dataset"> remoteExperimentUrl?: StringNullableWithAggregatesFilter<"Dataset"> | string | null remoteExperimentPayload?: JsonNullableWithAggregatesFilter<"Dataset"> createdAt?: DateTimeWithAggregatesFilter<"Dataset"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Dataset"> | Date | string } export type DatasetItemWhereInput = { AND?: DatasetItemWhereInput | DatasetItemWhereInput[] OR?: DatasetItemWhereInput[] NOT?: DatasetItemWhereInput | DatasetItemWhereInput[] id?: StringFilter<"DatasetItem"> | string projectId?: StringFilter<"DatasetItem"> | string status?: EnumDatasetStatusFilter<"DatasetItem"> | $Enums.DatasetStatus input?: JsonNullableFilter<"DatasetItem"> expectedOutput?: JsonNullableFilter<"DatasetItem"> metadata?: JsonNullableFilter<"DatasetItem"> sourceTraceId?: StringNullableFilter<"DatasetItem"> | string | null sourceObservationId?: StringNullableFilter<"DatasetItem"> | string | null datasetId?: StringFilter<"DatasetItem"> | string createdAt?: DateTimeFilter<"DatasetItem"> | Date | string updatedAt?: DateTimeFilter<"DatasetItem"> | Date | string dataset?: XOR datasetRunItems?: DatasetRunItemsListRelationFilter } export type DatasetItemOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder status?: SortOrder input?: SortOrderInput | SortOrder expectedOutput?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder sourceTraceId?: SortOrderInput | SortOrder sourceObservationId?: SortOrderInput | SortOrder datasetId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder dataset?: DatasetOrderByWithRelationInput datasetRunItems?: DatasetRunItemsOrderByRelationAggregateInput } export type DatasetItemWhereUniqueInput = Prisma.AtLeast<{ id_projectId?: DatasetItemIdProjectIdCompoundUniqueInput AND?: DatasetItemWhereInput | DatasetItemWhereInput[] OR?: DatasetItemWhereInput[] NOT?: DatasetItemWhereInput | DatasetItemWhereInput[] id?: StringFilter<"DatasetItem"> | string projectId?: StringFilter<"DatasetItem"> | string status?: EnumDatasetStatusFilter<"DatasetItem"> | $Enums.DatasetStatus input?: JsonNullableFilter<"DatasetItem"> expectedOutput?: JsonNullableFilter<"DatasetItem"> metadata?: JsonNullableFilter<"DatasetItem"> sourceTraceId?: StringNullableFilter<"DatasetItem"> | string | null sourceObservationId?: StringNullableFilter<"DatasetItem"> | string | null datasetId?: StringFilter<"DatasetItem"> | string createdAt?: DateTimeFilter<"DatasetItem"> | Date | string updatedAt?: DateTimeFilter<"DatasetItem"> | Date | string dataset?: XOR datasetRunItems?: DatasetRunItemsListRelationFilter }, "id_projectId"> export type DatasetItemOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder status?: SortOrder input?: SortOrderInput | SortOrder expectedOutput?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder sourceTraceId?: SortOrderInput | SortOrder sourceObservationId?: SortOrderInput | SortOrder datasetId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: DatasetItemCountOrderByAggregateInput _max?: DatasetItemMaxOrderByAggregateInput _min?: DatasetItemMinOrderByAggregateInput } export type DatasetItemScalarWhereWithAggregatesInput = { AND?: DatasetItemScalarWhereWithAggregatesInput | DatasetItemScalarWhereWithAggregatesInput[] OR?: DatasetItemScalarWhereWithAggregatesInput[] NOT?: DatasetItemScalarWhereWithAggregatesInput | DatasetItemScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"DatasetItem"> | string projectId?: StringWithAggregatesFilter<"DatasetItem"> | string status?: EnumDatasetStatusWithAggregatesFilter<"DatasetItem"> | $Enums.DatasetStatus input?: JsonNullableWithAggregatesFilter<"DatasetItem"> expectedOutput?: JsonNullableWithAggregatesFilter<"DatasetItem"> metadata?: JsonNullableWithAggregatesFilter<"DatasetItem"> sourceTraceId?: StringNullableWithAggregatesFilter<"DatasetItem"> | string | null sourceObservationId?: StringNullableWithAggregatesFilter<"DatasetItem"> | string | null datasetId?: StringWithAggregatesFilter<"DatasetItem"> | string createdAt?: DateTimeWithAggregatesFilter<"DatasetItem"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"DatasetItem"> | Date | string } export type DatasetRunsWhereInput = { AND?: DatasetRunsWhereInput | DatasetRunsWhereInput[] OR?: DatasetRunsWhereInput[] NOT?: DatasetRunsWhereInput | DatasetRunsWhereInput[] id?: StringFilter<"DatasetRuns"> | string projectId?: StringFilter<"DatasetRuns"> | string name?: StringFilter<"DatasetRuns"> | string description?: StringNullableFilter<"DatasetRuns"> | string | null metadata?: JsonNullableFilter<"DatasetRuns"> datasetId?: StringFilter<"DatasetRuns"> | string createdAt?: DateTimeFilter<"DatasetRuns"> | Date | string updatedAt?: DateTimeFilter<"DatasetRuns"> | Date | string dataset?: XOR datasetRunItems?: DatasetRunItemsListRelationFilter } export type DatasetRunsOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder datasetId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder dataset?: DatasetOrderByWithRelationInput datasetRunItems?: DatasetRunItemsOrderByRelationAggregateInput } export type DatasetRunsWhereUniqueInput = Prisma.AtLeast<{ datasetId_projectId_name?: DatasetRunsDatasetIdProjectIdNameCompoundUniqueInput id_projectId?: DatasetRunsIdProjectIdCompoundUniqueInput AND?: DatasetRunsWhereInput | DatasetRunsWhereInput[] OR?: DatasetRunsWhereInput[] NOT?: DatasetRunsWhereInput | DatasetRunsWhereInput[] id?: StringFilter<"DatasetRuns"> | string projectId?: StringFilter<"DatasetRuns"> | string name?: StringFilter<"DatasetRuns"> | string description?: StringNullableFilter<"DatasetRuns"> | string | null metadata?: JsonNullableFilter<"DatasetRuns"> datasetId?: StringFilter<"DatasetRuns"> | string createdAt?: DateTimeFilter<"DatasetRuns"> | Date | string updatedAt?: DateTimeFilter<"DatasetRuns"> | Date | string dataset?: XOR datasetRunItems?: DatasetRunItemsListRelationFilter }, "id_projectId" | "datasetId_projectId_name"> export type DatasetRunsOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrderInput | SortOrder metadata?: SortOrderInput | SortOrder datasetId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: DatasetRunsCountOrderByAggregateInput _max?: DatasetRunsMaxOrderByAggregateInput _min?: DatasetRunsMinOrderByAggregateInput } export type DatasetRunsScalarWhereWithAggregatesInput = { AND?: DatasetRunsScalarWhereWithAggregatesInput | DatasetRunsScalarWhereWithAggregatesInput[] OR?: DatasetRunsScalarWhereWithAggregatesInput[] NOT?: DatasetRunsScalarWhereWithAggregatesInput | DatasetRunsScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"DatasetRuns"> | string projectId?: StringWithAggregatesFilter<"DatasetRuns"> | string name?: StringWithAggregatesFilter<"DatasetRuns"> | string description?: StringNullableWithAggregatesFilter<"DatasetRuns"> | string | null metadata?: JsonNullableWithAggregatesFilter<"DatasetRuns"> datasetId?: StringWithAggregatesFilter<"DatasetRuns"> | string createdAt?: DateTimeWithAggregatesFilter<"DatasetRuns"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"DatasetRuns"> | Date | string } export type DatasetRunItemsWhereInput = { AND?: DatasetRunItemsWhereInput | DatasetRunItemsWhereInput[] OR?: DatasetRunItemsWhereInput[] NOT?: DatasetRunItemsWhereInput | DatasetRunItemsWhereInput[] id?: StringFilter<"DatasetRunItems"> | string projectId?: StringFilter<"DatasetRunItems"> | string datasetRunId?: StringFilter<"DatasetRunItems"> | string datasetItemId?: StringFilter<"DatasetRunItems"> | string traceId?: StringFilter<"DatasetRunItems"> | string observationId?: StringNullableFilter<"DatasetRunItems"> | string | null createdAt?: DateTimeFilter<"DatasetRunItems"> | Date | string updatedAt?: DateTimeFilter<"DatasetRunItems"> | Date | string datasetRun?: XOR datasetItem?: XOR } export type DatasetRunItemsOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder datasetRunId?: SortOrder datasetItemId?: SortOrder traceId?: SortOrder observationId?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder datasetRun?: DatasetRunsOrderByWithRelationInput datasetItem?: DatasetItemOrderByWithRelationInput } export type DatasetRunItemsWhereUniqueInput = Prisma.AtLeast<{ id_projectId?: DatasetRunItemsIdProjectIdCompoundUniqueInput AND?: DatasetRunItemsWhereInput | DatasetRunItemsWhereInput[] OR?: DatasetRunItemsWhereInput[] NOT?: DatasetRunItemsWhereInput | DatasetRunItemsWhereInput[] id?: StringFilter<"DatasetRunItems"> | string projectId?: StringFilter<"DatasetRunItems"> | string datasetRunId?: StringFilter<"DatasetRunItems"> | string datasetItemId?: StringFilter<"DatasetRunItems"> | string traceId?: StringFilter<"DatasetRunItems"> | string observationId?: StringNullableFilter<"DatasetRunItems"> | string | null createdAt?: DateTimeFilter<"DatasetRunItems"> | Date | string updatedAt?: DateTimeFilter<"DatasetRunItems"> | Date | string datasetRun?: XOR datasetItem?: XOR }, "id_projectId"> export type DatasetRunItemsOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder datasetRunId?: SortOrder datasetItemId?: SortOrder traceId?: SortOrder observationId?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: DatasetRunItemsCountOrderByAggregateInput _max?: DatasetRunItemsMaxOrderByAggregateInput _min?: DatasetRunItemsMinOrderByAggregateInput } export type DatasetRunItemsScalarWhereWithAggregatesInput = { AND?: DatasetRunItemsScalarWhereWithAggregatesInput | DatasetRunItemsScalarWhereWithAggregatesInput[] OR?: DatasetRunItemsScalarWhereWithAggregatesInput[] NOT?: DatasetRunItemsScalarWhereWithAggregatesInput | DatasetRunItemsScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"DatasetRunItems"> | string projectId?: StringWithAggregatesFilter<"DatasetRunItems"> | string datasetRunId?: StringWithAggregatesFilter<"DatasetRunItems"> | string datasetItemId?: StringWithAggregatesFilter<"DatasetRunItems"> | string traceId?: StringWithAggregatesFilter<"DatasetRunItems"> | string observationId?: StringNullableWithAggregatesFilter<"DatasetRunItems"> | string | null createdAt?: DateTimeWithAggregatesFilter<"DatasetRunItems"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"DatasetRunItems"> | Date | string } export type CommentWhereInput = { AND?: CommentWhereInput | CommentWhereInput[] OR?: CommentWhereInput[] NOT?: CommentWhereInput | CommentWhereInput[] id?: StringFilter<"Comment"> | string projectId?: StringFilter<"Comment"> | string objectType?: EnumCommentObjectTypeFilter<"Comment"> | $Enums.CommentObjectType objectId?: StringFilter<"Comment"> | string createdAt?: DateTimeFilter<"Comment"> | Date | string updatedAt?: DateTimeFilter<"Comment"> | Date | string content?: StringFilter<"Comment"> | string authorUserId?: StringNullableFilter<"Comment"> | string | null project?: XOR } export type CommentOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder objectType?: SortOrder objectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder content?: SortOrder authorUserId?: SortOrderInput | SortOrder project?: ProjectOrderByWithRelationInput } export type CommentWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: CommentWhereInput | CommentWhereInput[] OR?: CommentWhereInput[] NOT?: CommentWhereInput | CommentWhereInput[] projectId?: StringFilter<"Comment"> | string objectType?: EnumCommentObjectTypeFilter<"Comment"> | $Enums.CommentObjectType objectId?: StringFilter<"Comment"> | string createdAt?: DateTimeFilter<"Comment"> | Date | string updatedAt?: DateTimeFilter<"Comment"> | Date | string content?: StringFilter<"Comment"> | string authorUserId?: StringNullableFilter<"Comment"> | string | null project?: XOR }, "id"> export type CommentOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder objectType?: SortOrder objectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder content?: SortOrder authorUserId?: SortOrderInput | SortOrder _count?: CommentCountOrderByAggregateInput _max?: CommentMaxOrderByAggregateInput _min?: CommentMinOrderByAggregateInput } export type CommentScalarWhereWithAggregatesInput = { AND?: CommentScalarWhereWithAggregatesInput | CommentScalarWhereWithAggregatesInput[] OR?: CommentScalarWhereWithAggregatesInput[] NOT?: CommentScalarWhereWithAggregatesInput | CommentScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Comment"> | string projectId?: StringWithAggregatesFilter<"Comment"> | string objectType?: EnumCommentObjectTypeWithAggregatesFilter<"Comment"> | $Enums.CommentObjectType objectId?: StringWithAggregatesFilter<"Comment"> | string createdAt?: DateTimeWithAggregatesFilter<"Comment"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Comment"> | Date | string content?: StringWithAggregatesFilter<"Comment"> | string authorUserId?: StringNullableWithAggregatesFilter<"Comment"> | string | null } export type PromptWhereInput = { AND?: PromptWhereInput | PromptWhereInput[] OR?: PromptWhereInput[] NOT?: PromptWhereInput | PromptWhereInput[] id?: StringFilter<"Prompt"> | string createdAt?: DateTimeFilter<"Prompt"> | Date | string updatedAt?: DateTimeFilter<"Prompt"> | Date | string projectId?: StringFilter<"Prompt"> | string createdBy?: StringFilter<"Prompt"> | string prompt?: JsonFilter<"Prompt"> name?: StringFilter<"Prompt"> | string version?: IntFilter<"Prompt"> | number type?: StringFilter<"Prompt"> | string isActive?: BoolNullableFilter<"Prompt"> | boolean | null config?: JsonFilter<"Prompt"> tags?: StringNullableListFilter<"Prompt"> labels?: StringNullableListFilter<"Prompt"> commitMessage?: StringNullableFilter<"Prompt"> | string | null project?: XOR PromptDependency?: PromptDependencyListRelationFilter } export type PromptOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder createdBy?: SortOrder prompt?: SortOrder name?: SortOrder version?: SortOrder type?: SortOrder isActive?: SortOrderInput | SortOrder config?: SortOrder tags?: SortOrder labels?: SortOrder commitMessage?: SortOrderInput | SortOrder project?: ProjectOrderByWithRelationInput PromptDependency?: PromptDependencyOrderByRelationAggregateInput } export type PromptWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId_name_version?: PromptProjectIdNameVersionCompoundUniqueInput AND?: PromptWhereInput | PromptWhereInput[] OR?: PromptWhereInput[] NOT?: PromptWhereInput | PromptWhereInput[] createdAt?: DateTimeFilter<"Prompt"> | Date | string updatedAt?: DateTimeFilter<"Prompt"> | Date | string projectId?: StringFilter<"Prompt"> | string createdBy?: StringFilter<"Prompt"> | string prompt?: JsonFilter<"Prompt"> name?: StringFilter<"Prompt"> | string version?: IntFilter<"Prompt"> | number type?: StringFilter<"Prompt"> | string isActive?: BoolNullableFilter<"Prompt"> | boolean | null config?: JsonFilter<"Prompt"> tags?: StringNullableListFilter<"Prompt"> labels?: StringNullableListFilter<"Prompt"> commitMessage?: StringNullableFilter<"Prompt"> | string | null project?: XOR PromptDependency?: PromptDependencyListRelationFilter }, "id" | "projectId_name_version"> export type PromptOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder createdBy?: SortOrder prompt?: SortOrder name?: SortOrder version?: SortOrder type?: SortOrder isActive?: SortOrderInput | SortOrder config?: SortOrder tags?: SortOrder labels?: SortOrder commitMessage?: SortOrderInput | SortOrder _count?: PromptCountOrderByAggregateInput _avg?: PromptAvgOrderByAggregateInput _max?: PromptMaxOrderByAggregateInput _min?: PromptMinOrderByAggregateInput _sum?: PromptSumOrderByAggregateInput } export type PromptScalarWhereWithAggregatesInput = { AND?: PromptScalarWhereWithAggregatesInput | PromptScalarWhereWithAggregatesInput[] OR?: PromptScalarWhereWithAggregatesInput[] NOT?: PromptScalarWhereWithAggregatesInput | PromptScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Prompt"> | string createdAt?: DateTimeWithAggregatesFilter<"Prompt"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Prompt"> | Date | string projectId?: StringWithAggregatesFilter<"Prompt"> | string createdBy?: StringWithAggregatesFilter<"Prompt"> | string prompt?: JsonWithAggregatesFilter<"Prompt"> name?: StringWithAggregatesFilter<"Prompt"> | string version?: IntWithAggregatesFilter<"Prompt"> | number type?: StringWithAggregatesFilter<"Prompt"> | string isActive?: BoolNullableWithAggregatesFilter<"Prompt"> | boolean | null config?: JsonWithAggregatesFilter<"Prompt"> tags?: StringNullableListFilter<"Prompt"> labels?: StringNullableListFilter<"Prompt"> commitMessage?: StringNullableWithAggregatesFilter<"Prompt"> | string | null } export type PromptDependencyWhereInput = { AND?: PromptDependencyWhereInput | PromptDependencyWhereInput[] OR?: PromptDependencyWhereInput[] NOT?: PromptDependencyWhereInput | PromptDependencyWhereInput[] id?: StringFilter<"PromptDependency"> | string createdAt?: DateTimeFilter<"PromptDependency"> | Date | string updatedAt?: DateTimeFilter<"PromptDependency"> | Date | string projectId?: StringFilter<"PromptDependency"> | string parentId?: StringFilter<"PromptDependency"> | string childName?: StringFilter<"PromptDependency"> | string childLabel?: StringNullableFilter<"PromptDependency"> | string | null childVersion?: IntNullableFilter<"PromptDependency"> | number | null project?: XOR parent?: XOR } export type PromptDependencyOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder parentId?: SortOrder childName?: SortOrder childLabel?: SortOrderInput | SortOrder childVersion?: SortOrderInput | SortOrder project?: ProjectOrderByWithRelationInput parent?: PromptOrderByWithRelationInput } export type PromptDependencyWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: PromptDependencyWhereInput | PromptDependencyWhereInput[] OR?: PromptDependencyWhereInput[] NOT?: PromptDependencyWhereInput | PromptDependencyWhereInput[] createdAt?: DateTimeFilter<"PromptDependency"> | Date | string updatedAt?: DateTimeFilter<"PromptDependency"> | Date | string projectId?: StringFilter<"PromptDependency"> | string parentId?: StringFilter<"PromptDependency"> | string childName?: StringFilter<"PromptDependency"> | string childLabel?: StringNullableFilter<"PromptDependency"> | string | null childVersion?: IntNullableFilter<"PromptDependency"> | number | null project?: XOR parent?: XOR }, "id"> export type PromptDependencyOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder parentId?: SortOrder childName?: SortOrder childLabel?: SortOrderInput | SortOrder childVersion?: SortOrderInput | SortOrder _count?: PromptDependencyCountOrderByAggregateInput _avg?: PromptDependencyAvgOrderByAggregateInput _max?: PromptDependencyMaxOrderByAggregateInput _min?: PromptDependencyMinOrderByAggregateInput _sum?: PromptDependencySumOrderByAggregateInput } export type PromptDependencyScalarWhereWithAggregatesInput = { AND?: PromptDependencyScalarWhereWithAggregatesInput | PromptDependencyScalarWhereWithAggregatesInput[] OR?: PromptDependencyScalarWhereWithAggregatesInput[] NOT?: PromptDependencyScalarWhereWithAggregatesInput | PromptDependencyScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"PromptDependency"> | string createdAt?: DateTimeWithAggregatesFilter<"PromptDependency"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"PromptDependency"> | Date | string projectId?: StringWithAggregatesFilter<"PromptDependency"> | string parentId?: StringWithAggregatesFilter<"PromptDependency"> | string childName?: StringWithAggregatesFilter<"PromptDependency"> | string childLabel?: StringNullableWithAggregatesFilter<"PromptDependency"> | string | null childVersion?: IntNullableWithAggregatesFilter<"PromptDependency"> | number | null } export type PromptProtectedLabelsWhereInput = { AND?: PromptProtectedLabelsWhereInput | PromptProtectedLabelsWhereInput[] OR?: PromptProtectedLabelsWhereInput[] NOT?: PromptProtectedLabelsWhereInput | PromptProtectedLabelsWhereInput[] id?: StringFilter<"PromptProtectedLabels"> | string createdAt?: DateTimeFilter<"PromptProtectedLabels"> | Date | string updatedAt?: DateTimeFilter<"PromptProtectedLabels"> | Date | string projectId?: StringFilter<"PromptProtectedLabels"> | string label?: StringFilter<"PromptProtectedLabels"> | string project?: XOR } export type PromptProtectedLabelsOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder label?: SortOrder project?: ProjectOrderByWithRelationInput } export type PromptProtectedLabelsWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId_label?: PromptProtectedLabelsProjectIdLabelCompoundUniqueInput AND?: PromptProtectedLabelsWhereInput | PromptProtectedLabelsWhereInput[] OR?: PromptProtectedLabelsWhereInput[] NOT?: PromptProtectedLabelsWhereInput | PromptProtectedLabelsWhereInput[] createdAt?: DateTimeFilter<"PromptProtectedLabels"> | Date | string updatedAt?: DateTimeFilter<"PromptProtectedLabels"> | Date | string projectId?: StringFilter<"PromptProtectedLabels"> | string label?: StringFilter<"PromptProtectedLabels"> | string project?: XOR }, "id" | "projectId_label"> export type PromptProtectedLabelsOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder label?: SortOrder _count?: PromptProtectedLabelsCountOrderByAggregateInput _max?: PromptProtectedLabelsMaxOrderByAggregateInput _min?: PromptProtectedLabelsMinOrderByAggregateInput } export type PromptProtectedLabelsScalarWhereWithAggregatesInput = { AND?: PromptProtectedLabelsScalarWhereWithAggregatesInput | PromptProtectedLabelsScalarWhereWithAggregatesInput[] OR?: PromptProtectedLabelsScalarWhereWithAggregatesInput[] NOT?: PromptProtectedLabelsScalarWhereWithAggregatesInput | PromptProtectedLabelsScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"PromptProtectedLabels"> | string createdAt?: DateTimeWithAggregatesFilter<"PromptProtectedLabels"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"PromptProtectedLabels"> | Date | string projectId?: StringWithAggregatesFilter<"PromptProtectedLabels"> | string label?: StringWithAggregatesFilter<"PromptProtectedLabels"> | string } export type ModelWhereInput = { AND?: ModelWhereInput | ModelWhereInput[] OR?: ModelWhereInput[] NOT?: ModelWhereInput | ModelWhereInput[] id?: StringFilter<"Model"> | string createdAt?: DateTimeFilter<"Model"> | Date | string updatedAt?: DateTimeFilter<"Model"> | Date | string projectId?: StringNullableFilter<"Model"> | string | null modelName?: StringFilter<"Model"> | string matchPattern?: StringFilter<"Model"> | string startDate?: DateTimeNullableFilter<"Model"> | Date | string | null inputPrice?: DecimalNullableFilter<"Model"> | Decimal | DecimalJsLike | number | string | null outputPrice?: DecimalNullableFilter<"Model"> | Decimal | DecimalJsLike | number | string | null totalPrice?: DecimalNullableFilter<"Model"> | Decimal | DecimalJsLike | number | string | null unit?: StringNullableFilter<"Model"> | string | null tokenizerId?: StringNullableFilter<"Model"> | string | null tokenizerConfig?: JsonNullableFilter<"Model"> project?: XOR | null Price?: PriceListRelationFilter } export type ModelOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrderInput | SortOrder modelName?: SortOrder matchPattern?: SortOrder startDate?: SortOrderInput | SortOrder inputPrice?: SortOrderInput | SortOrder outputPrice?: SortOrderInput | SortOrder totalPrice?: SortOrderInput | SortOrder unit?: SortOrderInput | SortOrder tokenizerId?: SortOrderInput | SortOrder tokenizerConfig?: SortOrderInput | SortOrder project?: ProjectOrderByWithRelationInput Price?: PriceOrderByRelationAggregateInput } export type ModelWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId_modelName_startDate_unit?: ModelProjectIdModelNameStartDateUnitCompoundUniqueInput AND?: ModelWhereInput | ModelWhereInput[] OR?: ModelWhereInput[] NOT?: ModelWhereInput | ModelWhereInput[] createdAt?: DateTimeFilter<"Model"> | Date | string updatedAt?: DateTimeFilter<"Model"> | Date | string projectId?: StringNullableFilter<"Model"> | string | null modelName?: StringFilter<"Model"> | string matchPattern?: StringFilter<"Model"> | string startDate?: DateTimeNullableFilter<"Model"> | Date | string | null inputPrice?: DecimalNullableFilter<"Model"> | Decimal | DecimalJsLike | number | string | null outputPrice?: DecimalNullableFilter<"Model"> | Decimal | DecimalJsLike | number | string | null totalPrice?: DecimalNullableFilter<"Model"> | Decimal | DecimalJsLike | number | string | null unit?: StringNullableFilter<"Model"> | string | null tokenizerId?: StringNullableFilter<"Model"> | string | null tokenizerConfig?: JsonNullableFilter<"Model"> project?: XOR | null Price?: PriceListRelationFilter }, "id" | "projectId_modelName_startDate_unit"> export type ModelOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrderInput | SortOrder modelName?: SortOrder matchPattern?: SortOrder startDate?: SortOrderInput | SortOrder inputPrice?: SortOrderInput | SortOrder outputPrice?: SortOrderInput | SortOrder totalPrice?: SortOrderInput | SortOrder unit?: SortOrderInput | SortOrder tokenizerId?: SortOrderInput | SortOrder tokenizerConfig?: SortOrderInput | SortOrder _count?: ModelCountOrderByAggregateInput _avg?: ModelAvgOrderByAggregateInput _max?: ModelMaxOrderByAggregateInput _min?: ModelMinOrderByAggregateInput _sum?: ModelSumOrderByAggregateInput } export type ModelScalarWhereWithAggregatesInput = { AND?: ModelScalarWhereWithAggregatesInput | ModelScalarWhereWithAggregatesInput[] OR?: ModelScalarWhereWithAggregatesInput[] NOT?: ModelScalarWhereWithAggregatesInput | ModelScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Model"> | string createdAt?: DateTimeWithAggregatesFilter<"Model"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Model"> | Date | string projectId?: StringNullableWithAggregatesFilter<"Model"> | string | null modelName?: StringWithAggregatesFilter<"Model"> | string matchPattern?: StringWithAggregatesFilter<"Model"> | string startDate?: DateTimeNullableWithAggregatesFilter<"Model"> | Date | string | null inputPrice?: DecimalNullableWithAggregatesFilter<"Model"> | Decimal | DecimalJsLike | number | string | null outputPrice?: DecimalNullableWithAggregatesFilter<"Model"> | Decimal | DecimalJsLike | number | string | null totalPrice?: DecimalNullableWithAggregatesFilter<"Model"> | Decimal | DecimalJsLike | number | string | null unit?: StringNullableWithAggregatesFilter<"Model"> | string | null tokenizerId?: StringNullableWithAggregatesFilter<"Model"> | string | null tokenizerConfig?: JsonNullableWithAggregatesFilter<"Model"> } export type PriceWhereInput = { AND?: PriceWhereInput | PriceWhereInput[] OR?: PriceWhereInput[] NOT?: PriceWhereInput | PriceWhereInput[] id?: StringFilter<"Price"> | string createdAt?: DateTimeFilter<"Price"> | Date | string updatedAt?: DateTimeFilter<"Price"> | Date | string modelId?: StringFilter<"Price"> | string projectId?: StringNullableFilter<"Price"> | string | null usageType?: StringFilter<"Price"> | string price?: DecimalFilter<"Price"> | Decimal | DecimalJsLike | number | string Model?: XOR project?: XOR | null } export type PriceOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder modelId?: SortOrder projectId?: SortOrderInput | SortOrder usageType?: SortOrder price?: SortOrder Model?: ModelOrderByWithRelationInput project?: ProjectOrderByWithRelationInput } export type PriceWhereUniqueInput = Prisma.AtLeast<{ id?: string modelId_usageType?: PriceModelIdUsageTypeCompoundUniqueInput AND?: PriceWhereInput | PriceWhereInput[] OR?: PriceWhereInput[] NOT?: PriceWhereInput | PriceWhereInput[] createdAt?: DateTimeFilter<"Price"> | Date | string updatedAt?: DateTimeFilter<"Price"> | Date | string modelId?: StringFilter<"Price"> | string projectId?: StringNullableFilter<"Price"> | string | null usageType?: StringFilter<"Price"> | string price?: DecimalFilter<"Price"> | Decimal | DecimalJsLike | number | string Model?: XOR project?: XOR | null }, "id" | "modelId_usageType"> export type PriceOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder modelId?: SortOrder projectId?: SortOrderInput | SortOrder usageType?: SortOrder price?: SortOrder _count?: PriceCountOrderByAggregateInput _avg?: PriceAvgOrderByAggregateInput _max?: PriceMaxOrderByAggregateInput _min?: PriceMinOrderByAggregateInput _sum?: PriceSumOrderByAggregateInput } export type PriceScalarWhereWithAggregatesInput = { AND?: PriceScalarWhereWithAggregatesInput | PriceScalarWhereWithAggregatesInput[] OR?: PriceScalarWhereWithAggregatesInput[] NOT?: PriceScalarWhereWithAggregatesInput | PriceScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Price"> | string createdAt?: DateTimeWithAggregatesFilter<"Price"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Price"> | Date | string modelId?: StringWithAggregatesFilter<"Price"> | string projectId?: StringNullableWithAggregatesFilter<"Price"> | string | null usageType?: StringWithAggregatesFilter<"Price"> | string price?: DecimalWithAggregatesFilter<"Price"> | Decimal | DecimalJsLike | number | string } export type AuditLogWhereInput = { AND?: AuditLogWhereInput | AuditLogWhereInput[] OR?: AuditLogWhereInput[] NOT?: AuditLogWhereInput | AuditLogWhereInput[] id?: StringFilter<"AuditLog"> | string createdAt?: DateTimeFilter<"AuditLog"> | Date | string updatedAt?: DateTimeFilter<"AuditLog"> | Date | string type?: EnumAuditLogRecordTypeFilter<"AuditLog"> | $Enums.AuditLogRecordType apiKeyId?: StringNullableFilter<"AuditLog"> | string | null userId?: StringNullableFilter<"AuditLog"> | string | null orgId?: StringFilter<"AuditLog"> | string userOrgRole?: StringNullableFilter<"AuditLog"> | string | null projectId?: StringNullableFilter<"AuditLog"> | string | null userProjectRole?: StringNullableFilter<"AuditLog"> | string | null resourceType?: StringFilter<"AuditLog"> | string resourceId?: StringFilter<"AuditLog"> | string action?: StringFilter<"AuditLog"> | string before?: StringNullableFilter<"AuditLog"> | string | null after?: StringNullableFilter<"AuditLog"> | string | null } export type AuditLogOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder type?: SortOrder apiKeyId?: SortOrderInput | SortOrder userId?: SortOrderInput | SortOrder orgId?: SortOrder userOrgRole?: SortOrderInput | SortOrder projectId?: SortOrderInput | SortOrder userProjectRole?: SortOrderInput | SortOrder resourceType?: SortOrder resourceId?: SortOrder action?: SortOrder before?: SortOrderInput | SortOrder after?: SortOrderInput | SortOrder } export type AuditLogWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: AuditLogWhereInput | AuditLogWhereInput[] OR?: AuditLogWhereInput[] NOT?: AuditLogWhereInput | AuditLogWhereInput[] createdAt?: DateTimeFilter<"AuditLog"> | Date | string updatedAt?: DateTimeFilter<"AuditLog"> | Date | string type?: EnumAuditLogRecordTypeFilter<"AuditLog"> | $Enums.AuditLogRecordType apiKeyId?: StringNullableFilter<"AuditLog"> | string | null userId?: StringNullableFilter<"AuditLog"> | string | null orgId?: StringFilter<"AuditLog"> | string userOrgRole?: StringNullableFilter<"AuditLog"> | string | null projectId?: StringNullableFilter<"AuditLog"> | string | null userProjectRole?: StringNullableFilter<"AuditLog"> | string | null resourceType?: StringFilter<"AuditLog"> | string resourceId?: StringFilter<"AuditLog"> | string action?: StringFilter<"AuditLog"> | string before?: StringNullableFilter<"AuditLog"> | string | null after?: StringNullableFilter<"AuditLog"> | string | null }, "id"> export type AuditLogOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder type?: SortOrder apiKeyId?: SortOrderInput | SortOrder userId?: SortOrderInput | SortOrder orgId?: SortOrder userOrgRole?: SortOrderInput | SortOrder projectId?: SortOrderInput | SortOrder userProjectRole?: SortOrderInput | SortOrder resourceType?: SortOrder resourceId?: SortOrder action?: SortOrder before?: SortOrderInput | SortOrder after?: SortOrderInput | SortOrder _count?: AuditLogCountOrderByAggregateInput _max?: AuditLogMaxOrderByAggregateInput _min?: AuditLogMinOrderByAggregateInput } export type AuditLogScalarWhereWithAggregatesInput = { AND?: AuditLogScalarWhereWithAggregatesInput | AuditLogScalarWhereWithAggregatesInput[] OR?: AuditLogScalarWhereWithAggregatesInput[] NOT?: AuditLogScalarWhereWithAggregatesInput | AuditLogScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"AuditLog"> | string createdAt?: DateTimeWithAggregatesFilter<"AuditLog"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"AuditLog"> | Date | string type?: EnumAuditLogRecordTypeWithAggregatesFilter<"AuditLog"> | $Enums.AuditLogRecordType apiKeyId?: StringNullableWithAggregatesFilter<"AuditLog"> | string | null userId?: StringNullableWithAggregatesFilter<"AuditLog"> | string | null orgId?: StringWithAggregatesFilter<"AuditLog"> | string userOrgRole?: StringNullableWithAggregatesFilter<"AuditLog"> | string | null projectId?: StringNullableWithAggregatesFilter<"AuditLog"> | string | null userProjectRole?: StringNullableWithAggregatesFilter<"AuditLog"> | string | null resourceType?: StringWithAggregatesFilter<"AuditLog"> | string resourceId?: StringWithAggregatesFilter<"AuditLog"> | string action?: StringWithAggregatesFilter<"AuditLog"> | string before?: StringNullableWithAggregatesFilter<"AuditLog"> | string | null after?: StringNullableWithAggregatesFilter<"AuditLog"> | string | null } export type EvalTemplateWhereInput = { AND?: EvalTemplateWhereInput | EvalTemplateWhereInput[] OR?: EvalTemplateWhereInput[] NOT?: EvalTemplateWhereInput | EvalTemplateWhereInput[] id?: StringFilter<"EvalTemplate"> | string createdAt?: DateTimeFilter<"EvalTemplate"> | Date | string updatedAt?: DateTimeFilter<"EvalTemplate"> | Date | string projectId?: StringNullableFilter<"EvalTemplate"> | string | null name?: StringFilter<"EvalTemplate"> | string version?: IntFilter<"EvalTemplate"> | number prompt?: StringFilter<"EvalTemplate"> | string partner?: StringNullableFilter<"EvalTemplate"> | string | null model?: StringNullableFilter<"EvalTemplate"> | string | null provider?: StringNullableFilter<"EvalTemplate"> | string | null modelParams?: JsonNullableFilter<"EvalTemplate"> vars?: StringNullableListFilter<"EvalTemplate"> outputSchema?: JsonFilter<"EvalTemplate"> project?: XOR | null JobConfiguration?: JobConfigurationListRelationFilter JobExecution?: JobExecutionListRelationFilter } export type EvalTemplateOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrderInput | SortOrder name?: SortOrder version?: SortOrder prompt?: SortOrder partner?: SortOrderInput | SortOrder model?: SortOrderInput | SortOrder provider?: SortOrderInput | SortOrder modelParams?: SortOrderInput | SortOrder vars?: SortOrder outputSchema?: SortOrder project?: ProjectOrderByWithRelationInput JobConfiguration?: JobConfigurationOrderByRelationAggregateInput JobExecution?: JobExecutionOrderByRelationAggregateInput } export type EvalTemplateWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId_name_version?: EvalTemplateProjectIdNameVersionCompoundUniqueInput AND?: EvalTemplateWhereInput | EvalTemplateWhereInput[] OR?: EvalTemplateWhereInput[] NOT?: EvalTemplateWhereInput | EvalTemplateWhereInput[] createdAt?: DateTimeFilter<"EvalTemplate"> | Date | string updatedAt?: DateTimeFilter<"EvalTemplate"> | Date | string projectId?: StringNullableFilter<"EvalTemplate"> | string | null name?: StringFilter<"EvalTemplate"> | string version?: IntFilter<"EvalTemplate"> | number prompt?: StringFilter<"EvalTemplate"> | string partner?: StringNullableFilter<"EvalTemplate"> | string | null model?: StringNullableFilter<"EvalTemplate"> | string | null provider?: StringNullableFilter<"EvalTemplate"> | string | null modelParams?: JsonNullableFilter<"EvalTemplate"> vars?: StringNullableListFilter<"EvalTemplate"> outputSchema?: JsonFilter<"EvalTemplate"> project?: XOR | null JobConfiguration?: JobConfigurationListRelationFilter JobExecution?: JobExecutionListRelationFilter }, "id" | "projectId_name_version"> export type EvalTemplateOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrderInput | SortOrder name?: SortOrder version?: SortOrder prompt?: SortOrder partner?: SortOrderInput | SortOrder model?: SortOrderInput | SortOrder provider?: SortOrderInput | SortOrder modelParams?: SortOrderInput | SortOrder vars?: SortOrder outputSchema?: SortOrder _count?: EvalTemplateCountOrderByAggregateInput _avg?: EvalTemplateAvgOrderByAggregateInput _max?: EvalTemplateMaxOrderByAggregateInput _min?: EvalTemplateMinOrderByAggregateInput _sum?: EvalTemplateSumOrderByAggregateInput } export type EvalTemplateScalarWhereWithAggregatesInput = { AND?: EvalTemplateScalarWhereWithAggregatesInput | EvalTemplateScalarWhereWithAggregatesInput[] OR?: EvalTemplateScalarWhereWithAggregatesInput[] NOT?: EvalTemplateScalarWhereWithAggregatesInput | EvalTemplateScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"EvalTemplate"> | string createdAt?: DateTimeWithAggregatesFilter<"EvalTemplate"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"EvalTemplate"> | Date | string projectId?: StringNullableWithAggregatesFilter<"EvalTemplate"> | string | null name?: StringWithAggregatesFilter<"EvalTemplate"> | string version?: IntWithAggregatesFilter<"EvalTemplate"> | number prompt?: StringWithAggregatesFilter<"EvalTemplate"> | string partner?: StringNullableWithAggregatesFilter<"EvalTemplate"> | string | null model?: StringNullableWithAggregatesFilter<"EvalTemplate"> | string | null provider?: StringNullableWithAggregatesFilter<"EvalTemplate"> | string | null modelParams?: JsonNullableWithAggregatesFilter<"EvalTemplate"> vars?: StringNullableListFilter<"EvalTemplate"> outputSchema?: JsonWithAggregatesFilter<"EvalTemplate"> } export type JobConfigurationWhereInput = { AND?: JobConfigurationWhereInput | JobConfigurationWhereInput[] OR?: JobConfigurationWhereInput[] NOT?: JobConfigurationWhereInput | JobConfigurationWhereInput[] id?: StringFilter<"JobConfiguration"> | string createdAt?: DateTimeFilter<"JobConfiguration"> | Date | string updatedAt?: DateTimeFilter<"JobConfiguration"> | Date | string projectId?: StringFilter<"JobConfiguration"> | string jobType?: EnumJobTypeFilter<"JobConfiguration"> | $Enums.JobType status?: EnumJobConfigStateFilter<"JobConfiguration"> | $Enums.JobConfigState evalTemplateId?: StringNullableFilter<"JobConfiguration"> | string | null scoreName?: StringFilter<"JobConfiguration"> | string filter?: JsonFilter<"JobConfiguration"> targetObject?: StringFilter<"JobConfiguration"> | string variableMapping?: JsonFilter<"JobConfiguration"> sampling?: DecimalFilter<"JobConfiguration"> | Decimal | DecimalJsLike | number | string delay?: IntFilter<"JobConfiguration"> | number timeScope?: StringNullableListFilter<"JobConfiguration"> project?: XOR evalTemplate?: XOR | null JobExecution?: JobExecutionListRelationFilter } export type JobConfigurationOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder jobType?: SortOrder status?: SortOrder evalTemplateId?: SortOrderInput | SortOrder scoreName?: SortOrder filter?: SortOrder targetObject?: SortOrder variableMapping?: SortOrder sampling?: SortOrder delay?: SortOrder timeScope?: SortOrder project?: ProjectOrderByWithRelationInput evalTemplate?: EvalTemplateOrderByWithRelationInput JobExecution?: JobExecutionOrderByRelationAggregateInput } export type JobConfigurationWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: JobConfigurationWhereInput | JobConfigurationWhereInput[] OR?: JobConfigurationWhereInput[] NOT?: JobConfigurationWhereInput | JobConfigurationWhereInput[] createdAt?: DateTimeFilter<"JobConfiguration"> | Date | string updatedAt?: DateTimeFilter<"JobConfiguration"> | Date | string projectId?: StringFilter<"JobConfiguration"> | string jobType?: EnumJobTypeFilter<"JobConfiguration"> | $Enums.JobType status?: EnumJobConfigStateFilter<"JobConfiguration"> | $Enums.JobConfigState evalTemplateId?: StringNullableFilter<"JobConfiguration"> | string | null scoreName?: StringFilter<"JobConfiguration"> | string filter?: JsonFilter<"JobConfiguration"> targetObject?: StringFilter<"JobConfiguration"> | string variableMapping?: JsonFilter<"JobConfiguration"> sampling?: DecimalFilter<"JobConfiguration"> | Decimal | DecimalJsLike | number | string delay?: IntFilter<"JobConfiguration"> | number timeScope?: StringNullableListFilter<"JobConfiguration"> project?: XOR evalTemplate?: XOR | null JobExecution?: JobExecutionListRelationFilter }, "id"> export type JobConfigurationOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder jobType?: SortOrder status?: SortOrder evalTemplateId?: SortOrderInput | SortOrder scoreName?: SortOrder filter?: SortOrder targetObject?: SortOrder variableMapping?: SortOrder sampling?: SortOrder delay?: SortOrder timeScope?: SortOrder _count?: JobConfigurationCountOrderByAggregateInput _avg?: JobConfigurationAvgOrderByAggregateInput _max?: JobConfigurationMaxOrderByAggregateInput _min?: JobConfigurationMinOrderByAggregateInput _sum?: JobConfigurationSumOrderByAggregateInput } export type JobConfigurationScalarWhereWithAggregatesInput = { AND?: JobConfigurationScalarWhereWithAggregatesInput | JobConfigurationScalarWhereWithAggregatesInput[] OR?: JobConfigurationScalarWhereWithAggregatesInput[] NOT?: JobConfigurationScalarWhereWithAggregatesInput | JobConfigurationScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"JobConfiguration"> | string createdAt?: DateTimeWithAggregatesFilter<"JobConfiguration"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"JobConfiguration"> | Date | string projectId?: StringWithAggregatesFilter<"JobConfiguration"> | string jobType?: EnumJobTypeWithAggregatesFilter<"JobConfiguration"> | $Enums.JobType status?: EnumJobConfigStateWithAggregatesFilter<"JobConfiguration"> | $Enums.JobConfigState evalTemplateId?: StringNullableWithAggregatesFilter<"JobConfiguration"> | string | null scoreName?: StringWithAggregatesFilter<"JobConfiguration"> | string filter?: JsonWithAggregatesFilter<"JobConfiguration"> targetObject?: StringWithAggregatesFilter<"JobConfiguration"> | string variableMapping?: JsonWithAggregatesFilter<"JobConfiguration"> sampling?: DecimalWithAggregatesFilter<"JobConfiguration"> | Decimal | DecimalJsLike | number | string delay?: IntWithAggregatesFilter<"JobConfiguration"> | number timeScope?: StringNullableListFilter<"JobConfiguration"> } export type JobExecutionWhereInput = { AND?: JobExecutionWhereInput | JobExecutionWhereInput[] OR?: JobExecutionWhereInput[] NOT?: JobExecutionWhereInput | JobExecutionWhereInput[] id?: StringFilter<"JobExecution"> | string createdAt?: DateTimeFilter<"JobExecution"> | Date | string updatedAt?: DateTimeFilter<"JobExecution"> | Date | string projectId?: StringFilter<"JobExecution"> | string jobConfigurationId?: StringFilter<"JobExecution"> | string jobTemplateId?: StringNullableFilter<"JobExecution"> | string | null status?: EnumJobExecutionStatusFilter<"JobExecution"> | $Enums.JobExecutionStatus startTime?: DateTimeNullableFilter<"JobExecution"> | Date | string | null endTime?: DateTimeNullableFilter<"JobExecution"> | Date | string | null error?: StringNullableFilter<"JobExecution"> | string | null jobInputTraceId?: StringNullableFilter<"JobExecution"> | string | null jobInputTraceTimestamp?: DateTimeNullableFilter<"JobExecution"> | Date | string | null jobInputObservationId?: StringNullableFilter<"JobExecution"> | string | null jobInputDatasetItemId?: StringNullableFilter<"JobExecution"> | string | null jobOutputScoreId?: StringNullableFilter<"JobExecution"> | string | null project?: XOR jobConfiguration?: XOR jobTemplate?: XOR | null } export type JobExecutionOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder jobConfigurationId?: SortOrder jobTemplateId?: SortOrderInput | SortOrder status?: SortOrder startTime?: SortOrderInput | SortOrder endTime?: SortOrderInput | SortOrder error?: SortOrderInput | SortOrder jobInputTraceId?: SortOrderInput | SortOrder jobInputTraceTimestamp?: SortOrderInput | SortOrder jobInputObservationId?: SortOrderInput | SortOrder jobInputDatasetItemId?: SortOrderInput | SortOrder jobOutputScoreId?: SortOrderInput | SortOrder project?: ProjectOrderByWithRelationInput jobConfiguration?: JobConfigurationOrderByWithRelationInput jobTemplate?: EvalTemplateOrderByWithRelationInput } export type JobExecutionWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: JobExecutionWhereInput | JobExecutionWhereInput[] OR?: JobExecutionWhereInput[] NOT?: JobExecutionWhereInput | JobExecutionWhereInput[] createdAt?: DateTimeFilter<"JobExecution"> | Date | string updatedAt?: DateTimeFilter<"JobExecution"> | Date | string projectId?: StringFilter<"JobExecution"> | string jobConfigurationId?: StringFilter<"JobExecution"> | string jobTemplateId?: StringNullableFilter<"JobExecution"> | string | null status?: EnumJobExecutionStatusFilter<"JobExecution"> | $Enums.JobExecutionStatus startTime?: DateTimeNullableFilter<"JobExecution"> | Date | string | null endTime?: DateTimeNullableFilter<"JobExecution"> | Date | string | null error?: StringNullableFilter<"JobExecution"> | string | null jobInputTraceId?: StringNullableFilter<"JobExecution"> | string | null jobInputTraceTimestamp?: DateTimeNullableFilter<"JobExecution"> | Date | string | null jobInputObservationId?: StringNullableFilter<"JobExecution"> | string | null jobInputDatasetItemId?: StringNullableFilter<"JobExecution"> | string | null jobOutputScoreId?: StringNullableFilter<"JobExecution"> | string | null project?: XOR jobConfiguration?: XOR jobTemplate?: XOR | null }, "id"> export type JobExecutionOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder jobConfigurationId?: SortOrder jobTemplateId?: SortOrderInput | SortOrder status?: SortOrder startTime?: SortOrderInput | SortOrder endTime?: SortOrderInput | SortOrder error?: SortOrderInput | SortOrder jobInputTraceId?: SortOrderInput | SortOrder jobInputTraceTimestamp?: SortOrderInput | SortOrder jobInputObservationId?: SortOrderInput | SortOrder jobInputDatasetItemId?: SortOrderInput | SortOrder jobOutputScoreId?: SortOrderInput | SortOrder _count?: JobExecutionCountOrderByAggregateInput _max?: JobExecutionMaxOrderByAggregateInput _min?: JobExecutionMinOrderByAggregateInput } export type JobExecutionScalarWhereWithAggregatesInput = { AND?: JobExecutionScalarWhereWithAggregatesInput | JobExecutionScalarWhereWithAggregatesInput[] OR?: JobExecutionScalarWhereWithAggregatesInput[] NOT?: JobExecutionScalarWhereWithAggregatesInput | JobExecutionScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"JobExecution"> | string createdAt?: DateTimeWithAggregatesFilter<"JobExecution"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"JobExecution"> | Date | string projectId?: StringWithAggregatesFilter<"JobExecution"> | string jobConfigurationId?: StringWithAggregatesFilter<"JobExecution"> | string jobTemplateId?: StringNullableWithAggregatesFilter<"JobExecution"> | string | null status?: EnumJobExecutionStatusWithAggregatesFilter<"JobExecution"> | $Enums.JobExecutionStatus startTime?: DateTimeNullableWithAggregatesFilter<"JobExecution"> | Date | string | null endTime?: DateTimeNullableWithAggregatesFilter<"JobExecution"> | Date | string | null error?: StringNullableWithAggregatesFilter<"JobExecution"> | string | null jobInputTraceId?: StringNullableWithAggregatesFilter<"JobExecution"> | string | null jobInputTraceTimestamp?: DateTimeNullableWithAggregatesFilter<"JobExecution"> | Date | string | null jobInputObservationId?: StringNullableWithAggregatesFilter<"JobExecution"> | string | null jobInputDatasetItemId?: StringNullableWithAggregatesFilter<"JobExecution"> | string | null jobOutputScoreId?: StringNullableWithAggregatesFilter<"JobExecution"> | string | null } export type DefaultLlmModelWhereInput = { AND?: DefaultLlmModelWhereInput | DefaultLlmModelWhereInput[] OR?: DefaultLlmModelWhereInput[] NOT?: DefaultLlmModelWhereInput | DefaultLlmModelWhereInput[] id?: StringFilter<"DefaultLlmModel"> | string createdAt?: DateTimeFilter<"DefaultLlmModel"> | Date | string updatedAt?: DateTimeFilter<"DefaultLlmModel"> | Date | string projectId?: StringFilter<"DefaultLlmModel"> | string llmApiKeyId?: StringFilter<"DefaultLlmModel"> | string provider?: StringFilter<"DefaultLlmModel"> | string adapter?: StringFilter<"DefaultLlmModel"> | string model?: StringFilter<"DefaultLlmModel"> | string modelParams?: JsonNullableFilter<"DefaultLlmModel"> Project?: XOR LlmApiKey?: XOR } export type DefaultLlmModelOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder llmApiKeyId?: SortOrder provider?: SortOrder adapter?: SortOrder model?: SortOrder modelParams?: SortOrderInput | SortOrder Project?: ProjectOrderByWithRelationInput LlmApiKey?: LlmApiKeysOrderByWithRelationInput } export type DefaultLlmModelWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId?: string AND?: DefaultLlmModelWhereInput | DefaultLlmModelWhereInput[] OR?: DefaultLlmModelWhereInput[] NOT?: DefaultLlmModelWhereInput | DefaultLlmModelWhereInput[] createdAt?: DateTimeFilter<"DefaultLlmModel"> | Date | string updatedAt?: DateTimeFilter<"DefaultLlmModel"> | Date | string llmApiKeyId?: StringFilter<"DefaultLlmModel"> | string provider?: StringFilter<"DefaultLlmModel"> | string adapter?: StringFilter<"DefaultLlmModel"> | string model?: StringFilter<"DefaultLlmModel"> | string modelParams?: JsonNullableFilter<"DefaultLlmModel"> Project?: XOR LlmApiKey?: XOR }, "id" | "projectId"> export type DefaultLlmModelOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder llmApiKeyId?: SortOrder provider?: SortOrder adapter?: SortOrder model?: SortOrder modelParams?: SortOrderInput | SortOrder _count?: DefaultLlmModelCountOrderByAggregateInput _max?: DefaultLlmModelMaxOrderByAggregateInput _min?: DefaultLlmModelMinOrderByAggregateInput } export type DefaultLlmModelScalarWhereWithAggregatesInput = { AND?: DefaultLlmModelScalarWhereWithAggregatesInput | DefaultLlmModelScalarWhereWithAggregatesInput[] OR?: DefaultLlmModelScalarWhereWithAggregatesInput[] NOT?: DefaultLlmModelScalarWhereWithAggregatesInput | DefaultLlmModelScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"DefaultLlmModel"> | string createdAt?: DateTimeWithAggregatesFilter<"DefaultLlmModel"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"DefaultLlmModel"> | Date | string projectId?: StringWithAggregatesFilter<"DefaultLlmModel"> | string llmApiKeyId?: StringWithAggregatesFilter<"DefaultLlmModel"> | string provider?: StringWithAggregatesFilter<"DefaultLlmModel"> | string adapter?: StringWithAggregatesFilter<"DefaultLlmModel"> | string model?: StringWithAggregatesFilter<"DefaultLlmModel"> | string modelParams?: JsonNullableWithAggregatesFilter<"DefaultLlmModel"> } export type SsoConfigWhereInput = { AND?: SsoConfigWhereInput | SsoConfigWhereInput[] OR?: SsoConfigWhereInput[] NOT?: SsoConfigWhereInput | SsoConfigWhereInput[] domain?: StringFilter<"SsoConfig"> | string createdAt?: DateTimeFilter<"SsoConfig"> | Date | string updatedAt?: DateTimeFilter<"SsoConfig"> | Date | string authProvider?: StringFilter<"SsoConfig"> | string authConfig?: JsonNullableFilter<"SsoConfig"> } export type SsoConfigOrderByWithRelationInput = { domain?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder authProvider?: SortOrder authConfig?: SortOrderInput | SortOrder } export type SsoConfigWhereUniqueInput = Prisma.AtLeast<{ domain?: string AND?: SsoConfigWhereInput | SsoConfigWhereInput[] OR?: SsoConfigWhereInput[] NOT?: SsoConfigWhereInput | SsoConfigWhereInput[] createdAt?: DateTimeFilter<"SsoConfig"> | Date | string updatedAt?: DateTimeFilter<"SsoConfig"> | Date | string authProvider?: StringFilter<"SsoConfig"> | string authConfig?: JsonNullableFilter<"SsoConfig"> }, "domain"> export type SsoConfigOrderByWithAggregationInput = { domain?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder authProvider?: SortOrder authConfig?: SortOrderInput | SortOrder _count?: SsoConfigCountOrderByAggregateInput _max?: SsoConfigMaxOrderByAggregateInput _min?: SsoConfigMinOrderByAggregateInput } export type SsoConfigScalarWhereWithAggregatesInput = { AND?: SsoConfigScalarWhereWithAggregatesInput | SsoConfigScalarWhereWithAggregatesInput[] OR?: SsoConfigScalarWhereWithAggregatesInput[] NOT?: SsoConfigScalarWhereWithAggregatesInput | SsoConfigScalarWhereWithAggregatesInput[] domain?: StringWithAggregatesFilter<"SsoConfig"> | string createdAt?: DateTimeWithAggregatesFilter<"SsoConfig"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"SsoConfig"> | Date | string authProvider?: StringWithAggregatesFilter<"SsoConfig"> | string authConfig?: JsonNullableWithAggregatesFilter<"SsoConfig"> } export type PosthogIntegrationWhereInput = { AND?: PosthogIntegrationWhereInput | PosthogIntegrationWhereInput[] OR?: PosthogIntegrationWhereInput[] NOT?: PosthogIntegrationWhereInput | PosthogIntegrationWhereInput[] projectId?: StringFilter<"PosthogIntegration"> | string encryptedPosthogApiKey?: StringFilter<"PosthogIntegration"> | string posthogHostName?: StringFilter<"PosthogIntegration"> | string lastSyncAt?: DateTimeNullableFilter<"PosthogIntegration"> | Date | string | null enabled?: BoolFilter<"PosthogIntegration"> | boolean createdAt?: DateTimeFilter<"PosthogIntegration"> | Date | string project?: XOR } export type PosthogIntegrationOrderByWithRelationInput = { projectId?: SortOrder encryptedPosthogApiKey?: SortOrder posthogHostName?: SortOrder lastSyncAt?: SortOrderInput | SortOrder enabled?: SortOrder createdAt?: SortOrder project?: ProjectOrderByWithRelationInput } export type PosthogIntegrationWhereUniqueInput = Prisma.AtLeast<{ projectId?: string AND?: PosthogIntegrationWhereInput | PosthogIntegrationWhereInput[] OR?: PosthogIntegrationWhereInput[] NOT?: PosthogIntegrationWhereInput | PosthogIntegrationWhereInput[] encryptedPosthogApiKey?: StringFilter<"PosthogIntegration"> | string posthogHostName?: StringFilter<"PosthogIntegration"> | string lastSyncAt?: DateTimeNullableFilter<"PosthogIntegration"> | Date | string | null enabled?: BoolFilter<"PosthogIntegration"> | boolean createdAt?: DateTimeFilter<"PosthogIntegration"> | Date | string project?: XOR }, "projectId"> export type PosthogIntegrationOrderByWithAggregationInput = { projectId?: SortOrder encryptedPosthogApiKey?: SortOrder posthogHostName?: SortOrder lastSyncAt?: SortOrderInput | SortOrder enabled?: SortOrder createdAt?: SortOrder _count?: PosthogIntegrationCountOrderByAggregateInput _max?: PosthogIntegrationMaxOrderByAggregateInput _min?: PosthogIntegrationMinOrderByAggregateInput } export type PosthogIntegrationScalarWhereWithAggregatesInput = { AND?: PosthogIntegrationScalarWhereWithAggregatesInput | PosthogIntegrationScalarWhereWithAggregatesInput[] OR?: PosthogIntegrationScalarWhereWithAggregatesInput[] NOT?: PosthogIntegrationScalarWhereWithAggregatesInput | PosthogIntegrationScalarWhereWithAggregatesInput[] projectId?: StringWithAggregatesFilter<"PosthogIntegration"> | string encryptedPosthogApiKey?: StringWithAggregatesFilter<"PosthogIntegration"> | string posthogHostName?: StringWithAggregatesFilter<"PosthogIntegration"> | string lastSyncAt?: DateTimeNullableWithAggregatesFilter<"PosthogIntegration"> | Date | string | null enabled?: BoolWithAggregatesFilter<"PosthogIntegration"> | boolean createdAt?: DateTimeWithAggregatesFilter<"PosthogIntegration"> | Date | string } export type BlobStorageIntegrationWhereInput = { AND?: BlobStorageIntegrationWhereInput | BlobStorageIntegrationWhereInput[] OR?: BlobStorageIntegrationWhereInput[] NOT?: BlobStorageIntegrationWhereInput | BlobStorageIntegrationWhereInput[] projectId?: StringFilter<"BlobStorageIntegration"> | string type?: EnumBlobStorageIntegrationTypeFilter<"BlobStorageIntegration"> | $Enums.BlobStorageIntegrationType bucketName?: StringFilter<"BlobStorageIntegration"> | string prefix?: StringFilter<"BlobStorageIntegration"> | string accessKeyId?: StringNullableFilter<"BlobStorageIntegration"> | string | null secretAccessKey?: StringNullableFilter<"BlobStorageIntegration"> | string | null region?: StringFilter<"BlobStorageIntegration"> | string endpoint?: StringNullableFilter<"BlobStorageIntegration"> | string | null forcePathStyle?: BoolFilter<"BlobStorageIntegration"> | boolean nextSyncAt?: DateTimeNullableFilter<"BlobStorageIntegration"> | Date | string | null lastSyncAt?: DateTimeNullableFilter<"BlobStorageIntegration"> | Date | string | null enabled?: BoolFilter<"BlobStorageIntegration"> | boolean exportFrequency?: StringFilter<"BlobStorageIntegration"> | string fileType?: EnumBlobStorageIntegrationFileTypeFilter<"BlobStorageIntegration"> | $Enums.BlobStorageIntegrationFileType exportMode?: EnumBlobStorageExportModeFilter<"BlobStorageIntegration"> | $Enums.BlobStorageExportMode exportStartDate?: DateTimeNullableFilter<"BlobStorageIntegration"> | Date | string | null createdAt?: DateTimeFilter<"BlobStorageIntegration"> | Date | string updatedAt?: DateTimeFilter<"BlobStorageIntegration"> | Date | string project?: XOR } export type BlobStorageIntegrationOrderByWithRelationInput = { projectId?: SortOrder type?: SortOrder bucketName?: SortOrder prefix?: SortOrder accessKeyId?: SortOrderInput | SortOrder secretAccessKey?: SortOrderInput | SortOrder region?: SortOrder endpoint?: SortOrderInput | SortOrder forcePathStyle?: SortOrder nextSyncAt?: SortOrderInput | SortOrder lastSyncAt?: SortOrderInput | SortOrder enabled?: SortOrder exportFrequency?: SortOrder fileType?: SortOrder exportMode?: SortOrder exportStartDate?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder project?: ProjectOrderByWithRelationInput } export type BlobStorageIntegrationWhereUniqueInput = Prisma.AtLeast<{ projectId?: string AND?: BlobStorageIntegrationWhereInput | BlobStorageIntegrationWhereInput[] OR?: BlobStorageIntegrationWhereInput[] NOT?: BlobStorageIntegrationWhereInput | BlobStorageIntegrationWhereInput[] type?: EnumBlobStorageIntegrationTypeFilter<"BlobStorageIntegration"> | $Enums.BlobStorageIntegrationType bucketName?: StringFilter<"BlobStorageIntegration"> | string prefix?: StringFilter<"BlobStorageIntegration"> | string accessKeyId?: StringNullableFilter<"BlobStorageIntegration"> | string | null secretAccessKey?: StringNullableFilter<"BlobStorageIntegration"> | string | null region?: StringFilter<"BlobStorageIntegration"> | string endpoint?: StringNullableFilter<"BlobStorageIntegration"> | string | null forcePathStyle?: BoolFilter<"BlobStorageIntegration"> | boolean nextSyncAt?: DateTimeNullableFilter<"BlobStorageIntegration"> | Date | string | null lastSyncAt?: DateTimeNullableFilter<"BlobStorageIntegration"> | Date | string | null enabled?: BoolFilter<"BlobStorageIntegration"> | boolean exportFrequency?: StringFilter<"BlobStorageIntegration"> | string fileType?: EnumBlobStorageIntegrationFileTypeFilter<"BlobStorageIntegration"> | $Enums.BlobStorageIntegrationFileType exportMode?: EnumBlobStorageExportModeFilter<"BlobStorageIntegration"> | $Enums.BlobStorageExportMode exportStartDate?: DateTimeNullableFilter<"BlobStorageIntegration"> | Date | string | null createdAt?: DateTimeFilter<"BlobStorageIntegration"> | Date | string updatedAt?: DateTimeFilter<"BlobStorageIntegration"> | Date | string project?: XOR }, "projectId"> export type BlobStorageIntegrationOrderByWithAggregationInput = { projectId?: SortOrder type?: SortOrder bucketName?: SortOrder prefix?: SortOrder accessKeyId?: SortOrderInput | SortOrder secretAccessKey?: SortOrderInput | SortOrder region?: SortOrder endpoint?: SortOrderInput | SortOrder forcePathStyle?: SortOrder nextSyncAt?: SortOrderInput | SortOrder lastSyncAt?: SortOrderInput | SortOrder enabled?: SortOrder exportFrequency?: SortOrder fileType?: SortOrder exportMode?: SortOrder exportStartDate?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: BlobStorageIntegrationCountOrderByAggregateInput _max?: BlobStorageIntegrationMaxOrderByAggregateInput _min?: BlobStorageIntegrationMinOrderByAggregateInput } export type BlobStorageIntegrationScalarWhereWithAggregatesInput = { AND?: BlobStorageIntegrationScalarWhereWithAggregatesInput | BlobStorageIntegrationScalarWhereWithAggregatesInput[] OR?: BlobStorageIntegrationScalarWhereWithAggregatesInput[] NOT?: BlobStorageIntegrationScalarWhereWithAggregatesInput | BlobStorageIntegrationScalarWhereWithAggregatesInput[] projectId?: StringWithAggregatesFilter<"BlobStorageIntegration"> | string type?: EnumBlobStorageIntegrationTypeWithAggregatesFilter<"BlobStorageIntegration"> | $Enums.BlobStorageIntegrationType bucketName?: StringWithAggregatesFilter<"BlobStorageIntegration"> | string prefix?: StringWithAggregatesFilter<"BlobStorageIntegration"> | string accessKeyId?: StringNullableWithAggregatesFilter<"BlobStorageIntegration"> | string | null secretAccessKey?: StringNullableWithAggregatesFilter<"BlobStorageIntegration"> | string | null region?: StringWithAggregatesFilter<"BlobStorageIntegration"> | string endpoint?: StringNullableWithAggregatesFilter<"BlobStorageIntegration"> | string | null forcePathStyle?: BoolWithAggregatesFilter<"BlobStorageIntegration"> | boolean nextSyncAt?: DateTimeNullableWithAggregatesFilter<"BlobStorageIntegration"> | Date | string | null lastSyncAt?: DateTimeNullableWithAggregatesFilter<"BlobStorageIntegration"> | Date | string | null enabled?: BoolWithAggregatesFilter<"BlobStorageIntegration"> | boolean exportFrequency?: StringWithAggregatesFilter<"BlobStorageIntegration"> | string fileType?: EnumBlobStorageIntegrationFileTypeWithAggregatesFilter<"BlobStorageIntegration"> | $Enums.BlobStorageIntegrationFileType exportMode?: EnumBlobStorageExportModeWithAggregatesFilter<"BlobStorageIntegration"> | $Enums.BlobStorageExportMode exportStartDate?: DateTimeNullableWithAggregatesFilter<"BlobStorageIntegration"> | Date | string | null createdAt?: DateTimeWithAggregatesFilter<"BlobStorageIntegration"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"BlobStorageIntegration"> | Date | string } export type BatchExportWhereInput = { AND?: BatchExportWhereInput | BatchExportWhereInput[] OR?: BatchExportWhereInput[] NOT?: BatchExportWhereInput | BatchExportWhereInput[] id?: StringFilter<"BatchExport"> | string createdAt?: DateTimeFilter<"BatchExport"> | Date | string updatedAt?: DateTimeFilter<"BatchExport"> | Date | string projectId?: StringFilter<"BatchExport"> | string userId?: StringFilter<"BatchExport"> | string finishedAt?: DateTimeNullableFilter<"BatchExport"> | Date | string | null expiresAt?: DateTimeNullableFilter<"BatchExport"> | Date | string | null name?: StringFilter<"BatchExport"> | string status?: StringFilter<"BatchExport"> | string query?: JsonFilter<"BatchExport"> format?: StringFilter<"BatchExport"> | string url?: StringNullableFilter<"BatchExport"> | string | null log?: StringNullableFilter<"BatchExport"> | string | null project?: XOR } export type BatchExportOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder userId?: SortOrder finishedAt?: SortOrderInput | SortOrder expiresAt?: SortOrderInput | SortOrder name?: SortOrder status?: SortOrder query?: SortOrder format?: SortOrder url?: SortOrderInput | SortOrder log?: SortOrderInput | SortOrder project?: ProjectOrderByWithRelationInput } export type BatchExportWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: BatchExportWhereInput | BatchExportWhereInput[] OR?: BatchExportWhereInput[] NOT?: BatchExportWhereInput | BatchExportWhereInput[] createdAt?: DateTimeFilter<"BatchExport"> | Date | string updatedAt?: DateTimeFilter<"BatchExport"> | Date | string projectId?: StringFilter<"BatchExport"> | string userId?: StringFilter<"BatchExport"> | string finishedAt?: DateTimeNullableFilter<"BatchExport"> | Date | string | null expiresAt?: DateTimeNullableFilter<"BatchExport"> | Date | string | null name?: StringFilter<"BatchExport"> | string status?: StringFilter<"BatchExport"> | string query?: JsonFilter<"BatchExport"> format?: StringFilter<"BatchExport"> | string url?: StringNullableFilter<"BatchExport"> | string | null log?: StringNullableFilter<"BatchExport"> | string | null project?: XOR }, "id"> export type BatchExportOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder userId?: SortOrder finishedAt?: SortOrderInput | SortOrder expiresAt?: SortOrderInput | SortOrder name?: SortOrder status?: SortOrder query?: SortOrder format?: SortOrder url?: SortOrderInput | SortOrder log?: SortOrderInput | SortOrder _count?: BatchExportCountOrderByAggregateInput _max?: BatchExportMaxOrderByAggregateInput _min?: BatchExportMinOrderByAggregateInput } export type BatchExportScalarWhereWithAggregatesInput = { AND?: BatchExportScalarWhereWithAggregatesInput | BatchExportScalarWhereWithAggregatesInput[] OR?: BatchExportScalarWhereWithAggregatesInput[] NOT?: BatchExportScalarWhereWithAggregatesInput | BatchExportScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"BatchExport"> | string createdAt?: DateTimeWithAggregatesFilter<"BatchExport"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"BatchExport"> | Date | string projectId?: StringWithAggregatesFilter<"BatchExport"> | string userId?: StringWithAggregatesFilter<"BatchExport"> | string finishedAt?: DateTimeNullableWithAggregatesFilter<"BatchExport"> | Date | string | null expiresAt?: DateTimeNullableWithAggregatesFilter<"BatchExport"> | Date | string | null name?: StringWithAggregatesFilter<"BatchExport"> | string status?: StringWithAggregatesFilter<"BatchExport"> | string query?: JsonWithAggregatesFilter<"BatchExport"> format?: StringWithAggregatesFilter<"BatchExport"> | string url?: StringNullableWithAggregatesFilter<"BatchExport"> | string | null log?: StringNullableWithAggregatesFilter<"BatchExport"> | string | null } export type MediaWhereInput = { AND?: MediaWhereInput | MediaWhereInput[] OR?: MediaWhereInput[] NOT?: MediaWhereInput | MediaWhereInput[] id?: StringFilter<"Media"> | string sha256Hash?: StringFilter<"Media"> | string projectId?: StringFilter<"Media"> | string createdAt?: DateTimeFilter<"Media"> | Date | string updatedAt?: DateTimeFilter<"Media"> | Date | string uploadedAt?: DateTimeNullableFilter<"Media"> | Date | string | null uploadHttpStatus?: IntNullableFilter<"Media"> | number | null uploadHttpError?: StringNullableFilter<"Media"> | string | null bucketPath?: StringFilter<"Media"> | string bucketName?: StringFilter<"Media"> | string contentType?: StringFilter<"Media"> | string contentLength?: BigIntFilter<"Media"> | bigint | number project?: XOR TraceMedia?: TraceMediaListRelationFilter ObservationMedia?: ObservationMediaListRelationFilter } export type MediaOrderByWithRelationInput = { id?: SortOrder sha256Hash?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder uploadedAt?: SortOrderInput | SortOrder uploadHttpStatus?: SortOrderInput | SortOrder uploadHttpError?: SortOrderInput | SortOrder bucketPath?: SortOrder bucketName?: SortOrder contentType?: SortOrder contentLength?: SortOrder project?: ProjectOrderByWithRelationInput TraceMedia?: TraceMediaOrderByRelationAggregateInput ObservationMedia?: ObservationMediaOrderByRelationAggregateInput } export type MediaWhereUniqueInput = Prisma.AtLeast<{ projectId_id?: MediaProjectIdIdCompoundUniqueInput projectId_sha256Hash?: MediaProjectIdSha256HashCompoundUniqueInput AND?: MediaWhereInput | MediaWhereInput[] OR?: MediaWhereInput[] NOT?: MediaWhereInput | MediaWhereInput[] id?: StringFilter<"Media"> | string sha256Hash?: StringFilter<"Media"> | string projectId?: StringFilter<"Media"> | string createdAt?: DateTimeFilter<"Media"> | Date | string updatedAt?: DateTimeFilter<"Media"> | Date | string uploadedAt?: DateTimeNullableFilter<"Media"> | Date | string | null uploadHttpStatus?: IntNullableFilter<"Media"> | number | null uploadHttpError?: StringNullableFilter<"Media"> | string | null bucketPath?: StringFilter<"Media"> | string bucketName?: StringFilter<"Media"> | string contentType?: StringFilter<"Media"> | string contentLength?: BigIntFilter<"Media"> | bigint | number project?: XOR TraceMedia?: TraceMediaListRelationFilter ObservationMedia?: ObservationMediaListRelationFilter }, "projectId_id" | "projectId_sha256Hash"> export type MediaOrderByWithAggregationInput = { id?: SortOrder sha256Hash?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder uploadedAt?: SortOrderInput | SortOrder uploadHttpStatus?: SortOrderInput | SortOrder uploadHttpError?: SortOrderInput | SortOrder bucketPath?: SortOrder bucketName?: SortOrder contentType?: SortOrder contentLength?: SortOrder _count?: MediaCountOrderByAggregateInput _avg?: MediaAvgOrderByAggregateInput _max?: MediaMaxOrderByAggregateInput _min?: MediaMinOrderByAggregateInput _sum?: MediaSumOrderByAggregateInput } export type MediaScalarWhereWithAggregatesInput = { AND?: MediaScalarWhereWithAggregatesInput | MediaScalarWhereWithAggregatesInput[] OR?: MediaScalarWhereWithAggregatesInput[] NOT?: MediaScalarWhereWithAggregatesInput | MediaScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Media"> | string sha256Hash?: StringWithAggregatesFilter<"Media"> | string projectId?: StringWithAggregatesFilter<"Media"> | string createdAt?: DateTimeWithAggregatesFilter<"Media"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Media"> | Date | string uploadedAt?: DateTimeNullableWithAggregatesFilter<"Media"> | Date | string | null uploadHttpStatus?: IntNullableWithAggregatesFilter<"Media"> | number | null uploadHttpError?: StringNullableWithAggregatesFilter<"Media"> | string | null bucketPath?: StringWithAggregatesFilter<"Media"> | string bucketName?: StringWithAggregatesFilter<"Media"> | string contentType?: StringWithAggregatesFilter<"Media"> | string contentLength?: BigIntWithAggregatesFilter<"Media"> | bigint | number } export type TraceMediaWhereInput = { AND?: TraceMediaWhereInput | TraceMediaWhereInput[] OR?: TraceMediaWhereInput[] NOT?: TraceMediaWhereInput | TraceMediaWhereInput[] id?: StringFilter<"TraceMedia"> | string projectId?: StringFilter<"TraceMedia"> | string createdAt?: DateTimeFilter<"TraceMedia"> | Date | string updatedAt?: DateTimeFilter<"TraceMedia"> | Date | string mediaId?: StringFilter<"TraceMedia"> | string traceId?: StringFilter<"TraceMedia"> | string field?: StringFilter<"TraceMedia"> | string project?: XOR media?: XOR } export type TraceMediaOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder mediaId?: SortOrder traceId?: SortOrder field?: SortOrder project?: ProjectOrderByWithRelationInput media?: MediaOrderByWithRelationInput } export type TraceMediaWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId_traceId_mediaId_field?: TraceMediaProjectIdTraceIdMediaIdFieldCompoundUniqueInput AND?: TraceMediaWhereInput | TraceMediaWhereInput[] OR?: TraceMediaWhereInput[] NOT?: TraceMediaWhereInput | TraceMediaWhereInput[] projectId?: StringFilter<"TraceMedia"> | string createdAt?: DateTimeFilter<"TraceMedia"> | Date | string updatedAt?: DateTimeFilter<"TraceMedia"> | Date | string mediaId?: StringFilter<"TraceMedia"> | string traceId?: StringFilter<"TraceMedia"> | string field?: StringFilter<"TraceMedia"> | string project?: XOR media?: XOR }, "id" | "projectId_traceId_mediaId_field"> export type TraceMediaOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder mediaId?: SortOrder traceId?: SortOrder field?: SortOrder _count?: TraceMediaCountOrderByAggregateInput _max?: TraceMediaMaxOrderByAggregateInput _min?: TraceMediaMinOrderByAggregateInput } export type TraceMediaScalarWhereWithAggregatesInput = { AND?: TraceMediaScalarWhereWithAggregatesInput | TraceMediaScalarWhereWithAggregatesInput[] OR?: TraceMediaScalarWhereWithAggregatesInput[] NOT?: TraceMediaScalarWhereWithAggregatesInput | TraceMediaScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"TraceMedia"> | string projectId?: StringWithAggregatesFilter<"TraceMedia"> | string createdAt?: DateTimeWithAggregatesFilter<"TraceMedia"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"TraceMedia"> | Date | string mediaId?: StringWithAggregatesFilter<"TraceMedia"> | string traceId?: StringWithAggregatesFilter<"TraceMedia"> | string field?: StringWithAggregatesFilter<"TraceMedia"> | string } export type ObservationMediaWhereInput = { AND?: ObservationMediaWhereInput | ObservationMediaWhereInput[] OR?: ObservationMediaWhereInput[] NOT?: ObservationMediaWhereInput | ObservationMediaWhereInput[] id?: StringFilter<"ObservationMedia"> | string projectId?: StringFilter<"ObservationMedia"> | string createdAt?: DateTimeFilter<"ObservationMedia"> | Date | string updatedAt?: DateTimeFilter<"ObservationMedia"> | Date | string mediaId?: StringFilter<"ObservationMedia"> | string traceId?: StringFilter<"ObservationMedia"> | string observationId?: StringFilter<"ObservationMedia"> | string field?: StringFilter<"ObservationMedia"> | string project?: XOR media?: XOR } export type ObservationMediaOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder mediaId?: SortOrder traceId?: SortOrder observationId?: SortOrder field?: SortOrder project?: ProjectOrderByWithRelationInput media?: MediaOrderByWithRelationInput } export type ObservationMediaWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId_traceId_observationId_mediaId_field?: ObservationMediaProjectIdTraceIdObservationIdMediaIdFieldCompoundUniqueInput AND?: ObservationMediaWhereInput | ObservationMediaWhereInput[] OR?: ObservationMediaWhereInput[] NOT?: ObservationMediaWhereInput | ObservationMediaWhereInput[] projectId?: StringFilter<"ObservationMedia"> | string createdAt?: DateTimeFilter<"ObservationMedia"> | Date | string updatedAt?: DateTimeFilter<"ObservationMedia"> | Date | string mediaId?: StringFilter<"ObservationMedia"> | string traceId?: StringFilter<"ObservationMedia"> | string observationId?: StringFilter<"ObservationMedia"> | string field?: StringFilter<"ObservationMedia"> | string project?: XOR media?: XOR }, "id" | "projectId_traceId_observationId_mediaId_field"> export type ObservationMediaOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder mediaId?: SortOrder traceId?: SortOrder observationId?: SortOrder field?: SortOrder _count?: ObservationMediaCountOrderByAggregateInput _max?: ObservationMediaMaxOrderByAggregateInput _min?: ObservationMediaMinOrderByAggregateInput } export type ObservationMediaScalarWhereWithAggregatesInput = { AND?: ObservationMediaScalarWhereWithAggregatesInput | ObservationMediaScalarWhereWithAggregatesInput[] OR?: ObservationMediaScalarWhereWithAggregatesInput[] NOT?: ObservationMediaScalarWhereWithAggregatesInput | ObservationMediaScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"ObservationMedia"> | string projectId?: StringWithAggregatesFilter<"ObservationMedia"> | string createdAt?: DateTimeWithAggregatesFilter<"ObservationMedia"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"ObservationMedia"> | Date | string mediaId?: StringWithAggregatesFilter<"ObservationMedia"> | string traceId?: StringWithAggregatesFilter<"ObservationMedia"> | string observationId?: StringWithAggregatesFilter<"ObservationMedia"> | string field?: StringWithAggregatesFilter<"ObservationMedia"> | string } export type BillingMeterBackupWhereInput = { AND?: BillingMeterBackupWhereInput | BillingMeterBackupWhereInput[] OR?: BillingMeterBackupWhereInput[] NOT?: BillingMeterBackupWhereInput | BillingMeterBackupWhereInput[] stripeCustomerId?: StringFilter<"BillingMeterBackup"> | string meterId?: StringFilter<"BillingMeterBackup"> | string startTime?: DateTimeFilter<"BillingMeterBackup"> | Date | string endTime?: DateTimeFilter<"BillingMeterBackup"> | Date | string aggregatedValue?: IntFilter<"BillingMeterBackup"> | number eventName?: StringFilter<"BillingMeterBackup"> | string orgId?: StringFilter<"BillingMeterBackup"> | string createdAt?: DateTimeFilter<"BillingMeterBackup"> | Date | string updatedAt?: DateTimeFilter<"BillingMeterBackup"> | Date | string } export type BillingMeterBackupOrderByWithRelationInput = { stripeCustomerId?: SortOrder meterId?: SortOrder startTime?: SortOrder endTime?: SortOrder aggregatedValue?: SortOrder eventName?: SortOrder orgId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type BillingMeterBackupWhereUniqueInput = Prisma.AtLeast<{ stripeCustomerId_meterId_startTime_endTime?: BillingMeterBackupStripeCustomerIdMeterIdStartTimeEndTimeCompoundUniqueInput AND?: BillingMeterBackupWhereInput | BillingMeterBackupWhereInput[] OR?: BillingMeterBackupWhereInput[] NOT?: BillingMeterBackupWhereInput | BillingMeterBackupWhereInput[] stripeCustomerId?: StringFilter<"BillingMeterBackup"> | string meterId?: StringFilter<"BillingMeterBackup"> | string startTime?: DateTimeFilter<"BillingMeterBackup"> | Date | string endTime?: DateTimeFilter<"BillingMeterBackup"> | Date | string aggregatedValue?: IntFilter<"BillingMeterBackup"> | number eventName?: StringFilter<"BillingMeterBackup"> | string orgId?: StringFilter<"BillingMeterBackup"> | string createdAt?: DateTimeFilter<"BillingMeterBackup"> | Date | string updatedAt?: DateTimeFilter<"BillingMeterBackup"> | Date | string }, "stripeCustomerId_meterId_startTime_endTime"> export type BillingMeterBackupOrderByWithAggregationInput = { stripeCustomerId?: SortOrder meterId?: SortOrder startTime?: SortOrder endTime?: SortOrder aggregatedValue?: SortOrder eventName?: SortOrder orgId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: BillingMeterBackupCountOrderByAggregateInput _avg?: BillingMeterBackupAvgOrderByAggregateInput _max?: BillingMeterBackupMaxOrderByAggregateInput _min?: BillingMeterBackupMinOrderByAggregateInput _sum?: BillingMeterBackupSumOrderByAggregateInput } export type BillingMeterBackupScalarWhereWithAggregatesInput = { AND?: BillingMeterBackupScalarWhereWithAggregatesInput | BillingMeterBackupScalarWhereWithAggregatesInput[] OR?: BillingMeterBackupScalarWhereWithAggregatesInput[] NOT?: BillingMeterBackupScalarWhereWithAggregatesInput | BillingMeterBackupScalarWhereWithAggregatesInput[] stripeCustomerId?: StringWithAggregatesFilter<"BillingMeterBackup"> | string meterId?: StringWithAggregatesFilter<"BillingMeterBackup"> | string startTime?: DateTimeWithAggregatesFilter<"BillingMeterBackup"> | Date | string endTime?: DateTimeWithAggregatesFilter<"BillingMeterBackup"> | Date | string aggregatedValue?: IntWithAggregatesFilter<"BillingMeterBackup"> | number eventName?: StringWithAggregatesFilter<"BillingMeterBackup"> | string orgId?: StringWithAggregatesFilter<"BillingMeterBackup"> | string createdAt?: DateTimeWithAggregatesFilter<"BillingMeterBackup"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"BillingMeterBackup"> | Date | string } export type LlmSchemaWhereInput = { AND?: LlmSchemaWhereInput | LlmSchemaWhereInput[] OR?: LlmSchemaWhereInput[] NOT?: LlmSchemaWhereInput | LlmSchemaWhereInput[] id?: StringFilter<"LlmSchema"> | string createdAt?: DateTimeFilter<"LlmSchema"> | Date | string updatedAt?: DateTimeFilter<"LlmSchema"> | Date | string projectId?: StringFilter<"LlmSchema"> | string name?: StringFilter<"LlmSchema"> | string description?: StringFilter<"LlmSchema"> | string schema?: JsonFilter<"LlmSchema"> project?: XOR } export type LlmSchemaOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder schema?: SortOrder project?: ProjectOrderByWithRelationInput } export type LlmSchemaWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId_name?: LlmSchemaProjectIdNameCompoundUniqueInput AND?: LlmSchemaWhereInput | LlmSchemaWhereInput[] OR?: LlmSchemaWhereInput[] NOT?: LlmSchemaWhereInput | LlmSchemaWhereInput[] createdAt?: DateTimeFilter<"LlmSchema"> | Date | string updatedAt?: DateTimeFilter<"LlmSchema"> | Date | string projectId?: StringFilter<"LlmSchema"> | string name?: StringFilter<"LlmSchema"> | string description?: StringFilter<"LlmSchema"> | string schema?: JsonFilter<"LlmSchema"> project?: XOR }, "id" | "projectId_name"> export type LlmSchemaOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder schema?: SortOrder _count?: LlmSchemaCountOrderByAggregateInput _max?: LlmSchemaMaxOrderByAggregateInput _min?: LlmSchemaMinOrderByAggregateInput } export type LlmSchemaScalarWhereWithAggregatesInput = { AND?: LlmSchemaScalarWhereWithAggregatesInput | LlmSchemaScalarWhereWithAggregatesInput[] OR?: LlmSchemaScalarWhereWithAggregatesInput[] NOT?: LlmSchemaScalarWhereWithAggregatesInput | LlmSchemaScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"LlmSchema"> | string createdAt?: DateTimeWithAggregatesFilter<"LlmSchema"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"LlmSchema"> | Date | string projectId?: StringWithAggregatesFilter<"LlmSchema"> | string name?: StringWithAggregatesFilter<"LlmSchema"> | string description?: StringWithAggregatesFilter<"LlmSchema"> | string schema?: JsonWithAggregatesFilter<"LlmSchema"> } export type LlmToolWhereInput = { AND?: LlmToolWhereInput | LlmToolWhereInput[] OR?: LlmToolWhereInput[] NOT?: LlmToolWhereInput | LlmToolWhereInput[] id?: StringFilter<"LlmTool"> | string createdAt?: DateTimeFilter<"LlmTool"> | Date | string updatedAt?: DateTimeFilter<"LlmTool"> | Date | string projectId?: StringFilter<"LlmTool"> | string name?: StringFilter<"LlmTool"> | string description?: StringFilter<"LlmTool"> | string parameters?: JsonFilter<"LlmTool"> project?: XOR } export type LlmToolOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder parameters?: SortOrder project?: ProjectOrderByWithRelationInput } export type LlmToolWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId_name?: LlmToolProjectIdNameCompoundUniqueInput AND?: LlmToolWhereInput | LlmToolWhereInput[] OR?: LlmToolWhereInput[] NOT?: LlmToolWhereInput | LlmToolWhereInput[] createdAt?: DateTimeFilter<"LlmTool"> | Date | string updatedAt?: DateTimeFilter<"LlmTool"> | Date | string projectId?: StringFilter<"LlmTool"> | string name?: StringFilter<"LlmTool"> | string description?: StringFilter<"LlmTool"> | string parameters?: JsonFilter<"LlmTool"> project?: XOR }, "id" | "projectId_name"> export type LlmToolOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder parameters?: SortOrder _count?: LlmToolCountOrderByAggregateInput _max?: LlmToolMaxOrderByAggregateInput _min?: LlmToolMinOrderByAggregateInput } export type LlmToolScalarWhereWithAggregatesInput = { AND?: LlmToolScalarWhereWithAggregatesInput | LlmToolScalarWhereWithAggregatesInput[] OR?: LlmToolScalarWhereWithAggregatesInput[] NOT?: LlmToolScalarWhereWithAggregatesInput | LlmToolScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"LlmTool"> | string createdAt?: DateTimeWithAggregatesFilter<"LlmTool"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"LlmTool"> | Date | string projectId?: StringWithAggregatesFilter<"LlmTool"> | string name?: StringWithAggregatesFilter<"LlmTool"> | string description?: StringWithAggregatesFilter<"LlmTool"> | string parameters?: JsonWithAggregatesFilter<"LlmTool"> } export type DashboardWhereInput = { AND?: DashboardWhereInput | DashboardWhereInput[] OR?: DashboardWhereInput[] NOT?: DashboardWhereInput | DashboardWhereInput[] id?: StringFilter<"Dashboard"> | string createdAt?: DateTimeFilter<"Dashboard"> | Date | string updatedAt?: DateTimeFilter<"Dashboard"> | Date | string createdBy?: StringNullableFilter<"Dashboard"> | string | null updatedBy?: StringNullableFilter<"Dashboard"> | string | null projectId?: StringNullableFilter<"Dashboard"> | string | null name?: StringFilter<"Dashboard"> | string description?: StringFilter<"Dashboard"> | string definition?: JsonFilter<"Dashboard"> filters?: JsonFilter<"Dashboard"> createdByUser?: XOR | null updatedByUser?: XOR | null project?: XOR | null } export type DashboardOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder createdBy?: SortOrderInput | SortOrder updatedBy?: SortOrderInput | SortOrder projectId?: SortOrderInput | SortOrder name?: SortOrder description?: SortOrder definition?: SortOrder filters?: SortOrder createdByUser?: UserOrderByWithRelationInput updatedByUser?: UserOrderByWithRelationInput project?: ProjectOrderByWithRelationInput } export type DashboardWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: DashboardWhereInput | DashboardWhereInput[] OR?: DashboardWhereInput[] NOT?: DashboardWhereInput | DashboardWhereInput[] createdAt?: DateTimeFilter<"Dashboard"> | Date | string updatedAt?: DateTimeFilter<"Dashboard"> | Date | string createdBy?: StringNullableFilter<"Dashboard"> | string | null updatedBy?: StringNullableFilter<"Dashboard"> | string | null projectId?: StringNullableFilter<"Dashboard"> | string | null name?: StringFilter<"Dashboard"> | string description?: StringFilter<"Dashboard"> | string definition?: JsonFilter<"Dashboard"> filters?: JsonFilter<"Dashboard"> createdByUser?: XOR | null updatedByUser?: XOR | null project?: XOR | null }, "id"> export type DashboardOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder createdBy?: SortOrderInput | SortOrder updatedBy?: SortOrderInput | SortOrder projectId?: SortOrderInput | SortOrder name?: SortOrder description?: SortOrder definition?: SortOrder filters?: SortOrder _count?: DashboardCountOrderByAggregateInput _max?: DashboardMaxOrderByAggregateInput _min?: DashboardMinOrderByAggregateInput } export type DashboardScalarWhereWithAggregatesInput = { AND?: DashboardScalarWhereWithAggregatesInput | DashboardScalarWhereWithAggregatesInput[] OR?: DashboardScalarWhereWithAggregatesInput[] NOT?: DashboardScalarWhereWithAggregatesInput | DashboardScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Dashboard"> | string createdAt?: DateTimeWithAggregatesFilter<"Dashboard"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Dashboard"> | Date | string createdBy?: StringNullableWithAggregatesFilter<"Dashboard"> | string | null updatedBy?: StringNullableWithAggregatesFilter<"Dashboard"> | string | null projectId?: StringNullableWithAggregatesFilter<"Dashboard"> | string | null name?: StringWithAggregatesFilter<"Dashboard"> | string description?: StringWithAggregatesFilter<"Dashboard"> | string definition?: JsonWithAggregatesFilter<"Dashboard"> filters?: JsonWithAggregatesFilter<"Dashboard"> } export type DashboardWidgetWhereInput = { AND?: DashboardWidgetWhereInput | DashboardWidgetWhereInput[] OR?: DashboardWidgetWhereInput[] NOT?: DashboardWidgetWhereInput | DashboardWidgetWhereInput[] id?: StringFilter<"DashboardWidget"> | string createdAt?: DateTimeFilter<"DashboardWidget"> | Date | string updatedAt?: DateTimeFilter<"DashboardWidget"> | Date | string createdBy?: StringNullableFilter<"DashboardWidget"> | string | null updatedBy?: StringNullableFilter<"DashboardWidget"> | string | null projectId?: StringNullableFilter<"DashboardWidget"> | string | null name?: StringFilter<"DashboardWidget"> | string description?: StringFilter<"DashboardWidget"> | string view?: EnumDashboardWidgetViewsFilter<"DashboardWidget"> | $Enums.DashboardWidgetViews dimensions?: JsonFilter<"DashboardWidget"> metrics?: JsonFilter<"DashboardWidget"> filters?: JsonFilter<"DashboardWidget"> chartType?: EnumDashboardWidgetChartTypeFilter<"DashboardWidget"> | $Enums.DashboardWidgetChartType chartConfig?: JsonFilter<"DashboardWidget"> createdByUser?: XOR | null updatedByUser?: XOR | null project?: XOR | null } export type DashboardWidgetOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder createdBy?: SortOrderInput | SortOrder updatedBy?: SortOrderInput | SortOrder projectId?: SortOrderInput | SortOrder name?: SortOrder description?: SortOrder view?: SortOrder dimensions?: SortOrder metrics?: SortOrder filters?: SortOrder chartType?: SortOrder chartConfig?: SortOrder createdByUser?: UserOrderByWithRelationInput updatedByUser?: UserOrderByWithRelationInput project?: ProjectOrderByWithRelationInput } export type DashboardWidgetWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: DashboardWidgetWhereInput | DashboardWidgetWhereInput[] OR?: DashboardWidgetWhereInput[] NOT?: DashboardWidgetWhereInput | DashboardWidgetWhereInput[] createdAt?: DateTimeFilter<"DashboardWidget"> | Date | string updatedAt?: DateTimeFilter<"DashboardWidget"> | Date | string createdBy?: StringNullableFilter<"DashboardWidget"> | string | null updatedBy?: StringNullableFilter<"DashboardWidget"> | string | null projectId?: StringNullableFilter<"DashboardWidget"> | string | null name?: StringFilter<"DashboardWidget"> | string description?: StringFilter<"DashboardWidget"> | string view?: EnumDashboardWidgetViewsFilter<"DashboardWidget"> | $Enums.DashboardWidgetViews dimensions?: JsonFilter<"DashboardWidget"> metrics?: JsonFilter<"DashboardWidget"> filters?: JsonFilter<"DashboardWidget"> chartType?: EnumDashboardWidgetChartTypeFilter<"DashboardWidget"> | $Enums.DashboardWidgetChartType chartConfig?: JsonFilter<"DashboardWidget"> createdByUser?: XOR | null updatedByUser?: XOR | null project?: XOR | null }, "id"> export type DashboardWidgetOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder createdBy?: SortOrderInput | SortOrder updatedBy?: SortOrderInput | SortOrder projectId?: SortOrderInput | SortOrder name?: SortOrder description?: SortOrder view?: SortOrder dimensions?: SortOrder metrics?: SortOrder filters?: SortOrder chartType?: SortOrder chartConfig?: SortOrder _count?: DashboardWidgetCountOrderByAggregateInput _max?: DashboardWidgetMaxOrderByAggregateInput _min?: DashboardWidgetMinOrderByAggregateInput } export type DashboardWidgetScalarWhereWithAggregatesInput = { AND?: DashboardWidgetScalarWhereWithAggregatesInput | DashboardWidgetScalarWhereWithAggregatesInput[] OR?: DashboardWidgetScalarWhereWithAggregatesInput[] NOT?: DashboardWidgetScalarWhereWithAggregatesInput | DashboardWidgetScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"DashboardWidget"> | string createdAt?: DateTimeWithAggregatesFilter<"DashboardWidget"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"DashboardWidget"> | Date | string createdBy?: StringNullableWithAggregatesFilter<"DashboardWidget"> | string | null updatedBy?: StringNullableWithAggregatesFilter<"DashboardWidget"> | string | null projectId?: StringNullableWithAggregatesFilter<"DashboardWidget"> | string | null name?: StringWithAggregatesFilter<"DashboardWidget"> | string description?: StringWithAggregatesFilter<"DashboardWidget"> | string view?: EnumDashboardWidgetViewsWithAggregatesFilter<"DashboardWidget"> | $Enums.DashboardWidgetViews dimensions?: JsonWithAggregatesFilter<"DashboardWidget"> metrics?: JsonWithAggregatesFilter<"DashboardWidget"> filters?: JsonWithAggregatesFilter<"DashboardWidget"> chartType?: EnumDashboardWidgetChartTypeWithAggregatesFilter<"DashboardWidget"> | $Enums.DashboardWidgetChartType chartConfig?: JsonWithAggregatesFilter<"DashboardWidget"> } export type TableViewPresetWhereInput = { AND?: TableViewPresetWhereInput | TableViewPresetWhereInput[] OR?: TableViewPresetWhereInput[] NOT?: TableViewPresetWhereInput | TableViewPresetWhereInput[] id?: StringFilter<"TableViewPreset"> | string createdAt?: DateTimeFilter<"TableViewPreset"> | Date | string updatedAt?: DateTimeFilter<"TableViewPreset"> | Date | string projectId?: StringFilter<"TableViewPreset"> | string name?: StringFilter<"TableViewPreset"> | string tableName?: StringFilter<"TableViewPreset"> | string createdBy?: StringNullableFilter<"TableViewPreset"> | string | null updatedBy?: StringNullableFilter<"TableViewPreset"> | string | null filters?: JsonFilter<"TableViewPreset"> columnOrder?: JsonFilter<"TableViewPreset"> columnVisibility?: JsonFilter<"TableViewPreset"> searchQuery?: StringNullableFilter<"TableViewPreset"> | string | null orderBy?: JsonNullableFilter<"TableViewPreset"> project?: XOR createdByUser?: XOR | null updatedByUser?: XOR | null } export type TableViewPresetOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder tableName?: SortOrder createdBy?: SortOrderInput | SortOrder updatedBy?: SortOrderInput | SortOrder filters?: SortOrder columnOrder?: SortOrder columnVisibility?: SortOrder searchQuery?: SortOrderInput | SortOrder orderBy?: SortOrderInput | SortOrder project?: ProjectOrderByWithRelationInput createdByUser?: UserOrderByWithRelationInput updatedByUser?: UserOrderByWithRelationInput } export type TableViewPresetWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId_tableName_name?: TableViewPresetProjectIdTableNameNameCompoundUniqueInput AND?: TableViewPresetWhereInput | TableViewPresetWhereInput[] OR?: TableViewPresetWhereInput[] NOT?: TableViewPresetWhereInput | TableViewPresetWhereInput[] createdAt?: DateTimeFilter<"TableViewPreset"> | Date | string updatedAt?: DateTimeFilter<"TableViewPreset"> | Date | string projectId?: StringFilter<"TableViewPreset"> | string name?: StringFilter<"TableViewPreset"> | string tableName?: StringFilter<"TableViewPreset"> | string createdBy?: StringNullableFilter<"TableViewPreset"> | string | null updatedBy?: StringNullableFilter<"TableViewPreset"> | string | null filters?: JsonFilter<"TableViewPreset"> columnOrder?: JsonFilter<"TableViewPreset"> columnVisibility?: JsonFilter<"TableViewPreset"> searchQuery?: StringNullableFilter<"TableViewPreset"> | string | null orderBy?: JsonNullableFilter<"TableViewPreset"> project?: XOR createdByUser?: XOR | null updatedByUser?: XOR | null }, "id" | "projectId_tableName_name"> export type TableViewPresetOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder tableName?: SortOrder createdBy?: SortOrderInput | SortOrder updatedBy?: SortOrderInput | SortOrder filters?: SortOrder columnOrder?: SortOrder columnVisibility?: SortOrder searchQuery?: SortOrderInput | SortOrder orderBy?: SortOrderInput | SortOrder _count?: TableViewPresetCountOrderByAggregateInput _max?: TableViewPresetMaxOrderByAggregateInput _min?: TableViewPresetMinOrderByAggregateInput } export type TableViewPresetScalarWhereWithAggregatesInput = { AND?: TableViewPresetScalarWhereWithAggregatesInput | TableViewPresetScalarWhereWithAggregatesInput[] OR?: TableViewPresetScalarWhereWithAggregatesInput[] NOT?: TableViewPresetScalarWhereWithAggregatesInput | TableViewPresetScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"TableViewPreset"> | string createdAt?: DateTimeWithAggregatesFilter<"TableViewPreset"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"TableViewPreset"> | Date | string projectId?: StringWithAggregatesFilter<"TableViewPreset"> | string name?: StringWithAggregatesFilter<"TableViewPreset"> | string tableName?: StringWithAggregatesFilter<"TableViewPreset"> | string createdBy?: StringNullableWithAggregatesFilter<"TableViewPreset"> | string | null updatedBy?: StringNullableWithAggregatesFilter<"TableViewPreset"> | string | null filters?: JsonWithAggregatesFilter<"TableViewPreset"> columnOrder?: JsonWithAggregatesFilter<"TableViewPreset"> columnVisibility?: JsonWithAggregatesFilter<"TableViewPreset"> searchQuery?: StringNullableWithAggregatesFilter<"TableViewPreset"> | string | null orderBy?: JsonNullableWithAggregatesFilter<"TableViewPreset"> } export type ActionWhereInput = { AND?: ActionWhereInput | ActionWhereInput[] OR?: ActionWhereInput[] NOT?: ActionWhereInput | ActionWhereInput[] id?: StringFilter<"Action"> | string createdAt?: DateTimeFilter<"Action"> | Date | string updatedAt?: DateTimeFilter<"Action"> | Date | string projectId?: StringFilter<"Action"> | string type?: EnumActionTypeFilter<"Action"> | $Enums.ActionType config?: JsonFilter<"Action"> project?: XOR automations?: AutomationListRelationFilter automationExecutions?: AutomationExecutionListRelationFilter } export type ActionOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder type?: SortOrder config?: SortOrder project?: ProjectOrderByWithRelationInput automations?: AutomationOrderByRelationAggregateInput automationExecutions?: AutomationExecutionOrderByRelationAggregateInput } export type ActionWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: ActionWhereInput | ActionWhereInput[] OR?: ActionWhereInput[] NOT?: ActionWhereInput | ActionWhereInput[] createdAt?: DateTimeFilter<"Action"> | Date | string updatedAt?: DateTimeFilter<"Action"> | Date | string projectId?: StringFilter<"Action"> | string type?: EnumActionTypeFilter<"Action"> | $Enums.ActionType config?: JsonFilter<"Action"> project?: XOR automations?: AutomationListRelationFilter automationExecutions?: AutomationExecutionListRelationFilter }, "id"> export type ActionOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder type?: SortOrder config?: SortOrder _count?: ActionCountOrderByAggregateInput _max?: ActionMaxOrderByAggregateInput _min?: ActionMinOrderByAggregateInput } export type ActionScalarWhereWithAggregatesInput = { AND?: ActionScalarWhereWithAggregatesInput | ActionScalarWhereWithAggregatesInput[] OR?: ActionScalarWhereWithAggregatesInput[] NOT?: ActionScalarWhereWithAggregatesInput | ActionScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Action"> | string createdAt?: DateTimeWithAggregatesFilter<"Action"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Action"> | Date | string projectId?: StringWithAggregatesFilter<"Action"> | string type?: EnumActionTypeWithAggregatesFilter<"Action"> | $Enums.ActionType config?: JsonWithAggregatesFilter<"Action"> } export type TriggerWhereInput = { AND?: TriggerWhereInput | TriggerWhereInput[] OR?: TriggerWhereInput[] NOT?: TriggerWhereInput | TriggerWhereInput[] id?: StringFilter<"Trigger"> | string createdAt?: DateTimeFilter<"Trigger"> | Date | string updatedAt?: DateTimeFilter<"Trigger"> | Date | string projectId?: StringFilter<"Trigger"> | string eventSource?: StringFilter<"Trigger"> | string eventActions?: StringNullableListFilter<"Trigger"> filter?: JsonNullableFilter<"Trigger"> status?: EnumJobConfigStateFilter<"Trigger"> | $Enums.JobConfigState project?: XOR automationExecutions?: AutomationExecutionListRelationFilter automations?: AutomationListRelationFilter } export type TriggerOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder eventSource?: SortOrder eventActions?: SortOrder filter?: SortOrderInput | SortOrder status?: SortOrder project?: ProjectOrderByWithRelationInput automationExecutions?: AutomationExecutionOrderByRelationAggregateInput automations?: AutomationOrderByRelationAggregateInput } export type TriggerWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: TriggerWhereInput | TriggerWhereInput[] OR?: TriggerWhereInput[] NOT?: TriggerWhereInput | TriggerWhereInput[] createdAt?: DateTimeFilter<"Trigger"> | Date | string updatedAt?: DateTimeFilter<"Trigger"> | Date | string projectId?: StringFilter<"Trigger"> | string eventSource?: StringFilter<"Trigger"> | string eventActions?: StringNullableListFilter<"Trigger"> filter?: JsonNullableFilter<"Trigger"> status?: EnumJobConfigStateFilter<"Trigger"> | $Enums.JobConfigState project?: XOR automationExecutions?: AutomationExecutionListRelationFilter automations?: AutomationListRelationFilter }, "id"> export type TriggerOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder eventSource?: SortOrder eventActions?: SortOrder filter?: SortOrderInput | SortOrder status?: SortOrder _count?: TriggerCountOrderByAggregateInput _max?: TriggerMaxOrderByAggregateInput _min?: TriggerMinOrderByAggregateInput } export type TriggerScalarWhereWithAggregatesInput = { AND?: TriggerScalarWhereWithAggregatesInput | TriggerScalarWhereWithAggregatesInput[] OR?: TriggerScalarWhereWithAggregatesInput[] NOT?: TriggerScalarWhereWithAggregatesInput | TriggerScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Trigger"> | string createdAt?: DateTimeWithAggregatesFilter<"Trigger"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Trigger"> | Date | string projectId?: StringWithAggregatesFilter<"Trigger"> | string eventSource?: StringWithAggregatesFilter<"Trigger"> | string eventActions?: StringNullableListFilter<"Trigger"> filter?: JsonNullableWithAggregatesFilter<"Trigger"> status?: EnumJobConfigStateWithAggregatesFilter<"Trigger"> | $Enums.JobConfigState } export type AutomationWhereInput = { AND?: AutomationWhereInput | AutomationWhereInput[] OR?: AutomationWhereInput[] NOT?: AutomationWhereInput | AutomationWhereInput[] id?: StringFilter<"Automation"> | string name?: StringFilter<"Automation"> | string triggerId?: StringFilter<"Automation"> | string actionId?: StringFilter<"Automation"> | string createdAt?: DateTimeFilter<"Automation"> | Date | string projectId?: StringFilter<"Automation"> | string trigger?: XOR action?: XOR project?: XOR AutomationExecution?: AutomationExecutionListRelationFilter } export type AutomationOrderByWithRelationInput = { id?: SortOrder name?: SortOrder triggerId?: SortOrder actionId?: SortOrder createdAt?: SortOrder projectId?: SortOrder trigger?: TriggerOrderByWithRelationInput action?: ActionOrderByWithRelationInput project?: ProjectOrderByWithRelationInput AutomationExecution?: AutomationExecutionOrderByRelationAggregateInput } export type AutomationWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: AutomationWhereInput | AutomationWhereInput[] OR?: AutomationWhereInput[] NOT?: AutomationWhereInput | AutomationWhereInput[] name?: StringFilter<"Automation"> | string triggerId?: StringFilter<"Automation"> | string actionId?: StringFilter<"Automation"> | string createdAt?: DateTimeFilter<"Automation"> | Date | string projectId?: StringFilter<"Automation"> | string trigger?: XOR action?: XOR project?: XOR AutomationExecution?: AutomationExecutionListRelationFilter }, "id"> export type AutomationOrderByWithAggregationInput = { id?: SortOrder name?: SortOrder triggerId?: SortOrder actionId?: SortOrder createdAt?: SortOrder projectId?: SortOrder _count?: AutomationCountOrderByAggregateInput _max?: AutomationMaxOrderByAggregateInput _min?: AutomationMinOrderByAggregateInput } export type AutomationScalarWhereWithAggregatesInput = { AND?: AutomationScalarWhereWithAggregatesInput | AutomationScalarWhereWithAggregatesInput[] OR?: AutomationScalarWhereWithAggregatesInput[] NOT?: AutomationScalarWhereWithAggregatesInput | AutomationScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Automation"> | string name?: StringWithAggregatesFilter<"Automation"> | string triggerId?: StringWithAggregatesFilter<"Automation"> | string actionId?: StringWithAggregatesFilter<"Automation"> | string createdAt?: DateTimeWithAggregatesFilter<"Automation"> | Date | string projectId?: StringWithAggregatesFilter<"Automation"> | string } export type AutomationExecutionWhereInput = { AND?: AutomationExecutionWhereInput | AutomationExecutionWhereInput[] OR?: AutomationExecutionWhereInput[] NOT?: AutomationExecutionWhereInput | AutomationExecutionWhereInput[] id?: StringFilter<"AutomationExecution"> | string createdAt?: DateTimeFilter<"AutomationExecution"> | Date | string updatedAt?: DateTimeFilter<"AutomationExecution"> | Date | string sourceId?: StringFilter<"AutomationExecution"> | string automationId?: StringFilter<"AutomationExecution"> | string triggerId?: StringFilter<"AutomationExecution"> | string actionId?: StringFilter<"AutomationExecution"> | string projectId?: StringFilter<"AutomationExecution"> | string status?: EnumActionExecutionStatusFilter<"AutomationExecution"> | $Enums.ActionExecutionStatus input?: JsonFilter<"AutomationExecution"> output?: JsonNullableFilter<"AutomationExecution"> startedAt?: DateTimeNullableFilter<"AutomationExecution"> | Date | string | null finishedAt?: DateTimeNullableFilter<"AutomationExecution"> | Date | string | null error?: StringNullableFilter<"AutomationExecution"> | string | null automation?: XOR trigger?: XOR action?: XOR project?: XOR } export type AutomationExecutionOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder sourceId?: SortOrder automationId?: SortOrder triggerId?: SortOrder actionId?: SortOrder projectId?: SortOrder status?: SortOrder input?: SortOrder output?: SortOrderInput | SortOrder startedAt?: SortOrderInput | SortOrder finishedAt?: SortOrderInput | SortOrder error?: SortOrderInput | SortOrder automation?: AutomationOrderByWithRelationInput trigger?: TriggerOrderByWithRelationInput action?: ActionOrderByWithRelationInput project?: ProjectOrderByWithRelationInput } export type AutomationExecutionWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: AutomationExecutionWhereInput | AutomationExecutionWhereInput[] OR?: AutomationExecutionWhereInput[] NOT?: AutomationExecutionWhereInput | AutomationExecutionWhereInput[] createdAt?: DateTimeFilter<"AutomationExecution"> | Date | string updatedAt?: DateTimeFilter<"AutomationExecution"> | Date | string sourceId?: StringFilter<"AutomationExecution"> | string automationId?: StringFilter<"AutomationExecution"> | string triggerId?: StringFilter<"AutomationExecution"> | string actionId?: StringFilter<"AutomationExecution"> | string projectId?: StringFilter<"AutomationExecution"> | string status?: EnumActionExecutionStatusFilter<"AutomationExecution"> | $Enums.ActionExecutionStatus input?: JsonFilter<"AutomationExecution"> output?: JsonNullableFilter<"AutomationExecution"> startedAt?: DateTimeNullableFilter<"AutomationExecution"> | Date | string | null finishedAt?: DateTimeNullableFilter<"AutomationExecution"> | Date | string | null error?: StringNullableFilter<"AutomationExecution"> | string | null automation?: XOR trigger?: XOR action?: XOR project?: XOR }, "id"> export type AutomationExecutionOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder sourceId?: SortOrder automationId?: SortOrder triggerId?: SortOrder actionId?: SortOrder projectId?: SortOrder status?: SortOrder input?: SortOrder output?: SortOrderInput | SortOrder startedAt?: SortOrderInput | SortOrder finishedAt?: SortOrderInput | SortOrder error?: SortOrderInput | SortOrder _count?: AutomationExecutionCountOrderByAggregateInput _max?: AutomationExecutionMaxOrderByAggregateInput _min?: AutomationExecutionMinOrderByAggregateInput } export type AutomationExecutionScalarWhereWithAggregatesInput = { AND?: AutomationExecutionScalarWhereWithAggregatesInput | AutomationExecutionScalarWhereWithAggregatesInput[] OR?: AutomationExecutionScalarWhereWithAggregatesInput[] NOT?: AutomationExecutionScalarWhereWithAggregatesInput | AutomationExecutionScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"AutomationExecution"> | string createdAt?: DateTimeWithAggregatesFilter<"AutomationExecution"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"AutomationExecution"> | Date | string sourceId?: StringWithAggregatesFilter<"AutomationExecution"> | string automationId?: StringWithAggregatesFilter<"AutomationExecution"> | string triggerId?: StringWithAggregatesFilter<"AutomationExecution"> | string actionId?: StringWithAggregatesFilter<"AutomationExecution"> | string projectId?: StringWithAggregatesFilter<"AutomationExecution"> | string status?: EnumActionExecutionStatusWithAggregatesFilter<"AutomationExecution"> | $Enums.ActionExecutionStatus input?: JsonWithAggregatesFilter<"AutomationExecution"> output?: JsonNullableWithAggregatesFilter<"AutomationExecution"> startedAt?: DateTimeNullableWithAggregatesFilter<"AutomationExecution"> | Date | string | null finishedAt?: DateTimeNullableWithAggregatesFilter<"AutomationExecution"> | Date | string | null error?: StringNullableWithAggregatesFilter<"AutomationExecution"> | string | null } export type SlackIntegrationWhereInput = { AND?: SlackIntegrationWhereInput | SlackIntegrationWhereInput[] OR?: SlackIntegrationWhereInput[] NOT?: SlackIntegrationWhereInput | SlackIntegrationWhereInput[] id?: StringFilter<"SlackIntegration"> | string projectId?: StringFilter<"SlackIntegration"> | string teamId?: StringFilter<"SlackIntegration"> | string teamName?: StringFilter<"SlackIntegration"> | string botToken?: StringFilter<"SlackIntegration"> | string botUserId?: StringFilter<"SlackIntegration"> | string createdAt?: DateTimeFilter<"SlackIntegration"> | Date | string updatedAt?: DateTimeFilter<"SlackIntegration"> | Date | string project?: XOR } export type SlackIntegrationOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder teamId?: SortOrder teamName?: SortOrder botToken?: SortOrder botUserId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder project?: ProjectOrderByWithRelationInput } export type SlackIntegrationWhereUniqueInput = Prisma.AtLeast<{ id?: string projectId?: string AND?: SlackIntegrationWhereInput | SlackIntegrationWhereInput[] OR?: SlackIntegrationWhereInput[] NOT?: SlackIntegrationWhereInput | SlackIntegrationWhereInput[] teamId?: StringFilter<"SlackIntegration"> | string teamName?: StringFilter<"SlackIntegration"> | string botToken?: StringFilter<"SlackIntegration"> | string botUserId?: StringFilter<"SlackIntegration"> | string createdAt?: DateTimeFilter<"SlackIntegration"> | Date | string updatedAt?: DateTimeFilter<"SlackIntegration"> | Date | string project?: XOR }, "id" | "projectId"> export type SlackIntegrationOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder teamId?: SortOrder teamName?: SortOrder botToken?: SortOrder botUserId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: SlackIntegrationCountOrderByAggregateInput _max?: SlackIntegrationMaxOrderByAggregateInput _min?: SlackIntegrationMinOrderByAggregateInput } export type SlackIntegrationScalarWhereWithAggregatesInput = { AND?: SlackIntegrationScalarWhereWithAggregatesInput | SlackIntegrationScalarWhereWithAggregatesInput[] OR?: SlackIntegrationScalarWhereWithAggregatesInput[] NOT?: SlackIntegrationScalarWhereWithAggregatesInput | SlackIntegrationScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"SlackIntegration"> | string projectId?: StringWithAggregatesFilter<"SlackIntegration"> | string teamId?: StringWithAggregatesFilter<"SlackIntegration"> | string teamName?: StringWithAggregatesFilter<"SlackIntegration"> | string botToken?: StringWithAggregatesFilter<"SlackIntegration"> | string botUserId?: StringWithAggregatesFilter<"SlackIntegration"> | string createdAt?: DateTimeWithAggregatesFilter<"SlackIntegration"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"SlackIntegration"> | Date | string } export type PendingDeletionWhereInput = { AND?: PendingDeletionWhereInput | PendingDeletionWhereInput[] OR?: PendingDeletionWhereInput[] NOT?: PendingDeletionWhereInput | PendingDeletionWhereInput[] id?: StringFilter<"PendingDeletion"> | string projectId?: StringFilter<"PendingDeletion"> | string object?: StringFilter<"PendingDeletion"> | string objectId?: StringFilter<"PendingDeletion"> | string isDeleted?: BoolFilter<"PendingDeletion"> | boolean createdAt?: DateTimeFilter<"PendingDeletion"> | Date | string updatedAt?: DateTimeFilter<"PendingDeletion"> | Date | string project?: XOR } export type PendingDeletionOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder object?: SortOrder objectId?: SortOrder isDeleted?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder project?: ProjectOrderByWithRelationInput } export type PendingDeletionWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: PendingDeletionWhereInput | PendingDeletionWhereInput[] OR?: PendingDeletionWhereInput[] NOT?: PendingDeletionWhereInput | PendingDeletionWhereInput[] projectId?: StringFilter<"PendingDeletion"> | string object?: StringFilter<"PendingDeletion"> | string objectId?: StringFilter<"PendingDeletion"> | string isDeleted?: BoolFilter<"PendingDeletion"> | boolean createdAt?: DateTimeFilter<"PendingDeletion"> | Date | string updatedAt?: DateTimeFilter<"PendingDeletion"> | Date | string project?: XOR }, "id"> export type PendingDeletionOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder object?: SortOrder objectId?: SortOrder isDeleted?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: PendingDeletionCountOrderByAggregateInput _max?: PendingDeletionMaxOrderByAggregateInput _min?: PendingDeletionMinOrderByAggregateInput } export type PendingDeletionScalarWhereWithAggregatesInput = { AND?: PendingDeletionScalarWhereWithAggregatesInput | PendingDeletionScalarWhereWithAggregatesInput[] OR?: PendingDeletionScalarWhereWithAggregatesInput[] NOT?: PendingDeletionScalarWhereWithAggregatesInput | PendingDeletionScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"PendingDeletion"> | string projectId?: StringWithAggregatesFilter<"PendingDeletion"> | string object?: StringWithAggregatesFilter<"PendingDeletion"> | string objectId?: StringWithAggregatesFilter<"PendingDeletion"> | string isDeleted?: BoolWithAggregatesFilter<"PendingDeletion"> | boolean createdAt?: DateTimeWithAggregatesFilter<"PendingDeletion"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"PendingDeletion"> | Date | string } export type SurveyWhereInput = { AND?: SurveyWhereInput | SurveyWhereInput[] OR?: SurveyWhereInput[] NOT?: SurveyWhereInput | SurveyWhereInput[] id?: StringFilter<"Survey"> | string createdAt?: DateTimeFilter<"Survey"> | Date | string surveyName?: EnumSurveyNameFilter<"Survey"> | $Enums.SurveyName response?: JsonFilter<"Survey"> userId?: StringNullableFilter<"Survey"> | string | null userEmail?: StringNullableFilter<"Survey"> | string | null orgId?: StringNullableFilter<"Survey"> | string | null org?: XOR | null user?: XOR | null } export type SurveyOrderByWithRelationInput = { id?: SortOrder createdAt?: SortOrder surveyName?: SortOrder response?: SortOrder userId?: SortOrderInput | SortOrder userEmail?: SortOrderInput | SortOrder orgId?: SortOrderInput | SortOrder org?: OrganizationOrderByWithRelationInput user?: UserOrderByWithRelationInput } export type SurveyWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: SurveyWhereInput | SurveyWhereInput[] OR?: SurveyWhereInput[] NOT?: SurveyWhereInput | SurveyWhereInput[] createdAt?: DateTimeFilter<"Survey"> | Date | string surveyName?: EnumSurveyNameFilter<"Survey"> | $Enums.SurveyName response?: JsonFilter<"Survey"> userId?: StringNullableFilter<"Survey"> | string | null userEmail?: StringNullableFilter<"Survey"> | string | null orgId?: StringNullableFilter<"Survey"> | string | null org?: XOR | null user?: XOR | null }, "id"> export type SurveyOrderByWithAggregationInput = { id?: SortOrder createdAt?: SortOrder surveyName?: SortOrder response?: SortOrder userId?: SortOrderInput | SortOrder userEmail?: SortOrderInput | SortOrder orgId?: SortOrderInput | SortOrder _count?: SurveyCountOrderByAggregateInput _max?: SurveyMaxOrderByAggregateInput _min?: SurveyMinOrderByAggregateInput } export type SurveyScalarWhereWithAggregatesInput = { AND?: SurveyScalarWhereWithAggregatesInput | SurveyScalarWhereWithAggregatesInput[] OR?: SurveyScalarWhereWithAggregatesInput[] NOT?: SurveyScalarWhereWithAggregatesInput | SurveyScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Survey"> | string createdAt?: DateTimeWithAggregatesFilter<"Survey"> | Date | string surveyName?: EnumSurveyNameWithAggregatesFilter<"Survey"> | $Enums.SurveyName response?: JsonWithAggregatesFilter<"Survey"> userId?: StringNullableWithAggregatesFilter<"Survey"> | string | null userEmail?: StringNullableWithAggregatesFilter<"Survey"> | string | null orgId?: StringNullableWithAggregatesFilter<"Survey"> | string | null } export type AccountCreateInput = { id?: string type: string provider: string providerAccountId: string refresh_token?: string | null access_token?: string | null expires_at?: number | null expires_in?: number | null ext_expires_in?: number | null token_type?: string | null scope?: string | null id_token?: string | null session_state?: string | null refresh_token_expires_in?: number | null created_at?: number | null user: UserCreateNestedOneWithoutAccountsInput } export type AccountUncheckedCreateInput = { id?: string userId: string type: string provider: string providerAccountId: string refresh_token?: string | null access_token?: string | null expires_at?: number | null expires_in?: number | null ext_expires_in?: number | null token_type?: string | null scope?: string | null id_token?: string | null session_state?: string | null refresh_token_expires_in?: number | null created_at?: number | null } export type AccountUpdateInput = { id?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string providerAccountId?: StringFieldUpdateOperationsInput | string refresh_token?: NullableStringFieldUpdateOperationsInput | string | null access_token?: NullableStringFieldUpdateOperationsInput | string | null expires_at?: NullableIntFieldUpdateOperationsInput | number | null expires_in?: NullableIntFieldUpdateOperationsInput | number | null ext_expires_in?: NullableIntFieldUpdateOperationsInput | number | null token_type?: NullableStringFieldUpdateOperationsInput | string | null scope?: NullableStringFieldUpdateOperationsInput | string | null id_token?: NullableStringFieldUpdateOperationsInput | string | null session_state?: NullableStringFieldUpdateOperationsInput | string | null refresh_token_expires_in?: NullableIntFieldUpdateOperationsInput | number | null created_at?: NullableIntFieldUpdateOperationsInput | number | null user?: UserUpdateOneRequiredWithoutAccountsNestedInput } export type AccountUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string providerAccountId?: StringFieldUpdateOperationsInput | string refresh_token?: NullableStringFieldUpdateOperationsInput | string | null access_token?: NullableStringFieldUpdateOperationsInput | string | null expires_at?: NullableIntFieldUpdateOperationsInput | number | null expires_in?: NullableIntFieldUpdateOperationsInput | number | null ext_expires_in?: NullableIntFieldUpdateOperationsInput | number | null token_type?: NullableStringFieldUpdateOperationsInput | string | null scope?: NullableStringFieldUpdateOperationsInput | string | null id_token?: NullableStringFieldUpdateOperationsInput | string | null session_state?: NullableStringFieldUpdateOperationsInput | string | null refresh_token_expires_in?: NullableIntFieldUpdateOperationsInput | number | null created_at?: NullableIntFieldUpdateOperationsInput | number | null } export type AccountCreateManyInput = { id?: string userId: string type: string provider: string providerAccountId: string refresh_token?: string | null access_token?: string | null expires_at?: number | null expires_in?: number | null ext_expires_in?: number | null token_type?: string | null scope?: string | null id_token?: string | null session_state?: string | null refresh_token_expires_in?: number | null created_at?: number | null } export type AccountUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string providerAccountId?: StringFieldUpdateOperationsInput | string refresh_token?: NullableStringFieldUpdateOperationsInput | string | null access_token?: NullableStringFieldUpdateOperationsInput | string | null expires_at?: NullableIntFieldUpdateOperationsInput | number | null expires_in?: NullableIntFieldUpdateOperationsInput | number | null ext_expires_in?: NullableIntFieldUpdateOperationsInput | number | null token_type?: NullableStringFieldUpdateOperationsInput | string | null scope?: NullableStringFieldUpdateOperationsInput | string | null id_token?: NullableStringFieldUpdateOperationsInput | string | null session_state?: NullableStringFieldUpdateOperationsInput | string | null refresh_token_expires_in?: NullableIntFieldUpdateOperationsInput | number | null created_at?: NullableIntFieldUpdateOperationsInput | number | null } export type AccountUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string providerAccountId?: StringFieldUpdateOperationsInput | string refresh_token?: NullableStringFieldUpdateOperationsInput | string | null access_token?: NullableStringFieldUpdateOperationsInput | string | null expires_at?: NullableIntFieldUpdateOperationsInput | number | null expires_in?: NullableIntFieldUpdateOperationsInput | number | null ext_expires_in?: NullableIntFieldUpdateOperationsInput | number | null token_type?: NullableStringFieldUpdateOperationsInput | string | null scope?: NullableStringFieldUpdateOperationsInput | string | null id_token?: NullableStringFieldUpdateOperationsInput | string | null session_state?: NullableStringFieldUpdateOperationsInput | string | null refresh_token_expires_in?: NullableIntFieldUpdateOperationsInput | number | null created_at?: NullableIntFieldUpdateOperationsInput | number | null } export type SessionCreateInput = { id?: string sessionToken: string expires: Date | string user: UserCreateNestedOneWithoutSessionsInput } export type SessionUncheckedCreateInput = { id?: string sessionToken: string userId: string expires: Date | string } export type SessionUpdateInput = { id?: StringFieldUpdateOperationsInput | string sessionToken?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string user?: UserUpdateOneRequiredWithoutSessionsNestedInput } export type SessionUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string sessionToken?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string } export type SessionCreateManyInput = { id?: string sessionToken: string userId: string expires: Date | string } export type SessionUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string sessionToken?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string } export type SessionUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string sessionToken?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string } export type UserCreateInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type UserCreateManyInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] } export type UserUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] } export type UserUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] } export type VerificationTokenCreateInput = { identifier: string token: string expires: Date | string } export type VerificationTokenUncheckedCreateInput = { identifier: string token: string expires: Date | string } export type VerificationTokenUpdateInput = { identifier?: StringFieldUpdateOperationsInput | string token?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string } export type VerificationTokenUncheckedUpdateInput = { identifier?: StringFieldUpdateOperationsInput | string token?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string } export type VerificationTokenCreateManyInput = { identifier: string token: string expires: Date | string } export type VerificationTokenUpdateManyMutationInput = { identifier?: StringFieldUpdateOperationsInput | string token?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string } export type VerificationTokenUncheckedUpdateManyInput = { identifier?: StringFieldUpdateOperationsInput | string token?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string } export type OrganizationCreateInput = { id?: string name: string createdAt?: Date | string updatedAt?: Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutOrganizationInput projects?: ProjectCreateNestedManyWithoutOrganizationInput MembershipInvitation?: MembershipInvitationCreateNestedManyWithoutOrganizationInput ApiKey?: ApiKeyCreateNestedManyWithoutOrganizationInput surveys?: SurveyCreateNestedManyWithoutOrgInput } export type OrganizationUncheckedCreateInput = { id?: string name: string createdAt?: Date | string updatedAt?: Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationInput projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput MembershipInvitation?: MembershipInvitationUncheckedCreateNestedManyWithoutOrganizationInput ApiKey?: ApiKeyUncheckedCreateNestedManyWithoutOrganizationInput surveys?: SurveyUncheckedCreateNestedManyWithoutOrgInput } export type OrganizationUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUpdateManyWithoutOrganizationNestedInput projects?: ProjectUpdateManyWithoutOrganizationNestedInput MembershipInvitation?: MembershipInvitationUpdateManyWithoutOrganizationNestedInput ApiKey?: ApiKeyUpdateManyWithoutOrganizationNestedInput surveys?: SurveyUpdateManyWithoutOrgNestedInput } export type OrganizationUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationNestedInput projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput MembershipInvitation?: MembershipInvitationUncheckedUpdateManyWithoutOrganizationNestedInput ApiKey?: ApiKeyUncheckedUpdateManyWithoutOrganizationNestedInput surveys?: SurveyUncheckedUpdateManyWithoutOrgNestedInput } export type OrganizationCreateManyInput = { id?: string name: string createdAt?: Date | string updatedAt?: Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue } export type OrganizationUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue } export type OrganizationUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue } export type ProjectCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateManyInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue } export type ProjectUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue } export type ProjectUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue } export type ApiKeyCreateInput = { id?: string createdAt?: Date | string note?: string | null publicKey: string hashedSecretKey: string fastHashedSecretKey?: string | null displaySecretKey: string lastUsedAt?: Date | string | null expiresAt?: Date | string | null scope?: $Enums.ApiKeyScope project?: ProjectCreateNestedOneWithoutApiKeysInput organization?: OrganizationCreateNestedOneWithoutApiKeyInput } export type ApiKeyUncheckedCreateInput = { id?: string createdAt?: Date | string note?: string | null publicKey: string hashedSecretKey: string fastHashedSecretKey?: string | null displaySecretKey: string lastUsedAt?: Date | string | null expiresAt?: Date | string | null projectId?: string | null orgId?: string | null scope?: $Enums.ApiKeyScope } export type ApiKeyUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string note?: NullableStringFieldUpdateOperationsInput | string | null publicKey?: StringFieldUpdateOperationsInput | string hashedSecretKey?: StringFieldUpdateOperationsInput | string fastHashedSecretKey?: NullableStringFieldUpdateOperationsInput | string | null displaySecretKey?: StringFieldUpdateOperationsInput | string lastUsedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null scope?: EnumApiKeyScopeFieldUpdateOperationsInput | $Enums.ApiKeyScope project?: ProjectUpdateOneWithoutApiKeysNestedInput organization?: OrganizationUpdateOneWithoutApiKeyNestedInput } export type ApiKeyUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string note?: NullableStringFieldUpdateOperationsInput | string | null publicKey?: StringFieldUpdateOperationsInput | string hashedSecretKey?: StringFieldUpdateOperationsInput | string fastHashedSecretKey?: NullableStringFieldUpdateOperationsInput | string | null displaySecretKey?: StringFieldUpdateOperationsInput | string lastUsedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null orgId?: NullableStringFieldUpdateOperationsInput | string | null scope?: EnumApiKeyScopeFieldUpdateOperationsInput | $Enums.ApiKeyScope } export type ApiKeyCreateManyInput = { id?: string createdAt?: Date | string note?: string | null publicKey: string hashedSecretKey: string fastHashedSecretKey?: string | null displaySecretKey: string lastUsedAt?: Date | string | null expiresAt?: Date | string | null projectId?: string | null orgId?: string | null scope?: $Enums.ApiKeyScope } export type ApiKeyUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string note?: NullableStringFieldUpdateOperationsInput | string | null publicKey?: StringFieldUpdateOperationsInput | string hashedSecretKey?: StringFieldUpdateOperationsInput | string fastHashedSecretKey?: NullableStringFieldUpdateOperationsInput | string | null displaySecretKey?: StringFieldUpdateOperationsInput | string lastUsedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null scope?: EnumApiKeyScopeFieldUpdateOperationsInput | $Enums.ApiKeyScope } export type ApiKeyUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string note?: NullableStringFieldUpdateOperationsInput | string | null publicKey?: StringFieldUpdateOperationsInput | string hashedSecretKey?: StringFieldUpdateOperationsInput | string fastHashedSecretKey?: NullableStringFieldUpdateOperationsInput | string | null displaySecretKey?: StringFieldUpdateOperationsInput | string lastUsedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null orgId?: NullableStringFieldUpdateOperationsInput | string | null scope?: EnumApiKeyScopeFieldUpdateOperationsInput | $Enums.ApiKeyScope } export type BackgroundMigrationCreateInput = { id?: string name: string script: string args: JsonNullValueInput | InputJsonValue state?: JsonNullValueInput | InputJsonValue finishedAt?: Date | string | null failedAt?: Date | string | null failedReason?: string | null workerId?: string | null lockedAt?: Date | string | null } export type BackgroundMigrationUncheckedCreateInput = { id?: string name: string script: string args: JsonNullValueInput | InputJsonValue state?: JsonNullValueInput | InputJsonValue finishedAt?: Date | string | null failedAt?: Date | string | null failedReason?: string | null workerId?: string | null lockedAt?: Date | string | null } export type BackgroundMigrationUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string script?: StringFieldUpdateOperationsInput | string args?: JsonNullValueInput | InputJsonValue state?: JsonNullValueInput | InputJsonValue finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null failedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null failedReason?: NullableStringFieldUpdateOperationsInput | string | null workerId?: NullableStringFieldUpdateOperationsInput | string | null lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type BackgroundMigrationUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string script?: StringFieldUpdateOperationsInput | string args?: JsonNullValueInput | InputJsonValue state?: JsonNullValueInput | InputJsonValue finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null failedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null failedReason?: NullableStringFieldUpdateOperationsInput | string | null workerId?: NullableStringFieldUpdateOperationsInput | string | null lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type BackgroundMigrationCreateManyInput = { id?: string name: string script: string args: JsonNullValueInput | InputJsonValue state?: JsonNullValueInput | InputJsonValue finishedAt?: Date | string | null failedAt?: Date | string | null failedReason?: string | null workerId?: string | null lockedAt?: Date | string | null } export type BackgroundMigrationUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string script?: StringFieldUpdateOperationsInput | string args?: JsonNullValueInput | InputJsonValue state?: JsonNullValueInput | InputJsonValue finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null failedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null failedReason?: NullableStringFieldUpdateOperationsInput | string | null workerId?: NullableStringFieldUpdateOperationsInput | string | null lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type BackgroundMigrationUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string script?: StringFieldUpdateOperationsInput | string args?: JsonNullValueInput | InputJsonValue state?: JsonNullValueInput | InputJsonValue finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null failedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null failedReason?: NullableStringFieldUpdateOperationsInput | string | null workerId?: NullableStringFieldUpdateOperationsInput | string | null lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type LlmApiKeysCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string provider: string adapter: string displaySecretKey: string secretKey: string baseURL?: string | null customModels?: LlmApiKeysCreatecustomModelsInput | string[] withDefaultModels?: boolean extraHeaders?: string | null extraHeaderKeys?: LlmApiKeysCreateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue project: ProjectCreateNestedOneWithoutLlmApiKeysInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutLlmApiKeyInput } export type LlmApiKeysUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string provider: string adapter: string displaySecretKey: string secretKey: string baseURL?: string | null customModels?: LlmApiKeysCreatecustomModelsInput | string[] withDefaultModels?: boolean extraHeaders?: string | null extraHeaderKeys?: LlmApiKeysCreateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue projectId: string DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutLlmApiKeyInput } export type LlmApiKeysUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string displaySecretKey?: StringFieldUpdateOperationsInput | string secretKey?: StringFieldUpdateOperationsInput | string baseURL?: NullableStringFieldUpdateOperationsInput | string | null customModels?: LlmApiKeysUpdatecustomModelsInput | string[] withDefaultModels?: BoolFieldUpdateOperationsInput | boolean extraHeaders?: NullableStringFieldUpdateOperationsInput | string | null extraHeaderKeys?: LlmApiKeysUpdateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue project?: ProjectUpdateOneRequiredWithoutLlmApiKeysNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutLlmApiKeyNestedInput } export type LlmApiKeysUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string displaySecretKey?: StringFieldUpdateOperationsInput | string secretKey?: StringFieldUpdateOperationsInput | string baseURL?: NullableStringFieldUpdateOperationsInput | string | null customModels?: LlmApiKeysUpdatecustomModelsInput | string[] withDefaultModels?: BoolFieldUpdateOperationsInput | boolean extraHeaders?: NullableStringFieldUpdateOperationsInput | string | null extraHeaderKeys?: LlmApiKeysUpdateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue projectId?: StringFieldUpdateOperationsInput | string DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutLlmApiKeyNestedInput } export type LlmApiKeysCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string provider: string adapter: string displaySecretKey: string secretKey: string baseURL?: string | null customModels?: LlmApiKeysCreatecustomModelsInput | string[] withDefaultModels?: boolean extraHeaders?: string | null extraHeaderKeys?: LlmApiKeysCreateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue projectId: string } export type LlmApiKeysUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string displaySecretKey?: StringFieldUpdateOperationsInput | string secretKey?: StringFieldUpdateOperationsInput | string baseURL?: NullableStringFieldUpdateOperationsInput | string | null customModels?: LlmApiKeysUpdatecustomModelsInput | string[] withDefaultModels?: BoolFieldUpdateOperationsInput | boolean extraHeaders?: NullableStringFieldUpdateOperationsInput | string | null extraHeaderKeys?: LlmApiKeysUpdateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue } export type LlmApiKeysUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string displaySecretKey?: StringFieldUpdateOperationsInput | string secretKey?: StringFieldUpdateOperationsInput | string baseURL?: NullableStringFieldUpdateOperationsInput | string | null customModels?: LlmApiKeysUpdatecustomModelsInput | string[] withDefaultModels?: BoolFieldUpdateOperationsInput | boolean extraHeaders?: NullableStringFieldUpdateOperationsInput | string | null extraHeaderKeys?: LlmApiKeysUpdateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue projectId?: StringFieldUpdateOperationsInput | string } export type OrganizationMembershipCreateInput = { id?: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string organization: OrganizationCreateNestedOneWithoutOrganizationMembershipsInput user: UserCreateNestedOneWithoutOrganizationMembershipsInput ProjectMemberships?: ProjectMembershipCreateNestedManyWithoutOrganizationMembershipInput } export type OrganizationMembershipUncheckedCreateInput = { id?: string orgId: string userId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string ProjectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutOrganizationMembershipInput } export type OrganizationMembershipUpdateInput = { id?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string organization?: OrganizationUpdateOneRequiredWithoutOrganizationMembershipsNestedInput user?: UserUpdateOneRequiredWithoutOrganizationMembershipsNestedInput ProjectMemberships?: ProjectMembershipUpdateManyWithoutOrganizationMembershipNestedInput } export type OrganizationMembershipUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string ProjectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutOrganizationMembershipNestedInput } export type OrganizationMembershipCreateManyInput = { id?: string orgId: string userId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string } export type OrganizationMembershipUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type OrganizationMembershipUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectMembershipCreateInput = { role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string organizationMembership: OrganizationMembershipCreateNestedOneWithoutProjectMembershipsInput project: ProjectCreateNestedOneWithoutProjectMembersInput user: UserCreateNestedOneWithoutProjectMembershipsInput } export type ProjectMembershipUncheckedCreateInput = { orgMembershipId: string projectId: string userId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string } export type ProjectMembershipUpdateInput = { role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string organizationMembership?: OrganizationMembershipUpdateOneRequiredWithoutProjectMembershipsNestedInput project?: ProjectUpdateOneRequiredWithoutProjectMembersNestedInput user?: UserUpdateOneRequiredWithoutProjectMembershipsNestedInput } export type ProjectMembershipUncheckedUpdateInput = { orgMembershipId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectMembershipCreateManyInput = { orgMembershipId: string projectId: string userId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string } export type ProjectMembershipUpdateManyMutationInput = { role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectMembershipUncheckedUpdateManyInput = { orgMembershipId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type MembershipInvitationCreateInput = { id?: string email: string orgRole: $Enums.Role projectRole?: $Enums.Role | null createdAt?: Date | string updatedAt?: Date | string organization: OrganizationCreateNestedOneWithoutMembershipInvitationInput project?: ProjectCreateNestedOneWithoutInvitationsInput invitedByUser?: UserCreateNestedOneWithoutInvitationsInput } export type MembershipInvitationUncheckedCreateInput = { id?: string email: string orgId: string orgRole: $Enums.Role projectId?: string | null projectRole?: $Enums.Role | null invitedByUserId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type MembershipInvitationUpdateInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string orgRole?: EnumRoleFieldUpdateOperationsInput | $Enums.Role projectRole?: NullableEnumRoleFieldUpdateOperationsInput | $Enums.Role | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string organization?: OrganizationUpdateOneRequiredWithoutMembershipInvitationNestedInput project?: ProjectUpdateOneWithoutInvitationsNestedInput invitedByUser?: UserUpdateOneWithoutInvitationsNestedInput } export type MembershipInvitationUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string orgRole?: EnumRoleFieldUpdateOperationsInput | $Enums.Role projectId?: NullableStringFieldUpdateOperationsInput | string | null projectRole?: NullableEnumRoleFieldUpdateOperationsInput | $Enums.Role | null invitedByUserId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type MembershipInvitationCreateManyInput = { id?: string email: string orgId: string orgRole: $Enums.Role projectId?: string | null projectRole?: $Enums.Role | null invitedByUserId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type MembershipInvitationUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string orgRole?: EnumRoleFieldUpdateOperationsInput | $Enums.Role projectRole?: NullableEnumRoleFieldUpdateOperationsInput | $Enums.Role | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type MembershipInvitationUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string orgRole?: EnumRoleFieldUpdateOperationsInput | $Enums.Role projectId?: NullableStringFieldUpdateOperationsInput | string | null projectRole?: NullableEnumRoleFieldUpdateOperationsInput | $Enums.Role | null invitedByUserId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type TraceSessionCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string bookmarked?: boolean public?: boolean environment?: string project: ProjectCreateNestedOneWithoutSessionsInput } export type TraceSessionUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string bookmarked?: boolean public?: boolean environment?: string } export type TraceSessionUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string bookmarked?: BoolFieldUpdateOperationsInput | boolean public?: BoolFieldUpdateOperationsInput | boolean environment?: StringFieldUpdateOperationsInput | string project?: ProjectUpdateOneRequiredWithoutSessionsNestedInput } export type TraceSessionUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string bookmarked?: BoolFieldUpdateOperationsInput | boolean public?: BoolFieldUpdateOperationsInput | boolean environment?: StringFieldUpdateOperationsInput | string } export type TraceSessionCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string bookmarked?: boolean public?: boolean environment?: string } export type TraceSessionUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string bookmarked?: BoolFieldUpdateOperationsInput | boolean public?: BoolFieldUpdateOperationsInput | boolean environment?: StringFieldUpdateOperationsInput | string } export type TraceSessionUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string bookmarked?: BoolFieldUpdateOperationsInput | boolean public?: BoolFieldUpdateOperationsInput | boolean environment?: StringFieldUpdateOperationsInput | string } export type LegacyPrismaTraceCreateInput = { id?: string externalId?: string | null timestamp?: Date | string name?: string | null userId?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue release?: string | null version?: string | null public?: boolean bookmarked?: boolean tags?: LegacyPrismaTraceCreatetagsInput | string[] input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string project: ProjectCreateNestedOneWithoutLegacyTraceInput } export type LegacyPrismaTraceUncheckedCreateInput = { id?: string externalId?: string | null timestamp?: Date | string name?: string | null userId?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue release?: string | null version?: string | null projectId: string public?: boolean bookmarked?: boolean tags?: LegacyPrismaTraceCreatetagsInput | string[] input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type LegacyPrismaTraceUpdateInput = { id?: StringFieldUpdateOperationsInput | string externalId?: NullableStringFieldUpdateOperationsInput | string | null timestamp?: DateTimeFieldUpdateOperationsInput | Date | string name?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue release?: NullableStringFieldUpdateOperationsInput | string | null version?: NullableStringFieldUpdateOperationsInput | string | null public?: BoolFieldUpdateOperationsInput | boolean bookmarked?: BoolFieldUpdateOperationsInput | boolean tags?: LegacyPrismaTraceUpdatetagsInput | string[] input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue sessionId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutLegacyTraceNestedInput } export type LegacyPrismaTraceUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string externalId?: NullableStringFieldUpdateOperationsInput | string | null timestamp?: DateTimeFieldUpdateOperationsInput | Date | string name?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue release?: NullableStringFieldUpdateOperationsInput | string | null version?: NullableStringFieldUpdateOperationsInput | string | null projectId?: StringFieldUpdateOperationsInput | string public?: BoolFieldUpdateOperationsInput | boolean bookmarked?: BoolFieldUpdateOperationsInput | boolean tags?: LegacyPrismaTraceUpdatetagsInput | string[] input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue sessionId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type LegacyPrismaTraceCreateManyInput = { id?: string externalId?: string | null timestamp?: Date | string name?: string | null userId?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue release?: string | null version?: string | null projectId: string public?: boolean bookmarked?: boolean tags?: LegacyPrismaTraceCreatetagsInput | string[] input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type LegacyPrismaTraceUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string externalId?: NullableStringFieldUpdateOperationsInput | string | null timestamp?: DateTimeFieldUpdateOperationsInput | Date | string name?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue release?: NullableStringFieldUpdateOperationsInput | string | null version?: NullableStringFieldUpdateOperationsInput | string | null public?: BoolFieldUpdateOperationsInput | boolean bookmarked?: BoolFieldUpdateOperationsInput | boolean tags?: LegacyPrismaTraceUpdatetagsInput | string[] input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue sessionId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type LegacyPrismaTraceUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string externalId?: NullableStringFieldUpdateOperationsInput | string | null timestamp?: DateTimeFieldUpdateOperationsInput | Date | string name?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue release?: NullableStringFieldUpdateOperationsInput | string | null version?: NullableStringFieldUpdateOperationsInput | string | null projectId?: StringFieldUpdateOperationsInput | string public?: BoolFieldUpdateOperationsInput | boolean bookmarked?: BoolFieldUpdateOperationsInput | boolean tags?: LegacyPrismaTraceUpdatetagsInput | string[] input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue sessionId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type LegacyPrismaObservationCreateInput = { id?: string traceId?: string | null type: $Enums.LegacyPrismaObservationType startTime?: Date | string endTime?: Date | string | null name?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue parentObservationId?: string | null level?: $Enums.LegacyPrismaObservationLevel statusMessage?: string | null version?: string | null createdAt?: Date | string updatedAt?: Date | string model?: string | null internalModel?: string | null internalModelId?: string | null modelParameters?: NullableJsonNullValueInput | InputJsonValue input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue promptTokens?: number completionTokens?: number totalTokens?: number unit?: string | null inputCost?: Decimal | DecimalJsLike | number | string | null outputCost?: Decimal | DecimalJsLike | number | string | null totalCost?: Decimal | DecimalJsLike | number | string | null calculatedInputCost?: Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: Decimal | DecimalJsLike | number | string | null completionStartTime?: Date | string | null promptId?: string | null project: ProjectCreateNestedOneWithoutLegacyObservationInput } export type LegacyPrismaObservationUncheckedCreateInput = { id?: string traceId?: string | null projectId: string type: $Enums.LegacyPrismaObservationType startTime?: Date | string endTime?: Date | string | null name?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue parentObservationId?: string | null level?: $Enums.LegacyPrismaObservationLevel statusMessage?: string | null version?: string | null createdAt?: Date | string updatedAt?: Date | string model?: string | null internalModel?: string | null internalModelId?: string | null modelParameters?: NullableJsonNullValueInput | InputJsonValue input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue promptTokens?: number completionTokens?: number totalTokens?: number unit?: string | null inputCost?: Decimal | DecimalJsLike | number | string | null outputCost?: Decimal | DecimalJsLike | number | string | null totalCost?: Decimal | DecimalJsLike | number | string | null calculatedInputCost?: Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: Decimal | DecimalJsLike | number | string | null completionStartTime?: Date | string | null promptId?: string | null } export type LegacyPrismaObservationUpdateInput = { id?: StringFieldUpdateOperationsInput | string traceId?: NullableStringFieldUpdateOperationsInput | string | null type?: EnumLegacyPrismaObservationTypeFieldUpdateOperationsInput | $Enums.LegacyPrismaObservationType startTime?: DateTimeFieldUpdateOperationsInput | Date | string endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue parentObservationId?: NullableStringFieldUpdateOperationsInput | string | null level?: EnumLegacyPrismaObservationLevelFieldUpdateOperationsInput | $Enums.LegacyPrismaObservationLevel statusMessage?: NullableStringFieldUpdateOperationsInput | string | null version?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string model?: NullableStringFieldUpdateOperationsInput | string | null internalModel?: NullableStringFieldUpdateOperationsInput | string | null internalModelId?: NullableStringFieldUpdateOperationsInput | string | null modelParameters?: NullableJsonNullValueInput | InputJsonValue input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue promptTokens?: IntFieldUpdateOperationsInput | number completionTokens?: IntFieldUpdateOperationsInput | number totalTokens?: IntFieldUpdateOperationsInput | number unit?: NullableStringFieldUpdateOperationsInput | string | null inputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedInputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null completionStartTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null promptId?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutLegacyObservationNestedInput } export type LegacyPrismaObservationUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string traceId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: StringFieldUpdateOperationsInput | string type?: EnumLegacyPrismaObservationTypeFieldUpdateOperationsInput | $Enums.LegacyPrismaObservationType startTime?: DateTimeFieldUpdateOperationsInput | Date | string endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue parentObservationId?: NullableStringFieldUpdateOperationsInput | string | null level?: EnumLegacyPrismaObservationLevelFieldUpdateOperationsInput | $Enums.LegacyPrismaObservationLevel statusMessage?: NullableStringFieldUpdateOperationsInput | string | null version?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string model?: NullableStringFieldUpdateOperationsInput | string | null internalModel?: NullableStringFieldUpdateOperationsInput | string | null internalModelId?: NullableStringFieldUpdateOperationsInput | string | null modelParameters?: NullableJsonNullValueInput | InputJsonValue input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue promptTokens?: IntFieldUpdateOperationsInput | number completionTokens?: IntFieldUpdateOperationsInput | number totalTokens?: IntFieldUpdateOperationsInput | number unit?: NullableStringFieldUpdateOperationsInput | string | null inputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedInputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null completionStartTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null promptId?: NullableStringFieldUpdateOperationsInput | string | null } export type LegacyPrismaObservationCreateManyInput = { id?: string traceId?: string | null projectId: string type: $Enums.LegacyPrismaObservationType startTime?: Date | string endTime?: Date | string | null name?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue parentObservationId?: string | null level?: $Enums.LegacyPrismaObservationLevel statusMessage?: string | null version?: string | null createdAt?: Date | string updatedAt?: Date | string model?: string | null internalModel?: string | null internalModelId?: string | null modelParameters?: NullableJsonNullValueInput | InputJsonValue input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue promptTokens?: number completionTokens?: number totalTokens?: number unit?: string | null inputCost?: Decimal | DecimalJsLike | number | string | null outputCost?: Decimal | DecimalJsLike | number | string | null totalCost?: Decimal | DecimalJsLike | number | string | null calculatedInputCost?: Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: Decimal | DecimalJsLike | number | string | null completionStartTime?: Date | string | null promptId?: string | null } export type LegacyPrismaObservationUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string traceId?: NullableStringFieldUpdateOperationsInput | string | null type?: EnumLegacyPrismaObservationTypeFieldUpdateOperationsInput | $Enums.LegacyPrismaObservationType startTime?: DateTimeFieldUpdateOperationsInput | Date | string endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue parentObservationId?: NullableStringFieldUpdateOperationsInput | string | null level?: EnumLegacyPrismaObservationLevelFieldUpdateOperationsInput | $Enums.LegacyPrismaObservationLevel statusMessage?: NullableStringFieldUpdateOperationsInput | string | null version?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string model?: NullableStringFieldUpdateOperationsInput | string | null internalModel?: NullableStringFieldUpdateOperationsInput | string | null internalModelId?: NullableStringFieldUpdateOperationsInput | string | null modelParameters?: NullableJsonNullValueInput | InputJsonValue input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue promptTokens?: IntFieldUpdateOperationsInput | number completionTokens?: IntFieldUpdateOperationsInput | number totalTokens?: IntFieldUpdateOperationsInput | number unit?: NullableStringFieldUpdateOperationsInput | string | null inputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedInputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null completionStartTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null promptId?: NullableStringFieldUpdateOperationsInput | string | null } export type LegacyPrismaObservationUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string traceId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: StringFieldUpdateOperationsInput | string type?: EnumLegacyPrismaObservationTypeFieldUpdateOperationsInput | $Enums.LegacyPrismaObservationType startTime?: DateTimeFieldUpdateOperationsInput | Date | string endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue parentObservationId?: NullableStringFieldUpdateOperationsInput | string | null level?: EnumLegacyPrismaObservationLevelFieldUpdateOperationsInput | $Enums.LegacyPrismaObservationLevel statusMessage?: NullableStringFieldUpdateOperationsInput | string | null version?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string model?: NullableStringFieldUpdateOperationsInput | string | null internalModel?: NullableStringFieldUpdateOperationsInput | string | null internalModelId?: NullableStringFieldUpdateOperationsInput | string | null modelParameters?: NullableJsonNullValueInput | InputJsonValue input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue promptTokens?: IntFieldUpdateOperationsInput | number completionTokens?: IntFieldUpdateOperationsInput | number totalTokens?: IntFieldUpdateOperationsInput | number unit?: NullableStringFieldUpdateOperationsInput | string | null inputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedInputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null completionStartTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null promptId?: NullableStringFieldUpdateOperationsInput | string | null } export type LegacyPrismaScoreCreateInput = { id?: string timestamp?: Date | string name: string value?: number | null source: $Enums.LegacyPrismaScoreSource authorUserId?: string | null comment?: string | null traceId: string observationId?: string | null stringValue?: string | null queueId?: string | null createdAt?: Date | string updatedAt?: Date | string dataType?: $Enums.ScoreDataType project: ProjectCreateNestedOneWithoutLegacyScoreInput scoreConfig?: ScoreConfigCreateNestedOneWithoutLegacyScoreInput } export type LegacyPrismaScoreUncheckedCreateInput = { id?: string timestamp?: Date | string projectId: string name: string value?: number | null source: $Enums.LegacyPrismaScoreSource authorUserId?: string | null comment?: string | null traceId: string observationId?: string | null configId?: string | null stringValue?: string | null queueId?: string | null createdAt?: Date | string updatedAt?: Date | string dataType?: $Enums.ScoreDataType } export type LegacyPrismaScoreUpdateInput = { id?: StringFieldUpdateOperationsInput | string timestamp?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string value?: NullableFloatFieldUpdateOperationsInput | number | null source?: EnumLegacyPrismaScoreSourceFieldUpdateOperationsInput | $Enums.LegacyPrismaScoreSource authorUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null stringValue?: NullableStringFieldUpdateOperationsInput | string | null queueId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType project?: ProjectUpdateOneRequiredWithoutLegacyScoreNestedInput scoreConfig?: ScoreConfigUpdateOneWithoutLegacyScoreNestedInput } export type LegacyPrismaScoreUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string timestamp?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string value?: NullableFloatFieldUpdateOperationsInput | number | null source?: EnumLegacyPrismaScoreSourceFieldUpdateOperationsInput | $Enums.LegacyPrismaScoreSource authorUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null configId?: NullableStringFieldUpdateOperationsInput | string | null stringValue?: NullableStringFieldUpdateOperationsInput | string | null queueId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType } export type LegacyPrismaScoreCreateManyInput = { id?: string timestamp?: Date | string projectId: string name: string value?: number | null source: $Enums.LegacyPrismaScoreSource authorUserId?: string | null comment?: string | null traceId: string observationId?: string | null configId?: string | null stringValue?: string | null queueId?: string | null createdAt?: Date | string updatedAt?: Date | string dataType?: $Enums.ScoreDataType } export type LegacyPrismaScoreUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string timestamp?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string value?: NullableFloatFieldUpdateOperationsInput | number | null source?: EnumLegacyPrismaScoreSourceFieldUpdateOperationsInput | $Enums.LegacyPrismaScoreSource authorUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null stringValue?: NullableStringFieldUpdateOperationsInput | string | null queueId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType } export type LegacyPrismaScoreUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string timestamp?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string value?: NullableFloatFieldUpdateOperationsInput | number | null source?: EnumLegacyPrismaScoreSourceFieldUpdateOperationsInput | $Enums.LegacyPrismaScoreSource authorUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null configId?: NullableStringFieldUpdateOperationsInput | string | null stringValue?: NullableStringFieldUpdateOperationsInput | string | null queueId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType } export type ScoreConfigCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string dataType: $Enums.ScoreDataType isArchived?: boolean minValue?: number | null maxValue?: number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: string | null project: ProjectCreateNestedOneWithoutScoreConfigInput legacyScore?: LegacyPrismaScoreCreateNestedManyWithoutScoreConfigInput } export type ScoreConfigUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string name: string dataType: $Enums.ScoreDataType isArchived?: boolean minValue?: number | null maxValue?: number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: string | null legacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutScoreConfigInput } export type ScoreConfigUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType isArchived?: BoolFieldUpdateOperationsInput | boolean minValue?: NullableFloatFieldUpdateOperationsInput | number | null maxValue?: NullableFloatFieldUpdateOperationsInput | number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutScoreConfigNestedInput legacyScore?: LegacyPrismaScoreUpdateManyWithoutScoreConfigNestedInput } export type ScoreConfigUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType isArchived?: BoolFieldUpdateOperationsInput | boolean minValue?: NullableFloatFieldUpdateOperationsInput | number | null maxValue?: NullableFloatFieldUpdateOperationsInput | number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: NullableStringFieldUpdateOperationsInput | string | null legacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutScoreConfigNestedInput } export type ScoreConfigCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string name: string dataType: $Enums.ScoreDataType isArchived?: boolean minValue?: number | null maxValue?: number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: string | null } export type ScoreConfigUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType isArchived?: BoolFieldUpdateOperationsInput | boolean minValue?: NullableFloatFieldUpdateOperationsInput | number | null maxValue?: NullableFloatFieldUpdateOperationsInput | number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: NullableStringFieldUpdateOperationsInput | string | null } export type ScoreConfigUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType isArchived?: BoolFieldUpdateOperationsInput | boolean minValue?: NullableFloatFieldUpdateOperationsInput | number | null maxValue?: NullableFloatFieldUpdateOperationsInput | number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: NullableStringFieldUpdateOperationsInput | string | null } export type AnnotationQueueCreateInput = { id?: string name: string description?: string | null scoreConfigIds?: AnnotationQueueCreatescoreConfigIdsInput | string[] createdAt?: Date | string updatedAt?: Date | string project: ProjectCreateNestedOneWithoutAnnotationQueueInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutQueueInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutQueueInput } export type AnnotationQueueUncheckedCreateInput = { id?: string name: string description?: string | null scoreConfigIds?: AnnotationQueueCreatescoreConfigIdsInput | string[] projectId: string createdAt?: Date | string updatedAt?: Date | string annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutQueueInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutQueueInput } export type AnnotationQueueUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null scoreConfigIds?: AnnotationQueueUpdatescoreConfigIdsInput | string[] createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutAnnotationQueueNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutQueueNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutQueueNestedInput } export type AnnotationQueueUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null scoreConfigIds?: AnnotationQueueUpdatescoreConfigIdsInput | string[] projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutQueueNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutQueueNestedInput } export type AnnotationQueueCreateManyInput = { id?: string name: string description?: string | null scoreConfigIds?: AnnotationQueueCreatescoreConfigIdsInput | string[] projectId: string createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null scoreConfigIds?: AnnotationQueueUpdatescoreConfigIdsInput | string[] createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null scoreConfigIds?: AnnotationQueueUpdatescoreConfigIdsInput | string[] projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueItemCreateInput = { id?: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null completedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string queue: AnnotationQueueCreateNestedOneWithoutAnnotationQueueItemInput lockedByUser?: UserCreateNestedOneWithoutAnnotatedLockedItemInput annotatorUser?: UserCreateNestedOneWithoutAnnotatedCompletedItemInput project: ProjectCreateNestedOneWithoutAnnotationQueueItemInput } export type AnnotationQueueItemUncheckedCreateInput = { id?: string queueId: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null lockedByUserId?: string | null annotatorUserId?: string | null completedAt?: Date | string | null projectId: string createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueItemUpdateInput = { id?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string queue?: AnnotationQueueUpdateOneRequiredWithoutAnnotationQueueItemNestedInput lockedByUser?: UserUpdateOneWithoutAnnotatedLockedItemNestedInput annotatorUser?: UserUpdateOneWithoutAnnotatedCompletedItemNestedInput project?: ProjectUpdateOneRequiredWithoutAnnotationQueueItemNestedInput } export type AnnotationQueueItemUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string queueId?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lockedByUserId?: NullableStringFieldUpdateOperationsInput | string | null annotatorUserId?: NullableStringFieldUpdateOperationsInput | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueItemCreateManyInput = { id?: string queueId: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null lockedByUserId?: string | null annotatorUserId?: string | null completedAt?: Date | string | null projectId: string createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueItemUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueItemUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string queueId?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lockedByUserId?: NullableStringFieldUpdateOperationsInput | string | null annotatorUserId?: NullableStringFieldUpdateOperationsInput | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueAssignmentCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string project: ProjectCreateNestedOneWithoutAnnotationQueueAssignmentInput user: UserCreateNestedOneWithoutAnnotationQueueAssignmentInput queue: AnnotationQueueCreateNestedOneWithoutAnnotationQueueAssignmentInput } export type AnnotationQueueAssignmentUncheckedCreateInput = { id?: string projectId: string userId: string queueId: string createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueAssignmentUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutAnnotationQueueAssignmentNestedInput user?: UserUpdateOneRequiredWithoutAnnotationQueueAssignmentNestedInput queue?: AnnotationQueueUpdateOneRequiredWithoutAnnotationQueueAssignmentNestedInput } export type AnnotationQueueAssignmentUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string queueId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueAssignmentCreateManyInput = { id?: string projectId: string userId: string queueId: string createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueAssignmentUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueAssignmentUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string queueId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type CronJobsCreateInput = { name: string lastRun?: Date | string | null jobStartedAt?: Date | string | null state?: string | null } export type CronJobsUncheckedCreateInput = { name: string lastRun?: Date | string | null jobStartedAt?: Date | string | null state?: string | null } export type CronJobsUpdateInput = { name?: StringFieldUpdateOperationsInput | string lastRun?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobStartedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null state?: NullableStringFieldUpdateOperationsInput | string | null } export type CronJobsUncheckedUpdateInput = { name?: StringFieldUpdateOperationsInput | string lastRun?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobStartedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null state?: NullableStringFieldUpdateOperationsInput | string | null } export type CronJobsCreateManyInput = { name: string lastRun?: Date | string | null jobStartedAt?: Date | string | null state?: string | null } export type CronJobsUpdateManyMutationInput = { name?: StringFieldUpdateOperationsInput | string lastRun?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobStartedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null state?: NullableStringFieldUpdateOperationsInput | string | null } export type CronJobsUncheckedUpdateManyInput = { name?: StringFieldUpdateOperationsInput | string lastRun?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobStartedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null state?: NullableStringFieldUpdateOperationsInput | string | null } export type DatasetCreateInput = { id?: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string project: ProjectCreateNestedOneWithoutDatasetInput datasetItems?: DatasetItemCreateNestedManyWithoutDatasetInput datasetRuns?: DatasetRunsCreateNestedManyWithoutDatasetInput } export type DatasetUncheckedCreateInput = { id?: string projectId: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string datasetItems?: DatasetItemUncheckedCreateNestedManyWithoutDatasetInput datasetRuns?: DatasetRunsUncheckedCreateNestedManyWithoutDatasetInput } export type DatasetUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: NullableStringFieldUpdateOperationsInput | string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutDatasetNestedInput datasetItems?: DatasetItemUpdateManyWithoutDatasetNestedInput datasetRuns?: DatasetRunsUpdateManyWithoutDatasetNestedInput } export type DatasetUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: NullableStringFieldUpdateOperationsInput | string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string datasetItems?: DatasetItemUncheckedUpdateManyWithoutDatasetNestedInput datasetRuns?: DatasetRunsUncheckedUpdateManyWithoutDatasetNestedInput } export type DatasetCreateManyInput = { id?: string projectId: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type DatasetUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: NullableStringFieldUpdateOperationsInput | string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: NullableStringFieldUpdateOperationsInput | string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetItemCreateInput = { id?: string status?: $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: string | null sourceObservationId?: string | null createdAt?: Date | string updatedAt?: Date | string dataset: DatasetCreateNestedOneWithoutDatasetItemsInput datasetRunItems?: DatasetRunItemsCreateNestedManyWithoutDatasetItemInput } export type DatasetItemUncheckedCreateInput = { id?: string projectId: string status?: $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: string | null sourceObservationId?: string | null datasetId: string createdAt?: Date | string updatedAt?: Date | string datasetRunItems?: DatasetRunItemsUncheckedCreateNestedManyWithoutDatasetItemInput } export type DatasetItemUpdateInput = { id?: StringFieldUpdateOperationsInput | string status?: EnumDatasetStatusFieldUpdateOperationsInput | $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: NullableStringFieldUpdateOperationsInput | string | null sourceObservationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string dataset?: DatasetUpdateOneRequiredWithoutDatasetItemsNestedInput datasetRunItems?: DatasetRunItemsUpdateManyWithoutDatasetItemNestedInput } export type DatasetItemUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: EnumDatasetStatusFieldUpdateOperationsInput | $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: NullableStringFieldUpdateOperationsInput | string | null sourceObservationId?: NullableStringFieldUpdateOperationsInput | string | null datasetId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string datasetRunItems?: DatasetRunItemsUncheckedUpdateManyWithoutDatasetItemNestedInput } export type DatasetItemCreateManyInput = { id?: string projectId: string status?: $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: string | null sourceObservationId?: string | null datasetId: string createdAt?: Date | string updatedAt?: Date | string } export type DatasetItemUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string status?: EnumDatasetStatusFieldUpdateOperationsInput | $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: NullableStringFieldUpdateOperationsInput | string | null sourceObservationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetItemUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: EnumDatasetStatusFieldUpdateOperationsInput | $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: NullableStringFieldUpdateOperationsInput | string | null sourceObservationId?: NullableStringFieldUpdateOperationsInput | string | null datasetId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetRunsCreateInput = { id?: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string dataset: DatasetCreateNestedOneWithoutDatasetRunsInput datasetRunItems?: DatasetRunItemsCreateNestedManyWithoutDatasetRunInput } export type DatasetRunsUncheckedCreateInput = { id?: string projectId: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue datasetId: string createdAt?: Date | string updatedAt?: Date | string datasetRunItems?: DatasetRunItemsUncheckedCreateNestedManyWithoutDatasetRunInput } export type DatasetRunsUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string dataset?: DatasetUpdateOneRequiredWithoutDatasetRunsNestedInput datasetRunItems?: DatasetRunItemsUpdateManyWithoutDatasetRunNestedInput } export type DatasetRunsUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue datasetId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string datasetRunItems?: DatasetRunItemsUncheckedUpdateManyWithoutDatasetRunNestedInput } export type DatasetRunsCreateManyInput = { id?: string projectId: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue datasetId: string createdAt?: Date | string updatedAt?: Date | string } export type DatasetRunsUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetRunsUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue datasetId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetRunItemsCreateInput = { id?: string traceId: string observationId?: string | null createdAt?: Date | string updatedAt?: Date | string datasetRun: DatasetRunsCreateNestedOneWithoutDatasetRunItemsInput datasetItem: DatasetItemCreateNestedOneWithoutDatasetRunItemsInput } export type DatasetRunItemsUncheckedCreateInput = { id?: string projectId: string datasetRunId: string datasetItemId: string traceId: string observationId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type DatasetRunItemsUpdateInput = { id?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string datasetRun?: DatasetRunsUpdateOneRequiredWithoutDatasetRunItemsNestedInput datasetItem?: DatasetItemUpdateOneRequiredWithoutDatasetRunItemsNestedInput } export type DatasetRunItemsUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string datasetRunId?: StringFieldUpdateOperationsInput | string datasetItemId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetRunItemsCreateManyInput = { id?: string projectId: string datasetRunId: string datasetItemId: string traceId: string observationId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type DatasetRunItemsUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetRunItemsUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string datasetRunId?: StringFieldUpdateOperationsInput | string datasetItemId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type CommentCreateInput = { id?: string objectType: $Enums.CommentObjectType objectId: string createdAt?: Date | string updatedAt?: Date | string content: string authorUserId?: string | null project: ProjectCreateNestedOneWithoutCommentInput } export type CommentUncheckedCreateInput = { id?: string projectId: string objectType: $Enums.CommentObjectType objectId: string createdAt?: Date | string updatedAt?: Date | string content: string authorUserId?: string | null } export type CommentUpdateInput = { id?: StringFieldUpdateOperationsInput | string objectType?: EnumCommentObjectTypeFieldUpdateOperationsInput | $Enums.CommentObjectType objectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string content?: StringFieldUpdateOperationsInput | string authorUserId?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutCommentNestedInput } export type CommentUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string objectType?: EnumCommentObjectTypeFieldUpdateOperationsInput | $Enums.CommentObjectType objectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string content?: StringFieldUpdateOperationsInput | string authorUserId?: NullableStringFieldUpdateOperationsInput | string | null } export type CommentCreateManyInput = { id?: string projectId: string objectType: $Enums.CommentObjectType objectId: string createdAt?: Date | string updatedAt?: Date | string content: string authorUserId?: string | null } export type CommentUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string objectType?: EnumCommentObjectTypeFieldUpdateOperationsInput | $Enums.CommentObjectType objectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string content?: StringFieldUpdateOperationsInput | string authorUserId?: NullableStringFieldUpdateOperationsInput | string | null } export type CommentUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string objectType?: EnumCommentObjectTypeFieldUpdateOperationsInput | $Enums.CommentObjectType objectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string content?: StringFieldUpdateOperationsInput | string authorUserId?: NullableStringFieldUpdateOperationsInput | string | null } export type PromptCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy: string prompt: JsonNullValueInput | InputJsonValue name: string version: number type?: string isActive?: boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptCreatetagsInput | string[] labels?: PromptCreatelabelsInput | string[] commitMessage?: string | null project: ProjectCreateNestedOneWithoutPromptInput PromptDependency?: PromptDependencyCreateNestedManyWithoutParentInput } export type PromptUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string createdBy: string prompt: JsonNullValueInput | InputJsonValue name: string version: number type?: string isActive?: boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptCreatetagsInput | string[] labels?: PromptCreatelabelsInput | string[] commitMessage?: string | null PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutParentInput } export type PromptUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: StringFieldUpdateOperationsInput | string prompt?: JsonNullValueInput | InputJsonValue name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number type?: StringFieldUpdateOperationsInput | string isActive?: NullableBoolFieldUpdateOperationsInput | boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptUpdatetagsInput | string[] labels?: PromptUpdatelabelsInput | string[] commitMessage?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutPromptNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutParentNestedInput } export type PromptUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string createdBy?: StringFieldUpdateOperationsInput | string prompt?: JsonNullValueInput | InputJsonValue name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number type?: StringFieldUpdateOperationsInput | string isActive?: NullableBoolFieldUpdateOperationsInput | boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptUpdatetagsInput | string[] labels?: PromptUpdatelabelsInput | string[] commitMessage?: NullableStringFieldUpdateOperationsInput | string | null PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutParentNestedInput } export type PromptCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string createdBy: string prompt: JsonNullValueInput | InputJsonValue name: string version: number type?: string isActive?: boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptCreatetagsInput | string[] labels?: PromptCreatelabelsInput | string[] commitMessage?: string | null } export type PromptUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: StringFieldUpdateOperationsInput | string prompt?: JsonNullValueInput | InputJsonValue name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number type?: StringFieldUpdateOperationsInput | string isActive?: NullableBoolFieldUpdateOperationsInput | boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptUpdatetagsInput | string[] labels?: PromptUpdatelabelsInput | string[] commitMessage?: NullableStringFieldUpdateOperationsInput | string | null } export type PromptUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string createdBy?: StringFieldUpdateOperationsInput | string prompt?: JsonNullValueInput | InputJsonValue name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number type?: StringFieldUpdateOperationsInput | string isActive?: NullableBoolFieldUpdateOperationsInput | boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptUpdatetagsInput | string[] labels?: PromptUpdatelabelsInput | string[] commitMessage?: NullableStringFieldUpdateOperationsInput | string | null } export type PromptDependencyCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string childName: string childLabel?: string | null childVersion?: number | null project: ProjectCreateNestedOneWithoutPromptDependencyInput parent: PromptCreateNestedOneWithoutPromptDependencyInput } export type PromptDependencyUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string parentId: string childName: string childLabel?: string | null childVersion?: number | null } export type PromptDependencyUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string childName?: StringFieldUpdateOperationsInput | string childLabel?: NullableStringFieldUpdateOperationsInput | string | null childVersion?: NullableIntFieldUpdateOperationsInput | number | null project?: ProjectUpdateOneRequiredWithoutPromptDependencyNestedInput parent?: PromptUpdateOneRequiredWithoutPromptDependencyNestedInput } export type PromptDependencyUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string parentId?: StringFieldUpdateOperationsInput | string childName?: StringFieldUpdateOperationsInput | string childLabel?: NullableStringFieldUpdateOperationsInput | string | null childVersion?: NullableIntFieldUpdateOperationsInput | number | null } export type PromptDependencyCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string parentId: string childName: string childLabel?: string | null childVersion?: number | null } export type PromptDependencyUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string childName?: StringFieldUpdateOperationsInput | string childLabel?: NullableStringFieldUpdateOperationsInput | string | null childVersion?: NullableIntFieldUpdateOperationsInput | number | null } export type PromptDependencyUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string parentId?: StringFieldUpdateOperationsInput | string childName?: StringFieldUpdateOperationsInput | string childLabel?: NullableStringFieldUpdateOperationsInput | string | null childVersion?: NullableIntFieldUpdateOperationsInput | number | null } export type PromptProtectedLabelsCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string label: string project: ProjectCreateNestedOneWithoutPromptProtectedLabelsInput } export type PromptProtectedLabelsUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string label: string } export type PromptProtectedLabelsUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string label?: StringFieldUpdateOperationsInput | string project?: ProjectUpdateOneRequiredWithoutPromptProtectedLabelsNestedInput } export type PromptProtectedLabelsUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string label?: StringFieldUpdateOperationsInput | string } export type PromptProtectedLabelsCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string label: string } export type PromptProtectedLabelsUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string label?: StringFieldUpdateOperationsInput | string } export type PromptProtectedLabelsUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string label?: StringFieldUpdateOperationsInput | string } export type ModelCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string modelName: string matchPattern: string startDate?: Date | string | null inputPrice?: Decimal | DecimalJsLike | number | string | null outputPrice?: Decimal | DecimalJsLike | number | string | null totalPrice?: Decimal | DecimalJsLike | number | string | null unit?: string | null tokenizerId?: string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue project?: ProjectCreateNestedOneWithoutModelInput Price?: PriceCreateNestedManyWithoutModelInput } export type ModelUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId?: string | null modelName: string matchPattern: string startDate?: Date | string | null inputPrice?: Decimal | DecimalJsLike | number | string | null outputPrice?: Decimal | DecimalJsLike | number | string | null totalPrice?: Decimal | DecimalJsLike | number | string | null unit?: string | null tokenizerId?: string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue Price?: PriceUncheckedCreateNestedManyWithoutModelInput } export type ModelUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string modelName?: StringFieldUpdateOperationsInput | string matchPattern?: StringFieldUpdateOperationsInput | string startDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null inputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null unit?: NullableStringFieldUpdateOperationsInput | string | null tokenizerId?: NullableStringFieldUpdateOperationsInput | string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue project?: ProjectUpdateOneWithoutModelNestedInput Price?: PriceUpdateManyWithoutModelNestedInput } export type ModelUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: NullableStringFieldUpdateOperationsInput | string | null modelName?: StringFieldUpdateOperationsInput | string matchPattern?: StringFieldUpdateOperationsInput | string startDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null inputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null unit?: NullableStringFieldUpdateOperationsInput | string | null tokenizerId?: NullableStringFieldUpdateOperationsInput | string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue Price?: PriceUncheckedUpdateManyWithoutModelNestedInput } export type ModelCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId?: string | null modelName: string matchPattern: string startDate?: Date | string | null inputPrice?: Decimal | DecimalJsLike | number | string | null outputPrice?: Decimal | DecimalJsLike | number | string | null totalPrice?: Decimal | DecimalJsLike | number | string | null unit?: string | null tokenizerId?: string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue } export type ModelUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string modelName?: StringFieldUpdateOperationsInput | string matchPattern?: StringFieldUpdateOperationsInput | string startDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null inputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null unit?: NullableStringFieldUpdateOperationsInput | string | null tokenizerId?: NullableStringFieldUpdateOperationsInput | string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue } export type ModelUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: NullableStringFieldUpdateOperationsInput | string | null modelName?: StringFieldUpdateOperationsInput | string matchPattern?: StringFieldUpdateOperationsInput | string startDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null inputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null unit?: NullableStringFieldUpdateOperationsInput | string | null tokenizerId?: NullableStringFieldUpdateOperationsInput | string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue } export type PriceCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string usageType: string price: Decimal | DecimalJsLike | number | string Model: ModelCreateNestedOneWithoutPriceInput project?: ProjectCreateNestedOneWithoutPriceInput } export type PriceUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string modelId: string projectId?: string | null usageType: string price: Decimal | DecimalJsLike | number | string } export type PriceUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string usageType?: StringFieldUpdateOperationsInput | string price?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string Model?: ModelUpdateOneRequiredWithoutPriceNestedInput project?: ProjectUpdateOneWithoutPriceNestedInput } export type PriceUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string modelId?: StringFieldUpdateOperationsInput | string projectId?: NullableStringFieldUpdateOperationsInput | string | null usageType?: StringFieldUpdateOperationsInput | string price?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string } export type PriceCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string modelId: string projectId?: string | null usageType: string price: Decimal | DecimalJsLike | number | string } export type PriceUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string usageType?: StringFieldUpdateOperationsInput | string price?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string } export type PriceUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string modelId?: StringFieldUpdateOperationsInput | string projectId?: NullableStringFieldUpdateOperationsInput | string | null usageType?: StringFieldUpdateOperationsInput | string price?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string } export type AuditLogCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type?: $Enums.AuditLogRecordType apiKeyId?: string | null userId?: string | null orgId: string userOrgRole?: string | null projectId?: string | null userProjectRole?: string | null resourceType: string resourceId: string action: string before?: string | null after?: string | null } export type AuditLogUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type?: $Enums.AuditLogRecordType apiKeyId?: string | null userId?: string | null orgId: string userOrgRole?: string | null projectId?: string | null userProjectRole?: string | null resourceType: string resourceId: string action: string before?: string | null after?: string | null } export type AuditLogUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string type?: EnumAuditLogRecordTypeFieldUpdateOperationsInput | $Enums.AuditLogRecordType apiKeyId?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null orgId?: StringFieldUpdateOperationsInput | string userOrgRole?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null userProjectRole?: NullableStringFieldUpdateOperationsInput | string | null resourceType?: StringFieldUpdateOperationsInput | string resourceId?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string before?: NullableStringFieldUpdateOperationsInput | string | null after?: NullableStringFieldUpdateOperationsInput | string | null } export type AuditLogUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string type?: EnumAuditLogRecordTypeFieldUpdateOperationsInput | $Enums.AuditLogRecordType apiKeyId?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null orgId?: StringFieldUpdateOperationsInput | string userOrgRole?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null userProjectRole?: NullableStringFieldUpdateOperationsInput | string | null resourceType?: StringFieldUpdateOperationsInput | string resourceId?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string before?: NullableStringFieldUpdateOperationsInput | string | null after?: NullableStringFieldUpdateOperationsInput | string | null } export type AuditLogCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type?: $Enums.AuditLogRecordType apiKeyId?: string | null userId?: string | null orgId: string userOrgRole?: string | null projectId?: string | null userProjectRole?: string | null resourceType: string resourceId: string action: string before?: string | null after?: string | null } export type AuditLogUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string type?: EnumAuditLogRecordTypeFieldUpdateOperationsInput | $Enums.AuditLogRecordType apiKeyId?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null orgId?: StringFieldUpdateOperationsInput | string userOrgRole?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null userProjectRole?: NullableStringFieldUpdateOperationsInput | string | null resourceType?: StringFieldUpdateOperationsInput | string resourceId?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string before?: NullableStringFieldUpdateOperationsInput | string | null after?: NullableStringFieldUpdateOperationsInput | string | null } export type AuditLogUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string type?: EnumAuditLogRecordTypeFieldUpdateOperationsInput | $Enums.AuditLogRecordType apiKeyId?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null orgId?: StringFieldUpdateOperationsInput | string userOrgRole?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null userProjectRole?: NullableStringFieldUpdateOperationsInput | string | null resourceType?: StringFieldUpdateOperationsInput | string resourceId?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string before?: NullableStringFieldUpdateOperationsInput | string | null after?: NullableStringFieldUpdateOperationsInput | string | null } export type EvalTemplateCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string version: number prompt: string partner?: string | null model?: string | null provider?: string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateCreatevarsInput | string[] outputSchema: JsonNullValueInput | InputJsonValue project?: ProjectCreateNestedOneWithoutEvalTemplateInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutEvalTemplateInput JobExecution?: JobExecutionCreateNestedManyWithoutJobTemplateInput } export type EvalTemplateUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId?: string | null name: string version: number prompt: string partner?: string | null model?: string | null provider?: string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateCreatevarsInput | string[] outputSchema: JsonNullValueInput | InputJsonValue JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutEvalTemplateInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutJobTemplateInput } export type EvalTemplateUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number prompt?: StringFieldUpdateOperationsInput | string partner?: NullableStringFieldUpdateOperationsInput | string | null model?: NullableStringFieldUpdateOperationsInput | string | null provider?: NullableStringFieldUpdateOperationsInput | string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateUpdatevarsInput | string[] outputSchema?: JsonNullValueInput | InputJsonValue project?: ProjectUpdateOneWithoutEvalTemplateNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutEvalTemplateNestedInput JobExecution?: JobExecutionUpdateManyWithoutJobTemplateNestedInput } export type EvalTemplateUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number prompt?: StringFieldUpdateOperationsInput | string partner?: NullableStringFieldUpdateOperationsInput | string | null model?: NullableStringFieldUpdateOperationsInput | string | null provider?: NullableStringFieldUpdateOperationsInput | string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateUpdatevarsInput | string[] outputSchema?: JsonNullValueInput | InputJsonValue JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutEvalTemplateNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutJobTemplateNestedInput } export type EvalTemplateCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId?: string | null name: string version: number prompt: string partner?: string | null model?: string | null provider?: string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateCreatevarsInput | string[] outputSchema: JsonNullValueInput | InputJsonValue } export type EvalTemplateUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number prompt?: StringFieldUpdateOperationsInput | string partner?: NullableStringFieldUpdateOperationsInput | string | null model?: NullableStringFieldUpdateOperationsInput | string | null provider?: NullableStringFieldUpdateOperationsInput | string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateUpdatevarsInput | string[] outputSchema?: JsonNullValueInput | InputJsonValue } export type EvalTemplateUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number prompt?: StringFieldUpdateOperationsInput | string partner?: NullableStringFieldUpdateOperationsInput | string | null model?: NullableStringFieldUpdateOperationsInput | string | null provider?: NullableStringFieldUpdateOperationsInput | string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateUpdatevarsInput | string[] outputSchema?: JsonNullValueInput | InputJsonValue } export type JobConfigurationCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string jobType: $Enums.JobType status?: $Enums.JobConfigState scoreName: string filter: JsonNullValueInput | InputJsonValue targetObject: string variableMapping: JsonNullValueInput | InputJsonValue sampling: Decimal | DecimalJsLike | number | string delay: number timeScope?: JobConfigurationCreatetimeScopeInput | string[] project: ProjectCreateNestedOneWithoutJobConfigurationInput evalTemplate?: EvalTemplateCreateNestedOneWithoutJobConfigurationInput JobExecution?: JobExecutionCreateNestedManyWithoutJobConfigurationInput } export type JobConfigurationUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string jobType: $Enums.JobType status?: $Enums.JobConfigState evalTemplateId?: string | null scoreName: string filter: JsonNullValueInput | InputJsonValue targetObject: string variableMapping: JsonNullValueInput | InputJsonValue sampling: Decimal | DecimalJsLike | number | string delay: number timeScope?: JobConfigurationCreatetimeScopeInput | string[] JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutJobConfigurationInput } export type JobConfigurationUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string jobType?: EnumJobTypeFieldUpdateOperationsInput | $Enums.JobType status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState scoreName?: StringFieldUpdateOperationsInput | string filter?: JsonNullValueInput | InputJsonValue targetObject?: StringFieldUpdateOperationsInput | string variableMapping?: JsonNullValueInput | InputJsonValue sampling?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string delay?: IntFieldUpdateOperationsInput | number timeScope?: JobConfigurationUpdatetimeScopeInput | string[] project?: ProjectUpdateOneRequiredWithoutJobConfigurationNestedInput evalTemplate?: EvalTemplateUpdateOneWithoutJobConfigurationNestedInput JobExecution?: JobExecutionUpdateManyWithoutJobConfigurationNestedInput } export type JobConfigurationUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string jobType?: EnumJobTypeFieldUpdateOperationsInput | $Enums.JobType status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState evalTemplateId?: NullableStringFieldUpdateOperationsInput | string | null scoreName?: StringFieldUpdateOperationsInput | string filter?: JsonNullValueInput | InputJsonValue targetObject?: StringFieldUpdateOperationsInput | string variableMapping?: JsonNullValueInput | InputJsonValue sampling?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string delay?: IntFieldUpdateOperationsInput | number timeScope?: JobConfigurationUpdatetimeScopeInput | string[] JobExecution?: JobExecutionUncheckedUpdateManyWithoutJobConfigurationNestedInput } export type JobConfigurationCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string jobType: $Enums.JobType status?: $Enums.JobConfigState evalTemplateId?: string | null scoreName: string filter: JsonNullValueInput | InputJsonValue targetObject: string variableMapping: JsonNullValueInput | InputJsonValue sampling: Decimal | DecimalJsLike | number | string delay: number timeScope?: JobConfigurationCreatetimeScopeInput | string[] } export type JobConfigurationUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string jobType?: EnumJobTypeFieldUpdateOperationsInput | $Enums.JobType status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState scoreName?: StringFieldUpdateOperationsInput | string filter?: JsonNullValueInput | InputJsonValue targetObject?: StringFieldUpdateOperationsInput | string variableMapping?: JsonNullValueInput | InputJsonValue sampling?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string delay?: IntFieldUpdateOperationsInput | number timeScope?: JobConfigurationUpdatetimeScopeInput | string[] } export type JobConfigurationUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string jobType?: EnumJobTypeFieldUpdateOperationsInput | $Enums.JobType status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState evalTemplateId?: NullableStringFieldUpdateOperationsInput | string | null scoreName?: StringFieldUpdateOperationsInput | string filter?: JsonNullValueInput | InputJsonValue targetObject?: StringFieldUpdateOperationsInput | string variableMapping?: JsonNullValueInput | InputJsonValue sampling?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string delay?: IntFieldUpdateOperationsInput | number timeScope?: JobConfigurationUpdatetimeScopeInput | string[] } export type JobExecutionCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string status: $Enums.JobExecutionStatus startTime?: Date | string | null endTime?: Date | string | null error?: string | null jobInputTraceId?: string | null jobInputTraceTimestamp?: Date | string | null jobInputObservationId?: string | null jobInputDatasetItemId?: string | null jobOutputScoreId?: string | null project: ProjectCreateNestedOneWithoutJobExecutionInput jobConfiguration: JobConfigurationCreateNestedOneWithoutJobExecutionInput jobTemplate?: EvalTemplateCreateNestedOneWithoutJobExecutionInput } export type JobExecutionUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string jobConfigurationId: string jobTemplateId?: string | null status: $Enums.JobExecutionStatus startTime?: Date | string | null endTime?: Date | string | null error?: string | null jobInputTraceId?: string | null jobInputTraceTimestamp?: Date | string | null jobInputObservationId?: string | null jobInputDatasetItemId?: string | null jobOutputScoreId?: string | null } export type JobExecutionUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string status?: EnumJobExecutionStatusFieldUpdateOperationsInput | $Enums.JobExecutionStatus startTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceId?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceTimestamp?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobInputObservationId?: NullableStringFieldUpdateOperationsInput | string | null jobInputDatasetItemId?: NullableStringFieldUpdateOperationsInput | string | null jobOutputScoreId?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutJobExecutionNestedInput jobConfiguration?: JobConfigurationUpdateOneRequiredWithoutJobExecutionNestedInput jobTemplate?: EvalTemplateUpdateOneWithoutJobExecutionNestedInput } export type JobExecutionUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string jobConfigurationId?: StringFieldUpdateOperationsInput | string jobTemplateId?: NullableStringFieldUpdateOperationsInput | string | null status?: EnumJobExecutionStatusFieldUpdateOperationsInput | $Enums.JobExecutionStatus startTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceId?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceTimestamp?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobInputObservationId?: NullableStringFieldUpdateOperationsInput | string | null jobInputDatasetItemId?: NullableStringFieldUpdateOperationsInput | string | null jobOutputScoreId?: NullableStringFieldUpdateOperationsInput | string | null } export type JobExecutionCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string jobConfigurationId: string jobTemplateId?: string | null status: $Enums.JobExecutionStatus startTime?: Date | string | null endTime?: Date | string | null error?: string | null jobInputTraceId?: string | null jobInputTraceTimestamp?: Date | string | null jobInputObservationId?: string | null jobInputDatasetItemId?: string | null jobOutputScoreId?: string | null } export type JobExecutionUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string status?: EnumJobExecutionStatusFieldUpdateOperationsInput | $Enums.JobExecutionStatus startTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceId?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceTimestamp?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobInputObservationId?: NullableStringFieldUpdateOperationsInput | string | null jobInputDatasetItemId?: NullableStringFieldUpdateOperationsInput | string | null jobOutputScoreId?: NullableStringFieldUpdateOperationsInput | string | null } export type JobExecutionUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string jobConfigurationId?: StringFieldUpdateOperationsInput | string jobTemplateId?: NullableStringFieldUpdateOperationsInput | string | null status?: EnumJobExecutionStatusFieldUpdateOperationsInput | $Enums.JobExecutionStatus startTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceId?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceTimestamp?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobInputObservationId?: NullableStringFieldUpdateOperationsInput | string | null jobInputDatasetItemId?: NullableStringFieldUpdateOperationsInput | string | null jobOutputScoreId?: NullableStringFieldUpdateOperationsInput | string | null } export type DefaultLlmModelCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string provider: string adapter: string model: string modelParams?: NullableJsonNullValueInput | InputJsonValue Project: ProjectCreateNestedOneWithoutDefaultLlmModelInput LlmApiKey: LlmApiKeysCreateNestedOneWithoutDefaultLlmModelInput } export type DefaultLlmModelUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string llmApiKeyId: string provider: string adapter: string model: string modelParams?: NullableJsonNullValueInput | InputJsonValue } export type DefaultLlmModelUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string model?: StringFieldUpdateOperationsInput | string modelParams?: NullableJsonNullValueInput | InputJsonValue Project?: ProjectUpdateOneRequiredWithoutDefaultLlmModelNestedInput LlmApiKey?: LlmApiKeysUpdateOneRequiredWithoutDefaultLlmModelNestedInput } export type DefaultLlmModelUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string llmApiKeyId?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string model?: StringFieldUpdateOperationsInput | string modelParams?: NullableJsonNullValueInput | InputJsonValue } export type DefaultLlmModelCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string llmApiKeyId: string provider: string adapter: string model: string modelParams?: NullableJsonNullValueInput | InputJsonValue } export type DefaultLlmModelUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string model?: StringFieldUpdateOperationsInput | string modelParams?: NullableJsonNullValueInput | InputJsonValue } export type DefaultLlmModelUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string llmApiKeyId?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string model?: StringFieldUpdateOperationsInput | string modelParams?: NullableJsonNullValueInput | InputJsonValue } export type SsoConfigCreateInput = { domain?: string createdAt?: Date | string updatedAt?: Date | string authProvider: string authConfig?: NullableJsonNullValueInput | InputJsonValue } export type SsoConfigUncheckedCreateInput = { domain?: string createdAt?: Date | string updatedAt?: Date | string authProvider: string authConfig?: NullableJsonNullValueInput | InputJsonValue } export type SsoConfigUpdateInput = { domain?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string authProvider?: StringFieldUpdateOperationsInput | string authConfig?: NullableJsonNullValueInput | InputJsonValue } export type SsoConfigUncheckedUpdateInput = { domain?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string authProvider?: StringFieldUpdateOperationsInput | string authConfig?: NullableJsonNullValueInput | InputJsonValue } export type SsoConfigCreateManyInput = { domain?: string createdAt?: Date | string updatedAt?: Date | string authProvider: string authConfig?: NullableJsonNullValueInput | InputJsonValue } export type SsoConfigUpdateManyMutationInput = { domain?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string authProvider?: StringFieldUpdateOperationsInput | string authConfig?: NullableJsonNullValueInput | InputJsonValue } export type SsoConfigUncheckedUpdateManyInput = { domain?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string authProvider?: StringFieldUpdateOperationsInput | string authConfig?: NullableJsonNullValueInput | InputJsonValue } export type PosthogIntegrationCreateInput = { encryptedPosthogApiKey: string posthogHostName: string lastSyncAt?: Date | string | null enabled: boolean createdAt?: Date | string project: ProjectCreateNestedOneWithoutPosthogIntegrationInput } export type PosthogIntegrationUncheckedCreateInput = { projectId: string encryptedPosthogApiKey: string posthogHostName: string lastSyncAt?: Date | string | null enabled: boolean createdAt?: Date | string } export type PosthogIntegrationUpdateInput = { encryptedPosthogApiKey?: StringFieldUpdateOperationsInput | string posthogHostName?: StringFieldUpdateOperationsInput | string lastSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null enabled?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutPosthogIntegrationNestedInput } export type PosthogIntegrationUncheckedUpdateInput = { projectId?: StringFieldUpdateOperationsInput | string encryptedPosthogApiKey?: StringFieldUpdateOperationsInput | string posthogHostName?: StringFieldUpdateOperationsInput | string lastSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null enabled?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type PosthogIntegrationCreateManyInput = { projectId: string encryptedPosthogApiKey: string posthogHostName: string lastSyncAt?: Date | string | null enabled: boolean createdAt?: Date | string } export type PosthogIntegrationUpdateManyMutationInput = { encryptedPosthogApiKey?: StringFieldUpdateOperationsInput | string posthogHostName?: StringFieldUpdateOperationsInput | string lastSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null enabled?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type PosthogIntegrationUncheckedUpdateManyInput = { projectId?: StringFieldUpdateOperationsInput | string encryptedPosthogApiKey?: StringFieldUpdateOperationsInput | string posthogHostName?: StringFieldUpdateOperationsInput | string lastSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null enabled?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type BlobStorageIntegrationCreateInput = { type: $Enums.BlobStorageIntegrationType bucketName: string prefix: string accessKeyId?: string | null secretAccessKey?: string | null region: string endpoint?: string | null forcePathStyle: boolean nextSyncAt?: Date | string | null lastSyncAt?: Date | string | null enabled: boolean exportFrequency: string fileType?: $Enums.BlobStorageIntegrationFileType exportMode?: $Enums.BlobStorageExportMode exportStartDate?: Date | string | null createdAt?: Date | string updatedAt?: Date | string project: ProjectCreateNestedOneWithoutBlobStorageIntegrationInput } export type BlobStorageIntegrationUncheckedCreateInput = { projectId: string type: $Enums.BlobStorageIntegrationType bucketName: string prefix: string accessKeyId?: string | null secretAccessKey?: string | null region: string endpoint?: string | null forcePathStyle: boolean nextSyncAt?: Date | string | null lastSyncAt?: Date | string | null enabled: boolean exportFrequency: string fileType?: $Enums.BlobStorageIntegrationFileType exportMode?: $Enums.BlobStorageExportMode exportStartDate?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type BlobStorageIntegrationUpdateInput = { type?: EnumBlobStorageIntegrationTypeFieldUpdateOperationsInput | $Enums.BlobStorageIntegrationType bucketName?: StringFieldUpdateOperationsInput | string prefix?: StringFieldUpdateOperationsInput | string accessKeyId?: NullableStringFieldUpdateOperationsInput | string | null secretAccessKey?: NullableStringFieldUpdateOperationsInput | string | null region?: StringFieldUpdateOperationsInput | string endpoint?: NullableStringFieldUpdateOperationsInput | string | null forcePathStyle?: BoolFieldUpdateOperationsInput | boolean nextSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null enabled?: BoolFieldUpdateOperationsInput | boolean exportFrequency?: StringFieldUpdateOperationsInput | string fileType?: EnumBlobStorageIntegrationFileTypeFieldUpdateOperationsInput | $Enums.BlobStorageIntegrationFileType exportMode?: EnumBlobStorageExportModeFieldUpdateOperationsInput | $Enums.BlobStorageExportMode exportStartDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutBlobStorageIntegrationNestedInput } export type BlobStorageIntegrationUncheckedUpdateInput = { projectId?: StringFieldUpdateOperationsInput | string type?: EnumBlobStorageIntegrationTypeFieldUpdateOperationsInput | $Enums.BlobStorageIntegrationType bucketName?: StringFieldUpdateOperationsInput | string prefix?: StringFieldUpdateOperationsInput | string accessKeyId?: NullableStringFieldUpdateOperationsInput | string | null secretAccessKey?: NullableStringFieldUpdateOperationsInput | string | null region?: StringFieldUpdateOperationsInput | string endpoint?: NullableStringFieldUpdateOperationsInput | string | null forcePathStyle?: BoolFieldUpdateOperationsInput | boolean nextSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null enabled?: BoolFieldUpdateOperationsInput | boolean exportFrequency?: StringFieldUpdateOperationsInput | string fileType?: EnumBlobStorageIntegrationFileTypeFieldUpdateOperationsInput | $Enums.BlobStorageIntegrationFileType exportMode?: EnumBlobStorageExportModeFieldUpdateOperationsInput | $Enums.BlobStorageExportMode exportStartDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type BlobStorageIntegrationCreateManyInput = { projectId: string type: $Enums.BlobStorageIntegrationType bucketName: string prefix: string accessKeyId?: string | null secretAccessKey?: string | null region: string endpoint?: string | null forcePathStyle: boolean nextSyncAt?: Date | string | null lastSyncAt?: Date | string | null enabled: boolean exportFrequency: string fileType?: $Enums.BlobStorageIntegrationFileType exportMode?: $Enums.BlobStorageExportMode exportStartDate?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type BlobStorageIntegrationUpdateManyMutationInput = { type?: EnumBlobStorageIntegrationTypeFieldUpdateOperationsInput | $Enums.BlobStorageIntegrationType bucketName?: StringFieldUpdateOperationsInput | string prefix?: StringFieldUpdateOperationsInput | string accessKeyId?: NullableStringFieldUpdateOperationsInput | string | null secretAccessKey?: NullableStringFieldUpdateOperationsInput | string | null region?: StringFieldUpdateOperationsInput | string endpoint?: NullableStringFieldUpdateOperationsInput | string | null forcePathStyle?: BoolFieldUpdateOperationsInput | boolean nextSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null enabled?: BoolFieldUpdateOperationsInput | boolean exportFrequency?: StringFieldUpdateOperationsInput | string fileType?: EnumBlobStorageIntegrationFileTypeFieldUpdateOperationsInput | $Enums.BlobStorageIntegrationFileType exportMode?: EnumBlobStorageExportModeFieldUpdateOperationsInput | $Enums.BlobStorageExportMode exportStartDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type BlobStorageIntegrationUncheckedUpdateManyInput = { projectId?: StringFieldUpdateOperationsInput | string type?: EnumBlobStorageIntegrationTypeFieldUpdateOperationsInput | $Enums.BlobStorageIntegrationType bucketName?: StringFieldUpdateOperationsInput | string prefix?: StringFieldUpdateOperationsInput | string accessKeyId?: NullableStringFieldUpdateOperationsInput | string | null secretAccessKey?: NullableStringFieldUpdateOperationsInput | string | null region?: StringFieldUpdateOperationsInput | string endpoint?: NullableStringFieldUpdateOperationsInput | string | null forcePathStyle?: BoolFieldUpdateOperationsInput | boolean nextSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null enabled?: BoolFieldUpdateOperationsInput | boolean exportFrequency?: StringFieldUpdateOperationsInput | string fileType?: EnumBlobStorageIntegrationFileTypeFieldUpdateOperationsInput | $Enums.BlobStorageIntegrationFileType exportMode?: EnumBlobStorageExportModeFieldUpdateOperationsInput | $Enums.BlobStorageExportMode exportStartDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type BatchExportCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string userId: string finishedAt?: Date | string | null expiresAt?: Date | string | null name: string status: string query: JsonNullValueInput | InputJsonValue format: string url?: string | null log?: string | null project: ProjectCreateNestedOneWithoutBatchExportInput } export type BatchExportUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string userId: string finishedAt?: Date | string | null expiresAt?: Date | string | null name: string status: string query: JsonNullValueInput | InputJsonValue format: string url?: string | null log?: string | null } export type BatchExportUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string query?: JsonNullValueInput | InputJsonValue format?: StringFieldUpdateOperationsInput | string url?: NullableStringFieldUpdateOperationsInput | string | null log?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutBatchExportNestedInput } export type BatchExportUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string query?: JsonNullValueInput | InputJsonValue format?: StringFieldUpdateOperationsInput | string url?: NullableStringFieldUpdateOperationsInput | string | null log?: NullableStringFieldUpdateOperationsInput | string | null } export type BatchExportCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string userId: string finishedAt?: Date | string | null expiresAt?: Date | string | null name: string status: string query: JsonNullValueInput | InputJsonValue format: string url?: string | null log?: string | null } export type BatchExportUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string query?: JsonNullValueInput | InputJsonValue format?: StringFieldUpdateOperationsInput | string url?: NullableStringFieldUpdateOperationsInput | string | null log?: NullableStringFieldUpdateOperationsInput | string | null } export type BatchExportUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string query?: JsonNullValueInput | InputJsonValue format?: StringFieldUpdateOperationsInput | string url?: NullableStringFieldUpdateOperationsInput | string | null log?: NullableStringFieldUpdateOperationsInput | string | null } export type MediaCreateInput = { id: string sha256Hash: string createdAt?: Date | string updatedAt?: Date | string uploadedAt?: Date | string | null uploadHttpStatus?: number | null uploadHttpError?: string | null bucketPath: string bucketName: string contentType: string contentLength: bigint | number project: ProjectCreateNestedOneWithoutMediaInput TraceMedia?: TraceMediaCreateNestedManyWithoutMediaInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutMediaInput } export type MediaUncheckedCreateInput = { id: string sha256Hash: string projectId: string createdAt?: Date | string updatedAt?: Date | string uploadedAt?: Date | string | null uploadHttpStatus?: number | null uploadHttpError?: string | null bucketPath: string bucketName: string contentType: string contentLength: bigint | number TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutMediaInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutMediaInput } export type MediaUpdateInput = { id?: StringFieldUpdateOperationsInput | string sha256Hash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string uploadedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null uploadHttpStatus?: NullableIntFieldUpdateOperationsInput | number | null uploadHttpError?: NullableStringFieldUpdateOperationsInput | string | null bucketPath?: StringFieldUpdateOperationsInput | string bucketName?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string contentLength?: BigIntFieldUpdateOperationsInput | bigint | number project?: ProjectUpdateOneRequiredWithoutMediaNestedInput TraceMedia?: TraceMediaUpdateManyWithoutMediaNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutMediaNestedInput } export type MediaUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string sha256Hash?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string uploadedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null uploadHttpStatus?: NullableIntFieldUpdateOperationsInput | number | null uploadHttpError?: NullableStringFieldUpdateOperationsInput | string | null bucketPath?: StringFieldUpdateOperationsInput | string bucketName?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string contentLength?: BigIntFieldUpdateOperationsInput | bigint | number TraceMedia?: TraceMediaUncheckedUpdateManyWithoutMediaNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutMediaNestedInput } export type MediaCreateManyInput = { id: string sha256Hash: string projectId: string createdAt?: Date | string updatedAt?: Date | string uploadedAt?: Date | string | null uploadHttpStatus?: number | null uploadHttpError?: string | null bucketPath: string bucketName: string contentType: string contentLength: bigint | number } export type MediaUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string sha256Hash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string uploadedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null uploadHttpStatus?: NullableIntFieldUpdateOperationsInput | number | null uploadHttpError?: NullableStringFieldUpdateOperationsInput | string | null bucketPath?: StringFieldUpdateOperationsInput | string bucketName?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string contentLength?: BigIntFieldUpdateOperationsInput | bigint | number } export type MediaUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string sha256Hash?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string uploadedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null uploadHttpStatus?: NullableIntFieldUpdateOperationsInput | number | null uploadHttpError?: NullableStringFieldUpdateOperationsInput | string | null bucketPath?: StringFieldUpdateOperationsInput | string bucketName?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string contentLength?: BigIntFieldUpdateOperationsInput | bigint | number } export type TraceMediaCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string traceId: string field: string project: ProjectCreateNestedOneWithoutTraceMediaInput media: MediaCreateNestedOneWithoutTraceMediaInput } export type TraceMediaUncheckedCreateInput = { id?: string projectId: string createdAt?: Date | string updatedAt?: Date | string mediaId: string traceId: string field: string } export type TraceMediaUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string traceId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string project?: ProjectUpdateOneRequiredWithoutTraceMediaNestedInput media?: MediaUpdateOneRequiredWithoutTraceMediaNestedInput } export type TraceMediaUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string mediaId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string } export type TraceMediaCreateManyInput = { id?: string projectId: string createdAt?: Date | string updatedAt?: Date | string mediaId: string traceId: string field: string } export type TraceMediaUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string traceId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string } export type TraceMediaUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string mediaId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string } export type ObservationMediaCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string traceId: string observationId: string field: string project: ProjectCreateNestedOneWithoutObservationMediaInput media: MediaCreateNestedOneWithoutObservationMediaInput } export type ObservationMediaUncheckedCreateInput = { id?: string projectId: string createdAt?: Date | string updatedAt?: Date | string mediaId: string traceId: string observationId: string field: string } export type ObservationMediaUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string traceId?: StringFieldUpdateOperationsInput | string observationId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string project?: ProjectUpdateOneRequiredWithoutObservationMediaNestedInput media?: MediaUpdateOneRequiredWithoutObservationMediaNestedInput } export type ObservationMediaUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string mediaId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string observationId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string } export type ObservationMediaCreateManyInput = { id?: string projectId: string createdAt?: Date | string updatedAt?: Date | string mediaId: string traceId: string observationId: string field: string } export type ObservationMediaUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string traceId?: StringFieldUpdateOperationsInput | string observationId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string } export type ObservationMediaUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string mediaId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string observationId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string } export type BillingMeterBackupCreateInput = { stripeCustomerId: string meterId: string startTime: Date | string endTime: Date | string aggregatedValue: number eventName: string orgId: string createdAt?: Date | string updatedAt?: Date | string } export type BillingMeterBackupUncheckedCreateInput = { stripeCustomerId: string meterId: string startTime: Date | string endTime: Date | string aggregatedValue: number eventName: string orgId: string createdAt?: Date | string updatedAt?: Date | string } export type BillingMeterBackupUpdateInput = { stripeCustomerId?: StringFieldUpdateOperationsInput | string meterId?: StringFieldUpdateOperationsInput | string startTime?: DateTimeFieldUpdateOperationsInput | Date | string endTime?: DateTimeFieldUpdateOperationsInput | Date | string aggregatedValue?: IntFieldUpdateOperationsInput | number eventName?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type BillingMeterBackupUncheckedUpdateInput = { stripeCustomerId?: StringFieldUpdateOperationsInput | string meterId?: StringFieldUpdateOperationsInput | string startTime?: DateTimeFieldUpdateOperationsInput | Date | string endTime?: DateTimeFieldUpdateOperationsInput | Date | string aggregatedValue?: IntFieldUpdateOperationsInput | number eventName?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type BillingMeterBackupCreateManyInput = { stripeCustomerId: string meterId: string startTime: Date | string endTime: Date | string aggregatedValue: number eventName: string orgId: string createdAt?: Date | string updatedAt?: Date | string } export type BillingMeterBackupUpdateManyMutationInput = { stripeCustomerId?: StringFieldUpdateOperationsInput | string meterId?: StringFieldUpdateOperationsInput | string startTime?: DateTimeFieldUpdateOperationsInput | Date | string endTime?: DateTimeFieldUpdateOperationsInput | Date | string aggregatedValue?: IntFieldUpdateOperationsInput | number eventName?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type BillingMeterBackupUncheckedUpdateManyInput = { stripeCustomerId?: StringFieldUpdateOperationsInput | string meterId?: StringFieldUpdateOperationsInput | string startTime?: DateTimeFieldUpdateOperationsInput | Date | string endTime?: DateTimeFieldUpdateOperationsInput | Date | string aggregatedValue?: IntFieldUpdateOperationsInput | number eventName?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type LlmSchemaCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string schema: JsonNullValueInput | InputJsonValue project: ProjectCreateNestedOneWithoutLlmSchemaInput } export type LlmSchemaUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string name: string description: string schema: JsonNullValueInput | InputJsonValue } export type LlmSchemaUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string schema?: JsonNullValueInput | InputJsonValue project?: ProjectUpdateOneRequiredWithoutLlmSchemaNestedInput } export type LlmSchemaUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string schema?: JsonNullValueInput | InputJsonValue } export type LlmSchemaCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string name: string description: string schema: JsonNullValueInput | InputJsonValue } export type LlmSchemaUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string schema?: JsonNullValueInput | InputJsonValue } export type LlmSchemaUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string schema?: JsonNullValueInput | InputJsonValue } export type LlmToolCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string parameters: JsonNullValueInput | InputJsonValue project: ProjectCreateNestedOneWithoutLlmToolInput } export type LlmToolUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string name: string description: string parameters: JsonNullValueInput | InputJsonValue } export type LlmToolUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string parameters?: JsonNullValueInput | InputJsonValue project?: ProjectUpdateOneRequiredWithoutLlmToolNestedInput } export type LlmToolUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string parameters?: JsonNullValueInput | InputJsonValue } export type LlmToolCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string name: string description: string parameters: JsonNullValueInput | InputJsonValue } export type LlmToolUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string parameters?: JsonNullValueInput | InputJsonValue } export type LlmToolUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string parameters?: JsonNullValueInput | InputJsonValue } export type DashboardCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string definition: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue createdByUser?: UserCreateNestedOneWithoutDashboardCreatedInput updatedByUser?: UserCreateNestedOneWithoutDashboardUpdatedInput project?: ProjectCreateNestedOneWithoutDashboardInput } export type DashboardUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy?: string | null updatedBy?: string | null projectId?: string | null name: string description: string definition: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string definition?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue createdByUser?: UserUpdateOneWithoutDashboardCreatedNestedInput updatedByUser?: UserUpdateOneWithoutDashboardUpdatedNestedInput project?: ProjectUpdateOneWithoutDashboardNestedInput } export type DashboardUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null updatedBy?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string definition?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy?: string | null updatedBy?: string | null projectId?: string | null name: string description: string definition: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string definition?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null updatedBy?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string definition?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardWidgetCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string view: $Enums.DashboardWidgetViews dimensions: JsonNullValueInput | InputJsonValue metrics: JsonNullValueInput | InputJsonValue filters: JsonNullValueInput | InputJsonValue chartType: $Enums.DashboardWidgetChartType chartConfig: JsonNullValueInput | InputJsonValue createdByUser?: UserCreateNestedOneWithoutDashboardWidgetsCreatedInput updatedByUser?: UserCreateNestedOneWithoutDashboardWidgetsUpdatedInput project?: ProjectCreateNestedOneWithoutDashboardWidgetInput } export type DashboardWidgetUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy?: string | null updatedBy?: string | null projectId?: string | null name: string description: string view: $Enums.DashboardWidgetViews dimensions: JsonNullValueInput | InputJsonValue metrics: JsonNullValueInput | InputJsonValue filters: JsonNullValueInput | InputJsonValue chartType: $Enums.DashboardWidgetChartType chartConfig: JsonNullValueInput | InputJsonValue } export type DashboardWidgetUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string view?: EnumDashboardWidgetViewsFieldUpdateOperationsInput | $Enums.DashboardWidgetViews dimensions?: JsonNullValueInput | InputJsonValue metrics?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue chartType?: EnumDashboardWidgetChartTypeFieldUpdateOperationsInput | $Enums.DashboardWidgetChartType chartConfig?: JsonNullValueInput | InputJsonValue createdByUser?: UserUpdateOneWithoutDashboardWidgetsCreatedNestedInput updatedByUser?: UserUpdateOneWithoutDashboardWidgetsUpdatedNestedInput project?: ProjectUpdateOneWithoutDashboardWidgetNestedInput } export type DashboardWidgetUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null updatedBy?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string view?: EnumDashboardWidgetViewsFieldUpdateOperationsInput | $Enums.DashboardWidgetViews dimensions?: JsonNullValueInput | InputJsonValue metrics?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue chartType?: EnumDashboardWidgetChartTypeFieldUpdateOperationsInput | $Enums.DashboardWidgetChartType chartConfig?: JsonNullValueInput | InputJsonValue } export type DashboardWidgetCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy?: string | null updatedBy?: string | null projectId?: string | null name: string description: string view: $Enums.DashboardWidgetViews dimensions: JsonNullValueInput | InputJsonValue metrics: JsonNullValueInput | InputJsonValue filters: JsonNullValueInput | InputJsonValue chartType: $Enums.DashboardWidgetChartType chartConfig: JsonNullValueInput | InputJsonValue } export type DashboardWidgetUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string view?: EnumDashboardWidgetViewsFieldUpdateOperationsInput | $Enums.DashboardWidgetViews dimensions?: JsonNullValueInput | InputJsonValue metrics?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue chartType?: EnumDashboardWidgetChartTypeFieldUpdateOperationsInput | $Enums.DashboardWidgetChartType chartConfig?: JsonNullValueInput | InputJsonValue } export type DashboardWidgetUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null updatedBy?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string view?: EnumDashboardWidgetViewsFieldUpdateOperationsInput | $Enums.DashboardWidgetViews dimensions?: JsonNullValueInput | InputJsonValue metrics?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue chartType?: EnumDashboardWidgetChartTypeFieldUpdateOperationsInput | $Enums.DashboardWidgetChartType chartConfig?: JsonNullValueInput | InputJsonValue } export type TableViewPresetCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string tableName: string filters: JsonNullValueInput | InputJsonValue columnOrder: JsonNullValueInput | InputJsonValue columnVisibility: JsonNullValueInput | InputJsonValue searchQuery?: string | null orderBy?: NullableJsonNullValueInput | InputJsonValue project: ProjectCreateNestedOneWithoutTableViewPresetInput createdByUser?: UserCreateNestedOneWithoutTableViewPresetCreatedInput updatedByUser?: UserCreateNestedOneWithoutTableViewPresetUpdatedInput } export type TableViewPresetUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string name: string tableName: string createdBy?: string | null updatedBy?: string | null filters: JsonNullValueInput | InputJsonValue columnOrder: JsonNullValueInput | InputJsonValue columnVisibility: JsonNullValueInput | InputJsonValue searchQuery?: string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type TableViewPresetUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string tableName?: StringFieldUpdateOperationsInput | string filters?: JsonNullValueInput | InputJsonValue columnOrder?: JsonNullValueInput | InputJsonValue columnVisibility?: JsonNullValueInput | InputJsonValue searchQuery?: NullableStringFieldUpdateOperationsInput | string | null orderBy?: NullableJsonNullValueInput | InputJsonValue project?: ProjectUpdateOneRequiredWithoutTableViewPresetNestedInput createdByUser?: UserUpdateOneWithoutTableViewPresetCreatedNestedInput updatedByUser?: UserUpdateOneWithoutTableViewPresetUpdatedNestedInput } export type TableViewPresetUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string tableName?: StringFieldUpdateOperationsInput | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null updatedBy?: NullableStringFieldUpdateOperationsInput | string | null filters?: JsonNullValueInput | InputJsonValue columnOrder?: JsonNullValueInput | InputJsonValue columnVisibility?: JsonNullValueInput | InputJsonValue searchQuery?: NullableStringFieldUpdateOperationsInput | string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type TableViewPresetCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string name: string tableName: string createdBy?: string | null updatedBy?: string | null filters: JsonNullValueInput | InputJsonValue columnOrder: JsonNullValueInput | InputJsonValue columnVisibility: JsonNullValueInput | InputJsonValue searchQuery?: string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type TableViewPresetUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string tableName?: StringFieldUpdateOperationsInput | string filters?: JsonNullValueInput | InputJsonValue columnOrder?: JsonNullValueInput | InputJsonValue columnVisibility?: JsonNullValueInput | InputJsonValue searchQuery?: NullableStringFieldUpdateOperationsInput | string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type TableViewPresetUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string tableName?: StringFieldUpdateOperationsInput | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null updatedBy?: NullableStringFieldUpdateOperationsInput | string | null filters?: JsonNullValueInput | InputJsonValue columnOrder?: JsonNullValueInput | InputJsonValue columnVisibility?: JsonNullValueInput | InputJsonValue searchQuery?: NullableStringFieldUpdateOperationsInput | string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type ActionCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: $Enums.ActionType config: JsonNullValueInput | InputJsonValue project: ProjectCreateNestedOneWithoutActionsInput automations?: AutomationCreateNestedManyWithoutActionInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutActionInput } export type ActionUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string type: $Enums.ActionType config: JsonNullValueInput | InputJsonValue automations?: AutomationUncheckedCreateNestedManyWithoutActionInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutActionInput } export type ActionUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string type?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType config?: JsonNullValueInput | InputJsonValue project?: ProjectUpdateOneRequiredWithoutActionsNestedInput automations?: AutomationUpdateManyWithoutActionNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutActionNestedInput } export type ActionUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string type?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType config?: JsonNullValueInput | InputJsonValue automations?: AutomationUncheckedUpdateManyWithoutActionNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutActionNestedInput } export type ActionCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string type: $Enums.ActionType config: JsonNullValueInput | InputJsonValue } export type ActionUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string type?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType config?: JsonNullValueInput | InputJsonValue } export type ActionUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string type?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType config?: JsonNullValueInput | InputJsonValue } export type TriggerCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string eventSource: string eventActions?: TriggerCreateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: $Enums.JobConfigState project: ProjectCreateNestedOneWithoutTriggersInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutTriggerInput automations?: AutomationCreateNestedManyWithoutTriggerInput } export type TriggerUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string eventSource: string eventActions?: TriggerCreateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: $Enums.JobConfigState automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutTriggerInput automations?: AutomationUncheckedCreateNestedManyWithoutTriggerInput } export type TriggerUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string eventSource?: StringFieldUpdateOperationsInput | string eventActions?: TriggerUpdateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState project?: ProjectUpdateOneRequiredWithoutTriggersNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutTriggerNestedInput automations?: AutomationUpdateManyWithoutTriggerNestedInput } export type TriggerUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string eventSource?: StringFieldUpdateOperationsInput | string eventActions?: TriggerUpdateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutTriggerNestedInput automations?: AutomationUncheckedUpdateManyWithoutTriggerNestedInput } export type TriggerCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string eventSource: string eventActions?: TriggerCreateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: $Enums.JobConfigState } export type TriggerUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string eventSource?: StringFieldUpdateOperationsInput | string eventActions?: TriggerUpdateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState } export type TriggerUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string eventSource?: StringFieldUpdateOperationsInput | string eventActions?: TriggerUpdateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState } export type AutomationCreateInput = { id?: string name: string createdAt?: Date | string trigger: TriggerCreateNestedOneWithoutAutomationsInput action: ActionCreateNestedOneWithoutAutomationsInput project: ProjectCreateNestedOneWithoutAutomationInput AutomationExecution?: AutomationExecutionCreateNestedManyWithoutAutomationInput } export type AutomationUncheckedCreateInput = { id?: string name: string triggerId: string actionId: string createdAt?: Date | string projectId: string AutomationExecution?: AutomationExecutionUncheckedCreateNestedManyWithoutAutomationInput } export type AutomationUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string trigger?: TriggerUpdateOneRequiredWithoutAutomationsNestedInput action?: ActionUpdateOneRequiredWithoutAutomationsNestedInput project?: ProjectUpdateOneRequiredWithoutAutomationNestedInput AutomationExecution?: AutomationExecutionUpdateManyWithoutAutomationNestedInput } export type AutomationUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string AutomationExecution?: AutomationExecutionUncheckedUpdateManyWithoutAutomationNestedInput } export type AutomationCreateManyInput = { id?: string name: string triggerId: string actionId: string createdAt?: Date | string projectId: string } export type AutomationUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AutomationUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string } export type AutomationExecutionCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null automation: AutomationCreateNestedOneWithoutAutomationExecutionInput trigger: TriggerCreateNestedOneWithoutAutomationExecutionsInput action: ActionCreateNestedOneWithoutAutomationExecutionsInput project: ProjectCreateNestedOneWithoutAutomationExecutionsInput } export type AutomationExecutionUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string automationId: string triggerId: string actionId: string projectId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null } export type AutomationExecutionUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null automation?: AutomationUpdateOneRequiredWithoutAutomationExecutionNestedInput trigger?: TriggerUpdateOneRequiredWithoutAutomationExecutionsNestedInput action?: ActionUpdateOneRequiredWithoutAutomationExecutionsNestedInput project?: ProjectUpdateOneRequiredWithoutAutomationExecutionsNestedInput } export type AutomationExecutionUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string automationId?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null } export type AutomationExecutionCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string automationId: string triggerId: string actionId: string projectId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null } export type AutomationExecutionUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null } export type AutomationExecutionUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string automationId?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null } export type SlackIntegrationCreateInput = { id?: string teamId: string teamName: string botToken: string botUserId: string createdAt?: Date | string updatedAt?: Date | string project: ProjectCreateNestedOneWithoutSlackIntegrationInput } export type SlackIntegrationUncheckedCreateInput = { id?: string projectId: string teamId: string teamName: string botToken: string botUserId: string createdAt?: Date | string updatedAt?: Date | string } export type SlackIntegrationUpdateInput = { id?: StringFieldUpdateOperationsInput | string teamId?: StringFieldUpdateOperationsInput | string teamName?: StringFieldUpdateOperationsInput | string botToken?: StringFieldUpdateOperationsInput | string botUserId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutSlackIntegrationNestedInput } export type SlackIntegrationUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string teamId?: StringFieldUpdateOperationsInput | string teamName?: StringFieldUpdateOperationsInput | string botToken?: StringFieldUpdateOperationsInput | string botUserId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SlackIntegrationCreateManyInput = { id?: string projectId: string teamId: string teamName: string botToken: string botUserId: string createdAt?: Date | string updatedAt?: Date | string } export type SlackIntegrationUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string teamId?: StringFieldUpdateOperationsInput | string teamName?: StringFieldUpdateOperationsInput | string botToken?: StringFieldUpdateOperationsInput | string botUserId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SlackIntegrationUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string teamId?: StringFieldUpdateOperationsInput | string teamName?: StringFieldUpdateOperationsInput | string botToken?: StringFieldUpdateOperationsInput | string botUserId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type PendingDeletionCreateInput = { id?: string object: string objectId: string isDeleted?: boolean createdAt?: Date | string updatedAt?: Date | string project: ProjectCreateNestedOneWithoutPendingDeletionInput } export type PendingDeletionUncheckedCreateInput = { id?: string projectId: string object: string objectId: string isDeleted?: boolean createdAt?: Date | string updatedAt?: Date | string } export type PendingDeletionUpdateInput = { id?: StringFieldUpdateOperationsInput | string object?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string isDeleted?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutPendingDeletionNestedInput } export type PendingDeletionUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string object?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string isDeleted?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type PendingDeletionCreateManyInput = { id?: string projectId: string object: string objectId: string isDeleted?: boolean createdAt?: Date | string updatedAt?: Date | string } export type PendingDeletionUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string object?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string isDeleted?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type PendingDeletionUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string object?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string isDeleted?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SurveyCreateInput = { id?: string createdAt?: Date | string surveyName: $Enums.SurveyName response: JsonNullValueInput | InputJsonValue userEmail?: string | null org?: OrganizationCreateNestedOneWithoutSurveysInput user?: UserCreateNestedOneWithoutSurveysInput } export type SurveyUncheckedCreateInput = { id?: string createdAt?: Date | string surveyName: $Enums.SurveyName response: JsonNullValueInput | InputJsonValue userId?: string | null userEmail?: string | null orgId?: string | null } export type SurveyUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string surveyName?: EnumSurveyNameFieldUpdateOperationsInput | $Enums.SurveyName response?: JsonNullValueInput | InputJsonValue userEmail?: NullableStringFieldUpdateOperationsInput | string | null org?: OrganizationUpdateOneWithoutSurveysNestedInput user?: UserUpdateOneWithoutSurveysNestedInput } export type SurveyUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string surveyName?: EnumSurveyNameFieldUpdateOperationsInput | $Enums.SurveyName response?: JsonNullValueInput | InputJsonValue userId?: NullableStringFieldUpdateOperationsInput | string | null userEmail?: NullableStringFieldUpdateOperationsInput | string | null orgId?: NullableStringFieldUpdateOperationsInput | string | null } export type SurveyCreateManyInput = { id?: string createdAt?: Date | string surveyName: $Enums.SurveyName response: JsonNullValueInput | InputJsonValue userId?: string | null userEmail?: string | null orgId?: string | null } export type SurveyUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string surveyName?: EnumSurveyNameFieldUpdateOperationsInput | $Enums.SurveyName response?: JsonNullValueInput | InputJsonValue userEmail?: NullableStringFieldUpdateOperationsInput | string | null } export type SurveyUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string surveyName?: EnumSurveyNameFieldUpdateOperationsInput | $Enums.SurveyName response?: JsonNullValueInput | InputJsonValue userId?: NullableStringFieldUpdateOperationsInput | string | null userEmail?: NullableStringFieldUpdateOperationsInput | string | null orgId?: NullableStringFieldUpdateOperationsInput | string | null } 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 } export type IntNullableFilter<$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 UserScalarRelationFilter = { is?: UserWhereInput isNot?: UserWhereInput } export type SortOrderInput = { sort: SortOrder nulls?: NullsOrder } export type AccountProviderProviderAccountIdCompoundUniqueInput = { provider: string providerAccountId: string } export type AccountCountOrderByAggregateInput = { id?: SortOrder userId?: SortOrder type?: SortOrder provider?: SortOrder providerAccountId?: SortOrder refresh_token?: SortOrder access_token?: SortOrder expires_at?: SortOrder expires_in?: SortOrder ext_expires_in?: SortOrder token_type?: SortOrder scope?: SortOrder id_token?: SortOrder session_state?: SortOrder refresh_token_expires_in?: SortOrder created_at?: SortOrder } export type AccountAvgOrderByAggregateInput = { expires_at?: SortOrder expires_in?: SortOrder ext_expires_in?: SortOrder refresh_token_expires_in?: SortOrder created_at?: SortOrder } export type AccountMaxOrderByAggregateInput = { id?: SortOrder userId?: SortOrder type?: SortOrder provider?: SortOrder providerAccountId?: SortOrder refresh_token?: SortOrder access_token?: SortOrder expires_at?: SortOrder expires_in?: SortOrder ext_expires_in?: SortOrder token_type?: SortOrder scope?: SortOrder id_token?: SortOrder session_state?: SortOrder refresh_token_expires_in?: SortOrder created_at?: SortOrder } export type AccountMinOrderByAggregateInput = { id?: SortOrder userId?: SortOrder type?: SortOrder provider?: SortOrder providerAccountId?: SortOrder refresh_token?: SortOrder access_token?: SortOrder expires_at?: SortOrder expires_in?: SortOrder ext_expires_in?: SortOrder token_type?: SortOrder scope?: SortOrder id_token?: SortOrder session_state?: SortOrder refresh_token_expires_in?: SortOrder created_at?: SortOrder } export type AccountSumOrderByAggregateInput = { expires_at?: SortOrder expires_in?: SortOrder ext_expires_in?: SortOrder refresh_token_expires_in?: SortOrder created_at?: SortOrder } 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 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 IntNullableWithAggregatesFilter<$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?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedIntNullableFilter<$PrismaModel> _min?: NestedIntNullableFilter<$PrismaModel> _max?: NestedIntNullableFilter<$PrismaModel> } 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 SessionCountOrderByAggregateInput = { id?: SortOrder sessionToken?: SortOrder userId?: SortOrder expires?: SortOrder } export type SessionMaxOrderByAggregateInput = { id?: SortOrder sessionToken?: SortOrder userId?: SortOrder expires?: SortOrder } export type SessionMinOrderByAggregateInput = { id?: SortOrder sessionToken?: SortOrder userId?: SortOrder expires?: SortOrder } 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 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 BoolFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolFilter<$PrismaModel> | boolean } 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 AccountListRelationFilter = { every?: AccountWhereInput some?: AccountWhereInput none?: AccountWhereInput } export type SessionListRelationFilter = { every?: SessionWhereInput some?: SessionWhereInput none?: SessionWhereInput } export type OrganizationMembershipListRelationFilter = { every?: OrganizationMembershipWhereInput some?: OrganizationMembershipWhereInput none?: OrganizationMembershipWhereInput } export type ProjectMembershipListRelationFilter = { every?: ProjectMembershipWhereInput some?: ProjectMembershipWhereInput none?: ProjectMembershipWhereInput } export type MembershipInvitationListRelationFilter = { every?: MembershipInvitationWhereInput some?: MembershipInvitationWhereInput none?: MembershipInvitationWhereInput } export type AnnotationQueueItemListRelationFilter = { every?: AnnotationQueueItemWhereInput some?: AnnotationQueueItemWhereInput none?: AnnotationQueueItemWhereInput } export type DashboardWidgetListRelationFilter = { every?: DashboardWidgetWhereInput some?: DashboardWidgetWhereInput none?: DashboardWidgetWhereInput } export type DashboardListRelationFilter = { every?: DashboardWhereInput some?: DashboardWhereInput none?: DashboardWhereInput } export type TableViewPresetListRelationFilter = { every?: TableViewPresetWhereInput some?: TableViewPresetWhereInput none?: TableViewPresetWhereInput } export type AnnotationQueueAssignmentListRelationFilter = { every?: AnnotationQueueAssignmentWhereInput some?: AnnotationQueueAssignmentWhereInput none?: AnnotationQueueAssignmentWhereInput } export type SurveyListRelationFilter = { every?: SurveyWhereInput some?: SurveyWhereInput none?: SurveyWhereInput } export type AccountOrderByRelationAggregateInput = { _count?: SortOrder } export type SessionOrderByRelationAggregateInput = { _count?: SortOrder } export type OrganizationMembershipOrderByRelationAggregateInput = { _count?: SortOrder } export type ProjectMembershipOrderByRelationAggregateInput = { _count?: SortOrder } export type MembershipInvitationOrderByRelationAggregateInput = { _count?: SortOrder } export type AnnotationQueueItemOrderByRelationAggregateInput = { _count?: SortOrder } export type DashboardWidgetOrderByRelationAggregateInput = { _count?: SortOrder } export type DashboardOrderByRelationAggregateInput = { _count?: SortOrder } export type TableViewPresetOrderByRelationAggregateInput = { _count?: SortOrder } export type AnnotationQueueAssignmentOrderByRelationAggregateInput = { _count?: SortOrder } export type SurveyOrderByRelationAggregateInput = { _count?: SortOrder } export type UserCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder email?: SortOrder emailVerified?: SortOrder password?: SortOrder image?: SortOrder admin?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder featureFlags?: SortOrder } export type UserMaxOrderByAggregateInput = { id?: SortOrder name?: SortOrder email?: SortOrder emailVerified?: SortOrder password?: SortOrder image?: SortOrder admin?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type UserMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder email?: SortOrder emailVerified?: SortOrder password?: SortOrder image?: SortOrder admin?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } 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 BoolWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean _count?: NestedIntFilter<$PrismaModel> _min?: NestedBoolFilter<$PrismaModel> _max?: NestedBoolFilter<$PrismaModel> } export type VerificationTokenIdentifierTokenCompoundUniqueInput = { identifier: string token: string } export type VerificationTokenCountOrderByAggregateInput = { identifier?: SortOrder token?: SortOrder expires?: SortOrder } export type VerificationTokenMaxOrderByAggregateInput = { identifier?: SortOrder token?: SortOrder expires?: SortOrder } export type VerificationTokenMinOrderByAggregateInput = { identifier?: SortOrder token?: SortOrder expires?: SortOrder } 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 ProjectListRelationFilter = { every?: ProjectWhereInput some?: ProjectWhereInput none?: ProjectWhereInput } export type ApiKeyListRelationFilter = { every?: ApiKeyWhereInput some?: ApiKeyWhereInput none?: ApiKeyWhereInput } export type ProjectOrderByRelationAggregateInput = { _count?: SortOrder } export type ApiKeyOrderByRelationAggregateInput = { _count?: SortOrder } export type OrganizationCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder cloudConfig?: SortOrder metadata?: SortOrder } export type OrganizationMaxOrderByAggregateInput = { id?: SortOrder name?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type OrganizationMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } 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 OrganizationScalarRelationFilter = { is?: OrganizationWhereInput isNot?: OrganizationWhereInput } export type DatasetListRelationFilter = { every?: DatasetWhereInput some?: DatasetWhereInput none?: DatasetWhereInput } export type TraceSessionListRelationFilter = { every?: TraceSessionWhereInput some?: TraceSessionWhereInput none?: TraceSessionWhereInput } export type PromptListRelationFilter = { every?: PromptWhereInput some?: PromptWhereInput none?: PromptWhereInput } export type ModelListRelationFilter = { every?: ModelWhereInput some?: ModelWhereInput none?: ModelWhereInput } export type EvalTemplateListRelationFilter = { every?: EvalTemplateWhereInput some?: EvalTemplateWhereInput none?: EvalTemplateWhereInput } export type JobConfigurationListRelationFilter = { every?: JobConfigurationWhereInput some?: JobConfigurationWhereInput none?: JobConfigurationWhereInput } export type JobExecutionListRelationFilter = { every?: JobExecutionWhereInput some?: JobExecutionWhereInput none?: JobExecutionWhereInput } export type LlmApiKeysListRelationFilter = { every?: LlmApiKeysWhereInput some?: LlmApiKeysWhereInput none?: LlmApiKeysWhereInput } export type PosthogIntegrationListRelationFilter = { every?: PosthogIntegrationWhereInput some?: PosthogIntegrationWhereInput none?: PosthogIntegrationWhereInput } export type BlobStorageIntegrationListRelationFilter = { every?: BlobStorageIntegrationWhereInput some?: BlobStorageIntegrationWhereInput none?: BlobStorageIntegrationWhereInput } export type ScoreConfigListRelationFilter = { every?: ScoreConfigWhereInput some?: ScoreConfigWhereInput none?: ScoreConfigWhereInput } export type BatchExportListRelationFilter = { every?: BatchExportWhereInput some?: BatchExportWhereInput none?: BatchExportWhereInput } export type CommentListRelationFilter = { every?: CommentWhereInput some?: CommentWhereInput none?: CommentWhereInput } export type AnnotationQueueListRelationFilter = { every?: AnnotationQueueWhereInput some?: AnnotationQueueWhereInput none?: AnnotationQueueWhereInput } export type TraceMediaListRelationFilter = { every?: TraceMediaWhereInput some?: TraceMediaWhereInput none?: TraceMediaWhereInput } export type MediaListRelationFilter = { every?: MediaWhereInput some?: MediaWhereInput none?: MediaWhereInput } export type ObservationMediaListRelationFilter = { every?: ObservationMediaWhereInput some?: ObservationMediaWhereInput none?: ObservationMediaWhereInput } export type LegacyPrismaTraceListRelationFilter = { every?: LegacyPrismaTraceWhereInput some?: LegacyPrismaTraceWhereInput none?: LegacyPrismaTraceWhereInput } export type LegacyPrismaObservationListRelationFilter = { every?: LegacyPrismaObservationWhereInput some?: LegacyPrismaObservationWhereInput none?: LegacyPrismaObservationWhereInput } export type LegacyPrismaScoreListRelationFilter = { every?: LegacyPrismaScoreWhereInput some?: LegacyPrismaScoreWhereInput none?: LegacyPrismaScoreWhereInput } export type PromptDependencyListRelationFilter = { every?: PromptDependencyWhereInput some?: PromptDependencyWhereInput none?: PromptDependencyWhereInput } export type LlmSchemaListRelationFilter = { every?: LlmSchemaWhereInput some?: LlmSchemaWhereInput none?: LlmSchemaWhereInput } export type LlmToolListRelationFilter = { every?: LlmToolWhereInput some?: LlmToolWhereInput none?: LlmToolWhereInput } export type PromptProtectedLabelsListRelationFilter = { every?: PromptProtectedLabelsWhereInput some?: PromptProtectedLabelsWhereInput none?: PromptProtectedLabelsWhereInput } export type ActionListRelationFilter = { every?: ActionWhereInput some?: ActionWhereInput none?: ActionWhereInput } export type TriggerListRelationFilter = { every?: TriggerWhereInput some?: TriggerWhereInput none?: TriggerWhereInput } export type AutomationExecutionListRelationFilter = { every?: AutomationExecutionWhereInput some?: AutomationExecutionWhereInput none?: AutomationExecutionWhereInput } export type AutomationListRelationFilter = { every?: AutomationWhereInput some?: AutomationWhereInput none?: AutomationWhereInput } export type DefaultLlmModelListRelationFilter = { every?: DefaultLlmModelWhereInput some?: DefaultLlmModelWhereInput none?: DefaultLlmModelWhereInput } export type PriceListRelationFilter = { every?: PriceWhereInput some?: PriceWhereInput none?: PriceWhereInput } export type SlackIntegrationNullableScalarRelationFilter = { is?: SlackIntegrationWhereInput | null isNot?: SlackIntegrationWhereInput | null } export type PendingDeletionListRelationFilter = { every?: PendingDeletionWhereInput some?: PendingDeletionWhereInput none?: PendingDeletionWhereInput } export type DatasetOrderByRelationAggregateInput = { _count?: SortOrder } export type TraceSessionOrderByRelationAggregateInput = { _count?: SortOrder } export type PromptOrderByRelationAggregateInput = { _count?: SortOrder } export type ModelOrderByRelationAggregateInput = { _count?: SortOrder } export type EvalTemplateOrderByRelationAggregateInput = { _count?: SortOrder } export type JobConfigurationOrderByRelationAggregateInput = { _count?: SortOrder } export type JobExecutionOrderByRelationAggregateInput = { _count?: SortOrder } export type LlmApiKeysOrderByRelationAggregateInput = { _count?: SortOrder } export type PosthogIntegrationOrderByRelationAggregateInput = { _count?: SortOrder } export type BlobStorageIntegrationOrderByRelationAggregateInput = { _count?: SortOrder } export type ScoreConfigOrderByRelationAggregateInput = { _count?: SortOrder } export type BatchExportOrderByRelationAggregateInput = { _count?: SortOrder } export type CommentOrderByRelationAggregateInput = { _count?: SortOrder } export type AnnotationQueueOrderByRelationAggregateInput = { _count?: SortOrder } export type TraceMediaOrderByRelationAggregateInput = { _count?: SortOrder } export type MediaOrderByRelationAggregateInput = { _count?: SortOrder } export type ObservationMediaOrderByRelationAggregateInput = { _count?: SortOrder } export type LegacyPrismaTraceOrderByRelationAggregateInput = { _count?: SortOrder } export type LegacyPrismaObservationOrderByRelationAggregateInput = { _count?: SortOrder } export type LegacyPrismaScoreOrderByRelationAggregateInput = { _count?: SortOrder } export type PromptDependencyOrderByRelationAggregateInput = { _count?: SortOrder } export type LlmSchemaOrderByRelationAggregateInput = { _count?: SortOrder } export type LlmToolOrderByRelationAggregateInput = { _count?: SortOrder } export type PromptProtectedLabelsOrderByRelationAggregateInput = { _count?: SortOrder } export type ActionOrderByRelationAggregateInput = { _count?: SortOrder } export type TriggerOrderByRelationAggregateInput = { _count?: SortOrder } export type AutomationExecutionOrderByRelationAggregateInput = { _count?: SortOrder } export type AutomationOrderByRelationAggregateInput = { _count?: SortOrder } export type DefaultLlmModelOrderByRelationAggregateInput = { _count?: SortOrder } export type PriceOrderByRelationAggregateInput = { _count?: SortOrder } export type PendingDeletionOrderByRelationAggregateInput = { _count?: SortOrder } export type ProjectCountOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder deletedAt?: SortOrder name?: SortOrder retentionDays?: SortOrder metadata?: SortOrder } export type ProjectAvgOrderByAggregateInput = { retentionDays?: SortOrder } export type ProjectMaxOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder deletedAt?: SortOrder name?: SortOrder retentionDays?: SortOrder } export type ProjectMinOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder deletedAt?: SortOrder name?: SortOrder retentionDays?: SortOrder } export type ProjectSumOrderByAggregateInput = { retentionDays?: SortOrder } export type EnumApiKeyScopeFilter<$PrismaModel = never> = { equals?: $Enums.ApiKeyScope | EnumApiKeyScopeFieldRefInput<$PrismaModel> in?: $Enums.ApiKeyScope[] | ListEnumApiKeyScopeFieldRefInput<$PrismaModel> notIn?: $Enums.ApiKeyScope[] | ListEnumApiKeyScopeFieldRefInput<$PrismaModel> not?: NestedEnumApiKeyScopeFilter<$PrismaModel> | $Enums.ApiKeyScope } export type ProjectNullableScalarRelationFilter = { is?: ProjectWhereInput | null isNot?: ProjectWhereInput | null } export type OrganizationNullableScalarRelationFilter = { is?: OrganizationWhereInput | null isNot?: OrganizationWhereInput | null } export type ApiKeyCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder note?: SortOrder publicKey?: SortOrder hashedSecretKey?: SortOrder fastHashedSecretKey?: SortOrder displaySecretKey?: SortOrder lastUsedAt?: SortOrder expiresAt?: SortOrder projectId?: SortOrder orgId?: SortOrder scope?: SortOrder } export type ApiKeyMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder note?: SortOrder publicKey?: SortOrder hashedSecretKey?: SortOrder fastHashedSecretKey?: SortOrder displaySecretKey?: SortOrder lastUsedAt?: SortOrder expiresAt?: SortOrder projectId?: SortOrder orgId?: SortOrder scope?: SortOrder } export type ApiKeyMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder note?: SortOrder publicKey?: SortOrder hashedSecretKey?: SortOrder fastHashedSecretKey?: SortOrder displaySecretKey?: SortOrder lastUsedAt?: SortOrder expiresAt?: SortOrder projectId?: SortOrder orgId?: SortOrder scope?: SortOrder } export type EnumApiKeyScopeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.ApiKeyScope | EnumApiKeyScopeFieldRefInput<$PrismaModel> in?: $Enums.ApiKeyScope[] | ListEnumApiKeyScopeFieldRefInput<$PrismaModel> notIn?: $Enums.ApiKeyScope[] | ListEnumApiKeyScopeFieldRefInput<$PrismaModel> not?: NestedEnumApiKeyScopeWithAggregatesFilter<$PrismaModel> | $Enums.ApiKeyScope _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumApiKeyScopeFilter<$PrismaModel> _max?: NestedEnumApiKeyScopeFilter<$PrismaModel> } 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 BackgroundMigrationCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder script?: SortOrder args?: SortOrder state?: SortOrder finishedAt?: SortOrder failedAt?: SortOrder failedReason?: SortOrder workerId?: SortOrder lockedAt?: SortOrder } export type BackgroundMigrationMaxOrderByAggregateInput = { id?: SortOrder name?: SortOrder script?: SortOrder finishedAt?: SortOrder failedAt?: SortOrder failedReason?: SortOrder workerId?: SortOrder lockedAt?: SortOrder } export type BackgroundMigrationMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder script?: SortOrder finishedAt?: SortOrder failedAt?: SortOrder failedReason?: SortOrder workerId?: SortOrder lockedAt?: 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 ProjectScalarRelationFilter = { is?: ProjectWhereInput isNot?: ProjectWhereInput } export type LlmApiKeysProjectIdProviderCompoundUniqueInput = { projectId: string provider: string } export type LlmApiKeysCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder provider?: SortOrder adapter?: SortOrder displaySecretKey?: SortOrder secretKey?: SortOrder baseURL?: SortOrder customModels?: SortOrder withDefaultModels?: SortOrder extraHeaders?: SortOrder extraHeaderKeys?: SortOrder config?: SortOrder projectId?: SortOrder } export type LlmApiKeysMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder provider?: SortOrder adapter?: SortOrder displaySecretKey?: SortOrder secretKey?: SortOrder baseURL?: SortOrder withDefaultModels?: SortOrder extraHeaders?: SortOrder projectId?: SortOrder } export type LlmApiKeysMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder provider?: SortOrder adapter?: SortOrder displaySecretKey?: SortOrder secretKey?: SortOrder baseURL?: SortOrder withDefaultModels?: SortOrder extraHeaders?: SortOrder projectId?: SortOrder } export type EnumRoleFilter<$PrismaModel = never> = { equals?: $Enums.Role | EnumRoleFieldRefInput<$PrismaModel> in?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> notIn?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> not?: NestedEnumRoleFilter<$PrismaModel> | $Enums.Role } export type OrganizationMembershipOrgIdUserIdCompoundUniqueInput = { orgId: string userId: string } export type OrganizationMembershipCountOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder userId?: SortOrder role?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type OrganizationMembershipMaxOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder userId?: SortOrder role?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type OrganizationMembershipMinOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder userId?: SortOrder role?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type EnumRoleWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.Role | EnumRoleFieldRefInput<$PrismaModel> in?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> notIn?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> not?: NestedEnumRoleWithAggregatesFilter<$PrismaModel> | $Enums.Role _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumRoleFilter<$PrismaModel> _max?: NestedEnumRoleFilter<$PrismaModel> } export type OrganizationMembershipScalarRelationFilter = { is?: OrganizationMembershipWhereInput isNot?: OrganizationMembershipWhereInput } export type ProjectMembershipProjectIdUserIdCompoundUniqueInput = { projectId: string userId: string } export type ProjectMembershipCountOrderByAggregateInput = { orgMembershipId?: SortOrder projectId?: SortOrder userId?: SortOrder role?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type ProjectMembershipMaxOrderByAggregateInput = { orgMembershipId?: SortOrder projectId?: SortOrder userId?: SortOrder role?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type ProjectMembershipMinOrderByAggregateInput = { orgMembershipId?: SortOrder projectId?: SortOrder userId?: SortOrder role?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type EnumRoleNullableFilter<$PrismaModel = never> = { equals?: $Enums.Role | EnumRoleFieldRefInput<$PrismaModel> | null in?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> | null notIn?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> | null not?: NestedEnumRoleNullableFilter<$PrismaModel> | $Enums.Role | null } export type UserNullableScalarRelationFilter = { is?: UserWhereInput | null isNot?: UserWhereInput | null } export type MembershipInvitationEmailOrgIdCompoundUniqueInput = { email: string orgId: string } export type MembershipInvitationCountOrderByAggregateInput = { id?: SortOrder email?: SortOrder orgId?: SortOrder orgRole?: SortOrder projectId?: SortOrder projectRole?: SortOrder invitedByUserId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type MembershipInvitationMaxOrderByAggregateInput = { id?: SortOrder email?: SortOrder orgId?: SortOrder orgRole?: SortOrder projectId?: SortOrder projectRole?: SortOrder invitedByUserId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type MembershipInvitationMinOrderByAggregateInput = { id?: SortOrder email?: SortOrder orgId?: SortOrder orgRole?: SortOrder projectId?: SortOrder projectRole?: SortOrder invitedByUserId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type EnumRoleNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.Role | EnumRoleFieldRefInput<$PrismaModel> | null in?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> | null notIn?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> | null not?: NestedEnumRoleNullableWithAggregatesFilter<$PrismaModel> | $Enums.Role | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedEnumRoleNullableFilter<$PrismaModel> _max?: NestedEnumRoleNullableFilter<$PrismaModel> } export type TraceSessionIdProjectIdCompoundUniqueInput = { id: string projectId: string } export type TraceSessionCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder bookmarked?: SortOrder public?: SortOrder environment?: SortOrder } export type TraceSessionMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder bookmarked?: SortOrder public?: SortOrder environment?: SortOrder } export type TraceSessionMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder bookmarked?: SortOrder public?: SortOrder environment?: SortOrder } export type LegacyPrismaTraceCountOrderByAggregateInput = { id?: SortOrder externalId?: SortOrder timestamp?: SortOrder name?: SortOrder userId?: SortOrder metadata?: SortOrder release?: SortOrder version?: SortOrder projectId?: SortOrder public?: SortOrder bookmarked?: SortOrder tags?: SortOrder input?: SortOrder output?: SortOrder sessionId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type LegacyPrismaTraceMaxOrderByAggregateInput = { id?: SortOrder externalId?: SortOrder timestamp?: SortOrder name?: SortOrder userId?: SortOrder release?: SortOrder version?: SortOrder projectId?: SortOrder public?: SortOrder bookmarked?: SortOrder sessionId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type LegacyPrismaTraceMinOrderByAggregateInput = { id?: SortOrder externalId?: SortOrder timestamp?: SortOrder name?: SortOrder userId?: SortOrder release?: SortOrder version?: SortOrder projectId?: SortOrder public?: SortOrder bookmarked?: SortOrder sessionId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type EnumLegacyPrismaObservationTypeFilter<$PrismaModel = never> = { equals?: $Enums.LegacyPrismaObservationType | EnumLegacyPrismaObservationTypeFieldRefInput<$PrismaModel> in?: $Enums.LegacyPrismaObservationType[] | ListEnumLegacyPrismaObservationTypeFieldRefInput<$PrismaModel> notIn?: $Enums.LegacyPrismaObservationType[] | ListEnumLegacyPrismaObservationTypeFieldRefInput<$PrismaModel> not?: NestedEnumLegacyPrismaObservationTypeFilter<$PrismaModel> | $Enums.LegacyPrismaObservationType } export type EnumLegacyPrismaObservationLevelFilter<$PrismaModel = never> = { equals?: $Enums.LegacyPrismaObservationLevel | EnumLegacyPrismaObservationLevelFieldRefInput<$PrismaModel> in?: $Enums.LegacyPrismaObservationLevel[] | ListEnumLegacyPrismaObservationLevelFieldRefInput<$PrismaModel> notIn?: $Enums.LegacyPrismaObservationLevel[] | ListEnumLegacyPrismaObservationLevelFieldRefInput<$PrismaModel> not?: NestedEnumLegacyPrismaObservationLevelFilter<$PrismaModel> | $Enums.LegacyPrismaObservationLevel } 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 DecimalNullableFilter<$PrismaModel = never> = { equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> not?: NestedDecimalNullableFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null } export type LegacyPrismaObservationIdProjectIdCompoundUniqueInput = { id: string projectId: string } export type LegacyPrismaObservationCountOrderByAggregateInput = { id?: SortOrder traceId?: SortOrder projectId?: SortOrder type?: SortOrder startTime?: SortOrder endTime?: SortOrder name?: SortOrder metadata?: SortOrder parentObservationId?: SortOrder level?: SortOrder statusMessage?: SortOrder version?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder model?: SortOrder internalModel?: SortOrder internalModelId?: SortOrder modelParameters?: SortOrder input?: SortOrder output?: SortOrder promptTokens?: SortOrder completionTokens?: SortOrder totalTokens?: SortOrder unit?: SortOrder inputCost?: SortOrder outputCost?: SortOrder totalCost?: SortOrder calculatedInputCost?: SortOrder calculatedOutputCost?: SortOrder calculatedTotalCost?: SortOrder completionStartTime?: SortOrder promptId?: SortOrder } export type LegacyPrismaObservationAvgOrderByAggregateInput = { promptTokens?: SortOrder completionTokens?: SortOrder totalTokens?: SortOrder inputCost?: SortOrder outputCost?: SortOrder totalCost?: SortOrder calculatedInputCost?: SortOrder calculatedOutputCost?: SortOrder calculatedTotalCost?: SortOrder } export type LegacyPrismaObservationMaxOrderByAggregateInput = { id?: SortOrder traceId?: SortOrder projectId?: SortOrder type?: SortOrder startTime?: SortOrder endTime?: SortOrder name?: SortOrder parentObservationId?: SortOrder level?: SortOrder statusMessage?: SortOrder version?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder model?: SortOrder internalModel?: SortOrder internalModelId?: SortOrder promptTokens?: SortOrder completionTokens?: SortOrder totalTokens?: SortOrder unit?: SortOrder inputCost?: SortOrder outputCost?: SortOrder totalCost?: SortOrder calculatedInputCost?: SortOrder calculatedOutputCost?: SortOrder calculatedTotalCost?: SortOrder completionStartTime?: SortOrder promptId?: SortOrder } export type LegacyPrismaObservationMinOrderByAggregateInput = { id?: SortOrder traceId?: SortOrder projectId?: SortOrder type?: SortOrder startTime?: SortOrder endTime?: SortOrder name?: SortOrder parentObservationId?: SortOrder level?: SortOrder statusMessage?: SortOrder version?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder model?: SortOrder internalModel?: SortOrder internalModelId?: SortOrder promptTokens?: SortOrder completionTokens?: SortOrder totalTokens?: SortOrder unit?: SortOrder inputCost?: SortOrder outputCost?: SortOrder totalCost?: SortOrder calculatedInputCost?: SortOrder calculatedOutputCost?: SortOrder calculatedTotalCost?: SortOrder completionStartTime?: SortOrder promptId?: SortOrder } export type LegacyPrismaObservationSumOrderByAggregateInput = { promptTokens?: SortOrder completionTokens?: SortOrder totalTokens?: SortOrder inputCost?: SortOrder outputCost?: SortOrder totalCost?: SortOrder calculatedInputCost?: SortOrder calculatedOutputCost?: SortOrder calculatedTotalCost?: SortOrder } export type EnumLegacyPrismaObservationTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.LegacyPrismaObservationType | EnumLegacyPrismaObservationTypeFieldRefInput<$PrismaModel> in?: $Enums.LegacyPrismaObservationType[] | ListEnumLegacyPrismaObservationTypeFieldRefInput<$PrismaModel> notIn?: $Enums.LegacyPrismaObservationType[] | ListEnumLegacyPrismaObservationTypeFieldRefInput<$PrismaModel> not?: NestedEnumLegacyPrismaObservationTypeWithAggregatesFilter<$PrismaModel> | $Enums.LegacyPrismaObservationType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumLegacyPrismaObservationTypeFilter<$PrismaModel> _max?: NestedEnumLegacyPrismaObservationTypeFilter<$PrismaModel> } export type EnumLegacyPrismaObservationLevelWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.LegacyPrismaObservationLevel | EnumLegacyPrismaObservationLevelFieldRefInput<$PrismaModel> in?: $Enums.LegacyPrismaObservationLevel[] | ListEnumLegacyPrismaObservationLevelFieldRefInput<$PrismaModel> notIn?: $Enums.LegacyPrismaObservationLevel[] | ListEnumLegacyPrismaObservationLevelFieldRefInput<$PrismaModel> not?: NestedEnumLegacyPrismaObservationLevelWithAggregatesFilter<$PrismaModel> | $Enums.LegacyPrismaObservationLevel _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumLegacyPrismaObservationLevelFilter<$PrismaModel> _max?: NestedEnumLegacyPrismaObservationLevelFilter<$PrismaModel> } 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 DecimalNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> not?: NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedDecimalNullableFilter<$PrismaModel> _sum?: NestedDecimalNullableFilter<$PrismaModel> _min?: NestedDecimalNullableFilter<$PrismaModel> _max?: NestedDecimalNullableFilter<$PrismaModel> } 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 EnumLegacyPrismaScoreSourceFilter<$PrismaModel = never> = { equals?: $Enums.LegacyPrismaScoreSource | EnumLegacyPrismaScoreSourceFieldRefInput<$PrismaModel> in?: $Enums.LegacyPrismaScoreSource[] | ListEnumLegacyPrismaScoreSourceFieldRefInput<$PrismaModel> notIn?: $Enums.LegacyPrismaScoreSource[] | ListEnumLegacyPrismaScoreSourceFieldRefInput<$PrismaModel> not?: NestedEnumLegacyPrismaScoreSourceFilter<$PrismaModel> | $Enums.LegacyPrismaScoreSource } export type EnumScoreDataTypeFilter<$PrismaModel = never> = { equals?: $Enums.ScoreDataType | EnumScoreDataTypeFieldRefInput<$PrismaModel> in?: $Enums.ScoreDataType[] | ListEnumScoreDataTypeFieldRefInput<$PrismaModel> notIn?: $Enums.ScoreDataType[] | ListEnumScoreDataTypeFieldRefInput<$PrismaModel> not?: NestedEnumScoreDataTypeFilter<$PrismaModel> | $Enums.ScoreDataType } export type ScoreConfigNullableScalarRelationFilter = { is?: ScoreConfigWhereInput | null isNot?: ScoreConfigWhereInput | null } export type LegacyPrismaScoreIdProjectIdCompoundUniqueInput = { id: string projectId: string } export type LegacyPrismaScoreCountOrderByAggregateInput = { id?: SortOrder timestamp?: SortOrder projectId?: SortOrder name?: SortOrder value?: SortOrder source?: SortOrder authorUserId?: SortOrder comment?: SortOrder traceId?: SortOrder observationId?: SortOrder configId?: SortOrder stringValue?: SortOrder queueId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder dataType?: SortOrder } export type LegacyPrismaScoreAvgOrderByAggregateInput = { value?: SortOrder } export type LegacyPrismaScoreMaxOrderByAggregateInput = { id?: SortOrder timestamp?: SortOrder projectId?: SortOrder name?: SortOrder value?: SortOrder source?: SortOrder authorUserId?: SortOrder comment?: SortOrder traceId?: SortOrder observationId?: SortOrder configId?: SortOrder stringValue?: SortOrder queueId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder dataType?: SortOrder } export type LegacyPrismaScoreMinOrderByAggregateInput = { id?: SortOrder timestamp?: SortOrder projectId?: SortOrder name?: SortOrder value?: SortOrder source?: SortOrder authorUserId?: SortOrder comment?: SortOrder traceId?: SortOrder observationId?: SortOrder configId?: SortOrder stringValue?: SortOrder queueId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder dataType?: SortOrder } export type LegacyPrismaScoreSumOrderByAggregateInput = { value?: SortOrder } 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 EnumLegacyPrismaScoreSourceWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.LegacyPrismaScoreSource | EnumLegacyPrismaScoreSourceFieldRefInput<$PrismaModel> in?: $Enums.LegacyPrismaScoreSource[] | ListEnumLegacyPrismaScoreSourceFieldRefInput<$PrismaModel> notIn?: $Enums.LegacyPrismaScoreSource[] | ListEnumLegacyPrismaScoreSourceFieldRefInput<$PrismaModel> not?: NestedEnumLegacyPrismaScoreSourceWithAggregatesFilter<$PrismaModel> | $Enums.LegacyPrismaScoreSource _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumLegacyPrismaScoreSourceFilter<$PrismaModel> _max?: NestedEnumLegacyPrismaScoreSourceFilter<$PrismaModel> } export type EnumScoreDataTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.ScoreDataType | EnumScoreDataTypeFieldRefInput<$PrismaModel> in?: $Enums.ScoreDataType[] | ListEnumScoreDataTypeFieldRefInput<$PrismaModel> notIn?: $Enums.ScoreDataType[] | ListEnumScoreDataTypeFieldRefInput<$PrismaModel> not?: NestedEnumScoreDataTypeWithAggregatesFilter<$PrismaModel> | $Enums.ScoreDataType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumScoreDataTypeFilter<$PrismaModel> _max?: NestedEnumScoreDataTypeFilter<$PrismaModel> } export type ScoreConfigIdProjectIdCompoundUniqueInput = { id: string projectId: string } export type ScoreConfigCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder dataType?: SortOrder isArchived?: SortOrder minValue?: SortOrder maxValue?: SortOrder categories?: SortOrder description?: SortOrder } export type ScoreConfigAvgOrderByAggregateInput = { minValue?: SortOrder maxValue?: SortOrder } export type ScoreConfigMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder dataType?: SortOrder isArchived?: SortOrder minValue?: SortOrder maxValue?: SortOrder description?: SortOrder } export type ScoreConfigMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder dataType?: SortOrder isArchived?: SortOrder minValue?: SortOrder maxValue?: SortOrder description?: SortOrder } export type ScoreConfigSumOrderByAggregateInput = { minValue?: SortOrder maxValue?: SortOrder } export type AnnotationQueueProjectIdNameCompoundUniqueInput = { projectId: string name: string } export type AnnotationQueueCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder description?: SortOrder scoreConfigIds?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type AnnotationQueueMaxOrderByAggregateInput = { id?: SortOrder name?: SortOrder description?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type AnnotationQueueMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder description?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type EnumAnnotationQueueObjectTypeFilter<$PrismaModel = never> = { equals?: $Enums.AnnotationQueueObjectType | EnumAnnotationQueueObjectTypeFieldRefInput<$PrismaModel> in?: $Enums.AnnotationQueueObjectType[] | ListEnumAnnotationQueueObjectTypeFieldRefInput<$PrismaModel> notIn?: $Enums.AnnotationQueueObjectType[] | ListEnumAnnotationQueueObjectTypeFieldRefInput<$PrismaModel> not?: NestedEnumAnnotationQueueObjectTypeFilter<$PrismaModel> | $Enums.AnnotationQueueObjectType } export type EnumAnnotationQueueStatusFilter<$PrismaModel = never> = { equals?: $Enums.AnnotationQueueStatus | EnumAnnotationQueueStatusFieldRefInput<$PrismaModel> in?: $Enums.AnnotationQueueStatus[] | ListEnumAnnotationQueueStatusFieldRefInput<$PrismaModel> notIn?: $Enums.AnnotationQueueStatus[] | ListEnumAnnotationQueueStatusFieldRefInput<$PrismaModel> not?: NestedEnumAnnotationQueueStatusFilter<$PrismaModel> | $Enums.AnnotationQueueStatus } export type AnnotationQueueScalarRelationFilter = { is?: AnnotationQueueWhereInput isNot?: AnnotationQueueWhereInput } export type AnnotationQueueItemCountOrderByAggregateInput = { id?: SortOrder queueId?: SortOrder objectId?: SortOrder objectType?: SortOrder status?: SortOrder lockedAt?: SortOrder lockedByUserId?: SortOrder annotatorUserId?: SortOrder completedAt?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type AnnotationQueueItemMaxOrderByAggregateInput = { id?: SortOrder queueId?: SortOrder objectId?: SortOrder objectType?: SortOrder status?: SortOrder lockedAt?: SortOrder lockedByUserId?: SortOrder annotatorUserId?: SortOrder completedAt?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type AnnotationQueueItemMinOrderByAggregateInput = { id?: SortOrder queueId?: SortOrder objectId?: SortOrder objectType?: SortOrder status?: SortOrder lockedAt?: SortOrder lockedByUserId?: SortOrder annotatorUserId?: SortOrder completedAt?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type EnumAnnotationQueueObjectTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.AnnotationQueueObjectType | EnumAnnotationQueueObjectTypeFieldRefInput<$PrismaModel> in?: $Enums.AnnotationQueueObjectType[] | ListEnumAnnotationQueueObjectTypeFieldRefInput<$PrismaModel> notIn?: $Enums.AnnotationQueueObjectType[] | ListEnumAnnotationQueueObjectTypeFieldRefInput<$PrismaModel> not?: NestedEnumAnnotationQueueObjectTypeWithAggregatesFilter<$PrismaModel> | $Enums.AnnotationQueueObjectType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumAnnotationQueueObjectTypeFilter<$PrismaModel> _max?: NestedEnumAnnotationQueueObjectTypeFilter<$PrismaModel> } export type EnumAnnotationQueueStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.AnnotationQueueStatus | EnumAnnotationQueueStatusFieldRefInput<$PrismaModel> in?: $Enums.AnnotationQueueStatus[] | ListEnumAnnotationQueueStatusFieldRefInput<$PrismaModel> notIn?: $Enums.AnnotationQueueStatus[] | ListEnumAnnotationQueueStatusFieldRefInput<$PrismaModel> not?: NestedEnumAnnotationQueueStatusWithAggregatesFilter<$PrismaModel> | $Enums.AnnotationQueueStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumAnnotationQueueStatusFilter<$PrismaModel> _max?: NestedEnumAnnotationQueueStatusFilter<$PrismaModel> } export type AnnotationQueueAssignmentProjectIdQueueIdUserIdCompoundUniqueInput = { projectId: string queueId: string userId: string } export type AnnotationQueueAssignmentCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder userId?: SortOrder queueId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type AnnotationQueueAssignmentMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder userId?: SortOrder queueId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type AnnotationQueueAssignmentMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder userId?: SortOrder queueId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type CronJobsCountOrderByAggregateInput = { name?: SortOrder lastRun?: SortOrder jobStartedAt?: SortOrder state?: SortOrder } export type CronJobsMaxOrderByAggregateInput = { name?: SortOrder lastRun?: SortOrder jobStartedAt?: SortOrder state?: SortOrder } export type CronJobsMinOrderByAggregateInput = { name?: SortOrder lastRun?: SortOrder jobStartedAt?: SortOrder state?: SortOrder } export type DatasetItemListRelationFilter = { every?: DatasetItemWhereInput some?: DatasetItemWhereInput none?: DatasetItemWhereInput } export type DatasetRunsListRelationFilter = { every?: DatasetRunsWhereInput some?: DatasetRunsWhereInput none?: DatasetRunsWhereInput } export type DatasetItemOrderByRelationAggregateInput = { _count?: SortOrder } export type DatasetRunsOrderByRelationAggregateInput = { _count?: SortOrder } export type DatasetProjectIdNameCompoundUniqueInput = { projectId: string name: string } export type DatasetIdProjectIdCompoundUniqueInput = { id: string projectId: string } export type DatasetCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder metadata?: SortOrder remoteExperimentUrl?: SortOrder remoteExperimentPayload?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type DatasetMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder remoteExperimentUrl?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type DatasetMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder remoteExperimentUrl?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type EnumDatasetStatusFilter<$PrismaModel = never> = { equals?: $Enums.DatasetStatus | EnumDatasetStatusFieldRefInput<$PrismaModel> in?: $Enums.DatasetStatus[] | ListEnumDatasetStatusFieldRefInput<$PrismaModel> notIn?: $Enums.DatasetStatus[] | ListEnumDatasetStatusFieldRefInput<$PrismaModel> not?: NestedEnumDatasetStatusFilter<$PrismaModel> | $Enums.DatasetStatus } export type DatasetScalarRelationFilter = { is?: DatasetWhereInput isNot?: DatasetWhereInput } export type DatasetRunItemsListRelationFilter = { every?: DatasetRunItemsWhereInput some?: DatasetRunItemsWhereInput none?: DatasetRunItemsWhereInput } export type DatasetRunItemsOrderByRelationAggregateInput = { _count?: SortOrder } export type DatasetItemIdProjectIdCompoundUniqueInput = { id: string projectId: string } export type DatasetItemCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder status?: SortOrder input?: SortOrder expectedOutput?: SortOrder metadata?: SortOrder sourceTraceId?: SortOrder sourceObservationId?: SortOrder datasetId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type DatasetItemMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder status?: SortOrder sourceTraceId?: SortOrder sourceObservationId?: SortOrder datasetId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type DatasetItemMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder status?: SortOrder sourceTraceId?: SortOrder sourceObservationId?: SortOrder datasetId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type EnumDatasetStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.DatasetStatus | EnumDatasetStatusFieldRefInput<$PrismaModel> in?: $Enums.DatasetStatus[] | ListEnumDatasetStatusFieldRefInput<$PrismaModel> notIn?: $Enums.DatasetStatus[] | ListEnumDatasetStatusFieldRefInput<$PrismaModel> not?: NestedEnumDatasetStatusWithAggregatesFilter<$PrismaModel> | $Enums.DatasetStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumDatasetStatusFilter<$PrismaModel> _max?: NestedEnumDatasetStatusFilter<$PrismaModel> } export type DatasetRunsDatasetIdProjectIdNameCompoundUniqueInput = { datasetId: string projectId: string name: string } export type DatasetRunsIdProjectIdCompoundUniqueInput = { id: string projectId: string } export type DatasetRunsCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder metadata?: SortOrder datasetId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type DatasetRunsMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder datasetId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type DatasetRunsMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder datasetId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type DatasetRunsScalarRelationFilter = { is?: DatasetRunsWhereInput isNot?: DatasetRunsWhereInput } export type DatasetItemScalarRelationFilter = { is?: DatasetItemWhereInput isNot?: DatasetItemWhereInput } export type DatasetRunItemsIdProjectIdCompoundUniqueInput = { id: string projectId: string } export type DatasetRunItemsCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder datasetRunId?: SortOrder datasetItemId?: SortOrder traceId?: SortOrder observationId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type DatasetRunItemsMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder datasetRunId?: SortOrder datasetItemId?: SortOrder traceId?: SortOrder observationId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type DatasetRunItemsMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder datasetRunId?: SortOrder datasetItemId?: SortOrder traceId?: SortOrder observationId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type EnumCommentObjectTypeFilter<$PrismaModel = never> = { equals?: $Enums.CommentObjectType | EnumCommentObjectTypeFieldRefInput<$PrismaModel> in?: $Enums.CommentObjectType[] | ListEnumCommentObjectTypeFieldRefInput<$PrismaModel> notIn?: $Enums.CommentObjectType[] | ListEnumCommentObjectTypeFieldRefInput<$PrismaModel> not?: NestedEnumCommentObjectTypeFilter<$PrismaModel> | $Enums.CommentObjectType } export type CommentCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder objectType?: SortOrder objectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder content?: SortOrder authorUserId?: SortOrder } export type CommentMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder objectType?: SortOrder objectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder content?: SortOrder authorUserId?: SortOrder } export type CommentMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder objectType?: SortOrder objectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder content?: SortOrder authorUserId?: SortOrder } export type EnumCommentObjectTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.CommentObjectType | EnumCommentObjectTypeFieldRefInput<$PrismaModel> in?: $Enums.CommentObjectType[] | ListEnumCommentObjectTypeFieldRefInput<$PrismaModel> notIn?: $Enums.CommentObjectType[] | ListEnumCommentObjectTypeFieldRefInput<$PrismaModel> not?: NestedEnumCommentObjectTypeWithAggregatesFilter<$PrismaModel> | $Enums.CommentObjectType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumCommentObjectTypeFilter<$PrismaModel> _max?: NestedEnumCommentObjectTypeFilter<$PrismaModel> } export type BoolNullableFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null not?: NestedBoolNullableFilter<$PrismaModel> | boolean | null } export type PromptProjectIdNameVersionCompoundUniqueInput = { projectId: string name: string version: number } export type PromptCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder createdBy?: SortOrder prompt?: SortOrder name?: SortOrder version?: SortOrder type?: SortOrder isActive?: SortOrder config?: SortOrder tags?: SortOrder labels?: SortOrder commitMessage?: SortOrder } export type PromptAvgOrderByAggregateInput = { version?: SortOrder } export type PromptMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder createdBy?: SortOrder name?: SortOrder version?: SortOrder type?: SortOrder isActive?: SortOrder commitMessage?: SortOrder } export type PromptMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder createdBy?: SortOrder name?: SortOrder version?: SortOrder type?: SortOrder isActive?: SortOrder commitMessage?: SortOrder } export type PromptSumOrderByAggregateInput = { version?: SortOrder } export type BoolNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null not?: NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedBoolNullableFilter<$PrismaModel> _max?: NestedBoolNullableFilter<$PrismaModel> } export type PromptScalarRelationFilter = { is?: PromptWhereInput isNot?: PromptWhereInput } export type PromptDependencyCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder parentId?: SortOrder childName?: SortOrder childLabel?: SortOrder childVersion?: SortOrder } export type PromptDependencyAvgOrderByAggregateInput = { childVersion?: SortOrder } export type PromptDependencyMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder parentId?: SortOrder childName?: SortOrder childLabel?: SortOrder childVersion?: SortOrder } export type PromptDependencyMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder parentId?: SortOrder childName?: SortOrder childLabel?: SortOrder childVersion?: SortOrder } export type PromptDependencySumOrderByAggregateInput = { childVersion?: SortOrder } export type PromptProtectedLabelsProjectIdLabelCompoundUniqueInput = { projectId: string label: string } export type PromptProtectedLabelsCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder label?: SortOrder } export type PromptProtectedLabelsMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder label?: SortOrder } export type PromptProtectedLabelsMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder label?: SortOrder } export type ModelProjectIdModelNameStartDateUnitCompoundUniqueInput = { projectId: string modelName: string startDate: Date | string unit: string } export type ModelCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder modelName?: SortOrder matchPattern?: SortOrder startDate?: SortOrder inputPrice?: SortOrder outputPrice?: SortOrder totalPrice?: SortOrder unit?: SortOrder tokenizerId?: SortOrder tokenizerConfig?: SortOrder } export type ModelAvgOrderByAggregateInput = { inputPrice?: SortOrder outputPrice?: SortOrder totalPrice?: SortOrder } export type ModelMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder modelName?: SortOrder matchPattern?: SortOrder startDate?: SortOrder inputPrice?: SortOrder outputPrice?: SortOrder totalPrice?: SortOrder unit?: SortOrder tokenizerId?: SortOrder } export type ModelMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder modelName?: SortOrder matchPattern?: SortOrder startDate?: SortOrder inputPrice?: SortOrder outputPrice?: SortOrder totalPrice?: SortOrder unit?: SortOrder tokenizerId?: SortOrder } export type ModelSumOrderByAggregateInput = { inputPrice?: SortOrder outputPrice?: SortOrder totalPrice?: SortOrder } export type DecimalFilter<$PrismaModel = never> = { equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> not?: NestedDecimalFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string } export type ModelScalarRelationFilter = { is?: ModelWhereInput isNot?: ModelWhereInput } export type PriceModelIdUsageTypeCompoundUniqueInput = { modelId: string usageType: string } export type PriceCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder modelId?: SortOrder projectId?: SortOrder usageType?: SortOrder price?: SortOrder } export type PriceAvgOrderByAggregateInput = { price?: SortOrder } export type PriceMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder modelId?: SortOrder projectId?: SortOrder usageType?: SortOrder price?: SortOrder } export type PriceMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder modelId?: SortOrder projectId?: SortOrder usageType?: SortOrder price?: SortOrder } export type PriceSumOrderByAggregateInput = { price?: SortOrder } export type DecimalWithAggregatesFilter<$PrismaModel = never> = { equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> not?: NestedDecimalWithAggregatesFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string _count?: NestedIntFilter<$PrismaModel> _avg?: NestedDecimalFilter<$PrismaModel> _sum?: NestedDecimalFilter<$PrismaModel> _min?: NestedDecimalFilter<$PrismaModel> _max?: NestedDecimalFilter<$PrismaModel> } export type EnumAuditLogRecordTypeFilter<$PrismaModel = never> = { equals?: $Enums.AuditLogRecordType | EnumAuditLogRecordTypeFieldRefInput<$PrismaModel> in?: $Enums.AuditLogRecordType[] | ListEnumAuditLogRecordTypeFieldRefInput<$PrismaModel> notIn?: $Enums.AuditLogRecordType[] | ListEnumAuditLogRecordTypeFieldRefInput<$PrismaModel> not?: NestedEnumAuditLogRecordTypeFilter<$PrismaModel> | $Enums.AuditLogRecordType } export type AuditLogCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder type?: SortOrder apiKeyId?: SortOrder userId?: SortOrder orgId?: SortOrder userOrgRole?: SortOrder projectId?: SortOrder userProjectRole?: SortOrder resourceType?: SortOrder resourceId?: SortOrder action?: SortOrder before?: SortOrder after?: SortOrder } export type AuditLogMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder type?: SortOrder apiKeyId?: SortOrder userId?: SortOrder orgId?: SortOrder userOrgRole?: SortOrder projectId?: SortOrder userProjectRole?: SortOrder resourceType?: SortOrder resourceId?: SortOrder action?: SortOrder before?: SortOrder after?: SortOrder } export type AuditLogMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder type?: SortOrder apiKeyId?: SortOrder userId?: SortOrder orgId?: SortOrder userOrgRole?: SortOrder projectId?: SortOrder userProjectRole?: SortOrder resourceType?: SortOrder resourceId?: SortOrder action?: SortOrder before?: SortOrder after?: SortOrder } export type EnumAuditLogRecordTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.AuditLogRecordType | EnumAuditLogRecordTypeFieldRefInput<$PrismaModel> in?: $Enums.AuditLogRecordType[] | ListEnumAuditLogRecordTypeFieldRefInput<$PrismaModel> notIn?: $Enums.AuditLogRecordType[] | ListEnumAuditLogRecordTypeFieldRefInput<$PrismaModel> not?: NestedEnumAuditLogRecordTypeWithAggregatesFilter<$PrismaModel> | $Enums.AuditLogRecordType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumAuditLogRecordTypeFilter<$PrismaModel> _max?: NestedEnumAuditLogRecordTypeFilter<$PrismaModel> } export type EvalTemplateProjectIdNameVersionCompoundUniqueInput = { projectId: string name: string version: number } export type EvalTemplateCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder version?: SortOrder prompt?: SortOrder partner?: SortOrder model?: SortOrder provider?: SortOrder modelParams?: SortOrder vars?: SortOrder outputSchema?: SortOrder } export type EvalTemplateAvgOrderByAggregateInput = { version?: SortOrder } export type EvalTemplateMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder version?: SortOrder prompt?: SortOrder partner?: SortOrder model?: SortOrder provider?: SortOrder } export type EvalTemplateMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder version?: SortOrder prompt?: SortOrder partner?: SortOrder model?: SortOrder provider?: SortOrder } export type EvalTemplateSumOrderByAggregateInput = { version?: SortOrder } export type EnumJobTypeFilter<$PrismaModel = never> = { equals?: $Enums.JobType | EnumJobTypeFieldRefInput<$PrismaModel> in?: $Enums.JobType[] | ListEnumJobTypeFieldRefInput<$PrismaModel> notIn?: $Enums.JobType[] | ListEnumJobTypeFieldRefInput<$PrismaModel> not?: NestedEnumJobTypeFilter<$PrismaModel> | $Enums.JobType } export type EnumJobConfigStateFilter<$PrismaModel = never> = { equals?: $Enums.JobConfigState | EnumJobConfigStateFieldRefInput<$PrismaModel> in?: $Enums.JobConfigState[] | ListEnumJobConfigStateFieldRefInput<$PrismaModel> notIn?: $Enums.JobConfigState[] | ListEnumJobConfigStateFieldRefInput<$PrismaModel> not?: NestedEnumJobConfigStateFilter<$PrismaModel> | $Enums.JobConfigState } export type EvalTemplateNullableScalarRelationFilter = { is?: EvalTemplateWhereInput | null isNot?: EvalTemplateWhereInput | null } export type JobConfigurationCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder jobType?: SortOrder status?: SortOrder evalTemplateId?: SortOrder scoreName?: SortOrder filter?: SortOrder targetObject?: SortOrder variableMapping?: SortOrder sampling?: SortOrder delay?: SortOrder timeScope?: SortOrder } export type JobConfigurationAvgOrderByAggregateInput = { sampling?: SortOrder delay?: SortOrder } export type JobConfigurationMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder jobType?: SortOrder status?: SortOrder evalTemplateId?: SortOrder scoreName?: SortOrder targetObject?: SortOrder sampling?: SortOrder delay?: SortOrder } export type JobConfigurationMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder jobType?: SortOrder status?: SortOrder evalTemplateId?: SortOrder scoreName?: SortOrder targetObject?: SortOrder sampling?: SortOrder delay?: SortOrder } export type JobConfigurationSumOrderByAggregateInput = { sampling?: SortOrder delay?: SortOrder } export type EnumJobTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.JobType | EnumJobTypeFieldRefInput<$PrismaModel> in?: $Enums.JobType[] | ListEnumJobTypeFieldRefInput<$PrismaModel> notIn?: $Enums.JobType[] | ListEnumJobTypeFieldRefInput<$PrismaModel> not?: NestedEnumJobTypeWithAggregatesFilter<$PrismaModel> | $Enums.JobType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumJobTypeFilter<$PrismaModel> _max?: NestedEnumJobTypeFilter<$PrismaModel> } export type EnumJobConfigStateWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.JobConfigState | EnumJobConfigStateFieldRefInput<$PrismaModel> in?: $Enums.JobConfigState[] | ListEnumJobConfigStateFieldRefInput<$PrismaModel> notIn?: $Enums.JobConfigState[] | ListEnumJobConfigStateFieldRefInput<$PrismaModel> not?: NestedEnumJobConfigStateWithAggregatesFilter<$PrismaModel> | $Enums.JobConfigState _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumJobConfigStateFilter<$PrismaModel> _max?: NestedEnumJobConfigStateFilter<$PrismaModel> } export type EnumJobExecutionStatusFilter<$PrismaModel = never> = { equals?: $Enums.JobExecutionStatus | EnumJobExecutionStatusFieldRefInput<$PrismaModel> in?: $Enums.JobExecutionStatus[] | ListEnumJobExecutionStatusFieldRefInput<$PrismaModel> notIn?: $Enums.JobExecutionStatus[] | ListEnumJobExecutionStatusFieldRefInput<$PrismaModel> not?: NestedEnumJobExecutionStatusFilter<$PrismaModel> | $Enums.JobExecutionStatus } export type JobConfigurationScalarRelationFilter = { is?: JobConfigurationWhereInput isNot?: JobConfigurationWhereInput } export type JobExecutionCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder jobConfigurationId?: SortOrder jobTemplateId?: SortOrder status?: SortOrder startTime?: SortOrder endTime?: SortOrder error?: SortOrder jobInputTraceId?: SortOrder jobInputTraceTimestamp?: SortOrder jobInputObservationId?: SortOrder jobInputDatasetItemId?: SortOrder jobOutputScoreId?: SortOrder } export type JobExecutionMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder jobConfigurationId?: SortOrder jobTemplateId?: SortOrder status?: SortOrder startTime?: SortOrder endTime?: SortOrder error?: SortOrder jobInputTraceId?: SortOrder jobInputTraceTimestamp?: SortOrder jobInputObservationId?: SortOrder jobInputDatasetItemId?: SortOrder jobOutputScoreId?: SortOrder } export type JobExecutionMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder jobConfigurationId?: SortOrder jobTemplateId?: SortOrder status?: SortOrder startTime?: SortOrder endTime?: SortOrder error?: SortOrder jobInputTraceId?: SortOrder jobInputTraceTimestamp?: SortOrder jobInputObservationId?: SortOrder jobInputDatasetItemId?: SortOrder jobOutputScoreId?: SortOrder } export type EnumJobExecutionStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.JobExecutionStatus | EnumJobExecutionStatusFieldRefInput<$PrismaModel> in?: $Enums.JobExecutionStatus[] | ListEnumJobExecutionStatusFieldRefInput<$PrismaModel> notIn?: $Enums.JobExecutionStatus[] | ListEnumJobExecutionStatusFieldRefInput<$PrismaModel> not?: NestedEnumJobExecutionStatusWithAggregatesFilter<$PrismaModel> | $Enums.JobExecutionStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumJobExecutionStatusFilter<$PrismaModel> _max?: NestedEnumJobExecutionStatusFilter<$PrismaModel> } export type LlmApiKeysScalarRelationFilter = { is?: LlmApiKeysWhereInput isNot?: LlmApiKeysWhereInput } export type DefaultLlmModelCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder llmApiKeyId?: SortOrder provider?: SortOrder adapter?: SortOrder model?: SortOrder modelParams?: SortOrder } export type DefaultLlmModelMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder llmApiKeyId?: SortOrder provider?: SortOrder adapter?: SortOrder model?: SortOrder } export type DefaultLlmModelMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder llmApiKeyId?: SortOrder provider?: SortOrder adapter?: SortOrder model?: SortOrder } export type SsoConfigCountOrderByAggregateInput = { domain?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder authProvider?: SortOrder authConfig?: SortOrder } export type SsoConfigMaxOrderByAggregateInput = { domain?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder authProvider?: SortOrder } export type SsoConfigMinOrderByAggregateInput = { domain?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder authProvider?: SortOrder } export type PosthogIntegrationCountOrderByAggregateInput = { projectId?: SortOrder encryptedPosthogApiKey?: SortOrder posthogHostName?: SortOrder lastSyncAt?: SortOrder enabled?: SortOrder createdAt?: SortOrder } export type PosthogIntegrationMaxOrderByAggregateInput = { projectId?: SortOrder encryptedPosthogApiKey?: SortOrder posthogHostName?: SortOrder lastSyncAt?: SortOrder enabled?: SortOrder createdAt?: SortOrder } export type PosthogIntegrationMinOrderByAggregateInput = { projectId?: SortOrder encryptedPosthogApiKey?: SortOrder posthogHostName?: SortOrder lastSyncAt?: SortOrder enabled?: SortOrder createdAt?: SortOrder } export type EnumBlobStorageIntegrationTypeFilter<$PrismaModel = never> = { equals?: $Enums.BlobStorageIntegrationType | EnumBlobStorageIntegrationTypeFieldRefInput<$PrismaModel> in?: $Enums.BlobStorageIntegrationType[] | ListEnumBlobStorageIntegrationTypeFieldRefInput<$PrismaModel> notIn?: $Enums.BlobStorageIntegrationType[] | ListEnumBlobStorageIntegrationTypeFieldRefInput<$PrismaModel> not?: NestedEnumBlobStorageIntegrationTypeFilter<$PrismaModel> | $Enums.BlobStorageIntegrationType } export type EnumBlobStorageIntegrationFileTypeFilter<$PrismaModel = never> = { equals?: $Enums.BlobStorageIntegrationFileType | EnumBlobStorageIntegrationFileTypeFieldRefInput<$PrismaModel> in?: $Enums.BlobStorageIntegrationFileType[] | ListEnumBlobStorageIntegrationFileTypeFieldRefInput<$PrismaModel> notIn?: $Enums.BlobStorageIntegrationFileType[] | ListEnumBlobStorageIntegrationFileTypeFieldRefInput<$PrismaModel> not?: NestedEnumBlobStorageIntegrationFileTypeFilter<$PrismaModel> | $Enums.BlobStorageIntegrationFileType } export type EnumBlobStorageExportModeFilter<$PrismaModel = never> = { equals?: $Enums.BlobStorageExportMode | EnumBlobStorageExportModeFieldRefInput<$PrismaModel> in?: $Enums.BlobStorageExportMode[] | ListEnumBlobStorageExportModeFieldRefInput<$PrismaModel> notIn?: $Enums.BlobStorageExportMode[] | ListEnumBlobStorageExportModeFieldRefInput<$PrismaModel> not?: NestedEnumBlobStorageExportModeFilter<$PrismaModel> | $Enums.BlobStorageExportMode } export type BlobStorageIntegrationCountOrderByAggregateInput = { projectId?: SortOrder type?: SortOrder bucketName?: SortOrder prefix?: SortOrder accessKeyId?: SortOrder secretAccessKey?: SortOrder region?: SortOrder endpoint?: SortOrder forcePathStyle?: SortOrder nextSyncAt?: SortOrder lastSyncAt?: SortOrder enabled?: SortOrder exportFrequency?: SortOrder fileType?: SortOrder exportMode?: SortOrder exportStartDate?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type BlobStorageIntegrationMaxOrderByAggregateInput = { projectId?: SortOrder type?: SortOrder bucketName?: SortOrder prefix?: SortOrder accessKeyId?: SortOrder secretAccessKey?: SortOrder region?: SortOrder endpoint?: SortOrder forcePathStyle?: SortOrder nextSyncAt?: SortOrder lastSyncAt?: SortOrder enabled?: SortOrder exportFrequency?: SortOrder fileType?: SortOrder exportMode?: SortOrder exportStartDate?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type BlobStorageIntegrationMinOrderByAggregateInput = { projectId?: SortOrder type?: SortOrder bucketName?: SortOrder prefix?: SortOrder accessKeyId?: SortOrder secretAccessKey?: SortOrder region?: SortOrder endpoint?: SortOrder forcePathStyle?: SortOrder nextSyncAt?: SortOrder lastSyncAt?: SortOrder enabled?: SortOrder exportFrequency?: SortOrder fileType?: SortOrder exportMode?: SortOrder exportStartDate?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type EnumBlobStorageIntegrationTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.BlobStorageIntegrationType | EnumBlobStorageIntegrationTypeFieldRefInput<$PrismaModel> in?: $Enums.BlobStorageIntegrationType[] | ListEnumBlobStorageIntegrationTypeFieldRefInput<$PrismaModel> notIn?: $Enums.BlobStorageIntegrationType[] | ListEnumBlobStorageIntegrationTypeFieldRefInput<$PrismaModel> not?: NestedEnumBlobStorageIntegrationTypeWithAggregatesFilter<$PrismaModel> | $Enums.BlobStorageIntegrationType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumBlobStorageIntegrationTypeFilter<$PrismaModel> _max?: NestedEnumBlobStorageIntegrationTypeFilter<$PrismaModel> } export type EnumBlobStorageIntegrationFileTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.BlobStorageIntegrationFileType | EnumBlobStorageIntegrationFileTypeFieldRefInput<$PrismaModel> in?: $Enums.BlobStorageIntegrationFileType[] | ListEnumBlobStorageIntegrationFileTypeFieldRefInput<$PrismaModel> notIn?: $Enums.BlobStorageIntegrationFileType[] | ListEnumBlobStorageIntegrationFileTypeFieldRefInput<$PrismaModel> not?: NestedEnumBlobStorageIntegrationFileTypeWithAggregatesFilter<$PrismaModel> | $Enums.BlobStorageIntegrationFileType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumBlobStorageIntegrationFileTypeFilter<$PrismaModel> _max?: NestedEnumBlobStorageIntegrationFileTypeFilter<$PrismaModel> } export type EnumBlobStorageExportModeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.BlobStorageExportMode | EnumBlobStorageExportModeFieldRefInput<$PrismaModel> in?: $Enums.BlobStorageExportMode[] | ListEnumBlobStorageExportModeFieldRefInput<$PrismaModel> notIn?: $Enums.BlobStorageExportMode[] | ListEnumBlobStorageExportModeFieldRefInput<$PrismaModel> not?: NestedEnumBlobStorageExportModeWithAggregatesFilter<$PrismaModel> | $Enums.BlobStorageExportMode _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumBlobStorageExportModeFilter<$PrismaModel> _max?: NestedEnumBlobStorageExportModeFilter<$PrismaModel> } export type BatchExportCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder userId?: SortOrder finishedAt?: SortOrder expiresAt?: SortOrder name?: SortOrder status?: SortOrder query?: SortOrder format?: SortOrder url?: SortOrder log?: SortOrder } export type BatchExportMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder userId?: SortOrder finishedAt?: SortOrder expiresAt?: SortOrder name?: SortOrder status?: SortOrder format?: SortOrder url?: SortOrder log?: SortOrder } export type BatchExportMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder userId?: SortOrder finishedAt?: SortOrder expiresAt?: SortOrder name?: SortOrder status?: SortOrder format?: SortOrder url?: SortOrder log?: SortOrder } export type BigIntFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntFilter<$PrismaModel> | bigint | number } export type MediaProjectIdIdCompoundUniqueInput = { projectId: string id: string } export type MediaProjectIdSha256HashCompoundUniqueInput = { projectId: string sha256Hash: string } export type MediaCountOrderByAggregateInput = { id?: SortOrder sha256Hash?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder uploadedAt?: SortOrder uploadHttpStatus?: SortOrder uploadHttpError?: SortOrder bucketPath?: SortOrder bucketName?: SortOrder contentType?: SortOrder contentLength?: SortOrder } export type MediaAvgOrderByAggregateInput = { uploadHttpStatus?: SortOrder contentLength?: SortOrder } export type MediaMaxOrderByAggregateInput = { id?: SortOrder sha256Hash?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder uploadedAt?: SortOrder uploadHttpStatus?: SortOrder uploadHttpError?: SortOrder bucketPath?: SortOrder bucketName?: SortOrder contentType?: SortOrder contentLength?: SortOrder } export type MediaMinOrderByAggregateInput = { id?: SortOrder sha256Hash?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder uploadedAt?: SortOrder uploadHttpStatus?: SortOrder uploadHttpError?: SortOrder bucketPath?: SortOrder bucketName?: SortOrder contentType?: SortOrder contentLength?: SortOrder } export type MediaSumOrderByAggregateInput = { uploadHttpStatus?: SortOrder contentLength?: SortOrder } export type BigIntWithAggregatesFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedBigIntFilter<$PrismaModel> _min?: NestedBigIntFilter<$PrismaModel> _max?: NestedBigIntFilter<$PrismaModel> } export type MediaScalarRelationFilter = { is?: MediaWhereInput isNot?: MediaWhereInput } export type TraceMediaProjectIdTraceIdMediaIdFieldCompoundUniqueInput = { projectId: string traceId: string mediaId: string field: string } export type TraceMediaCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder mediaId?: SortOrder traceId?: SortOrder field?: SortOrder } export type TraceMediaMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder mediaId?: SortOrder traceId?: SortOrder field?: SortOrder } export type TraceMediaMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder mediaId?: SortOrder traceId?: SortOrder field?: SortOrder } export type ObservationMediaProjectIdTraceIdObservationIdMediaIdFieldCompoundUniqueInput = { projectId: string traceId: string observationId: string mediaId: string field: string } export type ObservationMediaCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder mediaId?: SortOrder traceId?: SortOrder observationId?: SortOrder field?: SortOrder } export type ObservationMediaMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder mediaId?: SortOrder traceId?: SortOrder observationId?: SortOrder field?: SortOrder } export type ObservationMediaMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder mediaId?: SortOrder traceId?: SortOrder observationId?: SortOrder field?: SortOrder } export type BillingMeterBackupStripeCustomerIdMeterIdStartTimeEndTimeCompoundUniqueInput = { stripeCustomerId: string meterId: string startTime: Date | string endTime: Date | string } export type BillingMeterBackupCountOrderByAggregateInput = { stripeCustomerId?: SortOrder meterId?: SortOrder startTime?: SortOrder endTime?: SortOrder aggregatedValue?: SortOrder eventName?: SortOrder orgId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type BillingMeterBackupAvgOrderByAggregateInput = { aggregatedValue?: SortOrder } export type BillingMeterBackupMaxOrderByAggregateInput = { stripeCustomerId?: SortOrder meterId?: SortOrder startTime?: SortOrder endTime?: SortOrder aggregatedValue?: SortOrder eventName?: SortOrder orgId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type BillingMeterBackupMinOrderByAggregateInput = { stripeCustomerId?: SortOrder meterId?: SortOrder startTime?: SortOrder endTime?: SortOrder aggregatedValue?: SortOrder eventName?: SortOrder orgId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type BillingMeterBackupSumOrderByAggregateInput = { aggregatedValue?: SortOrder } export type LlmSchemaProjectIdNameCompoundUniqueInput = { projectId: string name: string } export type LlmSchemaCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder schema?: SortOrder } export type LlmSchemaMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder } export type LlmSchemaMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder } export type LlmToolProjectIdNameCompoundUniqueInput = { projectId: string name: string } export type LlmToolCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder parameters?: SortOrder } export type LlmToolMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder } export type LlmToolMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder } export type DashboardCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder createdBy?: SortOrder updatedBy?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder definition?: SortOrder filters?: SortOrder } export type DashboardMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder createdBy?: SortOrder updatedBy?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder } export type DashboardMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder createdBy?: SortOrder updatedBy?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder } export type EnumDashboardWidgetViewsFilter<$PrismaModel = never> = { equals?: $Enums.DashboardWidgetViews | EnumDashboardWidgetViewsFieldRefInput<$PrismaModel> in?: $Enums.DashboardWidgetViews[] | ListEnumDashboardWidgetViewsFieldRefInput<$PrismaModel> notIn?: $Enums.DashboardWidgetViews[] | ListEnumDashboardWidgetViewsFieldRefInput<$PrismaModel> not?: NestedEnumDashboardWidgetViewsFilter<$PrismaModel> | $Enums.DashboardWidgetViews } export type EnumDashboardWidgetChartTypeFilter<$PrismaModel = never> = { equals?: $Enums.DashboardWidgetChartType | EnumDashboardWidgetChartTypeFieldRefInput<$PrismaModel> in?: $Enums.DashboardWidgetChartType[] | ListEnumDashboardWidgetChartTypeFieldRefInput<$PrismaModel> notIn?: $Enums.DashboardWidgetChartType[] | ListEnumDashboardWidgetChartTypeFieldRefInput<$PrismaModel> not?: NestedEnumDashboardWidgetChartTypeFilter<$PrismaModel> | $Enums.DashboardWidgetChartType } export type DashboardWidgetCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder createdBy?: SortOrder updatedBy?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder view?: SortOrder dimensions?: SortOrder metrics?: SortOrder filters?: SortOrder chartType?: SortOrder chartConfig?: SortOrder } export type DashboardWidgetMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder createdBy?: SortOrder updatedBy?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder view?: SortOrder chartType?: SortOrder } export type DashboardWidgetMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder createdBy?: SortOrder updatedBy?: SortOrder projectId?: SortOrder name?: SortOrder description?: SortOrder view?: SortOrder chartType?: SortOrder } export type EnumDashboardWidgetViewsWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.DashboardWidgetViews | EnumDashboardWidgetViewsFieldRefInput<$PrismaModel> in?: $Enums.DashboardWidgetViews[] | ListEnumDashboardWidgetViewsFieldRefInput<$PrismaModel> notIn?: $Enums.DashboardWidgetViews[] | ListEnumDashboardWidgetViewsFieldRefInput<$PrismaModel> not?: NestedEnumDashboardWidgetViewsWithAggregatesFilter<$PrismaModel> | $Enums.DashboardWidgetViews _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumDashboardWidgetViewsFilter<$PrismaModel> _max?: NestedEnumDashboardWidgetViewsFilter<$PrismaModel> } export type EnumDashboardWidgetChartTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.DashboardWidgetChartType | EnumDashboardWidgetChartTypeFieldRefInput<$PrismaModel> in?: $Enums.DashboardWidgetChartType[] | ListEnumDashboardWidgetChartTypeFieldRefInput<$PrismaModel> notIn?: $Enums.DashboardWidgetChartType[] | ListEnumDashboardWidgetChartTypeFieldRefInput<$PrismaModel> not?: NestedEnumDashboardWidgetChartTypeWithAggregatesFilter<$PrismaModel> | $Enums.DashboardWidgetChartType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumDashboardWidgetChartTypeFilter<$PrismaModel> _max?: NestedEnumDashboardWidgetChartTypeFilter<$PrismaModel> } export type TableViewPresetProjectIdTableNameNameCompoundUniqueInput = { projectId: string tableName: string name: string } export type TableViewPresetCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder tableName?: SortOrder createdBy?: SortOrder updatedBy?: SortOrder filters?: SortOrder columnOrder?: SortOrder columnVisibility?: SortOrder searchQuery?: SortOrder orderBy?: SortOrder } export type TableViewPresetMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder tableName?: SortOrder createdBy?: SortOrder updatedBy?: SortOrder searchQuery?: SortOrder } export type TableViewPresetMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder name?: SortOrder tableName?: SortOrder createdBy?: SortOrder updatedBy?: SortOrder searchQuery?: SortOrder } 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 ActionCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder type?: SortOrder config?: SortOrder } export type ActionMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder type?: SortOrder } export type ActionMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder type?: SortOrder } 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 TriggerCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder eventSource?: SortOrder eventActions?: SortOrder filter?: SortOrder status?: SortOrder } export type TriggerMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder eventSource?: SortOrder status?: SortOrder } export type TriggerMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder projectId?: SortOrder eventSource?: SortOrder status?: SortOrder } export type TriggerScalarRelationFilter = { is?: TriggerWhereInput isNot?: TriggerWhereInput } export type ActionScalarRelationFilter = { is?: ActionWhereInput isNot?: ActionWhereInput } export type AutomationCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder triggerId?: SortOrder actionId?: SortOrder createdAt?: SortOrder projectId?: SortOrder } export type AutomationMaxOrderByAggregateInput = { id?: SortOrder name?: SortOrder triggerId?: SortOrder actionId?: SortOrder createdAt?: SortOrder projectId?: SortOrder } export type AutomationMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder triggerId?: SortOrder actionId?: SortOrder createdAt?: SortOrder projectId?: SortOrder } export type EnumActionExecutionStatusFilter<$PrismaModel = never> = { equals?: $Enums.ActionExecutionStatus | EnumActionExecutionStatusFieldRefInput<$PrismaModel> in?: $Enums.ActionExecutionStatus[] | ListEnumActionExecutionStatusFieldRefInput<$PrismaModel> notIn?: $Enums.ActionExecutionStatus[] | ListEnumActionExecutionStatusFieldRefInput<$PrismaModel> not?: NestedEnumActionExecutionStatusFilter<$PrismaModel> | $Enums.ActionExecutionStatus } export type AutomationScalarRelationFilter = { is?: AutomationWhereInput isNot?: AutomationWhereInput } export type AutomationExecutionCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder sourceId?: SortOrder automationId?: SortOrder triggerId?: SortOrder actionId?: SortOrder projectId?: SortOrder status?: SortOrder input?: SortOrder output?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder error?: SortOrder } export type AutomationExecutionMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder sourceId?: SortOrder automationId?: SortOrder triggerId?: SortOrder actionId?: SortOrder projectId?: SortOrder status?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder error?: SortOrder } export type AutomationExecutionMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder sourceId?: SortOrder automationId?: SortOrder triggerId?: SortOrder actionId?: SortOrder projectId?: SortOrder status?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder error?: SortOrder } export type EnumActionExecutionStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.ActionExecutionStatus | EnumActionExecutionStatusFieldRefInput<$PrismaModel> in?: $Enums.ActionExecutionStatus[] | ListEnumActionExecutionStatusFieldRefInput<$PrismaModel> notIn?: $Enums.ActionExecutionStatus[] | ListEnumActionExecutionStatusFieldRefInput<$PrismaModel> not?: NestedEnumActionExecutionStatusWithAggregatesFilter<$PrismaModel> | $Enums.ActionExecutionStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumActionExecutionStatusFilter<$PrismaModel> _max?: NestedEnumActionExecutionStatusFilter<$PrismaModel> } export type SlackIntegrationCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder teamId?: SortOrder teamName?: SortOrder botToken?: SortOrder botUserId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type SlackIntegrationMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder teamId?: SortOrder teamName?: SortOrder botToken?: SortOrder botUserId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type SlackIntegrationMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder teamId?: SortOrder teamName?: SortOrder botToken?: SortOrder botUserId?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type PendingDeletionCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder object?: SortOrder objectId?: SortOrder isDeleted?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type PendingDeletionMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder object?: SortOrder objectId?: SortOrder isDeleted?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type PendingDeletionMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder object?: SortOrder objectId?: SortOrder isDeleted?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type EnumSurveyNameFilter<$PrismaModel = never> = { equals?: $Enums.SurveyName | EnumSurveyNameFieldRefInput<$PrismaModel> in?: $Enums.SurveyName[] | ListEnumSurveyNameFieldRefInput<$PrismaModel> notIn?: $Enums.SurveyName[] | ListEnumSurveyNameFieldRefInput<$PrismaModel> not?: NestedEnumSurveyNameFilter<$PrismaModel> | $Enums.SurveyName } export type SurveyCountOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder surveyName?: SortOrder response?: SortOrder userId?: SortOrder userEmail?: SortOrder orgId?: SortOrder } export type SurveyMaxOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder surveyName?: SortOrder userId?: SortOrder userEmail?: SortOrder orgId?: SortOrder } export type SurveyMinOrderByAggregateInput = { id?: SortOrder createdAt?: SortOrder surveyName?: SortOrder userId?: SortOrder userEmail?: SortOrder orgId?: SortOrder } export type EnumSurveyNameWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.SurveyName | EnumSurveyNameFieldRefInput<$PrismaModel> in?: $Enums.SurveyName[] | ListEnumSurveyNameFieldRefInput<$PrismaModel> notIn?: $Enums.SurveyName[] | ListEnumSurveyNameFieldRefInput<$PrismaModel> not?: NestedEnumSurveyNameWithAggregatesFilter<$PrismaModel> | $Enums.SurveyName _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumSurveyNameFilter<$PrismaModel> _max?: NestedEnumSurveyNameFilter<$PrismaModel> } export type UserCreateNestedOneWithoutAccountsInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAccountsInput connect?: UserWhereUniqueInput } export type StringFieldUpdateOperationsInput = { set?: string } export type NullableStringFieldUpdateOperationsInput = { set?: string | null } export type NullableIntFieldUpdateOperationsInput = { set?: number | null increment?: number decrement?: number multiply?: number divide?: number } export type UserUpdateOneRequiredWithoutAccountsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAccountsInput upsert?: UserUpsertWithoutAccountsInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutAccountsInput> } export type UserCreateNestedOneWithoutSessionsInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutSessionsInput connect?: UserWhereUniqueInput } export type DateTimeFieldUpdateOperationsInput = { set?: Date | string } export type UserUpdateOneRequiredWithoutSessionsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutSessionsInput upsert?: UserUpsertWithoutSessionsInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutSessionsInput> } export type UserCreatefeatureFlagsInput = { set: string[] } export type AccountCreateNestedManyWithoutUserInput = { create?: XOR | AccountCreateWithoutUserInput[] | AccountUncheckedCreateWithoutUserInput[] connectOrCreate?: AccountCreateOrConnectWithoutUserInput | AccountCreateOrConnectWithoutUserInput[] createMany?: AccountCreateManyUserInputEnvelope connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] } export type SessionCreateNestedManyWithoutUserInput = { create?: XOR | SessionCreateWithoutUserInput[] | SessionUncheckedCreateWithoutUserInput[] connectOrCreate?: SessionCreateOrConnectWithoutUserInput | SessionCreateOrConnectWithoutUserInput[] createMany?: SessionCreateManyUserInputEnvelope connect?: SessionWhereUniqueInput | SessionWhereUniqueInput[] } export type OrganizationMembershipCreateNestedManyWithoutUserInput = { create?: XOR | OrganizationMembershipCreateWithoutUserInput[] | OrganizationMembershipUncheckedCreateWithoutUserInput[] connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutUserInput | OrganizationMembershipCreateOrConnectWithoutUserInput[] createMany?: OrganizationMembershipCreateManyUserInputEnvelope connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] } export type ProjectMembershipCreateNestedManyWithoutUserInput = { create?: XOR | ProjectMembershipCreateWithoutUserInput[] | ProjectMembershipUncheckedCreateWithoutUserInput[] connectOrCreate?: ProjectMembershipCreateOrConnectWithoutUserInput | ProjectMembershipCreateOrConnectWithoutUserInput[] createMany?: ProjectMembershipCreateManyUserInputEnvelope connect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] } export type MembershipInvitationCreateNestedManyWithoutInvitedByUserInput = { create?: XOR | MembershipInvitationCreateWithoutInvitedByUserInput[] | MembershipInvitationUncheckedCreateWithoutInvitedByUserInput[] connectOrCreate?: MembershipInvitationCreateOrConnectWithoutInvitedByUserInput | MembershipInvitationCreateOrConnectWithoutInvitedByUserInput[] createMany?: MembershipInvitationCreateManyInvitedByUserInputEnvelope connect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] } export type AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput = { create?: XOR | AnnotationQueueItemCreateWithoutLockedByUserInput[] | AnnotationQueueItemUncheckedCreateWithoutLockedByUserInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutLockedByUserInput | AnnotationQueueItemCreateOrConnectWithoutLockedByUserInput[] createMany?: AnnotationQueueItemCreateManyLockedByUserInputEnvelope connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] } export type AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput = { create?: XOR | AnnotationQueueItemCreateWithoutAnnotatorUserInput[] | AnnotationQueueItemUncheckedCreateWithoutAnnotatorUserInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutAnnotatorUserInput | AnnotationQueueItemCreateOrConnectWithoutAnnotatorUserInput[] createMany?: AnnotationQueueItemCreateManyAnnotatorUserInputEnvelope connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] } export type DashboardWidgetCreateNestedManyWithoutCreatedByUserInput = { create?: XOR | DashboardWidgetCreateWithoutCreatedByUserInput[] | DashboardWidgetUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: DashboardWidgetCreateOrConnectWithoutCreatedByUserInput | DashboardWidgetCreateOrConnectWithoutCreatedByUserInput[] createMany?: DashboardWidgetCreateManyCreatedByUserInputEnvelope connect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] } export type DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput = { create?: XOR | DashboardWidgetCreateWithoutUpdatedByUserInput[] | DashboardWidgetUncheckedCreateWithoutUpdatedByUserInput[] connectOrCreate?: DashboardWidgetCreateOrConnectWithoutUpdatedByUserInput | DashboardWidgetCreateOrConnectWithoutUpdatedByUserInput[] createMany?: DashboardWidgetCreateManyUpdatedByUserInputEnvelope connect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] } export type DashboardCreateNestedManyWithoutCreatedByUserInput = { create?: XOR | DashboardCreateWithoutCreatedByUserInput[] | DashboardUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: DashboardCreateOrConnectWithoutCreatedByUserInput | DashboardCreateOrConnectWithoutCreatedByUserInput[] createMany?: DashboardCreateManyCreatedByUserInputEnvelope connect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] } export type DashboardCreateNestedManyWithoutUpdatedByUserInput = { create?: XOR | DashboardCreateWithoutUpdatedByUserInput[] | DashboardUncheckedCreateWithoutUpdatedByUserInput[] connectOrCreate?: DashboardCreateOrConnectWithoutUpdatedByUserInput | DashboardCreateOrConnectWithoutUpdatedByUserInput[] createMany?: DashboardCreateManyUpdatedByUserInputEnvelope connect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] } export type TableViewPresetCreateNestedManyWithoutCreatedByUserInput = { create?: XOR | TableViewPresetCreateWithoutCreatedByUserInput[] | TableViewPresetUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: TableViewPresetCreateOrConnectWithoutCreatedByUserInput | TableViewPresetCreateOrConnectWithoutCreatedByUserInput[] createMany?: TableViewPresetCreateManyCreatedByUserInputEnvelope connect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] } export type TableViewPresetCreateNestedManyWithoutUpdatedByUserInput = { create?: XOR | TableViewPresetCreateWithoutUpdatedByUserInput[] | TableViewPresetUncheckedCreateWithoutUpdatedByUserInput[] connectOrCreate?: TableViewPresetCreateOrConnectWithoutUpdatedByUserInput | TableViewPresetCreateOrConnectWithoutUpdatedByUserInput[] createMany?: TableViewPresetCreateManyUpdatedByUserInputEnvelope connect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] } export type AnnotationQueueAssignmentCreateNestedManyWithoutUserInput = { create?: XOR | AnnotationQueueAssignmentCreateWithoutUserInput[] | AnnotationQueueAssignmentUncheckedCreateWithoutUserInput[] connectOrCreate?: AnnotationQueueAssignmentCreateOrConnectWithoutUserInput | AnnotationQueueAssignmentCreateOrConnectWithoutUserInput[] createMany?: AnnotationQueueAssignmentCreateManyUserInputEnvelope connect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] } export type SurveyCreateNestedManyWithoutUserInput = { create?: XOR | SurveyCreateWithoutUserInput[] | SurveyUncheckedCreateWithoutUserInput[] connectOrCreate?: SurveyCreateOrConnectWithoutUserInput | SurveyCreateOrConnectWithoutUserInput[] createMany?: SurveyCreateManyUserInputEnvelope connect?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] } export type AccountUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | AccountCreateWithoutUserInput[] | AccountUncheckedCreateWithoutUserInput[] connectOrCreate?: AccountCreateOrConnectWithoutUserInput | AccountCreateOrConnectWithoutUserInput[] createMany?: AccountCreateManyUserInputEnvelope connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] } export type SessionUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | SessionCreateWithoutUserInput[] | SessionUncheckedCreateWithoutUserInput[] connectOrCreate?: SessionCreateOrConnectWithoutUserInput | SessionCreateOrConnectWithoutUserInput[] createMany?: SessionCreateManyUserInputEnvelope connect?: SessionWhereUniqueInput | SessionWhereUniqueInput[] } export type OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | OrganizationMembershipCreateWithoutUserInput[] | OrganizationMembershipUncheckedCreateWithoutUserInput[] connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutUserInput | OrganizationMembershipCreateOrConnectWithoutUserInput[] createMany?: OrganizationMembershipCreateManyUserInputEnvelope connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] } export type ProjectMembershipUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | ProjectMembershipCreateWithoutUserInput[] | ProjectMembershipUncheckedCreateWithoutUserInput[] connectOrCreate?: ProjectMembershipCreateOrConnectWithoutUserInput | ProjectMembershipCreateOrConnectWithoutUserInput[] createMany?: ProjectMembershipCreateManyUserInputEnvelope connect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] } export type MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput = { create?: XOR | MembershipInvitationCreateWithoutInvitedByUserInput[] | MembershipInvitationUncheckedCreateWithoutInvitedByUserInput[] connectOrCreate?: MembershipInvitationCreateOrConnectWithoutInvitedByUserInput | MembershipInvitationCreateOrConnectWithoutInvitedByUserInput[] createMany?: MembershipInvitationCreateManyInvitedByUserInputEnvelope connect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] } export type AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput = { create?: XOR | AnnotationQueueItemCreateWithoutLockedByUserInput[] | AnnotationQueueItemUncheckedCreateWithoutLockedByUserInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutLockedByUserInput | AnnotationQueueItemCreateOrConnectWithoutLockedByUserInput[] createMany?: AnnotationQueueItemCreateManyLockedByUserInputEnvelope connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] } export type AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput = { create?: XOR | AnnotationQueueItemCreateWithoutAnnotatorUserInput[] | AnnotationQueueItemUncheckedCreateWithoutAnnotatorUserInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutAnnotatorUserInput | AnnotationQueueItemCreateOrConnectWithoutAnnotatorUserInput[] createMany?: AnnotationQueueItemCreateManyAnnotatorUserInputEnvelope connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] } export type DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput = { create?: XOR | DashboardWidgetCreateWithoutCreatedByUserInput[] | DashboardWidgetUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: DashboardWidgetCreateOrConnectWithoutCreatedByUserInput | DashboardWidgetCreateOrConnectWithoutCreatedByUserInput[] createMany?: DashboardWidgetCreateManyCreatedByUserInputEnvelope connect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] } export type DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput = { create?: XOR | DashboardWidgetCreateWithoutUpdatedByUserInput[] | DashboardWidgetUncheckedCreateWithoutUpdatedByUserInput[] connectOrCreate?: DashboardWidgetCreateOrConnectWithoutUpdatedByUserInput | DashboardWidgetCreateOrConnectWithoutUpdatedByUserInput[] createMany?: DashboardWidgetCreateManyUpdatedByUserInputEnvelope connect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] } export type DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput = { create?: XOR | DashboardCreateWithoutCreatedByUserInput[] | DashboardUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: DashboardCreateOrConnectWithoutCreatedByUserInput | DashboardCreateOrConnectWithoutCreatedByUserInput[] createMany?: DashboardCreateManyCreatedByUserInputEnvelope connect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] } export type DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput = { create?: XOR | DashboardCreateWithoutUpdatedByUserInput[] | DashboardUncheckedCreateWithoutUpdatedByUserInput[] connectOrCreate?: DashboardCreateOrConnectWithoutUpdatedByUserInput | DashboardCreateOrConnectWithoutUpdatedByUserInput[] createMany?: DashboardCreateManyUpdatedByUserInputEnvelope connect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] } export type TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput = { create?: XOR | TableViewPresetCreateWithoutCreatedByUserInput[] | TableViewPresetUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: TableViewPresetCreateOrConnectWithoutCreatedByUserInput | TableViewPresetCreateOrConnectWithoutCreatedByUserInput[] createMany?: TableViewPresetCreateManyCreatedByUserInputEnvelope connect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] } export type TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput = { create?: XOR | TableViewPresetCreateWithoutUpdatedByUserInput[] | TableViewPresetUncheckedCreateWithoutUpdatedByUserInput[] connectOrCreate?: TableViewPresetCreateOrConnectWithoutUpdatedByUserInput | TableViewPresetCreateOrConnectWithoutUpdatedByUserInput[] createMany?: TableViewPresetCreateManyUpdatedByUserInputEnvelope connect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] } export type AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | AnnotationQueueAssignmentCreateWithoutUserInput[] | AnnotationQueueAssignmentUncheckedCreateWithoutUserInput[] connectOrCreate?: AnnotationQueueAssignmentCreateOrConnectWithoutUserInput | AnnotationQueueAssignmentCreateOrConnectWithoutUserInput[] createMany?: AnnotationQueueAssignmentCreateManyUserInputEnvelope connect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] } export type SurveyUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | SurveyCreateWithoutUserInput[] | SurveyUncheckedCreateWithoutUserInput[] connectOrCreate?: SurveyCreateOrConnectWithoutUserInput | SurveyCreateOrConnectWithoutUserInput[] createMany?: SurveyCreateManyUserInputEnvelope connect?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] } export type NullableDateTimeFieldUpdateOperationsInput = { set?: Date | string | null } export type BoolFieldUpdateOperationsInput = { set?: boolean } export type UserUpdatefeatureFlagsInput = { set?: string[] push?: string | string[] } export type AccountUpdateManyWithoutUserNestedInput = { create?: XOR | AccountCreateWithoutUserInput[] | AccountUncheckedCreateWithoutUserInput[] connectOrCreate?: AccountCreateOrConnectWithoutUserInput | AccountCreateOrConnectWithoutUserInput[] upsert?: AccountUpsertWithWhereUniqueWithoutUserInput | AccountUpsertWithWhereUniqueWithoutUserInput[] createMany?: AccountCreateManyUserInputEnvelope set?: AccountWhereUniqueInput | AccountWhereUniqueInput[] disconnect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] delete?: AccountWhereUniqueInput | AccountWhereUniqueInput[] connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] update?: AccountUpdateWithWhereUniqueWithoutUserInput | AccountUpdateWithWhereUniqueWithoutUserInput[] updateMany?: AccountUpdateManyWithWhereWithoutUserInput | AccountUpdateManyWithWhereWithoutUserInput[] deleteMany?: AccountScalarWhereInput | AccountScalarWhereInput[] } export type SessionUpdateManyWithoutUserNestedInput = { create?: XOR | SessionCreateWithoutUserInput[] | SessionUncheckedCreateWithoutUserInput[] connectOrCreate?: SessionCreateOrConnectWithoutUserInput | SessionCreateOrConnectWithoutUserInput[] upsert?: SessionUpsertWithWhereUniqueWithoutUserInput | SessionUpsertWithWhereUniqueWithoutUserInput[] createMany?: SessionCreateManyUserInputEnvelope set?: SessionWhereUniqueInput | SessionWhereUniqueInput[] disconnect?: SessionWhereUniqueInput | SessionWhereUniqueInput[] delete?: SessionWhereUniqueInput | SessionWhereUniqueInput[] connect?: SessionWhereUniqueInput | SessionWhereUniqueInput[] update?: SessionUpdateWithWhereUniqueWithoutUserInput | SessionUpdateWithWhereUniqueWithoutUserInput[] updateMany?: SessionUpdateManyWithWhereWithoutUserInput | SessionUpdateManyWithWhereWithoutUserInput[] deleteMany?: SessionScalarWhereInput | SessionScalarWhereInput[] } export type OrganizationMembershipUpdateManyWithoutUserNestedInput = { create?: XOR | OrganizationMembershipCreateWithoutUserInput[] | OrganizationMembershipUncheckedCreateWithoutUserInput[] connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutUserInput | OrganizationMembershipCreateOrConnectWithoutUserInput[] upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutUserInput | OrganizationMembershipUpsertWithWhereUniqueWithoutUserInput[] createMany?: OrganizationMembershipCreateManyUserInputEnvelope set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] update?: OrganizationMembershipUpdateWithWhereUniqueWithoutUserInput | OrganizationMembershipUpdateWithWhereUniqueWithoutUserInput[] updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutUserInput | OrganizationMembershipUpdateManyWithWhereWithoutUserInput[] deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[] } export type ProjectMembershipUpdateManyWithoutUserNestedInput = { create?: XOR | ProjectMembershipCreateWithoutUserInput[] | ProjectMembershipUncheckedCreateWithoutUserInput[] connectOrCreate?: ProjectMembershipCreateOrConnectWithoutUserInput | ProjectMembershipCreateOrConnectWithoutUserInput[] upsert?: ProjectMembershipUpsertWithWhereUniqueWithoutUserInput | ProjectMembershipUpsertWithWhereUniqueWithoutUserInput[] createMany?: ProjectMembershipCreateManyUserInputEnvelope set?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] disconnect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] delete?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] connect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] update?: ProjectMembershipUpdateWithWhereUniqueWithoutUserInput | ProjectMembershipUpdateWithWhereUniqueWithoutUserInput[] updateMany?: ProjectMembershipUpdateManyWithWhereWithoutUserInput | ProjectMembershipUpdateManyWithWhereWithoutUserInput[] deleteMany?: ProjectMembershipScalarWhereInput | ProjectMembershipScalarWhereInput[] } export type MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput = { create?: XOR | MembershipInvitationCreateWithoutInvitedByUserInput[] | MembershipInvitationUncheckedCreateWithoutInvitedByUserInput[] connectOrCreate?: MembershipInvitationCreateOrConnectWithoutInvitedByUserInput | MembershipInvitationCreateOrConnectWithoutInvitedByUserInput[] upsert?: MembershipInvitationUpsertWithWhereUniqueWithoutInvitedByUserInput | MembershipInvitationUpsertWithWhereUniqueWithoutInvitedByUserInput[] createMany?: MembershipInvitationCreateManyInvitedByUserInputEnvelope set?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] disconnect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] delete?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] connect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] update?: MembershipInvitationUpdateWithWhereUniqueWithoutInvitedByUserInput | MembershipInvitationUpdateWithWhereUniqueWithoutInvitedByUserInput[] updateMany?: MembershipInvitationUpdateManyWithWhereWithoutInvitedByUserInput | MembershipInvitationUpdateManyWithWhereWithoutInvitedByUserInput[] deleteMany?: MembershipInvitationScalarWhereInput | MembershipInvitationScalarWhereInput[] } export type AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput = { create?: XOR | AnnotationQueueItemCreateWithoutLockedByUserInput[] | AnnotationQueueItemUncheckedCreateWithoutLockedByUserInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutLockedByUserInput | AnnotationQueueItemCreateOrConnectWithoutLockedByUserInput[] upsert?: AnnotationQueueItemUpsertWithWhereUniqueWithoutLockedByUserInput | AnnotationQueueItemUpsertWithWhereUniqueWithoutLockedByUserInput[] createMany?: AnnotationQueueItemCreateManyLockedByUserInputEnvelope set?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] disconnect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] delete?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] update?: AnnotationQueueItemUpdateWithWhereUniqueWithoutLockedByUserInput | AnnotationQueueItemUpdateWithWhereUniqueWithoutLockedByUserInput[] updateMany?: AnnotationQueueItemUpdateManyWithWhereWithoutLockedByUserInput | AnnotationQueueItemUpdateManyWithWhereWithoutLockedByUserInput[] deleteMany?: AnnotationQueueItemScalarWhereInput | AnnotationQueueItemScalarWhereInput[] } export type AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput = { create?: XOR | AnnotationQueueItemCreateWithoutAnnotatorUserInput[] | AnnotationQueueItemUncheckedCreateWithoutAnnotatorUserInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutAnnotatorUserInput | AnnotationQueueItemCreateOrConnectWithoutAnnotatorUserInput[] upsert?: AnnotationQueueItemUpsertWithWhereUniqueWithoutAnnotatorUserInput | AnnotationQueueItemUpsertWithWhereUniqueWithoutAnnotatorUserInput[] createMany?: AnnotationQueueItemCreateManyAnnotatorUserInputEnvelope set?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] disconnect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] delete?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] update?: AnnotationQueueItemUpdateWithWhereUniqueWithoutAnnotatorUserInput | AnnotationQueueItemUpdateWithWhereUniqueWithoutAnnotatorUserInput[] updateMany?: AnnotationQueueItemUpdateManyWithWhereWithoutAnnotatorUserInput | AnnotationQueueItemUpdateManyWithWhereWithoutAnnotatorUserInput[] deleteMany?: AnnotationQueueItemScalarWhereInput | AnnotationQueueItemScalarWhereInput[] } export type DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput = { create?: XOR | DashboardWidgetCreateWithoutCreatedByUserInput[] | DashboardWidgetUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: DashboardWidgetCreateOrConnectWithoutCreatedByUserInput | DashboardWidgetCreateOrConnectWithoutCreatedByUserInput[] upsert?: DashboardWidgetUpsertWithWhereUniqueWithoutCreatedByUserInput | DashboardWidgetUpsertWithWhereUniqueWithoutCreatedByUserInput[] createMany?: DashboardWidgetCreateManyCreatedByUserInputEnvelope set?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] disconnect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] delete?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] connect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] update?: DashboardWidgetUpdateWithWhereUniqueWithoutCreatedByUserInput | DashboardWidgetUpdateWithWhereUniqueWithoutCreatedByUserInput[] updateMany?: DashboardWidgetUpdateManyWithWhereWithoutCreatedByUserInput | DashboardWidgetUpdateManyWithWhereWithoutCreatedByUserInput[] deleteMany?: DashboardWidgetScalarWhereInput | DashboardWidgetScalarWhereInput[] } export type DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput = { create?: XOR | DashboardWidgetCreateWithoutUpdatedByUserInput[] | DashboardWidgetUncheckedCreateWithoutUpdatedByUserInput[] connectOrCreate?: DashboardWidgetCreateOrConnectWithoutUpdatedByUserInput | DashboardWidgetCreateOrConnectWithoutUpdatedByUserInput[] upsert?: DashboardWidgetUpsertWithWhereUniqueWithoutUpdatedByUserInput | DashboardWidgetUpsertWithWhereUniqueWithoutUpdatedByUserInput[] createMany?: DashboardWidgetCreateManyUpdatedByUserInputEnvelope set?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] disconnect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] delete?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] connect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] update?: DashboardWidgetUpdateWithWhereUniqueWithoutUpdatedByUserInput | DashboardWidgetUpdateWithWhereUniqueWithoutUpdatedByUserInput[] updateMany?: DashboardWidgetUpdateManyWithWhereWithoutUpdatedByUserInput | DashboardWidgetUpdateManyWithWhereWithoutUpdatedByUserInput[] deleteMany?: DashboardWidgetScalarWhereInput | DashboardWidgetScalarWhereInput[] } export type DashboardUpdateManyWithoutCreatedByUserNestedInput = { create?: XOR | DashboardCreateWithoutCreatedByUserInput[] | DashboardUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: DashboardCreateOrConnectWithoutCreatedByUserInput | DashboardCreateOrConnectWithoutCreatedByUserInput[] upsert?: DashboardUpsertWithWhereUniqueWithoutCreatedByUserInput | DashboardUpsertWithWhereUniqueWithoutCreatedByUserInput[] createMany?: DashboardCreateManyCreatedByUserInputEnvelope set?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] disconnect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] delete?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] connect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] update?: DashboardUpdateWithWhereUniqueWithoutCreatedByUserInput | DashboardUpdateWithWhereUniqueWithoutCreatedByUserInput[] updateMany?: DashboardUpdateManyWithWhereWithoutCreatedByUserInput | DashboardUpdateManyWithWhereWithoutCreatedByUserInput[] deleteMany?: DashboardScalarWhereInput | DashboardScalarWhereInput[] } export type DashboardUpdateManyWithoutUpdatedByUserNestedInput = { create?: XOR | DashboardCreateWithoutUpdatedByUserInput[] | DashboardUncheckedCreateWithoutUpdatedByUserInput[] connectOrCreate?: DashboardCreateOrConnectWithoutUpdatedByUserInput | DashboardCreateOrConnectWithoutUpdatedByUserInput[] upsert?: DashboardUpsertWithWhereUniqueWithoutUpdatedByUserInput | DashboardUpsertWithWhereUniqueWithoutUpdatedByUserInput[] createMany?: DashboardCreateManyUpdatedByUserInputEnvelope set?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] disconnect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] delete?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] connect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] update?: DashboardUpdateWithWhereUniqueWithoutUpdatedByUserInput | DashboardUpdateWithWhereUniqueWithoutUpdatedByUserInput[] updateMany?: DashboardUpdateManyWithWhereWithoutUpdatedByUserInput | DashboardUpdateManyWithWhereWithoutUpdatedByUserInput[] deleteMany?: DashboardScalarWhereInput | DashboardScalarWhereInput[] } export type TableViewPresetUpdateManyWithoutCreatedByUserNestedInput = { create?: XOR | TableViewPresetCreateWithoutCreatedByUserInput[] | TableViewPresetUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: TableViewPresetCreateOrConnectWithoutCreatedByUserInput | TableViewPresetCreateOrConnectWithoutCreatedByUserInput[] upsert?: TableViewPresetUpsertWithWhereUniqueWithoutCreatedByUserInput | TableViewPresetUpsertWithWhereUniqueWithoutCreatedByUserInput[] createMany?: TableViewPresetCreateManyCreatedByUserInputEnvelope set?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] disconnect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] delete?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] connect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] update?: TableViewPresetUpdateWithWhereUniqueWithoutCreatedByUserInput | TableViewPresetUpdateWithWhereUniqueWithoutCreatedByUserInput[] updateMany?: TableViewPresetUpdateManyWithWhereWithoutCreatedByUserInput | TableViewPresetUpdateManyWithWhereWithoutCreatedByUserInput[] deleteMany?: TableViewPresetScalarWhereInput | TableViewPresetScalarWhereInput[] } export type TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput = { create?: XOR | TableViewPresetCreateWithoutUpdatedByUserInput[] | TableViewPresetUncheckedCreateWithoutUpdatedByUserInput[] connectOrCreate?: TableViewPresetCreateOrConnectWithoutUpdatedByUserInput | TableViewPresetCreateOrConnectWithoutUpdatedByUserInput[] upsert?: TableViewPresetUpsertWithWhereUniqueWithoutUpdatedByUserInput | TableViewPresetUpsertWithWhereUniqueWithoutUpdatedByUserInput[] createMany?: TableViewPresetCreateManyUpdatedByUserInputEnvelope set?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] disconnect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] delete?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] connect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] update?: TableViewPresetUpdateWithWhereUniqueWithoutUpdatedByUserInput | TableViewPresetUpdateWithWhereUniqueWithoutUpdatedByUserInput[] updateMany?: TableViewPresetUpdateManyWithWhereWithoutUpdatedByUserInput | TableViewPresetUpdateManyWithWhereWithoutUpdatedByUserInput[] deleteMany?: TableViewPresetScalarWhereInput | TableViewPresetScalarWhereInput[] } export type AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput = { create?: XOR | AnnotationQueueAssignmentCreateWithoutUserInput[] | AnnotationQueueAssignmentUncheckedCreateWithoutUserInput[] connectOrCreate?: AnnotationQueueAssignmentCreateOrConnectWithoutUserInput | AnnotationQueueAssignmentCreateOrConnectWithoutUserInput[] upsert?: AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutUserInput | AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutUserInput[] createMany?: AnnotationQueueAssignmentCreateManyUserInputEnvelope set?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] disconnect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] delete?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] connect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] update?: AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutUserInput | AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutUserInput[] updateMany?: AnnotationQueueAssignmentUpdateManyWithWhereWithoutUserInput | AnnotationQueueAssignmentUpdateManyWithWhereWithoutUserInput[] deleteMany?: AnnotationQueueAssignmentScalarWhereInput | AnnotationQueueAssignmentScalarWhereInput[] } export type SurveyUpdateManyWithoutUserNestedInput = { create?: XOR | SurveyCreateWithoutUserInput[] | SurveyUncheckedCreateWithoutUserInput[] connectOrCreate?: SurveyCreateOrConnectWithoutUserInput | SurveyCreateOrConnectWithoutUserInput[] upsert?: SurveyUpsertWithWhereUniqueWithoutUserInput | SurveyUpsertWithWhereUniqueWithoutUserInput[] createMany?: SurveyCreateManyUserInputEnvelope set?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] disconnect?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] delete?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] connect?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] update?: SurveyUpdateWithWhereUniqueWithoutUserInput | SurveyUpdateWithWhereUniqueWithoutUserInput[] updateMany?: SurveyUpdateManyWithWhereWithoutUserInput | SurveyUpdateManyWithWhereWithoutUserInput[] deleteMany?: SurveyScalarWhereInput | SurveyScalarWhereInput[] } export type AccountUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | AccountCreateWithoutUserInput[] | AccountUncheckedCreateWithoutUserInput[] connectOrCreate?: AccountCreateOrConnectWithoutUserInput | AccountCreateOrConnectWithoutUserInput[] upsert?: AccountUpsertWithWhereUniqueWithoutUserInput | AccountUpsertWithWhereUniqueWithoutUserInput[] createMany?: AccountCreateManyUserInputEnvelope set?: AccountWhereUniqueInput | AccountWhereUniqueInput[] disconnect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] delete?: AccountWhereUniqueInput | AccountWhereUniqueInput[] connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] update?: AccountUpdateWithWhereUniqueWithoutUserInput | AccountUpdateWithWhereUniqueWithoutUserInput[] updateMany?: AccountUpdateManyWithWhereWithoutUserInput | AccountUpdateManyWithWhereWithoutUserInput[] deleteMany?: AccountScalarWhereInput | AccountScalarWhereInput[] } export type SessionUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | SessionCreateWithoutUserInput[] | SessionUncheckedCreateWithoutUserInput[] connectOrCreate?: SessionCreateOrConnectWithoutUserInput | SessionCreateOrConnectWithoutUserInput[] upsert?: SessionUpsertWithWhereUniqueWithoutUserInput | SessionUpsertWithWhereUniqueWithoutUserInput[] createMany?: SessionCreateManyUserInputEnvelope set?: SessionWhereUniqueInput | SessionWhereUniqueInput[] disconnect?: SessionWhereUniqueInput | SessionWhereUniqueInput[] delete?: SessionWhereUniqueInput | SessionWhereUniqueInput[] connect?: SessionWhereUniqueInput | SessionWhereUniqueInput[] update?: SessionUpdateWithWhereUniqueWithoutUserInput | SessionUpdateWithWhereUniqueWithoutUserInput[] updateMany?: SessionUpdateManyWithWhereWithoutUserInput | SessionUpdateManyWithWhereWithoutUserInput[] deleteMany?: SessionScalarWhereInput | SessionScalarWhereInput[] } export type OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | OrganizationMembershipCreateWithoutUserInput[] | OrganizationMembershipUncheckedCreateWithoutUserInput[] connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutUserInput | OrganizationMembershipCreateOrConnectWithoutUserInput[] upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutUserInput | OrganizationMembershipUpsertWithWhereUniqueWithoutUserInput[] createMany?: OrganizationMembershipCreateManyUserInputEnvelope set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] update?: OrganizationMembershipUpdateWithWhereUniqueWithoutUserInput | OrganizationMembershipUpdateWithWhereUniqueWithoutUserInput[] updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutUserInput | OrganizationMembershipUpdateManyWithWhereWithoutUserInput[] deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[] } export type ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | ProjectMembershipCreateWithoutUserInput[] | ProjectMembershipUncheckedCreateWithoutUserInput[] connectOrCreate?: ProjectMembershipCreateOrConnectWithoutUserInput | ProjectMembershipCreateOrConnectWithoutUserInput[] upsert?: ProjectMembershipUpsertWithWhereUniqueWithoutUserInput | ProjectMembershipUpsertWithWhereUniqueWithoutUserInput[] createMany?: ProjectMembershipCreateManyUserInputEnvelope set?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] disconnect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] delete?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] connect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] update?: ProjectMembershipUpdateWithWhereUniqueWithoutUserInput | ProjectMembershipUpdateWithWhereUniqueWithoutUserInput[] updateMany?: ProjectMembershipUpdateManyWithWhereWithoutUserInput | ProjectMembershipUpdateManyWithWhereWithoutUserInput[] deleteMany?: ProjectMembershipScalarWhereInput | ProjectMembershipScalarWhereInput[] } export type MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput = { create?: XOR | MembershipInvitationCreateWithoutInvitedByUserInput[] | MembershipInvitationUncheckedCreateWithoutInvitedByUserInput[] connectOrCreate?: MembershipInvitationCreateOrConnectWithoutInvitedByUserInput | MembershipInvitationCreateOrConnectWithoutInvitedByUserInput[] upsert?: MembershipInvitationUpsertWithWhereUniqueWithoutInvitedByUserInput | MembershipInvitationUpsertWithWhereUniqueWithoutInvitedByUserInput[] createMany?: MembershipInvitationCreateManyInvitedByUserInputEnvelope set?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] disconnect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] delete?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] connect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] update?: MembershipInvitationUpdateWithWhereUniqueWithoutInvitedByUserInput | MembershipInvitationUpdateWithWhereUniqueWithoutInvitedByUserInput[] updateMany?: MembershipInvitationUpdateManyWithWhereWithoutInvitedByUserInput | MembershipInvitationUpdateManyWithWhereWithoutInvitedByUserInput[] deleteMany?: MembershipInvitationScalarWhereInput | MembershipInvitationScalarWhereInput[] } export type AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput = { create?: XOR | AnnotationQueueItemCreateWithoutLockedByUserInput[] | AnnotationQueueItemUncheckedCreateWithoutLockedByUserInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutLockedByUserInput | AnnotationQueueItemCreateOrConnectWithoutLockedByUserInput[] upsert?: AnnotationQueueItemUpsertWithWhereUniqueWithoutLockedByUserInput | AnnotationQueueItemUpsertWithWhereUniqueWithoutLockedByUserInput[] createMany?: AnnotationQueueItemCreateManyLockedByUserInputEnvelope set?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] disconnect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] delete?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] update?: AnnotationQueueItemUpdateWithWhereUniqueWithoutLockedByUserInput | AnnotationQueueItemUpdateWithWhereUniqueWithoutLockedByUserInput[] updateMany?: AnnotationQueueItemUpdateManyWithWhereWithoutLockedByUserInput | AnnotationQueueItemUpdateManyWithWhereWithoutLockedByUserInput[] deleteMany?: AnnotationQueueItemScalarWhereInput | AnnotationQueueItemScalarWhereInput[] } export type AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput = { create?: XOR | AnnotationQueueItemCreateWithoutAnnotatorUserInput[] | AnnotationQueueItemUncheckedCreateWithoutAnnotatorUserInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutAnnotatorUserInput | AnnotationQueueItemCreateOrConnectWithoutAnnotatorUserInput[] upsert?: AnnotationQueueItemUpsertWithWhereUniqueWithoutAnnotatorUserInput | AnnotationQueueItemUpsertWithWhereUniqueWithoutAnnotatorUserInput[] createMany?: AnnotationQueueItemCreateManyAnnotatorUserInputEnvelope set?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] disconnect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] delete?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] update?: AnnotationQueueItemUpdateWithWhereUniqueWithoutAnnotatorUserInput | AnnotationQueueItemUpdateWithWhereUniqueWithoutAnnotatorUserInput[] updateMany?: AnnotationQueueItemUpdateManyWithWhereWithoutAnnotatorUserInput | AnnotationQueueItemUpdateManyWithWhereWithoutAnnotatorUserInput[] deleteMany?: AnnotationQueueItemScalarWhereInput | AnnotationQueueItemScalarWhereInput[] } export type DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput = { create?: XOR | DashboardWidgetCreateWithoutCreatedByUserInput[] | DashboardWidgetUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: DashboardWidgetCreateOrConnectWithoutCreatedByUserInput | DashboardWidgetCreateOrConnectWithoutCreatedByUserInput[] upsert?: DashboardWidgetUpsertWithWhereUniqueWithoutCreatedByUserInput | DashboardWidgetUpsertWithWhereUniqueWithoutCreatedByUserInput[] createMany?: DashboardWidgetCreateManyCreatedByUserInputEnvelope set?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] disconnect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] delete?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] connect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] update?: DashboardWidgetUpdateWithWhereUniqueWithoutCreatedByUserInput | DashboardWidgetUpdateWithWhereUniqueWithoutCreatedByUserInput[] updateMany?: DashboardWidgetUpdateManyWithWhereWithoutCreatedByUserInput | DashboardWidgetUpdateManyWithWhereWithoutCreatedByUserInput[] deleteMany?: DashboardWidgetScalarWhereInput | DashboardWidgetScalarWhereInput[] } export type DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput = { create?: XOR | DashboardWidgetCreateWithoutUpdatedByUserInput[] | DashboardWidgetUncheckedCreateWithoutUpdatedByUserInput[] connectOrCreate?: DashboardWidgetCreateOrConnectWithoutUpdatedByUserInput | DashboardWidgetCreateOrConnectWithoutUpdatedByUserInput[] upsert?: DashboardWidgetUpsertWithWhereUniqueWithoutUpdatedByUserInput | DashboardWidgetUpsertWithWhereUniqueWithoutUpdatedByUserInput[] createMany?: DashboardWidgetCreateManyUpdatedByUserInputEnvelope set?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] disconnect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] delete?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] connect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] update?: DashboardWidgetUpdateWithWhereUniqueWithoutUpdatedByUserInput | DashboardWidgetUpdateWithWhereUniqueWithoutUpdatedByUserInput[] updateMany?: DashboardWidgetUpdateManyWithWhereWithoutUpdatedByUserInput | DashboardWidgetUpdateManyWithWhereWithoutUpdatedByUserInput[] deleteMany?: DashboardWidgetScalarWhereInput | DashboardWidgetScalarWhereInput[] } export type DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput = { create?: XOR | DashboardCreateWithoutCreatedByUserInput[] | DashboardUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: DashboardCreateOrConnectWithoutCreatedByUserInput | DashboardCreateOrConnectWithoutCreatedByUserInput[] upsert?: DashboardUpsertWithWhereUniqueWithoutCreatedByUserInput | DashboardUpsertWithWhereUniqueWithoutCreatedByUserInput[] createMany?: DashboardCreateManyCreatedByUserInputEnvelope set?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] disconnect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] delete?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] connect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] update?: DashboardUpdateWithWhereUniqueWithoutCreatedByUserInput | DashboardUpdateWithWhereUniqueWithoutCreatedByUserInput[] updateMany?: DashboardUpdateManyWithWhereWithoutCreatedByUserInput | DashboardUpdateManyWithWhereWithoutCreatedByUserInput[] deleteMany?: DashboardScalarWhereInput | DashboardScalarWhereInput[] } export type DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput = { create?: XOR | DashboardCreateWithoutUpdatedByUserInput[] | DashboardUncheckedCreateWithoutUpdatedByUserInput[] connectOrCreate?: DashboardCreateOrConnectWithoutUpdatedByUserInput | DashboardCreateOrConnectWithoutUpdatedByUserInput[] upsert?: DashboardUpsertWithWhereUniqueWithoutUpdatedByUserInput | DashboardUpsertWithWhereUniqueWithoutUpdatedByUserInput[] createMany?: DashboardCreateManyUpdatedByUserInputEnvelope set?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] disconnect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] delete?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] connect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] update?: DashboardUpdateWithWhereUniqueWithoutUpdatedByUserInput | DashboardUpdateWithWhereUniqueWithoutUpdatedByUserInput[] updateMany?: DashboardUpdateManyWithWhereWithoutUpdatedByUserInput | DashboardUpdateManyWithWhereWithoutUpdatedByUserInput[] deleteMany?: DashboardScalarWhereInput | DashboardScalarWhereInput[] } export type TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput = { create?: XOR | TableViewPresetCreateWithoutCreatedByUserInput[] | TableViewPresetUncheckedCreateWithoutCreatedByUserInput[] connectOrCreate?: TableViewPresetCreateOrConnectWithoutCreatedByUserInput | TableViewPresetCreateOrConnectWithoutCreatedByUserInput[] upsert?: TableViewPresetUpsertWithWhereUniqueWithoutCreatedByUserInput | TableViewPresetUpsertWithWhereUniqueWithoutCreatedByUserInput[] createMany?: TableViewPresetCreateManyCreatedByUserInputEnvelope set?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] disconnect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] delete?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] connect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] update?: TableViewPresetUpdateWithWhereUniqueWithoutCreatedByUserInput | TableViewPresetUpdateWithWhereUniqueWithoutCreatedByUserInput[] updateMany?: TableViewPresetUpdateManyWithWhereWithoutCreatedByUserInput | TableViewPresetUpdateManyWithWhereWithoutCreatedByUserInput[] deleteMany?: TableViewPresetScalarWhereInput | TableViewPresetScalarWhereInput[] } export type TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput = { create?: XOR | TableViewPresetCreateWithoutUpdatedByUserInput[] | TableViewPresetUncheckedCreateWithoutUpdatedByUserInput[] connectOrCreate?: TableViewPresetCreateOrConnectWithoutUpdatedByUserInput | TableViewPresetCreateOrConnectWithoutUpdatedByUserInput[] upsert?: TableViewPresetUpsertWithWhereUniqueWithoutUpdatedByUserInput | TableViewPresetUpsertWithWhereUniqueWithoutUpdatedByUserInput[] createMany?: TableViewPresetCreateManyUpdatedByUserInputEnvelope set?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] disconnect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] delete?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] connect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] update?: TableViewPresetUpdateWithWhereUniqueWithoutUpdatedByUserInput | TableViewPresetUpdateWithWhereUniqueWithoutUpdatedByUserInput[] updateMany?: TableViewPresetUpdateManyWithWhereWithoutUpdatedByUserInput | TableViewPresetUpdateManyWithWhereWithoutUpdatedByUserInput[] deleteMany?: TableViewPresetScalarWhereInput | TableViewPresetScalarWhereInput[] } export type AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | AnnotationQueueAssignmentCreateWithoutUserInput[] | AnnotationQueueAssignmentUncheckedCreateWithoutUserInput[] connectOrCreate?: AnnotationQueueAssignmentCreateOrConnectWithoutUserInput | AnnotationQueueAssignmentCreateOrConnectWithoutUserInput[] upsert?: AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutUserInput | AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutUserInput[] createMany?: AnnotationQueueAssignmentCreateManyUserInputEnvelope set?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] disconnect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] delete?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] connect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] update?: AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutUserInput | AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutUserInput[] updateMany?: AnnotationQueueAssignmentUpdateManyWithWhereWithoutUserInput | AnnotationQueueAssignmentUpdateManyWithWhereWithoutUserInput[] deleteMany?: AnnotationQueueAssignmentScalarWhereInput | AnnotationQueueAssignmentScalarWhereInput[] } export type SurveyUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | SurveyCreateWithoutUserInput[] | SurveyUncheckedCreateWithoutUserInput[] connectOrCreate?: SurveyCreateOrConnectWithoutUserInput | SurveyCreateOrConnectWithoutUserInput[] upsert?: SurveyUpsertWithWhereUniqueWithoutUserInput | SurveyUpsertWithWhereUniqueWithoutUserInput[] createMany?: SurveyCreateManyUserInputEnvelope set?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] disconnect?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] delete?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] connect?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] update?: SurveyUpdateWithWhereUniqueWithoutUserInput | SurveyUpdateWithWhereUniqueWithoutUserInput[] updateMany?: SurveyUpdateManyWithWhereWithoutUserInput | SurveyUpdateManyWithWhereWithoutUserInput[] deleteMany?: SurveyScalarWhereInput | SurveyScalarWhereInput[] } export type OrganizationMembershipCreateNestedManyWithoutOrganizationInput = { create?: XOR | OrganizationMembershipCreateWithoutOrganizationInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationInput | OrganizationMembershipCreateOrConnectWithoutOrganizationInput[] createMany?: OrganizationMembershipCreateManyOrganizationInputEnvelope connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] } export type ProjectCreateNestedManyWithoutOrganizationInput = { create?: XOR | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[] createMany?: ProjectCreateManyOrganizationInputEnvelope connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] } export type MembershipInvitationCreateNestedManyWithoutOrganizationInput = { create?: XOR | MembershipInvitationCreateWithoutOrganizationInput[] | MembershipInvitationUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: MembershipInvitationCreateOrConnectWithoutOrganizationInput | MembershipInvitationCreateOrConnectWithoutOrganizationInput[] createMany?: MembershipInvitationCreateManyOrganizationInputEnvelope connect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] } export type ApiKeyCreateNestedManyWithoutOrganizationInput = { create?: XOR | ApiKeyCreateWithoutOrganizationInput[] | ApiKeyUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutOrganizationInput | ApiKeyCreateOrConnectWithoutOrganizationInput[] createMany?: ApiKeyCreateManyOrganizationInputEnvelope connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] } export type SurveyCreateNestedManyWithoutOrgInput = { create?: XOR | SurveyCreateWithoutOrgInput[] | SurveyUncheckedCreateWithoutOrgInput[] connectOrCreate?: SurveyCreateOrConnectWithoutOrgInput | SurveyCreateOrConnectWithoutOrgInput[] createMany?: SurveyCreateManyOrgInputEnvelope connect?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] } export type OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationInput = { create?: XOR | OrganizationMembershipCreateWithoutOrganizationInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationInput | OrganizationMembershipCreateOrConnectWithoutOrganizationInput[] createMany?: OrganizationMembershipCreateManyOrganizationInputEnvelope connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] } export type ProjectUncheckedCreateNestedManyWithoutOrganizationInput = { create?: XOR | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[] createMany?: ProjectCreateManyOrganizationInputEnvelope connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] } export type MembershipInvitationUncheckedCreateNestedManyWithoutOrganizationInput = { create?: XOR | MembershipInvitationCreateWithoutOrganizationInput[] | MembershipInvitationUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: MembershipInvitationCreateOrConnectWithoutOrganizationInput | MembershipInvitationCreateOrConnectWithoutOrganizationInput[] createMany?: MembershipInvitationCreateManyOrganizationInputEnvelope connect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] } export type ApiKeyUncheckedCreateNestedManyWithoutOrganizationInput = { create?: XOR | ApiKeyCreateWithoutOrganizationInput[] | ApiKeyUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutOrganizationInput | ApiKeyCreateOrConnectWithoutOrganizationInput[] createMany?: ApiKeyCreateManyOrganizationInputEnvelope connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] } export type SurveyUncheckedCreateNestedManyWithoutOrgInput = { create?: XOR | SurveyCreateWithoutOrgInput[] | SurveyUncheckedCreateWithoutOrgInput[] connectOrCreate?: SurveyCreateOrConnectWithoutOrgInput | SurveyCreateOrConnectWithoutOrgInput[] createMany?: SurveyCreateManyOrgInputEnvelope connect?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] } export type OrganizationMembershipUpdateManyWithoutOrganizationNestedInput = { create?: XOR | OrganizationMembershipCreateWithoutOrganizationInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationInput | OrganizationMembershipCreateOrConnectWithoutOrganizationInput[] upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationInput | OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: OrganizationMembershipCreateManyOrganizationInputEnvelope set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] update?: OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationInput | OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutOrganizationInput | OrganizationMembershipUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[] } 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 MembershipInvitationUpdateManyWithoutOrganizationNestedInput = { create?: XOR | MembershipInvitationCreateWithoutOrganizationInput[] | MembershipInvitationUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: MembershipInvitationCreateOrConnectWithoutOrganizationInput | MembershipInvitationCreateOrConnectWithoutOrganizationInput[] upsert?: MembershipInvitationUpsertWithWhereUniqueWithoutOrganizationInput | MembershipInvitationUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: MembershipInvitationCreateManyOrganizationInputEnvelope set?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] disconnect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] delete?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] connect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] update?: MembershipInvitationUpdateWithWhereUniqueWithoutOrganizationInput | MembershipInvitationUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: MembershipInvitationUpdateManyWithWhereWithoutOrganizationInput | MembershipInvitationUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: MembershipInvitationScalarWhereInput | MembershipInvitationScalarWhereInput[] } export type ApiKeyUpdateManyWithoutOrganizationNestedInput = { create?: XOR | ApiKeyCreateWithoutOrganizationInput[] | ApiKeyUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutOrganizationInput | ApiKeyCreateOrConnectWithoutOrganizationInput[] upsert?: ApiKeyUpsertWithWhereUniqueWithoutOrganizationInput | ApiKeyUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: ApiKeyCreateManyOrganizationInputEnvelope set?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] disconnect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] delete?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] update?: ApiKeyUpdateWithWhereUniqueWithoutOrganizationInput | ApiKeyUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: ApiKeyUpdateManyWithWhereWithoutOrganizationInput | ApiKeyUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: ApiKeyScalarWhereInput | ApiKeyScalarWhereInput[] } export type SurveyUpdateManyWithoutOrgNestedInput = { create?: XOR | SurveyCreateWithoutOrgInput[] | SurveyUncheckedCreateWithoutOrgInput[] connectOrCreate?: SurveyCreateOrConnectWithoutOrgInput | SurveyCreateOrConnectWithoutOrgInput[] upsert?: SurveyUpsertWithWhereUniqueWithoutOrgInput | SurveyUpsertWithWhereUniqueWithoutOrgInput[] createMany?: SurveyCreateManyOrgInputEnvelope set?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] disconnect?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] delete?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] connect?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] update?: SurveyUpdateWithWhereUniqueWithoutOrgInput | SurveyUpdateWithWhereUniqueWithoutOrgInput[] updateMany?: SurveyUpdateManyWithWhereWithoutOrgInput | SurveyUpdateManyWithWhereWithoutOrgInput[] deleteMany?: SurveyScalarWhereInput | SurveyScalarWhereInput[] } export type OrganizationMembershipUncheckedUpdateManyWithoutOrganizationNestedInput = { create?: XOR | OrganizationMembershipCreateWithoutOrganizationInput[] | OrganizationMembershipUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutOrganizationInput | OrganizationMembershipCreateOrConnectWithoutOrganizationInput[] upsert?: OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationInput | OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: OrganizationMembershipCreateManyOrganizationInputEnvelope set?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] disconnect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] delete?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] connect?: OrganizationMembershipWhereUniqueInput | OrganizationMembershipWhereUniqueInput[] update?: OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationInput | OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: OrganizationMembershipUpdateManyWithWhereWithoutOrganizationInput | OrganizationMembershipUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[] } 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 MembershipInvitationUncheckedUpdateManyWithoutOrganizationNestedInput = { create?: XOR | MembershipInvitationCreateWithoutOrganizationInput[] | MembershipInvitationUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: MembershipInvitationCreateOrConnectWithoutOrganizationInput | MembershipInvitationCreateOrConnectWithoutOrganizationInput[] upsert?: MembershipInvitationUpsertWithWhereUniqueWithoutOrganizationInput | MembershipInvitationUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: MembershipInvitationCreateManyOrganizationInputEnvelope set?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] disconnect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] delete?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] connect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] update?: MembershipInvitationUpdateWithWhereUniqueWithoutOrganizationInput | MembershipInvitationUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: MembershipInvitationUpdateManyWithWhereWithoutOrganizationInput | MembershipInvitationUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: MembershipInvitationScalarWhereInput | MembershipInvitationScalarWhereInput[] } export type ApiKeyUncheckedUpdateManyWithoutOrganizationNestedInput = { create?: XOR | ApiKeyCreateWithoutOrganizationInput[] | ApiKeyUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutOrganizationInput | ApiKeyCreateOrConnectWithoutOrganizationInput[] upsert?: ApiKeyUpsertWithWhereUniqueWithoutOrganizationInput | ApiKeyUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: ApiKeyCreateManyOrganizationInputEnvelope set?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] disconnect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] delete?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] update?: ApiKeyUpdateWithWhereUniqueWithoutOrganizationInput | ApiKeyUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: ApiKeyUpdateManyWithWhereWithoutOrganizationInput | ApiKeyUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: ApiKeyScalarWhereInput | ApiKeyScalarWhereInput[] } export type SurveyUncheckedUpdateManyWithoutOrgNestedInput = { create?: XOR | SurveyCreateWithoutOrgInput[] | SurveyUncheckedCreateWithoutOrgInput[] connectOrCreate?: SurveyCreateOrConnectWithoutOrgInput | SurveyCreateOrConnectWithoutOrgInput[] upsert?: SurveyUpsertWithWhereUniqueWithoutOrgInput | SurveyUpsertWithWhereUniqueWithoutOrgInput[] createMany?: SurveyCreateManyOrgInputEnvelope set?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] disconnect?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] delete?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] connect?: SurveyWhereUniqueInput | SurveyWhereUniqueInput[] update?: SurveyUpdateWithWhereUniqueWithoutOrgInput | SurveyUpdateWithWhereUniqueWithoutOrgInput[] updateMany?: SurveyUpdateManyWithWhereWithoutOrgInput | SurveyUpdateManyWithWhereWithoutOrgInput[] deleteMany?: SurveyScalarWhereInput | SurveyScalarWhereInput[] } export type ProjectMembershipCreateNestedManyWithoutProjectInput = { create?: XOR | ProjectMembershipCreateWithoutProjectInput[] | ProjectMembershipUncheckedCreateWithoutProjectInput[] connectOrCreate?: ProjectMembershipCreateOrConnectWithoutProjectInput | ProjectMembershipCreateOrConnectWithoutProjectInput[] createMany?: ProjectMembershipCreateManyProjectInputEnvelope connect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] } export type OrganizationCreateNestedOneWithoutProjectsInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutProjectsInput connect?: OrganizationWhereUniqueInput } export type ApiKeyCreateNestedManyWithoutProjectInput = { create?: XOR | ApiKeyCreateWithoutProjectInput[] | ApiKeyUncheckedCreateWithoutProjectInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutProjectInput | ApiKeyCreateOrConnectWithoutProjectInput[] createMany?: ApiKeyCreateManyProjectInputEnvelope connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] } export type DatasetCreateNestedManyWithoutProjectInput = { create?: XOR | DatasetCreateWithoutProjectInput[] | DatasetUncheckedCreateWithoutProjectInput[] connectOrCreate?: DatasetCreateOrConnectWithoutProjectInput | DatasetCreateOrConnectWithoutProjectInput[] createMany?: DatasetCreateManyProjectInputEnvelope connect?: DatasetWhereUniqueInput | DatasetWhereUniqueInput[] } export type MembershipInvitationCreateNestedManyWithoutProjectInput = { create?: XOR | MembershipInvitationCreateWithoutProjectInput[] | MembershipInvitationUncheckedCreateWithoutProjectInput[] connectOrCreate?: MembershipInvitationCreateOrConnectWithoutProjectInput | MembershipInvitationCreateOrConnectWithoutProjectInput[] createMany?: MembershipInvitationCreateManyProjectInputEnvelope connect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] } export type TraceSessionCreateNestedManyWithoutProjectInput = { create?: XOR | TraceSessionCreateWithoutProjectInput[] | TraceSessionUncheckedCreateWithoutProjectInput[] connectOrCreate?: TraceSessionCreateOrConnectWithoutProjectInput | TraceSessionCreateOrConnectWithoutProjectInput[] createMany?: TraceSessionCreateManyProjectInputEnvelope connect?: TraceSessionWhereUniqueInput | TraceSessionWhereUniqueInput[] } export type PromptCreateNestedManyWithoutProjectInput = { create?: XOR | PromptCreateWithoutProjectInput[] | PromptUncheckedCreateWithoutProjectInput[] connectOrCreate?: PromptCreateOrConnectWithoutProjectInput | PromptCreateOrConnectWithoutProjectInput[] createMany?: PromptCreateManyProjectInputEnvelope connect?: PromptWhereUniqueInput | PromptWhereUniqueInput[] } export type ModelCreateNestedManyWithoutProjectInput = { create?: XOR | ModelCreateWithoutProjectInput[] | ModelUncheckedCreateWithoutProjectInput[] connectOrCreate?: ModelCreateOrConnectWithoutProjectInput | ModelCreateOrConnectWithoutProjectInput[] createMany?: ModelCreateManyProjectInputEnvelope connect?: ModelWhereUniqueInput | ModelWhereUniqueInput[] } export type EvalTemplateCreateNestedManyWithoutProjectInput = { create?: XOR | EvalTemplateCreateWithoutProjectInput[] | EvalTemplateUncheckedCreateWithoutProjectInput[] connectOrCreate?: EvalTemplateCreateOrConnectWithoutProjectInput | EvalTemplateCreateOrConnectWithoutProjectInput[] createMany?: EvalTemplateCreateManyProjectInputEnvelope connect?: EvalTemplateWhereUniqueInput | EvalTemplateWhereUniqueInput[] } export type JobConfigurationCreateNestedManyWithoutProjectInput = { create?: XOR | JobConfigurationCreateWithoutProjectInput[] | JobConfigurationUncheckedCreateWithoutProjectInput[] connectOrCreate?: JobConfigurationCreateOrConnectWithoutProjectInput | JobConfigurationCreateOrConnectWithoutProjectInput[] createMany?: JobConfigurationCreateManyProjectInputEnvelope connect?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] } export type JobExecutionCreateNestedManyWithoutProjectInput = { create?: XOR | JobExecutionCreateWithoutProjectInput[] | JobExecutionUncheckedCreateWithoutProjectInput[] connectOrCreate?: JobExecutionCreateOrConnectWithoutProjectInput | JobExecutionCreateOrConnectWithoutProjectInput[] createMany?: JobExecutionCreateManyProjectInputEnvelope connect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] } export type LlmApiKeysCreateNestedManyWithoutProjectInput = { create?: XOR | LlmApiKeysCreateWithoutProjectInput[] | LlmApiKeysUncheckedCreateWithoutProjectInput[] connectOrCreate?: LlmApiKeysCreateOrConnectWithoutProjectInput | LlmApiKeysCreateOrConnectWithoutProjectInput[] createMany?: LlmApiKeysCreateManyProjectInputEnvelope connect?: LlmApiKeysWhereUniqueInput | LlmApiKeysWhereUniqueInput[] } export type PosthogIntegrationCreateNestedManyWithoutProjectInput = { create?: XOR | PosthogIntegrationCreateWithoutProjectInput[] | PosthogIntegrationUncheckedCreateWithoutProjectInput[] connectOrCreate?: PosthogIntegrationCreateOrConnectWithoutProjectInput | PosthogIntegrationCreateOrConnectWithoutProjectInput[] createMany?: PosthogIntegrationCreateManyProjectInputEnvelope connect?: PosthogIntegrationWhereUniqueInput | PosthogIntegrationWhereUniqueInput[] } export type BlobStorageIntegrationCreateNestedManyWithoutProjectInput = { create?: XOR | BlobStorageIntegrationCreateWithoutProjectInput[] | BlobStorageIntegrationUncheckedCreateWithoutProjectInput[] connectOrCreate?: BlobStorageIntegrationCreateOrConnectWithoutProjectInput | BlobStorageIntegrationCreateOrConnectWithoutProjectInput[] createMany?: BlobStorageIntegrationCreateManyProjectInputEnvelope connect?: BlobStorageIntegrationWhereUniqueInput | BlobStorageIntegrationWhereUniqueInput[] } export type ScoreConfigCreateNestedManyWithoutProjectInput = { create?: XOR | ScoreConfigCreateWithoutProjectInput[] | ScoreConfigUncheckedCreateWithoutProjectInput[] connectOrCreate?: ScoreConfigCreateOrConnectWithoutProjectInput | ScoreConfigCreateOrConnectWithoutProjectInput[] createMany?: ScoreConfigCreateManyProjectInputEnvelope connect?: ScoreConfigWhereUniqueInput | ScoreConfigWhereUniqueInput[] } export type BatchExportCreateNestedManyWithoutProjectInput = { create?: XOR | BatchExportCreateWithoutProjectInput[] | BatchExportUncheckedCreateWithoutProjectInput[] connectOrCreate?: BatchExportCreateOrConnectWithoutProjectInput | BatchExportCreateOrConnectWithoutProjectInput[] createMany?: BatchExportCreateManyProjectInputEnvelope connect?: BatchExportWhereUniqueInput | BatchExportWhereUniqueInput[] } export type CommentCreateNestedManyWithoutProjectInput = { create?: XOR | CommentCreateWithoutProjectInput[] | CommentUncheckedCreateWithoutProjectInput[] connectOrCreate?: CommentCreateOrConnectWithoutProjectInput | CommentCreateOrConnectWithoutProjectInput[] createMany?: CommentCreateManyProjectInputEnvelope connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] } export type AnnotationQueueCreateNestedManyWithoutProjectInput = { create?: XOR | AnnotationQueueCreateWithoutProjectInput[] | AnnotationQueueUncheckedCreateWithoutProjectInput[] connectOrCreate?: AnnotationQueueCreateOrConnectWithoutProjectInput | AnnotationQueueCreateOrConnectWithoutProjectInput[] createMany?: AnnotationQueueCreateManyProjectInputEnvelope connect?: AnnotationQueueWhereUniqueInput | AnnotationQueueWhereUniqueInput[] } export type AnnotationQueueItemCreateNestedManyWithoutProjectInput = { create?: XOR | AnnotationQueueItemCreateWithoutProjectInput[] | AnnotationQueueItemUncheckedCreateWithoutProjectInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutProjectInput | AnnotationQueueItemCreateOrConnectWithoutProjectInput[] createMany?: AnnotationQueueItemCreateManyProjectInputEnvelope connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] } export type TraceMediaCreateNestedManyWithoutProjectInput = { create?: XOR | TraceMediaCreateWithoutProjectInput[] | TraceMediaUncheckedCreateWithoutProjectInput[] connectOrCreate?: TraceMediaCreateOrConnectWithoutProjectInput | TraceMediaCreateOrConnectWithoutProjectInput[] createMany?: TraceMediaCreateManyProjectInputEnvelope connect?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] } export type MediaCreateNestedManyWithoutProjectInput = { create?: XOR | MediaCreateWithoutProjectInput[] | MediaUncheckedCreateWithoutProjectInput[] connectOrCreate?: MediaCreateOrConnectWithoutProjectInput | MediaCreateOrConnectWithoutProjectInput[] createMany?: MediaCreateManyProjectInputEnvelope connect?: MediaWhereUniqueInput | MediaWhereUniqueInput[] } export type ObservationMediaCreateNestedManyWithoutProjectInput = { create?: XOR | ObservationMediaCreateWithoutProjectInput[] | ObservationMediaUncheckedCreateWithoutProjectInput[] connectOrCreate?: ObservationMediaCreateOrConnectWithoutProjectInput | ObservationMediaCreateOrConnectWithoutProjectInput[] createMany?: ObservationMediaCreateManyProjectInputEnvelope connect?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] } export type LegacyPrismaTraceCreateNestedManyWithoutProjectInput = { create?: XOR | LegacyPrismaTraceCreateWithoutProjectInput[] | LegacyPrismaTraceUncheckedCreateWithoutProjectInput[] connectOrCreate?: LegacyPrismaTraceCreateOrConnectWithoutProjectInput | LegacyPrismaTraceCreateOrConnectWithoutProjectInput[] createMany?: LegacyPrismaTraceCreateManyProjectInputEnvelope connect?: LegacyPrismaTraceWhereUniqueInput | LegacyPrismaTraceWhereUniqueInput[] } export type LegacyPrismaObservationCreateNestedManyWithoutProjectInput = { create?: XOR | LegacyPrismaObservationCreateWithoutProjectInput[] | LegacyPrismaObservationUncheckedCreateWithoutProjectInput[] connectOrCreate?: LegacyPrismaObservationCreateOrConnectWithoutProjectInput | LegacyPrismaObservationCreateOrConnectWithoutProjectInput[] createMany?: LegacyPrismaObservationCreateManyProjectInputEnvelope connect?: LegacyPrismaObservationWhereUniqueInput | LegacyPrismaObservationWhereUniqueInput[] } export type LegacyPrismaScoreCreateNestedManyWithoutProjectInput = { create?: XOR | LegacyPrismaScoreCreateWithoutProjectInput[] | LegacyPrismaScoreUncheckedCreateWithoutProjectInput[] connectOrCreate?: LegacyPrismaScoreCreateOrConnectWithoutProjectInput | LegacyPrismaScoreCreateOrConnectWithoutProjectInput[] createMany?: LegacyPrismaScoreCreateManyProjectInputEnvelope connect?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] } export type PromptDependencyCreateNestedManyWithoutProjectInput = { create?: XOR | PromptDependencyCreateWithoutProjectInput[] | PromptDependencyUncheckedCreateWithoutProjectInput[] connectOrCreate?: PromptDependencyCreateOrConnectWithoutProjectInput | PromptDependencyCreateOrConnectWithoutProjectInput[] createMany?: PromptDependencyCreateManyProjectInputEnvelope connect?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] } export type LlmSchemaCreateNestedManyWithoutProjectInput = { create?: XOR | LlmSchemaCreateWithoutProjectInput[] | LlmSchemaUncheckedCreateWithoutProjectInput[] connectOrCreate?: LlmSchemaCreateOrConnectWithoutProjectInput | LlmSchemaCreateOrConnectWithoutProjectInput[] createMany?: LlmSchemaCreateManyProjectInputEnvelope connect?: LlmSchemaWhereUniqueInput | LlmSchemaWhereUniqueInput[] } export type LlmToolCreateNestedManyWithoutProjectInput = { create?: XOR | LlmToolCreateWithoutProjectInput[] | LlmToolUncheckedCreateWithoutProjectInput[] connectOrCreate?: LlmToolCreateOrConnectWithoutProjectInput | LlmToolCreateOrConnectWithoutProjectInput[] createMany?: LlmToolCreateManyProjectInputEnvelope connect?: LlmToolWhereUniqueInput | LlmToolWhereUniqueInput[] } export type PromptProtectedLabelsCreateNestedManyWithoutProjectInput = { create?: XOR | PromptProtectedLabelsCreateWithoutProjectInput[] | PromptProtectedLabelsUncheckedCreateWithoutProjectInput[] connectOrCreate?: PromptProtectedLabelsCreateOrConnectWithoutProjectInput | PromptProtectedLabelsCreateOrConnectWithoutProjectInput[] createMany?: PromptProtectedLabelsCreateManyProjectInputEnvelope connect?: PromptProtectedLabelsWhereUniqueInput | PromptProtectedLabelsWhereUniqueInput[] } export type DashboardCreateNestedManyWithoutProjectInput = { create?: XOR | DashboardCreateWithoutProjectInput[] | DashboardUncheckedCreateWithoutProjectInput[] connectOrCreate?: DashboardCreateOrConnectWithoutProjectInput | DashboardCreateOrConnectWithoutProjectInput[] createMany?: DashboardCreateManyProjectInputEnvelope connect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] } export type DashboardWidgetCreateNestedManyWithoutProjectInput = { create?: XOR | DashboardWidgetCreateWithoutProjectInput[] | DashboardWidgetUncheckedCreateWithoutProjectInput[] connectOrCreate?: DashboardWidgetCreateOrConnectWithoutProjectInput | DashboardWidgetCreateOrConnectWithoutProjectInput[] createMany?: DashboardWidgetCreateManyProjectInputEnvelope connect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] } export type TableViewPresetCreateNestedManyWithoutProjectInput = { create?: XOR | TableViewPresetCreateWithoutProjectInput[] | TableViewPresetUncheckedCreateWithoutProjectInput[] connectOrCreate?: TableViewPresetCreateOrConnectWithoutProjectInput | TableViewPresetCreateOrConnectWithoutProjectInput[] createMany?: TableViewPresetCreateManyProjectInputEnvelope connect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] } export type ActionCreateNestedManyWithoutProjectInput = { create?: XOR | ActionCreateWithoutProjectInput[] | ActionUncheckedCreateWithoutProjectInput[] connectOrCreate?: ActionCreateOrConnectWithoutProjectInput | ActionCreateOrConnectWithoutProjectInput[] createMany?: ActionCreateManyProjectInputEnvelope connect?: ActionWhereUniqueInput | ActionWhereUniqueInput[] } export type TriggerCreateNestedManyWithoutProjectInput = { create?: XOR | TriggerCreateWithoutProjectInput[] | TriggerUncheckedCreateWithoutProjectInput[] connectOrCreate?: TriggerCreateOrConnectWithoutProjectInput | TriggerCreateOrConnectWithoutProjectInput[] createMany?: TriggerCreateManyProjectInputEnvelope connect?: TriggerWhereUniqueInput | TriggerWhereUniqueInput[] } export type AutomationExecutionCreateNestedManyWithoutProjectInput = { create?: XOR | AutomationExecutionCreateWithoutProjectInput[] | AutomationExecutionUncheckedCreateWithoutProjectInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutProjectInput | AutomationExecutionCreateOrConnectWithoutProjectInput[] createMany?: AutomationExecutionCreateManyProjectInputEnvelope connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] } export type AutomationCreateNestedManyWithoutProjectInput = { create?: XOR | AutomationCreateWithoutProjectInput[] | AutomationUncheckedCreateWithoutProjectInput[] connectOrCreate?: AutomationCreateOrConnectWithoutProjectInput | AutomationCreateOrConnectWithoutProjectInput[] createMany?: AutomationCreateManyProjectInputEnvelope connect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] } export type DefaultLlmModelCreateNestedManyWithoutProjectInput = { create?: XOR | DefaultLlmModelCreateWithoutProjectInput[] | DefaultLlmModelUncheckedCreateWithoutProjectInput[] connectOrCreate?: DefaultLlmModelCreateOrConnectWithoutProjectInput | DefaultLlmModelCreateOrConnectWithoutProjectInput[] createMany?: DefaultLlmModelCreateManyProjectInputEnvelope connect?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] } export type PriceCreateNestedManyWithoutProjectInput = { create?: XOR | PriceCreateWithoutProjectInput[] | PriceUncheckedCreateWithoutProjectInput[] connectOrCreate?: PriceCreateOrConnectWithoutProjectInput | PriceCreateOrConnectWithoutProjectInput[] createMany?: PriceCreateManyProjectInputEnvelope connect?: PriceWhereUniqueInput | PriceWhereUniqueInput[] } export type SlackIntegrationCreateNestedOneWithoutProjectInput = { create?: XOR connectOrCreate?: SlackIntegrationCreateOrConnectWithoutProjectInput connect?: SlackIntegrationWhereUniqueInput } export type PendingDeletionCreateNestedManyWithoutProjectInput = { create?: XOR | PendingDeletionCreateWithoutProjectInput[] | PendingDeletionUncheckedCreateWithoutProjectInput[] connectOrCreate?: PendingDeletionCreateOrConnectWithoutProjectInput | PendingDeletionCreateOrConnectWithoutProjectInput[] createMany?: PendingDeletionCreateManyProjectInputEnvelope connect?: PendingDeletionWhereUniqueInput | PendingDeletionWhereUniqueInput[] } export type AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput = { create?: XOR | AnnotationQueueAssignmentCreateWithoutProjectInput[] | AnnotationQueueAssignmentUncheckedCreateWithoutProjectInput[] connectOrCreate?: AnnotationQueueAssignmentCreateOrConnectWithoutProjectInput | AnnotationQueueAssignmentCreateOrConnectWithoutProjectInput[] createMany?: AnnotationQueueAssignmentCreateManyProjectInputEnvelope connect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] } export type ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | ProjectMembershipCreateWithoutProjectInput[] | ProjectMembershipUncheckedCreateWithoutProjectInput[] connectOrCreate?: ProjectMembershipCreateOrConnectWithoutProjectInput | ProjectMembershipCreateOrConnectWithoutProjectInput[] createMany?: ProjectMembershipCreateManyProjectInputEnvelope connect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] } export type ApiKeyUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | ApiKeyCreateWithoutProjectInput[] | ApiKeyUncheckedCreateWithoutProjectInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutProjectInput | ApiKeyCreateOrConnectWithoutProjectInput[] createMany?: ApiKeyCreateManyProjectInputEnvelope connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] } export type DatasetUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | DatasetCreateWithoutProjectInput[] | DatasetUncheckedCreateWithoutProjectInput[] connectOrCreate?: DatasetCreateOrConnectWithoutProjectInput | DatasetCreateOrConnectWithoutProjectInput[] createMany?: DatasetCreateManyProjectInputEnvelope connect?: DatasetWhereUniqueInput | DatasetWhereUniqueInput[] } export type MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | MembershipInvitationCreateWithoutProjectInput[] | MembershipInvitationUncheckedCreateWithoutProjectInput[] connectOrCreate?: MembershipInvitationCreateOrConnectWithoutProjectInput | MembershipInvitationCreateOrConnectWithoutProjectInput[] createMany?: MembershipInvitationCreateManyProjectInputEnvelope connect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] } export type TraceSessionUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | TraceSessionCreateWithoutProjectInput[] | TraceSessionUncheckedCreateWithoutProjectInput[] connectOrCreate?: TraceSessionCreateOrConnectWithoutProjectInput | TraceSessionCreateOrConnectWithoutProjectInput[] createMany?: TraceSessionCreateManyProjectInputEnvelope connect?: TraceSessionWhereUniqueInput | TraceSessionWhereUniqueInput[] } export type PromptUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | PromptCreateWithoutProjectInput[] | PromptUncheckedCreateWithoutProjectInput[] connectOrCreate?: PromptCreateOrConnectWithoutProjectInput | PromptCreateOrConnectWithoutProjectInput[] createMany?: PromptCreateManyProjectInputEnvelope connect?: PromptWhereUniqueInput | PromptWhereUniqueInput[] } export type ModelUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | ModelCreateWithoutProjectInput[] | ModelUncheckedCreateWithoutProjectInput[] connectOrCreate?: ModelCreateOrConnectWithoutProjectInput | ModelCreateOrConnectWithoutProjectInput[] createMany?: ModelCreateManyProjectInputEnvelope connect?: ModelWhereUniqueInput | ModelWhereUniqueInput[] } export type EvalTemplateUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | EvalTemplateCreateWithoutProjectInput[] | EvalTemplateUncheckedCreateWithoutProjectInput[] connectOrCreate?: EvalTemplateCreateOrConnectWithoutProjectInput | EvalTemplateCreateOrConnectWithoutProjectInput[] createMany?: EvalTemplateCreateManyProjectInputEnvelope connect?: EvalTemplateWhereUniqueInput | EvalTemplateWhereUniqueInput[] } export type JobConfigurationUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | JobConfigurationCreateWithoutProjectInput[] | JobConfigurationUncheckedCreateWithoutProjectInput[] connectOrCreate?: JobConfigurationCreateOrConnectWithoutProjectInput | JobConfigurationCreateOrConnectWithoutProjectInput[] createMany?: JobConfigurationCreateManyProjectInputEnvelope connect?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] } export type JobExecutionUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | JobExecutionCreateWithoutProjectInput[] | JobExecutionUncheckedCreateWithoutProjectInput[] connectOrCreate?: JobExecutionCreateOrConnectWithoutProjectInput | JobExecutionCreateOrConnectWithoutProjectInput[] createMany?: JobExecutionCreateManyProjectInputEnvelope connect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] } export type LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | LlmApiKeysCreateWithoutProjectInput[] | LlmApiKeysUncheckedCreateWithoutProjectInput[] connectOrCreate?: LlmApiKeysCreateOrConnectWithoutProjectInput | LlmApiKeysCreateOrConnectWithoutProjectInput[] createMany?: LlmApiKeysCreateManyProjectInputEnvelope connect?: LlmApiKeysWhereUniqueInput | LlmApiKeysWhereUniqueInput[] } export type PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | PosthogIntegrationCreateWithoutProjectInput[] | PosthogIntegrationUncheckedCreateWithoutProjectInput[] connectOrCreate?: PosthogIntegrationCreateOrConnectWithoutProjectInput | PosthogIntegrationCreateOrConnectWithoutProjectInput[] createMany?: PosthogIntegrationCreateManyProjectInputEnvelope connect?: PosthogIntegrationWhereUniqueInput | PosthogIntegrationWhereUniqueInput[] } export type BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | BlobStorageIntegrationCreateWithoutProjectInput[] | BlobStorageIntegrationUncheckedCreateWithoutProjectInput[] connectOrCreate?: BlobStorageIntegrationCreateOrConnectWithoutProjectInput | BlobStorageIntegrationCreateOrConnectWithoutProjectInput[] createMany?: BlobStorageIntegrationCreateManyProjectInputEnvelope connect?: BlobStorageIntegrationWhereUniqueInput | BlobStorageIntegrationWhereUniqueInput[] } export type ScoreConfigUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | ScoreConfigCreateWithoutProjectInput[] | ScoreConfigUncheckedCreateWithoutProjectInput[] connectOrCreate?: ScoreConfigCreateOrConnectWithoutProjectInput | ScoreConfigCreateOrConnectWithoutProjectInput[] createMany?: ScoreConfigCreateManyProjectInputEnvelope connect?: ScoreConfigWhereUniqueInput | ScoreConfigWhereUniqueInput[] } export type BatchExportUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | BatchExportCreateWithoutProjectInput[] | BatchExportUncheckedCreateWithoutProjectInput[] connectOrCreate?: BatchExportCreateOrConnectWithoutProjectInput | BatchExportCreateOrConnectWithoutProjectInput[] createMany?: BatchExportCreateManyProjectInputEnvelope connect?: BatchExportWhereUniqueInput | BatchExportWhereUniqueInput[] } export type CommentUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | CommentCreateWithoutProjectInput[] | CommentUncheckedCreateWithoutProjectInput[] connectOrCreate?: CommentCreateOrConnectWithoutProjectInput | CommentCreateOrConnectWithoutProjectInput[] createMany?: CommentCreateManyProjectInputEnvelope connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] } export type AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | AnnotationQueueCreateWithoutProjectInput[] | AnnotationQueueUncheckedCreateWithoutProjectInput[] connectOrCreate?: AnnotationQueueCreateOrConnectWithoutProjectInput | AnnotationQueueCreateOrConnectWithoutProjectInput[] createMany?: AnnotationQueueCreateManyProjectInputEnvelope connect?: AnnotationQueueWhereUniqueInput | AnnotationQueueWhereUniqueInput[] } export type AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | AnnotationQueueItemCreateWithoutProjectInput[] | AnnotationQueueItemUncheckedCreateWithoutProjectInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutProjectInput | AnnotationQueueItemCreateOrConnectWithoutProjectInput[] createMany?: AnnotationQueueItemCreateManyProjectInputEnvelope connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] } export type TraceMediaUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | TraceMediaCreateWithoutProjectInput[] | TraceMediaUncheckedCreateWithoutProjectInput[] connectOrCreate?: TraceMediaCreateOrConnectWithoutProjectInput | TraceMediaCreateOrConnectWithoutProjectInput[] createMany?: TraceMediaCreateManyProjectInputEnvelope connect?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] } export type MediaUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | MediaCreateWithoutProjectInput[] | MediaUncheckedCreateWithoutProjectInput[] connectOrCreate?: MediaCreateOrConnectWithoutProjectInput | MediaCreateOrConnectWithoutProjectInput[] createMany?: MediaCreateManyProjectInputEnvelope connect?: MediaWhereUniqueInput | MediaWhereUniqueInput[] } export type ObservationMediaUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | ObservationMediaCreateWithoutProjectInput[] | ObservationMediaUncheckedCreateWithoutProjectInput[] connectOrCreate?: ObservationMediaCreateOrConnectWithoutProjectInput | ObservationMediaCreateOrConnectWithoutProjectInput[] createMany?: ObservationMediaCreateManyProjectInputEnvelope connect?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] } export type LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | LegacyPrismaTraceCreateWithoutProjectInput[] | LegacyPrismaTraceUncheckedCreateWithoutProjectInput[] connectOrCreate?: LegacyPrismaTraceCreateOrConnectWithoutProjectInput | LegacyPrismaTraceCreateOrConnectWithoutProjectInput[] createMany?: LegacyPrismaTraceCreateManyProjectInputEnvelope connect?: LegacyPrismaTraceWhereUniqueInput | LegacyPrismaTraceWhereUniqueInput[] } export type LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | LegacyPrismaObservationCreateWithoutProjectInput[] | LegacyPrismaObservationUncheckedCreateWithoutProjectInput[] connectOrCreate?: LegacyPrismaObservationCreateOrConnectWithoutProjectInput | LegacyPrismaObservationCreateOrConnectWithoutProjectInput[] createMany?: LegacyPrismaObservationCreateManyProjectInputEnvelope connect?: LegacyPrismaObservationWhereUniqueInput | LegacyPrismaObservationWhereUniqueInput[] } export type LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | LegacyPrismaScoreCreateWithoutProjectInput[] | LegacyPrismaScoreUncheckedCreateWithoutProjectInput[] connectOrCreate?: LegacyPrismaScoreCreateOrConnectWithoutProjectInput | LegacyPrismaScoreCreateOrConnectWithoutProjectInput[] createMany?: LegacyPrismaScoreCreateManyProjectInputEnvelope connect?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] } export type PromptDependencyUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | PromptDependencyCreateWithoutProjectInput[] | PromptDependencyUncheckedCreateWithoutProjectInput[] connectOrCreate?: PromptDependencyCreateOrConnectWithoutProjectInput | PromptDependencyCreateOrConnectWithoutProjectInput[] createMany?: PromptDependencyCreateManyProjectInputEnvelope connect?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] } export type LlmSchemaUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | LlmSchemaCreateWithoutProjectInput[] | LlmSchemaUncheckedCreateWithoutProjectInput[] connectOrCreate?: LlmSchemaCreateOrConnectWithoutProjectInput | LlmSchemaCreateOrConnectWithoutProjectInput[] createMany?: LlmSchemaCreateManyProjectInputEnvelope connect?: LlmSchemaWhereUniqueInput | LlmSchemaWhereUniqueInput[] } export type LlmToolUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | LlmToolCreateWithoutProjectInput[] | LlmToolUncheckedCreateWithoutProjectInput[] connectOrCreate?: LlmToolCreateOrConnectWithoutProjectInput | LlmToolCreateOrConnectWithoutProjectInput[] createMany?: LlmToolCreateManyProjectInputEnvelope connect?: LlmToolWhereUniqueInput | LlmToolWhereUniqueInput[] } export type PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | PromptProtectedLabelsCreateWithoutProjectInput[] | PromptProtectedLabelsUncheckedCreateWithoutProjectInput[] connectOrCreate?: PromptProtectedLabelsCreateOrConnectWithoutProjectInput | PromptProtectedLabelsCreateOrConnectWithoutProjectInput[] createMany?: PromptProtectedLabelsCreateManyProjectInputEnvelope connect?: PromptProtectedLabelsWhereUniqueInput | PromptProtectedLabelsWhereUniqueInput[] } export type DashboardUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | DashboardCreateWithoutProjectInput[] | DashboardUncheckedCreateWithoutProjectInput[] connectOrCreate?: DashboardCreateOrConnectWithoutProjectInput | DashboardCreateOrConnectWithoutProjectInput[] createMany?: DashboardCreateManyProjectInputEnvelope connect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] } export type DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | DashboardWidgetCreateWithoutProjectInput[] | DashboardWidgetUncheckedCreateWithoutProjectInput[] connectOrCreate?: DashboardWidgetCreateOrConnectWithoutProjectInput | DashboardWidgetCreateOrConnectWithoutProjectInput[] createMany?: DashboardWidgetCreateManyProjectInputEnvelope connect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] } export type TableViewPresetUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | TableViewPresetCreateWithoutProjectInput[] | TableViewPresetUncheckedCreateWithoutProjectInput[] connectOrCreate?: TableViewPresetCreateOrConnectWithoutProjectInput | TableViewPresetCreateOrConnectWithoutProjectInput[] createMany?: TableViewPresetCreateManyProjectInputEnvelope connect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] } export type ActionUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | ActionCreateWithoutProjectInput[] | ActionUncheckedCreateWithoutProjectInput[] connectOrCreate?: ActionCreateOrConnectWithoutProjectInput | ActionCreateOrConnectWithoutProjectInput[] createMany?: ActionCreateManyProjectInputEnvelope connect?: ActionWhereUniqueInput | ActionWhereUniqueInput[] } export type TriggerUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | TriggerCreateWithoutProjectInput[] | TriggerUncheckedCreateWithoutProjectInput[] connectOrCreate?: TriggerCreateOrConnectWithoutProjectInput | TriggerCreateOrConnectWithoutProjectInput[] createMany?: TriggerCreateManyProjectInputEnvelope connect?: TriggerWhereUniqueInput | TriggerWhereUniqueInput[] } export type AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | AutomationExecutionCreateWithoutProjectInput[] | AutomationExecutionUncheckedCreateWithoutProjectInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutProjectInput | AutomationExecutionCreateOrConnectWithoutProjectInput[] createMany?: AutomationExecutionCreateManyProjectInputEnvelope connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] } export type AutomationUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | AutomationCreateWithoutProjectInput[] | AutomationUncheckedCreateWithoutProjectInput[] connectOrCreate?: AutomationCreateOrConnectWithoutProjectInput | AutomationCreateOrConnectWithoutProjectInput[] createMany?: AutomationCreateManyProjectInputEnvelope connect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] } export type DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | DefaultLlmModelCreateWithoutProjectInput[] | DefaultLlmModelUncheckedCreateWithoutProjectInput[] connectOrCreate?: DefaultLlmModelCreateOrConnectWithoutProjectInput | DefaultLlmModelCreateOrConnectWithoutProjectInput[] createMany?: DefaultLlmModelCreateManyProjectInputEnvelope connect?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] } export type PriceUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | PriceCreateWithoutProjectInput[] | PriceUncheckedCreateWithoutProjectInput[] connectOrCreate?: PriceCreateOrConnectWithoutProjectInput | PriceCreateOrConnectWithoutProjectInput[] createMany?: PriceCreateManyProjectInputEnvelope connect?: PriceWhereUniqueInput | PriceWhereUniqueInput[] } export type SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput = { create?: XOR connectOrCreate?: SlackIntegrationCreateOrConnectWithoutProjectInput connect?: SlackIntegrationWhereUniqueInput } export type PendingDeletionUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | PendingDeletionCreateWithoutProjectInput[] | PendingDeletionUncheckedCreateWithoutProjectInput[] connectOrCreate?: PendingDeletionCreateOrConnectWithoutProjectInput | PendingDeletionCreateOrConnectWithoutProjectInput[] createMany?: PendingDeletionCreateManyProjectInputEnvelope connect?: PendingDeletionWhereUniqueInput | PendingDeletionWhereUniqueInput[] } export type AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | AnnotationQueueAssignmentCreateWithoutProjectInput[] | AnnotationQueueAssignmentUncheckedCreateWithoutProjectInput[] connectOrCreate?: AnnotationQueueAssignmentCreateOrConnectWithoutProjectInput | AnnotationQueueAssignmentCreateOrConnectWithoutProjectInput[] createMany?: AnnotationQueueAssignmentCreateManyProjectInputEnvelope connect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] } export type ProjectMembershipUpdateManyWithoutProjectNestedInput = { create?: XOR | ProjectMembershipCreateWithoutProjectInput[] | ProjectMembershipUncheckedCreateWithoutProjectInput[] connectOrCreate?: ProjectMembershipCreateOrConnectWithoutProjectInput | ProjectMembershipCreateOrConnectWithoutProjectInput[] upsert?: ProjectMembershipUpsertWithWhereUniqueWithoutProjectInput | ProjectMembershipUpsertWithWhereUniqueWithoutProjectInput[] createMany?: ProjectMembershipCreateManyProjectInputEnvelope set?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] disconnect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] delete?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] connect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] update?: ProjectMembershipUpdateWithWhereUniqueWithoutProjectInput | ProjectMembershipUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: ProjectMembershipUpdateManyWithWhereWithoutProjectInput | ProjectMembershipUpdateManyWithWhereWithoutProjectInput[] deleteMany?: ProjectMembershipScalarWhereInput | ProjectMembershipScalarWhereInput[] } export type OrganizationUpdateOneRequiredWithoutProjectsNestedInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutProjectsInput upsert?: OrganizationUpsertWithoutProjectsInput connect?: OrganizationWhereUniqueInput update?: XOR, OrganizationUncheckedUpdateWithoutProjectsInput> } export type ApiKeyUpdateManyWithoutProjectNestedInput = { create?: XOR | ApiKeyCreateWithoutProjectInput[] | ApiKeyUncheckedCreateWithoutProjectInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutProjectInput | ApiKeyCreateOrConnectWithoutProjectInput[] upsert?: ApiKeyUpsertWithWhereUniqueWithoutProjectInput | ApiKeyUpsertWithWhereUniqueWithoutProjectInput[] createMany?: ApiKeyCreateManyProjectInputEnvelope set?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] disconnect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] delete?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] update?: ApiKeyUpdateWithWhereUniqueWithoutProjectInput | ApiKeyUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: ApiKeyUpdateManyWithWhereWithoutProjectInput | ApiKeyUpdateManyWithWhereWithoutProjectInput[] deleteMany?: ApiKeyScalarWhereInput | ApiKeyScalarWhereInput[] } export type DatasetUpdateManyWithoutProjectNestedInput = { create?: XOR | DatasetCreateWithoutProjectInput[] | DatasetUncheckedCreateWithoutProjectInput[] connectOrCreate?: DatasetCreateOrConnectWithoutProjectInput | DatasetCreateOrConnectWithoutProjectInput[] upsert?: DatasetUpsertWithWhereUniqueWithoutProjectInput | DatasetUpsertWithWhereUniqueWithoutProjectInput[] createMany?: DatasetCreateManyProjectInputEnvelope set?: DatasetWhereUniqueInput | DatasetWhereUniqueInput[] disconnect?: DatasetWhereUniqueInput | DatasetWhereUniqueInput[] delete?: DatasetWhereUniqueInput | DatasetWhereUniqueInput[] connect?: DatasetWhereUniqueInput | DatasetWhereUniqueInput[] update?: DatasetUpdateWithWhereUniqueWithoutProjectInput | DatasetUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: DatasetUpdateManyWithWhereWithoutProjectInput | DatasetUpdateManyWithWhereWithoutProjectInput[] deleteMany?: DatasetScalarWhereInput | DatasetScalarWhereInput[] } export type MembershipInvitationUpdateManyWithoutProjectNestedInput = { create?: XOR | MembershipInvitationCreateWithoutProjectInput[] | MembershipInvitationUncheckedCreateWithoutProjectInput[] connectOrCreate?: MembershipInvitationCreateOrConnectWithoutProjectInput | MembershipInvitationCreateOrConnectWithoutProjectInput[] upsert?: MembershipInvitationUpsertWithWhereUniqueWithoutProjectInput | MembershipInvitationUpsertWithWhereUniqueWithoutProjectInput[] createMany?: MembershipInvitationCreateManyProjectInputEnvelope set?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] disconnect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] delete?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] connect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] update?: MembershipInvitationUpdateWithWhereUniqueWithoutProjectInput | MembershipInvitationUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: MembershipInvitationUpdateManyWithWhereWithoutProjectInput | MembershipInvitationUpdateManyWithWhereWithoutProjectInput[] deleteMany?: MembershipInvitationScalarWhereInput | MembershipInvitationScalarWhereInput[] } export type TraceSessionUpdateManyWithoutProjectNestedInput = { create?: XOR | TraceSessionCreateWithoutProjectInput[] | TraceSessionUncheckedCreateWithoutProjectInput[] connectOrCreate?: TraceSessionCreateOrConnectWithoutProjectInput | TraceSessionCreateOrConnectWithoutProjectInput[] upsert?: TraceSessionUpsertWithWhereUniqueWithoutProjectInput | TraceSessionUpsertWithWhereUniqueWithoutProjectInput[] createMany?: TraceSessionCreateManyProjectInputEnvelope set?: TraceSessionWhereUniqueInput | TraceSessionWhereUniqueInput[] disconnect?: TraceSessionWhereUniqueInput | TraceSessionWhereUniqueInput[] delete?: TraceSessionWhereUniqueInput | TraceSessionWhereUniqueInput[] connect?: TraceSessionWhereUniqueInput | TraceSessionWhereUniqueInput[] update?: TraceSessionUpdateWithWhereUniqueWithoutProjectInput | TraceSessionUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: TraceSessionUpdateManyWithWhereWithoutProjectInput | TraceSessionUpdateManyWithWhereWithoutProjectInput[] deleteMany?: TraceSessionScalarWhereInput | TraceSessionScalarWhereInput[] } export type PromptUpdateManyWithoutProjectNestedInput = { create?: XOR | PromptCreateWithoutProjectInput[] | PromptUncheckedCreateWithoutProjectInput[] connectOrCreate?: PromptCreateOrConnectWithoutProjectInput | PromptCreateOrConnectWithoutProjectInput[] upsert?: PromptUpsertWithWhereUniqueWithoutProjectInput | PromptUpsertWithWhereUniqueWithoutProjectInput[] createMany?: PromptCreateManyProjectInputEnvelope set?: PromptWhereUniqueInput | PromptWhereUniqueInput[] disconnect?: PromptWhereUniqueInput | PromptWhereUniqueInput[] delete?: PromptWhereUniqueInput | PromptWhereUniqueInput[] connect?: PromptWhereUniqueInput | PromptWhereUniqueInput[] update?: PromptUpdateWithWhereUniqueWithoutProjectInput | PromptUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: PromptUpdateManyWithWhereWithoutProjectInput | PromptUpdateManyWithWhereWithoutProjectInput[] deleteMany?: PromptScalarWhereInput | PromptScalarWhereInput[] } export type ModelUpdateManyWithoutProjectNestedInput = { create?: XOR | ModelCreateWithoutProjectInput[] | ModelUncheckedCreateWithoutProjectInput[] connectOrCreate?: ModelCreateOrConnectWithoutProjectInput | ModelCreateOrConnectWithoutProjectInput[] upsert?: ModelUpsertWithWhereUniqueWithoutProjectInput | ModelUpsertWithWhereUniqueWithoutProjectInput[] createMany?: ModelCreateManyProjectInputEnvelope set?: ModelWhereUniqueInput | ModelWhereUniqueInput[] disconnect?: ModelWhereUniqueInput | ModelWhereUniqueInput[] delete?: ModelWhereUniqueInput | ModelWhereUniqueInput[] connect?: ModelWhereUniqueInput | ModelWhereUniqueInput[] update?: ModelUpdateWithWhereUniqueWithoutProjectInput | ModelUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: ModelUpdateManyWithWhereWithoutProjectInput | ModelUpdateManyWithWhereWithoutProjectInput[] deleteMany?: ModelScalarWhereInput | ModelScalarWhereInput[] } export type EvalTemplateUpdateManyWithoutProjectNestedInput = { create?: XOR | EvalTemplateCreateWithoutProjectInput[] | EvalTemplateUncheckedCreateWithoutProjectInput[] connectOrCreate?: EvalTemplateCreateOrConnectWithoutProjectInput | EvalTemplateCreateOrConnectWithoutProjectInput[] upsert?: EvalTemplateUpsertWithWhereUniqueWithoutProjectInput | EvalTemplateUpsertWithWhereUniqueWithoutProjectInput[] createMany?: EvalTemplateCreateManyProjectInputEnvelope set?: EvalTemplateWhereUniqueInput | EvalTemplateWhereUniqueInput[] disconnect?: EvalTemplateWhereUniqueInput | EvalTemplateWhereUniqueInput[] delete?: EvalTemplateWhereUniqueInput | EvalTemplateWhereUniqueInput[] connect?: EvalTemplateWhereUniqueInput | EvalTemplateWhereUniqueInput[] update?: EvalTemplateUpdateWithWhereUniqueWithoutProjectInput | EvalTemplateUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: EvalTemplateUpdateManyWithWhereWithoutProjectInput | EvalTemplateUpdateManyWithWhereWithoutProjectInput[] deleteMany?: EvalTemplateScalarWhereInput | EvalTemplateScalarWhereInput[] } export type JobConfigurationUpdateManyWithoutProjectNestedInput = { create?: XOR | JobConfigurationCreateWithoutProjectInput[] | JobConfigurationUncheckedCreateWithoutProjectInput[] connectOrCreate?: JobConfigurationCreateOrConnectWithoutProjectInput | JobConfigurationCreateOrConnectWithoutProjectInput[] upsert?: JobConfigurationUpsertWithWhereUniqueWithoutProjectInput | JobConfigurationUpsertWithWhereUniqueWithoutProjectInput[] createMany?: JobConfigurationCreateManyProjectInputEnvelope set?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] disconnect?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] delete?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] connect?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] update?: JobConfigurationUpdateWithWhereUniqueWithoutProjectInput | JobConfigurationUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: JobConfigurationUpdateManyWithWhereWithoutProjectInput | JobConfigurationUpdateManyWithWhereWithoutProjectInput[] deleteMany?: JobConfigurationScalarWhereInput | JobConfigurationScalarWhereInput[] } export type JobExecutionUpdateManyWithoutProjectNestedInput = { create?: XOR | JobExecutionCreateWithoutProjectInput[] | JobExecutionUncheckedCreateWithoutProjectInput[] connectOrCreate?: JobExecutionCreateOrConnectWithoutProjectInput | JobExecutionCreateOrConnectWithoutProjectInput[] upsert?: JobExecutionUpsertWithWhereUniqueWithoutProjectInput | JobExecutionUpsertWithWhereUniqueWithoutProjectInput[] createMany?: JobExecutionCreateManyProjectInputEnvelope set?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] disconnect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] delete?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] connect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] update?: JobExecutionUpdateWithWhereUniqueWithoutProjectInput | JobExecutionUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: JobExecutionUpdateManyWithWhereWithoutProjectInput | JobExecutionUpdateManyWithWhereWithoutProjectInput[] deleteMany?: JobExecutionScalarWhereInput | JobExecutionScalarWhereInput[] } export type LlmApiKeysUpdateManyWithoutProjectNestedInput = { create?: XOR | LlmApiKeysCreateWithoutProjectInput[] | LlmApiKeysUncheckedCreateWithoutProjectInput[] connectOrCreate?: LlmApiKeysCreateOrConnectWithoutProjectInput | LlmApiKeysCreateOrConnectWithoutProjectInput[] upsert?: LlmApiKeysUpsertWithWhereUniqueWithoutProjectInput | LlmApiKeysUpsertWithWhereUniqueWithoutProjectInput[] createMany?: LlmApiKeysCreateManyProjectInputEnvelope set?: LlmApiKeysWhereUniqueInput | LlmApiKeysWhereUniqueInput[] disconnect?: LlmApiKeysWhereUniqueInput | LlmApiKeysWhereUniqueInput[] delete?: LlmApiKeysWhereUniqueInput | LlmApiKeysWhereUniqueInput[] connect?: LlmApiKeysWhereUniqueInput | LlmApiKeysWhereUniqueInput[] update?: LlmApiKeysUpdateWithWhereUniqueWithoutProjectInput | LlmApiKeysUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: LlmApiKeysUpdateManyWithWhereWithoutProjectInput | LlmApiKeysUpdateManyWithWhereWithoutProjectInput[] deleteMany?: LlmApiKeysScalarWhereInput | LlmApiKeysScalarWhereInput[] } export type PosthogIntegrationUpdateManyWithoutProjectNestedInput = { create?: XOR | PosthogIntegrationCreateWithoutProjectInput[] | PosthogIntegrationUncheckedCreateWithoutProjectInput[] connectOrCreate?: PosthogIntegrationCreateOrConnectWithoutProjectInput | PosthogIntegrationCreateOrConnectWithoutProjectInput[] upsert?: PosthogIntegrationUpsertWithWhereUniqueWithoutProjectInput | PosthogIntegrationUpsertWithWhereUniqueWithoutProjectInput[] createMany?: PosthogIntegrationCreateManyProjectInputEnvelope set?: PosthogIntegrationWhereUniqueInput | PosthogIntegrationWhereUniqueInput[] disconnect?: PosthogIntegrationWhereUniqueInput | PosthogIntegrationWhereUniqueInput[] delete?: PosthogIntegrationWhereUniqueInput | PosthogIntegrationWhereUniqueInput[] connect?: PosthogIntegrationWhereUniqueInput | PosthogIntegrationWhereUniqueInput[] update?: PosthogIntegrationUpdateWithWhereUniqueWithoutProjectInput | PosthogIntegrationUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: PosthogIntegrationUpdateManyWithWhereWithoutProjectInput | PosthogIntegrationUpdateManyWithWhereWithoutProjectInput[] deleteMany?: PosthogIntegrationScalarWhereInput | PosthogIntegrationScalarWhereInput[] } export type BlobStorageIntegrationUpdateManyWithoutProjectNestedInput = { create?: XOR | BlobStorageIntegrationCreateWithoutProjectInput[] | BlobStorageIntegrationUncheckedCreateWithoutProjectInput[] connectOrCreate?: BlobStorageIntegrationCreateOrConnectWithoutProjectInput | BlobStorageIntegrationCreateOrConnectWithoutProjectInput[] upsert?: BlobStorageIntegrationUpsertWithWhereUniqueWithoutProjectInput | BlobStorageIntegrationUpsertWithWhereUniqueWithoutProjectInput[] createMany?: BlobStorageIntegrationCreateManyProjectInputEnvelope set?: BlobStorageIntegrationWhereUniqueInput | BlobStorageIntegrationWhereUniqueInput[] disconnect?: BlobStorageIntegrationWhereUniqueInput | BlobStorageIntegrationWhereUniqueInput[] delete?: BlobStorageIntegrationWhereUniqueInput | BlobStorageIntegrationWhereUniqueInput[] connect?: BlobStorageIntegrationWhereUniqueInput | BlobStorageIntegrationWhereUniqueInput[] update?: BlobStorageIntegrationUpdateWithWhereUniqueWithoutProjectInput | BlobStorageIntegrationUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: BlobStorageIntegrationUpdateManyWithWhereWithoutProjectInput | BlobStorageIntegrationUpdateManyWithWhereWithoutProjectInput[] deleteMany?: BlobStorageIntegrationScalarWhereInput | BlobStorageIntegrationScalarWhereInput[] } export type ScoreConfigUpdateManyWithoutProjectNestedInput = { create?: XOR | ScoreConfigCreateWithoutProjectInput[] | ScoreConfigUncheckedCreateWithoutProjectInput[] connectOrCreate?: ScoreConfigCreateOrConnectWithoutProjectInput | ScoreConfigCreateOrConnectWithoutProjectInput[] upsert?: ScoreConfigUpsertWithWhereUniqueWithoutProjectInput | ScoreConfigUpsertWithWhereUniqueWithoutProjectInput[] createMany?: ScoreConfigCreateManyProjectInputEnvelope set?: ScoreConfigWhereUniqueInput | ScoreConfigWhereUniqueInput[] disconnect?: ScoreConfigWhereUniqueInput | ScoreConfigWhereUniqueInput[] delete?: ScoreConfigWhereUniqueInput | ScoreConfigWhereUniqueInput[] connect?: ScoreConfigWhereUniqueInput | ScoreConfigWhereUniqueInput[] update?: ScoreConfigUpdateWithWhereUniqueWithoutProjectInput | ScoreConfigUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: ScoreConfigUpdateManyWithWhereWithoutProjectInput | ScoreConfigUpdateManyWithWhereWithoutProjectInput[] deleteMany?: ScoreConfigScalarWhereInput | ScoreConfigScalarWhereInput[] } export type BatchExportUpdateManyWithoutProjectNestedInput = { create?: XOR | BatchExportCreateWithoutProjectInput[] | BatchExportUncheckedCreateWithoutProjectInput[] connectOrCreate?: BatchExportCreateOrConnectWithoutProjectInput | BatchExportCreateOrConnectWithoutProjectInput[] upsert?: BatchExportUpsertWithWhereUniqueWithoutProjectInput | BatchExportUpsertWithWhereUniqueWithoutProjectInput[] createMany?: BatchExportCreateManyProjectInputEnvelope set?: BatchExportWhereUniqueInput | BatchExportWhereUniqueInput[] disconnect?: BatchExportWhereUniqueInput | BatchExportWhereUniqueInput[] delete?: BatchExportWhereUniqueInput | BatchExportWhereUniqueInput[] connect?: BatchExportWhereUniqueInput | BatchExportWhereUniqueInput[] update?: BatchExportUpdateWithWhereUniqueWithoutProjectInput | BatchExportUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: BatchExportUpdateManyWithWhereWithoutProjectInput | BatchExportUpdateManyWithWhereWithoutProjectInput[] deleteMany?: BatchExportScalarWhereInput | BatchExportScalarWhereInput[] } export type CommentUpdateManyWithoutProjectNestedInput = { create?: XOR | CommentCreateWithoutProjectInput[] | CommentUncheckedCreateWithoutProjectInput[] connectOrCreate?: CommentCreateOrConnectWithoutProjectInput | CommentCreateOrConnectWithoutProjectInput[] upsert?: CommentUpsertWithWhereUniqueWithoutProjectInput | CommentUpsertWithWhereUniqueWithoutProjectInput[] createMany?: CommentCreateManyProjectInputEnvelope set?: CommentWhereUniqueInput | CommentWhereUniqueInput[] disconnect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] delete?: CommentWhereUniqueInput | CommentWhereUniqueInput[] connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] update?: CommentUpdateWithWhereUniqueWithoutProjectInput | CommentUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: CommentUpdateManyWithWhereWithoutProjectInput | CommentUpdateManyWithWhereWithoutProjectInput[] deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[] } export type AnnotationQueueUpdateManyWithoutProjectNestedInput = { create?: XOR | AnnotationQueueCreateWithoutProjectInput[] | AnnotationQueueUncheckedCreateWithoutProjectInput[] connectOrCreate?: AnnotationQueueCreateOrConnectWithoutProjectInput | AnnotationQueueCreateOrConnectWithoutProjectInput[] upsert?: AnnotationQueueUpsertWithWhereUniqueWithoutProjectInput | AnnotationQueueUpsertWithWhereUniqueWithoutProjectInput[] createMany?: AnnotationQueueCreateManyProjectInputEnvelope set?: AnnotationQueueWhereUniqueInput | AnnotationQueueWhereUniqueInput[] disconnect?: AnnotationQueueWhereUniqueInput | AnnotationQueueWhereUniqueInput[] delete?: AnnotationQueueWhereUniqueInput | AnnotationQueueWhereUniqueInput[] connect?: AnnotationQueueWhereUniqueInput | AnnotationQueueWhereUniqueInput[] update?: AnnotationQueueUpdateWithWhereUniqueWithoutProjectInput | AnnotationQueueUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: AnnotationQueueUpdateManyWithWhereWithoutProjectInput | AnnotationQueueUpdateManyWithWhereWithoutProjectInput[] deleteMany?: AnnotationQueueScalarWhereInput | AnnotationQueueScalarWhereInput[] } export type AnnotationQueueItemUpdateManyWithoutProjectNestedInput = { create?: XOR | AnnotationQueueItemCreateWithoutProjectInput[] | AnnotationQueueItemUncheckedCreateWithoutProjectInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutProjectInput | AnnotationQueueItemCreateOrConnectWithoutProjectInput[] upsert?: AnnotationQueueItemUpsertWithWhereUniqueWithoutProjectInput | AnnotationQueueItemUpsertWithWhereUniqueWithoutProjectInput[] createMany?: AnnotationQueueItemCreateManyProjectInputEnvelope set?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] disconnect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] delete?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] update?: AnnotationQueueItemUpdateWithWhereUniqueWithoutProjectInput | AnnotationQueueItemUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: AnnotationQueueItemUpdateManyWithWhereWithoutProjectInput | AnnotationQueueItemUpdateManyWithWhereWithoutProjectInput[] deleteMany?: AnnotationQueueItemScalarWhereInput | AnnotationQueueItemScalarWhereInput[] } export type TraceMediaUpdateManyWithoutProjectNestedInput = { create?: XOR | TraceMediaCreateWithoutProjectInput[] | TraceMediaUncheckedCreateWithoutProjectInput[] connectOrCreate?: TraceMediaCreateOrConnectWithoutProjectInput | TraceMediaCreateOrConnectWithoutProjectInput[] upsert?: TraceMediaUpsertWithWhereUniqueWithoutProjectInput | TraceMediaUpsertWithWhereUniqueWithoutProjectInput[] createMany?: TraceMediaCreateManyProjectInputEnvelope set?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] disconnect?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] delete?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] connect?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] update?: TraceMediaUpdateWithWhereUniqueWithoutProjectInput | TraceMediaUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: TraceMediaUpdateManyWithWhereWithoutProjectInput | TraceMediaUpdateManyWithWhereWithoutProjectInput[] deleteMany?: TraceMediaScalarWhereInput | TraceMediaScalarWhereInput[] } export type MediaUpdateManyWithoutProjectNestedInput = { create?: XOR | MediaCreateWithoutProjectInput[] | MediaUncheckedCreateWithoutProjectInput[] connectOrCreate?: MediaCreateOrConnectWithoutProjectInput | MediaCreateOrConnectWithoutProjectInput[] upsert?: MediaUpsertWithWhereUniqueWithoutProjectInput | MediaUpsertWithWhereUniqueWithoutProjectInput[] createMany?: MediaCreateManyProjectInputEnvelope set?: MediaWhereUniqueInput | MediaWhereUniqueInput[] disconnect?: MediaWhereUniqueInput | MediaWhereUniqueInput[] delete?: MediaWhereUniqueInput | MediaWhereUniqueInput[] connect?: MediaWhereUniqueInput | MediaWhereUniqueInput[] update?: MediaUpdateWithWhereUniqueWithoutProjectInput | MediaUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: MediaUpdateManyWithWhereWithoutProjectInput | MediaUpdateManyWithWhereWithoutProjectInput[] deleteMany?: MediaScalarWhereInput | MediaScalarWhereInput[] } export type ObservationMediaUpdateManyWithoutProjectNestedInput = { create?: XOR | ObservationMediaCreateWithoutProjectInput[] | ObservationMediaUncheckedCreateWithoutProjectInput[] connectOrCreate?: ObservationMediaCreateOrConnectWithoutProjectInput | ObservationMediaCreateOrConnectWithoutProjectInput[] upsert?: ObservationMediaUpsertWithWhereUniqueWithoutProjectInput | ObservationMediaUpsertWithWhereUniqueWithoutProjectInput[] createMany?: ObservationMediaCreateManyProjectInputEnvelope set?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] disconnect?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] delete?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] connect?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] update?: ObservationMediaUpdateWithWhereUniqueWithoutProjectInput | ObservationMediaUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: ObservationMediaUpdateManyWithWhereWithoutProjectInput | ObservationMediaUpdateManyWithWhereWithoutProjectInput[] deleteMany?: ObservationMediaScalarWhereInput | ObservationMediaScalarWhereInput[] } export type LegacyPrismaTraceUpdateManyWithoutProjectNestedInput = { create?: XOR | LegacyPrismaTraceCreateWithoutProjectInput[] | LegacyPrismaTraceUncheckedCreateWithoutProjectInput[] connectOrCreate?: LegacyPrismaTraceCreateOrConnectWithoutProjectInput | LegacyPrismaTraceCreateOrConnectWithoutProjectInput[] upsert?: LegacyPrismaTraceUpsertWithWhereUniqueWithoutProjectInput | LegacyPrismaTraceUpsertWithWhereUniqueWithoutProjectInput[] createMany?: LegacyPrismaTraceCreateManyProjectInputEnvelope set?: LegacyPrismaTraceWhereUniqueInput | LegacyPrismaTraceWhereUniqueInput[] disconnect?: LegacyPrismaTraceWhereUniqueInput | LegacyPrismaTraceWhereUniqueInput[] delete?: LegacyPrismaTraceWhereUniqueInput | LegacyPrismaTraceWhereUniqueInput[] connect?: LegacyPrismaTraceWhereUniqueInput | LegacyPrismaTraceWhereUniqueInput[] update?: LegacyPrismaTraceUpdateWithWhereUniqueWithoutProjectInput | LegacyPrismaTraceUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: LegacyPrismaTraceUpdateManyWithWhereWithoutProjectInput | LegacyPrismaTraceUpdateManyWithWhereWithoutProjectInput[] deleteMany?: LegacyPrismaTraceScalarWhereInput | LegacyPrismaTraceScalarWhereInput[] } export type LegacyPrismaObservationUpdateManyWithoutProjectNestedInput = { create?: XOR | LegacyPrismaObservationCreateWithoutProjectInput[] | LegacyPrismaObservationUncheckedCreateWithoutProjectInput[] connectOrCreate?: LegacyPrismaObservationCreateOrConnectWithoutProjectInput | LegacyPrismaObservationCreateOrConnectWithoutProjectInput[] upsert?: LegacyPrismaObservationUpsertWithWhereUniqueWithoutProjectInput | LegacyPrismaObservationUpsertWithWhereUniqueWithoutProjectInput[] createMany?: LegacyPrismaObservationCreateManyProjectInputEnvelope set?: LegacyPrismaObservationWhereUniqueInput | LegacyPrismaObservationWhereUniqueInput[] disconnect?: LegacyPrismaObservationWhereUniqueInput | LegacyPrismaObservationWhereUniqueInput[] delete?: LegacyPrismaObservationWhereUniqueInput | LegacyPrismaObservationWhereUniqueInput[] connect?: LegacyPrismaObservationWhereUniqueInput | LegacyPrismaObservationWhereUniqueInput[] update?: LegacyPrismaObservationUpdateWithWhereUniqueWithoutProjectInput | LegacyPrismaObservationUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: LegacyPrismaObservationUpdateManyWithWhereWithoutProjectInput | LegacyPrismaObservationUpdateManyWithWhereWithoutProjectInput[] deleteMany?: LegacyPrismaObservationScalarWhereInput | LegacyPrismaObservationScalarWhereInput[] } export type LegacyPrismaScoreUpdateManyWithoutProjectNestedInput = { create?: XOR | LegacyPrismaScoreCreateWithoutProjectInput[] | LegacyPrismaScoreUncheckedCreateWithoutProjectInput[] connectOrCreate?: LegacyPrismaScoreCreateOrConnectWithoutProjectInput | LegacyPrismaScoreCreateOrConnectWithoutProjectInput[] upsert?: LegacyPrismaScoreUpsertWithWhereUniqueWithoutProjectInput | LegacyPrismaScoreUpsertWithWhereUniqueWithoutProjectInput[] createMany?: LegacyPrismaScoreCreateManyProjectInputEnvelope set?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] disconnect?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] delete?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] connect?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] update?: LegacyPrismaScoreUpdateWithWhereUniqueWithoutProjectInput | LegacyPrismaScoreUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: LegacyPrismaScoreUpdateManyWithWhereWithoutProjectInput | LegacyPrismaScoreUpdateManyWithWhereWithoutProjectInput[] deleteMany?: LegacyPrismaScoreScalarWhereInput | LegacyPrismaScoreScalarWhereInput[] } export type PromptDependencyUpdateManyWithoutProjectNestedInput = { create?: XOR | PromptDependencyCreateWithoutProjectInput[] | PromptDependencyUncheckedCreateWithoutProjectInput[] connectOrCreate?: PromptDependencyCreateOrConnectWithoutProjectInput | PromptDependencyCreateOrConnectWithoutProjectInput[] upsert?: PromptDependencyUpsertWithWhereUniqueWithoutProjectInput | PromptDependencyUpsertWithWhereUniqueWithoutProjectInput[] createMany?: PromptDependencyCreateManyProjectInputEnvelope set?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] disconnect?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] delete?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] connect?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] update?: PromptDependencyUpdateWithWhereUniqueWithoutProjectInput | PromptDependencyUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: PromptDependencyUpdateManyWithWhereWithoutProjectInput | PromptDependencyUpdateManyWithWhereWithoutProjectInput[] deleteMany?: PromptDependencyScalarWhereInput | PromptDependencyScalarWhereInput[] } export type LlmSchemaUpdateManyWithoutProjectNestedInput = { create?: XOR | LlmSchemaCreateWithoutProjectInput[] | LlmSchemaUncheckedCreateWithoutProjectInput[] connectOrCreate?: LlmSchemaCreateOrConnectWithoutProjectInput | LlmSchemaCreateOrConnectWithoutProjectInput[] upsert?: LlmSchemaUpsertWithWhereUniqueWithoutProjectInput | LlmSchemaUpsertWithWhereUniqueWithoutProjectInput[] createMany?: LlmSchemaCreateManyProjectInputEnvelope set?: LlmSchemaWhereUniqueInput | LlmSchemaWhereUniqueInput[] disconnect?: LlmSchemaWhereUniqueInput | LlmSchemaWhereUniqueInput[] delete?: LlmSchemaWhereUniqueInput | LlmSchemaWhereUniqueInput[] connect?: LlmSchemaWhereUniqueInput | LlmSchemaWhereUniqueInput[] update?: LlmSchemaUpdateWithWhereUniqueWithoutProjectInput | LlmSchemaUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: LlmSchemaUpdateManyWithWhereWithoutProjectInput | LlmSchemaUpdateManyWithWhereWithoutProjectInput[] deleteMany?: LlmSchemaScalarWhereInput | LlmSchemaScalarWhereInput[] } export type LlmToolUpdateManyWithoutProjectNestedInput = { create?: XOR | LlmToolCreateWithoutProjectInput[] | LlmToolUncheckedCreateWithoutProjectInput[] connectOrCreate?: LlmToolCreateOrConnectWithoutProjectInput | LlmToolCreateOrConnectWithoutProjectInput[] upsert?: LlmToolUpsertWithWhereUniqueWithoutProjectInput | LlmToolUpsertWithWhereUniqueWithoutProjectInput[] createMany?: LlmToolCreateManyProjectInputEnvelope set?: LlmToolWhereUniqueInput | LlmToolWhereUniqueInput[] disconnect?: LlmToolWhereUniqueInput | LlmToolWhereUniqueInput[] delete?: LlmToolWhereUniqueInput | LlmToolWhereUniqueInput[] connect?: LlmToolWhereUniqueInput | LlmToolWhereUniqueInput[] update?: LlmToolUpdateWithWhereUniqueWithoutProjectInput | LlmToolUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: LlmToolUpdateManyWithWhereWithoutProjectInput | LlmToolUpdateManyWithWhereWithoutProjectInput[] deleteMany?: LlmToolScalarWhereInput | LlmToolScalarWhereInput[] } export type PromptProtectedLabelsUpdateManyWithoutProjectNestedInput = { create?: XOR | PromptProtectedLabelsCreateWithoutProjectInput[] | PromptProtectedLabelsUncheckedCreateWithoutProjectInput[] connectOrCreate?: PromptProtectedLabelsCreateOrConnectWithoutProjectInput | PromptProtectedLabelsCreateOrConnectWithoutProjectInput[] upsert?: PromptProtectedLabelsUpsertWithWhereUniqueWithoutProjectInput | PromptProtectedLabelsUpsertWithWhereUniqueWithoutProjectInput[] createMany?: PromptProtectedLabelsCreateManyProjectInputEnvelope set?: PromptProtectedLabelsWhereUniqueInput | PromptProtectedLabelsWhereUniqueInput[] disconnect?: PromptProtectedLabelsWhereUniqueInput | PromptProtectedLabelsWhereUniqueInput[] delete?: PromptProtectedLabelsWhereUniqueInput | PromptProtectedLabelsWhereUniqueInput[] connect?: PromptProtectedLabelsWhereUniqueInput | PromptProtectedLabelsWhereUniqueInput[] update?: PromptProtectedLabelsUpdateWithWhereUniqueWithoutProjectInput | PromptProtectedLabelsUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: PromptProtectedLabelsUpdateManyWithWhereWithoutProjectInput | PromptProtectedLabelsUpdateManyWithWhereWithoutProjectInput[] deleteMany?: PromptProtectedLabelsScalarWhereInput | PromptProtectedLabelsScalarWhereInput[] } export type DashboardUpdateManyWithoutProjectNestedInput = { create?: XOR | DashboardCreateWithoutProjectInput[] | DashboardUncheckedCreateWithoutProjectInput[] connectOrCreate?: DashboardCreateOrConnectWithoutProjectInput | DashboardCreateOrConnectWithoutProjectInput[] upsert?: DashboardUpsertWithWhereUniqueWithoutProjectInput | DashboardUpsertWithWhereUniqueWithoutProjectInput[] createMany?: DashboardCreateManyProjectInputEnvelope set?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] disconnect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] delete?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] connect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] update?: DashboardUpdateWithWhereUniqueWithoutProjectInput | DashboardUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: DashboardUpdateManyWithWhereWithoutProjectInput | DashboardUpdateManyWithWhereWithoutProjectInput[] deleteMany?: DashboardScalarWhereInput | DashboardScalarWhereInput[] } export type DashboardWidgetUpdateManyWithoutProjectNestedInput = { create?: XOR | DashboardWidgetCreateWithoutProjectInput[] | DashboardWidgetUncheckedCreateWithoutProjectInput[] connectOrCreate?: DashboardWidgetCreateOrConnectWithoutProjectInput | DashboardWidgetCreateOrConnectWithoutProjectInput[] upsert?: DashboardWidgetUpsertWithWhereUniqueWithoutProjectInput | DashboardWidgetUpsertWithWhereUniqueWithoutProjectInput[] createMany?: DashboardWidgetCreateManyProjectInputEnvelope set?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] disconnect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] delete?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] connect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] update?: DashboardWidgetUpdateWithWhereUniqueWithoutProjectInput | DashboardWidgetUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: DashboardWidgetUpdateManyWithWhereWithoutProjectInput | DashboardWidgetUpdateManyWithWhereWithoutProjectInput[] deleteMany?: DashboardWidgetScalarWhereInput | DashboardWidgetScalarWhereInput[] } export type TableViewPresetUpdateManyWithoutProjectNestedInput = { create?: XOR | TableViewPresetCreateWithoutProjectInput[] | TableViewPresetUncheckedCreateWithoutProjectInput[] connectOrCreate?: TableViewPresetCreateOrConnectWithoutProjectInput | TableViewPresetCreateOrConnectWithoutProjectInput[] upsert?: TableViewPresetUpsertWithWhereUniqueWithoutProjectInput | TableViewPresetUpsertWithWhereUniqueWithoutProjectInput[] createMany?: TableViewPresetCreateManyProjectInputEnvelope set?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] disconnect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] delete?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] connect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] update?: TableViewPresetUpdateWithWhereUniqueWithoutProjectInput | TableViewPresetUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: TableViewPresetUpdateManyWithWhereWithoutProjectInput | TableViewPresetUpdateManyWithWhereWithoutProjectInput[] deleteMany?: TableViewPresetScalarWhereInput | TableViewPresetScalarWhereInput[] } export type ActionUpdateManyWithoutProjectNestedInput = { create?: XOR | ActionCreateWithoutProjectInput[] | ActionUncheckedCreateWithoutProjectInput[] connectOrCreate?: ActionCreateOrConnectWithoutProjectInput | ActionCreateOrConnectWithoutProjectInput[] upsert?: ActionUpsertWithWhereUniqueWithoutProjectInput | ActionUpsertWithWhereUniqueWithoutProjectInput[] createMany?: ActionCreateManyProjectInputEnvelope set?: ActionWhereUniqueInput | ActionWhereUniqueInput[] disconnect?: ActionWhereUniqueInput | ActionWhereUniqueInput[] delete?: ActionWhereUniqueInput | ActionWhereUniqueInput[] connect?: ActionWhereUniqueInput | ActionWhereUniqueInput[] update?: ActionUpdateWithWhereUniqueWithoutProjectInput | ActionUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: ActionUpdateManyWithWhereWithoutProjectInput | ActionUpdateManyWithWhereWithoutProjectInput[] deleteMany?: ActionScalarWhereInput | ActionScalarWhereInput[] } export type TriggerUpdateManyWithoutProjectNestedInput = { create?: XOR | TriggerCreateWithoutProjectInput[] | TriggerUncheckedCreateWithoutProjectInput[] connectOrCreate?: TriggerCreateOrConnectWithoutProjectInput | TriggerCreateOrConnectWithoutProjectInput[] upsert?: TriggerUpsertWithWhereUniqueWithoutProjectInput | TriggerUpsertWithWhereUniqueWithoutProjectInput[] createMany?: TriggerCreateManyProjectInputEnvelope set?: TriggerWhereUniqueInput | TriggerWhereUniqueInput[] disconnect?: TriggerWhereUniqueInput | TriggerWhereUniqueInput[] delete?: TriggerWhereUniqueInput | TriggerWhereUniqueInput[] connect?: TriggerWhereUniqueInput | TriggerWhereUniqueInput[] update?: TriggerUpdateWithWhereUniqueWithoutProjectInput | TriggerUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: TriggerUpdateManyWithWhereWithoutProjectInput | TriggerUpdateManyWithWhereWithoutProjectInput[] deleteMany?: TriggerScalarWhereInput | TriggerScalarWhereInput[] } export type AutomationExecutionUpdateManyWithoutProjectNestedInput = { create?: XOR | AutomationExecutionCreateWithoutProjectInput[] | AutomationExecutionUncheckedCreateWithoutProjectInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutProjectInput | AutomationExecutionCreateOrConnectWithoutProjectInput[] upsert?: AutomationExecutionUpsertWithWhereUniqueWithoutProjectInput | AutomationExecutionUpsertWithWhereUniqueWithoutProjectInput[] createMany?: AutomationExecutionCreateManyProjectInputEnvelope set?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] disconnect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] delete?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] update?: AutomationExecutionUpdateWithWhereUniqueWithoutProjectInput | AutomationExecutionUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: AutomationExecutionUpdateManyWithWhereWithoutProjectInput | AutomationExecutionUpdateManyWithWhereWithoutProjectInput[] deleteMany?: AutomationExecutionScalarWhereInput | AutomationExecutionScalarWhereInput[] } export type AutomationUpdateManyWithoutProjectNestedInput = { create?: XOR | AutomationCreateWithoutProjectInput[] | AutomationUncheckedCreateWithoutProjectInput[] connectOrCreate?: AutomationCreateOrConnectWithoutProjectInput | AutomationCreateOrConnectWithoutProjectInput[] upsert?: AutomationUpsertWithWhereUniqueWithoutProjectInput | AutomationUpsertWithWhereUniqueWithoutProjectInput[] createMany?: AutomationCreateManyProjectInputEnvelope set?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] disconnect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] delete?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] connect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] update?: AutomationUpdateWithWhereUniqueWithoutProjectInput | AutomationUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: AutomationUpdateManyWithWhereWithoutProjectInput | AutomationUpdateManyWithWhereWithoutProjectInput[] deleteMany?: AutomationScalarWhereInput | AutomationScalarWhereInput[] } export type DefaultLlmModelUpdateManyWithoutProjectNestedInput = { create?: XOR | DefaultLlmModelCreateWithoutProjectInput[] | DefaultLlmModelUncheckedCreateWithoutProjectInput[] connectOrCreate?: DefaultLlmModelCreateOrConnectWithoutProjectInput | DefaultLlmModelCreateOrConnectWithoutProjectInput[] upsert?: DefaultLlmModelUpsertWithWhereUniqueWithoutProjectInput | DefaultLlmModelUpsertWithWhereUniqueWithoutProjectInput[] createMany?: DefaultLlmModelCreateManyProjectInputEnvelope set?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] disconnect?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] delete?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] connect?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] update?: DefaultLlmModelUpdateWithWhereUniqueWithoutProjectInput | DefaultLlmModelUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: DefaultLlmModelUpdateManyWithWhereWithoutProjectInput | DefaultLlmModelUpdateManyWithWhereWithoutProjectInput[] deleteMany?: DefaultLlmModelScalarWhereInput | DefaultLlmModelScalarWhereInput[] } export type PriceUpdateManyWithoutProjectNestedInput = { create?: XOR | PriceCreateWithoutProjectInput[] | PriceUncheckedCreateWithoutProjectInput[] connectOrCreate?: PriceCreateOrConnectWithoutProjectInput | PriceCreateOrConnectWithoutProjectInput[] upsert?: PriceUpsertWithWhereUniqueWithoutProjectInput | PriceUpsertWithWhereUniqueWithoutProjectInput[] createMany?: PriceCreateManyProjectInputEnvelope set?: PriceWhereUniqueInput | PriceWhereUniqueInput[] disconnect?: PriceWhereUniqueInput | PriceWhereUniqueInput[] delete?: PriceWhereUniqueInput | PriceWhereUniqueInput[] connect?: PriceWhereUniqueInput | PriceWhereUniqueInput[] update?: PriceUpdateWithWhereUniqueWithoutProjectInput | PriceUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: PriceUpdateManyWithWhereWithoutProjectInput | PriceUpdateManyWithWhereWithoutProjectInput[] deleteMany?: PriceScalarWhereInput | PriceScalarWhereInput[] } export type SlackIntegrationUpdateOneWithoutProjectNestedInput = { create?: XOR connectOrCreate?: SlackIntegrationCreateOrConnectWithoutProjectInput upsert?: SlackIntegrationUpsertWithoutProjectInput disconnect?: SlackIntegrationWhereInput | boolean delete?: SlackIntegrationWhereInput | boolean connect?: SlackIntegrationWhereUniqueInput update?: XOR, SlackIntegrationUncheckedUpdateWithoutProjectInput> } export type PendingDeletionUpdateManyWithoutProjectNestedInput = { create?: XOR | PendingDeletionCreateWithoutProjectInput[] | PendingDeletionUncheckedCreateWithoutProjectInput[] connectOrCreate?: PendingDeletionCreateOrConnectWithoutProjectInput | PendingDeletionCreateOrConnectWithoutProjectInput[] upsert?: PendingDeletionUpsertWithWhereUniqueWithoutProjectInput | PendingDeletionUpsertWithWhereUniqueWithoutProjectInput[] createMany?: PendingDeletionCreateManyProjectInputEnvelope set?: PendingDeletionWhereUniqueInput | PendingDeletionWhereUniqueInput[] disconnect?: PendingDeletionWhereUniqueInput | PendingDeletionWhereUniqueInput[] delete?: PendingDeletionWhereUniqueInput | PendingDeletionWhereUniqueInput[] connect?: PendingDeletionWhereUniqueInput | PendingDeletionWhereUniqueInput[] update?: PendingDeletionUpdateWithWhereUniqueWithoutProjectInput | PendingDeletionUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: PendingDeletionUpdateManyWithWhereWithoutProjectInput | PendingDeletionUpdateManyWithWhereWithoutProjectInput[] deleteMany?: PendingDeletionScalarWhereInput | PendingDeletionScalarWhereInput[] } export type AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput = { create?: XOR | AnnotationQueueAssignmentCreateWithoutProjectInput[] | AnnotationQueueAssignmentUncheckedCreateWithoutProjectInput[] connectOrCreate?: AnnotationQueueAssignmentCreateOrConnectWithoutProjectInput | AnnotationQueueAssignmentCreateOrConnectWithoutProjectInput[] upsert?: AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutProjectInput | AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutProjectInput[] createMany?: AnnotationQueueAssignmentCreateManyProjectInputEnvelope set?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] disconnect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] delete?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] connect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] update?: AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutProjectInput | AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: AnnotationQueueAssignmentUpdateManyWithWhereWithoutProjectInput | AnnotationQueueAssignmentUpdateManyWithWhereWithoutProjectInput[] deleteMany?: AnnotationQueueAssignmentScalarWhereInput | AnnotationQueueAssignmentScalarWhereInput[] } export type ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | ProjectMembershipCreateWithoutProjectInput[] | ProjectMembershipUncheckedCreateWithoutProjectInput[] connectOrCreate?: ProjectMembershipCreateOrConnectWithoutProjectInput | ProjectMembershipCreateOrConnectWithoutProjectInput[] upsert?: ProjectMembershipUpsertWithWhereUniqueWithoutProjectInput | ProjectMembershipUpsertWithWhereUniqueWithoutProjectInput[] createMany?: ProjectMembershipCreateManyProjectInputEnvelope set?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] disconnect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] delete?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] connect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] update?: ProjectMembershipUpdateWithWhereUniqueWithoutProjectInput | ProjectMembershipUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: ProjectMembershipUpdateManyWithWhereWithoutProjectInput | ProjectMembershipUpdateManyWithWhereWithoutProjectInput[] deleteMany?: ProjectMembershipScalarWhereInput | ProjectMembershipScalarWhereInput[] } export type ApiKeyUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | ApiKeyCreateWithoutProjectInput[] | ApiKeyUncheckedCreateWithoutProjectInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutProjectInput | ApiKeyCreateOrConnectWithoutProjectInput[] upsert?: ApiKeyUpsertWithWhereUniqueWithoutProjectInput | ApiKeyUpsertWithWhereUniqueWithoutProjectInput[] createMany?: ApiKeyCreateManyProjectInputEnvelope set?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] disconnect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] delete?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] update?: ApiKeyUpdateWithWhereUniqueWithoutProjectInput | ApiKeyUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: ApiKeyUpdateManyWithWhereWithoutProjectInput | ApiKeyUpdateManyWithWhereWithoutProjectInput[] deleteMany?: ApiKeyScalarWhereInput | ApiKeyScalarWhereInput[] } export type DatasetUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | DatasetCreateWithoutProjectInput[] | DatasetUncheckedCreateWithoutProjectInput[] connectOrCreate?: DatasetCreateOrConnectWithoutProjectInput | DatasetCreateOrConnectWithoutProjectInput[] upsert?: DatasetUpsertWithWhereUniqueWithoutProjectInput | DatasetUpsertWithWhereUniqueWithoutProjectInput[] createMany?: DatasetCreateManyProjectInputEnvelope set?: DatasetWhereUniqueInput | DatasetWhereUniqueInput[] disconnect?: DatasetWhereUniqueInput | DatasetWhereUniqueInput[] delete?: DatasetWhereUniqueInput | DatasetWhereUniqueInput[] connect?: DatasetWhereUniqueInput | DatasetWhereUniqueInput[] update?: DatasetUpdateWithWhereUniqueWithoutProjectInput | DatasetUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: DatasetUpdateManyWithWhereWithoutProjectInput | DatasetUpdateManyWithWhereWithoutProjectInput[] deleteMany?: DatasetScalarWhereInput | DatasetScalarWhereInput[] } export type MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | MembershipInvitationCreateWithoutProjectInput[] | MembershipInvitationUncheckedCreateWithoutProjectInput[] connectOrCreate?: MembershipInvitationCreateOrConnectWithoutProjectInput | MembershipInvitationCreateOrConnectWithoutProjectInput[] upsert?: MembershipInvitationUpsertWithWhereUniqueWithoutProjectInput | MembershipInvitationUpsertWithWhereUniqueWithoutProjectInput[] createMany?: MembershipInvitationCreateManyProjectInputEnvelope set?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] disconnect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] delete?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] connect?: MembershipInvitationWhereUniqueInput | MembershipInvitationWhereUniqueInput[] update?: MembershipInvitationUpdateWithWhereUniqueWithoutProjectInput | MembershipInvitationUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: MembershipInvitationUpdateManyWithWhereWithoutProjectInput | MembershipInvitationUpdateManyWithWhereWithoutProjectInput[] deleteMany?: MembershipInvitationScalarWhereInput | MembershipInvitationScalarWhereInput[] } export type TraceSessionUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | TraceSessionCreateWithoutProjectInput[] | TraceSessionUncheckedCreateWithoutProjectInput[] connectOrCreate?: TraceSessionCreateOrConnectWithoutProjectInput | TraceSessionCreateOrConnectWithoutProjectInput[] upsert?: TraceSessionUpsertWithWhereUniqueWithoutProjectInput | TraceSessionUpsertWithWhereUniqueWithoutProjectInput[] createMany?: TraceSessionCreateManyProjectInputEnvelope set?: TraceSessionWhereUniqueInput | TraceSessionWhereUniqueInput[] disconnect?: TraceSessionWhereUniqueInput | TraceSessionWhereUniqueInput[] delete?: TraceSessionWhereUniqueInput | TraceSessionWhereUniqueInput[] connect?: TraceSessionWhereUniqueInput | TraceSessionWhereUniqueInput[] update?: TraceSessionUpdateWithWhereUniqueWithoutProjectInput | TraceSessionUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: TraceSessionUpdateManyWithWhereWithoutProjectInput | TraceSessionUpdateManyWithWhereWithoutProjectInput[] deleteMany?: TraceSessionScalarWhereInput | TraceSessionScalarWhereInput[] } export type PromptUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | PromptCreateWithoutProjectInput[] | PromptUncheckedCreateWithoutProjectInput[] connectOrCreate?: PromptCreateOrConnectWithoutProjectInput | PromptCreateOrConnectWithoutProjectInput[] upsert?: PromptUpsertWithWhereUniqueWithoutProjectInput | PromptUpsertWithWhereUniqueWithoutProjectInput[] createMany?: PromptCreateManyProjectInputEnvelope set?: PromptWhereUniqueInput | PromptWhereUniqueInput[] disconnect?: PromptWhereUniqueInput | PromptWhereUniqueInput[] delete?: PromptWhereUniqueInput | PromptWhereUniqueInput[] connect?: PromptWhereUniqueInput | PromptWhereUniqueInput[] update?: PromptUpdateWithWhereUniqueWithoutProjectInput | PromptUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: PromptUpdateManyWithWhereWithoutProjectInput | PromptUpdateManyWithWhereWithoutProjectInput[] deleteMany?: PromptScalarWhereInput | PromptScalarWhereInput[] } export type ModelUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | ModelCreateWithoutProjectInput[] | ModelUncheckedCreateWithoutProjectInput[] connectOrCreate?: ModelCreateOrConnectWithoutProjectInput | ModelCreateOrConnectWithoutProjectInput[] upsert?: ModelUpsertWithWhereUniqueWithoutProjectInput | ModelUpsertWithWhereUniqueWithoutProjectInput[] createMany?: ModelCreateManyProjectInputEnvelope set?: ModelWhereUniqueInput | ModelWhereUniqueInput[] disconnect?: ModelWhereUniqueInput | ModelWhereUniqueInput[] delete?: ModelWhereUniqueInput | ModelWhereUniqueInput[] connect?: ModelWhereUniqueInput | ModelWhereUniqueInput[] update?: ModelUpdateWithWhereUniqueWithoutProjectInput | ModelUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: ModelUpdateManyWithWhereWithoutProjectInput | ModelUpdateManyWithWhereWithoutProjectInput[] deleteMany?: ModelScalarWhereInput | ModelScalarWhereInput[] } export type EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | EvalTemplateCreateWithoutProjectInput[] | EvalTemplateUncheckedCreateWithoutProjectInput[] connectOrCreate?: EvalTemplateCreateOrConnectWithoutProjectInput | EvalTemplateCreateOrConnectWithoutProjectInput[] upsert?: EvalTemplateUpsertWithWhereUniqueWithoutProjectInput | EvalTemplateUpsertWithWhereUniqueWithoutProjectInput[] createMany?: EvalTemplateCreateManyProjectInputEnvelope set?: EvalTemplateWhereUniqueInput | EvalTemplateWhereUniqueInput[] disconnect?: EvalTemplateWhereUniqueInput | EvalTemplateWhereUniqueInput[] delete?: EvalTemplateWhereUniqueInput | EvalTemplateWhereUniqueInput[] connect?: EvalTemplateWhereUniqueInput | EvalTemplateWhereUniqueInput[] update?: EvalTemplateUpdateWithWhereUniqueWithoutProjectInput | EvalTemplateUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: EvalTemplateUpdateManyWithWhereWithoutProjectInput | EvalTemplateUpdateManyWithWhereWithoutProjectInput[] deleteMany?: EvalTemplateScalarWhereInput | EvalTemplateScalarWhereInput[] } export type JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | JobConfigurationCreateWithoutProjectInput[] | JobConfigurationUncheckedCreateWithoutProjectInput[] connectOrCreate?: JobConfigurationCreateOrConnectWithoutProjectInput | JobConfigurationCreateOrConnectWithoutProjectInput[] upsert?: JobConfigurationUpsertWithWhereUniqueWithoutProjectInput | JobConfigurationUpsertWithWhereUniqueWithoutProjectInput[] createMany?: JobConfigurationCreateManyProjectInputEnvelope set?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] disconnect?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] delete?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] connect?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] update?: JobConfigurationUpdateWithWhereUniqueWithoutProjectInput | JobConfigurationUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: JobConfigurationUpdateManyWithWhereWithoutProjectInput | JobConfigurationUpdateManyWithWhereWithoutProjectInput[] deleteMany?: JobConfigurationScalarWhereInput | JobConfigurationScalarWhereInput[] } export type JobExecutionUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | JobExecutionCreateWithoutProjectInput[] | JobExecutionUncheckedCreateWithoutProjectInput[] connectOrCreate?: JobExecutionCreateOrConnectWithoutProjectInput | JobExecutionCreateOrConnectWithoutProjectInput[] upsert?: JobExecutionUpsertWithWhereUniqueWithoutProjectInput | JobExecutionUpsertWithWhereUniqueWithoutProjectInput[] createMany?: JobExecutionCreateManyProjectInputEnvelope set?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] disconnect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] delete?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] connect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] update?: JobExecutionUpdateWithWhereUniqueWithoutProjectInput | JobExecutionUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: JobExecutionUpdateManyWithWhereWithoutProjectInput | JobExecutionUpdateManyWithWhereWithoutProjectInput[] deleteMany?: JobExecutionScalarWhereInput | JobExecutionScalarWhereInput[] } export type LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | LlmApiKeysCreateWithoutProjectInput[] | LlmApiKeysUncheckedCreateWithoutProjectInput[] connectOrCreate?: LlmApiKeysCreateOrConnectWithoutProjectInput | LlmApiKeysCreateOrConnectWithoutProjectInput[] upsert?: LlmApiKeysUpsertWithWhereUniqueWithoutProjectInput | LlmApiKeysUpsertWithWhereUniqueWithoutProjectInput[] createMany?: LlmApiKeysCreateManyProjectInputEnvelope set?: LlmApiKeysWhereUniqueInput | LlmApiKeysWhereUniqueInput[] disconnect?: LlmApiKeysWhereUniqueInput | LlmApiKeysWhereUniqueInput[] delete?: LlmApiKeysWhereUniqueInput | LlmApiKeysWhereUniqueInput[] connect?: LlmApiKeysWhereUniqueInput | LlmApiKeysWhereUniqueInput[] update?: LlmApiKeysUpdateWithWhereUniqueWithoutProjectInput | LlmApiKeysUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: LlmApiKeysUpdateManyWithWhereWithoutProjectInput | LlmApiKeysUpdateManyWithWhereWithoutProjectInput[] deleteMany?: LlmApiKeysScalarWhereInput | LlmApiKeysScalarWhereInput[] } export type PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | PosthogIntegrationCreateWithoutProjectInput[] | PosthogIntegrationUncheckedCreateWithoutProjectInput[] connectOrCreate?: PosthogIntegrationCreateOrConnectWithoutProjectInput | PosthogIntegrationCreateOrConnectWithoutProjectInput[] upsert?: PosthogIntegrationUpsertWithWhereUniqueWithoutProjectInput | PosthogIntegrationUpsertWithWhereUniqueWithoutProjectInput[] createMany?: PosthogIntegrationCreateManyProjectInputEnvelope set?: PosthogIntegrationWhereUniqueInput | PosthogIntegrationWhereUniqueInput[] disconnect?: PosthogIntegrationWhereUniqueInput | PosthogIntegrationWhereUniqueInput[] delete?: PosthogIntegrationWhereUniqueInput | PosthogIntegrationWhereUniqueInput[] connect?: PosthogIntegrationWhereUniqueInput | PosthogIntegrationWhereUniqueInput[] update?: PosthogIntegrationUpdateWithWhereUniqueWithoutProjectInput | PosthogIntegrationUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: PosthogIntegrationUpdateManyWithWhereWithoutProjectInput | PosthogIntegrationUpdateManyWithWhereWithoutProjectInput[] deleteMany?: PosthogIntegrationScalarWhereInput | PosthogIntegrationScalarWhereInput[] } export type BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | BlobStorageIntegrationCreateWithoutProjectInput[] | BlobStorageIntegrationUncheckedCreateWithoutProjectInput[] connectOrCreate?: BlobStorageIntegrationCreateOrConnectWithoutProjectInput | BlobStorageIntegrationCreateOrConnectWithoutProjectInput[] upsert?: BlobStorageIntegrationUpsertWithWhereUniqueWithoutProjectInput | BlobStorageIntegrationUpsertWithWhereUniqueWithoutProjectInput[] createMany?: BlobStorageIntegrationCreateManyProjectInputEnvelope set?: BlobStorageIntegrationWhereUniqueInput | BlobStorageIntegrationWhereUniqueInput[] disconnect?: BlobStorageIntegrationWhereUniqueInput | BlobStorageIntegrationWhereUniqueInput[] delete?: BlobStorageIntegrationWhereUniqueInput | BlobStorageIntegrationWhereUniqueInput[] connect?: BlobStorageIntegrationWhereUniqueInput | BlobStorageIntegrationWhereUniqueInput[] update?: BlobStorageIntegrationUpdateWithWhereUniqueWithoutProjectInput | BlobStorageIntegrationUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: BlobStorageIntegrationUpdateManyWithWhereWithoutProjectInput | BlobStorageIntegrationUpdateManyWithWhereWithoutProjectInput[] deleteMany?: BlobStorageIntegrationScalarWhereInput | BlobStorageIntegrationScalarWhereInput[] } export type ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | ScoreConfigCreateWithoutProjectInput[] | ScoreConfigUncheckedCreateWithoutProjectInput[] connectOrCreate?: ScoreConfigCreateOrConnectWithoutProjectInput | ScoreConfigCreateOrConnectWithoutProjectInput[] upsert?: ScoreConfigUpsertWithWhereUniqueWithoutProjectInput | ScoreConfigUpsertWithWhereUniqueWithoutProjectInput[] createMany?: ScoreConfigCreateManyProjectInputEnvelope set?: ScoreConfigWhereUniqueInput | ScoreConfigWhereUniqueInput[] disconnect?: ScoreConfigWhereUniqueInput | ScoreConfigWhereUniqueInput[] delete?: ScoreConfigWhereUniqueInput | ScoreConfigWhereUniqueInput[] connect?: ScoreConfigWhereUniqueInput | ScoreConfigWhereUniqueInput[] update?: ScoreConfigUpdateWithWhereUniqueWithoutProjectInput | ScoreConfigUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: ScoreConfigUpdateManyWithWhereWithoutProjectInput | ScoreConfigUpdateManyWithWhereWithoutProjectInput[] deleteMany?: ScoreConfigScalarWhereInput | ScoreConfigScalarWhereInput[] } export type BatchExportUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | BatchExportCreateWithoutProjectInput[] | BatchExportUncheckedCreateWithoutProjectInput[] connectOrCreate?: BatchExportCreateOrConnectWithoutProjectInput | BatchExportCreateOrConnectWithoutProjectInput[] upsert?: BatchExportUpsertWithWhereUniqueWithoutProjectInput | BatchExportUpsertWithWhereUniqueWithoutProjectInput[] createMany?: BatchExportCreateManyProjectInputEnvelope set?: BatchExportWhereUniqueInput | BatchExportWhereUniqueInput[] disconnect?: BatchExportWhereUniqueInput | BatchExportWhereUniqueInput[] delete?: BatchExportWhereUniqueInput | BatchExportWhereUniqueInput[] connect?: BatchExportWhereUniqueInput | BatchExportWhereUniqueInput[] update?: BatchExportUpdateWithWhereUniqueWithoutProjectInput | BatchExportUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: BatchExportUpdateManyWithWhereWithoutProjectInput | BatchExportUpdateManyWithWhereWithoutProjectInput[] deleteMany?: BatchExportScalarWhereInput | BatchExportScalarWhereInput[] } export type CommentUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | CommentCreateWithoutProjectInput[] | CommentUncheckedCreateWithoutProjectInput[] connectOrCreate?: CommentCreateOrConnectWithoutProjectInput | CommentCreateOrConnectWithoutProjectInput[] upsert?: CommentUpsertWithWhereUniqueWithoutProjectInput | CommentUpsertWithWhereUniqueWithoutProjectInput[] createMany?: CommentCreateManyProjectInputEnvelope set?: CommentWhereUniqueInput | CommentWhereUniqueInput[] disconnect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] delete?: CommentWhereUniqueInput | CommentWhereUniqueInput[] connect?: CommentWhereUniqueInput | CommentWhereUniqueInput[] update?: CommentUpdateWithWhereUniqueWithoutProjectInput | CommentUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: CommentUpdateManyWithWhereWithoutProjectInput | CommentUpdateManyWithWhereWithoutProjectInput[] deleteMany?: CommentScalarWhereInput | CommentScalarWhereInput[] } export type AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | AnnotationQueueCreateWithoutProjectInput[] | AnnotationQueueUncheckedCreateWithoutProjectInput[] connectOrCreate?: AnnotationQueueCreateOrConnectWithoutProjectInput | AnnotationQueueCreateOrConnectWithoutProjectInput[] upsert?: AnnotationQueueUpsertWithWhereUniqueWithoutProjectInput | AnnotationQueueUpsertWithWhereUniqueWithoutProjectInput[] createMany?: AnnotationQueueCreateManyProjectInputEnvelope set?: AnnotationQueueWhereUniqueInput | AnnotationQueueWhereUniqueInput[] disconnect?: AnnotationQueueWhereUniqueInput | AnnotationQueueWhereUniqueInput[] delete?: AnnotationQueueWhereUniqueInput | AnnotationQueueWhereUniqueInput[] connect?: AnnotationQueueWhereUniqueInput | AnnotationQueueWhereUniqueInput[] update?: AnnotationQueueUpdateWithWhereUniqueWithoutProjectInput | AnnotationQueueUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: AnnotationQueueUpdateManyWithWhereWithoutProjectInput | AnnotationQueueUpdateManyWithWhereWithoutProjectInput[] deleteMany?: AnnotationQueueScalarWhereInput | AnnotationQueueScalarWhereInput[] } export type AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | AnnotationQueueItemCreateWithoutProjectInput[] | AnnotationQueueItemUncheckedCreateWithoutProjectInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutProjectInput | AnnotationQueueItemCreateOrConnectWithoutProjectInput[] upsert?: AnnotationQueueItemUpsertWithWhereUniqueWithoutProjectInput | AnnotationQueueItemUpsertWithWhereUniqueWithoutProjectInput[] createMany?: AnnotationQueueItemCreateManyProjectInputEnvelope set?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] disconnect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] delete?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] update?: AnnotationQueueItemUpdateWithWhereUniqueWithoutProjectInput | AnnotationQueueItemUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: AnnotationQueueItemUpdateManyWithWhereWithoutProjectInput | AnnotationQueueItemUpdateManyWithWhereWithoutProjectInput[] deleteMany?: AnnotationQueueItemScalarWhereInput | AnnotationQueueItemScalarWhereInput[] } export type TraceMediaUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | TraceMediaCreateWithoutProjectInput[] | TraceMediaUncheckedCreateWithoutProjectInput[] connectOrCreate?: TraceMediaCreateOrConnectWithoutProjectInput | TraceMediaCreateOrConnectWithoutProjectInput[] upsert?: TraceMediaUpsertWithWhereUniqueWithoutProjectInput | TraceMediaUpsertWithWhereUniqueWithoutProjectInput[] createMany?: TraceMediaCreateManyProjectInputEnvelope set?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] disconnect?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] delete?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] connect?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] update?: TraceMediaUpdateWithWhereUniqueWithoutProjectInput | TraceMediaUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: TraceMediaUpdateManyWithWhereWithoutProjectInput | TraceMediaUpdateManyWithWhereWithoutProjectInput[] deleteMany?: TraceMediaScalarWhereInput | TraceMediaScalarWhereInput[] } export type MediaUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | MediaCreateWithoutProjectInput[] | MediaUncheckedCreateWithoutProjectInput[] connectOrCreate?: MediaCreateOrConnectWithoutProjectInput | MediaCreateOrConnectWithoutProjectInput[] upsert?: MediaUpsertWithWhereUniqueWithoutProjectInput | MediaUpsertWithWhereUniqueWithoutProjectInput[] createMany?: MediaCreateManyProjectInputEnvelope set?: MediaWhereUniqueInput | MediaWhereUniqueInput[] disconnect?: MediaWhereUniqueInput | MediaWhereUniqueInput[] delete?: MediaWhereUniqueInput | MediaWhereUniqueInput[] connect?: MediaWhereUniqueInput | MediaWhereUniqueInput[] update?: MediaUpdateWithWhereUniqueWithoutProjectInput | MediaUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: MediaUpdateManyWithWhereWithoutProjectInput | MediaUpdateManyWithWhereWithoutProjectInput[] deleteMany?: MediaScalarWhereInput | MediaScalarWhereInput[] } export type ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | ObservationMediaCreateWithoutProjectInput[] | ObservationMediaUncheckedCreateWithoutProjectInput[] connectOrCreate?: ObservationMediaCreateOrConnectWithoutProjectInput | ObservationMediaCreateOrConnectWithoutProjectInput[] upsert?: ObservationMediaUpsertWithWhereUniqueWithoutProjectInput | ObservationMediaUpsertWithWhereUniqueWithoutProjectInput[] createMany?: ObservationMediaCreateManyProjectInputEnvelope set?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] disconnect?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] delete?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] connect?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] update?: ObservationMediaUpdateWithWhereUniqueWithoutProjectInput | ObservationMediaUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: ObservationMediaUpdateManyWithWhereWithoutProjectInput | ObservationMediaUpdateManyWithWhereWithoutProjectInput[] deleteMany?: ObservationMediaScalarWhereInput | ObservationMediaScalarWhereInput[] } export type LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | LegacyPrismaTraceCreateWithoutProjectInput[] | LegacyPrismaTraceUncheckedCreateWithoutProjectInput[] connectOrCreate?: LegacyPrismaTraceCreateOrConnectWithoutProjectInput | LegacyPrismaTraceCreateOrConnectWithoutProjectInput[] upsert?: LegacyPrismaTraceUpsertWithWhereUniqueWithoutProjectInput | LegacyPrismaTraceUpsertWithWhereUniqueWithoutProjectInput[] createMany?: LegacyPrismaTraceCreateManyProjectInputEnvelope set?: LegacyPrismaTraceWhereUniqueInput | LegacyPrismaTraceWhereUniqueInput[] disconnect?: LegacyPrismaTraceWhereUniqueInput | LegacyPrismaTraceWhereUniqueInput[] delete?: LegacyPrismaTraceWhereUniqueInput | LegacyPrismaTraceWhereUniqueInput[] connect?: LegacyPrismaTraceWhereUniqueInput | LegacyPrismaTraceWhereUniqueInput[] update?: LegacyPrismaTraceUpdateWithWhereUniqueWithoutProjectInput | LegacyPrismaTraceUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: LegacyPrismaTraceUpdateManyWithWhereWithoutProjectInput | LegacyPrismaTraceUpdateManyWithWhereWithoutProjectInput[] deleteMany?: LegacyPrismaTraceScalarWhereInput | LegacyPrismaTraceScalarWhereInput[] } export type LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | LegacyPrismaObservationCreateWithoutProjectInput[] | LegacyPrismaObservationUncheckedCreateWithoutProjectInput[] connectOrCreate?: LegacyPrismaObservationCreateOrConnectWithoutProjectInput | LegacyPrismaObservationCreateOrConnectWithoutProjectInput[] upsert?: LegacyPrismaObservationUpsertWithWhereUniqueWithoutProjectInput | LegacyPrismaObservationUpsertWithWhereUniqueWithoutProjectInput[] createMany?: LegacyPrismaObservationCreateManyProjectInputEnvelope set?: LegacyPrismaObservationWhereUniqueInput | LegacyPrismaObservationWhereUniqueInput[] disconnect?: LegacyPrismaObservationWhereUniqueInput | LegacyPrismaObservationWhereUniqueInput[] delete?: LegacyPrismaObservationWhereUniqueInput | LegacyPrismaObservationWhereUniqueInput[] connect?: LegacyPrismaObservationWhereUniqueInput | LegacyPrismaObservationWhereUniqueInput[] update?: LegacyPrismaObservationUpdateWithWhereUniqueWithoutProjectInput | LegacyPrismaObservationUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: LegacyPrismaObservationUpdateManyWithWhereWithoutProjectInput | LegacyPrismaObservationUpdateManyWithWhereWithoutProjectInput[] deleteMany?: LegacyPrismaObservationScalarWhereInput | LegacyPrismaObservationScalarWhereInput[] } export type LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | LegacyPrismaScoreCreateWithoutProjectInput[] | LegacyPrismaScoreUncheckedCreateWithoutProjectInput[] connectOrCreate?: LegacyPrismaScoreCreateOrConnectWithoutProjectInput | LegacyPrismaScoreCreateOrConnectWithoutProjectInput[] upsert?: LegacyPrismaScoreUpsertWithWhereUniqueWithoutProjectInput | LegacyPrismaScoreUpsertWithWhereUniqueWithoutProjectInput[] createMany?: LegacyPrismaScoreCreateManyProjectInputEnvelope set?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] disconnect?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] delete?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] connect?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] update?: LegacyPrismaScoreUpdateWithWhereUniqueWithoutProjectInput | LegacyPrismaScoreUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: LegacyPrismaScoreUpdateManyWithWhereWithoutProjectInput | LegacyPrismaScoreUpdateManyWithWhereWithoutProjectInput[] deleteMany?: LegacyPrismaScoreScalarWhereInput | LegacyPrismaScoreScalarWhereInput[] } export type PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | PromptDependencyCreateWithoutProjectInput[] | PromptDependencyUncheckedCreateWithoutProjectInput[] connectOrCreate?: PromptDependencyCreateOrConnectWithoutProjectInput | PromptDependencyCreateOrConnectWithoutProjectInput[] upsert?: PromptDependencyUpsertWithWhereUniqueWithoutProjectInput | PromptDependencyUpsertWithWhereUniqueWithoutProjectInput[] createMany?: PromptDependencyCreateManyProjectInputEnvelope set?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] disconnect?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] delete?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] connect?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] update?: PromptDependencyUpdateWithWhereUniqueWithoutProjectInput | PromptDependencyUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: PromptDependencyUpdateManyWithWhereWithoutProjectInput | PromptDependencyUpdateManyWithWhereWithoutProjectInput[] deleteMany?: PromptDependencyScalarWhereInput | PromptDependencyScalarWhereInput[] } export type LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | LlmSchemaCreateWithoutProjectInput[] | LlmSchemaUncheckedCreateWithoutProjectInput[] connectOrCreate?: LlmSchemaCreateOrConnectWithoutProjectInput | LlmSchemaCreateOrConnectWithoutProjectInput[] upsert?: LlmSchemaUpsertWithWhereUniqueWithoutProjectInput | LlmSchemaUpsertWithWhereUniqueWithoutProjectInput[] createMany?: LlmSchemaCreateManyProjectInputEnvelope set?: LlmSchemaWhereUniqueInput | LlmSchemaWhereUniqueInput[] disconnect?: LlmSchemaWhereUniqueInput | LlmSchemaWhereUniqueInput[] delete?: LlmSchemaWhereUniqueInput | LlmSchemaWhereUniqueInput[] connect?: LlmSchemaWhereUniqueInput | LlmSchemaWhereUniqueInput[] update?: LlmSchemaUpdateWithWhereUniqueWithoutProjectInput | LlmSchemaUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: LlmSchemaUpdateManyWithWhereWithoutProjectInput | LlmSchemaUpdateManyWithWhereWithoutProjectInput[] deleteMany?: LlmSchemaScalarWhereInput | LlmSchemaScalarWhereInput[] } export type LlmToolUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | LlmToolCreateWithoutProjectInput[] | LlmToolUncheckedCreateWithoutProjectInput[] connectOrCreate?: LlmToolCreateOrConnectWithoutProjectInput | LlmToolCreateOrConnectWithoutProjectInput[] upsert?: LlmToolUpsertWithWhereUniqueWithoutProjectInput | LlmToolUpsertWithWhereUniqueWithoutProjectInput[] createMany?: LlmToolCreateManyProjectInputEnvelope set?: LlmToolWhereUniqueInput | LlmToolWhereUniqueInput[] disconnect?: LlmToolWhereUniqueInput | LlmToolWhereUniqueInput[] delete?: LlmToolWhereUniqueInput | LlmToolWhereUniqueInput[] connect?: LlmToolWhereUniqueInput | LlmToolWhereUniqueInput[] update?: LlmToolUpdateWithWhereUniqueWithoutProjectInput | LlmToolUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: LlmToolUpdateManyWithWhereWithoutProjectInput | LlmToolUpdateManyWithWhereWithoutProjectInput[] deleteMany?: LlmToolScalarWhereInput | LlmToolScalarWhereInput[] } export type PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | PromptProtectedLabelsCreateWithoutProjectInput[] | PromptProtectedLabelsUncheckedCreateWithoutProjectInput[] connectOrCreate?: PromptProtectedLabelsCreateOrConnectWithoutProjectInput | PromptProtectedLabelsCreateOrConnectWithoutProjectInput[] upsert?: PromptProtectedLabelsUpsertWithWhereUniqueWithoutProjectInput | PromptProtectedLabelsUpsertWithWhereUniqueWithoutProjectInput[] createMany?: PromptProtectedLabelsCreateManyProjectInputEnvelope set?: PromptProtectedLabelsWhereUniqueInput | PromptProtectedLabelsWhereUniqueInput[] disconnect?: PromptProtectedLabelsWhereUniqueInput | PromptProtectedLabelsWhereUniqueInput[] delete?: PromptProtectedLabelsWhereUniqueInput | PromptProtectedLabelsWhereUniqueInput[] connect?: PromptProtectedLabelsWhereUniqueInput | PromptProtectedLabelsWhereUniqueInput[] update?: PromptProtectedLabelsUpdateWithWhereUniqueWithoutProjectInput | PromptProtectedLabelsUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: PromptProtectedLabelsUpdateManyWithWhereWithoutProjectInput | PromptProtectedLabelsUpdateManyWithWhereWithoutProjectInput[] deleteMany?: PromptProtectedLabelsScalarWhereInput | PromptProtectedLabelsScalarWhereInput[] } export type DashboardUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | DashboardCreateWithoutProjectInput[] | DashboardUncheckedCreateWithoutProjectInput[] connectOrCreate?: DashboardCreateOrConnectWithoutProjectInput | DashboardCreateOrConnectWithoutProjectInput[] upsert?: DashboardUpsertWithWhereUniqueWithoutProjectInput | DashboardUpsertWithWhereUniqueWithoutProjectInput[] createMany?: DashboardCreateManyProjectInputEnvelope set?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] disconnect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] delete?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] connect?: DashboardWhereUniqueInput | DashboardWhereUniqueInput[] update?: DashboardUpdateWithWhereUniqueWithoutProjectInput | DashboardUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: DashboardUpdateManyWithWhereWithoutProjectInput | DashboardUpdateManyWithWhereWithoutProjectInput[] deleteMany?: DashboardScalarWhereInput | DashboardScalarWhereInput[] } export type DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | DashboardWidgetCreateWithoutProjectInput[] | DashboardWidgetUncheckedCreateWithoutProjectInput[] connectOrCreate?: DashboardWidgetCreateOrConnectWithoutProjectInput | DashboardWidgetCreateOrConnectWithoutProjectInput[] upsert?: DashboardWidgetUpsertWithWhereUniqueWithoutProjectInput | DashboardWidgetUpsertWithWhereUniqueWithoutProjectInput[] createMany?: DashboardWidgetCreateManyProjectInputEnvelope set?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] disconnect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] delete?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] connect?: DashboardWidgetWhereUniqueInput | DashboardWidgetWhereUniqueInput[] update?: DashboardWidgetUpdateWithWhereUniqueWithoutProjectInput | DashboardWidgetUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: DashboardWidgetUpdateManyWithWhereWithoutProjectInput | DashboardWidgetUpdateManyWithWhereWithoutProjectInput[] deleteMany?: DashboardWidgetScalarWhereInput | DashboardWidgetScalarWhereInput[] } export type TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | TableViewPresetCreateWithoutProjectInput[] | TableViewPresetUncheckedCreateWithoutProjectInput[] connectOrCreate?: TableViewPresetCreateOrConnectWithoutProjectInput | TableViewPresetCreateOrConnectWithoutProjectInput[] upsert?: TableViewPresetUpsertWithWhereUniqueWithoutProjectInput | TableViewPresetUpsertWithWhereUniqueWithoutProjectInput[] createMany?: TableViewPresetCreateManyProjectInputEnvelope set?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] disconnect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] delete?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] connect?: TableViewPresetWhereUniqueInput | TableViewPresetWhereUniqueInput[] update?: TableViewPresetUpdateWithWhereUniqueWithoutProjectInput | TableViewPresetUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: TableViewPresetUpdateManyWithWhereWithoutProjectInput | TableViewPresetUpdateManyWithWhereWithoutProjectInput[] deleteMany?: TableViewPresetScalarWhereInput | TableViewPresetScalarWhereInput[] } export type ActionUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | ActionCreateWithoutProjectInput[] | ActionUncheckedCreateWithoutProjectInput[] connectOrCreate?: ActionCreateOrConnectWithoutProjectInput | ActionCreateOrConnectWithoutProjectInput[] upsert?: ActionUpsertWithWhereUniqueWithoutProjectInput | ActionUpsertWithWhereUniqueWithoutProjectInput[] createMany?: ActionCreateManyProjectInputEnvelope set?: ActionWhereUniqueInput | ActionWhereUniqueInput[] disconnect?: ActionWhereUniqueInput | ActionWhereUniqueInput[] delete?: ActionWhereUniqueInput | ActionWhereUniqueInput[] connect?: ActionWhereUniqueInput | ActionWhereUniqueInput[] update?: ActionUpdateWithWhereUniqueWithoutProjectInput | ActionUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: ActionUpdateManyWithWhereWithoutProjectInput | ActionUpdateManyWithWhereWithoutProjectInput[] deleteMany?: ActionScalarWhereInput | ActionScalarWhereInput[] } export type TriggerUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | TriggerCreateWithoutProjectInput[] | TriggerUncheckedCreateWithoutProjectInput[] connectOrCreate?: TriggerCreateOrConnectWithoutProjectInput | TriggerCreateOrConnectWithoutProjectInput[] upsert?: TriggerUpsertWithWhereUniqueWithoutProjectInput | TriggerUpsertWithWhereUniqueWithoutProjectInput[] createMany?: TriggerCreateManyProjectInputEnvelope set?: TriggerWhereUniqueInput | TriggerWhereUniqueInput[] disconnect?: TriggerWhereUniqueInput | TriggerWhereUniqueInput[] delete?: TriggerWhereUniqueInput | TriggerWhereUniqueInput[] connect?: TriggerWhereUniqueInput | TriggerWhereUniqueInput[] update?: TriggerUpdateWithWhereUniqueWithoutProjectInput | TriggerUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: TriggerUpdateManyWithWhereWithoutProjectInput | TriggerUpdateManyWithWhereWithoutProjectInput[] deleteMany?: TriggerScalarWhereInput | TriggerScalarWhereInput[] } export type AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | AutomationExecutionCreateWithoutProjectInput[] | AutomationExecutionUncheckedCreateWithoutProjectInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutProjectInput | AutomationExecutionCreateOrConnectWithoutProjectInput[] upsert?: AutomationExecutionUpsertWithWhereUniqueWithoutProjectInput | AutomationExecutionUpsertWithWhereUniqueWithoutProjectInput[] createMany?: AutomationExecutionCreateManyProjectInputEnvelope set?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] disconnect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] delete?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] update?: AutomationExecutionUpdateWithWhereUniqueWithoutProjectInput | AutomationExecutionUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: AutomationExecutionUpdateManyWithWhereWithoutProjectInput | AutomationExecutionUpdateManyWithWhereWithoutProjectInput[] deleteMany?: AutomationExecutionScalarWhereInput | AutomationExecutionScalarWhereInput[] } export type AutomationUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | AutomationCreateWithoutProjectInput[] | AutomationUncheckedCreateWithoutProjectInput[] connectOrCreate?: AutomationCreateOrConnectWithoutProjectInput | AutomationCreateOrConnectWithoutProjectInput[] upsert?: AutomationUpsertWithWhereUniqueWithoutProjectInput | AutomationUpsertWithWhereUniqueWithoutProjectInput[] createMany?: AutomationCreateManyProjectInputEnvelope set?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] disconnect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] delete?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] connect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] update?: AutomationUpdateWithWhereUniqueWithoutProjectInput | AutomationUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: AutomationUpdateManyWithWhereWithoutProjectInput | AutomationUpdateManyWithWhereWithoutProjectInput[] deleteMany?: AutomationScalarWhereInput | AutomationScalarWhereInput[] } export type DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | DefaultLlmModelCreateWithoutProjectInput[] | DefaultLlmModelUncheckedCreateWithoutProjectInput[] connectOrCreate?: DefaultLlmModelCreateOrConnectWithoutProjectInput | DefaultLlmModelCreateOrConnectWithoutProjectInput[] upsert?: DefaultLlmModelUpsertWithWhereUniqueWithoutProjectInput | DefaultLlmModelUpsertWithWhereUniqueWithoutProjectInput[] createMany?: DefaultLlmModelCreateManyProjectInputEnvelope set?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] disconnect?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] delete?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] connect?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] update?: DefaultLlmModelUpdateWithWhereUniqueWithoutProjectInput | DefaultLlmModelUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: DefaultLlmModelUpdateManyWithWhereWithoutProjectInput | DefaultLlmModelUpdateManyWithWhereWithoutProjectInput[] deleteMany?: DefaultLlmModelScalarWhereInput | DefaultLlmModelScalarWhereInput[] } export type PriceUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | PriceCreateWithoutProjectInput[] | PriceUncheckedCreateWithoutProjectInput[] connectOrCreate?: PriceCreateOrConnectWithoutProjectInput | PriceCreateOrConnectWithoutProjectInput[] upsert?: PriceUpsertWithWhereUniqueWithoutProjectInput | PriceUpsertWithWhereUniqueWithoutProjectInput[] createMany?: PriceCreateManyProjectInputEnvelope set?: PriceWhereUniqueInput | PriceWhereUniqueInput[] disconnect?: PriceWhereUniqueInput | PriceWhereUniqueInput[] delete?: PriceWhereUniqueInput | PriceWhereUniqueInput[] connect?: PriceWhereUniqueInput | PriceWhereUniqueInput[] update?: PriceUpdateWithWhereUniqueWithoutProjectInput | PriceUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: PriceUpdateManyWithWhereWithoutProjectInput | PriceUpdateManyWithWhereWithoutProjectInput[] deleteMany?: PriceScalarWhereInput | PriceScalarWhereInput[] } export type SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput = { create?: XOR connectOrCreate?: SlackIntegrationCreateOrConnectWithoutProjectInput upsert?: SlackIntegrationUpsertWithoutProjectInput disconnect?: SlackIntegrationWhereInput | boolean delete?: SlackIntegrationWhereInput | boolean connect?: SlackIntegrationWhereUniqueInput update?: XOR, SlackIntegrationUncheckedUpdateWithoutProjectInput> } export type PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | PendingDeletionCreateWithoutProjectInput[] | PendingDeletionUncheckedCreateWithoutProjectInput[] connectOrCreate?: PendingDeletionCreateOrConnectWithoutProjectInput | PendingDeletionCreateOrConnectWithoutProjectInput[] upsert?: PendingDeletionUpsertWithWhereUniqueWithoutProjectInput | PendingDeletionUpsertWithWhereUniqueWithoutProjectInput[] createMany?: PendingDeletionCreateManyProjectInputEnvelope set?: PendingDeletionWhereUniqueInput | PendingDeletionWhereUniqueInput[] disconnect?: PendingDeletionWhereUniqueInput | PendingDeletionWhereUniqueInput[] delete?: PendingDeletionWhereUniqueInput | PendingDeletionWhereUniqueInput[] connect?: PendingDeletionWhereUniqueInput | PendingDeletionWhereUniqueInput[] update?: PendingDeletionUpdateWithWhereUniqueWithoutProjectInput | PendingDeletionUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: PendingDeletionUpdateManyWithWhereWithoutProjectInput | PendingDeletionUpdateManyWithWhereWithoutProjectInput[] deleteMany?: PendingDeletionScalarWhereInput | PendingDeletionScalarWhereInput[] } export type AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | AnnotationQueueAssignmentCreateWithoutProjectInput[] | AnnotationQueueAssignmentUncheckedCreateWithoutProjectInput[] connectOrCreate?: AnnotationQueueAssignmentCreateOrConnectWithoutProjectInput | AnnotationQueueAssignmentCreateOrConnectWithoutProjectInput[] upsert?: AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutProjectInput | AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutProjectInput[] createMany?: AnnotationQueueAssignmentCreateManyProjectInputEnvelope set?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] disconnect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] delete?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] connect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] update?: AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutProjectInput | AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: AnnotationQueueAssignmentUpdateManyWithWhereWithoutProjectInput | AnnotationQueueAssignmentUpdateManyWithWhereWithoutProjectInput[] deleteMany?: AnnotationQueueAssignmentScalarWhereInput | AnnotationQueueAssignmentScalarWhereInput[] } export type ProjectCreateNestedOneWithoutApiKeysInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutApiKeysInput connect?: ProjectWhereUniqueInput } export type OrganizationCreateNestedOneWithoutApiKeyInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutApiKeyInput connect?: OrganizationWhereUniqueInput } export type EnumApiKeyScopeFieldUpdateOperationsInput = { set?: $Enums.ApiKeyScope } export type ProjectUpdateOneWithoutApiKeysNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutApiKeysInput upsert?: ProjectUpsertWithoutApiKeysInput disconnect?: ProjectWhereInput | boolean delete?: ProjectWhereInput | boolean connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutApiKeysInput> } export type OrganizationUpdateOneWithoutApiKeyNestedInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutApiKeyInput upsert?: OrganizationUpsertWithoutApiKeyInput disconnect?: OrganizationWhereInput | boolean delete?: OrganizationWhereInput | boolean connect?: OrganizationWhereUniqueInput update?: XOR, OrganizationUncheckedUpdateWithoutApiKeyInput> } export type LlmApiKeysCreatecustomModelsInput = { set: string[] } export type LlmApiKeysCreateextraHeaderKeysInput = { set: string[] } export type ProjectCreateNestedOneWithoutLlmApiKeysInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutLlmApiKeysInput connect?: ProjectWhereUniqueInput } export type DefaultLlmModelCreateNestedManyWithoutLlmApiKeyInput = { create?: XOR | DefaultLlmModelCreateWithoutLlmApiKeyInput[] | DefaultLlmModelUncheckedCreateWithoutLlmApiKeyInput[] connectOrCreate?: DefaultLlmModelCreateOrConnectWithoutLlmApiKeyInput | DefaultLlmModelCreateOrConnectWithoutLlmApiKeyInput[] createMany?: DefaultLlmModelCreateManyLlmApiKeyInputEnvelope connect?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] } export type DefaultLlmModelUncheckedCreateNestedManyWithoutLlmApiKeyInput = { create?: XOR | DefaultLlmModelCreateWithoutLlmApiKeyInput[] | DefaultLlmModelUncheckedCreateWithoutLlmApiKeyInput[] connectOrCreate?: DefaultLlmModelCreateOrConnectWithoutLlmApiKeyInput | DefaultLlmModelCreateOrConnectWithoutLlmApiKeyInput[] createMany?: DefaultLlmModelCreateManyLlmApiKeyInputEnvelope connect?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] } export type LlmApiKeysUpdatecustomModelsInput = { set?: string[] push?: string | string[] } export type LlmApiKeysUpdateextraHeaderKeysInput = { set?: string[] push?: string | string[] } export type ProjectUpdateOneRequiredWithoutLlmApiKeysNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutLlmApiKeysInput upsert?: ProjectUpsertWithoutLlmApiKeysInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutLlmApiKeysInput> } export type DefaultLlmModelUpdateManyWithoutLlmApiKeyNestedInput = { create?: XOR | DefaultLlmModelCreateWithoutLlmApiKeyInput[] | DefaultLlmModelUncheckedCreateWithoutLlmApiKeyInput[] connectOrCreate?: DefaultLlmModelCreateOrConnectWithoutLlmApiKeyInput | DefaultLlmModelCreateOrConnectWithoutLlmApiKeyInput[] upsert?: DefaultLlmModelUpsertWithWhereUniqueWithoutLlmApiKeyInput | DefaultLlmModelUpsertWithWhereUniqueWithoutLlmApiKeyInput[] createMany?: DefaultLlmModelCreateManyLlmApiKeyInputEnvelope set?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] disconnect?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] delete?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] connect?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] update?: DefaultLlmModelUpdateWithWhereUniqueWithoutLlmApiKeyInput | DefaultLlmModelUpdateWithWhereUniqueWithoutLlmApiKeyInput[] updateMany?: DefaultLlmModelUpdateManyWithWhereWithoutLlmApiKeyInput | DefaultLlmModelUpdateManyWithWhereWithoutLlmApiKeyInput[] deleteMany?: DefaultLlmModelScalarWhereInput | DefaultLlmModelScalarWhereInput[] } export type DefaultLlmModelUncheckedUpdateManyWithoutLlmApiKeyNestedInput = { create?: XOR | DefaultLlmModelCreateWithoutLlmApiKeyInput[] | DefaultLlmModelUncheckedCreateWithoutLlmApiKeyInput[] connectOrCreate?: DefaultLlmModelCreateOrConnectWithoutLlmApiKeyInput | DefaultLlmModelCreateOrConnectWithoutLlmApiKeyInput[] upsert?: DefaultLlmModelUpsertWithWhereUniqueWithoutLlmApiKeyInput | DefaultLlmModelUpsertWithWhereUniqueWithoutLlmApiKeyInput[] createMany?: DefaultLlmModelCreateManyLlmApiKeyInputEnvelope set?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] disconnect?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] delete?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] connect?: DefaultLlmModelWhereUniqueInput | DefaultLlmModelWhereUniqueInput[] update?: DefaultLlmModelUpdateWithWhereUniqueWithoutLlmApiKeyInput | DefaultLlmModelUpdateWithWhereUniqueWithoutLlmApiKeyInput[] updateMany?: DefaultLlmModelUpdateManyWithWhereWithoutLlmApiKeyInput | DefaultLlmModelUpdateManyWithWhereWithoutLlmApiKeyInput[] deleteMany?: DefaultLlmModelScalarWhereInput | DefaultLlmModelScalarWhereInput[] } export type OrganizationCreateNestedOneWithoutOrganizationMembershipsInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutOrganizationMembershipsInput connect?: OrganizationWhereUniqueInput } export type UserCreateNestedOneWithoutOrganizationMembershipsInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutOrganizationMembershipsInput connect?: UserWhereUniqueInput } export type ProjectMembershipCreateNestedManyWithoutOrganizationMembershipInput = { create?: XOR | ProjectMembershipCreateWithoutOrganizationMembershipInput[] | ProjectMembershipUncheckedCreateWithoutOrganizationMembershipInput[] connectOrCreate?: ProjectMembershipCreateOrConnectWithoutOrganizationMembershipInput | ProjectMembershipCreateOrConnectWithoutOrganizationMembershipInput[] createMany?: ProjectMembershipCreateManyOrganizationMembershipInputEnvelope connect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] } export type ProjectMembershipUncheckedCreateNestedManyWithoutOrganizationMembershipInput = { create?: XOR | ProjectMembershipCreateWithoutOrganizationMembershipInput[] | ProjectMembershipUncheckedCreateWithoutOrganizationMembershipInput[] connectOrCreate?: ProjectMembershipCreateOrConnectWithoutOrganizationMembershipInput | ProjectMembershipCreateOrConnectWithoutOrganizationMembershipInput[] createMany?: ProjectMembershipCreateManyOrganizationMembershipInputEnvelope connect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] } export type EnumRoleFieldUpdateOperationsInput = { set?: $Enums.Role } export type OrganizationUpdateOneRequiredWithoutOrganizationMembershipsNestedInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutOrganizationMembershipsInput upsert?: OrganizationUpsertWithoutOrganizationMembershipsInput connect?: OrganizationWhereUniqueInput update?: XOR, OrganizationUncheckedUpdateWithoutOrganizationMembershipsInput> } export type UserUpdateOneRequiredWithoutOrganizationMembershipsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutOrganizationMembershipsInput upsert?: UserUpsertWithoutOrganizationMembershipsInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutOrganizationMembershipsInput> } export type ProjectMembershipUpdateManyWithoutOrganizationMembershipNestedInput = { create?: XOR | ProjectMembershipCreateWithoutOrganizationMembershipInput[] | ProjectMembershipUncheckedCreateWithoutOrganizationMembershipInput[] connectOrCreate?: ProjectMembershipCreateOrConnectWithoutOrganizationMembershipInput | ProjectMembershipCreateOrConnectWithoutOrganizationMembershipInput[] upsert?: ProjectMembershipUpsertWithWhereUniqueWithoutOrganizationMembershipInput | ProjectMembershipUpsertWithWhereUniqueWithoutOrganizationMembershipInput[] createMany?: ProjectMembershipCreateManyOrganizationMembershipInputEnvelope set?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] disconnect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] delete?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] connect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] update?: ProjectMembershipUpdateWithWhereUniqueWithoutOrganizationMembershipInput | ProjectMembershipUpdateWithWhereUniqueWithoutOrganizationMembershipInput[] updateMany?: ProjectMembershipUpdateManyWithWhereWithoutOrganizationMembershipInput | ProjectMembershipUpdateManyWithWhereWithoutOrganizationMembershipInput[] deleteMany?: ProjectMembershipScalarWhereInput | ProjectMembershipScalarWhereInput[] } export type ProjectMembershipUncheckedUpdateManyWithoutOrganizationMembershipNestedInput = { create?: XOR | ProjectMembershipCreateWithoutOrganizationMembershipInput[] | ProjectMembershipUncheckedCreateWithoutOrganizationMembershipInput[] connectOrCreate?: ProjectMembershipCreateOrConnectWithoutOrganizationMembershipInput | ProjectMembershipCreateOrConnectWithoutOrganizationMembershipInput[] upsert?: ProjectMembershipUpsertWithWhereUniqueWithoutOrganizationMembershipInput | ProjectMembershipUpsertWithWhereUniqueWithoutOrganizationMembershipInput[] createMany?: ProjectMembershipCreateManyOrganizationMembershipInputEnvelope set?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] disconnect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] delete?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] connect?: ProjectMembershipWhereUniqueInput | ProjectMembershipWhereUniqueInput[] update?: ProjectMembershipUpdateWithWhereUniqueWithoutOrganizationMembershipInput | ProjectMembershipUpdateWithWhereUniqueWithoutOrganizationMembershipInput[] updateMany?: ProjectMembershipUpdateManyWithWhereWithoutOrganizationMembershipInput | ProjectMembershipUpdateManyWithWhereWithoutOrganizationMembershipInput[] deleteMany?: ProjectMembershipScalarWhereInput | ProjectMembershipScalarWhereInput[] } export type OrganizationMembershipCreateNestedOneWithoutProjectMembershipsInput = { create?: XOR connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutProjectMembershipsInput connect?: OrganizationMembershipWhereUniqueInput } export type ProjectCreateNestedOneWithoutProjectMembersInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutProjectMembersInput connect?: ProjectWhereUniqueInput } export type UserCreateNestedOneWithoutProjectMembershipsInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutProjectMembershipsInput connect?: UserWhereUniqueInput } export type OrganizationMembershipUpdateOneRequiredWithoutProjectMembershipsNestedInput = { create?: XOR connectOrCreate?: OrganizationMembershipCreateOrConnectWithoutProjectMembershipsInput upsert?: OrganizationMembershipUpsertWithoutProjectMembershipsInput connect?: OrganizationMembershipWhereUniqueInput update?: XOR, OrganizationMembershipUncheckedUpdateWithoutProjectMembershipsInput> } export type ProjectUpdateOneRequiredWithoutProjectMembersNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutProjectMembersInput upsert?: ProjectUpsertWithoutProjectMembersInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutProjectMembersInput> } export type UserUpdateOneRequiredWithoutProjectMembershipsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutProjectMembershipsInput upsert?: UserUpsertWithoutProjectMembershipsInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutProjectMembershipsInput> } export type OrganizationCreateNestedOneWithoutMembershipInvitationInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutMembershipInvitationInput connect?: OrganizationWhereUniqueInput } export type ProjectCreateNestedOneWithoutInvitationsInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutInvitationsInput connect?: ProjectWhereUniqueInput } export type UserCreateNestedOneWithoutInvitationsInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutInvitationsInput connect?: UserWhereUniqueInput } export type NullableEnumRoleFieldUpdateOperationsInput = { set?: $Enums.Role | null } export type OrganizationUpdateOneRequiredWithoutMembershipInvitationNestedInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutMembershipInvitationInput upsert?: OrganizationUpsertWithoutMembershipInvitationInput connect?: OrganizationWhereUniqueInput update?: XOR, OrganizationUncheckedUpdateWithoutMembershipInvitationInput> } export type ProjectUpdateOneWithoutInvitationsNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutInvitationsInput upsert?: ProjectUpsertWithoutInvitationsInput disconnect?: ProjectWhereInput | boolean delete?: ProjectWhereInput | boolean connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutInvitationsInput> } export type UserUpdateOneWithoutInvitationsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutInvitationsInput upsert?: UserUpsertWithoutInvitationsInput disconnect?: UserWhereInput | boolean delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutInvitationsInput> } export type ProjectCreateNestedOneWithoutSessionsInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutSessionsInput connect?: ProjectWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutSessionsNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutSessionsInput upsert?: ProjectUpsertWithoutSessionsInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutSessionsInput> } export type LegacyPrismaTraceCreatetagsInput = { set: string[] } export type ProjectCreateNestedOneWithoutLegacyTraceInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutLegacyTraceInput connect?: ProjectWhereUniqueInput } export type LegacyPrismaTraceUpdatetagsInput = { set?: string[] push?: string | string[] } export type ProjectUpdateOneRequiredWithoutLegacyTraceNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutLegacyTraceInput upsert?: ProjectUpsertWithoutLegacyTraceInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutLegacyTraceInput> } export type ProjectCreateNestedOneWithoutLegacyObservationInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutLegacyObservationInput connect?: ProjectWhereUniqueInput } export type EnumLegacyPrismaObservationTypeFieldUpdateOperationsInput = { set?: $Enums.LegacyPrismaObservationType } export type EnumLegacyPrismaObservationLevelFieldUpdateOperationsInput = { set?: $Enums.LegacyPrismaObservationLevel } export type IntFieldUpdateOperationsInput = { set?: number increment?: number decrement?: number multiply?: number divide?: number } export type NullableDecimalFieldUpdateOperationsInput = { set?: Decimal | DecimalJsLike | number | string | null increment?: Decimal | DecimalJsLike | number | string decrement?: Decimal | DecimalJsLike | number | string multiply?: Decimal | DecimalJsLike | number | string divide?: Decimal | DecimalJsLike | number | string } export type ProjectUpdateOneRequiredWithoutLegacyObservationNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutLegacyObservationInput upsert?: ProjectUpsertWithoutLegacyObservationInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutLegacyObservationInput> } export type ProjectCreateNestedOneWithoutLegacyScoreInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutLegacyScoreInput connect?: ProjectWhereUniqueInput } export type ScoreConfigCreateNestedOneWithoutLegacyScoreInput = { create?: XOR connectOrCreate?: ScoreConfigCreateOrConnectWithoutLegacyScoreInput connect?: ScoreConfigWhereUniqueInput } export type NullableFloatFieldUpdateOperationsInput = { set?: number | null increment?: number decrement?: number multiply?: number divide?: number } export type EnumLegacyPrismaScoreSourceFieldUpdateOperationsInput = { set?: $Enums.LegacyPrismaScoreSource } export type EnumScoreDataTypeFieldUpdateOperationsInput = { set?: $Enums.ScoreDataType } export type ProjectUpdateOneRequiredWithoutLegacyScoreNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutLegacyScoreInput upsert?: ProjectUpsertWithoutLegacyScoreInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutLegacyScoreInput> } export type ScoreConfigUpdateOneWithoutLegacyScoreNestedInput = { create?: XOR connectOrCreate?: ScoreConfigCreateOrConnectWithoutLegacyScoreInput upsert?: ScoreConfigUpsertWithoutLegacyScoreInput disconnect?: ScoreConfigWhereInput | boolean delete?: ScoreConfigWhereInput | boolean connect?: ScoreConfigWhereUniqueInput update?: XOR, ScoreConfigUncheckedUpdateWithoutLegacyScoreInput> } export type ProjectCreateNestedOneWithoutScoreConfigInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutScoreConfigInput connect?: ProjectWhereUniqueInput } export type LegacyPrismaScoreCreateNestedManyWithoutScoreConfigInput = { create?: XOR | LegacyPrismaScoreCreateWithoutScoreConfigInput[] | LegacyPrismaScoreUncheckedCreateWithoutScoreConfigInput[] connectOrCreate?: LegacyPrismaScoreCreateOrConnectWithoutScoreConfigInput | LegacyPrismaScoreCreateOrConnectWithoutScoreConfigInput[] createMany?: LegacyPrismaScoreCreateManyScoreConfigInputEnvelope connect?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] } export type LegacyPrismaScoreUncheckedCreateNestedManyWithoutScoreConfigInput = { create?: XOR | LegacyPrismaScoreCreateWithoutScoreConfigInput[] | LegacyPrismaScoreUncheckedCreateWithoutScoreConfigInput[] connectOrCreate?: LegacyPrismaScoreCreateOrConnectWithoutScoreConfigInput | LegacyPrismaScoreCreateOrConnectWithoutScoreConfigInput[] createMany?: LegacyPrismaScoreCreateManyScoreConfigInputEnvelope connect?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] } export type ProjectUpdateOneRequiredWithoutScoreConfigNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutScoreConfigInput upsert?: ProjectUpsertWithoutScoreConfigInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutScoreConfigInput> } export type LegacyPrismaScoreUpdateManyWithoutScoreConfigNestedInput = { create?: XOR | LegacyPrismaScoreCreateWithoutScoreConfigInput[] | LegacyPrismaScoreUncheckedCreateWithoutScoreConfigInput[] connectOrCreate?: LegacyPrismaScoreCreateOrConnectWithoutScoreConfigInput | LegacyPrismaScoreCreateOrConnectWithoutScoreConfigInput[] upsert?: LegacyPrismaScoreUpsertWithWhereUniqueWithoutScoreConfigInput | LegacyPrismaScoreUpsertWithWhereUniqueWithoutScoreConfigInput[] createMany?: LegacyPrismaScoreCreateManyScoreConfigInputEnvelope set?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] disconnect?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] delete?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] connect?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] update?: LegacyPrismaScoreUpdateWithWhereUniqueWithoutScoreConfigInput | LegacyPrismaScoreUpdateWithWhereUniqueWithoutScoreConfigInput[] updateMany?: LegacyPrismaScoreUpdateManyWithWhereWithoutScoreConfigInput | LegacyPrismaScoreUpdateManyWithWhereWithoutScoreConfigInput[] deleteMany?: LegacyPrismaScoreScalarWhereInput | LegacyPrismaScoreScalarWhereInput[] } export type LegacyPrismaScoreUncheckedUpdateManyWithoutScoreConfigNestedInput = { create?: XOR | LegacyPrismaScoreCreateWithoutScoreConfigInput[] | LegacyPrismaScoreUncheckedCreateWithoutScoreConfigInput[] connectOrCreate?: LegacyPrismaScoreCreateOrConnectWithoutScoreConfigInput | LegacyPrismaScoreCreateOrConnectWithoutScoreConfigInput[] upsert?: LegacyPrismaScoreUpsertWithWhereUniqueWithoutScoreConfigInput | LegacyPrismaScoreUpsertWithWhereUniqueWithoutScoreConfigInput[] createMany?: LegacyPrismaScoreCreateManyScoreConfigInputEnvelope set?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] disconnect?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] delete?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] connect?: LegacyPrismaScoreWhereUniqueInput | LegacyPrismaScoreWhereUniqueInput[] update?: LegacyPrismaScoreUpdateWithWhereUniqueWithoutScoreConfigInput | LegacyPrismaScoreUpdateWithWhereUniqueWithoutScoreConfigInput[] updateMany?: LegacyPrismaScoreUpdateManyWithWhereWithoutScoreConfigInput | LegacyPrismaScoreUpdateManyWithWhereWithoutScoreConfigInput[] deleteMany?: LegacyPrismaScoreScalarWhereInput | LegacyPrismaScoreScalarWhereInput[] } export type AnnotationQueueCreatescoreConfigIdsInput = { set: string[] } export type ProjectCreateNestedOneWithoutAnnotationQueueInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutAnnotationQueueInput connect?: ProjectWhereUniqueInput } export type AnnotationQueueItemCreateNestedManyWithoutQueueInput = { create?: XOR | AnnotationQueueItemCreateWithoutQueueInput[] | AnnotationQueueItemUncheckedCreateWithoutQueueInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutQueueInput | AnnotationQueueItemCreateOrConnectWithoutQueueInput[] createMany?: AnnotationQueueItemCreateManyQueueInputEnvelope connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] } export type AnnotationQueueAssignmentCreateNestedManyWithoutQueueInput = { create?: XOR | AnnotationQueueAssignmentCreateWithoutQueueInput[] | AnnotationQueueAssignmentUncheckedCreateWithoutQueueInput[] connectOrCreate?: AnnotationQueueAssignmentCreateOrConnectWithoutQueueInput | AnnotationQueueAssignmentCreateOrConnectWithoutQueueInput[] createMany?: AnnotationQueueAssignmentCreateManyQueueInputEnvelope connect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] } export type AnnotationQueueItemUncheckedCreateNestedManyWithoutQueueInput = { create?: XOR | AnnotationQueueItemCreateWithoutQueueInput[] | AnnotationQueueItemUncheckedCreateWithoutQueueInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutQueueInput | AnnotationQueueItemCreateOrConnectWithoutQueueInput[] createMany?: AnnotationQueueItemCreateManyQueueInputEnvelope connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] } export type AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutQueueInput = { create?: XOR | AnnotationQueueAssignmentCreateWithoutQueueInput[] | AnnotationQueueAssignmentUncheckedCreateWithoutQueueInput[] connectOrCreate?: AnnotationQueueAssignmentCreateOrConnectWithoutQueueInput | AnnotationQueueAssignmentCreateOrConnectWithoutQueueInput[] createMany?: AnnotationQueueAssignmentCreateManyQueueInputEnvelope connect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] } export type AnnotationQueueUpdatescoreConfigIdsInput = { set?: string[] push?: string | string[] } export type ProjectUpdateOneRequiredWithoutAnnotationQueueNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutAnnotationQueueInput upsert?: ProjectUpsertWithoutAnnotationQueueInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutAnnotationQueueInput> } export type AnnotationQueueItemUpdateManyWithoutQueueNestedInput = { create?: XOR | AnnotationQueueItemCreateWithoutQueueInput[] | AnnotationQueueItemUncheckedCreateWithoutQueueInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutQueueInput | AnnotationQueueItemCreateOrConnectWithoutQueueInput[] upsert?: AnnotationQueueItemUpsertWithWhereUniqueWithoutQueueInput | AnnotationQueueItemUpsertWithWhereUniqueWithoutQueueInput[] createMany?: AnnotationQueueItemCreateManyQueueInputEnvelope set?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] disconnect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] delete?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] update?: AnnotationQueueItemUpdateWithWhereUniqueWithoutQueueInput | AnnotationQueueItemUpdateWithWhereUniqueWithoutQueueInput[] updateMany?: AnnotationQueueItemUpdateManyWithWhereWithoutQueueInput | AnnotationQueueItemUpdateManyWithWhereWithoutQueueInput[] deleteMany?: AnnotationQueueItemScalarWhereInput | AnnotationQueueItemScalarWhereInput[] } export type AnnotationQueueAssignmentUpdateManyWithoutQueueNestedInput = { create?: XOR | AnnotationQueueAssignmentCreateWithoutQueueInput[] | AnnotationQueueAssignmentUncheckedCreateWithoutQueueInput[] connectOrCreate?: AnnotationQueueAssignmentCreateOrConnectWithoutQueueInput | AnnotationQueueAssignmentCreateOrConnectWithoutQueueInput[] upsert?: AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutQueueInput | AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutQueueInput[] createMany?: AnnotationQueueAssignmentCreateManyQueueInputEnvelope set?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] disconnect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] delete?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] connect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] update?: AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutQueueInput | AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutQueueInput[] updateMany?: AnnotationQueueAssignmentUpdateManyWithWhereWithoutQueueInput | AnnotationQueueAssignmentUpdateManyWithWhereWithoutQueueInput[] deleteMany?: AnnotationQueueAssignmentScalarWhereInput | AnnotationQueueAssignmentScalarWhereInput[] } export type AnnotationQueueItemUncheckedUpdateManyWithoutQueueNestedInput = { create?: XOR | AnnotationQueueItemCreateWithoutQueueInput[] | AnnotationQueueItemUncheckedCreateWithoutQueueInput[] connectOrCreate?: AnnotationQueueItemCreateOrConnectWithoutQueueInput | AnnotationQueueItemCreateOrConnectWithoutQueueInput[] upsert?: AnnotationQueueItemUpsertWithWhereUniqueWithoutQueueInput | AnnotationQueueItemUpsertWithWhereUniqueWithoutQueueInput[] createMany?: AnnotationQueueItemCreateManyQueueInputEnvelope set?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] disconnect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] delete?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] connect?: AnnotationQueueItemWhereUniqueInput | AnnotationQueueItemWhereUniqueInput[] update?: AnnotationQueueItemUpdateWithWhereUniqueWithoutQueueInput | AnnotationQueueItemUpdateWithWhereUniqueWithoutQueueInput[] updateMany?: AnnotationQueueItemUpdateManyWithWhereWithoutQueueInput | AnnotationQueueItemUpdateManyWithWhereWithoutQueueInput[] deleteMany?: AnnotationQueueItemScalarWhereInput | AnnotationQueueItemScalarWhereInput[] } export type AnnotationQueueAssignmentUncheckedUpdateManyWithoutQueueNestedInput = { create?: XOR | AnnotationQueueAssignmentCreateWithoutQueueInput[] | AnnotationQueueAssignmentUncheckedCreateWithoutQueueInput[] connectOrCreate?: AnnotationQueueAssignmentCreateOrConnectWithoutQueueInput | AnnotationQueueAssignmentCreateOrConnectWithoutQueueInput[] upsert?: AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutQueueInput | AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutQueueInput[] createMany?: AnnotationQueueAssignmentCreateManyQueueInputEnvelope set?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] disconnect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] delete?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] connect?: AnnotationQueueAssignmentWhereUniqueInput | AnnotationQueueAssignmentWhereUniqueInput[] update?: AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutQueueInput | AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutQueueInput[] updateMany?: AnnotationQueueAssignmentUpdateManyWithWhereWithoutQueueInput | AnnotationQueueAssignmentUpdateManyWithWhereWithoutQueueInput[] deleteMany?: AnnotationQueueAssignmentScalarWhereInput | AnnotationQueueAssignmentScalarWhereInput[] } export type AnnotationQueueCreateNestedOneWithoutAnnotationQueueItemInput = { create?: XOR connectOrCreate?: AnnotationQueueCreateOrConnectWithoutAnnotationQueueItemInput connect?: AnnotationQueueWhereUniqueInput } export type UserCreateNestedOneWithoutAnnotatedLockedItemInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAnnotatedLockedItemInput connect?: UserWhereUniqueInput } export type UserCreateNestedOneWithoutAnnotatedCompletedItemInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAnnotatedCompletedItemInput connect?: UserWhereUniqueInput } export type ProjectCreateNestedOneWithoutAnnotationQueueItemInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutAnnotationQueueItemInput connect?: ProjectWhereUniqueInput } export type EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput = { set?: $Enums.AnnotationQueueObjectType } export type EnumAnnotationQueueStatusFieldUpdateOperationsInput = { set?: $Enums.AnnotationQueueStatus } export type AnnotationQueueUpdateOneRequiredWithoutAnnotationQueueItemNestedInput = { create?: XOR connectOrCreate?: AnnotationQueueCreateOrConnectWithoutAnnotationQueueItemInput upsert?: AnnotationQueueUpsertWithoutAnnotationQueueItemInput connect?: AnnotationQueueWhereUniqueInput update?: XOR, AnnotationQueueUncheckedUpdateWithoutAnnotationQueueItemInput> } export type UserUpdateOneWithoutAnnotatedLockedItemNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAnnotatedLockedItemInput upsert?: UserUpsertWithoutAnnotatedLockedItemInput disconnect?: UserWhereInput | boolean delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutAnnotatedLockedItemInput> } export type UserUpdateOneWithoutAnnotatedCompletedItemNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAnnotatedCompletedItemInput upsert?: UserUpsertWithoutAnnotatedCompletedItemInput disconnect?: UserWhereInput | boolean delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutAnnotatedCompletedItemInput> } export type ProjectUpdateOneRequiredWithoutAnnotationQueueItemNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutAnnotationQueueItemInput upsert?: ProjectUpsertWithoutAnnotationQueueItemInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutAnnotationQueueItemInput> } export type ProjectCreateNestedOneWithoutAnnotationQueueAssignmentInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutAnnotationQueueAssignmentInput connect?: ProjectWhereUniqueInput } export type UserCreateNestedOneWithoutAnnotationQueueAssignmentInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAnnotationQueueAssignmentInput connect?: UserWhereUniqueInput } export type AnnotationQueueCreateNestedOneWithoutAnnotationQueueAssignmentInput = { create?: XOR connectOrCreate?: AnnotationQueueCreateOrConnectWithoutAnnotationQueueAssignmentInput connect?: AnnotationQueueWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutAnnotationQueueAssignmentNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutAnnotationQueueAssignmentInput upsert?: ProjectUpsertWithoutAnnotationQueueAssignmentInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutAnnotationQueueAssignmentInput> } export type UserUpdateOneRequiredWithoutAnnotationQueueAssignmentNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAnnotationQueueAssignmentInput upsert?: UserUpsertWithoutAnnotationQueueAssignmentInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutAnnotationQueueAssignmentInput> } export type AnnotationQueueUpdateOneRequiredWithoutAnnotationQueueAssignmentNestedInput = { create?: XOR connectOrCreate?: AnnotationQueueCreateOrConnectWithoutAnnotationQueueAssignmentInput upsert?: AnnotationQueueUpsertWithoutAnnotationQueueAssignmentInput connect?: AnnotationQueueWhereUniqueInput update?: XOR, AnnotationQueueUncheckedUpdateWithoutAnnotationQueueAssignmentInput> } export type ProjectCreateNestedOneWithoutDatasetInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutDatasetInput connect?: ProjectWhereUniqueInput } export type DatasetItemCreateNestedManyWithoutDatasetInput = { create?: XOR | DatasetItemCreateWithoutDatasetInput[] | DatasetItemUncheckedCreateWithoutDatasetInput[] connectOrCreate?: DatasetItemCreateOrConnectWithoutDatasetInput | DatasetItemCreateOrConnectWithoutDatasetInput[] createMany?: DatasetItemCreateManyDatasetInputEnvelope connect?: DatasetItemWhereUniqueInput | DatasetItemWhereUniqueInput[] } export type DatasetRunsCreateNestedManyWithoutDatasetInput = { create?: XOR | DatasetRunsCreateWithoutDatasetInput[] | DatasetRunsUncheckedCreateWithoutDatasetInput[] connectOrCreate?: DatasetRunsCreateOrConnectWithoutDatasetInput | DatasetRunsCreateOrConnectWithoutDatasetInput[] createMany?: DatasetRunsCreateManyDatasetInputEnvelope connect?: DatasetRunsWhereUniqueInput | DatasetRunsWhereUniqueInput[] } export type DatasetItemUncheckedCreateNestedManyWithoutDatasetInput = { create?: XOR | DatasetItemCreateWithoutDatasetInput[] | DatasetItemUncheckedCreateWithoutDatasetInput[] connectOrCreate?: DatasetItemCreateOrConnectWithoutDatasetInput | DatasetItemCreateOrConnectWithoutDatasetInput[] createMany?: DatasetItemCreateManyDatasetInputEnvelope connect?: DatasetItemWhereUniqueInput | DatasetItemWhereUniqueInput[] } export type DatasetRunsUncheckedCreateNestedManyWithoutDatasetInput = { create?: XOR | DatasetRunsCreateWithoutDatasetInput[] | DatasetRunsUncheckedCreateWithoutDatasetInput[] connectOrCreate?: DatasetRunsCreateOrConnectWithoutDatasetInput | DatasetRunsCreateOrConnectWithoutDatasetInput[] createMany?: DatasetRunsCreateManyDatasetInputEnvelope connect?: DatasetRunsWhereUniqueInput | DatasetRunsWhereUniqueInput[] } export type ProjectUpdateOneRequiredWithoutDatasetNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutDatasetInput upsert?: ProjectUpsertWithoutDatasetInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutDatasetInput> } export type DatasetItemUpdateManyWithoutDatasetNestedInput = { create?: XOR | DatasetItemCreateWithoutDatasetInput[] | DatasetItemUncheckedCreateWithoutDatasetInput[] connectOrCreate?: DatasetItemCreateOrConnectWithoutDatasetInput | DatasetItemCreateOrConnectWithoutDatasetInput[] upsert?: DatasetItemUpsertWithWhereUniqueWithoutDatasetInput | DatasetItemUpsertWithWhereUniqueWithoutDatasetInput[] createMany?: DatasetItemCreateManyDatasetInputEnvelope set?: DatasetItemWhereUniqueInput | DatasetItemWhereUniqueInput[] disconnect?: DatasetItemWhereUniqueInput | DatasetItemWhereUniqueInput[] delete?: DatasetItemWhereUniqueInput | DatasetItemWhereUniqueInput[] connect?: DatasetItemWhereUniqueInput | DatasetItemWhereUniqueInput[] update?: DatasetItemUpdateWithWhereUniqueWithoutDatasetInput | DatasetItemUpdateWithWhereUniqueWithoutDatasetInput[] updateMany?: DatasetItemUpdateManyWithWhereWithoutDatasetInput | DatasetItemUpdateManyWithWhereWithoutDatasetInput[] deleteMany?: DatasetItemScalarWhereInput | DatasetItemScalarWhereInput[] } export type DatasetRunsUpdateManyWithoutDatasetNestedInput = { create?: XOR | DatasetRunsCreateWithoutDatasetInput[] | DatasetRunsUncheckedCreateWithoutDatasetInput[] connectOrCreate?: DatasetRunsCreateOrConnectWithoutDatasetInput | DatasetRunsCreateOrConnectWithoutDatasetInput[] upsert?: DatasetRunsUpsertWithWhereUniqueWithoutDatasetInput | DatasetRunsUpsertWithWhereUniqueWithoutDatasetInput[] createMany?: DatasetRunsCreateManyDatasetInputEnvelope set?: DatasetRunsWhereUniqueInput | DatasetRunsWhereUniqueInput[] disconnect?: DatasetRunsWhereUniqueInput | DatasetRunsWhereUniqueInput[] delete?: DatasetRunsWhereUniqueInput | DatasetRunsWhereUniqueInput[] connect?: DatasetRunsWhereUniqueInput | DatasetRunsWhereUniqueInput[] update?: DatasetRunsUpdateWithWhereUniqueWithoutDatasetInput | DatasetRunsUpdateWithWhereUniqueWithoutDatasetInput[] updateMany?: DatasetRunsUpdateManyWithWhereWithoutDatasetInput | DatasetRunsUpdateManyWithWhereWithoutDatasetInput[] deleteMany?: DatasetRunsScalarWhereInput | DatasetRunsScalarWhereInput[] } export type DatasetItemUncheckedUpdateManyWithoutDatasetNestedInput = { create?: XOR | DatasetItemCreateWithoutDatasetInput[] | DatasetItemUncheckedCreateWithoutDatasetInput[] connectOrCreate?: DatasetItemCreateOrConnectWithoutDatasetInput | DatasetItemCreateOrConnectWithoutDatasetInput[] upsert?: DatasetItemUpsertWithWhereUniqueWithoutDatasetInput | DatasetItemUpsertWithWhereUniqueWithoutDatasetInput[] createMany?: DatasetItemCreateManyDatasetInputEnvelope set?: DatasetItemWhereUniqueInput | DatasetItemWhereUniqueInput[] disconnect?: DatasetItemWhereUniqueInput | DatasetItemWhereUniqueInput[] delete?: DatasetItemWhereUniqueInput | DatasetItemWhereUniqueInput[] connect?: DatasetItemWhereUniqueInput | DatasetItemWhereUniqueInput[] update?: DatasetItemUpdateWithWhereUniqueWithoutDatasetInput | DatasetItemUpdateWithWhereUniqueWithoutDatasetInput[] updateMany?: DatasetItemUpdateManyWithWhereWithoutDatasetInput | DatasetItemUpdateManyWithWhereWithoutDatasetInput[] deleteMany?: DatasetItemScalarWhereInput | DatasetItemScalarWhereInput[] } export type DatasetRunsUncheckedUpdateManyWithoutDatasetNestedInput = { create?: XOR | DatasetRunsCreateWithoutDatasetInput[] | DatasetRunsUncheckedCreateWithoutDatasetInput[] connectOrCreate?: DatasetRunsCreateOrConnectWithoutDatasetInput | DatasetRunsCreateOrConnectWithoutDatasetInput[] upsert?: DatasetRunsUpsertWithWhereUniqueWithoutDatasetInput | DatasetRunsUpsertWithWhereUniqueWithoutDatasetInput[] createMany?: DatasetRunsCreateManyDatasetInputEnvelope set?: DatasetRunsWhereUniqueInput | DatasetRunsWhereUniqueInput[] disconnect?: DatasetRunsWhereUniqueInput | DatasetRunsWhereUniqueInput[] delete?: DatasetRunsWhereUniqueInput | DatasetRunsWhereUniqueInput[] connect?: DatasetRunsWhereUniqueInput | DatasetRunsWhereUniqueInput[] update?: DatasetRunsUpdateWithWhereUniqueWithoutDatasetInput | DatasetRunsUpdateWithWhereUniqueWithoutDatasetInput[] updateMany?: DatasetRunsUpdateManyWithWhereWithoutDatasetInput | DatasetRunsUpdateManyWithWhereWithoutDatasetInput[] deleteMany?: DatasetRunsScalarWhereInput | DatasetRunsScalarWhereInput[] } export type DatasetCreateNestedOneWithoutDatasetItemsInput = { create?: XOR connectOrCreate?: DatasetCreateOrConnectWithoutDatasetItemsInput connect?: DatasetWhereUniqueInput } export type DatasetRunItemsCreateNestedManyWithoutDatasetItemInput = { create?: XOR | DatasetRunItemsCreateWithoutDatasetItemInput[] | DatasetRunItemsUncheckedCreateWithoutDatasetItemInput[] connectOrCreate?: DatasetRunItemsCreateOrConnectWithoutDatasetItemInput | DatasetRunItemsCreateOrConnectWithoutDatasetItemInput[] createMany?: DatasetRunItemsCreateManyDatasetItemInputEnvelope connect?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] } export type DatasetRunItemsUncheckedCreateNestedManyWithoutDatasetItemInput = { create?: XOR | DatasetRunItemsCreateWithoutDatasetItemInput[] | DatasetRunItemsUncheckedCreateWithoutDatasetItemInput[] connectOrCreate?: DatasetRunItemsCreateOrConnectWithoutDatasetItemInput | DatasetRunItemsCreateOrConnectWithoutDatasetItemInput[] createMany?: DatasetRunItemsCreateManyDatasetItemInputEnvelope connect?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] } export type EnumDatasetStatusFieldUpdateOperationsInput = { set?: $Enums.DatasetStatus } export type DatasetUpdateOneRequiredWithoutDatasetItemsNestedInput = { create?: XOR connectOrCreate?: DatasetCreateOrConnectWithoutDatasetItemsInput upsert?: DatasetUpsertWithoutDatasetItemsInput connect?: DatasetWhereUniqueInput update?: XOR, DatasetUncheckedUpdateWithoutDatasetItemsInput> } export type DatasetRunItemsUpdateManyWithoutDatasetItemNestedInput = { create?: XOR | DatasetRunItemsCreateWithoutDatasetItemInput[] | DatasetRunItemsUncheckedCreateWithoutDatasetItemInput[] connectOrCreate?: DatasetRunItemsCreateOrConnectWithoutDatasetItemInput | DatasetRunItemsCreateOrConnectWithoutDatasetItemInput[] upsert?: DatasetRunItemsUpsertWithWhereUniqueWithoutDatasetItemInput | DatasetRunItemsUpsertWithWhereUniqueWithoutDatasetItemInput[] createMany?: DatasetRunItemsCreateManyDatasetItemInputEnvelope set?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] disconnect?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] delete?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] connect?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] update?: DatasetRunItemsUpdateWithWhereUniqueWithoutDatasetItemInput | DatasetRunItemsUpdateWithWhereUniqueWithoutDatasetItemInput[] updateMany?: DatasetRunItemsUpdateManyWithWhereWithoutDatasetItemInput | DatasetRunItemsUpdateManyWithWhereWithoutDatasetItemInput[] deleteMany?: DatasetRunItemsScalarWhereInput | DatasetRunItemsScalarWhereInput[] } export type DatasetRunItemsUncheckedUpdateManyWithoutDatasetItemNestedInput = { create?: XOR | DatasetRunItemsCreateWithoutDatasetItemInput[] | DatasetRunItemsUncheckedCreateWithoutDatasetItemInput[] connectOrCreate?: DatasetRunItemsCreateOrConnectWithoutDatasetItemInput | DatasetRunItemsCreateOrConnectWithoutDatasetItemInput[] upsert?: DatasetRunItemsUpsertWithWhereUniqueWithoutDatasetItemInput | DatasetRunItemsUpsertWithWhereUniqueWithoutDatasetItemInput[] createMany?: DatasetRunItemsCreateManyDatasetItemInputEnvelope set?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] disconnect?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] delete?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] connect?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] update?: DatasetRunItemsUpdateWithWhereUniqueWithoutDatasetItemInput | DatasetRunItemsUpdateWithWhereUniqueWithoutDatasetItemInput[] updateMany?: DatasetRunItemsUpdateManyWithWhereWithoutDatasetItemInput | DatasetRunItemsUpdateManyWithWhereWithoutDatasetItemInput[] deleteMany?: DatasetRunItemsScalarWhereInput | DatasetRunItemsScalarWhereInput[] } export type DatasetCreateNestedOneWithoutDatasetRunsInput = { create?: XOR connectOrCreate?: DatasetCreateOrConnectWithoutDatasetRunsInput connect?: DatasetWhereUniqueInput } export type DatasetRunItemsCreateNestedManyWithoutDatasetRunInput = { create?: XOR | DatasetRunItemsCreateWithoutDatasetRunInput[] | DatasetRunItemsUncheckedCreateWithoutDatasetRunInput[] connectOrCreate?: DatasetRunItemsCreateOrConnectWithoutDatasetRunInput | DatasetRunItemsCreateOrConnectWithoutDatasetRunInput[] createMany?: DatasetRunItemsCreateManyDatasetRunInputEnvelope connect?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] } export type DatasetRunItemsUncheckedCreateNestedManyWithoutDatasetRunInput = { create?: XOR | DatasetRunItemsCreateWithoutDatasetRunInput[] | DatasetRunItemsUncheckedCreateWithoutDatasetRunInput[] connectOrCreate?: DatasetRunItemsCreateOrConnectWithoutDatasetRunInput | DatasetRunItemsCreateOrConnectWithoutDatasetRunInput[] createMany?: DatasetRunItemsCreateManyDatasetRunInputEnvelope connect?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] } export type DatasetUpdateOneRequiredWithoutDatasetRunsNestedInput = { create?: XOR connectOrCreate?: DatasetCreateOrConnectWithoutDatasetRunsInput upsert?: DatasetUpsertWithoutDatasetRunsInput connect?: DatasetWhereUniqueInput update?: XOR, DatasetUncheckedUpdateWithoutDatasetRunsInput> } export type DatasetRunItemsUpdateManyWithoutDatasetRunNestedInput = { create?: XOR | DatasetRunItemsCreateWithoutDatasetRunInput[] | DatasetRunItemsUncheckedCreateWithoutDatasetRunInput[] connectOrCreate?: DatasetRunItemsCreateOrConnectWithoutDatasetRunInput | DatasetRunItemsCreateOrConnectWithoutDatasetRunInput[] upsert?: DatasetRunItemsUpsertWithWhereUniqueWithoutDatasetRunInput | DatasetRunItemsUpsertWithWhereUniqueWithoutDatasetRunInput[] createMany?: DatasetRunItemsCreateManyDatasetRunInputEnvelope set?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] disconnect?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] delete?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] connect?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] update?: DatasetRunItemsUpdateWithWhereUniqueWithoutDatasetRunInput | DatasetRunItemsUpdateWithWhereUniqueWithoutDatasetRunInput[] updateMany?: DatasetRunItemsUpdateManyWithWhereWithoutDatasetRunInput | DatasetRunItemsUpdateManyWithWhereWithoutDatasetRunInput[] deleteMany?: DatasetRunItemsScalarWhereInput | DatasetRunItemsScalarWhereInput[] } export type DatasetRunItemsUncheckedUpdateManyWithoutDatasetRunNestedInput = { create?: XOR | DatasetRunItemsCreateWithoutDatasetRunInput[] | DatasetRunItemsUncheckedCreateWithoutDatasetRunInput[] connectOrCreate?: DatasetRunItemsCreateOrConnectWithoutDatasetRunInput | DatasetRunItemsCreateOrConnectWithoutDatasetRunInput[] upsert?: DatasetRunItemsUpsertWithWhereUniqueWithoutDatasetRunInput | DatasetRunItemsUpsertWithWhereUniqueWithoutDatasetRunInput[] createMany?: DatasetRunItemsCreateManyDatasetRunInputEnvelope set?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] disconnect?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] delete?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] connect?: DatasetRunItemsWhereUniqueInput | DatasetRunItemsWhereUniqueInput[] update?: DatasetRunItemsUpdateWithWhereUniqueWithoutDatasetRunInput | DatasetRunItemsUpdateWithWhereUniqueWithoutDatasetRunInput[] updateMany?: DatasetRunItemsUpdateManyWithWhereWithoutDatasetRunInput | DatasetRunItemsUpdateManyWithWhereWithoutDatasetRunInput[] deleteMany?: DatasetRunItemsScalarWhereInput | DatasetRunItemsScalarWhereInput[] } export type DatasetRunsCreateNestedOneWithoutDatasetRunItemsInput = { create?: XOR connectOrCreate?: DatasetRunsCreateOrConnectWithoutDatasetRunItemsInput connect?: DatasetRunsWhereUniqueInput } export type DatasetItemCreateNestedOneWithoutDatasetRunItemsInput = { create?: XOR connectOrCreate?: DatasetItemCreateOrConnectWithoutDatasetRunItemsInput connect?: DatasetItemWhereUniqueInput } export type DatasetRunsUpdateOneRequiredWithoutDatasetRunItemsNestedInput = { create?: XOR connectOrCreate?: DatasetRunsCreateOrConnectWithoutDatasetRunItemsInput upsert?: DatasetRunsUpsertWithoutDatasetRunItemsInput connect?: DatasetRunsWhereUniqueInput update?: XOR, DatasetRunsUncheckedUpdateWithoutDatasetRunItemsInput> } export type DatasetItemUpdateOneRequiredWithoutDatasetRunItemsNestedInput = { create?: XOR connectOrCreate?: DatasetItemCreateOrConnectWithoutDatasetRunItemsInput upsert?: DatasetItemUpsertWithoutDatasetRunItemsInput connect?: DatasetItemWhereUniqueInput update?: XOR, DatasetItemUncheckedUpdateWithoutDatasetRunItemsInput> } export type ProjectCreateNestedOneWithoutCommentInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutCommentInput connect?: ProjectWhereUniqueInput } export type EnumCommentObjectTypeFieldUpdateOperationsInput = { set?: $Enums.CommentObjectType } export type ProjectUpdateOneRequiredWithoutCommentNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutCommentInput upsert?: ProjectUpsertWithoutCommentInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutCommentInput> } export type PromptCreatetagsInput = { set: string[] } export type PromptCreatelabelsInput = { set: string[] } export type ProjectCreateNestedOneWithoutPromptInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutPromptInput connect?: ProjectWhereUniqueInput } export type PromptDependencyCreateNestedManyWithoutParentInput = { create?: XOR | PromptDependencyCreateWithoutParentInput[] | PromptDependencyUncheckedCreateWithoutParentInput[] connectOrCreate?: PromptDependencyCreateOrConnectWithoutParentInput | PromptDependencyCreateOrConnectWithoutParentInput[] createMany?: PromptDependencyCreateManyParentInputEnvelope connect?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] } export type PromptDependencyUncheckedCreateNestedManyWithoutParentInput = { create?: XOR | PromptDependencyCreateWithoutParentInput[] | PromptDependencyUncheckedCreateWithoutParentInput[] connectOrCreate?: PromptDependencyCreateOrConnectWithoutParentInput | PromptDependencyCreateOrConnectWithoutParentInput[] createMany?: PromptDependencyCreateManyParentInputEnvelope connect?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] } export type NullableBoolFieldUpdateOperationsInput = { set?: boolean | null } export type PromptUpdatetagsInput = { set?: string[] push?: string | string[] } export type PromptUpdatelabelsInput = { set?: string[] push?: string | string[] } export type ProjectUpdateOneRequiredWithoutPromptNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutPromptInput upsert?: ProjectUpsertWithoutPromptInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutPromptInput> } export type PromptDependencyUpdateManyWithoutParentNestedInput = { create?: XOR | PromptDependencyCreateWithoutParentInput[] | PromptDependencyUncheckedCreateWithoutParentInput[] connectOrCreate?: PromptDependencyCreateOrConnectWithoutParentInput | PromptDependencyCreateOrConnectWithoutParentInput[] upsert?: PromptDependencyUpsertWithWhereUniqueWithoutParentInput | PromptDependencyUpsertWithWhereUniqueWithoutParentInput[] createMany?: PromptDependencyCreateManyParentInputEnvelope set?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] disconnect?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] delete?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] connect?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] update?: PromptDependencyUpdateWithWhereUniqueWithoutParentInput | PromptDependencyUpdateWithWhereUniqueWithoutParentInput[] updateMany?: PromptDependencyUpdateManyWithWhereWithoutParentInput | PromptDependencyUpdateManyWithWhereWithoutParentInput[] deleteMany?: PromptDependencyScalarWhereInput | PromptDependencyScalarWhereInput[] } export type PromptDependencyUncheckedUpdateManyWithoutParentNestedInput = { create?: XOR | PromptDependencyCreateWithoutParentInput[] | PromptDependencyUncheckedCreateWithoutParentInput[] connectOrCreate?: PromptDependencyCreateOrConnectWithoutParentInput | PromptDependencyCreateOrConnectWithoutParentInput[] upsert?: PromptDependencyUpsertWithWhereUniqueWithoutParentInput | PromptDependencyUpsertWithWhereUniqueWithoutParentInput[] createMany?: PromptDependencyCreateManyParentInputEnvelope set?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] disconnect?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] delete?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] connect?: PromptDependencyWhereUniqueInput | PromptDependencyWhereUniqueInput[] update?: PromptDependencyUpdateWithWhereUniqueWithoutParentInput | PromptDependencyUpdateWithWhereUniqueWithoutParentInput[] updateMany?: PromptDependencyUpdateManyWithWhereWithoutParentInput | PromptDependencyUpdateManyWithWhereWithoutParentInput[] deleteMany?: PromptDependencyScalarWhereInput | PromptDependencyScalarWhereInput[] } export type ProjectCreateNestedOneWithoutPromptDependencyInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutPromptDependencyInput connect?: ProjectWhereUniqueInput } export type PromptCreateNestedOneWithoutPromptDependencyInput = { create?: XOR connectOrCreate?: PromptCreateOrConnectWithoutPromptDependencyInput connect?: PromptWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutPromptDependencyNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutPromptDependencyInput upsert?: ProjectUpsertWithoutPromptDependencyInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutPromptDependencyInput> } export type PromptUpdateOneRequiredWithoutPromptDependencyNestedInput = { create?: XOR connectOrCreate?: PromptCreateOrConnectWithoutPromptDependencyInput upsert?: PromptUpsertWithoutPromptDependencyInput connect?: PromptWhereUniqueInput update?: XOR, PromptUncheckedUpdateWithoutPromptDependencyInput> } export type ProjectCreateNestedOneWithoutPromptProtectedLabelsInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutPromptProtectedLabelsInput connect?: ProjectWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutPromptProtectedLabelsNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutPromptProtectedLabelsInput upsert?: ProjectUpsertWithoutPromptProtectedLabelsInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutPromptProtectedLabelsInput> } export type ProjectCreateNestedOneWithoutModelInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutModelInput connect?: ProjectWhereUniqueInput } export type PriceCreateNestedManyWithoutModelInput = { create?: XOR | PriceCreateWithoutModelInput[] | PriceUncheckedCreateWithoutModelInput[] connectOrCreate?: PriceCreateOrConnectWithoutModelInput | PriceCreateOrConnectWithoutModelInput[] createMany?: PriceCreateManyModelInputEnvelope connect?: PriceWhereUniqueInput | PriceWhereUniqueInput[] } export type PriceUncheckedCreateNestedManyWithoutModelInput = { create?: XOR | PriceCreateWithoutModelInput[] | PriceUncheckedCreateWithoutModelInput[] connectOrCreate?: PriceCreateOrConnectWithoutModelInput | PriceCreateOrConnectWithoutModelInput[] createMany?: PriceCreateManyModelInputEnvelope connect?: PriceWhereUniqueInput | PriceWhereUniqueInput[] } export type ProjectUpdateOneWithoutModelNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutModelInput upsert?: ProjectUpsertWithoutModelInput disconnect?: ProjectWhereInput | boolean delete?: ProjectWhereInput | boolean connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutModelInput> } export type PriceUpdateManyWithoutModelNestedInput = { create?: XOR | PriceCreateWithoutModelInput[] | PriceUncheckedCreateWithoutModelInput[] connectOrCreate?: PriceCreateOrConnectWithoutModelInput | PriceCreateOrConnectWithoutModelInput[] upsert?: PriceUpsertWithWhereUniqueWithoutModelInput | PriceUpsertWithWhereUniqueWithoutModelInput[] createMany?: PriceCreateManyModelInputEnvelope set?: PriceWhereUniqueInput | PriceWhereUniqueInput[] disconnect?: PriceWhereUniqueInput | PriceWhereUniqueInput[] delete?: PriceWhereUniqueInput | PriceWhereUniqueInput[] connect?: PriceWhereUniqueInput | PriceWhereUniqueInput[] update?: PriceUpdateWithWhereUniqueWithoutModelInput | PriceUpdateWithWhereUniqueWithoutModelInput[] updateMany?: PriceUpdateManyWithWhereWithoutModelInput | PriceUpdateManyWithWhereWithoutModelInput[] deleteMany?: PriceScalarWhereInput | PriceScalarWhereInput[] } export type PriceUncheckedUpdateManyWithoutModelNestedInput = { create?: XOR | PriceCreateWithoutModelInput[] | PriceUncheckedCreateWithoutModelInput[] connectOrCreate?: PriceCreateOrConnectWithoutModelInput | PriceCreateOrConnectWithoutModelInput[] upsert?: PriceUpsertWithWhereUniqueWithoutModelInput | PriceUpsertWithWhereUniqueWithoutModelInput[] createMany?: PriceCreateManyModelInputEnvelope set?: PriceWhereUniqueInput | PriceWhereUniqueInput[] disconnect?: PriceWhereUniqueInput | PriceWhereUniqueInput[] delete?: PriceWhereUniqueInput | PriceWhereUniqueInput[] connect?: PriceWhereUniqueInput | PriceWhereUniqueInput[] update?: PriceUpdateWithWhereUniqueWithoutModelInput | PriceUpdateWithWhereUniqueWithoutModelInput[] updateMany?: PriceUpdateManyWithWhereWithoutModelInput | PriceUpdateManyWithWhereWithoutModelInput[] deleteMany?: PriceScalarWhereInput | PriceScalarWhereInput[] } export type ModelCreateNestedOneWithoutPriceInput = { create?: XOR connectOrCreate?: ModelCreateOrConnectWithoutPriceInput connect?: ModelWhereUniqueInput } export type ProjectCreateNestedOneWithoutPriceInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutPriceInput connect?: ProjectWhereUniqueInput } export type DecimalFieldUpdateOperationsInput = { set?: Decimal | DecimalJsLike | number | string increment?: Decimal | DecimalJsLike | number | string decrement?: Decimal | DecimalJsLike | number | string multiply?: Decimal | DecimalJsLike | number | string divide?: Decimal | DecimalJsLike | number | string } export type ModelUpdateOneRequiredWithoutPriceNestedInput = { create?: XOR connectOrCreate?: ModelCreateOrConnectWithoutPriceInput upsert?: ModelUpsertWithoutPriceInput connect?: ModelWhereUniqueInput update?: XOR, ModelUncheckedUpdateWithoutPriceInput> } export type ProjectUpdateOneWithoutPriceNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutPriceInput upsert?: ProjectUpsertWithoutPriceInput disconnect?: ProjectWhereInput | boolean delete?: ProjectWhereInput | boolean connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutPriceInput> } export type EnumAuditLogRecordTypeFieldUpdateOperationsInput = { set?: $Enums.AuditLogRecordType } export type EvalTemplateCreatevarsInput = { set: string[] } export type ProjectCreateNestedOneWithoutEvalTemplateInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutEvalTemplateInput connect?: ProjectWhereUniqueInput } export type JobConfigurationCreateNestedManyWithoutEvalTemplateInput = { create?: XOR | JobConfigurationCreateWithoutEvalTemplateInput[] | JobConfigurationUncheckedCreateWithoutEvalTemplateInput[] connectOrCreate?: JobConfigurationCreateOrConnectWithoutEvalTemplateInput | JobConfigurationCreateOrConnectWithoutEvalTemplateInput[] createMany?: JobConfigurationCreateManyEvalTemplateInputEnvelope connect?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] } export type JobExecutionCreateNestedManyWithoutJobTemplateInput = { create?: XOR | JobExecutionCreateWithoutJobTemplateInput[] | JobExecutionUncheckedCreateWithoutJobTemplateInput[] connectOrCreate?: JobExecutionCreateOrConnectWithoutJobTemplateInput | JobExecutionCreateOrConnectWithoutJobTemplateInput[] createMany?: JobExecutionCreateManyJobTemplateInputEnvelope connect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] } export type JobConfigurationUncheckedCreateNestedManyWithoutEvalTemplateInput = { create?: XOR | JobConfigurationCreateWithoutEvalTemplateInput[] | JobConfigurationUncheckedCreateWithoutEvalTemplateInput[] connectOrCreate?: JobConfigurationCreateOrConnectWithoutEvalTemplateInput | JobConfigurationCreateOrConnectWithoutEvalTemplateInput[] createMany?: JobConfigurationCreateManyEvalTemplateInputEnvelope connect?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] } export type JobExecutionUncheckedCreateNestedManyWithoutJobTemplateInput = { create?: XOR | JobExecutionCreateWithoutJobTemplateInput[] | JobExecutionUncheckedCreateWithoutJobTemplateInput[] connectOrCreate?: JobExecutionCreateOrConnectWithoutJobTemplateInput | JobExecutionCreateOrConnectWithoutJobTemplateInput[] createMany?: JobExecutionCreateManyJobTemplateInputEnvelope connect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] } export type EvalTemplateUpdatevarsInput = { set?: string[] push?: string | string[] } export type ProjectUpdateOneWithoutEvalTemplateNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutEvalTemplateInput upsert?: ProjectUpsertWithoutEvalTemplateInput disconnect?: ProjectWhereInput | boolean delete?: ProjectWhereInput | boolean connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutEvalTemplateInput> } export type JobConfigurationUpdateManyWithoutEvalTemplateNestedInput = { create?: XOR | JobConfigurationCreateWithoutEvalTemplateInput[] | JobConfigurationUncheckedCreateWithoutEvalTemplateInput[] connectOrCreate?: JobConfigurationCreateOrConnectWithoutEvalTemplateInput | JobConfigurationCreateOrConnectWithoutEvalTemplateInput[] upsert?: JobConfigurationUpsertWithWhereUniqueWithoutEvalTemplateInput | JobConfigurationUpsertWithWhereUniqueWithoutEvalTemplateInput[] createMany?: JobConfigurationCreateManyEvalTemplateInputEnvelope set?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] disconnect?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] delete?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] connect?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] update?: JobConfigurationUpdateWithWhereUniqueWithoutEvalTemplateInput | JobConfigurationUpdateWithWhereUniqueWithoutEvalTemplateInput[] updateMany?: JobConfigurationUpdateManyWithWhereWithoutEvalTemplateInput | JobConfigurationUpdateManyWithWhereWithoutEvalTemplateInput[] deleteMany?: JobConfigurationScalarWhereInput | JobConfigurationScalarWhereInput[] } export type JobExecutionUpdateManyWithoutJobTemplateNestedInput = { create?: XOR | JobExecutionCreateWithoutJobTemplateInput[] | JobExecutionUncheckedCreateWithoutJobTemplateInput[] connectOrCreate?: JobExecutionCreateOrConnectWithoutJobTemplateInput | JobExecutionCreateOrConnectWithoutJobTemplateInput[] upsert?: JobExecutionUpsertWithWhereUniqueWithoutJobTemplateInput | JobExecutionUpsertWithWhereUniqueWithoutJobTemplateInput[] createMany?: JobExecutionCreateManyJobTemplateInputEnvelope set?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] disconnect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] delete?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] connect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] update?: JobExecutionUpdateWithWhereUniqueWithoutJobTemplateInput | JobExecutionUpdateWithWhereUniqueWithoutJobTemplateInput[] updateMany?: JobExecutionUpdateManyWithWhereWithoutJobTemplateInput | JobExecutionUpdateManyWithWhereWithoutJobTemplateInput[] deleteMany?: JobExecutionScalarWhereInput | JobExecutionScalarWhereInput[] } export type JobConfigurationUncheckedUpdateManyWithoutEvalTemplateNestedInput = { create?: XOR | JobConfigurationCreateWithoutEvalTemplateInput[] | JobConfigurationUncheckedCreateWithoutEvalTemplateInput[] connectOrCreate?: JobConfigurationCreateOrConnectWithoutEvalTemplateInput | JobConfigurationCreateOrConnectWithoutEvalTemplateInput[] upsert?: JobConfigurationUpsertWithWhereUniqueWithoutEvalTemplateInput | JobConfigurationUpsertWithWhereUniqueWithoutEvalTemplateInput[] createMany?: JobConfigurationCreateManyEvalTemplateInputEnvelope set?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] disconnect?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] delete?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] connect?: JobConfigurationWhereUniqueInput | JobConfigurationWhereUniqueInput[] update?: JobConfigurationUpdateWithWhereUniqueWithoutEvalTemplateInput | JobConfigurationUpdateWithWhereUniqueWithoutEvalTemplateInput[] updateMany?: JobConfigurationUpdateManyWithWhereWithoutEvalTemplateInput | JobConfigurationUpdateManyWithWhereWithoutEvalTemplateInput[] deleteMany?: JobConfigurationScalarWhereInput | JobConfigurationScalarWhereInput[] } export type JobExecutionUncheckedUpdateManyWithoutJobTemplateNestedInput = { create?: XOR | JobExecutionCreateWithoutJobTemplateInput[] | JobExecutionUncheckedCreateWithoutJobTemplateInput[] connectOrCreate?: JobExecutionCreateOrConnectWithoutJobTemplateInput | JobExecutionCreateOrConnectWithoutJobTemplateInput[] upsert?: JobExecutionUpsertWithWhereUniqueWithoutJobTemplateInput | JobExecutionUpsertWithWhereUniqueWithoutJobTemplateInput[] createMany?: JobExecutionCreateManyJobTemplateInputEnvelope set?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] disconnect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] delete?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] connect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] update?: JobExecutionUpdateWithWhereUniqueWithoutJobTemplateInput | JobExecutionUpdateWithWhereUniqueWithoutJobTemplateInput[] updateMany?: JobExecutionUpdateManyWithWhereWithoutJobTemplateInput | JobExecutionUpdateManyWithWhereWithoutJobTemplateInput[] deleteMany?: JobExecutionScalarWhereInput | JobExecutionScalarWhereInput[] } export type JobConfigurationCreatetimeScopeInput = { set: string[] } export type ProjectCreateNestedOneWithoutJobConfigurationInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutJobConfigurationInput connect?: ProjectWhereUniqueInput } export type EvalTemplateCreateNestedOneWithoutJobConfigurationInput = { create?: XOR connectOrCreate?: EvalTemplateCreateOrConnectWithoutJobConfigurationInput connect?: EvalTemplateWhereUniqueInput } export type JobExecutionCreateNestedManyWithoutJobConfigurationInput = { create?: XOR | JobExecutionCreateWithoutJobConfigurationInput[] | JobExecutionUncheckedCreateWithoutJobConfigurationInput[] connectOrCreate?: JobExecutionCreateOrConnectWithoutJobConfigurationInput | JobExecutionCreateOrConnectWithoutJobConfigurationInput[] createMany?: JobExecutionCreateManyJobConfigurationInputEnvelope connect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] } export type JobExecutionUncheckedCreateNestedManyWithoutJobConfigurationInput = { create?: XOR | JobExecutionCreateWithoutJobConfigurationInput[] | JobExecutionUncheckedCreateWithoutJobConfigurationInput[] connectOrCreate?: JobExecutionCreateOrConnectWithoutJobConfigurationInput | JobExecutionCreateOrConnectWithoutJobConfigurationInput[] createMany?: JobExecutionCreateManyJobConfigurationInputEnvelope connect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] } export type EnumJobTypeFieldUpdateOperationsInput = { set?: $Enums.JobType } export type EnumJobConfigStateFieldUpdateOperationsInput = { set?: $Enums.JobConfigState } export type JobConfigurationUpdatetimeScopeInput = { set?: string[] push?: string | string[] } export type ProjectUpdateOneRequiredWithoutJobConfigurationNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutJobConfigurationInput upsert?: ProjectUpsertWithoutJobConfigurationInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutJobConfigurationInput> } export type EvalTemplateUpdateOneWithoutJobConfigurationNestedInput = { create?: XOR connectOrCreate?: EvalTemplateCreateOrConnectWithoutJobConfigurationInput upsert?: EvalTemplateUpsertWithoutJobConfigurationInput disconnect?: EvalTemplateWhereInput | boolean delete?: EvalTemplateWhereInput | boolean connect?: EvalTemplateWhereUniqueInput update?: XOR, EvalTemplateUncheckedUpdateWithoutJobConfigurationInput> } export type JobExecutionUpdateManyWithoutJobConfigurationNestedInput = { create?: XOR | JobExecutionCreateWithoutJobConfigurationInput[] | JobExecutionUncheckedCreateWithoutJobConfigurationInput[] connectOrCreate?: JobExecutionCreateOrConnectWithoutJobConfigurationInput | JobExecutionCreateOrConnectWithoutJobConfigurationInput[] upsert?: JobExecutionUpsertWithWhereUniqueWithoutJobConfigurationInput | JobExecutionUpsertWithWhereUniqueWithoutJobConfigurationInput[] createMany?: JobExecutionCreateManyJobConfigurationInputEnvelope set?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] disconnect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] delete?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] connect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] update?: JobExecutionUpdateWithWhereUniqueWithoutJobConfigurationInput | JobExecutionUpdateWithWhereUniqueWithoutJobConfigurationInput[] updateMany?: JobExecutionUpdateManyWithWhereWithoutJobConfigurationInput | JobExecutionUpdateManyWithWhereWithoutJobConfigurationInput[] deleteMany?: JobExecutionScalarWhereInput | JobExecutionScalarWhereInput[] } export type JobExecutionUncheckedUpdateManyWithoutJobConfigurationNestedInput = { create?: XOR | JobExecutionCreateWithoutJobConfigurationInput[] | JobExecutionUncheckedCreateWithoutJobConfigurationInput[] connectOrCreate?: JobExecutionCreateOrConnectWithoutJobConfigurationInput | JobExecutionCreateOrConnectWithoutJobConfigurationInput[] upsert?: JobExecutionUpsertWithWhereUniqueWithoutJobConfigurationInput | JobExecutionUpsertWithWhereUniqueWithoutJobConfigurationInput[] createMany?: JobExecutionCreateManyJobConfigurationInputEnvelope set?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] disconnect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] delete?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] connect?: JobExecutionWhereUniqueInput | JobExecutionWhereUniqueInput[] update?: JobExecutionUpdateWithWhereUniqueWithoutJobConfigurationInput | JobExecutionUpdateWithWhereUniqueWithoutJobConfigurationInput[] updateMany?: JobExecutionUpdateManyWithWhereWithoutJobConfigurationInput | JobExecutionUpdateManyWithWhereWithoutJobConfigurationInput[] deleteMany?: JobExecutionScalarWhereInput | JobExecutionScalarWhereInput[] } export type ProjectCreateNestedOneWithoutJobExecutionInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutJobExecutionInput connect?: ProjectWhereUniqueInput } export type JobConfigurationCreateNestedOneWithoutJobExecutionInput = { create?: XOR connectOrCreate?: JobConfigurationCreateOrConnectWithoutJobExecutionInput connect?: JobConfigurationWhereUniqueInput } export type EvalTemplateCreateNestedOneWithoutJobExecutionInput = { create?: XOR connectOrCreate?: EvalTemplateCreateOrConnectWithoutJobExecutionInput connect?: EvalTemplateWhereUniqueInput } export type EnumJobExecutionStatusFieldUpdateOperationsInput = { set?: $Enums.JobExecutionStatus } export type ProjectUpdateOneRequiredWithoutJobExecutionNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutJobExecutionInput upsert?: ProjectUpsertWithoutJobExecutionInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutJobExecutionInput> } export type JobConfigurationUpdateOneRequiredWithoutJobExecutionNestedInput = { create?: XOR connectOrCreate?: JobConfigurationCreateOrConnectWithoutJobExecutionInput upsert?: JobConfigurationUpsertWithoutJobExecutionInput connect?: JobConfigurationWhereUniqueInput update?: XOR, JobConfigurationUncheckedUpdateWithoutJobExecutionInput> } export type EvalTemplateUpdateOneWithoutJobExecutionNestedInput = { create?: XOR connectOrCreate?: EvalTemplateCreateOrConnectWithoutJobExecutionInput upsert?: EvalTemplateUpsertWithoutJobExecutionInput disconnect?: EvalTemplateWhereInput | boolean delete?: EvalTemplateWhereInput | boolean connect?: EvalTemplateWhereUniqueInput update?: XOR, EvalTemplateUncheckedUpdateWithoutJobExecutionInput> } export type ProjectCreateNestedOneWithoutDefaultLlmModelInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutDefaultLlmModelInput connect?: ProjectWhereUniqueInput } export type LlmApiKeysCreateNestedOneWithoutDefaultLlmModelInput = { create?: XOR connectOrCreate?: LlmApiKeysCreateOrConnectWithoutDefaultLlmModelInput connect?: LlmApiKeysWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutDefaultLlmModelNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutDefaultLlmModelInput upsert?: ProjectUpsertWithoutDefaultLlmModelInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutDefaultLlmModelInput> } export type LlmApiKeysUpdateOneRequiredWithoutDefaultLlmModelNestedInput = { create?: XOR connectOrCreate?: LlmApiKeysCreateOrConnectWithoutDefaultLlmModelInput upsert?: LlmApiKeysUpsertWithoutDefaultLlmModelInput connect?: LlmApiKeysWhereUniqueInput update?: XOR, LlmApiKeysUncheckedUpdateWithoutDefaultLlmModelInput> } export type ProjectCreateNestedOneWithoutPosthogIntegrationInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutPosthogIntegrationInput connect?: ProjectWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutPosthogIntegrationNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutPosthogIntegrationInput upsert?: ProjectUpsertWithoutPosthogIntegrationInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutPosthogIntegrationInput> } export type ProjectCreateNestedOneWithoutBlobStorageIntegrationInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutBlobStorageIntegrationInput connect?: ProjectWhereUniqueInput } export type EnumBlobStorageIntegrationTypeFieldUpdateOperationsInput = { set?: $Enums.BlobStorageIntegrationType } export type EnumBlobStorageIntegrationFileTypeFieldUpdateOperationsInput = { set?: $Enums.BlobStorageIntegrationFileType } export type EnumBlobStorageExportModeFieldUpdateOperationsInput = { set?: $Enums.BlobStorageExportMode } export type ProjectUpdateOneRequiredWithoutBlobStorageIntegrationNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutBlobStorageIntegrationInput upsert?: ProjectUpsertWithoutBlobStorageIntegrationInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutBlobStorageIntegrationInput> } export type ProjectCreateNestedOneWithoutBatchExportInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutBatchExportInput connect?: ProjectWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutBatchExportNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutBatchExportInput upsert?: ProjectUpsertWithoutBatchExportInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutBatchExportInput> } export type ProjectCreateNestedOneWithoutMediaInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutMediaInput connect?: ProjectWhereUniqueInput } export type TraceMediaCreateNestedManyWithoutMediaInput = { create?: XOR | TraceMediaCreateWithoutMediaInput[] | TraceMediaUncheckedCreateWithoutMediaInput[] connectOrCreate?: TraceMediaCreateOrConnectWithoutMediaInput | TraceMediaCreateOrConnectWithoutMediaInput[] createMany?: TraceMediaCreateManyMediaInputEnvelope connect?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] } export type ObservationMediaCreateNestedManyWithoutMediaInput = { create?: XOR | ObservationMediaCreateWithoutMediaInput[] | ObservationMediaUncheckedCreateWithoutMediaInput[] connectOrCreate?: ObservationMediaCreateOrConnectWithoutMediaInput | ObservationMediaCreateOrConnectWithoutMediaInput[] createMany?: ObservationMediaCreateManyMediaInputEnvelope connect?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] } export type TraceMediaUncheckedCreateNestedManyWithoutMediaInput = { create?: XOR | TraceMediaCreateWithoutMediaInput[] | TraceMediaUncheckedCreateWithoutMediaInput[] connectOrCreate?: TraceMediaCreateOrConnectWithoutMediaInput | TraceMediaCreateOrConnectWithoutMediaInput[] createMany?: TraceMediaCreateManyMediaInputEnvelope connect?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] } export type ObservationMediaUncheckedCreateNestedManyWithoutMediaInput = { create?: XOR | ObservationMediaCreateWithoutMediaInput[] | ObservationMediaUncheckedCreateWithoutMediaInput[] connectOrCreate?: ObservationMediaCreateOrConnectWithoutMediaInput | ObservationMediaCreateOrConnectWithoutMediaInput[] createMany?: ObservationMediaCreateManyMediaInputEnvelope connect?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] } export type BigIntFieldUpdateOperationsInput = { set?: bigint | number increment?: bigint | number decrement?: bigint | number multiply?: bigint | number divide?: bigint | number } export type ProjectUpdateOneRequiredWithoutMediaNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutMediaInput upsert?: ProjectUpsertWithoutMediaInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutMediaInput> } export type TraceMediaUpdateManyWithoutMediaNestedInput = { create?: XOR | TraceMediaCreateWithoutMediaInput[] | TraceMediaUncheckedCreateWithoutMediaInput[] connectOrCreate?: TraceMediaCreateOrConnectWithoutMediaInput | TraceMediaCreateOrConnectWithoutMediaInput[] upsert?: TraceMediaUpsertWithWhereUniqueWithoutMediaInput | TraceMediaUpsertWithWhereUniqueWithoutMediaInput[] createMany?: TraceMediaCreateManyMediaInputEnvelope set?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] disconnect?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] delete?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] connect?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] update?: TraceMediaUpdateWithWhereUniqueWithoutMediaInput | TraceMediaUpdateWithWhereUniqueWithoutMediaInput[] updateMany?: TraceMediaUpdateManyWithWhereWithoutMediaInput | TraceMediaUpdateManyWithWhereWithoutMediaInput[] deleteMany?: TraceMediaScalarWhereInput | TraceMediaScalarWhereInput[] } export type ObservationMediaUpdateManyWithoutMediaNestedInput = { create?: XOR | ObservationMediaCreateWithoutMediaInput[] | ObservationMediaUncheckedCreateWithoutMediaInput[] connectOrCreate?: ObservationMediaCreateOrConnectWithoutMediaInput | ObservationMediaCreateOrConnectWithoutMediaInput[] upsert?: ObservationMediaUpsertWithWhereUniqueWithoutMediaInput | ObservationMediaUpsertWithWhereUniqueWithoutMediaInput[] createMany?: ObservationMediaCreateManyMediaInputEnvelope set?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] disconnect?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] delete?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] connect?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] update?: ObservationMediaUpdateWithWhereUniqueWithoutMediaInput | ObservationMediaUpdateWithWhereUniqueWithoutMediaInput[] updateMany?: ObservationMediaUpdateManyWithWhereWithoutMediaInput | ObservationMediaUpdateManyWithWhereWithoutMediaInput[] deleteMany?: ObservationMediaScalarWhereInput | ObservationMediaScalarWhereInput[] } export type TraceMediaUncheckedUpdateManyWithoutMediaNestedInput = { create?: XOR | TraceMediaCreateWithoutMediaInput[] | TraceMediaUncheckedCreateWithoutMediaInput[] connectOrCreate?: TraceMediaCreateOrConnectWithoutMediaInput | TraceMediaCreateOrConnectWithoutMediaInput[] upsert?: TraceMediaUpsertWithWhereUniqueWithoutMediaInput | TraceMediaUpsertWithWhereUniqueWithoutMediaInput[] createMany?: TraceMediaCreateManyMediaInputEnvelope set?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] disconnect?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] delete?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] connect?: TraceMediaWhereUniqueInput | TraceMediaWhereUniqueInput[] update?: TraceMediaUpdateWithWhereUniqueWithoutMediaInput | TraceMediaUpdateWithWhereUniqueWithoutMediaInput[] updateMany?: TraceMediaUpdateManyWithWhereWithoutMediaInput | TraceMediaUpdateManyWithWhereWithoutMediaInput[] deleteMany?: TraceMediaScalarWhereInput | TraceMediaScalarWhereInput[] } export type ObservationMediaUncheckedUpdateManyWithoutMediaNestedInput = { create?: XOR | ObservationMediaCreateWithoutMediaInput[] | ObservationMediaUncheckedCreateWithoutMediaInput[] connectOrCreate?: ObservationMediaCreateOrConnectWithoutMediaInput | ObservationMediaCreateOrConnectWithoutMediaInput[] upsert?: ObservationMediaUpsertWithWhereUniqueWithoutMediaInput | ObservationMediaUpsertWithWhereUniqueWithoutMediaInput[] createMany?: ObservationMediaCreateManyMediaInputEnvelope set?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] disconnect?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] delete?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] connect?: ObservationMediaWhereUniqueInput | ObservationMediaWhereUniqueInput[] update?: ObservationMediaUpdateWithWhereUniqueWithoutMediaInput | ObservationMediaUpdateWithWhereUniqueWithoutMediaInput[] updateMany?: ObservationMediaUpdateManyWithWhereWithoutMediaInput | ObservationMediaUpdateManyWithWhereWithoutMediaInput[] deleteMany?: ObservationMediaScalarWhereInput | ObservationMediaScalarWhereInput[] } export type ProjectCreateNestedOneWithoutTraceMediaInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutTraceMediaInput connect?: ProjectWhereUniqueInput } export type MediaCreateNestedOneWithoutTraceMediaInput = { create?: XOR connectOrCreate?: MediaCreateOrConnectWithoutTraceMediaInput connect?: MediaWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutTraceMediaNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutTraceMediaInput upsert?: ProjectUpsertWithoutTraceMediaInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutTraceMediaInput> } export type MediaUpdateOneRequiredWithoutTraceMediaNestedInput = { create?: XOR connectOrCreate?: MediaCreateOrConnectWithoutTraceMediaInput upsert?: MediaUpsertWithoutTraceMediaInput connect?: MediaWhereUniqueInput update?: XOR, MediaUncheckedUpdateWithoutTraceMediaInput> } export type ProjectCreateNestedOneWithoutObservationMediaInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutObservationMediaInput connect?: ProjectWhereUniqueInput } export type MediaCreateNestedOneWithoutObservationMediaInput = { create?: XOR connectOrCreate?: MediaCreateOrConnectWithoutObservationMediaInput connect?: MediaWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutObservationMediaNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutObservationMediaInput upsert?: ProjectUpsertWithoutObservationMediaInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutObservationMediaInput> } export type MediaUpdateOneRequiredWithoutObservationMediaNestedInput = { create?: XOR connectOrCreate?: MediaCreateOrConnectWithoutObservationMediaInput upsert?: MediaUpsertWithoutObservationMediaInput connect?: MediaWhereUniqueInput update?: XOR, MediaUncheckedUpdateWithoutObservationMediaInput> } export type ProjectCreateNestedOneWithoutLlmSchemaInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutLlmSchemaInput connect?: ProjectWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutLlmSchemaNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutLlmSchemaInput upsert?: ProjectUpsertWithoutLlmSchemaInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutLlmSchemaInput> } export type ProjectCreateNestedOneWithoutLlmToolInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutLlmToolInput connect?: ProjectWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutLlmToolNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutLlmToolInput upsert?: ProjectUpsertWithoutLlmToolInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutLlmToolInput> } export type UserCreateNestedOneWithoutDashboardCreatedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutDashboardCreatedInput connect?: UserWhereUniqueInput } export type UserCreateNestedOneWithoutDashboardUpdatedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutDashboardUpdatedInput connect?: UserWhereUniqueInput } export type ProjectCreateNestedOneWithoutDashboardInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutDashboardInput connect?: ProjectWhereUniqueInput } export type UserUpdateOneWithoutDashboardCreatedNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutDashboardCreatedInput upsert?: UserUpsertWithoutDashboardCreatedInput disconnect?: UserWhereInput | boolean delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutDashboardCreatedInput> } export type UserUpdateOneWithoutDashboardUpdatedNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutDashboardUpdatedInput upsert?: UserUpsertWithoutDashboardUpdatedInput disconnect?: UserWhereInput | boolean delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutDashboardUpdatedInput> } export type ProjectUpdateOneWithoutDashboardNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutDashboardInput upsert?: ProjectUpsertWithoutDashboardInput disconnect?: ProjectWhereInput | boolean delete?: ProjectWhereInput | boolean connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutDashboardInput> } export type UserCreateNestedOneWithoutDashboardWidgetsCreatedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutDashboardWidgetsCreatedInput connect?: UserWhereUniqueInput } export type UserCreateNestedOneWithoutDashboardWidgetsUpdatedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutDashboardWidgetsUpdatedInput connect?: UserWhereUniqueInput } export type ProjectCreateNestedOneWithoutDashboardWidgetInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutDashboardWidgetInput connect?: ProjectWhereUniqueInput } export type EnumDashboardWidgetViewsFieldUpdateOperationsInput = { set?: $Enums.DashboardWidgetViews } export type EnumDashboardWidgetChartTypeFieldUpdateOperationsInput = { set?: $Enums.DashboardWidgetChartType } export type UserUpdateOneWithoutDashboardWidgetsCreatedNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutDashboardWidgetsCreatedInput upsert?: UserUpsertWithoutDashboardWidgetsCreatedInput disconnect?: UserWhereInput | boolean delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutDashboardWidgetsCreatedInput> } export type UserUpdateOneWithoutDashboardWidgetsUpdatedNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutDashboardWidgetsUpdatedInput upsert?: UserUpsertWithoutDashboardWidgetsUpdatedInput disconnect?: UserWhereInput | boolean delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutDashboardWidgetsUpdatedInput> } export type ProjectUpdateOneWithoutDashboardWidgetNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutDashboardWidgetInput upsert?: ProjectUpsertWithoutDashboardWidgetInput disconnect?: ProjectWhereInput | boolean delete?: ProjectWhereInput | boolean connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutDashboardWidgetInput> } export type ProjectCreateNestedOneWithoutTableViewPresetInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutTableViewPresetInput connect?: ProjectWhereUniqueInput } export type UserCreateNestedOneWithoutTableViewPresetCreatedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutTableViewPresetCreatedInput connect?: UserWhereUniqueInput } export type UserCreateNestedOneWithoutTableViewPresetUpdatedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutTableViewPresetUpdatedInput connect?: UserWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutTableViewPresetNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutTableViewPresetInput upsert?: ProjectUpsertWithoutTableViewPresetInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutTableViewPresetInput> } export type UserUpdateOneWithoutTableViewPresetCreatedNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutTableViewPresetCreatedInput upsert?: UserUpsertWithoutTableViewPresetCreatedInput disconnect?: UserWhereInput | boolean delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutTableViewPresetCreatedInput> } export type UserUpdateOneWithoutTableViewPresetUpdatedNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutTableViewPresetUpdatedInput upsert?: UserUpsertWithoutTableViewPresetUpdatedInput disconnect?: UserWhereInput | boolean delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutTableViewPresetUpdatedInput> } export type ProjectCreateNestedOneWithoutActionsInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutActionsInput connect?: ProjectWhereUniqueInput } export type AutomationCreateNestedManyWithoutActionInput = { create?: XOR | AutomationCreateWithoutActionInput[] | AutomationUncheckedCreateWithoutActionInput[] connectOrCreate?: AutomationCreateOrConnectWithoutActionInput | AutomationCreateOrConnectWithoutActionInput[] createMany?: AutomationCreateManyActionInputEnvelope connect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] } export type AutomationExecutionCreateNestedManyWithoutActionInput = { create?: XOR | AutomationExecutionCreateWithoutActionInput[] | AutomationExecutionUncheckedCreateWithoutActionInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutActionInput | AutomationExecutionCreateOrConnectWithoutActionInput[] createMany?: AutomationExecutionCreateManyActionInputEnvelope connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] } export type AutomationUncheckedCreateNestedManyWithoutActionInput = { create?: XOR | AutomationCreateWithoutActionInput[] | AutomationUncheckedCreateWithoutActionInput[] connectOrCreate?: AutomationCreateOrConnectWithoutActionInput | AutomationCreateOrConnectWithoutActionInput[] createMany?: AutomationCreateManyActionInputEnvelope connect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] } export type AutomationExecutionUncheckedCreateNestedManyWithoutActionInput = { create?: XOR | AutomationExecutionCreateWithoutActionInput[] | AutomationExecutionUncheckedCreateWithoutActionInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutActionInput | AutomationExecutionCreateOrConnectWithoutActionInput[] createMany?: AutomationExecutionCreateManyActionInputEnvelope connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] } export type EnumActionTypeFieldUpdateOperationsInput = { set?: $Enums.ActionType } export type ProjectUpdateOneRequiredWithoutActionsNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutActionsInput upsert?: ProjectUpsertWithoutActionsInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutActionsInput> } export type AutomationUpdateManyWithoutActionNestedInput = { create?: XOR | AutomationCreateWithoutActionInput[] | AutomationUncheckedCreateWithoutActionInput[] connectOrCreate?: AutomationCreateOrConnectWithoutActionInput | AutomationCreateOrConnectWithoutActionInput[] upsert?: AutomationUpsertWithWhereUniqueWithoutActionInput | AutomationUpsertWithWhereUniqueWithoutActionInput[] createMany?: AutomationCreateManyActionInputEnvelope set?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] disconnect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] delete?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] connect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] update?: AutomationUpdateWithWhereUniqueWithoutActionInput | AutomationUpdateWithWhereUniqueWithoutActionInput[] updateMany?: AutomationUpdateManyWithWhereWithoutActionInput | AutomationUpdateManyWithWhereWithoutActionInput[] deleteMany?: AutomationScalarWhereInput | AutomationScalarWhereInput[] } export type AutomationExecutionUpdateManyWithoutActionNestedInput = { create?: XOR | AutomationExecutionCreateWithoutActionInput[] | AutomationExecutionUncheckedCreateWithoutActionInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutActionInput | AutomationExecutionCreateOrConnectWithoutActionInput[] upsert?: AutomationExecutionUpsertWithWhereUniqueWithoutActionInput | AutomationExecutionUpsertWithWhereUniqueWithoutActionInput[] createMany?: AutomationExecutionCreateManyActionInputEnvelope set?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] disconnect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] delete?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] update?: AutomationExecutionUpdateWithWhereUniqueWithoutActionInput | AutomationExecutionUpdateWithWhereUniqueWithoutActionInput[] updateMany?: AutomationExecutionUpdateManyWithWhereWithoutActionInput | AutomationExecutionUpdateManyWithWhereWithoutActionInput[] deleteMany?: AutomationExecutionScalarWhereInput | AutomationExecutionScalarWhereInput[] } export type AutomationUncheckedUpdateManyWithoutActionNestedInput = { create?: XOR | AutomationCreateWithoutActionInput[] | AutomationUncheckedCreateWithoutActionInput[] connectOrCreate?: AutomationCreateOrConnectWithoutActionInput | AutomationCreateOrConnectWithoutActionInput[] upsert?: AutomationUpsertWithWhereUniqueWithoutActionInput | AutomationUpsertWithWhereUniqueWithoutActionInput[] createMany?: AutomationCreateManyActionInputEnvelope set?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] disconnect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] delete?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] connect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] update?: AutomationUpdateWithWhereUniqueWithoutActionInput | AutomationUpdateWithWhereUniqueWithoutActionInput[] updateMany?: AutomationUpdateManyWithWhereWithoutActionInput | AutomationUpdateManyWithWhereWithoutActionInput[] deleteMany?: AutomationScalarWhereInput | AutomationScalarWhereInput[] } export type AutomationExecutionUncheckedUpdateManyWithoutActionNestedInput = { create?: XOR | AutomationExecutionCreateWithoutActionInput[] | AutomationExecutionUncheckedCreateWithoutActionInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutActionInput | AutomationExecutionCreateOrConnectWithoutActionInput[] upsert?: AutomationExecutionUpsertWithWhereUniqueWithoutActionInput | AutomationExecutionUpsertWithWhereUniqueWithoutActionInput[] createMany?: AutomationExecutionCreateManyActionInputEnvelope set?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] disconnect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] delete?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] update?: AutomationExecutionUpdateWithWhereUniqueWithoutActionInput | AutomationExecutionUpdateWithWhereUniqueWithoutActionInput[] updateMany?: AutomationExecutionUpdateManyWithWhereWithoutActionInput | AutomationExecutionUpdateManyWithWhereWithoutActionInput[] deleteMany?: AutomationExecutionScalarWhereInput | AutomationExecutionScalarWhereInput[] } export type TriggerCreateeventActionsInput = { set: string[] } export type ProjectCreateNestedOneWithoutTriggersInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutTriggersInput connect?: ProjectWhereUniqueInput } export type AutomationExecutionCreateNestedManyWithoutTriggerInput = { create?: XOR | AutomationExecutionCreateWithoutTriggerInput[] | AutomationExecutionUncheckedCreateWithoutTriggerInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutTriggerInput | AutomationExecutionCreateOrConnectWithoutTriggerInput[] createMany?: AutomationExecutionCreateManyTriggerInputEnvelope connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] } export type AutomationCreateNestedManyWithoutTriggerInput = { create?: XOR | AutomationCreateWithoutTriggerInput[] | AutomationUncheckedCreateWithoutTriggerInput[] connectOrCreate?: AutomationCreateOrConnectWithoutTriggerInput | AutomationCreateOrConnectWithoutTriggerInput[] createMany?: AutomationCreateManyTriggerInputEnvelope connect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] } export type AutomationExecutionUncheckedCreateNestedManyWithoutTriggerInput = { create?: XOR | AutomationExecutionCreateWithoutTriggerInput[] | AutomationExecutionUncheckedCreateWithoutTriggerInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutTriggerInput | AutomationExecutionCreateOrConnectWithoutTriggerInput[] createMany?: AutomationExecutionCreateManyTriggerInputEnvelope connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] } export type AutomationUncheckedCreateNestedManyWithoutTriggerInput = { create?: XOR | AutomationCreateWithoutTriggerInput[] | AutomationUncheckedCreateWithoutTriggerInput[] connectOrCreate?: AutomationCreateOrConnectWithoutTriggerInput | AutomationCreateOrConnectWithoutTriggerInput[] createMany?: AutomationCreateManyTriggerInputEnvelope connect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] } export type TriggerUpdateeventActionsInput = { set?: string[] push?: string | string[] } export type ProjectUpdateOneRequiredWithoutTriggersNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutTriggersInput upsert?: ProjectUpsertWithoutTriggersInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutTriggersInput> } export type AutomationExecutionUpdateManyWithoutTriggerNestedInput = { create?: XOR | AutomationExecutionCreateWithoutTriggerInput[] | AutomationExecutionUncheckedCreateWithoutTriggerInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutTriggerInput | AutomationExecutionCreateOrConnectWithoutTriggerInput[] upsert?: AutomationExecutionUpsertWithWhereUniqueWithoutTriggerInput | AutomationExecutionUpsertWithWhereUniqueWithoutTriggerInput[] createMany?: AutomationExecutionCreateManyTriggerInputEnvelope set?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] disconnect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] delete?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] update?: AutomationExecutionUpdateWithWhereUniqueWithoutTriggerInput | AutomationExecutionUpdateWithWhereUniqueWithoutTriggerInput[] updateMany?: AutomationExecutionUpdateManyWithWhereWithoutTriggerInput | AutomationExecutionUpdateManyWithWhereWithoutTriggerInput[] deleteMany?: AutomationExecutionScalarWhereInput | AutomationExecutionScalarWhereInput[] } export type AutomationUpdateManyWithoutTriggerNestedInput = { create?: XOR | AutomationCreateWithoutTriggerInput[] | AutomationUncheckedCreateWithoutTriggerInput[] connectOrCreate?: AutomationCreateOrConnectWithoutTriggerInput | AutomationCreateOrConnectWithoutTriggerInput[] upsert?: AutomationUpsertWithWhereUniqueWithoutTriggerInput | AutomationUpsertWithWhereUniqueWithoutTriggerInput[] createMany?: AutomationCreateManyTriggerInputEnvelope set?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] disconnect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] delete?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] connect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] update?: AutomationUpdateWithWhereUniqueWithoutTriggerInput | AutomationUpdateWithWhereUniqueWithoutTriggerInput[] updateMany?: AutomationUpdateManyWithWhereWithoutTriggerInput | AutomationUpdateManyWithWhereWithoutTriggerInput[] deleteMany?: AutomationScalarWhereInput | AutomationScalarWhereInput[] } export type AutomationExecutionUncheckedUpdateManyWithoutTriggerNestedInput = { create?: XOR | AutomationExecutionCreateWithoutTriggerInput[] | AutomationExecutionUncheckedCreateWithoutTriggerInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutTriggerInput | AutomationExecutionCreateOrConnectWithoutTriggerInput[] upsert?: AutomationExecutionUpsertWithWhereUniqueWithoutTriggerInput | AutomationExecutionUpsertWithWhereUniqueWithoutTriggerInput[] createMany?: AutomationExecutionCreateManyTriggerInputEnvelope set?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] disconnect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] delete?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] update?: AutomationExecutionUpdateWithWhereUniqueWithoutTriggerInput | AutomationExecutionUpdateWithWhereUniqueWithoutTriggerInput[] updateMany?: AutomationExecutionUpdateManyWithWhereWithoutTriggerInput | AutomationExecutionUpdateManyWithWhereWithoutTriggerInput[] deleteMany?: AutomationExecutionScalarWhereInput | AutomationExecutionScalarWhereInput[] } export type AutomationUncheckedUpdateManyWithoutTriggerNestedInput = { create?: XOR | AutomationCreateWithoutTriggerInput[] | AutomationUncheckedCreateWithoutTriggerInput[] connectOrCreate?: AutomationCreateOrConnectWithoutTriggerInput | AutomationCreateOrConnectWithoutTriggerInput[] upsert?: AutomationUpsertWithWhereUniqueWithoutTriggerInput | AutomationUpsertWithWhereUniqueWithoutTriggerInput[] createMany?: AutomationCreateManyTriggerInputEnvelope set?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] disconnect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] delete?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] connect?: AutomationWhereUniqueInput | AutomationWhereUniqueInput[] update?: AutomationUpdateWithWhereUniqueWithoutTriggerInput | AutomationUpdateWithWhereUniqueWithoutTriggerInput[] updateMany?: AutomationUpdateManyWithWhereWithoutTriggerInput | AutomationUpdateManyWithWhereWithoutTriggerInput[] deleteMany?: AutomationScalarWhereInput | AutomationScalarWhereInput[] } export type TriggerCreateNestedOneWithoutAutomationsInput = { create?: XOR connectOrCreate?: TriggerCreateOrConnectWithoutAutomationsInput connect?: TriggerWhereUniqueInput } export type ActionCreateNestedOneWithoutAutomationsInput = { create?: XOR connectOrCreate?: ActionCreateOrConnectWithoutAutomationsInput connect?: ActionWhereUniqueInput } export type ProjectCreateNestedOneWithoutAutomationInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutAutomationInput connect?: ProjectWhereUniqueInput } export type AutomationExecutionCreateNestedManyWithoutAutomationInput = { create?: XOR | AutomationExecutionCreateWithoutAutomationInput[] | AutomationExecutionUncheckedCreateWithoutAutomationInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutAutomationInput | AutomationExecutionCreateOrConnectWithoutAutomationInput[] createMany?: AutomationExecutionCreateManyAutomationInputEnvelope connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] } export type AutomationExecutionUncheckedCreateNestedManyWithoutAutomationInput = { create?: XOR | AutomationExecutionCreateWithoutAutomationInput[] | AutomationExecutionUncheckedCreateWithoutAutomationInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutAutomationInput | AutomationExecutionCreateOrConnectWithoutAutomationInput[] createMany?: AutomationExecutionCreateManyAutomationInputEnvelope connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] } export type TriggerUpdateOneRequiredWithoutAutomationsNestedInput = { create?: XOR connectOrCreate?: TriggerCreateOrConnectWithoutAutomationsInput upsert?: TriggerUpsertWithoutAutomationsInput connect?: TriggerWhereUniqueInput update?: XOR, TriggerUncheckedUpdateWithoutAutomationsInput> } export type ActionUpdateOneRequiredWithoutAutomationsNestedInput = { create?: XOR connectOrCreate?: ActionCreateOrConnectWithoutAutomationsInput upsert?: ActionUpsertWithoutAutomationsInput connect?: ActionWhereUniqueInput update?: XOR, ActionUncheckedUpdateWithoutAutomationsInput> } export type ProjectUpdateOneRequiredWithoutAutomationNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutAutomationInput upsert?: ProjectUpsertWithoutAutomationInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutAutomationInput> } export type AutomationExecutionUpdateManyWithoutAutomationNestedInput = { create?: XOR | AutomationExecutionCreateWithoutAutomationInput[] | AutomationExecutionUncheckedCreateWithoutAutomationInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutAutomationInput | AutomationExecutionCreateOrConnectWithoutAutomationInput[] upsert?: AutomationExecutionUpsertWithWhereUniqueWithoutAutomationInput | AutomationExecutionUpsertWithWhereUniqueWithoutAutomationInput[] createMany?: AutomationExecutionCreateManyAutomationInputEnvelope set?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] disconnect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] delete?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] update?: AutomationExecutionUpdateWithWhereUniqueWithoutAutomationInput | AutomationExecutionUpdateWithWhereUniqueWithoutAutomationInput[] updateMany?: AutomationExecutionUpdateManyWithWhereWithoutAutomationInput | AutomationExecutionUpdateManyWithWhereWithoutAutomationInput[] deleteMany?: AutomationExecutionScalarWhereInput | AutomationExecutionScalarWhereInput[] } export type AutomationExecutionUncheckedUpdateManyWithoutAutomationNestedInput = { create?: XOR | AutomationExecutionCreateWithoutAutomationInput[] | AutomationExecutionUncheckedCreateWithoutAutomationInput[] connectOrCreate?: AutomationExecutionCreateOrConnectWithoutAutomationInput | AutomationExecutionCreateOrConnectWithoutAutomationInput[] upsert?: AutomationExecutionUpsertWithWhereUniqueWithoutAutomationInput | AutomationExecutionUpsertWithWhereUniqueWithoutAutomationInput[] createMany?: AutomationExecutionCreateManyAutomationInputEnvelope set?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] disconnect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] delete?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] connect?: AutomationExecutionWhereUniqueInput | AutomationExecutionWhereUniqueInput[] update?: AutomationExecutionUpdateWithWhereUniqueWithoutAutomationInput | AutomationExecutionUpdateWithWhereUniqueWithoutAutomationInput[] updateMany?: AutomationExecutionUpdateManyWithWhereWithoutAutomationInput | AutomationExecutionUpdateManyWithWhereWithoutAutomationInput[] deleteMany?: AutomationExecutionScalarWhereInput | AutomationExecutionScalarWhereInput[] } export type AutomationCreateNestedOneWithoutAutomationExecutionInput = { create?: XOR connectOrCreate?: AutomationCreateOrConnectWithoutAutomationExecutionInput connect?: AutomationWhereUniqueInput } export type TriggerCreateNestedOneWithoutAutomationExecutionsInput = { create?: XOR connectOrCreate?: TriggerCreateOrConnectWithoutAutomationExecutionsInput connect?: TriggerWhereUniqueInput } export type ActionCreateNestedOneWithoutAutomationExecutionsInput = { create?: XOR connectOrCreate?: ActionCreateOrConnectWithoutAutomationExecutionsInput connect?: ActionWhereUniqueInput } export type ProjectCreateNestedOneWithoutAutomationExecutionsInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutAutomationExecutionsInput connect?: ProjectWhereUniqueInput } export type EnumActionExecutionStatusFieldUpdateOperationsInput = { set?: $Enums.ActionExecutionStatus } export type AutomationUpdateOneRequiredWithoutAutomationExecutionNestedInput = { create?: XOR connectOrCreate?: AutomationCreateOrConnectWithoutAutomationExecutionInput upsert?: AutomationUpsertWithoutAutomationExecutionInput connect?: AutomationWhereUniqueInput update?: XOR, AutomationUncheckedUpdateWithoutAutomationExecutionInput> } export type TriggerUpdateOneRequiredWithoutAutomationExecutionsNestedInput = { create?: XOR connectOrCreate?: TriggerCreateOrConnectWithoutAutomationExecutionsInput upsert?: TriggerUpsertWithoutAutomationExecutionsInput connect?: TriggerWhereUniqueInput update?: XOR, TriggerUncheckedUpdateWithoutAutomationExecutionsInput> } export type ActionUpdateOneRequiredWithoutAutomationExecutionsNestedInput = { create?: XOR connectOrCreate?: ActionCreateOrConnectWithoutAutomationExecutionsInput upsert?: ActionUpsertWithoutAutomationExecutionsInput connect?: ActionWhereUniqueInput update?: XOR, ActionUncheckedUpdateWithoutAutomationExecutionsInput> } export type ProjectUpdateOneRequiredWithoutAutomationExecutionsNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutAutomationExecutionsInput upsert?: ProjectUpsertWithoutAutomationExecutionsInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutAutomationExecutionsInput> } export type ProjectCreateNestedOneWithoutSlackIntegrationInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutSlackIntegrationInput connect?: ProjectWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutSlackIntegrationNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutSlackIntegrationInput upsert?: ProjectUpsertWithoutSlackIntegrationInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutSlackIntegrationInput> } export type ProjectCreateNestedOneWithoutPendingDeletionInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutPendingDeletionInput connect?: ProjectWhereUniqueInput } export type ProjectUpdateOneRequiredWithoutPendingDeletionNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutPendingDeletionInput upsert?: ProjectUpsertWithoutPendingDeletionInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutPendingDeletionInput> } export type OrganizationCreateNestedOneWithoutSurveysInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutSurveysInput connect?: OrganizationWhereUniqueInput } export type UserCreateNestedOneWithoutSurveysInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutSurveysInput connect?: UserWhereUniqueInput } export type EnumSurveyNameFieldUpdateOperationsInput = { set?: $Enums.SurveyName } export type OrganizationUpdateOneWithoutSurveysNestedInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutSurveysInput upsert?: OrganizationUpsertWithoutSurveysInput disconnect?: OrganizationWhereInput | boolean delete?: OrganizationWhereInput | boolean connect?: OrganizationWhereUniqueInput update?: XOR, OrganizationUncheckedUpdateWithoutSurveysInput> } export type UserUpdateOneWithoutSurveysNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutSurveysInput upsert?: UserUpsertWithoutSurveysInput disconnect?: UserWhereInput | boolean delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutSurveysInput> } 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 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 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 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 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 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 NestedIntNullableWithAggregatesFilter<$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?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedIntNullableFilter<$PrismaModel> _min?: NestedIntNullableFilter<$PrismaModel> _max?: NestedIntNullableFilter<$PrismaModel> } 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 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 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 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 NestedBoolFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolFilter<$PrismaModel> | boolean } 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 NestedBoolWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean _count?: NestedIntFilter<$PrismaModel> _min?: NestedBoolFilter<$PrismaModel> _max?: NestedBoolFilter<$PrismaModel> } 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 NestedEnumApiKeyScopeFilter<$PrismaModel = never> = { equals?: $Enums.ApiKeyScope | EnumApiKeyScopeFieldRefInput<$PrismaModel> in?: $Enums.ApiKeyScope[] | ListEnumApiKeyScopeFieldRefInput<$PrismaModel> notIn?: $Enums.ApiKeyScope[] | ListEnumApiKeyScopeFieldRefInput<$PrismaModel> not?: NestedEnumApiKeyScopeFilter<$PrismaModel> | $Enums.ApiKeyScope } export type NestedEnumApiKeyScopeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.ApiKeyScope | EnumApiKeyScopeFieldRefInput<$PrismaModel> in?: $Enums.ApiKeyScope[] | ListEnumApiKeyScopeFieldRefInput<$PrismaModel> notIn?: $Enums.ApiKeyScope[] | ListEnumApiKeyScopeFieldRefInput<$PrismaModel> not?: NestedEnumApiKeyScopeWithAggregatesFilter<$PrismaModel> | $Enums.ApiKeyScope _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumApiKeyScopeFilter<$PrismaModel> _max?: NestedEnumApiKeyScopeFilter<$PrismaModel> } 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 NestedEnumRoleFilter<$PrismaModel = never> = { equals?: $Enums.Role | EnumRoleFieldRefInput<$PrismaModel> in?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> notIn?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> not?: NestedEnumRoleFilter<$PrismaModel> | $Enums.Role } export type NestedEnumRoleWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.Role | EnumRoleFieldRefInput<$PrismaModel> in?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> notIn?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> not?: NestedEnumRoleWithAggregatesFilter<$PrismaModel> | $Enums.Role _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumRoleFilter<$PrismaModel> _max?: NestedEnumRoleFilter<$PrismaModel> } export type NestedEnumRoleNullableFilter<$PrismaModel = never> = { equals?: $Enums.Role | EnumRoleFieldRefInput<$PrismaModel> | null in?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> | null notIn?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> | null not?: NestedEnumRoleNullableFilter<$PrismaModel> | $Enums.Role | null } export type NestedEnumRoleNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.Role | EnumRoleFieldRefInput<$PrismaModel> | null in?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> | null notIn?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> | null not?: NestedEnumRoleNullableWithAggregatesFilter<$PrismaModel> | $Enums.Role | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedEnumRoleNullableFilter<$PrismaModel> _max?: NestedEnumRoleNullableFilter<$PrismaModel> } export type NestedEnumLegacyPrismaObservationTypeFilter<$PrismaModel = never> = { equals?: $Enums.LegacyPrismaObservationType | EnumLegacyPrismaObservationTypeFieldRefInput<$PrismaModel> in?: $Enums.LegacyPrismaObservationType[] | ListEnumLegacyPrismaObservationTypeFieldRefInput<$PrismaModel> notIn?: $Enums.LegacyPrismaObservationType[] | ListEnumLegacyPrismaObservationTypeFieldRefInput<$PrismaModel> not?: NestedEnumLegacyPrismaObservationTypeFilter<$PrismaModel> | $Enums.LegacyPrismaObservationType } export type NestedEnumLegacyPrismaObservationLevelFilter<$PrismaModel = never> = { equals?: $Enums.LegacyPrismaObservationLevel | EnumLegacyPrismaObservationLevelFieldRefInput<$PrismaModel> in?: $Enums.LegacyPrismaObservationLevel[] | ListEnumLegacyPrismaObservationLevelFieldRefInput<$PrismaModel> notIn?: $Enums.LegacyPrismaObservationLevel[] | ListEnumLegacyPrismaObservationLevelFieldRefInput<$PrismaModel> not?: NestedEnumLegacyPrismaObservationLevelFilter<$PrismaModel> | $Enums.LegacyPrismaObservationLevel } export type NestedDecimalNullableFilter<$PrismaModel = never> = { equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> not?: NestedDecimalNullableFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null } export type NestedEnumLegacyPrismaObservationTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.LegacyPrismaObservationType | EnumLegacyPrismaObservationTypeFieldRefInput<$PrismaModel> in?: $Enums.LegacyPrismaObservationType[] | ListEnumLegacyPrismaObservationTypeFieldRefInput<$PrismaModel> notIn?: $Enums.LegacyPrismaObservationType[] | ListEnumLegacyPrismaObservationTypeFieldRefInput<$PrismaModel> not?: NestedEnumLegacyPrismaObservationTypeWithAggregatesFilter<$PrismaModel> | $Enums.LegacyPrismaObservationType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumLegacyPrismaObservationTypeFilter<$PrismaModel> _max?: NestedEnumLegacyPrismaObservationTypeFilter<$PrismaModel> } export type NestedEnumLegacyPrismaObservationLevelWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.LegacyPrismaObservationLevel | EnumLegacyPrismaObservationLevelFieldRefInput<$PrismaModel> in?: $Enums.LegacyPrismaObservationLevel[] | ListEnumLegacyPrismaObservationLevelFieldRefInput<$PrismaModel> notIn?: $Enums.LegacyPrismaObservationLevel[] | ListEnumLegacyPrismaObservationLevelFieldRefInput<$PrismaModel> not?: NestedEnumLegacyPrismaObservationLevelWithAggregatesFilter<$PrismaModel> | $Enums.LegacyPrismaObservationLevel _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumLegacyPrismaObservationLevelFilter<$PrismaModel> _max?: NestedEnumLegacyPrismaObservationLevelFilter<$PrismaModel> } 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 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 NestedDecimalNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> | null in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> | null lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> not?: NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedDecimalNullableFilter<$PrismaModel> _sum?: NestedDecimalNullableFilter<$PrismaModel> _min?: NestedDecimalNullableFilter<$PrismaModel> _max?: NestedDecimalNullableFilter<$PrismaModel> } export type NestedEnumLegacyPrismaScoreSourceFilter<$PrismaModel = never> = { equals?: $Enums.LegacyPrismaScoreSource | EnumLegacyPrismaScoreSourceFieldRefInput<$PrismaModel> in?: $Enums.LegacyPrismaScoreSource[] | ListEnumLegacyPrismaScoreSourceFieldRefInput<$PrismaModel> notIn?: $Enums.LegacyPrismaScoreSource[] | ListEnumLegacyPrismaScoreSourceFieldRefInput<$PrismaModel> not?: NestedEnumLegacyPrismaScoreSourceFilter<$PrismaModel> | $Enums.LegacyPrismaScoreSource } export type NestedEnumScoreDataTypeFilter<$PrismaModel = never> = { equals?: $Enums.ScoreDataType | EnumScoreDataTypeFieldRefInput<$PrismaModel> in?: $Enums.ScoreDataType[] | ListEnumScoreDataTypeFieldRefInput<$PrismaModel> notIn?: $Enums.ScoreDataType[] | ListEnumScoreDataTypeFieldRefInput<$PrismaModel> not?: NestedEnumScoreDataTypeFilter<$PrismaModel> | $Enums.ScoreDataType } 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 NestedEnumLegacyPrismaScoreSourceWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.LegacyPrismaScoreSource | EnumLegacyPrismaScoreSourceFieldRefInput<$PrismaModel> in?: $Enums.LegacyPrismaScoreSource[] | ListEnumLegacyPrismaScoreSourceFieldRefInput<$PrismaModel> notIn?: $Enums.LegacyPrismaScoreSource[] | ListEnumLegacyPrismaScoreSourceFieldRefInput<$PrismaModel> not?: NestedEnumLegacyPrismaScoreSourceWithAggregatesFilter<$PrismaModel> | $Enums.LegacyPrismaScoreSource _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumLegacyPrismaScoreSourceFilter<$PrismaModel> _max?: NestedEnumLegacyPrismaScoreSourceFilter<$PrismaModel> } export type NestedEnumScoreDataTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.ScoreDataType | EnumScoreDataTypeFieldRefInput<$PrismaModel> in?: $Enums.ScoreDataType[] | ListEnumScoreDataTypeFieldRefInput<$PrismaModel> notIn?: $Enums.ScoreDataType[] | ListEnumScoreDataTypeFieldRefInput<$PrismaModel> not?: NestedEnumScoreDataTypeWithAggregatesFilter<$PrismaModel> | $Enums.ScoreDataType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumScoreDataTypeFilter<$PrismaModel> _max?: NestedEnumScoreDataTypeFilter<$PrismaModel> } export type NestedEnumAnnotationQueueObjectTypeFilter<$PrismaModel = never> = { equals?: $Enums.AnnotationQueueObjectType | EnumAnnotationQueueObjectTypeFieldRefInput<$PrismaModel> in?: $Enums.AnnotationQueueObjectType[] | ListEnumAnnotationQueueObjectTypeFieldRefInput<$PrismaModel> notIn?: $Enums.AnnotationQueueObjectType[] | ListEnumAnnotationQueueObjectTypeFieldRefInput<$PrismaModel> not?: NestedEnumAnnotationQueueObjectTypeFilter<$PrismaModel> | $Enums.AnnotationQueueObjectType } export type NestedEnumAnnotationQueueStatusFilter<$PrismaModel = never> = { equals?: $Enums.AnnotationQueueStatus | EnumAnnotationQueueStatusFieldRefInput<$PrismaModel> in?: $Enums.AnnotationQueueStatus[] | ListEnumAnnotationQueueStatusFieldRefInput<$PrismaModel> notIn?: $Enums.AnnotationQueueStatus[] | ListEnumAnnotationQueueStatusFieldRefInput<$PrismaModel> not?: NestedEnumAnnotationQueueStatusFilter<$PrismaModel> | $Enums.AnnotationQueueStatus } export type NestedEnumAnnotationQueueObjectTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.AnnotationQueueObjectType | EnumAnnotationQueueObjectTypeFieldRefInput<$PrismaModel> in?: $Enums.AnnotationQueueObjectType[] | ListEnumAnnotationQueueObjectTypeFieldRefInput<$PrismaModel> notIn?: $Enums.AnnotationQueueObjectType[] | ListEnumAnnotationQueueObjectTypeFieldRefInput<$PrismaModel> not?: NestedEnumAnnotationQueueObjectTypeWithAggregatesFilter<$PrismaModel> | $Enums.AnnotationQueueObjectType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumAnnotationQueueObjectTypeFilter<$PrismaModel> _max?: NestedEnumAnnotationQueueObjectTypeFilter<$PrismaModel> } export type NestedEnumAnnotationQueueStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.AnnotationQueueStatus | EnumAnnotationQueueStatusFieldRefInput<$PrismaModel> in?: $Enums.AnnotationQueueStatus[] | ListEnumAnnotationQueueStatusFieldRefInput<$PrismaModel> notIn?: $Enums.AnnotationQueueStatus[] | ListEnumAnnotationQueueStatusFieldRefInput<$PrismaModel> not?: NestedEnumAnnotationQueueStatusWithAggregatesFilter<$PrismaModel> | $Enums.AnnotationQueueStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumAnnotationQueueStatusFilter<$PrismaModel> _max?: NestedEnumAnnotationQueueStatusFilter<$PrismaModel> } export type NestedEnumDatasetStatusFilter<$PrismaModel = never> = { equals?: $Enums.DatasetStatus | EnumDatasetStatusFieldRefInput<$PrismaModel> in?: $Enums.DatasetStatus[] | ListEnumDatasetStatusFieldRefInput<$PrismaModel> notIn?: $Enums.DatasetStatus[] | ListEnumDatasetStatusFieldRefInput<$PrismaModel> not?: NestedEnumDatasetStatusFilter<$PrismaModel> | $Enums.DatasetStatus } export type NestedEnumDatasetStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.DatasetStatus | EnumDatasetStatusFieldRefInput<$PrismaModel> in?: $Enums.DatasetStatus[] | ListEnumDatasetStatusFieldRefInput<$PrismaModel> notIn?: $Enums.DatasetStatus[] | ListEnumDatasetStatusFieldRefInput<$PrismaModel> not?: NestedEnumDatasetStatusWithAggregatesFilter<$PrismaModel> | $Enums.DatasetStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumDatasetStatusFilter<$PrismaModel> _max?: NestedEnumDatasetStatusFilter<$PrismaModel> } export type NestedEnumCommentObjectTypeFilter<$PrismaModel = never> = { equals?: $Enums.CommentObjectType | EnumCommentObjectTypeFieldRefInput<$PrismaModel> in?: $Enums.CommentObjectType[] | ListEnumCommentObjectTypeFieldRefInput<$PrismaModel> notIn?: $Enums.CommentObjectType[] | ListEnumCommentObjectTypeFieldRefInput<$PrismaModel> not?: NestedEnumCommentObjectTypeFilter<$PrismaModel> | $Enums.CommentObjectType } export type NestedEnumCommentObjectTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.CommentObjectType | EnumCommentObjectTypeFieldRefInput<$PrismaModel> in?: $Enums.CommentObjectType[] | ListEnumCommentObjectTypeFieldRefInput<$PrismaModel> notIn?: $Enums.CommentObjectType[] | ListEnumCommentObjectTypeFieldRefInput<$PrismaModel> not?: NestedEnumCommentObjectTypeWithAggregatesFilter<$PrismaModel> | $Enums.CommentObjectType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumCommentObjectTypeFilter<$PrismaModel> _max?: NestedEnumCommentObjectTypeFilter<$PrismaModel> } export type NestedBoolNullableFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null not?: NestedBoolNullableFilter<$PrismaModel> | boolean | null } export type NestedBoolNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null not?: NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedBoolNullableFilter<$PrismaModel> _max?: NestedBoolNullableFilter<$PrismaModel> } export type NestedDecimalFilter<$PrismaModel = never> = { equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> not?: NestedDecimalFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string } export type NestedDecimalWithAggregatesFilter<$PrismaModel = never> = { equals?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> in?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> notIn?: Decimal[] | DecimalJsLike[] | number[] | string[] | ListDecimalFieldRefInput<$PrismaModel> lt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> lte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gt?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> gte?: Decimal | DecimalJsLike | number | string | DecimalFieldRefInput<$PrismaModel> not?: NestedDecimalWithAggregatesFilter<$PrismaModel> | Decimal | DecimalJsLike | number | string _count?: NestedIntFilter<$PrismaModel> _avg?: NestedDecimalFilter<$PrismaModel> _sum?: NestedDecimalFilter<$PrismaModel> _min?: NestedDecimalFilter<$PrismaModel> _max?: NestedDecimalFilter<$PrismaModel> } export type NestedEnumAuditLogRecordTypeFilter<$PrismaModel = never> = { equals?: $Enums.AuditLogRecordType | EnumAuditLogRecordTypeFieldRefInput<$PrismaModel> in?: $Enums.AuditLogRecordType[] | ListEnumAuditLogRecordTypeFieldRefInput<$PrismaModel> notIn?: $Enums.AuditLogRecordType[] | ListEnumAuditLogRecordTypeFieldRefInput<$PrismaModel> not?: NestedEnumAuditLogRecordTypeFilter<$PrismaModel> | $Enums.AuditLogRecordType } export type NestedEnumAuditLogRecordTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.AuditLogRecordType | EnumAuditLogRecordTypeFieldRefInput<$PrismaModel> in?: $Enums.AuditLogRecordType[] | ListEnumAuditLogRecordTypeFieldRefInput<$PrismaModel> notIn?: $Enums.AuditLogRecordType[] | ListEnumAuditLogRecordTypeFieldRefInput<$PrismaModel> not?: NestedEnumAuditLogRecordTypeWithAggregatesFilter<$PrismaModel> | $Enums.AuditLogRecordType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumAuditLogRecordTypeFilter<$PrismaModel> _max?: NestedEnumAuditLogRecordTypeFilter<$PrismaModel> } export type NestedEnumJobTypeFilter<$PrismaModel = never> = { equals?: $Enums.JobType | EnumJobTypeFieldRefInput<$PrismaModel> in?: $Enums.JobType[] | ListEnumJobTypeFieldRefInput<$PrismaModel> notIn?: $Enums.JobType[] | ListEnumJobTypeFieldRefInput<$PrismaModel> not?: NestedEnumJobTypeFilter<$PrismaModel> | $Enums.JobType } export type NestedEnumJobConfigStateFilter<$PrismaModel = never> = { equals?: $Enums.JobConfigState | EnumJobConfigStateFieldRefInput<$PrismaModel> in?: $Enums.JobConfigState[] | ListEnumJobConfigStateFieldRefInput<$PrismaModel> notIn?: $Enums.JobConfigState[] | ListEnumJobConfigStateFieldRefInput<$PrismaModel> not?: NestedEnumJobConfigStateFilter<$PrismaModel> | $Enums.JobConfigState } export type NestedEnumJobTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.JobType | EnumJobTypeFieldRefInput<$PrismaModel> in?: $Enums.JobType[] | ListEnumJobTypeFieldRefInput<$PrismaModel> notIn?: $Enums.JobType[] | ListEnumJobTypeFieldRefInput<$PrismaModel> not?: NestedEnumJobTypeWithAggregatesFilter<$PrismaModel> | $Enums.JobType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumJobTypeFilter<$PrismaModel> _max?: NestedEnumJobTypeFilter<$PrismaModel> } export type NestedEnumJobConfigStateWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.JobConfigState | EnumJobConfigStateFieldRefInput<$PrismaModel> in?: $Enums.JobConfigState[] | ListEnumJobConfigStateFieldRefInput<$PrismaModel> notIn?: $Enums.JobConfigState[] | ListEnumJobConfigStateFieldRefInput<$PrismaModel> not?: NestedEnumJobConfigStateWithAggregatesFilter<$PrismaModel> | $Enums.JobConfigState _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumJobConfigStateFilter<$PrismaModel> _max?: NestedEnumJobConfigStateFilter<$PrismaModel> } export type NestedEnumJobExecutionStatusFilter<$PrismaModel = never> = { equals?: $Enums.JobExecutionStatus | EnumJobExecutionStatusFieldRefInput<$PrismaModel> in?: $Enums.JobExecutionStatus[] | ListEnumJobExecutionStatusFieldRefInput<$PrismaModel> notIn?: $Enums.JobExecutionStatus[] | ListEnumJobExecutionStatusFieldRefInput<$PrismaModel> not?: NestedEnumJobExecutionStatusFilter<$PrismaModel> | $Enums.JobExecutionStatus } export type NestedEnumJobExecutionStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.JobExecutionStatus | EnumJobExecutionStatusFieldRefInput<$PrismaModel> in?: $Enums.JobExecutionStatus[] | ListEnumJobExecutionStatusFieldRefInput<$PrismaModel> notIn?: $Enums.JobExecutionStatus[] | ListEnumJobExecutionStatusFieldRefInput<$PrismaModel> not?: NestedEnumJobExecutionStatusWithAggregatesFilter<$PrismaModel> | $Enums.JobExecutionStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumJobExecutionStatusFilter<$PrismaModel> _max?: NestedEnumJobExecutionStatusFilter<$PrismaModel> } export type NestedEnumBlobStorageIntegrationTypeFilter<$PrismaModel = never> = { equals?: $Enums.BlobStorageIntegrationType | EnumBlobStorageIntegrationTypeFieldRefInput<$PrismaModel> in?: $Enums.BlobStorageIntegrationType[] | ListEnumBlobStorageIntegrationTypeFieldRefInput<$PrismaModel> notIn?: $Enums.BlobStorageIntegrationType[] | ListEnumBlobStorageIntegrationTypeFieldRefInput<$PrismaModel> not?: NestedEnumBlobStorageIntegrationTypeFilter<$PrismaModel> | $Enums.BlobStorageIntegrationType } export type NestedEnumBlobStorageIntegrationFileTypeFilter<$PrismaModel = never> = { equals?: $Enums.BlobStorageIntegrationFileType | EnumBlobStorageIntegrationFileTypeFieldRefInput<$PrismaModel> in?: $Enums.BlobStorageIntegrationFileType[] | ListEnumBlobStorageIntegrationFileTypeFieldRefInput<$PrismaModel> notIn?: $Enums.BlobStorageIntegrationFileType[] | ListEnumBlobStorageIntegrationFileTypeFieldRefInput<$PrismaModel> not?: NestedEnumBlobStorageIntegrationFileTypeFilter<$PrismaModel> | $Enums.BlobStorageIntegrationFileType } export type NestedEnumBlobStorageExportModeFilter<$PrismaModel = never> = { equals?: $Enums.BlobStorageExportMode | EnumBlobStorageExportModeFieldRefInput<$PrismaModel> in?: $Enums.BlobStorageExportMode[] | ListEnumBlobStorageExportModeFieldRefInput<$PrismaModel> notIn?: $Enums.BlobStorageExportMode[] | ListEnumBlobStorageExportModeFieldRefInput<$PrismaModel> not?: NestedEnumBlobStorageExportModeFilter<$PrismaModel> | $Enums.BlobStorageExportMode } export type NestedEnumBlobStorageIntegrationTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.BlobStorageIntegrationType | EnumBlobStorageIntegrationTypeFieldRefInput<$PrismaModel> in?: $Enums.BlobStorageIntegrationType[] | ListEnumBlobStorageIntegrationTypeFieldRefInput<$PrismaModel> notIn?: $Enums.BlobStorageIntegrationType[] | ListEnumBlobStorageIntegrationTypeFieldRefInput<$PrismaModel> not?: NestedEnumBlobStorageIntegrationTypeWithAggregatesFilter<$PrismaModel> | $Enums.BlobStorageIntegrationType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumBlobStorageIntegrationTypeFilter<$PrismaModel> _max?: NestedEnumBlobStorageIntegrationTypeFilter<$PrismaModel> } export type NestedEnumBlobStorageIntegrationFileTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.BlobStorageIntegrationFileType | EnumBlobStorageIntegrationFileTypeFieldRefInput<$PrismaModel> in?: $Enums.BlobStorageIntegrationFileType[] | ListEnumBlobStorageIntegrationFileTypeFieldRefInput<$PrismaModel> notIn?: $Enums.BlobStorageIntegrationFileType[] | ListEnumBlobStorageIntegrationFileTypeFieldRefInput<$PrismaModel> not?: NestedEnumBlobStorageIntegrationFileTypeWithAggregatesFilter<$PrismaModel> | $Enums.BlobStorageIntegrationFileType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumBlobStorageIntegrationFileTypeFilter<$PrismaModel> _max?: NestedEnumBlobStorageIntegrationFileTypeFilter<$PrismaModel> } export type NestedEnumBlobStorageExportModeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.BlobStorageExportMode | EnumBlobStorageExportModeFieldRefInput<$PrismaModel> in?: $Enums.BlobStorageExportMode[] | ListEnumBlobStorageExportModeFieldRefInput<$PrismaModel> notIn?: $Enums.BlobStorageExportMode[] | ListEnumBlobStorageExportModeFieldRefInput<$PrismaModel> not?: NestedEnumBlobStorageExportModeWithAggregatesFilter<$PrismaModel> | $Enums.BlobStorageExportMode _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumBlobStorageExportModeFilter<$PrismaModel> _max?: NestedEnumBlobStorageExportModeFilter<$PrismaModel> } export type NestedBigIntFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntFilter<$PrismaModel> | bigint | number } export type NestedBigIntWithAggregatesFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> in?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> notIn?: bigint[] | number[] | ListBigIntFieldRefInput<$PrismaModel> lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedBigIntFilter<$PrismaModel> _min?: NestedBigIntFilter<$PrismaModel> _max?: NestedBigIntFilter<$PrismaModel> } export type NestedEnumDashboardWidgetViewsFilter<$PrismaModel = never> = { equals?: $Enums.DashboardWidgetViews | EnumDashboardWidgetViewsFieldRefInput<$PrismaModel> in?: $Enums.DashboardWidgetViews[] | ListEnumDashboardWidgetViewsFieldRefInput<$PrismaModel> notIn?: $Enums.DashboardWidgetViews[] | ListEnumDashboardWidgetViewsFieldRefInput<$PrismaModel> not?: NestedEnumDashboardWidgetViewsFilter<$PrismaModel> | $Enums.DashboardWidgetViews } export type NestedEnumDashboardWidgetChartTypeFilter<$PrismaModel = never> = { equals?: $Enums.DashboardWidgetChartType | EnumDashboardWidgetChartTypeFieldRefInput<$PrismaModel> in?: $Enums.DashboardWidgetChartType[] | ListEnumDashboardWidgetChartTypeFieldRefInput<$PrismaModel> notIn?: $Enums.DashboardWidgetChartType[] | ListEnumDashboardWidgetChartTypeFieldRefInput<$PrismaModel> not?: NestedEnumDashboardWidgetChartTypeFilter<$PrismaModel> | $Enums.DashboardWidgetChartType } export type NestedEnumDashboardWidgetViewsWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.DashboardWidgetViews | EnumDashboardWidgetViewsFieldRefInput<$PrismaModel> in?: $Enums.DashboardWidgetViews[] | ListEnumDashboardWidgetViewsFieldRefInput<$PrismaModel> notIn?: $Enums.DashboardWidgetViews[] | ListEnumDashboardWidgetViewsFieldRefInput<$PrismaModel> not?: NestedEnumDashboardWidgetViewsWithAggregatesFilter<$PrismaModel> | $Enums.DashboardWidgetViews _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumDashboardWidgetViewsFilter<$PrismaModel> _max?: NestedEnumDashboardWidgetViewsFilter<$PrismaModel> } export type NestedEnumDashboardWidgetChartTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.DashboardWidgetChartType | EnumDashboardWidgetChartTypeFieldRefInput<$PrismaModel> in?: $Enums.DashboardWidgetChartType[] | ListEnumDashboardWidgetChartTypeFieldRefInput<$PrismaModel> notIn?: $Enums.DashboardWidgetChartType[] | ListEnumDashboardWidgetChartTypeFieldRefInput<$PrismaModel> not?: NestedEnumDashboardWidgetChartTypeWithAggregatesFilter<$PrismaModel> | $Enums.DashboardWidgetChartType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumDashboardWidgetChartTypeFilter<$PrismaModel> _max?: NestedEnumDashboardWidgetChartTypeFilter<$PrismaModel> } 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 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 NestedEnumActionExecutionStatusFilter<$PrismaModel = never> = { equals?: $Enums.ActionExecutionStatus | EnumActionExecutionStatusFieldRefInput<$PrismaModel> in?: $Enums.ActionExecutionStatus[] | ListEnumActionExecutionStatusFieldRefInput<$PrismaModel> notIn?: $Enums.ActionExecutionStatus[] | ListEnumActionExecutionStatusFieldRefInput<$PrismaModel> not?: NestedEnumActionExecutionStatusFilter<$PrismaModel> | $Enums.ActionExecutionStatus } export type NestedEnumActionExecutionStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.ActionExecutionStatus | EnumActionExecutionStatusFieldRefInput<$PrismaModel> in?: $Enums.ActionExecutionStatus[] | ListEnumActionExecutionStatusFieldRefInput<$PrismaModel> notIn?: $Enums.ActionExecutionStatus[] | ListEnumActionExecutionStatusFieldRefInput<$PrismaModel> not?: NestedEnumActionExecutionStatusWithAggregatesFilter<$PrismaModel> | $Enums.ActionExecutionStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumActionExecutionStatusFilter<$PrismaModel> _max?: NestedEnumActionExecutionStatusFilter<$PrismaModel> } export type NestedEnumSurveyNameFilter<$PrismaModel = never> = { equals?: $Enums.SurveyName | EnumSurveyNameFieldRefInput<$PrismaModel> in?: $Enums.SurveyName[] | ListEnumSurveyNameFieldRefInput<$PrismaModel> notIn?: $Enums.SurveyName[] | ListEnumSurveyNameFieldRefInput<$PrismaModel> not?: NestedEnumSurveyNameFilter<$PrismaModel> | $Enums.SurveyName } export type NestedEnumSurveyNameWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.SurveyName | EnumSurveyNameFieldRefInput<$PrismaModel> in?: $Enums.SurveyName[] | ListEnumSurveyNameFieldRefInput<$PrismaModel> notIn?: $Enums.SurveyName[] | ListEnumSurveyNameFieldRefInput<$PrismaModel> not?: NestedEnumSurveyNameWithAggregatesFilter<$PrismaModel> | $Enums.SurveyName _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumSurveyNameFilter<$PrismaModel> _max?: NestedEnumSurveyNameFilter<$PrismaModel> } export type UserCreateWithoutAccountsInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] sessions?: SessionCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutAccountsInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] sessions?: SessionUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutAccountsInput = { where: UserWhereUniqueInput create: XOR } export type UserUpsertWithoutAccountsInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutAccountsInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutAccountsInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] sessions?: SessionUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutAccountsInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type UserCreateWithoutSessionsInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutSessionsInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutSessionsInput = { where: UserWhereUniqueInput create: XOR } export type UserUpsertWithoutSessionsInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutSessionsInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutSessionsInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutSessionsInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type AccountCreateWithoutUserInput = { id?: string type: string provider: string providerAccountId: string refresh_token?: string | null access_token?: string | null expires_at?: number | null expires_in?: number | null ext_expires_in?: number | null token_type?: string | null scope?: string | null id_token?: string | null session_state?: string | null refresh_token_expires_in?: number | null created_at?: number | null } export type AccountUncheckedCreateWithoutUserInput = { id?: string type: string provider: string providerAccountId: string refresh_token?: string | null access_token?: string | null expires_at?: number | null expires_in?: number | null ext_expires_in?: number | null token_type?: string | null scope?: string | null id_token?: string | null session_state?: string | null refresh_token_expires_in?: number | null created_at?: number | null } export type AccountCreateOrConnectWithoutUserInput = { where: AccountWhereUniqueInput create: XOR } export type AccountCreateManyUserInputEnvelope = { data: AccountCreateManyUserInput | AccountCreateManyUserInput[] skipDuplicates?: boolean } export type SessionCreateWithoutUserInput = { id?: string sessionToken: string expires: Date | string } export type SessionUncheckedCreateWithoutUserInput = { id?: string sessionToken: string expires: Date | string } export type SessionCreateOrConnectWithoutUserInput = { where: SessionWhereUniqueInput create: XOR } export type SessionCreateManyUserInputEnvelope = { data: SessionCreateManyUserInput | SessionCreateManyUserInput[] skipDuplicates?: boolean } export type OrganizationMembershipCreateWithoutUserInput = { id?: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string organization: OrganizationCreateNestedOneWithoutOrganizationMembershipsInput ProjectMemberships?: ProjectMembershipCreateNestedManyWithoutOrganizationMembershipInput } export type OrganizationMembershipUncheckedCreateWithoutUserInput = { id?: string orgId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string ProjectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutOrganizationMembershipInput } export type OrganizationMembershipCreateOrConnectWithoutUserInput = { where: OrganizationMembershipWhereUniqueInput create: XOR } export type OrganizationMembershipCreateManyUserInputEnvelope = { data: OrganizationMembershipCreateManyUserInput | OrganizationMembershipCreateManyUserInput[] skipDuplicates?: boolean } export type ProjectMembershipCreateWithoutUserInput = { role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string organizationMembership: OrganizationMembershipCreateNestedOneWithoutProjectMembershipsInput project: ProjectCreateNestedOneWithoutProjectMembersInput } export type ProjectMembershipUncheckedCreateWithoutUserInput = { orgMembershipId: string projectId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string } export type ProjectMembershipCreateOrConnectWithoutUserInput = { where: ProjectMembershipWhereUniqueInput create: XOR } export type ProjectMembershipCreateManyUserInputEnvelope = { data: ProjectMembershipCreateManyUserInput | ProjectMembershipCreateManyUserInput[] skipDuplicates?: boolean } export type MembershipInvitationCreateWithoutInvitedByUserInput = { id?: string email: string orgRole: $Enums.Role projectRole?: $Enums.Role | null createdAt?: Date | string updatedAt?: Date | string organization: OrganizationCreateNestedOneWithoutMembershipInvitationInput project?: ProjectCreateNestedOneWithoutInvitationsInput } export type MembershipInvitationUncheckedCreateWithoutInvitedByUserInput = { id?: string email: string orgId: string orgRole: $Enums.Role projectId?: string | null projectRole?: $Enums.Role | null createdAt?: Date | string updatedAt?: Date | string } export type MembershipInvitationCreateOrConnectWithoutInvitedByUserInput = { where: MembershipInvitationWhereUniqueInput create: XOR } export type MembershipInvitationCreateManyInvitedByUserInputEnvelope = { data: MembershipInvitationCreateManyInvitedByUserInput | MembershipInvitationCreateManyInvitedByUserInput[] skipDuplicates?: boolean } export type AnnotationQueueItemCreateWithoutLockedByUserInput = { id?: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null completedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string queue: AnnotationQueueCreateNestedOneWithoutAnnotationQueueItemInput annotatorUser?: UserCreateNestedOneWithoutAnnotatedCompletedItemInput project: ProjectCreateNestedOneWithoutAnnotationQueueItemInput } export type AnnotationQueueItemUncheckedCreateWithoutLockedByUserInput = { id?: string queueId: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null annotatorUserId?: string | null completedAt?: Date | string | null projectId: string createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueItemCreateOrConnectWithoutLockedByUserInput = { where: AnnotationQueueItemWhereUniqueInput create: XOR } export type AnnotationQueueItemCreateManyLockedByUserInputEnvelope = { data: AnnotationQueueItemCreateManyLockedByUserInput | AnnotationQueueItemCreateManyLockedByUserInput[] skipDuplicates?: boolean } export type AnnotationQueueItemCreateWithoutAnnotatorUserInput = { id?: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null completedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string queue: AnnotationQueueCreateNestedOneWithoutAnnotationQueueItemInput lockedByUser?: UserCreateNestedOneWithoutAnnotatedLockedItemInput project: ProjectCreateNestedOneWithoutAnnotationQueueItemInput } export type AnnotationQueueItemUncheckedCreateWithoutAnnotatorUserInput = { id?: string queueId: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null lockedByUserId?: string | null completedAt?: Date | string | null projectId: string createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueItemCreateOrConnectWithoutAnnotatorUserInput = { where: AnnotationQueueItemWhereUniqueInput create: XOR } export type AnnotationQueueItemCreateManyAnnotatorUserInputEnvelope = { data: AnnotationQueueItemCreateManyAnnotatorUserInput | AnnotationQueueItemCreateManyAnnotatorUserInput[] skipDuplicates?: boolean } export type DashboardWidgetCreateWithoutCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string view: $Enums.DashboardWidgetViews dimensions: JsonNullValueInput | InputJsonValue metrics: JsonNullValueInput | InputJsonValue filters: JsonNullValueInput | InputJsonValue chartType: $Enums.DashboardWidgetChartType chartConfig: JsonNullValueInput | InputJsonValue updatedByUser?: UserCreateNestedOneWithoutDashboardWidgetsUpdatedInput project?: ProjectCreateNestedOneWithoutDashboardWidgetInput } export type DashboardWidgetUncheckedCreateWithoutCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string updatedBy?: string | null projectId?: string | null name: string description: string view: $Enums.DashboardWidgetViews dimensions: JsonNullValueInput | InputJsonValue metrics: JsonNullValueInput | InputJsonValue filters: JsonNullValueInput | InputJsonValue chartType: $Enums.DashboardWidgetChartType chartConfig: JsonNullValueInput | InputJsonValue } export type DashboardWidgetCreateOrConnectWithoutCreatedByUserInput = { where: DashboardWidgetWhereUniqueInput create: XOR } export type DashboardWidgetCreateManyCreatedByUserInputEnvelope = { data: DashboardWidgetCreateManyCreatedByUserInput | DashboardWidgetCreateManyCreatedByUserInput[] skipDuplicates?: boolean } export type DashboardWidgetCreateWithoutUpdatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string view: $Enums.DashboardWidgetViews dimensions: JsonNullValueInput | InputJsonValue metrics: JsonNullValueInput | InputJsonValue filters: JsonNullValueInput | InputJsonValue chartType: $Enums.DashboardWidgetChartType chartConfig: JsonNullValueInput | InputJsonValue createdByUser?: UserCreateNestedOneWithoutDashboardWidgetsCreatedInput project?: ProjectCreateNestedOneWithoutDashboardWidgetInput } export type DashboardWidgetUncheckedCreateWithoutUpdatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy?: string | null projectId?: string | null name: string description: string view: $Enums.DashboardWidgetViews dimensions: JsonNullValueInput | InputJsonValue metrics: JsonNullValueInput | InputJsonValue filters: JsonNullValueInput | InputJsonValue chartType: $Enums.DashboardWidgetChartType chartConfig: JsonNullValueInput | InputJsonValue } export type DashboardWidgetCreateOrConnectWithoutUpdatedByUserInput = { where: DashboardWidgetWhereUniqueInput create: XOR } export type DashboardWidgetCreateManyUpdatedByUserInputEnvelope = { data: DashboardWidgetCreateManyUpdatedByUserInput | DashboardWidgetCreateManyUpdatedByUserInput[] skipDuplicates?: boolean } export type DashboardCreateWithoutCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string definition: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue updatedByUser?: UserCreateNestedOneWithoutDashboardUpdatedInput project?: ProjectCreateNestedOneWithoutDashboardInput } export type DashboardUncheckedCreateWithoutCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string updatedBy?: string | null projectId?: string | null name: string description: string definition: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardCreateOrConnectWithoutCreatedByUserInput = { where: DashboardWhereUniqueInput create: XOR } export type DashboardCreateManyCreatedByUserInputEnvelope = { data: DashboardCreateManyCreatedByUserInput | DashboardCreateManyCreatedByUserInput[] skipDuplicates?: boolean } export type DashboardCreateWithoutUpdatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string definition: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue createdByUser?: UserCreateNestedOneWithoutDashboardCreatedInput project?: ProjectCreateNestedOneWithoutDashboardInput } export type DashboardUncheckedCreateWithoutUpdatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy?: string | null projectId?: string | null name: string description: string definition: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardCreateOrConnectWithoutUpdatedByUserInput = { where: DashboardWhereUniqueInput create: XOR } export type DashboardCreateManyUpdatedByUserInputEnvelope = { data: DashboardCreateManyUpdatedByUserInput | DashboardCreateManyUpdatedByUserInput[] skipDuplicates?: boolean } export type TableViewPresetCreateWithoutCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string tableName: string filters: JsonNullValueInput | InputJsonValue columnOrder: JsonNullValueInput | InputJsonValue columnVisibility: JsonNullValueInput | InputJsonValue searchQuery?: string | null orderBy?: NullableJsonNullValueInput | InputJsonValue project: ProjectCreateNestedOneWithoutTableViewPresetInput updatedByUser?: UserCreateNestedOneWithoutTableViewPresetUpdatedInput } export type TableViewPresetUncheckedCreateWithoutCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string name: string tableName: string updatedBy?: string | null filters: JsonNullValueInput | InputJsonValue columnOrder: JsonNullValueInput | InputJsonValue columnVisibility: JsonNullValueInput | InputJsonValue searchQuery?: string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type TableViewPresetCreateOrConnectWithoutCreatedByUserInput = { where: TableViewPresetWhereUniqueInput create: XOR } export type TableViewPresetCreateManyCreatedByUserInputEnvelope = { data: TableViewPresetCreateManyCreatedByUserInput | TableViewPresetCreateManyCreatedByUserInput[] skipDuplicates?: boolean } export type TableViewPresetCreateWithoutUpdatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string tableName: string filters: JsonNullValueInput | InputJsonValue columnOrder: JsonNullValueInput | InputJsonValue columnVisibility: JsonNullValueInput | InputJsonValue searchQuery?: string | null orderBy?: NullableJsonNullValueInput | InputJsonValue project: ProjectCreateNestedOneWithoutTableViewPresetInput createdByUser?: UserCreateNestedOneWithoutTableViewPresetCreatedInput } export type TableViewPresetUncheckedCreateWithoutUpdatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string name: string tableName: string createdBy?: string | null filters: JsonNullValueInput | InputJsonValue columnOrder: JsonNullValueInput | InputJsonValue columnVisibility: JsonNullValueInput | InputJsonValue searchQuery?: string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type TableViewPresetCreateOrConnectWithoutUpdatedByUserInput = { where: TableViewPresetWhereUniqueInput create: XOR } export type TableViewPresetCreateManyUpdatedByUserInputEnvelope = { data: TableViewPresetCreateManyUpdatedByUserInput | TableViewPresetCreateManyUpdatedByUserInput[] skipDuplicates?: boolean } export type AnnotationQueueAssignmentCreateWithoutUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string project: ProjectCreateNestedOneWithoutAnnotationQueueAssignmentInput queue: AnnotationQueueCreateNestedOneWithoutAnnotationQueueAssignmentInput } export type AnnotationQueueAssignmentUncheckedCreateWithoutUserInput = { id?: string projectId: string queueId: string createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueAssignmentCreateOrConnectWithoutUserInput = { where: AnnotationQueueAssignmentWhereUniqueInput create: XOR } export type AnnotationQueueAssignmentCreateManyUserInputEnvelope = { data: AnnotationQueueAssignmentCreateManyUserInput | AnnotationQueueAssignmentCreateManyUserInput[] skipDuplicates?: boolean } export type SurveyCreateWithoutUserInput = { id?: string createdAt?: Date | string surveyName: $Enums.SurveyName response: JsonNullValueInput | InputJsonValue userEmail?: string | null org?: OrganizationCreateNestedOneWithoutSurveysInput } export type SurveyUncheckedCreateWithoutUserInput = { id?: string createdAt?: Date | string surveyName: $Enums.SurveyName response: JsonNullValueInput | InputJsonValue userEmail?: string | null orgId?: string | null } export type SurveyCreateOrConnectWithoutUserInput = { where: SurveyWhereUniqueInput create: XOR } export type SurveyCreateManyUserInputEnvelope = { data: SurveyCreateManyUserInput | SurveyCreateManyUserInput[] skipDuplicates?: boolean } export type AccountUpsertWithWhereUniqueWithoutUserInput = { where: AccountWhereUniqueInput update: XOR create: XOR } export type AccountUpdateWithWhereUniqueWithoutUserInput = { where: AccountWhereUniqueInput data: XOR } export type AccountUpdateManyWithWhereWithoutUserInput = { where: AccountScalarWhereInput data: XOR } export type AccountScalarWhereInput = { AND?: AccountScalarWhereInput | AccountScalarWhereInput[] OR?: AccountScalarWhereInput[] NOT?: AccountScalarWhereInput | AccountScalarWhereInput[] id?: StringFilter<"Account"> | string userId?: StringFilter<"Account"> | string type?: StringFilter<"Account"> | string provider?: StringFilter<"Account"> | string providerAccountId?: StringFilter<"Account"> | string refresh_token?: StringNullableFilter<"Account"> | string | null access_token?: StringNullableFilter<"Account"> | string | null expires_at?: IntNullableFilter<"Account"> | number | null expires_in?: IntNullableFilter<"Account"> | number | null ext_expires_in?: IntNullableFilter<"Account"> | number | null token_type?: StringNullableFilter<"Account"> | string | null scope?: StringNullableFilter<"Account"> | string | null id_token?: StringNullableFilter<"Account"> | string | null session_state?: StringNullableFilter<"Account"> | string | null refresh_token_expires_in?: IntNullableFilter<"Account"> | number | null created_at?: IntNullableFilter<"Account"> | number | null } export type SessionUpsertWithWhereUniqueWithoutUserInput = { where: SessionWhereUniqueInput update: XOR create: XOR } export type SessionUpdateWithWhereUniqueWithoutUserInput = { where: SessionWhereUniqueInput data: XOR } export type SessionUpdateManyWithWhereWithoutUserInput = { where: SessionScalarWhereInput data: XOR } export type SessionScalarWhereInput = { AND?: SessionScalarWhereInput | SessionScalarWhereInput[] OR?: SessionScalarWhereInput[] NOT?: SessionScalarWhereInput | SessionScalarWhereInput[] id?: StringFilter<"Session"> | string sessionToken?: StringFilter<"Session"> | string userId?: StringFilter<"Session"> | string expires?: DateTimeFilter<"Session"> | Date | string } export type OrganizationMembershipUpsertWithWhereUniqueWithoutUserInput = { where: OrganizationMembershipWhereUniqueInput update: XOR create: XOR } export type OrganizationMembershipUpdateWithWhereUniqueWithoutUserInput = { where: OrganizationMembershipWhereUniqueInput data: XOR } export type OrganizationMembershipUpdateManyWithWhereWithoutUserInput = { where: OrganizationMembershipScalarWhereInput data: XOR } export type OrganizationMembershipScalarWhereInput = { AND?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[] OR?: OrganizationMembershipScalarWhereInput[] NOT?: OrganizationMembershipScalarWhereInput | OrganizationMembershipScalarWhereInput[] id?: StringFilter<"OrganizationMembership"> | string orgId?: StringFilter<"OrganizationMembership"> | string userId?: StringFilter<"OrganizationMembership"> | string role?: EnumRoleFilter<"OrganizationMembership"> | $Enums.Role createdAt?: DateTimeFilter<"OrganizationMembership"> | Date | string updatedAt?: DateTimeFilter<"OrganizationMembership"> | Date | string } export type ProjectMembershipUpsertWithWhereUniqueWithoutUserInput = { where: ProjectMembershipWhereUniqueInput update: XOR create: XOR } export type ProjectMembershipUpdateWithWhereUniqueWithoutUserInput = { where: ProjectMembershipWhereUniqueInput data: XOR } export type ProjectMembershipUpdateManyWithWhereWithoutUserInput = { where: ProjectMembershipScalarWhereInput data: XOR } export type ProjectMembershipScalarWhereInput = { AND?: ProjectMembershipScalarWhereInput | ProjectMembershipScalarWhereInput[] OR?: ProjectMembershipScalarWhereInput[] NOT?: ProjectMembershipScalarWhereInput | ProjectMembershipScalarWhereInput[] orgMembershipId?: StringFilter<"ProjectMembership"> | string projectId?: StringFilter<"ProjectMembership"> | string userId?: StringFilter<"ProjectMembership"> | string role?: EnumRoleFilter<"ProjectMembership"> | $Enums.Role createdAt?: DateTimeFilter<"ProjectMembership"> | Date | string updatedAt?: DateTimeFilter<"ProjectMembership"> | Date | string } export type MembershipInvitationUpsertWithWhereUniqueWithoutInvitedByUserInput = { where: MembershipInvitationWhereUniqueInput update: XOR create: XOR } export type MembershipInvitationUpdateWithWhereUniqueWithoutInvitedByUserInput = { where: MembershipInvitationWhereUniqueInput data: XOR } export type MembershipInvitationUpdateManyWithWhereWithoutInvitedByUserInput = { where: MembershipInvitationScalarWhereInput data: XOR } export type MembershipInvitationScalarWhereInput = { AND?: MembershipInvitationScalarWhereInput | MembershipInvitationScalarWhereInput[] OR?: MembershipInvitationScalarWhereInput[] NOT?: MembershipInvitationScalarWhereInput | MembershipInvitationScalarWhereInput[] id?: StringFilter<"MembershipInvitation"> | string email?: StringFilter<"MembershipInvitation"> | string orgId?: StringFilter<"MembershipInvitation"> | string orgRole?: EnumRoleFilter<"MembershipInvitation"> | $Enums.Role projectId?: StringNullableFilter<"MembershipInvitation"> | string | null projectRole?: EnumRoleNullableFilter<"MembershipInvitation"> | $Enums.Role | null invitedByUserId?: StringNullableFilter<"MembershipInvitation"> | string | null createdAt?: DateTimeFilter<"MembershipInvitation"> | Date | string updatedAt?: DateTimeFilter<"MembershipInvitation"> | Date | string } export type AnnotationQueueItemUpsertWithWhereUniqueWithoutLockedByUserInput = { where: AnnotationQueueItemWhereUniqueInput update: XOR create: XOR } export type AnnotationQueueItemUpdateWithWhereUniqueWithoutLockedByUserInput = { where: AnnotationQueueItemWhereUniqueInput data: XOR } export type AnnotationQueueItemUpdateManyWithWhereWithoutLockedByUserInput = { where: AnnotationQueueItemScalarWhereInput data: XOR } export type AnnotationQueueItemScalarWhereInput = { AND?: AnnotationQueueItemScalarWhereInput | AnnotationQueueItemScalarWhereInput[] OR?: AnnotationQueueItemScalarWhereInput[] NOT?: AnnotationQueueItemScalarWhereInput | AnnotationQueueItemScalarWhereInput[] id?: StringFilter<"AnnotationQueueItem"> | string queueId?: StringFilter<"AnnotationQueueItem"> | string objectId?: StringFilter<"AnnotationQueueItem"> | string objectType?: EnumAnnotationQueueObjectTypeFilter<"AnnotationQueueItem"> | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFilter<"AnnotationQueueItem"> | $Enums.AnnotationQueueStatus lockedAt?: DateTimeNullableFilter<"AnnotationQueueItem"> | Date | string | null lockedByUserId?: StringNullableFilter<"AnnotationQueueItem"> | string | null annotatorUserId?: StringNullableFilter<"AnnotationQueueItem"> | string | null completedAt?: DateTimeNullableFilter<"AnnotationQueueItem"> | Date | string | null projectId?: StringFilter<"AnnotationQueueItem"> | string createdAt?: DateTimeFilter<"AnnotationQueueItem"> | Date | string updatedAt?: DateTimeFilter<"AnnotationQueueItem"> | Date | string } export type AnnotationQueueItemUpsertWithWhereUniqueWithoutAnnotatorUserInput = { where: AnnotationQueueItemWhereUniqueInput update: XOR create: XOR } export type AnnotationQueueItemUpdateWithWhereUniqueWithoutAnnotatorUserInput = { where: AnnotationQueueItemWhereUniqueInput data: XOR } export type AnnotationQueueItemUpdateManyWithWhereWithoutAnnotatorUserInput = { where: AnnotationQueueItemScalarWhereInput data: XOR } export type DashboardWidgetUpsertWithWhereUniqueWithoutCreatedByUserInput = { where: DashboardWidgetWhereUniqueInput update: XOR create: XOR } export type DashboardWidgetUpdateWithWhereUniqueWithoutCreatedByUserInput = { where: DashboardWidgetWhereUniqueInput data: XOR } export type DashboardWidgetUpdateManyWithWhereWithoutCreatedByUserInput = { where: DashboardWidgetScalarWhereInput data: XOR } export type DashboardWidgetScalarWhereInput = { AND?: DashboardWidgetScalarWhereInput | DashboardWidgetScalarWhereInput[] OR?: DashboardWidgetScalarWhereInput[] NOT?: DashboardWidgetScalarWhereInput | DashboardWidgetScalarWhereInput[] id?: StringFilter<"DashboardWidget"> | string createdAt?: DateTimeFilter<"DashboardWidget"> | Date | string updatedAt?: DateTimeFilter<"DashboardWidget"> | Date | string createdBy?: StringNullableFilter<"DashboardWidget"> | string | null updatedBy?: StringNullableFilter<"DashboardWidget"> | string | null projectId?: StringNullableFilter<"DashboardWidget"> | string | null name?: StringFilter<"DashboardWidget"> | string description?: StringFilter<"DashboardWidget"> | string view?: EnumDashboardWidgetViewsFilter<"DashboardWidget"> | $Enums.DashboardWidgetViews dimensions?: JsonFilter<"DashboardWidget"> metrics?: JsonFilter<"DashboardWidget"> filters?: JsonFilter<"DashboardWidget"> chartType?: EnumDashboardWidgetChartTypeFilter<"DashboardWidget"> | $Enums.DashboardWidgetChartType chartConfig?: JsonFilter<"DashboardWidget"> } export type DashboardWidgetUpsertWithWhereUniqueWithoutUpdatedByUserInput = { where: DashboardWidgetWhereUniqueInput update: XOR create: XOR } export type DashboardWidgetUpdateWithWhereUniqueWithoutUpdatedByUserInput = { where: DashboardWidgetWhereUniqueInput data: XOR } export type DashboardWidgetUpdateManyWithWhereWithoutUpdatedByUserInput = { where: DashboardWidgetScalarWhereInput data: XOR } export type DashboardUpsertWithWhereUniqueWithoutCreatedByUserInput = { where: DashboardWhereUniqueInput update: XOR create: XOR } export type DashboardUpdateWithWhereUniqueWithoutCreatedByUserInput = { where: DashboardWhereUniqueInput data: XOR } export type DashboardUpdateManyWithWhereWithoutCreatedByUserInput = { where: DashboardScalarWhereInput data: XOR } export type DashboardScalarWhereInput = { AND?: DashboardScalarWhereInput | DashboardScalarWhereInput[] OR?: DashboardScalarWhereInput[] NOT?: DashboardScalarWhereInput | DashboardScalarWhereInput[] id?: StringFilter<"Dashboard"> | string createdAt?: DateTimeFilter<"Dashboard"> | Date | string updatedAt?: DateTimeFilter<"Dashboard"> | Date | string createdBy?: StringNullableFilter<"Dashboard"> | string | null updatedBy?: StringNullableFilter<"Dashboard"> | string | null projectId?: StringNullableFilter<"Dashboard"> | string | null name?: StringFilter<"Dashboard"> | string description?: StringFilter<"Dashboard"> | string definition?: JsonFilter<"Dashboard"> filters?: JsonFilter<"Dashboard"> } export type DashboardUpsertWithWhereUniqueWithoutUpdatedByUserInput = { where: DashboardWhereUniqueInput update: XOR create: XOR } export type DashboardUpdateWithWhereUniqueWithoutUpdatedByUserInput = { where: DashboardWhereUniqueInput data: XOR } export type DashboardUpdateManyWithWhereWithoutUpdatedByUserInput = { where: DashboardScalarWhereInput data: XOR } export type TableViewPresetUpsertWithWhereUniqueWithoutCreatedByUserInput = { where: TableViewPresetWhereUniqueInput update: XOR create: XOR } export type TableViewPresetUpdateWithWhereUniqueWithoutCreatedByUserInput = { where: TableViewPresetWhereUniqueInput data: XOR } export type TableViewPresetUpdateManyWithWhereWithoutCreatedByUserInput = { where: TableViewPresetScalarWhereInput data: XOR } export type TableViewPresetScalarWhereInput = { AND?: TableViewPresetScalarWhereInput | TableViewPresetScalarWhereInput[] OR?: TableViewPresetScalarWhereInput[] NOT?: TableViewPresetScalarWhereInput | TableViewPresetScalarWhereInput[] id?: StringFilter<"TableViewPreset"> | string createdAt?: DateTimeFilter<"TableViewPreset"> | Date | string updatedAt?: DateTimeFilter<"TableViewPreset"> | Date | string projectId?: StringFilter<"TableViewPreset"> | string name?: StringFilter<"TableViewPreset"> | string tableName?: StringFilter<"TableViewPreset"> | string createdBy?: StringNullableFilter<"TableViewPreset"> | string | null updatedBy?: StringNullableFilter<"TableViewPreset"> | string | null filters?: JsonFilter<"TableViewPreset"> columnOrder?: JsonFilter<"TableViewPreset"> columnVisibility?: JsonFilter<"TableViewPreset"> searchQuery?: StringNullableFilter<"TableViewPreset"> | string | null orderBy?: JsonNullableFilter<"TableViewPreset"> } export type TableViewPresetUpsertWithWhereUniqueWithoutUpdatedByUserInput = { where: TableViewPresetWhereUniqueInput update: XOR create: XOR } export type TableViewPresetUpdateWithWhereUniqueWithoutUpdatedByUserInput = { where: TableViewPresetWhereUniqueInput data: XOR } export type TableViewPresetUpdateManyWithWhereWithoutUpdatedByUserInput = { where: TableViewPresetScalarWhereInput data: XOR } export type AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutUserInput = { where: AnnotationQueueAssignmentWhereUniqueInput update: XOR create: XOR } export type AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutUserInput = { where: AnnotationQueueAssignmentWhereUniqueInput data: XOR } export type AnnotationQueueAssignmentUpdateManyWithWhereWithoutUserInput = { where: AnnotationQueueAssignmentScalarWhereInput data: XOR } export type AnnotationQueueAssignmentScalarWhereInput = { AND?: AnnotationQueueAssignmentScalarWhereInput | AnnotationQueueAssignmentScalarWhereInput[] OR?: AnnotationQueueAssignmentScalarWhereInput[] NOT?: AnnotationQueueAssignmentScalarWhereInput | AnnotationQueueAssignmentScalarWhereInput[] id?: StringFilter<"AnnotationQueueAssignment"> | string projectId?: StringFilter<"AnnotationQueueAssignment"> | string userId?: StringFilter<"AnnotationQueueAssignment"> | string queueId?: StringFilter<"AnnotationQueueAssignment"> | string createdAt?: DateTimeFilter<"AnnotationQueueAssignment"> | Date | string updatedAt?: DateTimeFilter<"AnnotationQueueAssignment"> | Date | string } export type SurveyUpsertWithWhereUniqueWithoutUserInput = { where: SurveyWhereUniqueInput update: XOR create: XOR } export type SurveyUpdateWithWhereUniqueWithoutUserInput = { where: SurveyWhereUniqueInput data: XOR } export type SurveyUpdateManyWithWhereWithoutUserInput = { where: SurveyScalarWhereInput data: XOR } export type SurveyScalarWhereInput = { AND?: SurveyScalarWhereInput | SurveyScalarWhereInput[] OR?: SurveyScalarWhereInput[] NOT?: SurveyScalarWhereInput | SurveyScalarWhereInput[] id?: StringFilter<"Survey"> | string createdAt?: DateTimeFilter<"Survey"> | Date | string surveyName?: EnumSurveyNameFilter<"Survey"> | $Enums.SurveyName response?: JsonFilter<"Survey"> userId?: StringNullableFilter<"Survey"> | string | null userEmail?: StringNullableFilter<"Survey"> | string | null orgId?: StringNullableFilter<"Survey"> | string | null } export type OrganizationMembershipCreateWithoutOrganizationInput = { id?: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string user: UserCreateNestedOneWithoutOrganizationMembershipsInput ProjectMemberships?: ProjectMembershipCreateNestedManyWithoutOrganizationMembershipInput } export type OrganizationMembershipUncheckedCreateWithoutOrganizationInput = { id?: string userId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string ProjectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutOrganizationMembershipInput } export type OrganizationMembershipCreateOrConnectWithoutOrganizationInput = { where: OrganizationMembershipWhereUniqueInput create: XOR } export type OrganizationMembershipCreateManyOrganizationInputEnvelope = { data: OrganizationMembershipCreateManyOrganizationInput | OrganizationMembershipCreateManyOrganizationInput[] skipDuplicates?: boolean } export type ProjectCreateWithoutOrganizationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutOrganizationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutOrganizationInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectCreateManyOrganizationInputEnvelope = { data: ProjectCreateManyOrganizationInput | ProjectCreateManyOrganizationInput[] skipDuplicates?: boolean } export type MembershipInvitationCreateWithoutOrganizationInput = { id?: string email: string orgRole: $Enums.Role projectRole?: $Enums.Role | null createdAt?: Date | string updatedAt?: Date | string project?: ProjectCreateNestedOneWithoutInvitationsInput invitedByUser?: UserCreateNestedOneWithoutInvitationsInput } export type MembershipInvitationUncheckedCreateWithoutOrganizationInput = { id?: string email: string orgRole: $Enums.Role projectId?: string | null projectRole?: $Enums.Role | null invitedByUserId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type MembershipInvitationCreateOrConnectWithoutOrganizationInput = { where: MembershipInvitationWhereUniqueInput create: XOR } export type MembershipInvitationCreateManyOrganizationInputEnvelope = { data: MembershipInvitationCreateManyOrganizationInput | MembershipInvitationCreateManyOrganizationInput[] skipDuplicates?: boolean } export type ApiKeyCreateWithoutOrganizationInput = { id?: string createdAt?: Date | string note?: string | null publicKey: string hashedSecretKey: string fastHashedSecretKey?: string | null displaySecretKey: string lastUsedAt?: Date | string | null expiresAt?: Date | string | null scope?: $Enums.ApiKeyScope project?: ProjectCreateNestedOneWithoutApiKeysInput } export type ApiKeyUncheckedCreateWithoutOrganizationInput = { id?: string createdAt?: Date | string note?: string | null publicKey: string hashedSecretKey: string fastHashedSecretKey?: string | null displaySecretKey: string lastUsedAt?: Date | string | null expiresAt?: Date | string | null projectId?: string | null scope?: $Enums.ApiKeyScope } export type ApiKeyCreateOrConnectWithoutOrganizationInput = { where: ApiKeyWhereUniqueInput create: XOR } export type ApiKeyCreateManyOrganizationInputEnvelope = { data: ApiKeyCreateManyOrganizationInput | ApiKeyCreateManyOrganizationInput[] skipDuplicates?: boolean } export type SurveyCreateWithoutOrgInput = { id?: string createdAt?: Date | string surveyName: $Enums.SurveyName response: JsonNullValueInput | InputJsonValue userEmail?: string | null user?: UserCreateNestedOneWithoutSurveysInput } export type SurveyUncheckedCreateWithoutOrgInput = { id?: string createdAt?: Date | string surveyName: $Enums.SurveyName response: JsonNullValueInput | InputJsonValue userId?: string | null userEmail?: string | null } export type SurveyCreateOrConnectWithoutOrgInput = { where: SurveyWhereUniqueInput create: XOR } export type SurveyCreateManyOrgInputEnvelope = { data: SurveyCreateManyOrgInput | SurveyCreateManyOrgInput[] skipDuplicates?: boolean } export type OrganizationMembershipUpsertWithWhereUniqueWithoutOrganizationInput = { where: OrganizationMembershipWhereUniqueInput update: XOR create: XOR } export type OrganizationMembershipUpdateWithWhereUniqueWithoutOrganizationInput = { where: OrganizationMembershipWhereUniqueInput data: XOR } export type OrganizationMembershipUpdateManyWithWhereWithoutOrganizationInput = { where: OrganizationMembershipScalarWhereInput 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 } export type ProjectScalarWhereInput = { AND?: ProjectScalarWhereInput | ProjectScalarWhereInput[] OR?: ProjectScalarWhereInput[] NOT?: ProjectScalarWhereInput | ProjectScalarWhereInput[] id?: StringFilter<"Project"> | string orgId?: StringFilter<"Project"> | string createdAt?: DateTimeFilter<"Project"> | Date | string updatedAt?: DateTimeFilter<"Project"> | Date | string deletedAt?: DateTimeNullableFilter<"Project"> | Date | string | null name?: StringFilter<"Project"> | string retentionDays?: IntNullableFilter<"Project"> | number | null metadata?: JsonNullableFilter<"Project"> } export type MembershipInvitationUpsertWithWhereUniqueWithoutOrganizationInput = { where: MembershipInvitationWhereUniqueInput update: XOR create: XOR } export type MembershipInvitationUpdateWithWhereUniqueWithoutOrganizationInput = { where: MembershipInvitationWhereUniqueInput data: XOR } export type MembershipInvitationUpdateManyWithWhereWithoutOrganizationInput = { where: MembershipInvitationScalarWhereInput data: XOR } export type ApiKeyUpsertWithWhereUniqueWithoutOrganizationInput = { where: ApiKeyWhereUniqueInput update: XOR create: XOR } export type ApiKeyUpdateWithWhereUniqueWithoutOrganizationInput = { where: ApiKeyWhereUniqueInput data: XOR } export type ApiKeyUpdateManyWithWhereWithoutOrganizationInput = { where: ApiKeyScalarWhereInput data: XOR } export type ApiKeyScalarWhereInput = { AND?: ApiKeyScalarWhereInput | ApiKeyScalarWhereInput[] OR?: ApiKeyScalarWhereInput[] NOT?: ApiKeyScalarWhereInput | ApiKeyScalarWhereInput[] id?: StringFilter<"ApiKey"> | string createdAt?: DateTimeFilter<"ApiKey"> | Date | string note?: StringNullableFilter<"ApiKey"> | string | null publicKey?: StringFilter<"ApiKey"> | string hashedSecretKey?: StringFilter<"ApiKey"> | string fastHashedSecretKey?: StringNullableFilter<"ApiKey"> | string | null displaySecretKey?: StringFilter<"ApiKey"> | string lastUsedAt?: DateTimeNullableFilter<"ApiKey"> | Date | string | null expiresAt?: DateTimeNullableFilter<"ApiKey"> | Date | string | null projectId?: StringNullableFilter<"ApiKey"> | string | null orgId?: StringNullableFilter<"ApiKey"> | string | null scope?: EnumApiKeyScopeFilter<"ApiKey"> | $Enums.ApiKeyScope } export type SurveyUpsertWithWhereUniqueWithoutOrgInput = { where: SurveyWhereUniqueInput update: XOR create: XOR } export type SurveyUpdateWithWhereUniqueWithoutOrgInput = { where: SurveyWhereUniqueInput data: XOR } export type SurveyUpdateManyWithWhereWithoutOrgInput = { where: SurveyScalarWhereInput data: XOR } export type ProjectMembershipCreateWithoutProjectInput = { role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string organizationMembership: OrganizationMembershipCreateNestedOneWithoutProjectMembershipsInput user: UserCreateNestedOneWithoutProjectMembershipsInput } export type ProjectMembershipUncheckedCreateWithoutProjectInput = { orgMembershipId: string userId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string } export type ProjectMembershipCreateOrConnectWithoutProjectInput = { where: ProjectMembershipWhereUniqueInput create: XOR } export type ProjectMembershipCreateManyProjectInputEnvelope = { data: ProjectMembershipCreateManyProjectInput | ProjectMembershipCreateManyProjectInput[] skipDuplicates?: boolean } export type OrganizationCreateWithoutProjectsInput = { id?: string name: string createdAt?: Date | string updatedAt?: Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutOrganizationInput MembershipInvitation?: MembershipInvitationCreateNestedManyWithoutOrganizationInput ApiKey?: ApiKeyCreateNestedManyWithoutOrganizationInput surveys?: SurveyCreateNestedManyWithoutOrgInput } export type OrganizationUncheckedCreateWithoutProjectsInput = { id?: string name: string createdAt?: Date | string updatedAt?: Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationInput MembershipInvitation?: MembershipInvitationUncheckedCreateNestedManyWithoutOrganizationInput ApiKey?: ApiKeyUncheckedCreateNestedManyWithoutOrganizationInput surveys?: SurveyUncheckedCreateNestedManyWithoutOrgInput } export type OrganizationCreateOrConnectWithoutProjectsInput = { where: OrganizationWhereUniqueInput create: XOR } export type ApiKeyCreateWithoutProjectInput = { id?: string createdAt?: Date | string note?: string | null publicKey: string hashedSecretKey: string fastHashedSecretKey?: string | null displaySecretKey: string lastUsedAt?: Date | string | null expiresAt?: Date | string | null scope?: $Enums.ApiKeyScope organization?: OrganizationCreateNestedOneWithoutApiKeyInput } export type ApiKeyUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string note?: string | null publicKey: string hashedSecretKey: string fastHashedSecretKey?: string | null displaySecretKey: string lastUsedAt?: Date | string | null expiresAt?: Date | string | null orgId?: string | null scope?: $Enums.ApiKeyScope } export type ApiKeyCreateOrConnectWithoutProjectInput = { where: ApiKeyWhereUniqueInput create: XOR } export type ApiKeyCreateManyProjectInputEnvelope = { data: ApiKeyCreateManyProjectInput | ApiKeyCreateManyProjectInput[] skipDuplicates?: boolean } export type DatasetCreateWithoutProjectInput = { id?: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string datasetItems?: DatasetItemCreateNestedManyWithoutDatasetInput datasetRuns?: DatasetRunsCreateNestedManyWithoutDatasetInput } export type DatasetUncheckedCreateWithoutProjectInput = { id?: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string datasetItems?: DatasetItemUncheckedCreateNestedManyWithoutDatasetInput datasetRuns?: DatasetRunsUncheckedCreateNestedManyWithoutDatasetInput } export type DatasetCreateOrConnectWithoutProjectInput = { where: DatasetWhereUniqueInput create: XOR } export type DatasetCreateManyProjectInputEnvelope = { data: DatasetCreateManyProjectInput | DatasetCreateManyProjectInput[] skipDuplicates?: boolean } export type MembershipInvitationCreateWithoutProjectInput = { id?: string email: string orgRole: $Enums.Role projectRole?: $Enums.Role | null createdAt?: Date | string updatedAt?: Date | string organization: OrganizationCreateNestedOneWithoutMembershipInvitationInput invitedByUser?: UserCreateNestedOneWithoutInvitationsInput } export type MembershipInvitationUncheckedCreateWithoutProjectInput = { id?: string email: string orgId: string orgRole: $Enums.Role projectRole?: $Enums.Role | null invitedByUserId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type MembershipInvitationCreateOrConnectWithoutProjectInput = { where: MembershipInvitationWhereUniqueInput create: XOR } export type MembershipInvitationCreateManyProjectInputEnvelope = { data: MembershipInvitationCreateManyProjectInput | MembershipInvitationCreateManyProjectInput[] skipDuplicates?: boolean } export type TraceSessionCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string bookmarked?: boolean public?: boolean environment?: string } export type TraceSessionUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string bookmarked?: boolean public?: boolean environment?: string } export type TraceSessionCreateOrConnectWithoutProjectInput = { where: TraceSessionWhereUniqueInput create: XOR } export type TraceSessionCreateManyProjectInputEnvelope = { data: TraceSessionCreateManyProjectInput | TraceSessionCreateManyProjectInput[] skipDuplicates?: boolean } export type PromptCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy: string prompt: JsonNullValueInput | InputJsonValue name: string version: number type?: string isActive?: boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptCreatetagsInput | string[] labels?: PromptCreatelabelsInput | string[] commitMessage?: string | null PromptDependency?: PromptDependencyCreateNestedManyWithoutParentInput } export type PromptUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy: string prompt: JsonNullValueInput | InputJsonValue name: string version: number type?: string isActive?: boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptCreatetagsInput | string[] labels?: PromptCreatelabelsInput | string[] commitMessage?: string | null PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutParentInput } export type PromptCreateOrConnectWithoutProjectInput = { where: PromptWhereUniqueInput create: XOR } export type PromptCreateManyProjectInputEnvelope = { data: PromptCreateManyProjectInput | PromptCreateManyProjectInput[] skipDuplicates?: boolean } export type ModelCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string modelName: string matchPattern: string startDate?: Date | string | null inputPrice?: Decimal | DecimalJsLike | number | string | null outputPrice?: Decimal | DecimalJsLike | number | string | null totalPrice?: Decimal | DecimalJsLike | number | string | null unit?: string | null tokenizerId?: string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue Price?: PriceCreateNestedManyWithoutModelInput } export type ModelUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string modelName: string matchPattern: string startDate?: Date | string | null inputPrice?: Decimal | DecimalJsLike | number | string | null outputPrice?: Decimal | DecimalJsLike | number | string | null totalPrice?: Decimal | DecimalJsLike | number | string | null unit?: string | null tokenizerId?: string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue Price?: PriceUncheckedCreateNestedManyWithoutModelInput } export type ModelCreateOrConnectWithoutProjectInput = { where: ModelWhereUniqueInput create: XOR } export type ModelCreateManyProjectInputEnvelope = { data: ModelCreateManyProjectInput | ModelCreateManyProjectInput[] skipDuplicates?: boolean } export type EvalTemplateCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string version: number prompt: string partner?: string | null model?: string | null provider?: string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateCreatevarsInput | string[] outputSchema: JsonNullValueInput | InputJsonValue JobConfiguration?: JobConfigurationCreateNestedManyWithoutEvalTemplateInput JobExecution?: JobExecutionCreateNestedManyWithoutJobTemplateInput } export type EvalTemplateUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string version: number prompt: string partner?: string | null model?: string | null provider?: string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateCreatevarsInput | string[] outputSchema: JsonNullValueInput | InputJsonValue JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutEvalTemplateInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutJobTemplateInput } export type EvalTemplateCreateOrConnectWithoutProjectInput = { where: EvalTemplateWhereUniqueInput create: XOR } export type EvalTemplateCreateManyProjectInputEnvelope = { data: EvalTemplateCreateManyProjectInput | EvalTemplateCreateManyProjectInput[] skipDuplicates?: boolean } export type JobConfigurationCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string jobType: $Enums.JobType status?: $Enums.JobConfigState scoreName: string filter: JsonNullValueInput | InputJsonValue targetObject: string variableMapping: JsonNullValueInput | InputJsonValue sampling: Decimal | DecimalJsLike | number | string delay: number timeScope?: JobConfigurationCreatetimeScopeInput | string[] evalTemplate?: EvalTemplateCreateNestedOneWithoutJobConfigurationInput JobExecution?: JobExecutionCreateNestedManyWithoutJobConfigurationInput } export type JobConfigurationUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string jobType: $Enums.JobType status?: $Enums.JobConfigState evalTemplateId?: string | null scoreName: string filter: JsonNullValueInput | InputJsonValue targetObject: string variableMapping: JsonNullValueInput | InputJsonValue sampling: Decimal | DecimalJsLike | number | string delay: number timeScope?: JobConfigurationCreatetimeScopeInput | string[] JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutJobConfigurationInput } export type JobConfigurationCreateOrConnectWithoutProjectInput = { where: JobConfigurationWhereUniqueInput create: XOR } export type JobConfigurationCreateManyProjectInputEnvelope = { data: JobConfigurationCreateManyProjectInput | JobConfigurationCreateManyProjectInput[] skipDuplicates?: boolean } export type JobExecutionCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string status: $Enums.JobExecutionStatus startTime?: Date | string | null endTime?: Date | string | null error?: string | null jobInputTraceId?: string | null jobInputTraceTimestamp?: Date | string | null jobInputObservationId?: string | null jobInputDatasetItemId?: string | null jobOutputScoreId?: string | null jobConfiguration: JobConfigurationCreateNestedOneWithoutJobExecutionInput jobTemplate?: EvalTemplateCreateNestedOneWithoutJobExecutionInput } export type JobExecutionUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string jobConfigurationId: string jobTemplateId?: string | null status: $Enums.JobExecutionStatus startTime?: Date | string | null endTime?: Date | string | null error?: string | null jobInputTraceId?: string | null jobInputTraceTimestamp?: Date | string | null jobInputObservationId?: string | null jobInputDatasetItemId?: string | null jobOutputScoreId?: string | null } export type JobExecutionCreateOrConnectWithoutProjectInput = { where: JobExecutionWhereUniqueInput create: XOR } export type JobExecutionCreateManyProjectInputEnvelope = { data: JobExecutionCreateManyProjectInput | JobExecutionCreateManyProjectInput[] skipDuplicates?: boolean } export type LlmApiKeysCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string provider: string adapter: string displaySecretKey: string secretKey: string baseURL?: string | null customModels?: LlmApiKeysCreatecustomModelsInput | string[] withDefaultModels?: boolean extraHeaders?: string | null extraHeaderKeys?: LlmApiKeysCreateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutLlmApiKeyInput } export type LlmApiKeysUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string provider: string adapter: string displaySecretKey: string secretKey: string baseURL?: string | null customModels?: LlmApiKeysCreatecustomModelsInput | string[] withDefaultModels?: boolean extraHeaders?: string | null extraHeaderKeys?: LlmApiKeysCreateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutLlmApiKeyInput } export type LlmApiKeysCreateOrConnectWithoutProjectInput = { where: LlmApiKeysWhereUniqueInput create: XOR } export type LlmApiKeysCreateManyProjectInputEnvelope = { data: LlmApiKeysCreateManyProjectInput | LlmApiKeysCreateManyProjectInput[] skipDuplicates?: boolean } export type PosthogIntegrationCreateWithoutProjectInput = { encryptedPosthogApiKey: string posthogHostName: string lastSyncAt?: Date | string | null enabled: boolean createdAt?: Date | string } export type PosthogIntegrationUncheckedCreateWithoutProjectInput = { encryptedPosthogApiKey: string posthogHostName: string lastSyncAt?: Date | string | null enabled: boolean createdAt?: Date | string } export type PosthogIntegrationCreateOrConnectWithoutProjectInput = { where: PosthogIntegrationWhereUniqueInput create: XOR } export type PosthogIntegrationCreateManyProjectInputEnvelope = { data: PosthogIntegrationCreateManyProjectInput | PosthogIntegrationCreateManyProjectInput[] skipDuplicates?: boolean } export type BlobStorageIntegrationCreateWithoutProjectInput = { type: $Enums.BlobStorageIntegrationType bucketName: string prefix: string accessKeyId?: string | null secretAccessKey?: string | null region: string endpoint?: string | null forcePathStyle: boolean nextSyncAt?: Date | string | null lastSyncAt?: Date | string | null enabled: boolean exportFrequency: string fileType?: $Enums.BlobStorageIntegrationFileType exportMode?: $Enums.BlobStorageExportMode exportStartDate?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type BlobStorageIntegrationUncheckedCreateWithoutProjectInput = { type: $Enums.BlobStorageIntegrationType bucketName: string prefix: string accessKeyId?: string | null secretAccessKey?: string | null region: string endpoint?: string | null forcePathStyle: boolean nextSyncAt?: Date | string | null lastSyncAt?: Date | string | null enabled: boolean exportFrequency: string fileType?: $Enums.BlobStorageIntegrationFileType exportMode?: $Enums.BlobStorageExportMode exportStartDate?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type BlobStorageIntegrationCreateOrConnectWithoutProjectInput = { where: BlobStorageIntegrationWhereUniqueInput create: XOR } export type BlobStorageIntegrationCreateManyProjectInputEnvelope = { data: BlobStorageIntegrationCreateManyProjectInput | BlobStorageIntegrationCreateManyProjectInput[] skipDuplicates?: boolean } export type ScoreConfigCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string dataType: $Enums.ScoreDataType isArchived?: boolean minValue?: number | null maxValue?: number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: string | null legacyScore?: LegacyPrismaScoreCreateNestedManyWithoutScoreConfigInput } export type ScoreConfigUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string dataType: $Enums.ScoreDataType isArchived?: boolean minValue?: number | null maxValue?: number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: string | null legacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutScoreConfigInput } export type ScoreConfigCreateOrConnectWithoutProjectInput = { where: ScoreConfigWhereUniqueInput create: XOR } export type ScoreConfigCreateManyProjectInputEnvelope = { data: ScoreConfigCreateManyProjectInput | ScoreConfigCreateManyProjectInput[] skipDuplicates?: boolean } export type BatchExportCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string userId: string finishedAt?: Date | string | null expiresAt?: Date | string | null name: string status: string query: JsonNullValueInput | InputJsonValue format: string url?: string | null log?: string | null } export type BatchExportUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string userId: string finishedAt?: Date | string | null expiresAt?: Date | string | null name: string status: string query: JsonNullValueInput | InputJsonValue format: string url?: string | null log?: string | null } export type BatchExportCreateOrConnectWithoutProjectInput = { where: BatchExportWhereUniqueInput create: XOR } export type BatchExportCreateManyProjectInputEnvelope = { data: BatchExportCreateManyProjectInput | BatchExportCreateManyProjectInput[] skipDuplicates?: boolean } export type CommentCreateWithoutProjectInput = { id?: string objectType: $Enums.CommentObjectType objectId: string createdAt?: Date | string updatedAt?: Date | string content: string authorUserId?: string | null } export type CommentUncheckedCreateWithoutProjectInput = { id?: string objectType: $Enums.CommentObjectType objectId: string createdAt?: Date | string updatedAt?: Date | string content: string authorUserId?: string | null } export type CommentCreateOrConnectWithoutProjectInput = { where: CommentWhereUniqueInput create: XOR } export type CommentCreateManyProjectInputEnvelope = { data: CommentCreateManyProjectInput | CommentCreateManyProjectInput[] skipDuplicates?: boolean } export type AnnotationQueueCreateWithoutProjectInput = { id?: string name: string description?: string | null scoreConfigIds?: AnnotationQueueCreatescoreConfigIdsInput | string[] createdAt?: Date | string updatedAt?: Date | string annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutQueueInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutQueueInput } export type AnnotationQueueUncheckedCreateWithoutProjectInput = { id?: string name: string description?: string | null scoreConfigIds?: AnnotationQueueCreatescoreConfigIdsInput | string[] createdAt?: Date | string updatedAt?: Date | string annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutQueueInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutQueueInput } export type AnnotationQueueCreateOrConnectWithoutProjectInput = { where: AnnotationQueueWhereUniqueInput create: XOR } export type AnnotationQueueCreateManyProjectInputEnvelope = { data: AnnotationQueueCreateManyProjectInput | AnnotationQueueCreateManyProjectInput[] skipDuplicates?: boolean } export type AnnotationQueueItemCreateWithoutProjectInput = { id?: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null completedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string queue: AnnotationQueueCreateNestedOneWithoutAnnotationQueueItemInput lockedByUser?: UserCreateNestedOneWithoutAnnotatedLockedItemInput annotatorUser?: UserCreateNestedOneWithoutAnnotatedCompletedItemInput } export type AnnotationQueueItemUncheckedCreateWithoutProjectInput = { id?: string queueId: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null lockedByUserId?: string | null annotatorUserId?: string | null completedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueItemCreateOrConnectWithoutProjectInput = { where: AnnotationQueueItemWhereUniqueInput create: XOR } export type AnnotationQueueItemCreateManyProjectInputEnvelope = { data: AnnotationQueueItemCreateManyProjectInput | AnnotationQueueItemCreateManyProjectInput[] skipDuplicates?: boolean } export type TraceMediaCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string traceId: string field: string media: MediaCreateNestedOneWithoutTraceMediaInput } export type TraceMediaUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string mediaId: string traceId: string field: string } export type TraceMediaCreateOrConnectWithoutProjectInput = { where: TraceMediaWhereUniqueInput create: XOR } export type TraceMediaCreateManyProjectInputEnvelope = { data: TraceMediaCreateManyProjectInput | TraceMediaCreateManyProjectInput[] skipDuplicates?: boolean } export type MediaCreateWithoutProjectInput = { id: string sha256Hash: string createdAt?: Date | string updatedAt?: Date | string uploadedAt?: Date | string | null uploadHttpStatus?: number | null uploadHttpError?: string | null bucketPath: string bucketName: string contentType: string contentLength: bigint | number TraceMedia?: TraceMediaCreateNestedManyWithoutMediaInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutMediaInput } export type MediaUncheckedCreateWithoutProjectInput = { id: string sha256Hash: string createdAt?: Date | string updatedAt?: Date | string uploadedAt?: Date | string | null uploadHttpStatus?: number | null uploadHttpError?: string | null bucketPath: string bucketName: string contentType: string contentLength: bigint | number TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutMediaInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutMediaInput } export type MediaCreateOrConnectWithoutProjectInput = { where: MediaWhereUniqueInput create: XOR } export type MediaCreateManyProjectInputEnvelope = { data: MediaCreateManyProjectInput | MediaCreateManyProjectInput[] skipDuplicates?: boolean } export type ObservationMediaCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string traceId: string observationId: string field: string media: MediaCreateNestedOneWithoutObservationMediaInput } export type ObservationMediaUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string mediaId: string traceId: string observationId: string field: string } export type ObservationMediaCreateOrConnectWithoutProjectInput = { where: ObservationMediaWhereUniqueInput create: XOR } export type ObservationMediaCreateManyProjectInputEnvelope = { data: ObservationMediaCreateManyProjectInput | ObservationMediaCreateManyProjectInput[] skipDuplicates?: boolean } export type LegacyPrismaTraceCreateWithoutProjectInput = { id?: string externalId?: string | null timestamp?: Date | string name?: string | null userId?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue release?: string | null version?: string | null public?: boolean bookmarked?: boolean tags?: LegacyPrismaTraceCreatetagsInput | string[] input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type LegacyPrismaTraceUncheckedCreateWithoutProjectInput = { id?: string externalId?: string | null timestamp?: Date | string name?: string | null userId?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue release?: string | null version?: string | null public?: boolean bookmarked?: boolean tags?: LegacyPrismaTraceCreatetagsInput | string[] input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type LegacyPrismaTraceCreateOrConnectWithoutProjectInput = { where: LegacyPrismaTraceWhereUniqueInput create: XOR } export type LegacyPrismaTraceCreateManyProjectInputEnvelope = { data: LegacyPrismaTraceCreateManyProjectInput | LegacyPrismaTraceCreateManyProjectInput[] skipDuplicates?: boolean } export type LegacyPrismaObservationCreateWithoutProjectInput = { id?: string traceId?: string | null type: $Enums.LegacyPrismaObservationType startTime?: Date | string endTime?: Date | string | null name?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue parentObservationId?: string | null level?: $Enums.LegacyPrismaObservationLevel statusMessage?: string | null version?: string | null createdAt?: Date | string updatedAt?: Date | string model?: string | null internalModel?: string | null internalModelId?: string | null modelParameters?: NullableJsonNullValueInput | InputJsonValue input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue promptTokens?: number completionTokens?: number totalTokens?: number unit?: string | null inputCost?: Decimal | DecimalJsLike | number | string | null outputCost?: Decimal | DecimalJsLike | number | string | null totalCost?: Decimal | DecimalJsLike | number | string | null calculatedInputCost?: Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: Decimal | DecimalJsLike | number | string | null completionStartTime?: Date | string | null promptId?: string | null } export type LegacyPrismaObservationUncheckedCreateWithoutProjectInput = { id?: string traceId?: string | null type: $Enums.LegacyPrismaObservationType startTime?: Date | string endTime?: Date | string | null name?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue parentObservationId?: string | null level?: $Enums.LegacyPrismaObservationLevel statusMessage?: string | null version?: string | null createdAt?: Date | string updatedAt?: Date | string model?: string | null internalModel?: string | null internalModelId?: string | null modelParameters?: NullableJsonNullValueInput | InputJsonValue input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue promptTokens?: number completionTokens?: number totalTokens?: number unit?: string | null inputCost?: Decimal | DecimalJsLike | number | string | null outputCost?: Decimal | DecimalJsLike | number | string | null totalCost?: Decimal | DecimalJsLike | number | string | null calculatedInputCost?: Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: Decimal | DecimalJsLike | number | string | null completionStartTime?: Date | string | null promptId?: string | null } export type LegacyPrismaObservationCreateOrConnectWithoutProjectInput = { where: LegacyPrismaObservationWhereUniqueInput create: XOR } export type LegacyPrismaObservationCreateManyProjectInputEnvelope = { data: LegacyPrismaObservationCreateManyProjectInput | LegacyPrismaObservationCreateManyProjectInput[] skipDuplicates?: boolean } export type LegacyPrismaScoreCreateWithoutProjectInput = { id?: string timestamp?: Date | string name: string value?: number | null source: $Enums.LegacyPrismaScoreSource authorUserId?: string | null comment?: string | null traceId: string observationId?: string | null stringValue?: string | null queueId?: string | null createdAt?: Date | string updatedAt?: Date | string dataType?: $Enums.ScoreDataType scoreConfig?: ScoreConfigCreateNestedOneWithoutLegacyScoreInput } export type LegacyPrismaScoreUncheckedCreateWithoutProjectInput = { id?: string timestamp?: Date | string name: string value?: number | null source: $Enums.LegacyPrismaScoreSource authorUserId?: string | null comment?: string | null traceId: string observationId?: string | null configId?: string | null stringValue?: string | null queueId?: string | null createdAt?: Date | string updatedAt?: Date | string dataType?: $Enums.ScoreDataType } export type LegacyPrismaScoreCreateOrConnectWithoutProjectInput = { where: LegacyPrismaScoreWhereUniqueInput create: XOR } export type LegacyPrismaScoreCreateManyProjectInputEnvelope = { data: LegacyPrismaScoreCreateManyProjectInput | LegacyPrismaScoreCreateManyProjectInput[] skipDuplicates?: boolean } export type PromptDependencyCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string childName: string childLabel?: string | null childVersion?: number | null parent: PromptCreateNestedOneWithoutPromptDependencyInput } export type PromptDependencyUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string parentId: string childName: string childLabel?: string | null childVersion?: number | null } export type PromptDependencyCreateOrConnectWithoutProjectInput = { where: PromptDependencyWhereUniqueInput create: XOR } export type PromptDependencyCreateManyProjectInputEnvelope = { data: PromptDependencyCreateManyProjectInput | PromptDependencyCreateManyProjectInput[] skipDuplicates?: boolean } export type LlmSchemaCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string schema: JsonNullValueInput | InputJsonValue } export type LlmSchemaUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string schema: JsonNullValueInput | InputJsonValue } export type LlmSchemaCreateOrConnectWithoutProjectInput = { where: LlmSchemaWhereUniqueInput create: XOR } export type LlmSchemaCreateManyProjectInputEnvelope = { data: LlmSchemaCreateManyProjectInput | LlmSchemaCreateManyProjectInput[] skipDuplicates?: boolean } export type LlmToolCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string parameters: JsonNullValueInput | InputJsonValue } export type LlmToolUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string parameters: JsonNullValueInput | InputJsonValue } export type LlmToolCreateOrConnectWithoutProjectInput = { where: LlmToolWhereUniqueInput create: XOR } export type LlmToolCreateManyProjectInputEnvelope = { data: LlmToolCreateManyProjectInput | LlmToolCreateManyProjectInput[] skipDuplicates?: boolean } export type PromptProtectedLabelsCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string label: string } export type PromptProtectedLabelsUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string label: string } export type PromptProtectedLabelsCreateOrConnectWithoutProjectInput = { where: PromptProtectedLabelsWhereUniqueInput create: XOR } export type PromptProtectedLabelsCreateManyProjectInputEnvelope = { data: PromptProtectedLabelsCreateManyProjectInput | PromptProtectedLabelsCreateManyProjectInput[] skipDuplicates?: boolean } export type DashboardCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string definition: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue createdByUser?: UserCreateNestedOneWithoutDashboardCreatedInput updatedByUser?: UserCreateNestedOneWithoutDashboardUpdatedInput } export type DashboardUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy?: string | null updatedBy?: string | null name: string description: string definition: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardCreateOrConnectWithoutProjectInput = { where: DashboardWhereUniqueInput create: XOR } export type DashboardCreateManyProjectInputEnvelope = { data: DashboardCreateManyProjectInput | DashboardCreateManyProjectInput[] skipDuplicates?: boolean } export type DashboardWidgetCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string view: $Enums.DashboardWidgetViews dimensions: JsonNullValueInput | InputJsonValue metrics: JsonNullValueInput | InputJsonValue filters: JsonNullValueInput | InputJsonValue chartType: $Enums.DashboardWidgetChartType chartConfig: JsonNullValueInput | InputJsonValue createdByUser?: UserCreateNestedOneWithoutDashboardWidgetsCreatedInput updatedByUser?: UserCreateNestedOneWithoutDashboardWidgetsUpdatedInput } export type DashboardWidgetUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy?: string | null updatedBy?: string | null name: string description: string view: $Enums.DashboardWidgetViews dimensions: JsonNullValueInput | InputJsonValue metrics: JsonNullValueInput | InputJsonValue filters: JsonNullValueInput | InputJsonValue chartType: $Enums.DashboardWidgetChartType chartConfig: JsonNullValueInput | InputJsonValue } export type DashboardWidgetCreateOrConnectWithoutProjectInput = { where: DashboardWidgetWhereUniqueInput create: XOR } export type DashboardWidgetCreateManyProjectInputEnvelope = { data: DashboardWidgetCreateManyProjectInput | DashboardWidgetCreateManyProjectInput[] skipDuplicates?: boolean } export type TableViewPresetCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string tableName: string filters: JsonNullValueInput | InputJsonValue columnOrder: JsonNullValueInput | InputJsonValue columnVisibility: JsonNullValueInput | InputJsonValue searchQuery?: string | null orderBy?: NullableJsonNullValueInput | InputJsonValue createdByUser?: UserCreateNestedOneWithoutTableViewPresetCreatedInput updatedByUser?: UserCreateNestedOneWithoutTableViewPresetUpdatedInput } export type TableViewPresetUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string tableName: string createdBy?: string | null updatedBy?: string | null filters: JsonNullValueInput | InputJsonValue columnOrder: JsonNullValueInput | InputJsonValue columnVisibility: JsonNullValueInput | InputJsonValue searchQuery?: string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type TableViewPresetCreateOrConnectWithoutProjectInput = { where: TableViewPresetWhereUniqueInput create: XOR } export type TableViewPresetCreateManyProjectInputEnvelope = { data: TableViewPresetCreateManyProjectInput | TableViewPresetCreateManyProjectInput[] skipDuplicates?: boolean } export type ActionCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: $Enums.ActionType config: JsonNullValueInput | InputJsonValue automations?: AutomationCreateNestedManyWithoutActionInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutActionInput } export type ActionUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: $Enums.ActionType config: JsonNullValueInput | InputJsonValue automations?: AutomationUncheckedCreateNestedManyWithoutActionInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutActionInput } export type ActionCreateOrConnectWithoutProjectInput = { where: ActionWhereUniqueInput create: XOR } export type ActionCreateManyProjectInputEnvelope = { data: ActionCreateManyProjectInput | ActionCreateManyProjectInput[] skipDuplicates?: boolean } export type TriggerCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string eventSource: string eventActions?: TriggerCreateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: $Enums.JobConfigState automationExecutions?: AutomationExecutionCreateNestedManyWithoutTriggerInput automations?: AutomationCreateNestedManyWithoutTriggerInput } export type TriggerUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string eventSource: string eventActions?: TriggerCreateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: $Enums.JobConfigState automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutTriggerInput automations?: AutomationUncheckedCreateNestedManyWithoutTriggerInput } export type TriggerCreateOrConnectWithoutProjectInput = { where: TriggerWhereUniqueInput create: XOR } export type TriggerCreateManyProjectInputEnvelope = { data: TriggerCreateManyProjectInput | TriggerCreateManyProjectInput[] skipDuplicates?: boolean } export type AutomationExecutionCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null automation: AutomationCreateNestedOneWithoutAutomationExecutionInput trigger: TriggerCreateNestedOneWithoutAutomationExecutionsInput action: ActionCreateNestedOneWithoutAutomationExecutionsInput } export type AutomationExecutionUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string automationId: string triggerId: string actionId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null } export type AutomationExecutionCreateOrConnectWithoutProjectInput = { where: AutomationExecutionWhereUniqueInput create: XOR } export type AutomationExecutionCreateManyProjectInputEnvelope = { data: AutomationExecutionCreateManyProjectInput | AutomationExecutionCreateManyProjectInput[] skipDuplicates?: boolean } export type AutomationCreateWithoutProjectInput = { id?: string name: string createdAt?: Date | string trigger: TriggerCreateNestedOneWithoutAutomationsInput action: ActionCreateNestedOneWithoutAutomationsInput AutomationExecution?: AutomationExecutionCreateNestedManyWithoutAutomationInput } export type AutomationUncheckedCreateWithoutProjectInput = { id?: string name: string triggerId: string actionId: string createdAt?: Date | string AutomationExecution?: AutomationExecutionUncheckedCreateNestedManyWithoutAutomationInput } export type AutomationCreateOrConnectWithoutProjectInput = { where: AutomationWhereUniqueInput create: XOR } export type AutomationCreateManyProjectInputEnvelope = { data: AutomationCreateManyProjectInput | AutomationCreateManyProjectInput[] skipDuplicates?: boolean } export type DefaultLlmModelCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string provider: string adapter: string model: string modelParams?: NullableJsonNullValueInput | InputJsonValue LlmApiKey: LlmApiKeysCreateNestedOneWithoutDefaultLlmModelInput } export type DefaultLlmModelUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string llmApiKeyId: string provider: string adapter: string model: string modelParams?: NullableJsonNullValueInput | InputJsonValue } export type DefaultLlmModelCreateOrConnectWithoutProjectInput = { where: DefaultLlmModelWhereUniqueInput create: XOR } export type DefaultLlmModelCreateManyProjectInputEnvelope = { data: DefaultLlmModelCreateManyProjectInput | DefaultLlmModelCreateManyProjectInput[] skipDuplicates?: boolean } export type PriceCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string usageType: string price: Decimal | DecimalJsLike | number | string Model: ModelCreateNestedOneWithoutPriceInput } export type PriceUncheckedCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string modelId: string usageType: string price: Decimal | DecimalJsLike | number | string } export type PriceCreateOrConnectWithoutProjectInput = { where: PriceWhereUniqueInput create: XOR } export type PriceCreateManyProjectInputEnvelope = { data: PriceCreateManyProjectInput | PriceCreateManyProjectInput[] skipDuplicates?: boolean } export type SlackIntegrationCreateWithoutProjectInput = { id?: string teamId: string teamName: string botToken: string botUserId: string createdAt?: Date | string updatedAt?: Date | string } export type SlackIntegrationUncheckedCreateWithoutProjectInput = { id?: string teamId: string teamName: string botToken: string botUserId: string createdAt?: Date | string updatedAt?: Date | string } export type SlackIntegrationCreateOrConnectWithoutProjectInput = { where: SlackIntegrationWhereUniqueInput create: XOR } export type PendingDeletionCreateWithoutProjectInput = { id?: string object: string objectId: string isDeleted?: boolean createdAt?: Date | string updatedAt?: Date | string } export type PendingDeletionUncheckedCreateWithoutProjectInput = { id?: string object: string objectId: string isDeleted?: boolean createdAt?: Date | string updatedAt?: Date | string } export type PendingDeletionCreateOrConnectWithoutProjectInput = { where: PendingDeletionWhereUniqueInput create: XOR } export type PendingDeletionCreateManyProjectInputEnvelope = { data: PendingDeletionCreateManyProjectInput | PendingDeletionCreateManyProjectInput[] skipDuplicates?: boolean } export type AnnotationQueueAssignmentCreateWithoutProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string user: UserCreateNestedOneWithoutAnnotationQueueAssignmentInput queue: AnnotationQueueCreateNestedOneWithoutAnnotationQueueAssignmentInput } export type AnnotationQueueAssignmentUncheckedCreateWithoutProjectInput = { id?: string userId: string queueId: string createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueAssignmentCreateOrConnectWithoutProjectInput = { where: AnnotationQueueAssignmentWhereUniqueInput create: XOR } export type AnnotationQueueAssignmentCreateManyProjectInputEnvelope = { data: AnnotationQueueAssignmentCreateManyProjectInput | AnnotationQueueAssignmentCreateManyProjectInput[] skipDuplicates?: boolean } export type ProjectMembershipUpsertWithWhereUniqueWithoutProjectInput = { where: ProjectMembershipWhereUniqueInput update: XOR create: XOR } export type ProjectMembershipUpdateWithWhereUniqueWithoutProjectInput = { where: ProjectMembershipWhereUniqueInput data: XOR } export type ProjectMembershipUpdateManyWithWhereWithoutProjectInput = { where: ProjectMembershipScalarWhereInput data: XOR } export type OrganizationUpsertWithoutProjectsInput = { update: XOR create: XOR where?: OrganizationWhereInput } export type OrganizationUpdateToOneWithWhereWithoutProjectsInput = { where?: OrganizationWhereInput data: XOR } export type OrganizationUpdateWithoutProjectsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUpdateManyWithoutOrganizationNestedInput MembershipInvitation?: MembershipInvitationUpdateManyWithoutOrganizationNestedInput ApiKey?: ApiKeyUpdateManyWithoutOrganizationNestedInput surveys?: SurveyUpdateManyWithoutOrgNestedInput } export type OrganizationUncheckedUpdateWithoutProjectsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationNestedInput MembershipInvitation?: MembershipInvitationUncheckedUpdateManyWithoutOrganizationNestedInput ApiKey?: ApiKeyUncheckedUpdateManyWithoutOrganizationNestedInput surveys?: SurveyUncheckedUpdateManyWithoutOrgNestedInput } export type ApiKeyUpsertWithWhereUniqueWithoutProjectInput = { where: ApiKeyWhereUniqueInput update: XOR create: XOR } export type ApiKeyUpdateWithWhereUniqueWithoutProjectInput = { where: ApiKeyWhereUniqueInput data: XOR } export type ApiKeyUpdateManyWithWhereWithoutProjectInput = { where: ApiKeyScalarWhereInput data: XOR } export type DatasetUpsertWithWhereUniqueWithoutProjectInput = { where: DatasetWhereUniqueInput update: XOR create: XOR } export type DatasetUpdateWithWhereUniqueWithoutProjectInput = { where: DatasetWhereUniqueInput data: XOR } export type DatasetUpdateManyWithWhereWithoutProjectInput = { where: DatasetScalarWhereInput data: XOR } export type DatasetScalarWhereInput = { AND?: DatasetScalarWhereInput | DatasetScalarWhereInput[] OR?: DatasetScalarWhereInput[] NOT?: DatasetScalarWhereInput | DatasetScalarWhereInput[] id?: StringFilter<"Dataset"> | string projectId?: StringFilter<"Dataset"> | string name?: StringFilter<"Dataset"> | string description?: StringNullableFilter<"Dataset"> | string | null metadata?: JsonNullableFilter<"Dataset"> remoteExperimentUrl?: StringNullableFilter<"Dataset"> | string | null remoteExperimentPayload?: JsonNullableFilter<"Dataset"> createdAt?: DateTimeFilter<"Dataset"> | Date | string updatedAt?: DateTimeFilter<"Dataset"> | Date | string } export type MembershipInvitationUpsertWithWhereUniqueWithoutProjectInput = { where: MembershipInvitationWhereUniqueInput update: XOR create: XOR } export type MembershipInvitationUpdateWithWhereUniqueWithoutProjectInput = { where: MembershipInvitationWhereUniqueInput data: XOR } export type MembershipInvitationUpdateManyWithWhereWithoutProjectInput = { where: MembershipInvitationScalarWhereInput data: XOR } export type TraceSessionUpsertWithWhereUniqueWithoutProjectInput = { where: TraceSessionWhereUniqueInput update: XOR create: XOR } export type TraceSessionUpdateWithWhereUniqueWithoutProjectInput = { where: TraceSessionWhereUniqueInput data: XOR } export type TraceSessionUpdateManyWithWhereWithoutProjectInput = { where: TraceSessionScalarWhereInput data: XOR } export type TraceSessionScalarWhereInput = { AND?: TraceSessionScalarWhereInput | TraceSessionScalarWhereInput[] OR?: TraceSessionScalarWhereInput[] NOT?: TraceSessionScalarWhereInput | TraceSessionScalarWhereInput[] id?: StringFilter<"TraceSession"> | string createdAt?: DateTimeFilter<"TraceSession"> | Date | string updatedAt?: DateTimeFilter<"TraceSession"> | Date | string projectId?: StringFilter<"TraceSession"> | string bookmarked?: BoolFilter<"TraceSession"> | boolean public?: BoolFilter<"TraceSession"> | boolean environment?: StringFilter<"TraceSession"> | string } export type PromptUpsertWithWhereUniqueWithoutProjectInput = { where: PromptWhereUniqueInput update: XOR create: XOR } export type PromptUpdateWithWhereUniqueWithoutProjectInput = { where: PromptWhereUniqueInput data: XOR } export type PromptUpdateManyWithWhereWithoutProjectInput = { where: PromptScalarWhereInput data: XOR } export type PromptScalarWhereInput = { AND?: PromptScalarWhereInput | PromptScalarWhereInput[] OR?: PromptScalarWhereInput[] NOT?: PromptScalarWhereInput | PromptScalarWhereInput[] id?: StringFilter<"Prompt"> | string createdAt?: DateTimeFilter<"Prompt"> | Date | string updatedAt?: DateTimeFilter<"Prompt"> | Date | string projectId?: StringFilter<"Prompt"> | string createdBy?: StringFilter<"Prompt"> | string prompt?: JsonFilter<"Prompt"> name?: StringFilter<"Prompt"> | string version?: IntFilter<"Prompt"> | number type?: StringFilter<"Prompt"> | string isActive?: BoolNullableFilter<"Prompt"> | boolean | null config?: JsonFilter<"Prompt"> tags?: StringNullableListFilter<"Prompt"> labels?: StringNullableListFilter<"Prompt"> commitMessage?: StringNullableFilter<"Prompt"> | string | null } export type ModelUpsertWithWhereUniqueWithoutProjectInput = { where: ModelWhereUniqueInput update: XOR create: XOR } export type ModelUpdateWithWhereUniqueWithoutProjectInput = { where: ModelWhereUniqueInput data: XOR } export type ModelUpdateManyWithWhereWithoutProjectInput = { where: ModelScalarWhereInput data: XOR } export type ModelScalarWhereInput = { AND?: ModelScalarWhereInput | ModelScalarWhereInput[] OR?: ModelScalarWhereInput[] NOT?: ModelScalarWhereInput | ModelScalarWhereInput[] id?: StringFilter<"Model"> | string createdAt?: DateTimeFilter<"Model"> | Date | string updatedAt?: DateTimeFilter<"Model"> | Date | string projectId?: StringNullableFilter<"Model"> | string | null modelName?: StringFilter<"Model"> | string matchPattern?: StringFilter<"Model"> | string startDate?: DateTimeNullableFilter<"Model"> | Date | string | null inputPrice?: DecimalNullableFilter<"Model"> | Decimal | DecimalJsLike | number | string | null outputPrice?: DecimalNullableFilter<"Model"> | Decimal | DecimalJsLike | number | string | null totalPrice?: DecimalNullableFilter<"Model"> | Decimal | DecimalJsLike | number | string | null unit?: StringNullableFilter<"Model"> | string | null tokenizerId?: StringNullableFilter<"Model"> | string | null tokenizerConfig?: JsonNullableFilter<"Model"> } export type EvalTemplateUpsertWithWhereUniqueWithoutProjectInput = { where: EvalTemplateWhereUniqueInput update: XOR create: XOR } export type EvalTemplateUpdateWithWhereUniqueWithoutProjectInput = { where: EvalTemplateWhereUniqueInput data: XOR } export type EvalTemplateUpdateManyWithWhereWithoutProjectInput = { where: EvalTemplateScalarWhereInput data: XOR } export type EvalTemplateScalarWhereInput = { AND?: EvalTemplateScalarWhereInput | EvalTemplateScalarWhereInput[] OR?: EvalTemplateScalarWhereInput[] NOT?: EvalTemplateScalarWhereInput | EvalTemplateScalarWhereInput[] id?: StringFilter<"EvalTemplate"> | string createdAt?: DateTimeFilter<"EvalTemplate"> | Date | string updatedAt?: DateTimeFilter<"EvalTemplate"> | Date | string projectId?: StringNullableFilter<"EvalTemplate"> | string | null name?: StringFilter<"EvalTemplate"> | string version?: IntFilter<"EvalTemplate"> | number prompt?: StringFilter<"EvalTemplate"> | string partner?: StringNullableFilter<"EvalTemplate"> | string | null model?: StringNullableFilter<"EvalTemplate"> | string | null provider?: StringNullableFilter<"EvalTemplate"> | string | null modelParams?: JsonNullableFilter<"EvalTemplate"> vars?: StringNullableListFilter<"EvalTemplate"> outputSchema?: JsonFilter<"EvalTemplate"> } export type JobConfigurationUpsertWithWhereUniqueWithoutProjectInput = { where: JobConfigurationWhereUniqueInput update: XOR create: XOR } export type JobConfigurationUpdateWithWhereUniqueWithoutProjectInput = { where: JobConfigurationWhereUniqueInput data: XOR } export type JobConfigurationUpdateManyWithWhereWithoutProjectInput = { where: JobConfigurationScalarWhereInput data: XOR } export type JobConfigurationScalarWhereInput = { AND?: JobConfigurationScalarWhereInput | JobConfigurationScalarWhereInput[] OR?: JobConfigurationScalarWhereInput[] NOT?: JobConfigurationScalarWhereInput | JobConfigurationScalarWhereInput[] id?: StringFilter<"JobConfiguration"> | string createdAt?: DateTimeFilter<"JobConfiguration"> | Date | string updatedAt?: DateTimeFilter<"JobConfiguration"> | Date | string projectId?: StringFilter<"JobConfiguration"> | string jobType?: EnumJobTypeFilter<"JobConfiguration"> | $Enums.JobType status?: EnumJobConfigStateFilter<"JobConfiguration"> | $Enums.JobConfigState evalTemplateId?: StringNullableFilter<"JobConfiguration"> | string | null scoreName?: StringFilter<"JobConfiguration"> | string filter?: JsonFilter<"JobConfiguration"> targetObject?: StringFilter<"JobConfiguration"> | string variableMapping?: JsonFilter<"JobConfiguration"> sampling?: DecimalFilter<"JobConfiguration"> | Decimal | DecimalJsLike | number | string delay?: IntFilter<"JobConfiguration"> | number timeScope?: StringNullableListFilter<"JobConfiguration"> } export type JobExecutionUpsertWithWhereUniqueWithoutProjectInput = { where: JobExecutionWhereUniqueInput update: XOR create: XOR } export type JobExecutionUpdateWithWhereUniqueWithoutProjectInput = { where: JobExecutionWhereUniqueInput data: XOR } export type JobExecutionUpdateManyWithWhereWithoutProjectInput = { where: JobExecutionScalarWhereInput data: XOR } export type JobExecutionScalarWhereInput = { AND?: JobExecutionScalarWhereInput | JobExecutionScalarWhereInput[] OR?: JobExecutionScalarWhereInput[] NOT?: JobExecutionScalarWhereInput | JobExecutionScalarWhereInput[] id?: StringFilter<"JobExecution"> | string createdAt?: DateTimeFilter<"JobExecution"> | Date | string updatedAt?: DateTimeFilter<"JobExecution"> | Date | string projectId?: StringFilter<"JobExecution"> | string jobConfigurationId?: StringFilter<"JobExecution"> | string jobTemplateId?: StringNullableFilter<"JobExecution"> | string | null status?: EnumJobExecutionStatusFilter<"JobExecution"> | $Enums.JobExecutionStatus startTime?: DateTimeNullableFilter<"JobExecution"> | Date | string | null endTime?: DateTimeNullableFilter<"JobExecution"> | Date | string | null error?: StringNullableFilter<"JobExecution"> | string | null jobInputTraceId?: StringNullableFilter<"JobExecution"> | string | null jobInputTraceTimestamp?: DateTimeNullableFilter<"JobExecution"> | Date | string | null jobInputObservationId?: StringNullableFilter<"JobExecution"> | string | null jobInputDatasetItemId?: StringNullableFilter<"JobExecution"> | string | null jobOutputScoreId?: StringNullableFilter<"JobExecution"> | string | null } export type LlmApiKeysUpsertWithWhereUniqueWithoutProjectInput = { where: LlmApiKeysWhereUniqueInput update: XOR create: XOR } export type LlmApiKeysUpdateWithWhereUniqueWithoutProjectInput = { where: LlmApiKeysWhereUniqueInput data: XOR } export type LlmApiKeysUpdateManyWithWhereWithoutProjectInput = { where: LlmApiKeysScalarWhereInput data: XOR } export type LlmApiKeysScalarWhereInput = { AND?: LlmApiKeysScalarWhereInput | LlmApiKeysScalarWhereInput[] OR?: LlmApiKeysScalarWhereInput[] NOT?: LlmApiKeysScalarWhereInput | LlmApiKeysScalarWhereInput[] id?: StringFilter<"LlmApiKeys"> | string createdAt?: DateTimeFilter<"LlmApiKeys"> | Date | string updatedAt?: DateTimeFilter<"LlmApiKeys"> | Date | string provider?: StringFilter<"LlmApiKeys"> | string adapter?: StringFilter<"LlmApiKeys"> | string displaySecretKey?: StringFilter<"LlmApiKeys"> | string secretKey?: StringFilter<"LlmApiKeys"> | string baseURL?: StringNullableFilter<"LlmApiKeys"> | string | null customModels?: StringNullableListFilter<"LlmApiKeys"> withDefaultModels?: BoolFilter<"LlmApiKeys"> | boolean extraHeaders?: StringNullableFilter<"LlmApiKeys"> | string | null extraHeaderKeys?: StringNullableListFilter<"LlmApiKeys"> config?: JsonNullableFilter<"LlmApiKeys"> projectId?: StringFilter<"LlmApiKeys"> | string } export type PosthogIntegrationUpsertWithWhereUniqueWithoutProjectInput = { where: PosthogIntegrationWhereUniqueInput update: XOR create: XOR } export type PosthogIntegrationUpdateWithWhereUniqueWithoutProjectInput = { where: PosthogIntegrationWhereUniqueInput data: XOR } export type PosthogIntegrationUpdateManyWithWhereWithoutProjectInput = { where: PosthogIntegrationScalarWhereInput data: XOR } export type PosthogIntegrationScalarWhereInput = { AND?: PosthogIntegrationScalarWhereInput | PosthogIntegrationScalarWhereInput[] OR?: PosthogIntegrationScalarWhereInput[] NOT?: PosthogIntegrationScalarWhereInput | PosthogIntegrationScalarWhereInput[] projectId?: StringFilter<"PosthogIntegration"> | string encryptedPosthogApiKey?: StringFilter<"PosthogIntegration"> | string posthogHostName?: StringFilter<"PosthogIntegration"> | string lastSyncAt?: DateTimeNullableFilter<"PosthogIntegration"> | Date | string | null enabled?: BoolFilter<"PosthogIntegration"> | boolean createdAt?: DateTimeFilter<"PosthogIntegration"> | Date | string } export type BlobStorageIntegrationUpsertWithWhereUniqueWithoutProjectInput = { where: BlobStorageIntegrationWhereUniqueInput update: XOR create: XOR } export type BlobStorageIntegrationUpdateWithWhereUniqueWithoutProjectInput = { where: BlobStorageIntegrationWhereUniqueInput data: XOR } export type BlobStorageIntegrationUpdateManyWithWhereWithoutProjectInput = { where: BlobStorageIntegrationScalarWhereInput data: XOR } export type BlobStorageIntegrationScalarWhereInput = { AND?: BlobStorageIntegrationScalarWhereInput | BlobStorageIntegrationScalarWhereInput[] OR?: BlobStorageIntegrationScalarWhereInput[] NOT?: BlobStorageIntegrationScalarWhereInput | BlobStorageIntegrationScalarWhereInput[] projectId?: StringFilter<"BlobStorageIntegration"> | string type?: EnumBlobStorageIntegrationTypeFilter<"BlobStorageIntegration"> | $Enums.BlobStorageIntegrationType bucketName?: StringFilter<"BlobStorageIntegration"> | string prefix?: StringFilter<"BlobStorageIntegration"> | string accessKeyId?: StringNullableFilter<"BlobStorageIntegration"> | string | null secretAccessKey?: StringNullableFilter<"BlobStorageIntegration"> | string | null region?: StringFilter<"BlobStorageIntegration"> | string endpoint?: StringNullableFilter<"BlobStorageIntegration"> | string | null forcePathStyle?: BoolFilter<"BlobStorageIntegration"> | boolean nextSyncAt?: DateTimeNullableFilter<"BlobStorageIntegration"> | Date | string | null lastSyncAt?: DateTimeNullableFilter<"BlobStorageIntegration"> | Date | string | null enabled?: BoolFilter<"BlobStorageIntegration"> | boolean exportFrequency?: StringFilter<"BlobStorageIntegration"> | string fileType?: EnumBlobStorageIntegrationFileTypeFilter<"BlobStorageIntegration"> | $Enums.BlobStorageIntegrationFileType exportMode?: EnumBlobStorageExportModeFilter<"BlobStorageIntegration"> | $Enums.BlobStorageExportMode exportStartDate?: DateTimeNullableFilter<"BlobStorageIntegration"> | Date | string | null createdAt?: DateTimeFilter<"BlobStorageIntegration"> | Date | string updatedAt?: DateTimeFilter<"BlobStorageIntegration"> | Date | string } export type ScoreConfigUpsertWithWhereUniqueWithoutProjectInput = { where: ScoreConfigWhereUniqueInput update: XOR create: XOR } export type ScoreConfigUpdateWithWhereUniqueWithoutProjectInput = { where: ScoreConfigWhereUniqueInput data: XOR } export type ScoreConfigUpdateManyWithWhereWithoutProjectInput = { where: ScoreConfigScalarWhereInput data: XOR } export type ScoreConfigScalarWhereInput = { AND?: ScoreConfigScalarWhereInput | ScoreConfigScalarWhereInput[] OR?: ScoreConfigScalarWhereInput[] NOT?: ScoreConfigScalarWhereInput | ScoreConfigScalarWhereInput[] id?: StringFilter<"ScoreConfig"> | string createdAt?: DateTimeFilter<"ScoreConfig"> | Date | string updatedAt?: DateTimeFilter<"ScoreConfig"> | Date | string projectId?: StringFilter<"ScoreConfig"> | string name?: StringFilter<"ScoreConfig"> | string dataType?: EnumScoreDataTypeFilter<"ScoreConfig"> | $Enums.ScoreDataType isArchived?: BoolFilter<"ScoreConfig"> | boolean minValue?: FloatNullableFilter<"ScoreConfig"> | number | null maxValue?: FloatNullableFilter<"ScoreConfig"> | number | null categories?: JsonNullableFilter<"ScoreConfig"> description?: StringNullableFilter<"ScoreConfig"> | string | null } export type BatchExportUpsertWithWhereUniqueWithoutProjectInput = { where: BatchExportWhereUniqueInput update: XOR create: XOR } export type BatchExportUpdateWithWhereUniqueWithoutProjectInput = { where: BatchExportWhereUniqueInput data: XOR } export type BatchExportUpdateManyWithWhereWithoutProjectInput = { where: BatchExportScalarWhereInput data: XOR } export type BatchExportScalarWhereInput = { AND?: BatchExportScalarWhereInput | BatchExportScalarWhereInput[] OR?: BatchExportScalarWhereInput[] NOT?: BatchExportScalarWhereInput | BatchExportScalarWhereInput[] id?: StringFilter<"BatchExport"> | string createdAt?: DateTimeFilter<"BatchExport"> | Date | string updatedAt?: DateTimeFilter<"BatchExport"> | Date | string projectId?: StringFilter<"BatchExport"> | string userId?: StringFilter<"BatchExport"> | string finishedAt?: DateTimeNullableFilter<"BatchExport"> | Date | string | null expiresAt?: DateTimeNullableFilter<"BatchExport"> | Date | string | null name?: StringFilter<"BatchExport"> | string status?: StringFilter<"BatchExport"> | string query?: JsonFilter<"BatchExport"> format?: StringFilter<"BatchExport"> | string url?: StringNullableFilter<"BatchExport"> | string | null log?: StringNullableFilter<"BatchExport"> | string | null } export type CommentUpsertWithWhereUniqueWithoutProjectInput = { where: CommentWhereUniqueInput update: XOR create: XOR } export type CommentUpdateWithWhereUniqueWithoutProjectInput = { where: CommentWhereUniqueInput data: XOR } export type CommentUpdateManyWithWhereWithoutProjectInput = { where: CommentScalarWhereInput data: XOR } export type CommentScalarWhereInput = { AND?: CommentScalarWhereInput | CommentScalarWhereInput[] OR?: CommentScalarWhereInput[] NOT?: CommentScalarWhereInput | CommentScalarWhereInput[] id?: StringFilter<"Comment"> | string projectId?: StringFilter<"Comment"> | string objectType?: EnumCommentObjectTypeFilter<"Comment"> | $Enums.CommentObjectType objectId?: StringFilter<"Comment"> | string createdAt?: DateTimeFilter<"Comment"> | Date | string updatedAt?: DateTimeFilter<"Comment"> | Date | string content?: StringFilter<"Comment"> | string authorUserId?: StringNullableFilter<"Comment"> | string | null } export type AnnotationQueueUpsertWithWhereUniqueWithoutProjectInput = { where: AnnotationQueueWhereUniqueInput update: XOR create: XOR } export type AnnotationQueueUpdateWithWhereUniqueWithoutProjectInput = { where: AnnotationQueueWhereUniqueInput data: XOR } export type AnnotationQueueUpdateManyWithWhereWithoutProjectInput = { where: AnnotationQueueScalarWhereInput data: XOR } export type AnnotationQueueScalarWhereInput = { AND?: AnnotationQueueScalarWhereInput | AnnotationQueueScalarWhereInput[] OR?: AnnotationQueueScalarWhereInput[] NOT?: AnnotationQueueScalarWhereInput | AnnotationQueueScalarWhereInput[] id?: StringFilter<"AnnotationQueue"> | string name?: StringFilter<"AnnotationQueue"> | string description?: StringNullableFilter<"AnnotationQueue"> | string | null scoreConfigIds?: StringNullableListFilter<"AnnotationQueue"> projectId?: StringFilter<"AnnotationQueue"> | string createdAt?: DateTimeFilter<"AnnotationQueue"> | Date | string updatedAt?: DateTimeFilter<"AnnotationQueue"> | Date | string } export type AnnotationQueueItemUpsertWithWhereUniqueWithoutProjectInput = { where: AnnotationQueueItemWhereUniqueInput update: XOR create: XOR } export type AnnotationQueueItemUpdateWithWhereUniqueWithoutProjectInput = { where: AnnotationQueueItemWhereUniqueInput data: XOR } export type AnnotationQueueItemUpdateManyWithWhereWithoutProjectInput = { where: AnnotationQueueItemScalarWhereInput data: XOR } export type TraceMediaUpsertWithWhereUniqueWithoutProjectInput = { where: TraceMediaWhereUniqueInput update: XOR create: XOR } export type TraceMediaUpdateWithWhereUniqueWithoutProjectInput = { where: TraceMediaWhereUniqueInput data: XOR } export type TraceMediaUpdateManyWithWhereWithoutProjectInput = { where: TraceMediaScalarWhereInput data: XOR } export type TraceMediaScalarWhereInput = { AND?: TraceMediaScalarWhereInput | TraceMediaScalarWhereInput[] OR?: TraceMediaScalarWhereInput[] NOT?: TraceMediaScalarWhereInput | TraceMediaScalarWhereInput[] id?: StringFilter<"TraceMedia"> | string projectId?: StringFilter<"TraceMedia"> | string createdAt?: DateTimeFilter<"TraceMedia"> | Date | string updatedAt?: DateTimeFilter<"TraceMedia"> | Date | string mediaId?: StringFilter<"TraceMedia"> | string traceId?: StringFilter<"TraceMedia"> | string field?: StringFilter<"TraceMedia"> | string } export type MediaUpsertWithWhereUniqueWithoutProjectInput = { where: MediaWhereUniqueInput update: XOR create: XOR } export type MediaUpdateWithWhereUniqueWithoutProjectInput = { where: MediaWhereUniqueInput data: XOR } export type MediaUpdateManyWithWhereWithoutProjectInput = { where: MediaScalarWhereInput data: XOR } export type MediaScalarWhereInput = { AND?: MediaScalarWhereInput | MediaScalarWhereInput[] OR?: MediaScalarWhereInput[] NOT?: MediaScalarWhereInput | MediaScalarWhereInput[] id?: StringFilter<"Media"> | string sha256Hash?: StringFilter<"Media"> | string projectId?: StringFilter<"Media"> | string createdAt?: DateTimeFilter<"Media"> | Date | string updatedAt?: DateTimeFilter<"Media"> | Date | string uploadedAt?: DateTimeNullableFilter<"Media"> | Date | string | null uploadHttpStatus?: IntNullableFilter<"Media"> | number | null uploadHttpError?: StringNullableFilter<"Media"> | string | null bucketPath?: StringFilter<"Media"> | string bucketName?: StringFilter<"Media"> | string contentType?: StringFilter<"Media"> | string contentLength?: BigIntFilter<"Media"> | bigint | number } export type ObservationMediaUpsertWithWhereUniqueWithoutProjectInput = { where: ObservationMediaWhereUniqueInput update: XOR create: XOR } export type ObservationMediaUpdateWithWhereUniqueWithoutProjectInput = { where: ObservationMediaWhereUniqueInput data: XOR } export type ObservationMediaUpdateManyWithWhereWithoutProjectInput = { where: ObservationMediaScalarWhereInput data: XOR } export type ObservationMediaScalarWhereInput = { AND?: ObservationMediaScalarWhereInput | ObservationMediaScalarWhereInput[] OR?: ObservationMediaScalarWhereInput[] NOT?: ObservationMediaScalarWhereInput | ObservationMediaScalarWhereInput[] id?: StringFilter<"ObservationMedia"> | string projectId?: StringFilter<"ObservationMedia"> | string createdAt?: DateTimeFilter<"ObservationMedia"> | Date | string updatedAt?: DateTimeFilter<"ObservationMedia"> | Date | string mediaId?: StringFilter<"ObservationMedia"> | string traceId?: StringFilter<"ObservationMedia"> | string observationId?: StringFilter<"ObservationMedia"> | string field?: StringFilter<"ObservationMedia"> | string } export type LegacyPrismaTraceUpsertWithWhereUniqueWithoutProjectInput = { where: LegacyPrismaTraceWhereUniqueInput update: XOR create: XOR } export type LegacyPrismaTraceUpdateWithWhereUniqueWithoutProjectInput = { where: LegacyPrismaTraceWhereUniqueInput data: XOR } export type LegacyPrismaTraceUpdateManyWithWhereWithoutProjectInput = { where: LegacyPrismaTraceScalarWhereInput data: XOR } export type LegacyPrismaTraceScalarWhereInput = { AND?: LegacyPrismaTraceScalarWhereInput | LegacyPrismaTraceScalarWhereInput[] OR?: LegacyPrismaTraceScalarWhereInput[] NOT?: LegacyPrismaTraceScalarWhereInput | LegacyPrismaTraceScalarWhereInput[] id?: StringFilter<"LegacyPrismaTrace"> | string externalId?: StringNullableFilter<"LegacyPrismaTrace"> | string | null timestamp?: DateTimeFilter<"LegacyPrismaTrace"> | Date | string name?: StringNullableFilter<"LegacyPrismaTrace"> | string | null userId?: StringNullableFilter<"LegacyPrismaTrace"> | string | null metadata?: JsonNullableFilter<"LegacyPrismaTrace"> release?: StringNullableFilter<"LegacyPrismaTrace"> | string | null version?: StringNullableFilter<"LegacyPrismaTrace"> | string | null projectId?: StringFilter<"LegacyPrismaTrace"> | string public?: BoolFilter<"LegacyPrismaTrace"> | boolean bookmarked?: BoolFilter<"LegacyPrismaTrace"> | boolean tags?: StringNullableListFilter<"LegacyPrismaTrace"> input?: JsonNullableFilter<"LegacyPrismaTrace"> output?: JsonNullableFilter<"LegacyPrismaTrace"> sessionId?: StringNullableFilter<"LegacyPrismaTrace"> | string | null createdAt?: DateTimeFilter<"LegacyPrismaTrace"> | Date | string updatedAt?: DateTimeFilter<"LegacyPrismaTrace"> | Date | string } export type LegacyPrismaObservationUpsertWithWhereUniqueWithoutProjectInput = { where: LegacyPrismaObservationWhereUniqueInput update: XOR create: XOR } export type LegacyPrismaObservationUpdateWithWhereUniqueWithoutProjectInput = { where: LegacyPrismaObservationWhereUniqueInput data: XOR } export type LegacyPrismaObservationUpdateManyWithWhereWithoutProjectInput = { where: LegacyPrismaObservationScalarWhereInput data: XOR } export type LegacyPrismaObservationScalarWhereInput = { AND?: LegacyPrismaObservationScalarWhereInput | LegacyPrismaObservationScalarWhereInput[] OR?: LegacyPrismaObservationScalarWhereInput[] NOT?: LegacyPrismaObservationScalarWhereInput | LegacyPrismaObservationScalarWhereInput[] id?: StringFilter<"LegacyPrismaObservation"> | string traceId?: StringNullableFilter<"LegacyPrismaObservation"> | string | null projectId?: StringFilter<"LegacyPrismaObservation"> | string type?: EnumLegacyPrismaObservationTypeFilter<"LegacyPrismaObservation"> | $Enums.LegacyPrismaObservationType startTime?: DateTimeFilter<"LegacyPrismaObservation"> | Date | string endTime?: DateTimeNullableFilter<"LegacyPrismaObservation"> | Date | string | null name?: StringNullableFilter<"LegacyPrismaObservation"> | string | null metadata?: JsonNullableFilter<"LegacyPrismaObservation"> parentObservationId?: StringNullableFilter<"LegacyPrismaObservation"> | string | null level?: EnumLegacyPrismaObservationLevelFilter<"LegacyPrismaObservation"> | $Enums.LegacyPrismaObservationLevel statusMessage?: StringNullableFilter<"LegacyPrismaObservation"> | string | null version?: StringNullableFilter<"LegacyPrismaObservation"> | string | null createdAt?: DateTimeFilter<"LegacyPrismaObservation"> | Date | string updatedAt?: DateTimeFilter<"LegacyPrismaObservation"> | Date | string model?: StringNullableFilter<"LegacyPrismaObservation"> | string | null internalModel?: StringNullableFilter<"LegacyPrismaObservation"> | string | null internalModelId?: StringNullableFilter<"LegacyPrismaObservation"> | string | null modelParameters?: JsonNullableFilter<"LegacyPrismaObservation"> input?: JsonNullableFilter<"LegacyPrismaObservation"> output?: JsonNullableFilter<"LegacyPrismaObservation"> promptTokens?: IntFilter<"LegacyPrismaObservation"> | number completionTokens?: IntFilter<"LegacyPrismaObservation"> | number totalTokens?: IntFilter<"LegacyPrismaObservation"> | number unit?: StringNullableFilter<"LegacyPrismaObservation"> | string | null inputCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null outputCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null totalCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null calculatedInputCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: DecimalNullableFilter<"LegacyPrismaObservation"> | Decimal | DecimalJsLike | number | string | null completionStartTime?: DateTimeNullableFilter<"LegacyPrismaObservation"> | Date | string | null promptId?: StringNullableFilter<"LegacyPrismaObservation"> | string | null } export type LegacyPrismaScoreUpsertWithWhereUniqueWithoutProjectInput = { where: LegacyPrismaScoreWhereUniqueInput update: XOR create: XOR } export type LegacyPrismaScoreUpdateWithWhereUniqueWithoutProjectInput = { where: LegacyPrismaScoreWhereUniqueInput data: XOR } export type LegacyPrismaScoreUpdateManyWithWhereWithoutProjectInput = { where: LegacyPrismaScoreScalarWhereInput data: XOR } export type LegacyPrismaScoreScalarWhereInput = { AND?: LegacyPrismaScoreScalarWhereInput | LegacyPrismaScoreScalarWhereInput[] OR?: LegacyPrismaScoreScalarWhereInput[] NOT?: LegacyPrismaScoreScalarWhereInput | LegacyPrismaScoreScalarWhereInput[] id?: StringFilter<"LegacyPrismaScore"> | string timestamp?: DateTimeFilter<"LegacyPrismaScore"> | Date | string projectId?: StringFilter<"LegacyPrismaScore"> | string name?: StringFilter<"LegacyPrismaScore"> | string value?: FloatNullableFilter<"LegacyPrismaScore"> | number | null source?: EnumLegacyPrismaScoreSourceFilter<"LegacyPrismaScore"> | $Enums.LegacyPrismaScoreSource authorUserId?: StringNullableFilter<"LegacyPrismaScore"> | string | null comment?: StringNullableFilter<"LegacyPrismaScore"> | string | null traceId?: StringFilter<"LegacyPrismaScore"> | string observationId?: StringNullableFilter<"LegacyPrismaScore"> | string | null configId?: StringNullableFilter<"LegacyPrismaScore"> | string | null stringValue?: StringNullableFilter<"LegacyPrismaScore"> | string | null queueId?: StringNullableFilter<"LegacyPrismaScore"> | string | null createdAt?: DateTimeFilter<"LegacyPrismaScore"> | Date | string updatedAt?: DateTimeFilter<"LegacyPrismaScore"> | Date | string dataType?: EnumScoreDataTypeFilter<"LegacyPrismaScore"> | $Enums.ScoreDataType } export type PromptDependencyUpsertWithWhereUniqueWithoutProjectInput = { where: PromptDependencyWhereUniqueInput update: XOR create: XOR } export type PromptDependencyUpdateWithWhereUniqueWithoutProjectInput = { where: PromptDependencyWhereUniqueInput data: XOR } export type PromptDependencyUpdateManyWithWhereWithoutProjectInput = { where: PromptDependencyScalarWhereInput data: XOR } export type PromptDependencyScalarWhereInput = { AND?: PromptDependencyScalarWhereInput | PromptDependencyScalarWhereInput[] OR?: PromptDependencyScalarWhereInput[] NOT?: PromptDependencyScalarWhereInput | PromptDependencyScalarWhereInput[] id?: StringFilter<"PromptDependency"> | string createdAt?: DateTimeFilter<"PromptDependency"> | Date | string updatedAt?: DateTimeFilter<"PromptDependency"> | Date | string projectId?: StringFilter<"PromptDependency"> | string parentId?: StringFilter<"PromptDependency"> | string childName?: StringFilter<"PromptDependency"> | string childLabel?: StringNullableFilter<"PromptDependency"> | string | null childVersion?: IntNullableFilter<"PromptDependency"> | number | null } export type LlmSchemaUpsertWithWhereUniqueWithoutProjectInput = { where: LlmSchemaWhereUniqueInput update: XOR create: XOR } export type LlmSchemaUpdateWithWhereUniqueWithoutProjectInput = { where: LlmSchemaWhereUniqueInput data: XOR } export type LlmSchemaUpdateManyWithWhereWithoutProjectInput = { where: LlmSchemaScalarWhereInput data: XOR } export type LlmSchemaScalarWhereInput = { AND?: LlmSchemaScalarWhereInput | LlmSchemaScalarWhereInput[] OR?: LlmSchemaScalarWhereInput[] NOT?: LlmSchemaScalarWhereInput | LlmSchemaScalarWhereInput[] id?: StringFilter<"LlmSchema"> | string createdAt?: DateTimeFilter<"LlmSchema"> | Date | string updatedAt?: DateTimeFilter<"LlmSchema"> | Date | string projectId?: StringFilter<"LlmSchema"> | string name?: StringFilter<"LlmSchema"> | string description?: StringFilter<"LlmSchema"> | string schema?: JsonFilter<"LlmSchema"> } export type LlmToolUpsertWithWhereUniqueWithoutProjectInput = { where: LlmToolWhereUniqueInput update: XOR create: XOR } export type LlmToolUpdateWithWhereUniqueWithoutProjectInput = { where: LlmToolWhereUniqueInput data: XOR } export type LlmToolUpdateManyWithWhereWithoutProjectInput = { where: LlmToolScalarWhereInput data: XOR } export type LlmToolScalarWhereInput = { AND?: LlmToolScalarWhereInput | LlmToolScalarWhereInput[] OR?: LlmToolScalarWhereInput[] NOT?: LlmToolScalarWhereInput | LlmToolScalarWhereInput[] id?: StringFilter<"LlmTool"> | string createdAt?: DateTimeFilter<"LlmTool"> | Date | string updatedAt?: DateTimeFilter<"LlmTool"> | Date | string projectId?: StringFilter<"LlmTool"> | string name?: StringFilter<"LlmTool"> | string description?: StringFilter<"LlmTool"> | string parameters?: JsonFilter<"LlmTool"> } export type PromptProtectedLabelsUpsertWithWhereUniqueWithoutProjectInput = { where: PromptProtectedLabelsWhereUniqueInput update: XOR create: XOR } export type PromptProtectedLabelsUpdateWithWhereUniqueWithoutProjectInput = { where: PromptProtectedLabelsWhereUniqueInput data: XOR } export type PromptProtectedLabelsUpdateManyWithWhereWithoutProjectInput = { where: PromptProtectedLabelsScalarWhereInput data: XOR } export type PromptProtectedLabelsScalarWhereInput = { AND?: PromptProtectedLabelsScalarWhereInput | PromptProtectedLabelsScalarWhereInput[] OR?: PromptProtectedLabelsScalarWhereInput[] NOT?: PromptProtectedLabelsScalarWhereInput | PromptProtectedLabelsScalarWhereInput[] id?: StringFilter<"PromptProtectedLabels"> | string createdAt?: DateTimeFilter<"PromptProtectedLabels"> | Date | string updatedAt?: DateTimeFilter<"PromptProtectedLabels"> | Date | string projectId?: StringFilter<"PromptProtectedLabels"> | string label?: StringFilter<"PromptProtectedLabels"> | string } export type DashboardUpsertWithWhereUniqueWithoutProjectInput = { where: DashboardWhereUniqueInput update: XOR create: XOR } export type DashboardUpdateWithWhereUniqueWithoutProjectInput = { where: DashboardWhereUniqueInput data: XOR } export type DashboardUpdateManyWithWhereWithoutProjectInput = { where: DashboardScalarWhereInput data: XOR } export type DashboardWidgetUpsertWithWhereUniqueWithoutProjectInput = { where: DashboardWidgetWhereUniqueInput update: XOR create: XOR } export type DashboardWidgetUpdateWithWhereUniqueWithoutProjectInput = { where: DashboardWidgetWhereUniqueInput data: XOR } export type DashboardWidgetUpdateManyWithWhereWithoutProjectInput = { where: DashboardWidgetScalarWhereInput data: XOR } export type TableViewPresetUpsertWithWhereUniqueWithoutProjectInput = { where: TableViewPresetWhereUniqueInput update: XOR create: XOR } export type TableViewPresetUpdateWithWhereUniqueWithoutProjectInput = { where: TableViewPresetWhereUniqueInput data: XOR } export type TableViewPresetUpdateManyWithWhereWithoutProjectInput = { where: TableViewPresetScalarWhereInput data: XOR } export type ActionUpsertWithWhereUniqueWithoutProjectInput = { where: ActionWhereUniqueInput update: XOR create: XOR } export type ActionUpdateWithWhereUniqueWithoutProjectInput = { where: ActionWhereUniqueInput data: XOR } export type ActionUpdateManyWithWhereWithoutProjectInput = { where: ActionScalarWhereInput data: XOR } export type ActionScalarWhereInput = { AND?: ActionScalarWhereInput | ActionScalarWhereInput[] OR?: ActionScalarWhereInput[] NOT?: ActionScalarWhereInput | ActionScalarWhereInput[] id?: StringFilter<"Action"> | string createdAt?: DateTimeFilter<"Action"> | Date | string updatedAt?: DateTimeFilter<"Action"> | Date | string projectId?: StringFilter<"Action"> | string type?: EnumActionTypeFilter<"Action"> | $Enums.ActionType config?: JsonFilter<"Action"> } export type TriggerUpsertWithWhereUniqueWithoutProjectInput = { where: TriggerWhereUniqueInput update: XOR create: XOR } export type TriggerUpdateWithWhereUniqueWithoutProjectInput = { where: TriggerWhereUniqueInput data: XOR } export type TriggerUpdateManyWithWhereWithoutProjectInput = { where: TriggerScalarWhereInput data: XOR } export type TriggerScalarWhereInput = { AND?: TriggerScalarWhereInput | TriggerScalarWhereInput[] OR?: TriggerScalarWhereInput[] NOT?: TriggerScalarWhereInput | TriggerScalarWhereInput[] id?: StringFilter<"Trigger"> | string createdAt?: DateTimeFilter<"Trigger"> | Date | string updatedAt?: DateTimeFilter<"Trigger"> | Date | string projectId?: StringFilter<"Trigger"> | string eventSource?: StringFilter<"Trigger"> | string eventActions?: StringNullableListFilter<"Trigger"> filter?: JsonNullableFilter<"Trigger"> status?: EnumJobConfigStateFilter<"Trigger"> | $Enums.JobConfigState } export type AutomationExecutionUpsertWithWhereUniqueWithoutProjectInput = { where: AutomationExecutionWhereUniqueInput update: XOR create: XOR } export type AutomationExecutionUpdateWithWhereUniqueWithoutProjectInput = { where: AutomationExecutionWhereUniqueInput data: XOR } export type AutomationExecutionUpdateManyWithWhereWithoutProjectInput = { where: AutomationExecutionScalarWhereInput data: XOR } export type AutomationExecutionScalarWhereInput = { AND?: AutomationExecutionScalarWhereInput | AutomationExecutionScalarWhereInput[] OR?: AutomationExecutionScalarWhereInput[] NOT?: AutomationExecutionScalarWhereInput | AutomationExecutionScalarWhereInput[] id?: StringFilter<"AutomationExecution"> | string createdAt?: DateTimeFilter<"AutomationExecution"> | Date | string updatedAt?: DateTimeFilter<"AutomationExecution"> | Date | string sourceId?: StringFilter<"AutomationExecution"> | string automationId?: StringFilter<"AutomationExecution"> | string triggerId?: StringFilter<"AutomationExecution"> | string actionId?: StringFilter<"AutomationExecution"> | string projectId?: StringFilter<"AutomationExecution"> | string status?: EnumActionExecutionStatusFilter<"AutomationExecution"> | $Enums.ActionExecutionStatus input?: JsonFilter<"AutomationExecution"> output?: JsonNullableFilter<"AutomationExecution"> startedAt?: DateTimeNullableFilter<"AutomationExecution"> | Date | string | null finishedAt?: DateTimeNullableFilter<"AutomationExecution"> | Date | string | null error?: StringNullableFilter<"AutomationExecution"> | string | null } export type AutomationUpsertWithWhereUniqueWithoutProjectInput = { where: AutomationWhereUniqueInput update: XOR create: XOR } export type AutomationUpdateWithWhereUniqueWithoutProjectInput = { where: AutomationWhereUniqueInput data: XOR } export type AutomationUpdateManyWithWhereWithoutProjectInput = { where: AutomationScalarWhereInput data: XOR } export type AutomationScalarWhereInput = { AND?: AutomationScalarWhereInput | AutomationScalarWhereInput[] OR?: AutomationScalarWhereInput[] NOT?: AutomationScalarWhereInput | AutomationScalarWhereInput[] id?: StringFilter<"Automation"> | string name?: StringFilter<"Automation"> | string triggerId?: StringFilter<"Automation"> | string actionId?: StringFilter<"Automation"> | string createdAt?: DateTimeFilter<"Automation"> | Date | string projectId?: StringFilter<"Automation"> | string } export type DefaultLlmModelUpsertWithWhereUniqueWithoutProjectInput = { where: DefaultLlmModelWhereUniqueInput update: XOR create: XOR } export type DefaultLlmModelUpdateWithWhereUniqueWithoutProjectInput = { where: DefaultLlmModelWhereUniqueInput data: XOR } export type DefaultLlmModelUpdateManyWithWhereWithoutProjectInput = { where: DefaultLlmModelScalarWhereInput data: XOR } export type DefaultLlmModelScalarWhereInput = { AND?: DefaultLlmModelScalarWhereInput | DefaultLlmModelScalarWhereInput[] OR?: DefaultLlmModelScalarWhereInput[] NOT?: DefaultLlmModelScalarWhereInput | DefaultLlmModelScalarWhereInput[] id?: StringFilter<"DefaultLlmModel"> | string createdAt?: DateTimeFilter<"DefaultLlmModel"> | Date | string updatedAt?: DateTimeFilter<"DefaultLlmModel"> | Date | string projectId?: StringFilter<"DefaultLlmModel"> | string llmApiKeyId?: StringFilter<"DefaultLlmModel"> | string provider?: StringFilter<"DefaultLlmModel"> | string adapter?: StringFilter<"DefaultLlmModel"> | string model?: StringFilter<"DefaultLlmModel"> | string modelParams?: JsonNullableFilter<"DefaultLlmModel"> } export type PriceUpsertWithWhereUniqueWithoutProjectInput = { where: PriceWhereUniqueInput update: XOR create: XOR } export type PriceUpdateWithWhereUniqueWithoutProjectInput = { where: PriceWhereUniqueInput data: XOR } export type PriceUpdateManyWithWhereWithoutProjectInput = { where: PriceScalarWhereInput data: XOR } export type PriceScalarWhereInput = { AND?: PriceScalarWhereInput | PriceScalarWhereInput[] OR?: PriceScalarWhereInput[] NOT?: PriceScalarWhereInput | PriceScalarWhereInput[] id?: StringFilter<"Price"> | string createdAt?: DateTimeFilter<"Price"> | Date | string updatedAt?: DateTimeFilter<"Price"> | Date | string modelId?: StringFilter<"Price"> | string projectId?: StringNullableFilter<"Price"> | string | null usageType?: StringFilter<"Price"> | string price?: DecimalFilter<"Price"> | Decimal | DecimalJsLike | number | string } export type SlackIntegrationUpsertWithoutProjectInput = { update: XOR create: XOR where?: SlackIntegrationWhereInput } export type SlackIntegrationUpdateToOneWithWhereWithoutProjectInput = { where?: SlackIntegrationWhereInput data: XOR } export type SlackIntegrationUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string teamId?: StringFieldUpdateOperationsInput | string teamName?: StringFieldUpdateOperationsInput | string botToken?: StringFieldUpdateOperationsInput | string botUserId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SlackIntegrationUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string teamId?: StringFieldUpdateOperationsInput | string teamName?: StringFieldUpdateOperationsInput | string botToken?: StringFieldUpdateOperationsInput | string botUserId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type PendingDeletionUpsertWithWhereUniqueWithoutProjectInput = { where: PendingDeletionWhereUniqueInput update: XOR create: XOR } export type PendingDeletionUpdateWithWhereUniqueWithoutProjectInput = { where: PendingDeletionWhereUniqueInput data: XOR } export type PendingDeletionUpdateManyWithWhereWithoutProjectInput = { where: PendingDeletionScalarWhereInput data: XOR } export type PendingDeletionScalarWhereInput = { AND?: PendingDeletionScalarWhereInput | PendingDeletionScalarWhereInput[] OR?: PendingDeletionScalarWhereInput[] NOT?: PendingDeletionScalarWhereInput | PendingDeletionScalarWhereInput[] id?: StringFilter<"PendingDeletion"> | string projectId?: StringFilter<"PendingDeletion"> | string object?: StringFilter<"PendingDeletion"> | string objectId?: StringFilter<"PendingDeletion"> | string isDeleted?: BoolFilter<"PendingDeletion"> | boolean createdAt?: DateTimeFilter<"PendingDeletion"> | Date | string updatedAt?: DateTimeFilter<"PendingDeletion"> | Date | string } export type AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutProjectInput = { where: AnnotationQueueAssignmentWhereUniqueInput update: XOR create: XOR } export type AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutProjectInput = { where: AnnotationQueueAssignmentWhereUniqueInput data: XOR } export type AnnotationQueueAssignmentUpdateManyWithWhereWithoutProjectInput = { where: AnnotationQueueAssignmentScalarWhereInput data: XOR } export type ProjectCreateWithoutApiKeysInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutApiKeysInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutApiKeysInput = { where: ProjectWhereUniqueInput create: XOR } export type OrganizationCreateWithoutApiKeyInput = { id?: string name: string createdAt?: Date | string updatedAt?: Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutOrganizationInput projects?: ProjectCreateNestedManyWithoutOrganizationInput MembershipInvitation?: MembershipInvitationCreateNestedManyWithoutOrganizationInput surveys?: SurveyCreateNestedManyWithoutOrgInput } export type OrganizationUncheckedCreateWithoutApiKeyInput = { id?: string name: string createdAt?: Date | string updatedAt?: Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationInput projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput MembershipInvitation?: MembershipInvitationUncheckedCreateNestedManyWithoutOrganizationInput surveys?: SurveyUncheckedCreateNestedManyWithoutOrgInput } export type OrganizationCreateOrConnectWithoutApiKeyInput = { where: OrganizationWhereUniqueInput create: XOR } export type ProjectUpsertWithoutApiKeysInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutApiKeysInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutApiKeysInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutApiKeysInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type OrganizationUpsertWithoutApiKeyInput = { update: XOR create: XOR where?: OrganizationWhereInput } export type OrganizationUpdateToOneWithWhereWithoutApiKeyInput = { where?: OrganizationWhereInput data: XOR } export type OrganizationUpdateWithoutApiKeyInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUpdateManyWithoutOrganizationNestedInput projects?: ProjectUpdateManyWithoutOrganizationNestedInput MembershipInvitation?: MembershipInvitationUpdateManyWithoutOrganizationNestedInput surveys?: SurveyUpdateManyWithoutOrgNestedInput } export type OrganizationUncheckedUpdateWithoutApiKeyInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationNestedInput projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput MembershipInvitation?: MembershipInvitationUncheckedUpdateManyWithoutOrganizationNestedInput surveys?: SurveyUncheckedUpdateManyWithoutOrgNestedInput } export type ProjectCreateWithoutLlmApiKeysInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutLlmApiKeysInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutLlmApiKeysInput = { where: ProjectWhereUniqueInput create: XOR } export type DefaultLlmModelCreateWithoutLlmApiKeyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string provider: string adapter: string model: string modelParams?: NullableJsonNullValueInput | InputJsonValue Project: ProjectCreateNestedOneWithoutDefaultLlmModelInput } export type DefaultLlmModelUncheckedCreateWithoutLlmApiKeyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string provider: string adapter: string model: string modelParams?: NullableJsonNullValueInput | InputJsonValue } export type DefaultLlmModelCreateOrConnectWithoutLlmApiKeyInput = { where: DefaultLlmModelWhereUniqueInput create: XOR } export type DefaultLlmModelCreateManyLlmApiKeyInputEnvelope = { data: DefaultLlmModelCreateManyLlmApiKeyInput | DefaultLlmModelCreateManyLlmApiKeyInput[] skipDuplicates?: boolean } export type ProjectUpsertWithoutLlmApiKeysInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutLlmApiKeysInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutLlmApiKeysInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutLlmApiKeysInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type DefaultLlmModelUpsertWithWhereUniqueWithoutLlmApiKeyInput = { where: DefaultLlmModelWhereUniqueInput update: XOR create: XOR } export type DefaultLlmModelUpdateWithWhereUniqueWithoutLlmApiKeyInput = { where: DefaultLlmModelWhereUniqueInput data: XOR } export type DefaultLlmModelUpdateManyWithWhereWithoutLlmApiKeyInput = { where: DefaultLlmModelScalarWhereInput data: XOR } export type OrganizationCreateWithoutOrganizationMembershipsInput = { id?: string name: string createdAt?: Date | string updatedAt?: Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue projects?: ProjectCreateNestedManyWithoutOrganizationInput MembershipInvitation?: MembershipInvitationCreateNestedManyWithoutOrganizationInput ApiKey?: ApiKeyCreateNestedManyWithoutOrganizationInput surveys?: SurveyCreateNestedManyWithoutOrgInput } export type OrganizationUncheckedCreateWithoutOrganizationMembershipsInput = { id?: string name: string createdAt?: Date | string updatedAt?: Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput MembershipInvitation?: MembershipInvitationUncheckedCreateNestedManyWithoutOrganizationInput ApiKey?: ApiKeyUncheckedCreateNestedManyWithoutOrganizationInput surveys?: SurveyUncheckedCreateNestedManyWithoutOrgInput } export type OrganizationCreateOrConnectWithoutOrganizationMembershipsInput = { where: OrganizationWhereUniqueInput create: XOR } export type UserCreateWithoutOrganizationMembershipsInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutOrganizationMembershipsInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutOrganizationMembershipsInput = { where: UserWhereUniqueInput create: XOR } export type ProjectMembershipCreateWithoutOrganizationMembershipInput = { role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string project: ProjectCreateNestedOneWithoutProjectMembersInput user: UserCreateNestedOneWithoutProjectMembershipsInput } export type ProjectMembershipUncheckedCreateWithoutOrganizationMembershipInput = { projectId: string userId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string } export type ProjectMembershipCreateOrConnectWithoutOrganizationMembershipInput = { where: ProjectMembershipWhereUniqueInput create: XOR } export type ProjectMembershipCreateManyOrganizationMembershipInputEnvelope = { data: ProjectMembershipCreateManyOrganizationMembershipInput | ProjectMembershipCreateManyOrganizationMembershipInput[] skipDuplicates?: boolean } export type OrganizationUpsertWithoutOrganizationMembershipsInput = { update: XOR create: XOR where?: OrganizationWhereInput } export type OrganizationUpdateToOneWithWhereWithoutOrganizationMembershipsInput = { where?: OrganizationWhereInput data: XOR } export type OrganizationUpdateWithoutOrganizationMembershipsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue projects?: ProjectUpdateManyWithoutOrganizationNestedInput MembershipInvitation?: MembershipInvitationUpdateManyWithoutOrganizationNestedInput ApiKey?: ApiKeyUpdateManyWithoutOrganizationNestedInput surveys?: SurveyUpdateManyWithoutOrgNestedInput } export type OrganizationUncheckedUpdateWithoutOrganizationMembershipsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput MembershipInvitation?: MembershipInvitationUncheckedUpdateManyWithoutOrganizationNestedInput ApiKey?: ApiKeyUncheckedUpdateManyWithoutOrganizationNestedInput surveys?: SurveyUncheckedUpdateManyWithoutOrgNestedInput } export type UserUpsertWithoutOrganizationMembershipsInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutOrganizationMembershipsInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutOrganizationMembershipsInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutOrganizationMembershipsInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type ProjectMembershipUpsertWithWhereUniqueWithoutOrganizationMembershipInput = { where: ProjectMembershipWhereUniqueInput update: XOR create: XOR } export type ProjectMembershipUpdateWithWhereUniqueWithoutOrganizationMembershipInput = { where: ProjectMembershipWhereUniqueInput data: XOR } export type ProjectMembershipUpdateManyWithWhereWithoutOrganizationMembershipInput = { where: ProjectMembershipScalarWhereInput data: XOR } export type OrganizationMembershipCreateWithoutProjectMembershipsInput = { id?: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string organization: OrganizationCreateNestedOneWithoutOrganizationMembershipsInput user: UserCreateNestedOneWithoutOrganizationMembershipsInput } export type OrganizationMembershipUncheckedCreateWithoutProjectMembershipsInput = { id?: string orgId: string userId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string } export type OrganizationMembershipCreateOrConnectWithoutProjectMembershipsInput = { where: OrganizationMembershipWhereUniqueInput create: XOR } export type ProjectCreateWithoutProjectMembersInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutProjectMembersInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutProjectMembersInput = { where: ProjectWhereUniqueInput create: XOR } export type UserCreateWithoutProjectMembershipsInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutProjectMembershipsInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutProjectMembershipsInput = { where: UserWhereUniqueInput create: XOR } export type OrganizationMembershipUpsertWithoutProjectMembershipsInput = { update: XOR create: XOR where?: OrganizationMembershipWhereInput } export type OrganizationMembershipUpdateToOneWithWhereWithoutProjectMembershipsInput = { where?: OrganizationMembershipWhereInput data: XOR } export type OrganizationMembershipUpdateWithoutProjectMembershipsInput = { id?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string organization?: OrganizationUpdateOneRequiredWithoutOrganizationMembershipsNestedInput user?: UserUpdateOneRequiredWithoutOrganizationMembershipsNestedInput } export type OrganizationMembershipUncheckedUpdateWithoutProjectMembershipsInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectUpsertWithoutProjectMembersInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutProjectMembersInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutProjectMembersInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutProjectMembersInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type UserUpsertWithoutProjectMembershipsInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutProjectMembershipsInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutProjectMembershipsInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutProjectMembershipsInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type OrganizationCreateWithoutMembershipInvitationInput = { id?: string name: string createdAt?: Date | string updatedAt?: Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutOrganizationInput projects?: ProjectCreateNestedManyWithoutOrganizationInput ApiKey?: ApiKeyCreateNestedManyWithoutOrganizationInput surveys?: SurveyCreateNestedManyWithoutOrgInput } export type OrganizationUncheckedCreateWithoutMembershipInvitationInput = { id?: string name: string createdAt?: Date | string updatedAt?: Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationInput projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput ApiKey?: ApiKeyUncheckedCreateNestedManyWithoutOrganizationInput surveys?: SurveyUncheckedCreateNestedManyWithoutOrgInput } export type OrganizationCreateOrConnectWithoutMembershipInvitationInput = { where: OrganizationWhereUniqueInput create: XOR } export type ProjectCreateWithoutInvitationsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutInvitationsInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutInvitationsInput = { where: ProjectWhereUniqueInput create: XOR } export type UserCreateWithoutInvitationsInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutInvitationsInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutInvitationsInput = { where: UserWhereUniqueInput create: XOR } export type OrganizationUpsertWithoutMembershipInvitationInput = { update: XOR create: XOR where?: OrganizationWhereInput } export type OrganizationUpdateToOneWithWhereWithoutMembershipInvitationInput = { where?: OrganizationWhereInput data: XOR } export type OrganizationUpdateWithoutMembershipInvitationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUpdateManyWithoutOrganizationNestedInput projects?: ProjectUpdateManyWithoutOrganizationNestedInput ApiKey?: ApiKeyUpdateManyWithoutOrganizationNestedInput surveys?: SurveyUpdateManyWithoutOrgNestedInput } export type OrganizationUncheckedUpdateWithoutMembershipInvitationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationNestedInput projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput ApiKey?: ApiKeyUncheckedUpdateManyWithoutOrganizationNestedInput surveys?: SurveyUncheckedUpdateManyWithoutOrgNestedInput } export type ProjectUpsertWithoutInvitationsInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutInvitationsInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutInvitationsInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutInvitationsInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type UserUpsertWithoutInvitationsInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutInvitationsInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutInvitationsInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutInvitationsInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type ProjectCreateWithoutSessionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutSessionsInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutSessionsInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectUpsertWithoutSessionsInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutSessionsInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutSessionsInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutSessionsInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateWithoutLegacyTraceInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutLegacyTraceInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutLegacyTraceInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectUpsertWithoutLegacyTraceInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutLegacyTraceInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutLegacyTraceInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutLegacyTraceInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateWithoutLegacyObservationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutLegacyObservationInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutLegacyObservationInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectUpsertWithoutLegacyObservationInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutLegacyObservationInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutLegacyObservationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutLegacyObservationInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateWithoutLegacyScoreInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutLegacyScoreInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutLegacyScoreInput = { where: ProjectWhereUniqueInput create: XOR } export type ScoreConfigCreateWithoutLegacyScoreInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string dataType: $Enums.ScoreDataType isArchived?: boolean minValue?: number | null maxValue?: number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: string | null project: ProjectCreateNestedOneWithoutScoreConfigInput } export type ScoreConfigUncheckedCreateWithoutLegacyScoreInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string name: string dataType: $Enums.ScoreDataType isArchived?: boolean minValue?: number | null maxValue?: number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: string | null } export type ScoreConfigCreateOrConnectWithoutLegacyScoreInput = { where: ScoreConfigWhereUniqueInput create: XOR } export type ProjectUpsertWithoutLegacyScoreInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutLegacyScoreInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutLegacyScoreInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutLegacyScoreInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ScoreConfigUpsertWithoutLegacyScoreInput = { update: XOR create: XOR where?: ScoreConfigWhereInput } export type ScoreConfigUpdateToOneWithWhereWithoutLegacyScoreInput = { where?: ScoreConfigWhereInput data: XOR } export type ScoreConfigUpdateWithoutLegacyScoreInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType isArchived?: BoolFieldUpdateOperationsInput | boolean minValue?: NullableFloatFieldUpdateOperationsInput | number | null maxValue?: NullableFloatFieldUpdateOperationsInput | number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutScoreConfigNestedInput } export type ScoreConfigUncheckedUpdateWithoutLegacyScoreInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType isArchived?: BoolFieldUpdateOperationsInput | boolean minValue?: NullableFloatFieldUpdateOperationsInput | number | null maxValue?: NullableFloatFieldUpdateOperationsInput | number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: NullableStringFieldUpdateOperationsInput | string | null } export type ProjectCreateWithoutScoreConfigInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutScoreConfigInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutScoreConfigInput = { where: ProjectWhereUniqueInput create: XOR } export type LegacyPrismaScoreCreateWithoutScoreConfigInput = { id?: string timestamp?: Date | string name: string value?: number | null source: $Enums.LegacyPrismaScoreSource authorUserId?: string | null comment?: string | null traceId: string observationId?: string | null stringValue?: string | null queueId?: string | null createdAt?: Date | string updatedAt?: Date | string dataType?: $Enums.ScoreDataType project: ProjectCreateNestedOneWithoutLegacyScoreInput } export type LegacyPrismaScoreUncheckedCreateWithoutScoreConfigInput = { id?: string timestamp?: Date | string projectId: string name: string value?: number | null source: $Enums.LegacyPrismaScoreSource authorUserId?: string | null comment?: string | null traceId: string observationId?: string | null stringValue?: string | null queueId?: string | null createdAt?: Date | string updatedAt?: Date | string dataType?: $Enums.ScoreDataType } export type LegacyPrismaScoreCreateOrConnectWithoutScoreConfigInput = { where: LegacyPrismaScoreWhereUniqueInput create: XOR } export type LegacyPrismaScoreCreateManyScoreConfigInputEnvelope = { data: LegacyPrismaScoreCreateManyScoreConfigInput | LegacyPrismaScoreCreateManyScoreConfigInput[] skipDuplicates?: boolean } export type ProjectUpsertWithoutScoreConfigInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutScoreConfigInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutScoreConfigInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutScoreConfigInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type LegacyPrismaScoreUpsertWithWhereUniqueWithoutScoreConfigInput = { where: LegacyPrismaScoreWhereUniqueInput update: XOR create: XOR } export type LegacyPrismaScoreUpdateWithWhereUniqueWithoutScoreConfigInput = { where: LegacyPrismaScoreWhereUniqueInput data: XOR } export type LegacyPrismaScoreUpdateManyWithWhereWithoutScoreConfigInput = { where: LegacyPrismaScoreScalarWhereInput data: XOR } export type ProjectCreateWithoutAnnotationQueueInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutAnnotationQueueInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutAnnotationQueueInput = { where: ProjectWhereUniqueInput create: XOR } export type AnnotationQueueItemCreateWithoutQueueInput = { id?: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null completedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string lockedByUser?: UserCreateNestedOneWithoutAnnotatedLockedItemInput annotatorUser?: UserCreateNestedOneWithoutAnnotatedCompletedItemInput project: ProjectCreateNestedOneWithoutAnnotationQueueItemInput } export type AnnotationQueueItemUncheckedCreateWithoutQueueInput = { id?: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null lockedByUserId?: string | null annotatorUserId?: string | null completedAt?: Date | string | null projectId: string createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueItemCreateOrConnectWithoutQueueInput = { where: AnnotationQueueItemWhereUniqueInput create: XOR } export type AnnotationQueueItemCreateManyQueueInputEnvelope = { data: AnnotationQueueItemCreateManyQueueInput | AnnotationQueueItemCreateManyQueueInput[] skipDuplicates?: boolean } export type AnnotationQueueAssignmentCreateWithoutQueueInput = { id?: string createdAt?: Date | string updatedAt?: Date | string project: ProjectCreateNestedOneWithoutAnnotationQueueAssignmentInput user: UserCreateNestedOneWithoutAnnotationQueueAssignmentInput } export type AnnotationQueueAssignmentUncheckedCreateWithoutQueueInput = { id?: string projectId: string userId: string createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueAssignmentCreateOrConnectWithoutQueueInput = { where: AnnotationQueueAssignmentWhereUniqueInput create: XOR } export type AnnotationQueueAssignmentCreateManyQueueInputEnvelope = { data: AnnotationQueueAssignmentCreateManyQueueInput | AnnotationQueueAssignmentCreateManyQueueInput[] skipDuplicates?: boolean } export type ProjectUpsertWithoutAnnotationQueueInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutAnnotationQueueInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutAnnotationQueueInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutAnnotationQueueInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type AnnotationQueueItemUpsertWithWhereUniqueWithoutQueueInput = { where: AnnotationQueueItemWhereUniqueInput update: XOR create: XOR } export type AnnotationQueueItemUpdateWithWhereUniqueWithoutQueueInput = { where: AnnotationQueueItemWhereUniqueInput data: XOR } export type AnnotationQueueItemUpdateManyWithWhereWithoutQueueInput = { where: AnnotationQueueItemScalarWhereInput data: XOR } export type AnnotationQueueAssignmentUpsertWithWhereUniqueWithoutQueueInput = { where: AnnotationQueueAssignmentWhereUniqueInput update: XOR create: XOR } export type AnnotationQueueAssignmentUpdateWithWhereUniqueWithoutQueueInput = { where: AnnotationQueueAssignmentWhereUniqueInput data: XOR } export type AnnotationQueueAssignmentUpdateManyWithWhereWithoutQueueInput = { where: AnnotationQueueAssignmentScalarWhereInput data: XOR } export type AnnotationQueueCreateWithoutAnnotationQueueItemInput = { id?: string name: string description?: string | null scoreConfigIds?: AnnotationQueueCreatescoreConfigIdsInput | string[] createdAt?: Date | string updatedAt?: Date | string project: ProjectCreateNestedOneWithoutAnnotationQueueInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutQueueInput } export type AnnotationQueueUncheckedCreateWithoutAnnotationQueueItemInput = { id?: string name: string description?: string | null scoreConfigIds?: AnnotationQueueCreatescoreConfigIdsInput | string[] projectId: string createdAt?: Date | string updatedAt?: Date | string annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutQueueInput } export type AnnotationQueueCreateOrConnectWithoutAnnotationQueueItemInput = { where: AnnotationQueueWhereUniqueInput create: XOR } export type UserCreateWithoutAnnotatedLockedItemInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutAnnotatedLockedItemInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutAnnotatedLockedItemInput = { where: UserWhereUniqueInput create: XOR } export type UserCreateWithoutAnnotatedCompletedItemInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutAnnotatedCompletedItemInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutAnnotatedCompletedItemInput = { where: UserWhereUniqueInput create: XOR } export type ProjectCreateWithoutAnnotationQueueItemInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutAnnotationQueueItemInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutAnnotationQueueItemInput = { where: ProjectWhereUniqueInput create: XOR } export type AnnotationQueueUpsertWithoutAnnotationQueueItemInput = { update: XOR create: XOR where?: AnnotationQueueWhereInput } export type AnnotationQueueUpdateToOneWithWhereWithoutAnnotationQueueItemInput = { where?: AnnotationQueueWhereInput data: XOR } export type AnnotationQueueUpdateWithoutAnnotationQueueItemInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null scoreConfigIds?: AnnotationQueueUpdatescoreConfigIdsInput | string[] createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutAnnotationQueueNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutQueueNestedInput } export type AnnotationQueueUncheckedUpdateWithoutAnnotationQueueItemInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null scoreConfigIds?: AnnotationQueueUpdatescoreConfigIdsInput | string[] projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutQueueNestedInput } export type UserUpsertWithoutAnnotatedLockedItemInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutAnnotatedLockedItemInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutAnnotatedLockedItemInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutAnnotatedLockedItemInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type UserUpsertWithoutAnnotatedCompletedItemInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutAnnotatedCompletedItemInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutAnnotatedCompletedItemInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutAnnotatedCompletedItemInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type ProjectUpsertWithoutAnnotationQueueItemInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutAnnotationQueueItemInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutAnnotationQueueItemInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutAnnotationQueueItemInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateWithoutAnnotationQueueAssignmentInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutAnnotationQueueAssignmentInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutAnnotationQueueAssignmentInput = { where: ProjectWhereUniqueInput create: XOR } export type UserCreateWithoutAnnotationQueueAssignmentInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutAnnotationQueueAssignmentInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutAnnotationQueueAssignmentInput = { where: UserWhereUniqueInput create: XOR } export type AnnotationQueueCreateWithoutAnnotationQueueAssignmentInput = { id?: string name: string description?: string | null scoreConfigIds?: AnnotationQueueCreatescoreConfigIdsInput | string[] createdAt?: Date | string updatedAt?: Date | string project: ProjectCreateNestedOneWithoutAnnotationQueueInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutQueueInput } export type AnnotationQueueUncheckedCreateWithoutAnnotationQueueAssignmentInput = { id?: string name: string description?: string | null scoreConfigIds?: AnnotationQueueCreatescoreConfigIdsInput | string[] projectId: string createdAt?: Date | string updatedAt?: Date | string annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutQueueInput } export type AnnotationQueueCreateOrConnectWithoutAnnotationQueueAssignmentInput = { where: AnnotationQueueWhereUniqueInput create: XOR } export type ProjectUpsertWithoutAnnotationQueueAssignmentInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutAnnotationQueueAssignmentInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutAnnotationQueueAssignmentInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutAnnotationQueueAssignmentInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput } export type UserUpsertWithoutAnnotationQueueAssignmentInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutAnnotationQueueAssignmentInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutAnnotationQueueAssignmentInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutAnnotationQueueAssignmentInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type AnnotationQueueUpsertWithoutAnnotationQueueAssignmentInput = { update: XOR create: XOR where?: AnnotationQueueWhereInput } export type AnnotationQueueUpdateToOneWithWhereWithoutAnnotationQueueAssignmentInput = { where?: AnnotationQueueWhereInput data: XOR } export type AnnotationQueueUpdateWithoutAnnotationQueueAssignmentInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null scoreConfigIds?: AnnotationQueueUpdatescoreConfigIdsInput | string[] createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutAnnotationQueueNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutQueueNestedInput } export type AnnotationQueueUncheckedUpdateWithoutAnnotationQueueAssignmentInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null scoreConfigIds?: AnnotationQueueUpdatescoreConfigIdsInput | string[] projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutQueueNestedInput } export type ProjectCreateWithoutDatasetInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutDatasetInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutDatasetInput = { where: ProjectWhereUniqueInput create: XOR } export type DatasetItemCreateWithoutDatasetInput = { id?: string status?: $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: string | null sourceObservationId?: string | null createdAt?: Date | string updatedAt?: Date | string datasetRunItems?: DatasetRunItemsCreateNestedManyWithoutDatasetItemInput } export type DatasetItemUncheckedCreateWithoutDatasetInput = { id?: string status?: $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: string | null sourceObservationId?: string | null createdAt?: Date | string updatedAt?: Date | string datasetRunItems?: DatasetRunItemsUncheckedCreateNestedManyWithoutDatasetItemInput } export type DatasetItemCreateOrConnectWithoutDatasetInput = { where: DatasetItemWhereUniqueInput create: XOR } export type DatasetItemCreateManyDatasetInputEnvelope = { data: DatasetItemCreateManyDatasetInput | DatasetItemCreateManyDatasetInput[] skipDuplicates?: boolean } export type DatasetRunsCreateWithoutDatasetInput = { id?: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string datasetRunItems?: DatasetRunItemsCreateNestedManyWithoutDatasetRunInput } export type DatasetRunsUncheckedCreateWithoutDatasetInput = { id?: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string datasetRunItems?: DatasetRunItemsUncheckedCreateNestedManyWithoutDatasetRunInput } export type DatasetRunsCreateOrConnectWithoutDatasetInput = { where: DatasetRunsWhereUniqueInput create: XOR } export type DatasetRunsCreateManyDatasetInputEnvelope = { data: DatasetRunsCreateManyDatasetInput | DatasetRunsCreateManyDatasetInput[] skipDuplicates?: boolean } export type ProjectUpsertWithoutDatasetInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutDatasetInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutDatasetInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutDatasetInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type DatasetItemUpsertWithWhereUniqueWithoutDatasetInput = { where: DatasetItemWhereUniqueInput update: XOR create: XOR } export type DatasetItemUpdateWithWhereUniqueWithoutDatasetInput = { where: DatasetItemWhereUniqueInput data: XOR } export type DatasetItemUpdateManyWithWhereWithoutDatasetInput = { where: DatasetItemScalarWhereInput data: XOR } export type DatasetItemScalarWhereInput = { AND?: DatasetItemScalarWhereInput | DatasetItemScalarWhereInput[] OR?: DatasetItemScalarWhereInput[] NOT?: DatasetItemScalarWhereInput | DatasetItemScalarWhereInput[] id?: StringFilter<"DatasetItem"> | string projectId?: StringFilter<"DatasetItem"> | string status?: EnumDatasetStatusFilter<"DatasetItem"> | $Enums.DatasetStatus input?: JsonNullableFilter<"DatasetItem"> expectedOutput?: JsonNullableFilter<"DatasetItem"> metadata?: JsonNullableFilter<"DatasetItem"> sourceTraceId?: StringNullableFilter<"DatasetItem"> | string | null sourceObservationId?: StringNullableFilter<"DatasetItem"> | string | null datasetId?: StringFilter<"DatasetItem"> | string createdAt?: DateTimeFilter<"DatasetItem"> | Date | string updatedAt?: DateTimeFilter<"DatasetItem"> | Date | string } export type DatasetRunsUpsertWithWhereUniqueWithoutDatasetInput = { where: DatasetRunsWhereUniqueInput update: XOR create: XOR } export type DatasetRunsUpdateWithWhereUniqueWithoutDatasetInput = { where: DatasetRunsWhereUniqueInput data: XOR } export type DatasetRunsUpdateManyWithWhereWithoutDatasetInput = { where: DatasetRunsScalarWhereInput data: XOR } export type DatasetRunsScalarWhereInput = { AND?: DatasetRunsScalarWhereInput | DatasetRunsScalarWhereInput[] OR?: DatasetRunsScalarWhereInput[] NOT?: DatasetRunsScalarWhereInput | DatasetRunsScalarWhereInput[] id?: StringFilter<"DatasetRuns"> | string projectId?: StringFilter<"DatasetRuns"> | string name?: StringFilter<"DatasetRuns"> | string description?: StringNullableFilter<"DatasetRuns"> | string | null metadata?: JsonNullableFilter<"DatasetRuns"> datasetId?: StringFilter<"DatasetRuns"> | string createdAt?: DateTimeFilter<"DatasetRuns"> | Date | string updatedAt?: DateTimeFilter<"DatasetRuns"> | Date | string } export type DatasetCreateWithoutDatasetItemsInput = { id?: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string project: ProjectCreateNestedOneWithoutDatasetInput datasetRuns?: DatasetRunsCreateNestedManyWithoutDatasetInput } export type DatasetUncheckedCreateWithoutDatasetItemsInput = { id?: string projectId: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string datasetRuns?: DatasetRunsUncheckedCreateNestedManyWithoutDatasetInput } export type DatasetCreateOrConnectWithoutDatasetItemsInput = { where: DatasetWhereUniqueInput create: XOR } export type DatasetRunItemsCreateWithoutDatasetItemInput = { id?: string traceId: string observationId?: string | null createdAt?: Date | string updatedAt?: Date | string datasetRun: DatasetRunsCreateNestedOneWithoutDatasetRunItemsInput } export type DatasetRunItemsUncheckedCreateWithoutDatasetItemInput = { id?: string datasetRunId: string traceId: string observationId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type DatasetRunItemsCreateOrConnectWithoutDatasetItemInput = { where: DatasetRunItemsWhereUniqueInput create: XOR } export type DatasetRunItemsCreateManyDatasetItemInputEnvelope = { data: DatasetRunItemsCreateManyDatasetItemInput | DatasetRunItemsCreateManyDatasetItemInput[] skipDuplicates?: boolean } export type DatasetUpsertWithoutDatasetItemsInput = { update: XOR create: XOR where?: DatasetWhereInput } export type DatasetUpdateToOneWithWhereWithoutDatasetItemsInput = { where?: DatasetWhereInput data: XOR } export type DatasetUpdateWithoutDatasetItemsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: NullableStringFieldUpdateOperationsInput | string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutDatasetNestedInput datasetRuns?: DatasetRunsUpdateManyWithoutDatasetNestedInput } export type DatasetUncheckedUpdateWithoutDatasetItemsInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: NullableStringFieldUpdateOperationsInput | string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string datasetRuns?: DatasetRunsUncheckedUpdateManyWithoutDatasetNestedInput } export type DatasetRunItemsUpsertWithWhereUniqueWithoutDatasetItemInput = { where: DatasetRunItemsWhereUniqueInput update: XOR create: XOR } export type DatasetRunItemsUpdateWithWhereUniqueWithoutDatasetItemInput = { where: DatasetRunItemsWhereUniqueInput data: XOR } export type DatasetRunItemsUpdateManyWithWhereWithoutDatasetItemInput = { where: DatasetRunItemsScalarWhereInput data: XOR } export type DatasetRunItemsScalarWhereInput = { AND?: DatasetRunItemsScalarWhereInput | DatasetRunItemsScalarWhereInput[] OR?: DatasetRunItemsScalarWhereInput[] NOT?: DatasetRunItemsScalarWhereInput | DatasetRunItemsScalarWhereInput[] id?: StringFilter<"DatasetRunItems"> | string projectId?: StringFilter<"DatasetRunItems"> | string datasetRunId?: StringFilter<"DatasetRunItems"> | string datasetItemId?: StringFilter<"DatasetRunItems"> | string traceId?: StringFilter<"DatasetRunItems"> | string observationId?: StringNullableFilter<"DatasetRunItems"> | string | null createdAt?: DateTimeFilter<"DatasetRunItems"> | Date | string updatedAt?: DateTimeFilter<"DatasetRunItems"> | Date | string } export type DatasetCreateWithoutDatasetRunsInput = { id?: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string project: ProjectCreateNestedOneWithoutDatasetInput datasetItems?: DatasetItemCreateNestedManyWithoutDatasetInput } export type DatasetUncheckedCreateWithoutDatasetRunsInput = { id?: string projectId: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string datasetItems?: DatasetItemUncheckedCreateNestedManyWithoutDatasetInput } export type DatasetCreateOrConnectWithoutDatasetRunsInput = { where: DatasetWhereUniqueInput create: XOR } export type DatasetRunItemsCreateWithoutDatasetRunInput = { id?: string traceId: string observationId?: string | null createdAt?: Date | string updatedAt?: Date | string datasetItem: DatasetItemCreateNestedOneWithoutDatasetRunItemsInput } export type DatasetRunItemsUncheckedCreateWithoutDatasetRunInput = { id?: string datasetItemId: string traceId: string observationId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type DatasetRunItemsCreateOrConnectWithoutDatasetRunInput = { where: DatasetRunItemsWhereUniqueInput create: XOR } export type DatasetRunItemsCreateManyDatasetRunInputEnvelope = { data: DatasetRunItemsCreateManyDatasetRunInput | DatasetRunItemsCreateManyDatasetRunInput[] skipDuplicates?: boolean } export type DatasetUpsertWithoutDatasetRunsInput = { update: XOR create: XOR where?: DatasetWhereInput } export type DatasetUpdateToOneWithWhereWithoutDatasetRunsInput = { where?: DatasetWhereInput data: XOR } export type DatasetUpdateWithoutDatasetRunsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: NullableStringFieldUpdateOperationsInput | string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutDatasetNestedInput datasetItems?: DatasetItemUpdateManyWithoutDatasetNestedInput } export type DatasetUncheckedUpdateWithoutDatasetRunsInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: NullableStringFieldUpdateOperationsInput | string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string datasetItems?: DatasetItemUncheckedUpdateManyWithoutDatasetNestedInput } export type DatasetRunItemsUpsertWithWhereUniqueWithoutDatasetRunInput = { where: DatasetRunItemsWhereUniqueInput update: XOR create: XOR } export type DatasetRunItemsUpdateWithWhereUniqueWithoutDatasetRunInput = { where: DatasetRunItemsWhereUniqueInput data: XOR } export type DatasetRunItemsUpdateManyWithWhereWithoutDatasetRunInput = { where: DatasetRunItemsScalarWhereInput data: XOR } export type DatasetRunsCreateWithoutDatasetRunItemsInput = { id?: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string dataset: DatasetCreateNestedOneWithoutDatasetRunsInput } export type DatasetRunsUncheckedCreateWithoutDatasetRunItemsInput = { id?: string projectId: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue datasetId: string createdAt?: Date | string updatedAt?: Date | string } export type DatasetRunsCreateOrConnectWithoutDatasetRunItemsInput = { where: DatasetRunsWhereUniqueInput create: XOR } export type DatasetItemCreateWithoutDatasetRunItemsInput = { id?: string status?: $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: string | null sourceObservationId?: string | null createdAt?: Date | string updatedAt?: Date | string dataset: DatasetCreateNestedOneWithoutDatasetItemsInput } export type DatasetItemUncheckedCreateWithoutDatasetRunItemsInput = { id?: string projectId: string status?: $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: string | null sourceObservationId?: string | null datasetId: string createdAt?: Date | string updatedAt?: Date | string } export type DatasetItemCreateOrConnectWithoutDatasetRunItemsInput = { where: DatasetItemWhereUniqueInput create: XOR } export type DatasetRunsUpsertWithoutDatasetRunItemsInput = { update: XOR create: XOR where?: DatasetRunsWhereInput } export type DatasetRunsUpdateToOneWithWhereWithoutDatasetRunItemsInput = { where?: DatasetRunsWhereInput data: XOR } export type DatasetRunsUpdateWithoutDatasetRunItemsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string dataset?: DatasetUpdateOneRequiredWithoutDatasetRunsNestedInput } export type DatasetRunsUncheckedUpdateWithoutDatasetRunItemsInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue datasetId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetItemUpsertWithoutDatasetRunItemsInput = { update: XOR create: XOR where?: DatasetItemWhereInput } export type DatasetItemUpdateToOneWithWhereWithoutDatasetRunItemsInput = { where?: DatasetItemWhereInput data: XOR } export type DatasetItemUpdateWithoutDatasetRunItemsInput = { id?: StringFieldUpdateOperationsInput | string status?: EnumDatasetStatusFieldUpdateOperationsInput | $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: NullableStringFieldUpdateOperationsInput | string | null sourceObservationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string dataset?: DatasetUpdateOneRequiredWithoutDatasetItemsNestedInput } export type DatasetItemUncheckedUpdateWithoutDatasetRunItemsInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: EnumDatasetStatusFieldUpdateOperationsInput | $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: NullableStringFieldUpdateOperationsInput | string | null sourceObservationId?: NullableStringFieldUpdateOperationsInput | string | null datasetId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectCreateWithoutCommentInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutCommentInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutCommentInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectUpsertWithoutCommentInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutCommentInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutCommentInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutCommentInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateWithoutPromptInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutPromptInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutPromptInput = { where: ProjectWhereUniqueInput create: XOR } export type PromptDependencyCreateWithoutParentInput = { id?: string createdAt?: Date | string updatedAt?: Date | string childName: string childLabel?: string | null childVersion?: number | null project: ProjectCreateNestedOneWithoutPromptDependencyInput } export type PromptDependencyUncheckedCreateWithoutParentInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string childName: string childLabel?: string | null childVersion?: number | null } export type PromptDependencyCreateOrConnectWithoutParentInput = { where: PromptDependencyWhereUniqueInput create: XOR } export type PromptDependencyCreateManyParentInputEnvelope = { data: PromptDependencyCreateManyParentInput | PromptDependencyCreateManyParentInput[] skipDuplicates?: boolean } export type ProjectUpsertWithoutPromptInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutPromptInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutPromptInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutPromptInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type PromptDependencyUpsertWithWhereUniqueWithoutParentInput = { where: PromptDependencyWhereUniqueInput update: XOR create: XOR } export type PromptDependencyUpdateWithWhereUniqueWithoutParentInput = { where: PromptDependencyWhereUniqueInput data: XOR } export type PromptDependencyUpdateManyWithWhereWithoutParentInput = { where: PromptDependencyScalarWhereInput data: XOR } export type ProjectCreateWithoutPromptDependencyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutPromptDependencyInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutPromptDependencyInput = { where: ProjectWhereUniqueInput create: XOR } export type PromptCreateWithoutPromptDependencyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy: string prompt: JsonNullValueInput | InputJsonValue name: string version: number type?: string isActive?: boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptCreatetagsInput | string[] labels?: PromptCreatelabelsInput | string[] commitMessage?: string | null project: ProjectCreateNestedOneWithoutPromptInput } export type PromptUncheckedCreateWithoutPromptDependencyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string createdBy: string prompt: JsonNullValueInput | InputJsonValue name: string version: number type?: string isActive?: boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptCreatetagsInput | string[] labels?: PromptCreatelabelsInput | string[] commitMessage?: string | null } export type PromptCreateOrConnectWithoutPromptDependencyInput = { where: PromptWhereUniqueInput create: XOR } export type ProjectUpsertWithoutPromptDependencyInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutPromptDependencyInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutPromptDependencyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutPromptDependencyInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type PromptUpsertWithoutPromptDependencyInput = { update: XOR create: XOR where?: PromptWhereInput } export type PromptUpdateToOneWithWhereWithoutPromptDependencyInput = { where?: PromptWhereInput data: XOR } export type PromptUpdateWithoutPromptDependencyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: StringFieldUpdateOperationsInput | string prompt?: JsonNullValueInput | InputJsonValue name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number type?: StringFieldUpdateOperationsInput | string isActive?: NullableBoolFieldUpdateOperationsInput | boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptUpdatetagsInput | string[] labels?: PromptUpdatelabelsInput | string[] commitMessage?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutPromptNestedInput } export type PromptUncheckedUpdateWithoutPromptDependencyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string createdBy?: StringFieldUpdateOperationsInput | string prompt?: JsonNullValueInput | InputJsonValue name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number type?: StringFieldUpdateOperationsInput | string isActive?: NullableBoolFieldUpdateOperationsInput | boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptUpdatetagsInput | string[] labels?: PromptUpdatelabelsInput | string[] commitMessage?: NullableStringFieldUpdateOperationsInput | string | null } export type ProjectCreateWithoutPromptProtectedLabelsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutPromptProtectedLabelsInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutPromptProtectedLabelsInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectUpsertWithoutPromptProtectedLabelsInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutPromptProtectedLabelsInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutPromptProtectedLabelsInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutPromptProtectedLabelsInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateWithoutModelInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutModelInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutModelInput = { where: ProjectWhereUniqueInput create: XOR } export type PriceCreateWithoutModelInput = { id?: string createdAt?: Date | string updatedAt?: Date | string usageType: string price: Decimal | DecimalJsLike | number | string project?: ProjectCreateNestedOneWithoutPriceInput } export type PriceUncheckedCreateWithoutModelInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId?: string | null usageType: string price: Decimal | DecimalJsLike | number | string } export type PriceCreateOrConnectWithoutModelInput = { where: PriceWhereUniqueInput create: XOR } export type PriceCreateManyModelInputEnvelope = { data: PriceCreateManyModelInput | PriceCreateManyModelInput[] skipDuplicates?: boolean } export type ProjectUpsertWithoutModelInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutModelInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutModelInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutModelInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type PriceUpsertWithWhereUniqueWithoutModelInput = { where: PriceWhereUniqueInput update: XOR create: XOR } export type PriceUpdateWithWhereUniqueWithoutModelInput = { where: PriceWhereUniqueInput data: XOR } export type PriceUpdateManyWithWhereWithoutModelInput = { where: PriceScalarWhereInput data: XOR } export type ModelCreateWithoutPriceInput = { id?: string createdAt?: Date | string updatedAt?: Date | string modelName: string matchPattern: string startDate?: Date | string | null inputPrice?: Decimal | DecimalJsLike | number | string | null outputPrice?: Decimal | DecimalJsLike | number | string | null totalPrice?: Decimal | DecimalJsLike | number | string | null unit?: string | null tokenizerId?: string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue project?: ProjectCreateNestedOneWithoutModelInput } export type ModelUncheckedCreateWithoutPriceInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId?: string | null modelName: string matchPattern: string startDate?: Date | string | null inputPrice?: Decimal | DecimalJsLike | number | string | null outputPrice?: Decimal | DecimalJsLike | number | string | null totalPrice?: Decimal | DecimalJsLike | number | string | null unit?: string | null tokenizerId?: string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue } export type ModelCreateOrConnectWithoutPriceInput = { where: ModelWhereUniqueInput create: XOR } export type ProjectCreateWithoutPriceInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutPriceInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutPriceInput = { where: ProjectWhereUniqueInput create: XOR } export type ModelUpsertWithoutPriceInput = { update: XOR create: XOR where?: ModelWhereInput } export type ModelUpdateToOneWithWhereWithoutPriceInput = { where?: ModelWhereInput data: XOR } export type ModelUpdateWithoutPriceInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string modelName?: StringFieldUpdateOperationsInput | string matchPattern?: StringFieldUpdateOperationsInput | string startDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null inputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null unit?: NullableStringFieldUpdateOperationsInput | string | null tokenizerId?: NullableStringFieldUpdateOperationsInput | string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue project?: ProjectUpdateOneWithoutModelNestedInput } export type ModelUncheckedUpdateWithoutPriceInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: NullableStringFieldUpdateOperationsInput | string | null modelName?: StringFieldUpdateOperationsInput | string matchPattern?: StringFieldUpdateOperationsInput | string startDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null inputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null unit?: NullableStringFieldUpdateOperationsInput | string | null tokenizerId?: NullableStringFieldUpdateOperationsInput | string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue } export type ProjectUpsertWithoutPriceInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutPriceInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutPriceInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutPriceInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateWithoutEvalTemplateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutEvalTemplateInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutEvalTemplateInput = { where: ProjectWhereUniqueInput create: XOR } export type JobConfigurationCreateWithoutEvalTemplateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string jobType: $Enums.JobType status?: $Enums.JobConfigState scoreName: string filter: JsonNullValueInput | InputJsonValue targetObject: string variableMapping: JsonNullValueInput | InputJsonValue sampling: Decimal | DecimalJsLike | number | string delay: number timeScope?: JobConfigurationCreatetimeScopeInput | string[] project: ProjectCreateNestedOneWithoutJobConfigurationInput JobExecution?: JobExecutionCreateNestedManyWithoutJobConfigurationInput } export type JobConfigurationUncheckedCreateWithoutEvalTemplateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string jobType: $Enums.JobType status?: $Enums.JobConfigState scoreName: string filter: JsonNullValueInput | InputJsonValue targetObject: string variableMapping: JsonNullValueInput | InputJsonValue sampling: Decimal | DecimalJsLike | number | string delay: number timeScope?: JobConfigurationCreatetimeScopeInput | string[] JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutJobConfigurationInput } export type JobConfigurationCreateOrConnectWithoutEvalTemplateInput = { where: JobConfigurationWhereUniqueInput create: XOR } export type JobConfigurationCreateManyEvalTemplateInputEnvelope = { data: JobConfigurationCreateManyEvalTemplateInput | JobConfigurationCreateManyEvalTemplateInput[] skipDuplicates?: boolean } export type JobExecutionCreateWithoutJobTemplateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string status: $Enums.JobExecutionStatus startTime?: Date | string | null endTime?: Date | string | null error?: string | null jobInputTraceId?: string | null jobInputTraceTimestamp?: Date | string | null jobInputObservationId?: string | null jobInputDatasetItemId?: string | null jobOutputScoreId?: string | null project: ProjectCreateNestedOneWithoutJobExecutionInput jobConfiguration: JobConfigurationCreateNestedOneWithoutJobExecutionInput } export type JobExecutionUncheckedCreateWithoutJobTemplateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string jobConfigurationId: string status: $Enums.JobExecutionStatus startTime?: Date | string | null endTime?: Date | string | null error?: string | null jobInputTraceId?: string | null jobInputTraceTimestamp?: Date | string | null jobInputObservationId?: string | null jobInputDatasetItemId?: string | null jobOutputScoreId?: string | null } export type JobExecutionCreateOrConnectWithoutJobTemplateInput = { where: JobExecutionWhereUniqueInput create: XOR } export type JobExecutionCreateManyJobTemplateInputEnvelope = { data: JobExecutionCreateManyJobTemplateInput | JobExecutionCreateManyJobTemplateInput[] skipDuplicates?: boolean } export type ProjectUpsertWithoutEvalTemplateInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutEvalTemplateInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutEvalTemplateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutEvalTemplateInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type JobConfigurationUpsertWithWhereUniqueWithoutEvalTemplateInput = { where: JobConfigurationWhereUniqueInput update: XOR create: XOR } export type JobConfigurationUpdateWithWhereUniqueWithoutEvalTemplateInput = { where: JobConfigurationWhereUniqueInput data: XOR } export type JobConfigurationUpdateManyWithWhereWithoutEvalTemplateInput = { where: JobConfigurationScalarWhereInput data: XOR } export type JobExecutionUpsertWithWhereUniqueWithoutJobTemplateInput = { where: JobExecutionWhereUniqueInput update: XOR create: XOR } export type JobExecutionUpdateWithWhereUniqueWithoutJobTemplateInput = { where: JobExecutionWhereUniqueInput data: XOR } export type JobExecutionUpdateManyWithWhereWithoutJobTemplateInput = { where: JobExecutionScalarWhereInput data: XOR } export type ProjectCreateWithoutJobConfigurationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutJobConfigurationInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutJobConfigurationInput = { where: ProjectWhereUniqueInput create: XOR } export type EvalTemplateCreateWithoutJobConfigurationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string version: number prompt: string partner?: string | null model?: string | null provider?: string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateCreatevarsInput | string[] outputSchema: JsonNullValueInput | InputJsonValue project?: ProjectCreateNestedOneWithoutEvalTemplateInput JobExecution?: JobExecutionCreateNestedManyWithoutJobTemplateInput } export type EvalTemplateUncheckedCreateWithoutJobConfigurationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId?: string | null name: string version: number prompt: string partner?: string | null model?: string | null provider?: string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateCreatevarsInput | string[] outputSchema: JsonNullValueInput | InputJsonValue JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutJobTemplateInput } export type EvalTemplateCreateOrConnectWithoutJobConfigurationInput = { where: EvalTemplateWhereUniqueInput create: XOR } export type JobExecutionCreateWithoutJobConfigurationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string status: $Enums.JobExecutionStatus startTime?: Date | string | null endTime?: Date | string | null error?: string | null jobInputTraceId?: string | null jobInputTraceTimestamp?: Date | string | null jobInputObservationId?: string | null jobInputDatasetItemId?: string | null jobOutputScoreId?: string | null project: ProjectCreateNestedOneWithoutJobExecutionInput jobTemplate?: EvalTemplateCreateNestedOneWithoutJobExecutionInput } export type JobExecutionUncheckedCreateWithoutJobConfigurationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string jobTemplateId?: string | null status: $Enums.JobExecutionStatus startTime?: Date | string | null endTime?: Date | string | null error?: string | null jobInputTraceId?: string | null jobInputTraceTimestamp?: Date | string | null jobInputObservationId?: string | null jobInputDatasetItemId?: string | null jobOutputScoreId?: string | null } export type JobExecutionCreateOrConnectWithoutJobConfigurationInput = { where: JobExecutionWhereUniqueInput create: XOR } export type JobExecutionCreateManyJobConfigurationInputEnvelope = { data: JobExecutionCreateManyJobConfigurationInput | JobExecutionCreateManyJobConfigurationInput[] skipDuplicates?: boolean } export type ProjectUpsertWithoutJobConfigurationInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutJobConfigurationInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutJobConfigurationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutJobConfigurationInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type EvalTemplateUpsertWithoutJobConfigurationInput = { update: XOR create: XOR where?: EvalTemplateWhereInput } export type EvalTemplateUpdateToOneWithWhereWithoutJobConfigurationInput = { where?: EvalTemplateWhereInput data: XOR } export type EvalTemplateUpdateWithoutJobConfigurationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number prompt?: StringFieldUpdateOperationsInput | string partner?: NullableStringFieldUpdateOperationsInput | string | null model?: NullableStringFieldUpdateOperationsInput | string | null provider?: NullableStringFieldUpdateOperationsInput | string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateUpdatevarsInput | string[] outputSchema?: JsonNullValueInput | InputJsonValue project?: ProjectUpdateOneWithoutEvalTemplateNestedInput JobExecution?: JobExecutionUpdateManyWithoutJobTemplateNestedInput } export type EvalTemplateUncheckedUpdateWithoutJobConfigurationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number prompt?: StringFieldUpdateOperationsInput | string partner?: NullableStringFieldUpdateOperationsInput | string | null model?: NullableStringFieldUpdateOperationsInput | string | null provider?: NullableStringFieldUpdateOperationsInput | string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateUpdatevarsInput | string[] outputSchema?: JsonNullValueInput | InputJsonValue JobExecution?: JobExecutionUncheckedUpdateManyWithoutJobTemplateNestedInput } export type JobExecutionUpsertWithWhereUniqueWithoutJobConfigurationInput = { where: JobExecutionWhereUniqueInput update: XOR create: XOR } export type JobExecutionUpdateWithWhereUniqueWithoutJobConfigurationInput = { where: JobExecutionWhereUniqueInput data: XOR } export type JobExecutionUpdateManyWithWhereWithoutJobConfigurationInput = { where: JobExecutionScalarWhereInput data: XOR } export type ProjectCreateWithoutJobExecutionInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutJobExecutionInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutJobExecutionInput = { where: ProjectWhereUniqueInput create: XOR } export type JobConfigurationCreateWithoutJobExecutionInput = { id?: string createdAt?: Date | string updatedAt?: Date | string jobType: $Enums.JobType status?: $Enums.JobConfigState scoreName: string filter: JsonNullValueInput | InputJsonValue targetObject: string variableMapping: JsonNullValueInput | InputJsonValue sampling: Decimal | DecimalJsLike | number | string delay: number timeScope?: JobConfigurationCreatetimeScopeInput | string[] project: ProjectCreateNestedOneWithoutJobConfigurationInput evalTemplate?: EvalTemplateCreateNestedOneWithoutJobConfigurationInput } export type JobConfigurationUncheckedCreateWithoutJobExecutionInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string jobType: $Enums.JobType status?: $Enums.JobConfigState evalTemplateId?: string | null scoreName: string filter: JsonNullValueInput | InputJsonValue targetObject: string variableMapping: JsonNullValueInput | InputJsonValue sampling: Decimal | DecimalJsLike | number | string delay: number timeScope?: JobConfigurationCreatetimeScopeInput | string[] } export type JobConfigurationCreateOrConnectWithoutJobExecutionInput = { where: JobConfigurationWhereUniqueInput create: XOR } export type EvalTemplateCreateWithoutJobExecutionInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string version: number prompt: string partner?: string | null model?: string | null provider?: string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateCreatevarsInput | string[] outputSchema: JsonNullValueInput | InputJsonValue project?: ProjectCreateNestedOneWithoutEvalTemplateInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutEvalTemplateInput } export type EvalTemplateUncheckedCreateWithoutJobExecutionInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId?: string | null name: string version: number prompt: string partner?: string | null model?: string | null provider?: string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateCreatevarsInput | string[] outputSchema: JsonNullValueInput | InputJsonValue JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutEvalTemplateInput } export type EvalTemplateCreateOrConnectWithoutJobExecutionInput = { where: EvalTemplateWhereUniqueInput create: XOR } export type ProjectUpsertWithoutJobExecutionInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutJobExecutionInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutJobExecutionInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutJobExecutionInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type JobConfigurationUpsertWithoutJobExecutionInput = { update: XOR create: XOR where?: JobConfigurationWhereInput } export type JobConfigurationUpdateToOneWithWhereWithoutJobExecutionInput = { where?: JobConfigurationWhereInput data: XOR } export type JobConfigurationUpdateWithoutJobExecutionInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string jobType?: EnumJobTypeFieldUpdateOperationsInput | $Enums.JobType status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState scoreName?: StringFieldUpdateOperationsInput | string filter?: JsonNullValueInput | InputJsonValue targetObject?: StringFieldUpdateOperationsInput | string variableMapping?: JsonNullValueInput | InputJsonValue sampling?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string delay?: IntFieldUpdateOperationsInput | number timeScope?: JobConfigurationUpdatetimeScopeInput | string[] project?: ProjectUpdateOneRequiredWithoutJobConfigurationNestedInput evalTemplate?: EvalTemplateUpdateOneWithoutJobConfigurationNestedInput } export type JobConfigurationUncheckedUpdateWithoutJobExecutionInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string jobType?: EnumJobTypeFieldUpdateOperationsInput | $Enums.JobType status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState evalTemplateId?: NullableStringFieldUpdateOperationsInput | string | null scoreName?: StringFieldUpdateOperationsInput | string filter?: JsonNullValueInput | InputJsonValue targetObject?: StringFieldUpdateOperationsInput | string variableMapping?: JsonNullValueInput | InputJsonValue sampling?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string delay?: IntFieldUpdateOperationsInput | number timeScope?: JobConfigurationUpdatetimeScopeInput | string[] } export type EvalTemplateUpsertWithoutJobExecutionInput = { update: XOR create: XOR where?: EvalTemplateWhereInput } export type EvalTemplateUpdateToOneWithWhereWithoutJobExecutionInput = { where?: EvalTemplateWhereInput data: XOR } export type EvalTemplateUpdateWithoutJobExecutionInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number prompt?: StringFieldUpdateOperationsInput | string partner?: NullableStringFieldUpdateOperationsInput | string | null model?: NullableStringFieldUpdateOperationsInput | string | null provider?: NullableStringFieldUpdateOperationsInput | string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateUpdatevarsInput | string[] outputSchema?: JsonNullValueInput | InputJsonValue project?: ProjectUpdateOneWithoutEvalTemplateNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutEvalTemplateNestedInput } export type EvalTemplateUncheckedUpdateWithoutJobExecutionInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number prompt?: StringFieldUpdateOperationsInput | string partner?: NullableStringFieldUpdateOperationsInput | string | null model?: NullableStringFieldUpdateOperationsInput | string | null provider?: NullableStringFieldUpdateOperationsInput | string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateUpdatevarsInput | string[] outputSchema?: JsonNullValueInput | InputJsonValue JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutEvalTemplateNestedInput } export type ProjectCreateWithoutDefaultLlmModelInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutDefaultLlmModelInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutDefaultLlmModelInput = { where: ProjectWhereUniqueInput create: XOR } export type LlmApiKeysCreateWithoutDefaultLlmModelInput = { id?: string createdAt?: Date | string updatedAt?: Date | string provider: string adapter: string displaySecretKey: string secretKey: string baseURL?: string | null customModels?: LlmApiKeysCreatecustomModelsInput | string[] withDefaultModels?: boolean extraHeaders?: string | null extraHeaderKeys?: LlmApiKeysCreateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue project: ProjectCreateNestedOneWithoutLlmApiKeysInput } export type LlmApiKeysUncheckedCreateWithoutDefaultLlmModelInput = { id?: string createdAt?: Date | string updatedAt?: Date | string provider: string adapter: string displaySecretKey: string secretKey: string baseURL?: string | null customModels?: LlmApiKeysCreatecustomModelsInput | string[] withDefaultModels?: boolean extraHeaders?: string | null extraHeaderKeys?: LlmApiKeysCreateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue projectId: string } export type LlmApiKeysCreateOrConnectWithoutDefaultLlmModelInput = { where: LlmApiKeysWhereUniqueInput create: XOR } export type ProjectUpsertWithoutDefaultLlmModelInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutDefaultLlmModelInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutDefaultLlmModelInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutDefaultLlmModelInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type LlmApiKeysUpsertWithoutDefaultLlmModelInput = { update: XOR create: XOR where?: LlmApiKeysWhereInput } export type LlmApiKeysUpdateToOneWithWhereWithoutDefaultLlmModelInput = { where?: LlmApiKeysWhereInput data: XOR } export type LlmApiKeysUpdateWithoutDefaultLlmModelInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string displaySecretKey?: StringFieldUpdateOperationsInput | string secretKey?: StringFieldUpdateOperationsInput | string baseURL?: NullableStringFieldUpdateOperationsInput | string | null customModels?: LlmApiKeysUpdatecustomModelsInput | string[] withDefaultModels?: BoolFieldUpdateOperationsInput | boolean extraHeaders?: NullableStringFieldUpdateOperationsInput | string | null extraHeaderKeys?: LlmApiKeysUpdateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue project?: ProjectUpdateOneRequiredWithoutLlmApiKeysNestedInput } export type LlmApiKeysUncheckedUpdateWithoutDefaultLlmModelInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string displaySecretKey?: StringFieldUpdateOperationsInput | string secretKey?: StringFieldUpdateOperationsInput | string baseURL?: NullableStringFieldUpdateOperationsInput | string | null customModels?: LlmApiKeysUpdatecustomModelsInput | string[] withDefaultModels?: BoolFieldUpdateOperationsInput | boolean extraHeaders?: NullableStringFieldUpdateOperationsInput | string | null extraHeaderKeys?: LlmApiKeysUpdateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue projectId?: StringFieldUpdateOperationsInput | string } export type ProjectCreateWithoutPosthogIntegrationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutPosthogIntegrationInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutPosthogIntegrationInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectUpsertWithoutPosthogIntegrationInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutPosthogIntegrationInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutPosthogIntegrationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutPosthogIntegrationInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateWithoutBlobStorageIntegrationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutBlobStorageIntegrationInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutBlobStorageIntegrationInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectUpsertWithoutBlobStorageIntegrationInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutBlobStorageIntegrationInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutBlobStorageIntegrationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutBlobStorageIntegrationInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateWithoutBatchExportInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutBatchExportInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutBatchExportInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectUpsertWithoutBatchExportInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutBatchExportInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutBatchExportInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutBatchExportInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateWithoutMediaInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutMediaInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutMediaInput = { where: ProjectWhereUniqueInput create: XOR } export type TraceMediaCreateWithoutMediaInput = { id?: string createdAt?: Date | string updatedAt?: Date | string traceId: string field: string project: ProjectCreateNestedOneWithoutTraceMediaInput } export type TraceMediaUncheckedCreateWithoutMediaInput = { id?: string createdAt?: Date | string updatedAt?: Date | string traceId: string field: string } export type TraceMediaCreateOrConnectWithoutMediaInput = { where: TraceMediaWhereUniqueInput create: XOR } export type TraceMediaCreateManyMediaInputEnvelope = { data: TraceMediaCreateManyMediaInput | TraceMediaCreateManyMediaInput[] skipDuplicates?: boolean } export type ObservationMediaCreateWithoutMediaInput = { id?: string createdAt?: Date | string updatedAt?: Date | string traceId: string observationId: string field: string project: ProjectCreateNestedOneWithoutObservationMediaInput } export type ObservationMediaUncheckedCreateWithoutMediaInput = { id?: string createdAt?: Date | string updatedAt?: Date | string traceId: string observationId: string field: string } export type ObservationMediaCreateOrConnectWithoutMediaInput = { where: ObservationMediaWhereUniqueInput create: XOR } export type ObservationMediaCreateManyMediaInputEnvelope = { data: ObservationMediaCreateManyMediaInput | ObservationMediaCreateManyMediaInput[] skipDuplicates?: boolean } export type ProjectUpsertWithoutMediaInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutMediaInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutMediaInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutMediaInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type TraceMediaUpsertWithWhereUniqueWithoutMediaInput = { where: TraceMediaWhereUniqueInput update: XOR create: XOR } export type TraceMediaUpdateWithWhereUniqueWithoutMediaInput = { where: TraceMediaWhereUniqueInput data: XOR } export type TraceMediaUpdateManyWithWhereWithoutMediaInput = { where: TraceMediaScalarWhereInput data: XOR } export type ObservationMediaUpsertWithWhereUniqueWithoutMediaInput = { where: ObservationMediaWhereUniqueInput update: XOR create: XOR } export type ObservationMediaUpdateWithWhereUniqueWithoutMediaInput = { where: ObservationMediaWhereUniqueInput data: XOR } export type ObservationMediaUpdateManyWithWhereWithoutMediaInput = { where: ObservationMediaScalarWhereInput data: XOR } export type ProjectCreateWithoutTraceMediaInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutTraceMediaInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutTraceMediaInput = { where: ProjectWhereUniqueInput create: XOR } export type MediaCreateWithoutTraceMediaInput = { id: string sha256Hash: string createdAt?: Date | string updatedAt?: Date | string uploadedAt?: Date | string | null uploadHttpStatus?: number | null uploadHttpError?: string | null bucketPath: string bucketName: string contentType: string contentLength: bigint | number project: ProjectCreateNestedOneWithoutMediaInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutMediaInput } export type MediaUncheckedCreateWithoutTraceMediaInput = { id: string sha256Hash: string projectId: string createdAt?: Date | string updatedAt?: Date | string uploadedAt?: Date | string | null uploadHttpStatus?: number | null uploadHttpError?: string | null bucketPath: string bucketName: string contentType: string contentLength: bigint | number ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutMediaInput } export type MediaCreateOrConnectWithoutTraceMediaInput = { where: MediaWhereUniqueInput create: XOR } export type ProjectUpsertWithoutTraceMediaInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutTraceMediaInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutTraceMediaInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutTraceMediaInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type MediaUpsertWithoutTraceMediaInput = { update: XOR create: XOR where?: MediaWhereInput } export type MediaUpdateToOneWithWhereWithoutTraceMediaInput = { where?: MediaWhereInput data: XOR } export type MediaUpdateWithoutTraceMediaInput = { id?: StringFieldUpdateOperationsInput | string sha256Hash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string uploadedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null uploadHttpStatus?: NullableIntFieldUpdateOperationsInput | number | null uploadHttpError?: NullableStringFieldUpdateOperationsInput | string | null bucketPath?: StringFieldUpdateOperationsInput | string bucketName?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string contentLength?: BigIntFieldUpdateOperationsInput | bigint | number project?: ProjectUpdateOneRequiredWithoutMediaNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutMediaNestedInput } export type MediaUncheckedUpdateWithoutTraceMediaInput = { id?: StringFieldUpdateOperationsInput | string sha256Hash?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string uploadedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null uploadHttpStatus?: NullableIntFieldUpdateOperationsInput | number | null uploadHttpError?: NullableStringFieldUpdateOperationsInput | string | null bucketPath?: StringFieldUpdateOperationsInput | string bucketName?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string contentLength?: BigIntFieldUpdateOperationsInput | bigint | number ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutMediaNestedInput } export type ProjectCreateWithoutObservationMediaInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutObservationMediaInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutObservationMediaInput = { where: ProjectWhereUniqueInput create: XOR } export type MediaCreateWithoutObservationMediaInput = { id: string sha256Hash: string createdAt?: Date | string updatedAt?: Date | string uploadedAt?: Date | string | null uploadHttpStatus?: number | null uploadHttpError?: string | null bucketPath: string bucketName: string contentType: string contentLength: bigint | number project: ProjectCreateNestedOneWithoutMediaInput TraceMedia?: TraceMediaCreateNestedManyWithoutMediaInput } export type MediaUncheckedCreateWithoutObservationMediaInput = { id: string sha256Hash: string projectId: string createdAt?: Date | string updatedAt?: Date | string uploadedAt?: Date | string | null uploadHttpStatus?: number | null uploadHttpError?: string | null bucketPath: string bucketName: string contentType: string contentLength: bigint | number TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutMediaInput } export type MediaCreateOrConnectWithoutObservationMediaInput = { where: MediaWhereUniqueInput create: XOR } export type ProjectUpsertWithoutObservationMediaInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutObservationMediaInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutObservationMediaInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutObservationMediaInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type MediaUpsertWithoutObservationMediaInput = { update: XOR create: XOR where?: MediaWhereInput } export type MediaUpdateToOneWithWhereWithoutObservationMediaInput = { where?: MediaWhereInput data: XOR } export type MediaUpdateWithoutObservationMediaInput = { id?: StringFieldUpdateOperationsInput | string sha256Hash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string uploadedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null uploadHttpStatus?: NullableIntFieldUpdateOperationsInput | number | null uploadHttpError?: NullableStringFieldUpdateOperationsInput | string | null bucketPath?: StringFieldUpdateOperationsInput | string bucketName?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string contentLength?: BigIntFieldUpdateOperationsInput | bigint | number project?: ProjectUpdateOneRequiredWithoutMediaNestedInput TraceMedia?: TraceMediaUpdateManyWithoutMediaNestedInput } export type MediaUncheckedUpdateWithoutObservationMediaInput = { id?: StringFieldUpdateOperationsInput | string sha256Hash?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string uploadedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null uploadHttpStatus?: NullableIntFieldUpdateOperationsInput | number | null uploadHttpError?: NullableStringFieldUpdateOperationsInput | string | null bucketPath?: StringFieldUpdateOperationsInput | string bucketName?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string contentLength?: BigIntFieldUpdateOperationsInput | bigint | number TraceMedia?: TraceMediaUncheckedUpdateManyWithoutMediaNestedInput } export type ProjectCreateWithoutLlmSchemaInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutLlmSchemaInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutLlmSchemaInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectUpsertWithoutLlmSchemaInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutLlmSchemaInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutLlmSchemaInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutLlmSchemaInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateWithoutLlmToolInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutLlmToolInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutLlmToolInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectUpsertWithoutLlmToolInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutLlmToolInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutLlmToolInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutLlmToolInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type UserCreateWithoutDashboardCreatedInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutDashboardCreatedInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutDashboardCreatedInput = { where: UserWhereUniqueInput create: XOR } export type UserCreateWithoutDashboardUpdatedInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutDashboardUpdatedInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutDashboardUpdatedInput = { where: UserWhereUniqueInput create: XOR } export type ProjectCreateWithoutDashboardInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutDashboardInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutDashboardInput = { where: ProjectWhereUniqueInput create: XOR } export type UserUpsertWithoutDashboardCreatedInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutDashboardCreatedInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutDashboardCreatedInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutDashboardCreatedInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type UserUpsertWithoutDashboardUpdatedInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutDashboardUpdatedInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutDashboardUpdatedInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutDashboardUpdatedInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type ProjectUpsertWithoutDashboardInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutDashboardInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutDashboardInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutDashboardInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type UserCreateWithoutDashboardWidgetsCreatedInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutDashboardWidgetsCreatedInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutDashboardWidgetsCreatedInput = { where: UserWhereUniqueInput create: XOR } export type UserCreateWithoutDashboardWidgetsUpdatedInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutDashboardWidgetsUpdatedInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutDashboardWidgetsUpdatedInput = { where: UserWhereUniqueInput create: XOR } export type ProjectCreateWithoutDashboardWidgetInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutDashboardWidgetInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutDashboardWidgetInput = { where: ProjectWhereUniqueInput create: XOR } export type UserUpsertWithoutDashboardWidgetsCreatedInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutDashboardWidgetsCreatedInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutDashboardWidgetsCreatedInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutDashboardWidgetsCreatedInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type UserUpsertWithoutDashboardWidgetsUpdatedInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutDashboardWidgetsUpdatedInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutDashboardWidgetsUpdatedInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutDashboardWidgetsUpdatedInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type ProjectUpsertWithoutDashboardWidgetInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutDashboardWidgetInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutDashboardWidgetInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutDashboardWidgetInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateWithoutTableViewPresetInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutTableViewPresetInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutTableViewPresetInput = { where: ProjectWhereUniqueInput create: XOR } export type UserCreateWithoutTableViewPresetCreatedInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutTableViewPresetCreatedInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutTableViewPresetCreatedInput = { where: UserWhereUniqueInput create: XOR } export type UserCreateWithoutTableViewPresetUpdatedInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput surveys?: SurveyCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutTableViewPresetUpdatedInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput surveys?: SurveyUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutTableViewPresetUpdatedInput = { where: UserWhereUniqueInput create: XOR } export type ProjectUpsertWithoutTableViewPresetInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutTableViewPresetInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutTableViewPresetInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutTableViewPresetInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type UserUpsertWithoutTableViewPresetCreatedInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutTableViewPresetCreatedInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutTableViewPresetCreatedInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutTableViewPresetCreatedInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type UserUpsertWithoutTableViewPresetUpdatedInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutTableViewPresetUpdatedInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutTableViewPresetUpdatedInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput surveys?: SurveyUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutTableViewPresetUpdatedInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput surveys?: SurveyUncheckedUpdateManyWithoutUserNestedInput } export type ProjectCreateWithoutActionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutActionsInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutActionsInput = { where: ProjectWhereUniqueInput create: XOR } export type AutomationCreateWithoutActionInput = { id?: string name: string createdAt?: Date | string trigger: TriggerCreateNestedOneWithoutAutomationsInput project: ProjectCreateNestedOneWithoutAutomationInput AutomationExecution?: AutomationExecutionCreateNestedManyWithoutAutomationInput } export type AutomationUncheckedCreateWithoutActionInput = { id?: string name: string triggerId: string createdAt?: Date | string projectId: string AutomationExecution?: AutomationExecutionUncheckedCreateNestedManyWithoutAutomationInput } export type AutomationCreateOrConnectWithoutActionInput = { where: AutomationWhereUniqueInput create: XOR } export type AutomationCreateManyActionInputEnvelope = { data: AutomationCreateManyActionInput | AutomationCreateManyActionInput[] skipDuplicates?: boolean } export type AutomationExecutionCreateWithoutActionInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null automation: AutomationCreateNestedOneWithoutAutomationExecutionInput trigger: TriggerCreateNestedOneWithoutAutomationExecutionsInput project: ProjectCreateNestedOneWithoutAutomationExecutionsInput } export type AutomationExecutionUncheckedCreateWithoutActionInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string automationId: string triggerId: string projectId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null } export type AutomationExecutionCreateOrConnectWithoutActionInput = { where: AutomationExecutionWhereUniqueInput create: XOR } export type AutomationExecutionCreateManyActionInputEnvelope = { data: AutomationExecutionCreateManyActionInput | AutomationExecutionCreateManyActionInput[] skipDuplicates?: boolean } export type ProjectUpsertWithoutActionsInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutActionsInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutActionsInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutActionsInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type AutomationUpsertWithWhereUniqueWithoutActionInput = { where: AutomationWhereUniqueInput update: XOR create: XOR } export type AutomationUpdateWithWhereUniqueWithoutActionInput = { where: AutomationWhereUniqueInput data: XOR } export type AutomationUpdateManyWithWhereWithoutActionInput = { where: AutomationScalarWhereInput data: XOR } export type AutomationExecutionUpsertWithWhereUniqueWithoutActionInput = { where: AutomationExecutionWhereUniqueInput update: XOR create: XOR } export type AutomationExecutionUpdateWithWhereUniqueWithoutActionInput = { where: AutomationExecutionWhereUniqueInput data: XOR } export type AutomationExecutionUpdateManyWithWhereWithoutActionInput = { where: AutomationExecutionScalarWhereInput data: XOR } export type ProjectCreateWithoutTriggersInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutTriggersInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutTriggersInput = { where: ProjectWhereUniqueInput create: XOR } export type AutomationExecutionCreateWithoutTriggerInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null automation: AutomationCreateNestedOneWithoutAutomationExecutionInput action: ActionCreateNestedOneWithoutAutomationExecutionsInput project: ProjectCreateNestedOneWithoutAutomationExecutionsInput } export type AutomationExecutionUncheckedCreateWithoutTriggerInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string automationId: string actionId: string projectId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null } export type AutomationExecutionCreateOrConnectWithoutTriggerInput = { where: AutomationExecutionWhereUniqueInput create: XOR } export type AutomationExecutionCreateManyTriggerInputEnvelope = { data: AutomationExecutionCreateManyTriggerInput | AutomationExecutionCreateManyTriggerInput[] skipDuplicates?: boolean } export type AutomationCreateWithoutTriggerInput = { id?: string name: string createdAt?: Date | string action: ActionCreateNestedOneWithoutAutomationsInput project: ProjectCreateNestedOneWithoutAutomationInput AutomationExecution?: AutomationExecutionCreateNestedManyWithoutAutomationInput } export type AutomationUncheckedCreateWithoutTriggerInput = { id?: string name: string actionId: string createdAt?: Date | string projectId: string AutomationExecution?: AutomationExecutionUncheckedCreateNestedManyWithoutAutomationInput } export type AutomationCreateOrConnectWithoutTriggerInput = { where: AutomationWhereUniqueInput create: XOR } export type AutomationCreateManyTriggerInputEnvelope = { data: AutomationCreateManyTriggerInput | AutomationCreateManyTriggerInput[] skipDuplicates?: boolean } export type ProjectUpsertWithoutTriggersInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutTriggersInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutTriggersInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutTriggersInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type AutomationExecutionUpsertWithWhereUniqueWithoutTriggerInput = { where: AutomationExecutionWhereUniqueInput update: XOR create: XOR } export type AutomationExecutionUpdateWithWhereUniqueWithoutTriggerInput = { where: AutomationExecutionWhereUniqueInput data: XOR } export type AutomationExecutionUpdateManyWithWhereWithoutTriggerInput = { where: AutomationExecutionScalarWhereInput data: XOR } export type AutomationUpsertWithWhereUniqueWithoutTriggerInput = { where: AutomationWhereUniqueInput update: XOR create: XOR } export type AutomationUpdateWithWhereUniqueWithoutTriggerInput = { where: AutomationWhereUniqueInput data: XOR } export type AutomationUpdateManyWithWhereWithoutTriggerInput = { where: AutomationScalarWhereInput data: XOR } export type TriggerCreateWithoutAutomationsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string eventSource: string eventActions?: TriggerCreateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: $Enums.JobConfigState project: ProjectCreateNestedOneWithoutTriggersInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutTriggerInput } export type TriggerUncheckedCreateWithoutAutomationsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string eventSource: string eventActions?: TriggerCreateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: $Enums.JobConfigState automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutTriggerInput } export type TriggerCreateOrConnectWithoutAutomationsInput = { where: TriggerWhereUniqueInput create: XOR } export type ActionCreateWithoutAutomationsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: $Enums.ActionType config: JsonNullValueInput | InputJsonValue project: ProjectCreateNestedOneWithoutActionsInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutActionInput } export type ActionUncheckedCreateWithoutAutomationsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string type: $Enums.ActionType config: JsonNullValueInput | InputJsonValue automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutActionInput } export type ActionCreateOrConnectWithoutAutomationsInput = { where: ActionWhereUniqueInput create: XOR } export type ProjectCreateWithoutAutomationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutAutomationInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutAutomationInput = { where: ProjectWhereUniqueInput create: XOR } export type AutomationExecutionCreateWithoutAutomationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null trigger: TriggerCreateNestedOneWithoutAutomationExecutionsInput action: ActionCreateNestedOneWithoutAutomationExecutionsInput project: ProjectCreateNestedOneWithoutAutomationExecutionsInput } export type AutomationExecutionUncheckedCreateWithoutAutomationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string triggerId: string actionId: string projectId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null } export type AutomationExecutionCreateOrConnectWithoutAutomationInput = { where: AutomationExecutionWhereUniqueInput create: XOR } export type AutomationExecutionCreateManyAutomationInputEnvelope = { data: AutomationExecutionCreateManyAutomationInput | AutomationExecutionCreateManyAutomationInput[] skipDuplicates?: boolean } export type TriggerUpsertWithoutAutomationsInput = { update: XOR create: XOR where?: TriggerWhereInput } export type TriggerUpdateToOneWithWhereWithoutAutomationsInput = { where?: TriggerWhereInput data: XOR } export type TriggerUpdateWithoutAutomationsInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string eventSource?: StringFieldUpdateOperationsInput | string eventActions?: TriggerUpdateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState project?: ProjectUpdateOneRequiredWithoutTriggersNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutTriggerNestedInput } export type TriggerUncheckedUpdateWithoutAutomationsInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string eventSource?: StringFieldUpdateOperationsInput | string eventActions?: TriggerUpdateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutTriggerNestedInput } export type ActionUpsertWithoutAutomationsInput = { update: XOR create: XOR where?: ActionWhereInput } export type ActionUpdateToOneWithWhereWithoutAutomationsInput = { where?: ActionWhereInput data: XOR } export type ActionUpdateWithoutAutomationsInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string type?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType config?: JsonNullValueInput | InputJsonValue project?: ProjectUpdateOneRequiredWithoutActionsNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutActionNestedInput } export type ActionUncheckedUpdateWithoutAutomationsInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string type?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType config?: JsonNullValueInput | InputJsonValue automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutActionNestedInput } export type ProjectUpsertWithoutAutomationInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutAutomationInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutAutomationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutAutomationInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type AutomationExecutionUpsertWithWhereUniqueWithoutAutomationInput = { where: AutomationExecutionWhereUniqueInput update: XOR create: XOR } export type AutomationExecutionUpdateWithWhereUniqueWithoutAutomationInput = { where: AutomationExecutionWhereUniqueInput data: XOR } export type AutomationExecutionUpdateManyWithWhereWithoutAutomationInput = { where: AutomationExecutionScalarWhereInput data: XOR } export type AutomationCreateWithoutAutomationExecutionInput = { id?: string name: string createdAt?: Date | string trigger: TriggerCreateNestedOneWithoutAutomationsInput action: ActionCreateNestedOneWithoutAutomationsInput project: ProjectCreateNestedOneWithoutAutomationInput } export type AutomationUncheckedCreateWithoutAutomationExecutionInput = { id?: string name: string triggerId: string actionId: string createdAt?: Date | string projectId: string } export type AutomationCreateOrConnectWithoutAutomationExecutionInput = { where: AutomationWhereUniqueInput create: XOR } export type TriggerCreateWithoutAutomationExecutionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string eventSource: string eventActions?: TriggerCreateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: $Enums.JobConfigState project: ProjectCreateNestedOneWithoutTriggersInput automations?: AutomationCreateNestedManyWithoutTriggerInput } export type TriggerUncheckedCreateWithoutAutomationExecutionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string eventSource: string eventActions?: TriggerCreateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: $Enums.JobConfigState automations?: AutomationUncheckedCreateNestedManyWithoutTriggerInput } export type TriggerCreateOrConnectWithoutAutomationExecutionsInput = { where: TriggerWhereUniqueInput create: XOR } export type ActionCreateWithoutAutomationExecutionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: $Enums.ActionType config: JsonNullValueInput | InputJsonValue project: ProjectCreateNestedOneWithoutActionsInput automations?: AutomationCreateNestedManyWithoutActionInput } export type ActionUncheckedCreateWithoutAutomationExecutionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string type: $Enums.ActionType config: JsonNullValueInput | InputJsonValue automations?: AutomationUncheckedCreateNestedManyWithoutActionInput } export type ActionCreateOrConnectWithoutAutomationExecutionsInput = { where: ActionWhereUniqueInput create: XOR } export type ProjectCreateWithoutAutomationExecutionsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutAutomationExecutionsInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutAutomationExecutionsInput = { where: ProjectWhereUniqueInput create: XOR } export type AutomationUpsertWithoutAutomationExecutionInput = { update: XOR create: XOR where?: AutomationWhereInput } export type AutomationUpdateToOneWithWhereWithoutAutomationExecutionInput = { where?: AutomationWhereInput data: XOR } export type AutomationUpdateWithoutAutomationExecutionInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string trigger?: TriggerUpdateOneRequiredWithoutAutomationsNestedInput action?: ActionUpdateOneRequiredWithoutAutomationsNestedInput project?: ProjectUpdateOneRequiredWithoutAutomationNestedInput } export type AutomationUncheckedUpdateWithoutAutomationExecutionInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string } export type TriggerUpsertWithoutAutomationExecutionsInput = { update: XOR create: XOR where?: TriggerWhereInput } export type TriggerUpdateToOneWithWhereWithoutAutomationExecutionsInput = { where?: TriggerWhereInput data: XOR } export type TriggerUpdateWithoutAutomationExecutionsInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string eventSource?: StringFieldUpdateOperationsInput | string eventActions?: TriggerUpdateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState project?: ProjectUpdateOneRequiredWithoutTriggersNestedInput automations?: AutomationUpdateManyWithoutTriggerNestedInput } export type TriggerUncheckedUpdateWithoutAutomationExecutionsInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string eventSource?: StringFieldUpdateOperationsInput | string eventActions?: TriggerUpdateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState automations?: AutomationUncheckedUpdateManyWithoutTriggerNestedInput } export type ActionUpsertWithoutAutomationExecutionsInput = { update: XOR create: XOR where?: ActionWhereInput } export type ActionUpdateToOneWithWhereWithoutAutomationExecutionsInput = { where?: ActionWhereInput data: XOR } export type ActionUpdateWithoutAutomationExecutionsInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string type?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType config?: JsonNullValueInput | InputJsonValue project?: ProjectUpdateOneRequiredWithoutActionsNestedInput automations?: AutomationUpdateManyWithoutActionNestedInput } export type ActionUncheckedUpdateWithoutAutomationExecutionsInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string type?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType config?: JsonNullValueInput | InputJsonValue automations?: AutomationUncheckedUpdateManyWithoutActionNestedInput } export type ProjectUpsertWithoutAutomationExecutionsInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutAutomationExecutionsInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutAutomationExecutionsInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutAutomationExecutionsInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateWithoutSlackIntegrationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput PendingDeletion?: PendingDeletionCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutSlackIntegrationInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput PendingDeletion?: PendingDeletionUncheckedCreateNestedManyWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutSlackIntegrationInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectUpsertWithoutSlackIntegrationInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutSlackIntegrationInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutSlackIntegrationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutSlackIntegrationInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateWithoutPendingDeletionInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipCreateNestedManyWithoutProjectInput organization: OrganizationCreateNestedOneWithoutProjectsInput apiKeys?: ApiKeyCreateNestedManyWithoutProjectInput dataset?: DatasetCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationCreateNestedManyWithoutProjectInput sessions?: TraceSessionCreateNestedManyWithoutProjectInput Prompt?: PromptCreateNestedManyWithoutProjectInput Model?: ModelCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigCreateNestedManyWithoutProjectInput BatchExport?: BatchExportCreateNestedManyWithoutProjectInput comment?: CommentCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaCreateNestedManyWithoutProjectInput Media?: MediaCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaCreateNestedManyWithoutProjectInput LlmTool?: LlmToolCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsCreateNestedManyWithoutProjectInput Dashboard?: DashboardCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetCreateNestedManyWithoutProjectInput actions?: ActionCreateNestedManyWithoutProjectInput triggers?: TriggerCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionCreateNestedManyWithoutProjectInput Automation?: AutomationCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelCreateNestedManyWithoutProjectInput Price?: PriceCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationCreateNestedOneWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutPendingDeletionInput = { id?: string orgId: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedCreateNestedManyWithoutProjectInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutProjectInput dataset?: DatasetUncheckedCreateNestedManyWithoutProjectInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutProjectInput sessions?: TraceSessionUncheckedCreateNestedManyWithoutProjectInput Prompt?: PromptUncheckedCreateNestedManyWithoutProjectInput Model?: ModelUncheckedCreateNestedManyWithoutProjectInput EvalTemplate?: EvalTemplateUncheckedCreateNestedManyWithoutProjectInput JobConfiguration?: JobConfigurationUncheckedCreateNestedManyWithoutProjectInput JobExecution?: JobExecutionUncheckedCreateNestedManyWithoutProjectInput LlmApiKeys?: LlmApiKeysUncheckedCreateNestedManyWithoutProjectInput PosthogIntegration?: PosthogIntegrationUncheckedCreateNestedManyWithoutProjectInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedCreateNestedManyWithoutProjectInput scoreConfig?: ScoreConfigUncheckedCreateNestedManyWithoutProjectInput BatchExport?: BatchExportUncheckedCreateNestedManyWithoutProjectInput comment?: CommentUncheckedCreateNestedManyWithoutProjectInput annotationQueue?: AnnotationQueueUncheckedCreateNestedManyWithoutProjectInput annotationQueueItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutProjectInput TraceMedia?: TraceMediaUncheckedCreateNestedManyWithoutProjectInput Media?: MediaUncheckedCreateNestedManyWithoutProjectInput ObservationMedia?: ObservationMediaUncheckedCreateNestedManyWithoutProjectInput LegacyTrace?: LegacyPrismaTraceUncheckedCreateNestedManyWithoutProjectInput LegacyObservation?: LegacyPrismaObservationUncheckedCreateNestedManyWithoutProjectInput LegacyScore?: LegacyPrismaScoreUncheckedCreateNestedManyWithoutProjectInput PromptDependency?: PromptDependencyUncheckedCreateNestedManyWithoutProjectInput LlmSchema?: LlmSchemaUncheckedCreateNestedManyWithoutProjectInput LlmTool?: LlmToolUncheckedCreateNestedManyWithoutProjectInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedCreateNestedManyWithoutProjectInput Dashboard?: DashboardUncheckedCreateNestedManyWithoutProjectInput DashboardWidget?: DashboardWidgetUncheckedCreateNestedManyWithoutProjectInput TableViewPreset?: TableViewPresetUncheckedCreateNestedManyWithoutProjectInput actions?: ActionUncheckedCreateNestedManyWithoutProjectInput triggers?: TriggerUncheckedCreateNestedManyWithoutProjectInput automationExecutions?: AutomationExecutionUncheckedCreateNestedManyWithoutProjectInput Automation?: AutomationUncheckedCreateNestedManyWithoutProjectInput DefaultLlmModel?: DefaultLlmModelUncheckedCreateNestedManyWithoutProjectInput Price?: PriceUncheckedCreateNestedManyWithoutProjectInput SlackIntegration?: SlackIntegrationUncheckedCreateNestedOneWithoutProjectInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutPendingDeletionInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectUpsertWithoutPendingDeletionInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutPendingDeletionInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutPendingDeletionInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutPendingDeletionInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type OrganizationCreateWithoutSurveysInput = { id?: string name: string createdAt?: Date | string updatedAt?: Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutOrganizationInput projects?: ProjectCreateNestedManyWithoutOrganizationInput MembershipInvitation?: MembershipInvitationCreateNestedManyWithoutOrganizationInput ApiKey?: ApiKeyCreateNestedManyWithoutOrganizationInput } export type OrganizationUncheckedCreateWithoutSurveysInput = { id?: string name: string createdAt?: Date | string updatedAt?: Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutOrganizationInput projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput MembershipInvitation?: MembershipInvitationUncheckedCreateNestedManyWithoutOrganizationInput ApiKey?: ApiKeyUncheckedCreateNestedManyWithoutOrganizationInput } export type OrganizationCreateOrConnectWithoutSurveysInput = { where: OrganizationWhereUniqueInput create: XOR } export type UserCreateWithoutSurveysInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipCreateNestedManyWithoutUserInput invitations?: MembershipInvitationCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutSurveysInput = { id?: string name?: string | null email?: string | null emailVerified?: Date | string | null password?: string | null image?: string | null admin?: boolean createdAt?: Date | string updatedAt?: Date | string featureFlags?: UserCreatefeatureFlagsInput | string[] accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput organizationMemberships?: OrganizationMembershipUncheckedCreateNestedManyWithoutUserInput projectMemberships?: ProjectMembershipUncheckedCreateNestedManyWithoutUserInput invitations?: MembershipInvitationUncheckedCreateNestedManyWithoutInvitedByUserInput annotatedLockedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutLockedByUserInput annotatedCompletedItem?: AnnotationQueueItemUncheckedCreateNestedManyWithoutAnnotatorUserInput dashboardWidgetsCreated?: DashboardWidgetUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedCreateNestedManyWithoutUpdatedByUserInput dashboardCreated?: DashboardUncheckedCreateNestedManyWithoutCreatedByUserInput dashboardUpdated?: DashboardUncheckedCreateNestedManyWithoutUpdatedByUserInput tableViewPresetCreated?: TableViewPresetUncheckedCreateNestedManyWithoutCreatedByUserInput tableViewPresetUpdated?: TableViewPresetUncheckedCreateNestedManyWithoutUpdatedByUserInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutSurveysInput = { where: UserWhereUniqueInput create: XOR } export type OrganizationUpsertWithoutSurveysInput = { update: XOR create: XOR where?: OrganizationWhereInput } export type OrganizationUpdateToOneWithWhereWithoutSurveysInput = { where?: OrganizationWhereInput data: XOR } export type OrganizationUpdateWithoutSurveysInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUpdateManyWithoutOrganizationNestedInput projects?: ProjectUpdateManyWithoutOrganizationNestedInput MembershipInvitation?: MembershipInvitationUpdateManyWithoutOrganizationNestedInput ApiKey?: ApiKeyUpdateManyWithoutOrganizationNestedInput } export type OrganizationUncheckedUpdateWithoutSurveysInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string cloudConfig?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutOrganizationNestedInput projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput MembershipInvitation?: MembershipInvitationUncheckedUpdateManyWithoutOrganizationNestedInput ApiKey?: ApiKeyUncheckedUpdateManyWithoutOrganizationNestedInput } export type UserUpsertWithoutSurveysInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutSurveysInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutSurveysInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutSurveysInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null password?: NullableStringFieldUpdateOperationsInput | string | null image?: NullableStringFieldUpdateOperationsInput | string | null admin?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string featureFlags?: UserUpdatefeatureFlagsInput | string[] accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput organizationMemberships?: OrganizationMembershipUncheckedUpdateManyWithoutUserNestedInput projectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutUserNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserNestedInput annotatedLockedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserNestedInput annotatedCompletedItem?: AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserNestedInput dashboardWidgetsCreated?: DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardWidgetsUpdated?: DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserNestedInput dashboardCreated?: DashboardUncheckedUpdateManyWithoutCreatedByUserNestedInput dashboardUpdated?: DashboardUncheckedUpdateManyWithoutUpdatedByUserNestedInput tableViewPresetCreated?: TableViewPresetUncheckedUpdateManyWithoutCreatedByUserNestedInput tableViewPresetUpdated?: TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserNestedInput } export type AccountCreateManyUserInput = { id?: string type: string provider: string providerAccountId: string refresh_token?: string | null access_token?: string | null expires_at?: number | null expires_in?: number | null ext_expires_in?: number | null token_type?: string | null scope?: string | null id_token?: string | null session_state?: string | null refresh_token_expires_in?: number | null created_at?: number | null } export type SessionCreateManyUserInput = { id?: string sessionToken: string expires: Date | string } export type OrganizationMembershipCreateManyUserInput = { id?: string orgId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string } export type ProjectMembershipCreateManyUserInput = { orgMembershipId: string projectId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string } export type MembershipInvitationCreateManyInvitedByUserInput = { id?: string email: string orgId: string orgRole: $Enums.Role projectId?: string | null projectRole?: $Enums.Role | null createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueItemCreateManyLockedByUserInput = { id?: string queueId: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null annotatorUserId?: string | null completedAt?: Date | string | null projectId: string createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueItemCreateManyAnnotatorUserInput = { id?: string queueId: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null lockedByUserId?: string | null completedAt?: Date | string | null projectId: string createdAt?: Date | string updatedAt?: Date | string } export type DashboardWidgetCreateManyCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string updatedBy?: string | null projectId?: string | null name: string description: string view: $Enums.DashboardWidgetViews dimensions: JsonNullValueInput | InputJsonValue metrics: JsonNullValueInput | InputJsonValue filters: JsonNullValueInput | InputJsonValue chartType: $Enums.DashboardWidgetChartType chartConfig: JsonNullValueInput | InputJsonValue } export type DashboardWidgetCreateManyUpdatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy?: string | null projectId?: string | null name: string description: string view: $Enums.DashboardWidgetViews dimensions: JsonNullValueInput | InputJsonValue metrics: JsonNullValueInput | InputJsonValue filters: JsonNullValueInput | InputJsonValue chartType: $Enums.DashboardWidgetChartType chartConfig: JsonNullValueInput | InputJsonValue } export type DashboardCreateManyCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string updatedBy?: string | null projectId?: string | null name: string description: string definition: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardCreateManyUpdatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy?: string | null projectId?: string | null name: string description: string definition: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type TableViewPresetCreateManyCreatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string name: string tableName: string updatedBy?: string | null filters: JsonNullValueInput | InputJsonValue columnOrder: JsonNullValueInput | InputJsonValue columnVisibility: JsonNullValueInput | InputJsonValue searchQuery?: string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type TableViewPresetCreateManyUpdatedByUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string name: string tableName: string createdBy?: string | null filters: JsonNullValueInput | InputJsonValue columnOrder: JsonNullValueInput | InputJsonValue columnVisibility: JsonNullValueInput | InputJsonValue searchQuery?: string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type AnnotationQueueAssignmentCreateManyUserInput = { id?: string projectId: string queueId: string createdAt?: Date | string updatedAt?: Date | string } export type SurveyCreateManyUserInput = { id?: string createdAt?: Date | string surveyName: $Enums.SurveyName response: JsonNullValueInput | InputJsonValue userEmail?: string | null orgId?: string | null } export type AccountUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string providerAccountId?: StringFieldUpdateOperationsInput | string refresh_token?: NullableStringFieldUpdateOperationsInput | string | null access_token?: NullableStringFieldUpdateOperationsInput | string | null expires_at?: NullableIntFieldUpdateOperationsInput | number | null expires_in?: NullableIntFieldUpdateOperationsInput | number | null ext_expires_in?: NullableIntFieldUpdateOperationsInput | number | null token_type?: NullableStringFieldUpdateOperationsInput | string | null scope?: NullableStringFieldUpdateOperationsInput | string | null id_token?: NullableStringFieldUpdateOperationsInput | string | null session_state?: NullableStringFieldUpdateOperationsInput | string | null refresh_token_expires_in?: NullableIntFieldUpdateOperationsInput | number | null created_at?: NullableIntFieldUpdateOperationsInput | number | null } export type AccountUncheckedUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string providerAccountId?: StringFieldUpdateOperationsInput | string refresh_token?: NullableStringFieldUpdateOperationsInput | string | null access_token?: NullableStringFieldUpdateOperationsInput | string | null expires_at?: NullableIntFieldUpdateOperationsInput | number | null expires_in?: NullableIntFieldUpdateOperationsInput | number | null ext_expires_in?: NullableIntFieldUpdateOperationsInput | number | null token_type?: NullableStringFieldUpdateOperationsInput | string | null scope?: NullableStringFieldUpdateOperationsInput | string | null id_token?: NullableStringFieldUpdateOperationsInput | string | null session_state?: NullableStringFieldUpdateOperationsInput | string | null refresh_token_expires_in?: NullableIntFieldUpdateOperationsInput | number | null created_at?: NullableIntFieldUpdateOperationsInput | number | null } export type AccountUncheckedUpdateManyWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string providerAccountId?: StringFieldUpdateOperationsInput | string refresh_token?: NullableStringFieldUpdateOperationsInput | string | null access_token?: NullableStringFieldUpdateOperationsInput | string | null expires_at?: NullableIntFieldUpdateOperationsInput | number | null expires_in?: NullableIntFieldUpdateOperationsInput | number | null ext_expires_in?: NullableIntFieldUpdateOperationsInput | number | null token_type?: NullableStringFieldUpdateOperationsInput | string | null scope?: NullableStringFieldUpdateOperationsInput | string | null id_token?: NullableStringFieldUpdateOperationsInput | string | null session_state?: NullableStringFieldUpdateOperationsInput | string | null refresh_token_expires_in?: NullableIntFieldUpdateOperationsInput | number | null created_at?: NullableIntFieldUpdateOperationsInput | number | null } export type SessionUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string sessionToken?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string } export type SessionUncheckedUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string sessionToken?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string } export type SessionUncheckedUpdateManyWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string sessionToken?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string } export type OrganizationMembershipUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string organization?: OrganizationUpdateOneRequiredWithoutOrganizationMembershipsNestedInput ProjectMemberships?: ProjectMembershipUpdateManyWithoutOrganizationMembershipNestedInput } export type OrganizationMembershipUncheckedUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string ProjectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutOrganizationMembershipNestedInput } export type OrganizationMembershipUncheckedUpdateManyWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectMembershipUpdateWithoutUserInput = { role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string organizationMembership?: OrganizationMembershipUpdateOneRequiredWithoutProjectMembershipsNestedInput project?: ProjectUpdateOneRequiredWithoutProjectMembersNestedInput } export type ProjectMembershipUncheckedUpdateWithoutUserInput = { orgMembershipId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectMembershipUncheckedUpdateManyWithoutUserInput = { orgMembershipId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type MembershipInvitationUpdateWithoutInvitedByUserInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string orgRole?: EnumRoleFieldUpdateOperationsInput | $Enums.Role projectRole?: NullableEnumRoleFieldUpdateOperationsInput | $Enums.Role | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string organization?: OrganizationUpdateOneRequiredWithoutMembershipInvitationNestedInput project?: ProjectUpdateOneWithoutInvitationsNestedInput } export type MembershipInvitationUncheckedUpdateWithoutInvitedByUserInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string orgRole?: EnumRoleFieldUpdateOperationsInput | $Enums.Role projectId?: NullableStringFieldUpdateOperationsInput | string | null projectRole?: NullableEnumRoleFieldUpdateOperationsInput | $Enums.Role | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type MembershipInvitationUncheckedUpdateManyWithoutInvitedByUserInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string orgRole?: EnumRoleFieldUpdateOperationsInput | $Enums.Role projectId?: NullableStringFieldUpdateOperationsInput | string | null projectRole?: NullableEnumRoleFieldUpdateOperationsInput | $Enums.Role | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueItemUpdateWithoutLockedByUserInput = { id?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string queue?: AnnotationQueueUpdateOneRequiredWithoutAnnotationQueueItemNestedInput annotatorUser?: UserUpdateOneWithoutAnnotatedCompletedItemNestedInput project?: ProjectUpdateOneRequiredWithoutAnnotationQueueItemNestedInput } export type AnnotationQueueItemUncheckedUpdateWithoutLockedByUserInput = { id?: StringFieldUpdateOperationsInput | string queueId?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null annotatorUserId?: NullableStringFieldUpdateOperationsInput | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueItemUncheckedUpdateManyWithoutLockedByUserInput = { id?: StringFieldUpdateOperationsInput | string queueId?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null annotatorUserId?: NullableStringFieldUpdateOperationsInput | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueItemUpdateWithoutAnnotatorUserInput = { id?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string queue?: AnnotationQueueUpdateOneRequiredWithoutAnnotationQueueItemNestedInput lockedByUser?: UserUpdateOneWithoutAnnotatedLockedItemNestedInput project?: ProjectUpdateOneRequiredWithoutAnnotationQueueItemNestedInput } export type AnnotationQueueItemUncheckedUpdateWithoutAnnotatorUserInput = { id?: StringFieldUpdateOperationsInput | string queueId?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lockedByUserId?: NullableStringFieldUpdateOperationsInput | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueItemUncheckedUpdateManyWithoutAnnotatorUserInput = { id?: StringFieldUpdateOperationsInput | string queueId?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lockedByUserId?: NullableStringFieldUpdateOperationsInput | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DashboardWidgetUpdateWithoutCreatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string view?: EnumDashboardWidgetViewsFieldUpdateOperationsInput | $Enums.DashboardWidgetViews dimensions?: JsonNullValueInput | InputJsonValue metrics?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue chartType?: EnumDashboardWidgetChartTypeFieldUpdateOperationsInput | $Enums.DashboardWidgetChartType chartConfig?: JsonNullValueInput | InputJsonValue updatedByUser?: UserUpdateOneWithoutDashboardWidgetsUpdatedNestedInput project?: ProjectUpdateOneWithoutDashboardWidgetNestedInput } export type DashboardWidgetUncheckedUpdateWithoutCreatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedBy?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string view?: EnumDashboardWidgetViewsFieldUpdateOperationsInput | $Enums.DashboardWidgetViews dimensions?: JsonNullValueInput | InputJsonValue metrics?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue chartType?: EnumDashboardWidgetChartTypeFieldUpdateOperationsInput | $Enums.DashboardWidgetChartType chartConfig?: JsonNullValueInput | InputJsonValue } export type DashboardWidgetUncheckedUpdateManyWithoutCreatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedBy?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string view?: EnumDashboardWidgetViewsFieldUpdateOperationsInput | $Enums.DashboardWidgetViews dimensions?: JsonNullValueInput | InputJsonValue metrics?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue chartType?: EnumDashboardWidgetChartTypeFieldUpdateOperationsInput | $Enums.DashboardWidgetChartType chartConfig?: JsonNullValueInput | InputJsonValue } export type DashboardWidgetUpdateWithoutUpdatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string view?: EnumDashboardWidgetViewsFieldUpdateOperationsInput | $Enums.DashboardWidgetViews dimensions?: JsonNullValueInput | InputJsonValue metrics?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue chartType?: EnumDashboardWidgetChartTypeFieldUpdateOperationsInput | $Enums.DashboardWidgetChartType chartConfig?: JsonNullValueInput | InputJsonValue createdByUser?: UserUpdateOneWithoutDashboardWidgetsCreatedNestedInput project?: ProjectUpdateOneWithoutDashboardWidgetNestedInput } export type DashboardWidgetUncheckedUpdateWithoutUpdatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string view?: EnumDashboardWidgetViewsFieldUpdateOperationsInput | $Enums.DashboardWidgetViews dimensions?: JsonNullValueInput | InputJsonValue metrics?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue chartType?: EnumDashboardWidgetChartTypeFieldUpdateOperationsInput | $Enums.DashboardWidgetChartType chartConfig?: JsonNullValueInput | InputJsonValue } export type DashboardWidgetUncheckedUpdateManyWithoutUpdatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string view?: EnumDashboardWidgetViewsFieldUpdateOperationsInput | $Enums.DashboardWidgetViews dimensions?: JsonNullValueInput | InputJsonValue metrics?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue chartType?: EnumDashboardWidgetChartTypeFieldUpdateOperationsInput | $Enums.DashboardWidgetChartType chartConfig?: JsonNullValueInput | InputJsonValue } export type DashboardUpdateWithoutCreatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string definition?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue updatedByUser?: UserUpdateOneWithoutDashboardUpdatedNestedInput project?: ProjectUpdateOneWithoutDashboardNestedInput } export type DashboardUncheckedUpdateWithoutCreatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedBy?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string definition?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardUncheckedUpdateManyWithoutCreatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedBy?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string definition?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardUpdateWithoutUpdatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string definition?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue createdByUser?: UserUpdateOneWithoutDashboardCreatedNestedInput project?: ProjectUpdateOneWithoutDashboardNestedInput } export type DashboardUncheckedUpdateWithoutUpdatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string definition?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardUncheckedUpdateManyWithoutUpdatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string definition?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type TableViewPresetUpdateWithoutCreatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string tableName?: StringFieldUpdateOperationsInput | string filters?: JsonNullValueInput | InputJsonValue columnOrder?: JsonNullValueInput | InputJsonValue columnVisibility?: JsonNullValueInput | InputJsonValue searchQuery?: NullableStringFieldUpdateOperationsInput | string | null orderBy?: NullableJsonNullValueInput | InputJsonValue project?: ProjectUpdateOneRequiredWithoutTableViewPresetNestedInput updatedByUser?: UserUpdateOneWithoutTableViewPresetUpdatedNestedInput } export type TableViewPresetUncheckedUpdateWithoutCreatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string tableName?: StringFieldUpdateOperationsInput | string updatedBy?: NullableStringFieldUpdateOperationsInput | string | null filters?: JsonNullValueInput | InputJsonValue columnOrder?: JsonNullValueInput | InputJsonValue columnVisibility?: JsonNullValueInput | InputJsonValue searchQuery?: NullableStringFieldUpdateOperationsInput | string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type TableViewPresetUncheckedUpdateManyWithoutCreatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string tableName?: StringFieldUpdateOperationsInput | string updatedBy?: NullableStringFieldUpdateOperationsInput | string | null filters?: JsonNullValueInput | InputJsonValue columnOrder?: JsonNullValueInput | InputJsonValue columnVisibility?: JsonNullValueInput | InputJsonValue searchQuery?: NullableStringFieldUpdateOperationsInput | string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type TableViewPresetUpdateWithoutUpdatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string tableName?: StringFieldUpdateOperationsInput | string filters?: JsonNullValueInput | InputJsonValue columnOrder?: JsonNullValueInput | InputJsonValue columnVisibility?: JsonNullValueInput | InputJsonValue searchQuery?: NullableStringFieldUpdateOperationsInput | string | null orderBy?: NullableJsonNullValueInput | InputJsonValue project?: ProjectUpdateOneRequiredWithoutTableViewPresetNestedInput createdByUser?: UserUpdateOneWithoutTableViewPresetCreatedNestedInput } export type TableViewPresetUncheckedUpdateWithoutUpdatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string tableName?: StringFieldUpdateOperationsInput | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null filters?: JsonNullValueInput | InputJsonValue columnOrder?: JsonNullValueInput | InputJsonValue columnVisibility?: JsonNullValueInput | InputJsonValue searchQuery?: NullableStringFieldUpdateOperationsInput | string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type TableViewPresetUncheckedUpdateManyWithoutUpdatedByUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string tableName?: StringFieldUpdateOperationsInput | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null filters?: JsonNullValueInput | InputJsonValue columnOrder?: JsonNullValueInput | InputJsonValue columnVisibility?: JsonNullValueInput | InputJsonValue searchQuery?: NullableStringFieldUpdateOperationsInput | string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type AnnotationQueueAssignmentUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutAnnotationQueueAssignmentNestedInput queue?: AnnotationQueueUpdateOneRequiredWithoutAnnotationQueueAssignmentNestedInput } export type AnnotationQueueAssignmentUncheckedUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string queueId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueAssignmentUncheckedUpdateManyWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string queueId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SurveyUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string surveyName?: EnumSurveyNameFieldUpdateOperationsInput | $Enums.SurveyName response?: JsonNullValueInput | InputJsonValue userEmail?: NullableStringFieldUpdateOperationsInput | string | null org?: OrganizationUpdateOneWithoutSurveysNestedInput } export type SurveyUncheckedUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string surveyName?: EnumSurveyNameFieldUpdateOperationsInput | $Enums.SurveyName response?: JsonNullValueInput | InputJsonValue userEmail?: NullableStringFieldUpdateOperationsInput | string | null orgId?: NullableStringFieldUpdateOperationsInput | string | null } export type SurveyUncheckedUpdateManyWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string surveyName?: EnumSurveyNameFieldUpdateOperationsInput | $Enums.SurveyName response?: JsonNullValueInput | InputJsonValue userEmail?: NullableStringFieldUpdateOperationsInput | string | null orgId?: NullableStringFieldUpdateOperationsInput | string | null } export type OrganizationMembershipCreateManyOrganizationInput = { id?: string userId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string } export type ProjectCreateManyOrganizationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string deletedAt?: Date | string | null name: string retentionDays?: number | null metadata?: NullableJsonNullValueInput | InputJsonValue } export type MembershipInvitationCreateManyOrganizationInput = { id?: string email: string orgRole: $Enums.Role projectId?: string | null projectRole?: $Enums.Role | null invitedByUserId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type ApiKeyCreateManyOrganizationInput = { id?: string createdAt?: Date | string note?: string | null publicKey: string hashedSecretKey: string fastHashedSecretKey?: string | null displaySecretKey: string lastUsedAt?: Date | string | null expiresAt?: Date | string | null projectId?: string | null scope?: $Enums.ApiKeyScope } export type SurveyCreateManyOrgInput = { id?: string createdAt?: Date | string surveyName: $Enums.SurveyName response: JsonNullValueInput | InputJsonValue userId?: string | null userEmail?: string | null } export type OrganizationMembershipUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string user?: UserUpdateOneRequiredWithoutOrganizationMembershipsNestedInput ProjectMemberships?: ProjectMembershipUpdateManyWithoutOrganizationMembershipNestedInput } export type OrganizationMembershipUncheckedUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string ProjectMemberships?: ProjectMembershipUncheckedUpdateManyWithoutOrganizationMembershipNestedInput } export type OrganizationMembershipUncheckedUpdateManyWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUpdateManyWithoutProjectNestedInput dataset?: DatasetUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUpdateManyWithoutProjectNestedInput Prompt?: PromptUpdateManyWithoutProjectNestedInput Model?: ModelUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUpdateManyWithoutProjectNestedInput comment?: CommentUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUpdateManyWithoutProjectNestedInput Media?: MediaUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUpdateManyWithoutProjectNestedInput actions?: ActionUpdateManyWithoutProjectNestedInput triggers?: TriggerUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutProjectNestedInput Automation?: AutomationUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutProjectNestedInput Price?: PriceUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue projectMembers?: ProjectMembershipUncheckedUpdateManyWithoutProjectNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutProjectNestedInput dataset?: DatasetUncheckedUpdateManyWithoutProjectNestedInput invitations?: MembershipInvitationUncheckedUpdateManyWithoutProjectNestedInput sessions?: TraceSessionUncheckedUpdateManyWithoutProjectNestedInput Prompt?: PromptUncheckedUpdateManyWithoutProjectNestedInput Model?: ModelUncheckedUpdateManyWithoutProjectNestedInput EvalTemplate?: EvalTemplateUncheckedUpdateManyWithoutProjectNestedInput JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutProjectNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutProjectNestedInput LlmApiKeys?: LlmApiKeysUncheckedUpdateManyWithoutProjectNestedInput PosthogIntegration?: PosthogIntegrationUncheckedUpdateManyWithoutProjectNestedInput BlobStorageIntegration?: BlobStorageIntegrationUncheckedUpdateManyWithoutProjectNestedInput scoreConfig?: ScoreConfigUncheckedUpdateManyWithoutProjectNestedInput BatchExport?: BatchExportUncheckedUpdateManyWithoutProjectNestedInput comment?: CommentUncheckedUpdateManyWithoutProjectNestedInput annotationQueue?: AnnotationQueueUncheckedUpdateManyWithoutProjectNestedInput annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutProjectNestedInput TraceMedia?: TraceMediaUncheckedUpdateManyWithoutProjectNestedInput Media?: MediaUncheckedUpdateManyWithoutProjectNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutProjectNestedInput LegacyTrace?: LegacyPrismaTraceUncheckedUpdateManyWithoutProjectNestedInput LegacyObservation?: LegacyPrismaObservationUncheckedUpdateManyWithoutProjectNestedInput LegacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutProjectNestedInput PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutProjectNestedInput LlmSchema?: LlmSchemaUncheckedUpdateManyWithoutProjectNestedInput LlmTool?: LlmToolUncheckedUpdateManyWithoutProjectNestedInput PromptProtectedLabels?: PromptProtectedLabelsUncheckedUpdateManyWithoutProjectNestedInput Dashboard?: DashboardUncheckedUpdateManyWithoutProjectNestedInput DashboardWidget?: DashboardWidgetUncheckedUpdateManyWithoutProjectNestedInput TableViewPreset?: TableViewPresetUncheckedUpdateManyWithoutProjectNestedInput actions?: ActionUncheckedUpdateManyWithoutProjectNestedInput triggers?: TriggerUncheckedUpdateManyWithoutProjectNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutProjectNestedInput Automation?: AutomationUncheckedUpdateManyWithoutProjectNestedInput DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutProjectNestedInput Price?: PriceUncheckedUpdateManyWithoutProjectNestedInput SlackIntegration?: SlackIntegrationUncheckedUpdateOneWithoutProjectNestedInput PendingDeletion?: PendingDeletionUncheckedUpdateManyWithoutProjectNestedInput AnnotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateManyWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string deletedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string retentionDays?: NullableIntFieldUpdateOperationsInput | number | null metadata?: NullableJsonNullValueInput | InputJsonValue } export type MembershipInvitationUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string orgRole?: EnumRoleFieldUpdateOperationsInput | $Enums.Role projectRole?: NullableEnumRoleFieldUpdateOperationsInput | $Enums.Role | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneWithoutInvitationsNestedInput invitedByUser?: UserUpdateOneWithoutInvitationsNestedInput } export type MembershipInvitationUncheckedUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string orgRole?: EnumRoleFieldUpdateOperationsInput | $Enums.Role projectId?: NullableStringFieldUpdateOperationsInput | string | null projectRole?: NullableEnumRoleFieldUpdateOperationsInput | $Enums.Role | null invitedByUserId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type MembershipInvitationUncheckedUpdateManyWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string orgRole?: EnumRoleFieldUpdateOperationsInput | $Enums.Role projectId?: NullableStringFieldUpdateOperationsInput | string | null projectRole?: NullableEnumRoleFieldUpdateOperationsInput | $Enums.Role | null invitedByUserId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ApiKeyUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string note?: NullableStringFieldUpdateOperationsInput | string | null publicKey?: StringFieldUpdateOperationsInput | string hashedSecretKey?: StringFieldUpdateOperationsInput | string fastHashedSecretKey?: NullableStringFieldUpdateOperationsInput | string | null displaySecretKey?: StringFieldUpdateOperationsInput | string lastUsedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null scope?: EnumApiKeyScopeFieldUpdateOperationsInput | $Enums.ApiKeyScope project?: ProjectUpdateOneWithoutApiKeysNestedInput } export type ApiKeyUncheckedUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string note?: NullableStringFieldUpdateOperationsInput | string | null publicKey?: StringFieldUpdateOperationsInput | string hashedSecretKey?: StringFieldUpdateOperationsInput | string fastHashedSecretKey?: NullableStringFieldUpdateOperationsInput | string | null displaySecretKey?: StringFieldUpdateOperationsInput | string lastUsedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null scope?: EnumApiKeyScopeFieldUpdateOperationsInput | $Enums.ApiKeyScope } export type ApiKeyUncheckedUpdateManyWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string note?: NullableStringFieldUpdateOperationsInput | string | null publicKey?: StringFieldUpdateOperationsInput | string hashedSecretKey?: StringFieldUpdateOperationsInput | string fastHashedSecretKey?: NullableStringFieldUpdateOperationsInput | string | null displaySecretKey?: StringFieldUpdateOperationsInput | string lastUsedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null projectId?: NullableStringFieldUpdateOperationsInput | string | null scope?: EnumApiKeyScopeFieldUpdateOperationsInput | $Enums.ApiKeyScope } export type SurveyUpdateWithoutOrgInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string surveyName?: EnumSurveyNameFieldUpdateOperationsInput | $Enums.SurveyName response?: JsonNullValueInput | InputJsonValue userEmail?: NullableStringFieldUpdateOperationsInput | string | null user?: UserUpdateOneWithoutSurveysNestedInput } export type SurveyUncheckedUpdateWithoutOrgInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string surveyName?: EnumSurveyNameFieldUpdateOperationsInput | $Enums.SurveyName response?: JsonNullValueInput | InputJsonValue userId?: NullableStringFieldUpdateOperationsInput | string | null userEmail?: NullableStringFieldUpdateOperationsInput | string | null } export type SurveyUncheckedUpdateManyWithoutOrgInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string surveyName?: EnumSurveyNameFieldUpdateOperationsInput | $Enums.SurveyName response?: JsonNullValueInput | InputJsonValue userId?: NullableStringFieldUpdateOperationsInput | string | null userEmail?: NullableStringFieldUpdateOperationsInput | string | null } export type ProjectMembershipCreateManyProjectInput = { orgMembershipId: string userId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string } export type ApiKeyCreateManyProjectInput = { id?: string createdAt?: Date | string note?: string | null publicKey: string hashedSecretKey: string fastHashedSecretKey?: string | null displaySecretKey: string lastUsedAt?: Date | string | null expiresAt?: Date | string | null orgId?: string | null scope?: $Enums.ApiKeyScope } export type DatasetCreateManyProjectInput = { id?: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type MembershipInvitationCreateManyProjectInput = { id?: string email: string orgId: string orgRole: $Enums.Role projectRole?: $Enums.Role | null invitedByUserId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type TraceSessionCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string bookmarked?: boolean public?: boolean environment?: string } export type PromptCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy: string prompt: JsonNullValueInput | InputJsonValue name: string version: number type?: string isActive?: boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptCreatetagsInput | string[] labels?: PromptCreatelabelsInput | string[] commitMessage?: string | null } export type ModelCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string modelName: string matchPattern: string startDate?: Date | string | null inputPrice?: Decimal | DecimalJsLike | number | string | null outputPrice?: Decimal | DecimalJsLike | number | string | null totalPrice?: Decimal | DecimalJsLike | number | string | null unit?: string | null tokenizerId?: string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue } export type EvalTemplateCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string version: number prompt: string partner?: string | null model?: string | null provider?: string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateCreatevarsInput | string[] outputSchema: JsonNullValueInput | InputJsonValue } export type JobConfigurationCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string jobType: $Enums.JobType status?: $Enums.JobConfigState evalTemplateId?: string | null scoreName: string filter: JsonNullValueInput | InputJsonValue targetObject: string variableMapping: JsonNullValueInput | InputJsonValue sampling: Decimal | DecimalJsLike | number | string delay: number timeScope?: JobConfigurationCreatetimeScopeInput | string[] } export type JobExecutionCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string jobConfigurationId: string jobTemplateId?: string | null status: $Enums.JobExecutionStatus startTime?: Date | string | null endTime?: Date | string | null error?: string | null jobInputTraceId?: string | null jobInputTraceTimestamp?: Date | string | null jobInputObservationId?: string | null jobInputDatasetItemId?: string | null jobOutputScoreId?: string | null } export type LlmApiKeysCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string provider: string adapter: string displaySecretKey: string secretKey: string baseURL?: string | null customModels?: LlmApiKeysCreatecustomModelsInput | string[] withDefaultModels?: boolean extraHeaders?: string | null extraHeaderKeys?: LlmApiKeysCreateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue } export type PosthogIntegrationCreateManyProjectInput = { encryptedPosthogApiKey: string posthogHostName: string lastSyncAt?: Date | string | null enabled: boolean createdAt?: Date | string } export type BlobStorageIntegrationCreateManyProjectInput = { type: $Enums.BlobStorageIntegrationType bucketName: string prefix: string accessKeyId?: string | null secretAccessKey?: string | null region: string endpoint?: string | null forcePathStyle: boolean nextSyncAt?: Date | string | null lastSyncAt?: Date | string | null enabled: boolean exportFrequency: string fileType?: $Enums.BlobStorageIntegrationFileType exportMode?: $Enums.BlobStorageExportMode exportStartDate?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type ScoreConfigCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string dataType: $Enums.ScoreDataType isArchived?: boolean minValue?: number | null maxValue?: number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: string | null } export type BatchExportCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string userId: string finishedAt?: Date | string | null expiresAt?: Date | string | null name: string status: string query: JsonNullValueInput | InputJsonValue format: string url?: string | null log?: string | null } export type CommentCreateManyProjectInput = { id?: string objectType: $Enums.CommentObjectType objectId: string createdAt?: Date | string updatedAt?: Date | string content: string authorUserId?: string | null } export type AnnotationQueueCreateManyProjectInput = { id?: string name: string description?: string | null scoreConfigIds?: AnnotationQueueCreatescoreConfigIdsInput | string[] createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueItemCreateManyProjectInput = { id?: string queueId: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null lockedByUserId?: string | null annotatorUserId?: string | null completedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type TraceMediaCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string mediaId: string traceId: string field: string } export type MediaCreateManyProjectInput = { id: string sha256Hash: string createdAt?: Date | string updatedAt?: Date | string uploadedAt?: Date | string | null uploadHttpStatus?: number | null uploadHttpError?: string | null bucketPath: string bucketName: string contentType: string contentLength: bigint | number } export type ObservationMediaCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string mediaId: string traceId: string observationId: string field: string } export type LegacyPrismaTraceCreateManyProjectInput = { id?: string externalId?: string | null timestamp?: Date | string name?: string | null userId?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue release?: string | null version?: string | null public?: boolean bookmarked?: boolean tags?: LegacyPrismaTraceCreatetagsInput | string[] input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue sessionId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type LegacyPrismaObservationCreateManyProjectInput = { id?: string traceId?: string | null type: $Enums.LegacyPrismaObservationType startTime?: Date | string endTime?: Date | string | null name?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue parentObservationId?: string | null level?: $Enums.LegacyPrismaObservationLevel statusMessage?: string | null version?: string | null createdAt?: Date | string updatedAt?: Date | string model?: string | null internalModel?: string | null internalModelId?: string | null modelParameters?: NullableJsonNullValueInput | InputJsonValue input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue promptTokens?: number completionTokens?: number totalTokens?: number unit?: string | null inputCost?: Decimal | DecimalJsLike | number | string | null outputCost?: Decimal | DecimalJsLike | number | string | null totalCost?: Decimal | DecimalJsLike | number | string | null calculatedInputCost?: Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: Decimal | DecimalJsLike | number | string | null completionStartTime?: Date | string | null promptId?: string | null } export type LegacyPrismaScoreCreateManyProjectInput = { id?: string timestamp?: Date | string name: string value?: number | null source: $Enums.LegacyPrismaScoreSource authorUserId?: string | null comment?: string | null traceId: string observationId?: string | null configId?: string | null stringValue?: string | null queueId?: string | null createdAt?: Date | string updatedAt?: Date | string dataType?: $Enums.ScoreDataType } export type PromptDependencyCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string parentId: string childName: string childLabel?: string | null childVersion?: number | null } export type LlmSchemaCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string schema: JsonNullValueInput | InputJsonValue } export type LlmToolCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string description: string parameters: JsonNullValueInput | InputJsonValue } export type PromptProtectedLabelsCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string label: string } export type DashboardCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy?: string | null updatedBy?: string | null name: string description: string definition: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardWidgetCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string createdBy?: string | null updatedBy?: string | null name: string description: string view: $Enums.DashboardWidgetViews dimensions: JsonNullValueInput | InputJsonValue metrics: JsonNullValueInput | InputJsonValue filters: JsonNullValueInput | InputJsonValue chartType: $Enums.DashboardWidgetChartType chartConfig: JsonNullValueInput | InputJsonValue } export type TableViewPresetCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string name: string tableName: string createdBy?: string | null updatedBy?: string | null filters: JsonNullValueInput | InputJsonValue columnOrder: JsonNullValueInput | InputJsonValue columnVisibility: JsonNullValueInput | InputJsonValue searchQuery?: string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type ActionCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string type: $Enums.ActionType config: JsonNullValueInput | InputJsonValue } export type TriggerCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string eventSource: string eventActions?: TriggerCreateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: $Enums.JobConfigState } export type AutomationExecutionCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string automationId: string triggerId: string actionId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null } export type AutomationCreateManyProjectInput = { id?: string name: string triggerId: string actionId: string createdAt?: Date | string } export type DefaultLlmModelCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string llmApiKeyId: string provider: string adapter: string model: string modelParams?: NullableJsonNullValueInput | InputJsonValue } export type PriceCreateManyProjectInput = { id?: string createdAt?: Date | string updatedAt?: Date | string modelId: string usageType: string price: Decimal | DecimalJsLike | number | string } export type PendingDeletionCreateManyProjectInput = { id?: string object: string objectId: string isDeleted?: boolean createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueAssignmentCreateManyProjectInput = { id?: string userId: string queueId: string createdAt?: Date | string updatedAt?: Date | string } export type ProjectMembershipUpdateWithoutProjectInput = { role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string organizationMembership?: OrganizationMembershipUpdateOneRequiredWithoutProjectMembershipsNestedInput user?: UserUpdateOneRequiredWithoutProjectMembershipsNestedInput } export type ProjectMembershipUncheckedUpdateWithoutProjectInput = { orgMembershipId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectMembershipUncheckedUpdateManyWithoutProjectInput = { orgMembershipId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ApiKeyUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string note?: NullableStringFieldUpdateOperationsInput | string | null publicKey?: StringFieldUpdateOperationsInput | string hashedSecretKey?: StringFieldUpdateOperationsInput | string fastHashedSecretKey?: NullableStringFieldUpdateOperationsInput | string | null displaySecretKey?: StringFieldUpdateOperationsInput | string lastUsedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null scope?: EnumApiKeyScopeFieldUpdateOperationsInput | $Enums.ApiKeyScope organization?: OrganizationUpdateOneWithoutApiKeyNestedInput } export type ApiKeyUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string note?: NullableStringFieldUpdateOperationsInput | string | null publicKey?: StringFieldUpdateOperationsInput | string hashedSecretKey?: StringFieldUpdateOperationsInput | string fastHashedSecretKey?: NullableStringFieldUpdateOperationsInput | string | null displaySecretKey?: StringFieldUpdateOperationsInput | string lastUsedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null orgId?: NullableStringFieldUpdateOperationsInput | string | null scope?: EnumApiKeyScopeFieldUpdateOperationsInput | $Enums.ApiKeyScope } export type ApiKeyUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string note?: NullableStringFieldUpdateOperationsInput | string | null publicKey?: StringFieldUpdateOperationsInput | string hashedSecretKey?: StringFieldUpdateOperationsInput | string fastHashedSecretKey?: NullableStringFieldUpdateOperationsInput | string | null displaySecretKey?: StringFieldUpdateOperationsInput | string lastUsedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null orgId?: NullableStringFieldUpdateOperationsInput | string | null scope?: EnumApiKeyScopeFieldUpdateOperationsInput | $Enums.ApiKeyScope } export type DatasetUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: NullableStringFieldUpdateOperationsInput | string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string datasetItems?: DatasetItemUpdateManyWithoutDatasetNestedInput datasetRuns?: DatasetRunsUpdateManyWithoutDatasetNestedInput } export type DatasetUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: NullableStringFieldUpdateOperationsInput | string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string datasetItems?: DatasetItemUncheckedUpdateManyWithoutDatasetNestedInput datasetRuns?: DatasetRunsUncheckedUpdateManyWithoutDatasetNestedInput } export type DatasetUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue remoteExperimentUrl?: NullableStringFieldUpdateOperationsInput | string | null remoteExperimentPayload?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type MembershipInvitationUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string orgRole?: EnumRoleFieldUpdateOperationsInput | $Enums.Role projectRole?: NullableEnumRoleFieldUpdateOperationsInput | $Enums.Role | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string organization?: OrganizationUpdateOneRequiredWithoutMembershipInvitationNestedInput invitedByUser?: UserUpdateOneWithoutInvitationsNestedInput } export type MembershipInvitationUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string orgRole?: EnumRoleFieldUpdateOperationsInput | $Enums.Role projectRole?: NullableEnumRoleFieldUpdateOperationsInput | $Enums.Role | null invitedByUserId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type MembershipInvitationUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string orgRole?: EnumRoleFieldUpdateOperationsInput | $Enums.Role projectRole?: NullableEnumRoleFieldUpdateOperationsInput | $Enums.Role | null invitedByUserId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type TraceSessionUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string bookmarked?: BoolFieldUpdateOperationsInput | boolean public?: BoolFieldUpdateOperationsInput | boolean environment?: StringFieldUpdateOperationsInput | string } export type TraceSessionUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string bookmarked?: BoolFieldUpdateOperationsInput | boolean public?: BoolFieldUpdateOperationsInput | boolean environment?: StringFieldUpdateOperationsInput | string } export type TraceSessionUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string bookmarked?: BoolFieldUpdateOperationsInput | boolean public?: BoolFieldUpdateOperationsInput | boolean environment?: StringFieldUpdateOperationsInput | string } export type PromptUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: StringFieldUpdateOperationsInput | string prompt?: JsonNullValueInput | InputJsonValue name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number type?: StringFieldUpdateOperationsInput | string isActive?: NullableBoolFieldUpdateOperationsInput | boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptUpdatetagsInput | string[] labels?: PromptUpdatelabelsInput | string[] commitMessage?: NullableStringFieldUpdateOperationsInput | string | null PromptDependency?: PromptDependencyUpdateManyWithoutParentNestedInput } export type PromptUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: StringFieldUpdateOperationsInput | string prompt?: JsonNullValueInput | InputJsonValue name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number type?: StringFieldUpdateOperationsInput | string isActive?: NullableBoolFieldUpdateOperationsInput | boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptUpdatetagsInput | string[] labels?: PromptUpdatelabelsInput | string[] commitMessage?: NullableStringFieldUpdateOperationsInput | string | null PromptDependency?: PromptDependencyUncheckedUpdateManyWithoutParentNestedInput } export type PromptUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: StringFieldUpdateOperationsInput | string prompt?: JsonNullValueInput | InputJsonValue name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number type?: StringFieldUpdateOperationsInput | string isActive?: NullableBoolFieldUpdateOperationsInput | boolean | null config?: JsonNullValueInput | InputJsonValue tags?: PromptUpdatetagsInput | string[] labels?: PromptUpdatelabelsInput | string[] commitMessage?: NullableStringFieldUpdateOperationsInput | string | null } export type ModelUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string modelName?: StringFieldUpdateOperationsInput | string matchPattern?: StringFieldUpdateOperationsInput | string startDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null inputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null unit?: NullableStringFieldUpdateOperationsInput | string | null tokenizerId?: NullableStringFieldUpdateOperationsInput | string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue Price?: PriceUpdateManyWithoutModelNestedInput } export type ModelUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string modelName?: StringFieldUpdateOperationsInput | string matchPattern?: StringFieldUpdateOperationsInput | string startDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null inputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null unit?: NullableStringFieldUpdateOperationsInput | string | null tokenizerId?: NullableStringFieldUpdateOperationsInput | string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue Price?: PriceUncheckedUpdateManyWithoutModelNestedInput } export type ModelUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string modelName?: StringFieldUpdateOperationsInput | string matchPattern?: StringFieldUpdateOperationsInput | string startDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null inputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalPrice?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null unit?: NullableStringFieldUpdateOperationsInput | string | null tokenizerId?: NullableStringFieldUpdateOperationsInput | string | null tokenizerConfig?: NullableJsonNullValueInput | InputJsonValue } export type EvalTemplateUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number prompt?: StringFieldUpdateOperationsInput | string partner?: NullableStringFieldUpdateOperationsInput | string | null model?: NullableStringFieldUpdateOperationsInput | string | null provider?: NullableStringFieldUpdateOperationsInput | string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateUpdatevarsInput | string[] outputSchema?: JsonNullValueInput | InputJsonValue JobConfiguration?: JobConfigurationUpdateManyWithoutEvalTemplateNestedInput JobExecution?: JobExecutionUpdateManyWithoutJobTemplateNestedInput } export type EvalTemplateUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number prompt?: StringFieldUpdateOperationsInput | string partner?: NullableStringFieldUpdateOperationsInput | string | null model?: NullableStringFieldUpdateOperationsInput | string | null provider?: NullableStringFieldUpdateOperationsInput | string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateUpdatevarsInput | string[] outputSchema?: JsonNullValueInput | InputJsonValue JobConfiguration?: JobConfigurationUncheckedUpdateManyWithoutEvalTemplateNestedInput JobExecution?: JobExecutionUncheckedUpdateManyWithoutJobTemplateNestedInput } export type EvalTemplateUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string version?: IntFieldUpdateOperationsInput | number prompt?: StringFieldUpdateOperationsInput | string partner?: NullableStringFieldUpdateOperationsInput | string | null model?: NullableStringFieldUpdateOperationsInput | string | null provider?: NullableStringFieldUpdateOperationsInput | string | null modelParams?: NullableJsonNullValueInput | InputJsonValue vars?: EvalTemplateUpdatevarsInput | string[] outputSchema?: JsonNullValueInput | InputJsonValue } export type JobConfigurationUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string jobType?: EnumJobTypeFieldUpdateOperationsInput | $Enums.JobType status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState scoreName?: StringFieldUpdateOperationsInput | string filter?: JsonNullValueInput | InputJsonValue targetObject?: StringFieldUpdateOperationsInput | string variableMapping?: JsonNullValueInput | InputJsonValue sampling?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string delay?: IntFieldUpdateOperationsInput | number timeScope?: JobConfigurationUpdatetimeScopeInput | string[] evalTemplate?: EvalTemplateUpdateOneWithoutJobConfigurationNestedInput JobExecution?: JobExecutionUpdateManyWithoutJobConfigurationNestedInput } export type JobConfigurationUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string jobType?: EnumJobTypeFieldUpdateOperationsInput | $Enums.JobType status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState evalTemplateId?: NullableStringFieldUpdateOperationsInput | string | null scoreName?: StringFieldUpdateOperationsInput | string filter?: JsonNullValueInput | InputJsonValue targetObject?: StringFieldUpdateOperationsInput | string variableMapping?: JsonNullValueInput | InputJsonValue sampling?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string delay?: IntFieldUpdateOperationsInput | number timeScope?: JobConfigurationUpdatetimeScopeInput | string[] JobExecution?: JobExecutionUncheckedUpdateManyWithoutJobConfigurationNestedInput } export type JobConfigurationUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string jobType?: EnumJobTypeFieldUpdateOperationsInput | $Enums.JobType status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState evalTemplateId?: NullableStringFieldUpdateOperationsInput | string | null scoreName?: StringFieldUpdateOperationsInput | string filter?: JsonNullValueInput | InputJsonValue targetObject?: StringFieldUpdateOperationsInput | string variableMapping?: JsonNullValueInput | InputJsonValue sampling?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string delay?: IntFieldUpdateOperationsInput | number timeScope?: JobConfigurationUpdatetimeScopeInput | string[] } export type JobExecutionUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string status?: EnumJobExecutionStatusFieldUpdateOperationsInput | $Enums.JobExecutionStatus startTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceId?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceTimestamp?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobInputObservationId?: NullableStringFieldUpdateOperationsInput | string | null jobInputDatasetItemId?: NullableStringFieldUpdateOperationsInput | string | null jobOutputScoreId?: NullableStringFieldUpdateOperationsInput | string | null jobConfiguration?: JobConfigurationUpdateOneRequiredWithoutJobExecutionNestedInput jobTemplate?: EvalTemplateUpdateOneWithoutJobExecutionNestedInput } export type JobExecutionUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string jobConfigurationId?: StringFieldUpdateOperationsInput | string jobTemplateId?: NullableStringFieldUpdateOperationsInput | string | null status?: EnumJobExecutionStatusFieldUpdateOperationsInput | $Enums.JobExecutionStatus startTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceId?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceTimestamp?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobInputObservationId?: NullableStringFieldUpdateOperationsInput | string | null jobInputDatasetItemId?: NullableStringFieldUpdateOperationsInput | string | null jobOutputScoreId?: NullableStringFieldUpdateOperationsInput | string | null } export type JobExecutionUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string jobConfigurationId?: StringFieldUpdateOperationsInput | string jobTemplateId?: NullableStringFieldUpdateOperationsInput | string | null status?: EnumJobExecutionStatusFieldUpdateOperationsInput | $Enums.JobExecutionStatus startTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceId?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceTimestamp?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobInputObservationId?: NullableStringFieldUpdateOperationsInput | string | null jobInputDatasetItemId?: NullableStringFieldUpdateOperationsInput | string | null jobOutputScoreId?: NullableStringFieldUpdateOperationsInput | string | null } export type LlmApiKeysUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string displaySecretKey?: StringFieldUpdateOperationsInput | string secretKey?: StringFieldUpdateOperationsInput | string baseURL?: NullableStringFieldUpdateOperationsInput | string | null customModels?: LlmApiKeysUpdatecustomModelsInput | string[] withDefaultModels?: BoolFieldUpdateOperationsInput | boolean extraHeaders?: NullableStringFieldUpdateOperationsInput | string | null extraHeaderKeys?: LlmApiKeysUpdateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue DefaultLlmModel?: DefaultLlmModelUpdateManyWithoutLlmApiKeyNestedInput } export type LlmApiKeysUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string displaySecretKey?: StringFieldUpdateOperationsInput | string secretKey?: StringFieldUpdateOperationsInput | string baseURL?: NullableStringFieldUpdateOperationsInput | string | null customModels?: LlmApiKeysUpdatecustomModelsInput | string[] withDefaultModels?: BoolFieldUpdateOperationsInput | boolean extraHeaders?: NullableStringFieldUpdateOperationsInput | string | null extraHeaderKeys?: LlmApiKeysUpdateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue DefaultLlmModel?: DefaultLlmModelUncheckedUpdateManyWithoutLlmApiKeyNestedInput } export type LlmApiKeysUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string displaySecretKey?: StringFieldUpdateOperationsInput | string secretKey?: StringFieldUpdateOperationsInput | string baseURL?: NullableStringFieldUpdateOperationsInput | string | null customModels?: LlmApiKeysUpdatecustomModelsInput | string[] withDefaultModels?: BoolFieldUpdateOperationsInput | boolean extraHeaders?: NullableStringFieldUpdateOperationsInput | string | null extraHeaderKeys?: LlmApiKeysUpdateextraHeaderKeysInput | string[] config?: NullableJsonNullValueInput | InputJsonValue } export type PosthogIntegrationUpdateWithoutProjectInput = { encryptedPosthogApiKey?: StringFieldUpdateOperationsInput | string posthogHostName?: StringFieldUpdateOperationsInput | string lastSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null enabled?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type PosthogIntegrationUncheckedUpdateWithoutProjectInput = { encryptedPosthogApiKey?: StringFieldUpdateOperationsInput | string posthogHostName?: StringFieldUpdateOperationsInput | string lastSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null enabled?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type PosthogIntegrationUncheckedUpdateManyWithoutProjectInput = { encryptedPosthogApiKey?: StringFieldUpdateOperationsInput | string posthogHostName?: StringFieldUpdateOperationsInput | string lastSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null enabled?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type BlobStorageIntegrationUpdateWithoutProjectInput = { type?: EnumBlobStorageIntegrationTypeFieldUpdateOperationsInput | $Enums.BlobStorageIntegrationType bucketName?: StringFieldUpdateOperationsInput | string prefix?: StringFieldUpdateOperationsInput | string accessKeyId?: NullableStringFieldUpdateOperationsInput | string | null secretAccessKey?: NullableStringFieldUpdateOperationsInput | string | null region?: StringFieldUpdateOperationsInput | string endpoint?: NullableStringFieldUpdateOperationsInput | string | null forcePathStyle?: BoolFieldUpdateOperationsInput | boolean nextSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null enabled?: BoolFieldUpdateOperationsInput | boolean exportFrequency?: StringFieldUpdateOperationsInput | string fileType?: EnumBlobStorageIntegrationFileTypeFieldUpdateOperationsInput | $Enums.BlobStorageIntegrationFileType exportMode?: EnumBlobStorageExportModeFieldUpdateOperationsInput | $Enums.BlobStorageExportMode exportStartDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type BlobStorageIntegrationUncheckedUpdateWithoutProjectInput = { type?: EnumBlobStorageIntegrationTypeFieldUpdateOperationsInput | $Enums.BlobStorageIntegrationType bucketName?: StringFieldUpdateOperationsInput | string prefix?: StringFieldUpdateOperationsInput | string accessKeyId?: NullableStringFieldUpdateOperationsInput | string | null secretAccessKey?: NullableStringFieldUpdateOperationsInput | string | null region?: StringFieldUpdateOperationsInput | string endpoint?: NullableStringFieldUpdateOperationsInput | string | null forcePathStyle?: BoolFieldUpdateOperationsInput | boolean nextSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null enabled?: BoolFieldUpdateOperationsInput | boolean exportFrequency?: StringFieldUpdateOperationsInput | string fileType?: EnumBlobStorageIntegrationFileTypeFieldUpdateOperationsInput | $Enums.BlobStorageIntegrationFileType exportMode?: EnumBlobStorageExportModeFieldUpdateOperationsInput | $Enums.BlobStorageExportMode exportStartDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type BlobStorageIntegrationUncheckedUpdateManyWithoutProjectInput = { type?: EnumBlobStorageIntegrationTypeFieldUpdateOperationsInput | $Enums.BlobStorageIntegrationType bucketName?: StringFieldUpdateOperationsInput | string prefix?: StringFieldUpdateOperationsInput | string accessKeyId?: NullableStringFieldUpdateOperationsInput | string | null secretAccessKey?: NullableStringFieldUpdateOperationsInput | string | null region?: StringFieldUpdateOperationsInput | string endpoint?: NullableStringFieldUpdateOperationsInput | string | null forcePathStyle?: BoolFieldUpdateOperationsInput | boolean nextSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastSyncAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null enabled?: BoolFieldUpdateOperationsInput | boolean exportFrequency?: StringFieldUpdateOperationsInput | string fileType?: EnumBlobStorageIntegrationFileTypeFieldUpdateOperationsInput | $Enums.BlobStorageIntegrationFileType exportMode?: EnumBlobStorageExportModeFieldUpdateOperationsInput | $Enums.BlobStorageExportMode exportStartDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ScoreConfigUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType isArchived?: BoolFieldUpdateOperationsInput | boolean minValue?: NullableFloatFieldUpdateOperationsInput | number | null maxValue?: NullableFloatFieldUpdateOperationsInput | number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: NullableStringFieldUpdateOperationsInput | string | null legacyScore?: LegacyPrismaScoreUpdateManyWithoutScoreConfigNestedInput } export type ScoreConfigUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType isArchived?: BoolFieldUpdateOperationsInput | boolean minValue?: NullableFloatFieldUpdateOperationsInput | number | null maxValue?: NullableFloatFieldUpdateOperationsInput | number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: NullableStringFieldUpdateOperationsInput | string | null legacyScore?: LegacyPrismaScoreUncheckedUpdateManyWithoutScoreConfigNestedInput } export type ScoreConfigUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType isArchived?: BoolFieldUpdateOperationsInput | boolean minValue?: NullableFloatFieldUpdateOperationsInput | number | null maxValue?: NullableFloatFieldUpdateOperationsInput | number | null categories?: NullableJsonNullValueInput | InputJsonValue description?: NullableStringFieldUpdateOperationsInput | string | null } export type BatchExportUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string query?: JsonNullValueInput | InputJsonValue format?: StringFieldUpdateOperationsInput | string url?: NullableStringFieldUpdateOperationsInput | string | null log?: NullableStringFieldUpdateOperationsInput | string | null } export type BatchExportUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string query?: JsonNullValueInput | InputJsonValue format?: StringFieldUpdateOperationsInput | string url?: NullableStringFieldUpdateOperationsInput | string | null log?: NullableStringFieldUpdateOperationsInput | string | null } export type BatchExportUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null expiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string query?: JsonNullValueInput | InputJsonValue format?: StringFieldUpdateOperationsInput | string url?: NullableStringFieldUpdateOperationsInput | string | null log?: NullableStringFieldUpdateOperationsInput | string | null } export type CommentUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string objectType?: EnumCommentObjectTypeFieldUpdateOperationsInput | $Enums.CommentObjectType objectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string content?: StringFieldUpdateOperationsInput | string authorUserId?: NullableStringFieldUpdateOperationsInput | string | null } export type CommentUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string objectType?: EnumCommentObjectTypeFieldUpdateOperationsInput | $Enums.CommentObjectType objectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string content?: StringFieldUpdateOperationsInput | string authorUserId?: NullableStringFieldUpdateOperationsInput | string | null } export type CommentUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string objectType?: EnumCommentObjectTypeFieldUpdateOperationsInput | $Enums.CommentObjectType objectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string content?: StringFieldUpdateOperationsInput | string authorUserId?: NullableStringFieldUpdateOperationsInput | string | null } export type AnnotationQueueUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null scoreConfigIds?: AnnotationQueueUpdatescoreConfigIdsInput | string[] createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string annotationQueueItem?: AnnotationQueueItemUpdateManyWithoutQueueNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUpdateManyWithoutQueueNestedInput } export type AnnotationQueueUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null scoreConfigIds?: AnnotationQueueUpdatescoreConfigIdsInput | string[] createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string annotationQueueItem?: AnnotationQueueItemUncheckedUpdateManyWithoutQueueNestedInput annotationQueueAssignment?: AnnotationQueueAssignmentUncheckedUpdateManyWithoutQueueNestedInput } export type AnnotationQueueUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null scoreConfigIds?: AnnotationQueueUpdatescoreConfigIdsInput | string[] createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueItemUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string queue?: AnnotationQueueUpdateOneRequiredWithoutAnnotationQueueItemNestedInput lockedByUser?: UserUpdateOneWithoutAnnotatedLockedItemNestedInput annotatorUser?: UserUpdateOneWithoutAnnotatedCompletedItemNestedInput } export type AnnotationQueueItemUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string queueId?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lockedByUserId?: NullableStringFieldUpdateOperationsInput | string | null annotatorUserId?: NullableStringFieldUpdateOperationsInput | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueItemUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string queueId?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lockedByUserId?: NullableStringFieldUpdateOperationsInput | string | null annotatorUserId?: NullableStringFieldUpdateOperationsInput | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type TraceMediaUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string traceId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string media?: MediaUpdateOneRequiredWithoutTraceMediaNestedInput } export type TraceMediaUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string mediaId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string } export type TraceMediaUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string mediaId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string } export type MediaUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string sha256Hash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string uploadedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null uploadHttpStatus?: NullableIntFieldUpdateOperationsInput | number | null uploadHttpError?: NullableStringFieldUpdateOperationsInput | string | null bucketPath?: StringFieldUpdateOperationsInput | string bucketName?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string contentLength?: BigIntFieldUpdateOperationsInput | bigint | number TraceMedia?: TraceMediaUpdateManyWithoutMediaNestedInput ObservationMedia?: ObservationMediaUpdateManyWithoutMediaNestedInput } export type MediaUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string sha256Hash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string uploadedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null uploadHttpStatus?: NullableIntFieldUpdateOperationsInput | number | null uploadHttpError?: NullableStringFieldUpdateOperationsInput | string | null bucketPath?: StringFieldUpdateOperationsInput | string bucketName?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string contentLength?: BigIntFieldUpdateOperationsInput | bigint | number TraceMedia?: TraceMediaUncheckedUpdateManyWithoutMediaNestedInput ObservationMedia?: ObservationMediaUncheckedUpdateManyWithoutMediaNestedInput } export type MediaUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string sha256Hash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string uploadedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null uploadHttpStatus?: NullableIntFieldUpdateOperationsInput | number | null uploadHttpError?: NullableStringFieldUpdateOperationsInput | string | null bucketPath?: StringFieldUpdateOperationsInput | string bucketName?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string contentLength?: BigIntFieldUpdateOperationsInput | bigint | number } export type ObservationMediaUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string traceId?: StringFieldUpdateOperationsInput | string observationId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string media?: MediaUpdateOneRequiredWithoutObservationMediaNestedInput } export type ObservationMediaUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string mediaId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string observationId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string } export type ObservationMediaUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string mediaId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string observationId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string } export type LegacyPrismaTraceUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string externalId?: NullableStringFieldUpdateOperationsInput | string | null timestamp?: DateTimeFieldUpdateOperationsInput | Date | string name?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue release?: NullableStringFieldUpdateOperationsInput | string | null version?: NullableStringFieldUpdateOperationsInput | string | null public?: BoolFieldUpdateOperationsInput | boolean bookmarked?: BoolFieldUpdateOperationsInput | boolean tags?: LegacyPrismaTraceUpdatetagsInput | string[] input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue sessionId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type LegacyPrismaTraceUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string externalId?: NullableStringFieldUpdateOperationsInput | string | null timestamp?: DateTimeFieldUpdateOperationsInput | Date | string name?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue release?: NullableStringFieldUpdateOperationsInput | string | null version?: NullableStringFieldUpdateOperationsInput | string | null public?: BoolFieldUpdateOperationsInput | boolean bookmarked?: BoolFieldUpdateOperationsInput | boolean tags?: LegacyPrismaTraceUpdatetagsInput | string[] input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue sessionId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type LegacyPrismaTraceUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string externalId?: NullableStringFieldUpdateOperationsInput | string | null timestamp?: DateTimeFieldUpdateOperationsInput | Date | string name?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue release?: NullableStringFieldUpdateOperationsInput | string | null version?: NullableStringFieldUpdateOperationsInput | string | null public?: BoolFieldUpdateOperationsInput | boolean bookmarked?: BoolFieldUpdateOperationsInput | boolean tags?: LegacyPrismaTraceUpdatetagsInput | string[] input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue sessionId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type LegacyPrismaObservationUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string traceId?: NullableStringFieldUpdateOperationsInput | string | null type?: EnumLegacyPrismaObservationTypeFieldUpdateOperationsInput | $Enums.LegacyPrismaObservationType startTime?: DateTimeFieldUpdateOperationsInput | Date | string endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue parentObservationId?: NullableStringFieldUpdateOperationsInput | string | null level?: EnumLegacyPrismaObservationLevelFieldUpdateOperationsInput | $Enums.LegacyPrismaObservationLevel statusMessage?: NullableStringFieldUpdateOperationsInput | string | null version?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string model?: NullableStringFieldUpdateOperationsInput | string | null internalModel?: NullableStringFieldUpdateOperationsInput | string | null internalModelId?: NullableStringFieldUpdateOperationsInput | string | null modelParameters?: NullableJsonNullValueInput | InputJsonValue input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue promptTokens?: IntFieldUpdateOperationsInput | number completionTokens?: IntFieldUpdateOperationsInput | number totalTokens?: IntFieldUpdateOperationsInput | number unit?: NullableStringFieldUpdateOperationsInput | string | null inputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedInputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null completionStartTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null promptId?: NullableStringFieldUpdateOperationsInput | string | null } export type LegacyPrismaObservationUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string traceId?: NullableStringFieldUpdateOperationsInput | string | null type?: EnumLegacyPrismaObservationTypeFieldUpdateOperationsInput | $Enums.LegacyPrismaObservationType startTime?: DateTimeFieldUpdateOperationsInput | Date | string endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue parentObservationId?: NullableStringFieldUpdateOperationsInput | string | null level?: EnumLegacyPrismaObservationLevelFieldUpdateOperationsInput | $Enums.LegacyPrismaObservationLevel statusMessage?: NullableStringFieldUpdateOperationsInput | string | null version?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string model?: NullableStringFieldUpdateOperationsInput | string | null internalModel?: NullableStringFieldUpdateOperationsInput | string | null internalModelId?: NullableStringFieldUpdateOperationsInput | string | null modelParameters?: NullableJsonNullValueInput | InputJsonValue input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue promptTokens?: IntFieldUpdateOperationsInput | number completionTokens?: IntFieldUpdateOperationsInput | number totalTokens?: IntFieldUpdateOperationsInput | number unit?: NullableStringFieldUpdateOperationsInput | string | null inputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedInputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null completionStartTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null promptId?: NullableStringFieldUpdateOperationsInput | string | null } export type LegacyPrismaObservationUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string traceId?: NullableStringFieldUpdateOperationsInput | string | null type?: EnumLegacyPrismaObservationTypeFieldUpdateOperationsInput | $Enums.LegacyPrismaObservationType startTime?: DateTimeFieldUpdateOperationsInput | Date | string endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null name?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue parentObservationId?: NullableStringFieldUpdateOperationsInput | string | null level?: EnumLegacyPrismaObservationLevelFieldUpdateOperationsInput | $Enums.LegacyPrismaObservationLevel statusMessage?: NullableStringFieldUpdateOperationsInput | string | null version?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string model?: NullableStringFieldUpdateOperationsInput | string | null internalModel?: NullableStringFieldUpdateOperationsInput | string | null internalModelId?: NullableStringFieldUpdateOperationsInput | string | null modelParameters?: NullableJsonNullValueInput | InputJsonValue input?: NullableJsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue promptTokens?: IntFieldUpdateOperationsInput | number completionTokens?: IntFieldUpdateOperationsInput | number totalTokens?: IntFieldUpdateOperationsInput | number unit?: NullableStringFieldUpdateOperationsInput | string | null inputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null outputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null totalCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedInputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedOutputCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null calculatedTotalCost?: NullableDecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string | null completionStartTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null promptId?: NullableStringFieldUpdateOperationsInput | string | null } export type LegacyPrismaScoreUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string timestamp?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string value?: NullableFloatFieldUpdateOperationsInput | number | null source?: EnumLegacyPrismaScoreSourceFieldUpdateOperationsInput | $Enums.LegacyPrismaScoreSource authorUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null stringValue?: NullableStringFieldUpdateOperationsInput | string | null queueId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType scoreConfig?: ScoreConfigUpdateOneWithoutLegacyScoreNestedInput } export type LegacyPrismaScoreUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string timestamp?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string value?: NullableFloatFieldUpdateOperationsInput | number | null source?: EnumLegacyPrismaScoreSourceFieldUpdateOperationsInput | $Enums.LegacyPrismaScoreSource authorUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null configId?: NullableStringFieldUpdateOperationsInput | string | null stringValue?: NullableStringFieldUpdateOperationsInput | string | null queueId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType } export type LegacyPrismaScoreUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string timestamp?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string value?: NullableFloatFieldUpdateOperationsInput | number | null source?: EnumLegacyPrismaScoreSourceFieldUpdateOperationsInput | $Enums.LegacyPrismaScoreSource authorUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null configId?: NullableStringFieldUpdateOperationsInput | string | null stringValue?: NullableStringFieldUpdateOperationsInput | string | null queueId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType } export type PromptDependencyUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string childName?: StringFieldUpdateOperationsInput | string childLabel?: NullableStringFieldUpdateOperationsInput | string | null childVersion?: NullableIntFieldUpdateOperationsInput | number | null parent?: PromptUpdateOneRequiredWithoutPromptDependencyNestedInput } export type PromptDependencyUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string parentId?: StringFieldUpdateOperationsInput | string childName?: StringFieldUpdateOperationsInput | string childLabel?: NullableStringFieldUpdateOperationsInput | string | null childVersion?: NullableIntFieldUpdateOperationsInput | number | null } export type PromptDependencyUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string parentId?: StringFieldUpdateOperationsInput | string childName?: StringFieldUpdateOperationsInput | string childLabel?: NullableStringFieldUpdateOperationsInput | string | null childVersion?: NullableIntFieldUpdateOperationsInput | number | null } export type LlmSchemaUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string schema?: JsonNullValueInput | InputJsonValue } export type LlmSchemaUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string schema?: JsonNullValueInput | InputJsonValue } export type LlmSchemaUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string schema?: JsonNullValueInput | InputJsonValue } export type LlmToolUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string parameters?: JsonNullValueInput | InputJsonValue } export type LlmToolUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string parameters?: JsonNullValueInput | InputJsonValue } export type LlmToolUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string parameters?: JsonNullValueInput | InputJsonValue } export type PromptProtectedLabelsUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string label?: StringFieldUpdateOperationsInput | string } export type PromptProtectedLabelsUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string label?: StringFieldUpdateOperationsInput | string } export type PromptProtectedLabelsUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string label?: StringFieldUpdateOperationsInput | string } export type DashboardUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string definition?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue createdByUser?: UserUpdateOneWithoutDashboardCreatedNestedInput updatedByUser?: UserUpdateOneWithoutDashboardUpdatedNestedInput } export type DashboardUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null updatedBy?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string definition?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null updatedBy?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string definition?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue } export type DashboardWidgetUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string view?: EnumDashboardWidgetViewsFieldUpdateOperationsInput | $Enums.DashboardWidgetViews dimensions?: JsonNullValueInput | InputJsonValue metrics?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue chartType?: EnumDashboardWidgetChartTypeFieldUpdateOperationsInput | $Enums.DashboardWidgetChartType chartConfig?: JsonNullValueInput | InputJsonValue createdByUser?: UserUpdateOneWithoutDashboardWidgetsCreatedNestedInput updatedByUser?: UserUpdateOneWithoutDashboardWidgetsUpdatedNestedInput } export type DashboardWidgetUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null updatedBy?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string view?: EnumDashboardWidgetViewsFieldUpdateOperationsInput | $Enums.DashboardWidgetViews dimensions?: JsonNullValueInput | InputJsonValue metrics?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue chartType?: EnumDashboardWidgetChartTypeFieldUpdateOperationsInput | $Enums.DashboardWidgetChartType chartConfig?: JsonNullValueInput | InputJsonValue } export type DashboardWidgetUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null updatedBy?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string description?: StringFieldUpdateOperationsInput | string view?: EnumDashboardWidgetViewsFieldUpdateOperationsInput | $Enums.DashboardWidgetViews dimensions?: JsonNullValueInput | InputJsonValue metrics?: JsonNullValueInput | InputJsonValue filters?: JsonNullValueInput | InputJsonValue chartType?: EnumDashboardWidgetChartTypeFieldUpdateOperationsInput | $Enums.DashboardWidgetChartType chartConfig?: JsonNullValueInput | InputJsonValue } export type TableViewPresetUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string tableName?: StringFieldUpdateOperationsInput | string filters?: JsonNullValueInput | InputJsonValue columnOrder?: JsonNullValueInput | InputJsonValue columnVisibility?: JsonNullValueInput | InputJsonValue searchQuery?: NullableStringFieldUpdateOperationsInput | string | null orderBy?: NullableJsonNullValueInput | InputJsonValue createdByUser?: UserUpdateOneWithoutTableViewPresetCreatedNestedInput updatedByUser?: UserUpdateOneWithoutTableViewPresetUpdatedNestedInput } export type TableViewPresetUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string tableName?: StringFieldUpdateOperationsInput | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null updatedBy?: NullableStringFieldUpdateOperationsInput | string | null filters?: JsonNullValueInput | InputJsonValue columnOrder?: JsonNullValueInput | InputJsonValue columnVisibility?: JsonNullValueInput | InputJsonValue searchQuery?: NullableStringFieldUpdateOperationsInput | string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type TableViewPresetUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string tableName?: StringFieldUpdateOperationsInput | string createdBy?: NullableStringFieldUpdateOperationsInput | string | null updatedBy?: NullableStringFieldUpdateOperationsInput | string | null filters?: JsonNullValueInput | InputJsonValue columnOrder?: JsonNullValueInput | InputJsonValue columnVisibility?: JsonNullValueInput | InputJsonValue searchQuery?: NullableStringFieldUpdateOperationsInput | string | null orderBy?: NullableJsonNullValueInput | InputJsonValue } export type ActionUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string type?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType config?: JsonNullValueInput | InputJsonValue automations?: AutomationUpdateManyWithoutActionNestedInput automationExecutions?: AutomationExecutionUpdateManyWithoutActionNestedInput } export type ActionUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string type?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType config?: JsonNullValueInput | InputJsonValue automations?: AutomationUncheckedUpdateManyWithoutActionNestedInput automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutActionNestedInput } export type ActionUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string type?: EnumActionTypeFieldUpdateOperationsInput | $Enums.ActionType config?: JsonNullValueInput | InputJsonValue } export type TriggerUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string eventSource?: StringFieldUpdateOperationsInput | string eventActions?: TriggerUpdateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState automationExecutions?: AutomationExecutionUpdateManyWithoutTriggerNestedInput automations?: AutomationUpdateManyWithoutTriggerNestedInput } export type TriggerUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string eventSource?: StringFieldUpdateOperationsInput | string eventActions?: TriggerUpdateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState automationExecutions?: AutomationExecutionUncheckedUpdateManyWithoutTriggerNestedInput automations?: AutomationUncheckedUpdateManyWithoutTriggerNestedInput } export type TriggerUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string eventSource?: StringFieldUpdateOperationsInput | string eventActions?: TriggerUpdateeventActionsInput | string[] filter?: NullableJsonNullValueInput | InputJsonValue status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState } export type AutomationExecutionUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null automation?: AutomationUpdateOneRequiredWithoutAutomationExecutionNestedInput trigger?: TriggerUpdateOneRequiredWithoutAutomationExecutionsNestedInput action?: ActionUpdateOneRequiredWithoutAutomationExecutionsNestedInput } export type AutomationExecutionUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string automationId?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null } export type AutomationExecutionUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string automationId?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null } export type AutomationUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string trigger?: TriggerUpdateOneRequiredWithoutAutomationsNestedInput action?: ActionUpdateOneRequiredWithoutAutomationsNestedInput AutomationExecution?: AutomationExecutionUpdateManyWithoutAutomationNestedInput } export type AutomationUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string AutomationExecution?: AutomationExecutionUncheckedUpdateManyWithoutAutomationNestedInput } export type AutomationUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DefaultLlmModelUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string model?: StringFieldUpdateOperationsInput | string modelParams?: NullableJsonNullValueInput | InputJsonValue LlmApiKey?: LlmApiKeysUpdateOneRequiredWithoutDefaultLlmModelNestedInput } export type DefaultLlmModelUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string llmApiKeyId?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string model?: StringFieldUpdateOperationsInput | string modelParams?: NullableJsonNullValueInput | InputJsonValue } export type DefaultLlmModelUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string llmApiKeyId?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string model?: StringFieldUpdateOperationsInput | string modelParams?: NullableJsonNullValueInput | InputJsonValue } export type PriceUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string usageType?: StringFieldUpdateOperationsInput | string price?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string Model?: ModelUpdateOneRequiredWithoutPriceNestedInput } export type PriceUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string modelId?: StringFieldUpdateOperationsInput | string usageType?: StringFieldUpdateOperationsInput | string price?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string } export type PriceUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string modelId?: StringFieldUpdateOperationsInput | string usageType?: StringFieldUpdateOperationsInput | string price?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string } export type PendingDeletionUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string object?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string isDeleted?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type PendingDeletionUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string object?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string isDeleted?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type PendingDeletionUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string object?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string isDeleted?: BoolFieldUpdateOperationsInput | boolean createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueAssignmentUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string user?: UserUpdateOneRequiredWithoutAnnotationQueueAssignmentNestedInput queue?: AnnotationQueueUpdateOneRequiredWithoutAnnotationQueueAssignmentNestedInput } export type AnnotationQueueAssignmentUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string queueId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueAssignmentUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string queueId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DefaultLlmModelCreateManyLlmApiKeyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string provider: string adapter: string model: string modelParams?: NullableJsonNullValueInput | InputJsonValue } export type DefaultLlmModelUpdateWithoutLlmApiKeyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string model?: StringFieldUpdateOperationsInput | string modelParams?: NullableJsonNullValueInput | InputJsonValue Project?: ProjectUpdateOneRequiredWithoutDefaultLlmModelNestedInput } export type DefaultLlmModelUncheckedUpdateWithoutLlmApiKeyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string model?: StringFieldUpdateOperationsInput | string modelParams?: NullableJsonNullValueInput | InputJsonValue } export type DefaultLlmModelUncheckedUpdateManyWithoutLlmApiKeyInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string adapter?: StringFieldUpdateOperationsInput | string model?: StringFieldUpdateOperationsInput | string modelParams?: NullableJsonNullValueInput | InputJsonValue } export type ProjectMembershipCreateManyOrganizationMembershipInput = { projectId: string userId: string role: $Enums.Role createdAt?: Date | string updatedAt?: Date | string } export type ProjectMembershipUpdateWithoutOrganizationMembershipInput = { role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutProjectMembersNestedInput user?: UserUpdateOneRequiredWithoutProjectMembershipsNestedInput } export type ProjectMembershipUncheckedUpdateWithoutOrganizationMembershipInput = { projectId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectMembershipUncheckedUpdateManyWithoutOrganizationMembershipInput = { projectId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type LegacyPrismaScoreCreateManyScoreConfigInput = { id?: string timestamp?: Date | string projectId: string name: string value?: number | null source: $Enums.LegacyPrismaScoreSource authorUserId?: string | null comment?: string | null traceId: string observationId?: string | null stringValue?: string | null queueId?: string | null createdAt?: Date | string updatedAt?: Date | string dataType?: $Enums.ScoreDataType } export type LegacyPrismaScoreUpdateWithoutScoreConfigInput = { id?: StringFieldUpdateOperationsInput | string timestamp?: DateTimeFieldUpdateOperationsInput | Date | string name?: StringFieldUpdateOperationsInput | string value?: NullableFloatFieldUpdateOperationsInput | number | null source?: EnumLegacyPrismaScoreSourceFieldUpdateOperationsInput | $Enums.LegacyPrismaScoreSource authorUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null stringValue?: NullableStringFieldUpdateOperationsInput | string | null queueId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType project?: ProjectUpdateOneRequiredWithoutLegacyScoreNestedInput } export type LegacyPrismaScoreUncheckedUpdateWithoutScoreConfigInput = { id?: StringFieldUpdateOperationsInput | string timestamp?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string value?: NullableFloatFieldUpdateOperationsInput | number | null source?: EnumLegacyPrismaScoreSourceFieldUpdateOperationsInput | $Enums.LegacyPrismaScoreSource authorUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null stringValue?: NullableStringFieldUpdateOperationsInput | string | null queueId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType } export type LegacyPrismaScoreUncheckedUpdateManyWithoutScoreConfigInput = { id?: StringFieldUpdateOperationsInput | string timestamp?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string value?: NullableFloatFieldUpdateOperationsInput | number | null source?: EnumLegacyPrismaScoreSourceFieldUpdateOperationsInput | $Enums.LegacyPrismaScoreSource authorUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null stringValue?: NullableStringFieldUpdateOperationsInput | string | null queueId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string dataType?: EnumScoreDataTypeFieldUpdateOperationsInput | $Enums.ScoreDataType } export type AnnotationQueueItemCreateManyQueueInput = { id?: string objectId: string objectType: $Enums.AnnotationQueueObjectType status?: $Enums.AnnotationQueueStatus lockedAt?: Date | string | null lockedByUserId?: string | null annotatorUserId?: string | null completedAt?: Date | string | null projectId: string createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueAssignmentCreateManyQueueInput = { id?: string projectId: string userId: string createdAt?: Date | string updatedAt?: Date | string } export type AnnotationQueueItemUpdateWithoutQueueInput = { id?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string lockedByUser?: UserUpdateOneWithoutAnnotatedLockedItemNestedInput annotatorUser?: UserUpdateOneWithoutAnnotatedCompletedItemNestedInput project?: ProjectUpdateOneRequiredWithoutAnnotationQueueItemNestedInput } export type AnnotationQueueItemUncheckedUpdateWithoutQueueInput = { id?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lockedByUserId?: NullableStringFieldUpdateOperationsInput | string | null annotatorUserId?: NullableStringFieldUpdateOperationsInput | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueItemUncheckedUpdateManyWithoutQueueInput = { id?: StringFieldUpdateOperationsInput | string objectId?: StringFieldUpdateOperationsInput | string objectType?: EnumAnnotationQueueObjectTypeFieldUpdateOperationsInput | $Enums.AnnotationQueueObjectType status?: EnumAnnotationQueueStatusFieldUpdateOperationsInput | $Enums.AnnotationQueueStatus lockedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null lockedByUserId?: NullableStringFieldUpdateOperationsInput | string | null annotatorUserId?: NullableStringFieldUpdateOperationsInput | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null projectId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueAssignmentUpdateWithoutQueueInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string project?: ProjectUpdateOneRequiredWithoutAnnotationQueueAssignmentNestedInput user?: UserUpdateOneRequiredWithoutAnnotationQueueAssignmentNestedInput } export type AnnotationQueueAssignmentUncheckedUpdateWithoutQueueInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnnotationQueueAssignmentUncheckedUpdateManyWithoutQueueInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetItemCreateManyDatasetInput = { id?: string status?: $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: string | null sourceObservationId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type DatasetRunsCreateManyDatasetInput = { id?: string name: string description?: string | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string updatedAt?: Date | string } export type DatasetItemUpdateWithoutDatasetInput = { id?: StringFieldUpdateOperationsInput | string status?: EnumDatasetStatusFieldUpdateOperationsInput | $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: NullableStringFieldUpdateOperationsInput | string | null sourceObservationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string datasetRunItems?: DatasetRunItemsUpdateManyWithoutDatasetItemNestedInput } export type DatasetItemUncheckedUpdateWithoutDatasetInput = { id?: StringFieldUpdateOperationsInput | string status?: EnumDatasetStatusFieldUpdateOperationsInput | $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: NullableStringFieldUpdateOperationsInput | string | null sourceObservationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string datasetRunItems?: DatasetRunItemsUncheckedUpdateManyWithoutDatasetItemNestedInput } export type DatasetItemUncheckedUpdateManyWithoutDatasetInput = { id?: StringFieldUpdateOperationsInput | string status?: EnumDatasetStatusFieldUpdateOperationsInput | $Enums.DatasetStatus input?: NullableJsonNullValueInput | InputJsonValue expectedOutput?: NullableJsonNullValueInput | InputJsonValue metadata?: NullableJsonNullValueInput | InputJsonValue sourceTraceId?: NullableStringFieldUpdateOperationsInput | string | null sourceObservationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetRunsUpdateWithoutDatasetInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string datasetRunItems?: DatasetRunItemsUpdateManyWithoutDatasetRunNestedInput } export type DatasetRunsUncheckedUpdateWithoutDatasetInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string datasetRunItems?: DatasetRunItemsUncheckedUpdateManyWithoutDatasetRunNestedInput } export type DatasetRunsUncheckedUpdateManyWithoutDatasetInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string description?: NullableStringFieldUpdateOperationsInput | string | null metadata?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetRunItemsCreateManyDatasetItemInput = { id?: string datasetRunId: string traceId: string observationId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type DatasetRunItemsUpdateWithoutDatasetItemInput = { id?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string datasetRun?: DatasetRunsUpdateOneRequiredWithoutDatasetRunItemsNestedInput } export type DatasetRunItemsUncheckedUpdateWithoutDatasetItemInput = { id?: StringFieldUpdateOperationsInput | string datasetRunId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetRunItemsUncheckedUpdateManyWithoutDatasetItemInput = { id?: StringFieldUpdateOperationsInput | string datasetRunId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetRunItemsCreateManyDatasetRunInput = { id?: string datasetItemId: string traceId: string observationId?: string | null createdAt?: Date | string updatedAt?: Date | string } export type DatasetRunItemsUpdateWithoutDatasetRunInput = { id?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string datasetItem?: DatasetItemUpdateOneRequiredWithoutDatasetRunItemsNestedInput } export type DatasetRunItemsUncheckedUpdateWithoutDatasetRunInput = { id?: StringFieldUpdateOperationsInput | string datasetItemId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type DatasetRunItemsUncheckedUpdateManyWithoutDatasetRunInput = { id?: StringFieldUpdateOperationsInput | string datasetItemId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string observationId?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type PromptDependencyCreateManyParentInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string childName: string childLabel?: string | null childVersion?: number | null } export type PromptDependencyUpdateWithoutParentInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string childName?: StringFieldUpdateOperationsInput | string childLabel?: NullableStringFieldUpdateOperationsInput | string | null childVersion?: NullableIntFieldUpdateOperationsInput | number | null project?: ProjectUpdateOneRequiredWithoutPromptDependencyNestedInput } export type PromptDependencyUncheckedUpdateWithoutParentInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string childName?: StringFieldUpdateOperationsInput | string childLabel?: NullableStringFieldUpdateOperationsInput | string | null childVersion?: NullableIntFieldUpdateOperationsInput | number | null } export type PromptDependencyUncheckedUpdateManyWithoutParentInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string childName?: StringFieldUpdateOperationsInput | string childLabel?: NullableStringFieldUpdateOperationsInput | string | null childVersion?: NullableIntFieldUpdateOperationsInput | number | null } export type PriceCreateManyModelInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId?: string | null usageType: string price: Decimal | DecimalJsLike | number | string } export type PriceUpdateWithoutModelInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string usageType?: StringFieldUpdateOperationsInput | string price?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string project?: ProjectUpdateOneWithoutPriceNestedInput } export type PriceUncheckedUpdateWithoutModelInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: NullableStringFieldUpdateOperationsInput | string | null usageType?: StringFieldUpdateOperationsInput | string price?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string } export type PriceUncheckedUpdateManyWithoutModelInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: NullableStringFieldUpdateOperationsInput | string | null usageType?: StringFieldUpdateOperationsInput | string price?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string } export type JobConfigurationCreateManyEvalTemplateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string jobType: $Enums.JobType status?: $Enums.JobConfigState scoreName: string filter: JsonNullValueInput | InputJsonValue targetObject: string variableMapping: JsonNullValueInput | InputJsonValue sampling: Decimal | DecimalJsLike | number | string delay: number timeScope?: JobConfigurationCreatetimeScopeInput | string[] } export type JobExecutionCreateManyJobTemplateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string jobConfigurationId: string status: $Enums.JobExecutionStatus startTime?: Date | string | null endTime?: Date | string | null error?: string | null jobInputTraceId?: string | null jobInputTraceTimestamp?: Date | string | null jobInputObservationId?: string | null jobInputDatasetItemId?: string | null jobOutputScoreId?: string | null } export type JobConfigurationUpdateWithoutEvalTemplateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string jobType?: EnumJobTypeFieldUpdateOperationsInput | $Enums.JobType status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState scoreName?: StringFieldUpdateOperationsInput | string filter?: JsonNullValueInput | InputJsonValue targetObject?: StringFieldUpdateOperationsInput | string variableMapping?: JsonNullValueInput | InputJsonValue sampling?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string delay?: IntFieldUpdateOperationsInput | number timeScope?: JobConfigurationUpdatetimeScopeInput | string[] project?: ProjectUpdateOneRequiredWithoutJobConfigurationNestedInput JobExecution?: JobExecutionUpdateManyWithoutJobConfigurationNestedInput } export type JobConfigurationUncheckedUpdateWithoutEvalTemplateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string jobType?: EnumJobTypeFieldUpdateOperationsInput | $Enums.JobType status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState scoreName?: StringFieldUpdateOperationsInput | string filter?: JsonNullValueInput | InputJsonValue targetObject?: StringFieldUpdateOperationsInput | string variableMapping?: JsonNullValueInput | InputJsonValue sampling?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string delay?: IntFieldUpdateOperationsInput | number timeScope?: JobConfigurationUpdatetimeScopeInput | string[] JobExecution?: JobExecutionUncheckedUpdateManyWithoutJobConfigurationNestedInput } export type JobConfigurationUncheckedUpdateManyWithoutEvalTemplateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string jobType?: EnumJobTypeFieldUpdateOperationsInput | $Enums.JobType status?: EnumJobConfigStateFieldUpdateOperationsInput | $Enums.JobConfigState scoreName?: StringFieldUpdateOperationsInput | string filter?: JsonNullValueInput | InputJsonValue targetObject?: StringFieldUpdateOperationsInput | string variableMapping?: JsonNullValueInput | InputJsonValue sampling?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string delay?: IntFieldUpdateOperationsInput | number timeScope?: JobConfigurationUpdatetimeScopeInput | string[] } export type JobExecutionUpdateWithoutJobTemplateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string status?: EnumJobExecutionStatusFieldUpdateOperationsInput | $Enums.JobExecutionStatus startTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceId?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceTimestamp?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobInputObservationId?: NullableStringFieldUpdateOperationsInput | string | null jobInputDatasetItemId?: NullableStringFieldUpdateOperationsInput | string | null jobOutputScoreId?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutJobExecutionNestedInput jobConfiguration?: JobConfigurationUpdateOneRequiredWithoutJobExecutionNestedInput } export type JobExecutionUncheckedUpdateWithoutJobTemplateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string jobConfigurationId?: StringFieldUpdateOperationsInput | string status?: EnumJobExecutionStatusFieldUpdateOperationsInput | $Enums.JobExecutionStatus startTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceId?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceTimestamp?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobInputObservationId?: NullableStringFieldUpdateOperationsInput | string | null jobInputDatasetItemId?: NullableStringFieldUpdateOperationsInput | string | null jobOutputScoreId?: NullableStringFieldUpdateOperationsInput | string | null } export type JobExecutionUncheckedUpdateManyWithoutJobTemplateInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string jobConfigurationId?: StringFieldUpdateOperationsInput | string status?: EnumJobExecutionStatusFieldUpdateOperationsInput | $Enums.JobExecutionStatus startTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceId?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceTimestamp?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobInputObservationId?: NullableStringFieldUpdateOperationsInput | string | null jobInputDatasetItemId?: NullableStringFieldUpdateOperationsInput | string | null jobOutputScoreId?: NullableStringFieldUpdateOperationsInput | string | null } export type JobExecutionCreateManyJobConfigurationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string projectId: string jobTemplateId?: string | null status: $Enums.JobExecutionStatus startTime?: Date | string | null endTime?: Date | string | null error?: string | null jobInputTraceId?: string | null jobInputTraceTimestamp?: Date | string | null jobInputObservationId?: string | null jobInputDatasetItemId?: string | null jobOutputScoreId?: string | null } export type JobExecutionUpdateWithoutJobConfigurationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string status?: EnumJobExecutionStatusFieldUpdateOperationsInput | $Enums.JobExecutionStatus startTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceId?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceTimestamp?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobInputObservationId?: NullableStringFieldUpdateOperationsInput | string | null jobInputDatasetItemId?: NullableStringFieldUpdateOperationsInput | string | null jobOutputScoreId?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutJobExecutionNestedInput jobTemplate?: EvalTemplateUpdateOneWithoutJobExecutionNestedInput } export type JobExecutionUncheckedUpdateWithoutJobConfigurationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string jobTemplateId?: NullableStringFieldUpdateOperationsInput | string | null status?: EnumJobExecutionStatusFieldUpdateOperationsInput | $Enums.JobExecutionStatus startTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceId?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceTimestamp?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobInputObservationId?: NullableStringFieldUpdateOperationsInput | string | null jobInputDatasetItemId?: NullableStringFieldUpdateOperationsInput | string | null jobOutputScoreId?: NullableStringFieldUpdateOperationsInput | string | null } export type JobExecutionUncheckedUpdateManyWithoutJobConfigurationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string jobTemplateId?: NullableStringFieldUpdateOperationsInput | string | null status?: EnumJobExecutionStatusFieldUpdateOperationsInput | $Enums.JobExecutionStatus startTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null endTime?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceId?: NullableStringFieldUpdateOperationsInput | string | null jobInputTraceTimestamp?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null jobInputObservationId?: NullableStringFieldUpdateOperationsInput | string | null jobInputDatasetItemId?: NullableStringFieldUpdateOperationsInput | string | null jobOutputScoreId?: NullableStringFieldUpdateOperationsInput | string | null } export type TraceMediaCreateManyMediaInput = { id?: string createdAt?: Date | string updatedAt?: Date | string traceId: string field: string } export type ObservationMediaCreateManyMediaInput = { id?: string createdAt?: Date | string updatedAt?: Date | string traceId: string observationId: string field: string } export type TraceMediaUpdateWithoutMediaInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string traceId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string project?: ProjectUpdateOneRequiredWithoutTraceMediaNestedInput } export type TraceMediaUncheckedUpdateWithoutMediaInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string traceId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string } export type TraceMediaUncheckedUpdateManyWithoutMediaInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string traceId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string } export type ObservationMediaUpdateWithoutMediaInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string traceId?: StringFieldUpdateOperationsInput | string observationId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string project?: ProjectUpdateOneRequiredWithoutObservationMediaNestedInput } export type ObservationMediaUncheckedUpdateWithoutMediaInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string traceId?: StringFieldUpdateOperationsInput | string observationId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string } export type ObservationMediaUncheckedUpdateManyWithoutMediaInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string traceId?: StringFieldUpdateOperationsInput | string observationId?: StringFieldUpdateOperationsInput | string field?: StringFieldUpdateOperationsInput | string } export type AutomationCreateManyActionInput = { id?: string name: string triggerId: string createdAt?: Date | string projectId: string } export type AutomationExecutionCreateManyActionInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string automationId: string triggerId: string projectId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null } export type AutomationUpdateWithoutActionInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string trigger?: TriggerUpdateOneRequiredWithoutAutomationsNestedInput project?: ProjectUpdateOneRequiredWithoutAutomationNestedInput AutomationExecution?: AutomationExecutionUpdateManyWithoutAutomationNestedInput } export type AutomationUncheckedUpdateWithoutActionInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string AutomationExecution?: AutomationExecutionUncheckedUpdateManyWithoutAutomationNestedInput } export type AutomationUncheckedUpdateManyWithoutActionInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string } export type AutomationExecutionUpdateWithoutActionInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null automation?: AutomationUpdateOneRequiredWithoutAutomationExecutionNestedInput trigger?: TriggerUpdateOneRequiredWithoutAutomationExecutionsNestedInput project?: ProjectUpdateOneRequiredWithoutAutomationExecutionsNestedInput } export type AutomationExecutionUncheckedUpdateWithoutActionInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string automationId?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null } export type AutomationExecutionUncheckedUpdateManyWithoutActionInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string automationId?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null } export type AutomationExecutionCreateManyTriggerInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string automationId: string actionId: string projectId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null } export type AutomationCreateManyTriggerInput = { id?: string name: string actionId: string createdAt?: Date | string projectId: string } export type AutomationExecutionUpdateWithoutTriggerInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null automation?: AutomationUpdateOneRequiredWithoutAutomationExecutionNestedInput action?: ActionUpdateOneRequiredWithoutAutomationExecutionsNestedInput project?: ProjectUpdateOneRequiredWithoutAutomationExecutionsNestedInput } export type AutomationExecutionUncheckedUpdateWithoutTriggerInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string automationId?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null } export type AutomationExecutionUncheckedUpdateManyWithoutTriggerInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string automationId?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null } export type AutomationUpdateWithoutTriggerInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string action?: ActionUpdateOneRequiredWithoutAutomationsNestedInput project?: ProjectUpdateOneRequiredWithoutAutomationNestedInput AutomationExecution?: AutomationExecutionUpdateManyWithoutAutomationNestedInput } export type AutomationUncheckedUpdateWithoutTriggerInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string AutomationExecution?: AutomationExecutionUncheckedUpdateManyWithoutAutomationNestedInput } export type AutomationUncheckedUpdateManyWithoutTriggerInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string projectId?: StringFieldUpdateOperationsInput | string } export type AutomationExecutionCreateManyAutomationInput = { id?: string createdAt?: Date | string updatedAt?: Date | string sourceId: string triggerId: string actionId: string projectId: string status?: $Enums.ActionExecutionStatus input: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: Date | string | null finishedAt?: Date | string | null error?: string | null } export type AutomationExecutionUpdateWithoutAutomationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null trigger?: TriggerUpdateOneRequiredWithoutAutomationExecutionsNestedInput action?: ActionUpdateOneRequiredWithoutAutomationExecutionsNestedInput project?: ProjectUpdateOneRequiredWithoutAutomationExecutionsNestedInput } export type AutomationExecutionUncheckedUpdateWithoutAutomationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null } export type AutomationExecutionUncheckedUpdateManyWithoutAutomationInput = { id?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sourceId?: StringFieldUpdateOperationsInput | string triggerId?: StringFieldUpdateOperationsInput | string actionId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string status?: EnumActionExecutionStatusFieldUpdateOperationsInput | $Enums.ActionExecutionStatus input?: JsonNullValueInput | InputJsonValue output?: NullableJsonNullValueInput | InputJsonValue startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null error?: NullableStringFieldUpdateOperationsInput | string | null } /** * Batch Payload for updateMany & deleteMany & createMany */ export type BatchPayload = { count: number } /** * DMMF */ export const dmmf: runtime.BaseDMMF }