/** * Client **/ import * as runtime from './runtime/client.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 Run * */ export type Run = $Result.DefaultSelection /** * Model RunWorkItem * */ export type RunWorkItem = $Result.DefaultSelection /** * Model ExecutionInstance * */ export type ExecutionInstance = $Result.DefaultSelection /** * Model RunSlotProjection * */ export type RunSlotProjection = $Result.DefaultSelection /** * Model TestSuiteRun * One execution of a TestTrigger node — orchestrator fans one Run per yielded test-case item. * `triggerNodeId` is *not* a foreign key — workflows live in code, not in DB. `triggerNodeName` * is snapshotted so historical viewing survives renames/deletions of the trigger node. */ export type TestSuiteRun = $Result.DefaultSelection /** * Model TestAssertion * One assertion record persisted by the host-side TestAssertionPersister whenever a node with * `emitsAssertions: true` completes inside a test-context run. Each assertion item emitted on * `main` becomes one row. */ export type TestAssertion = $Result.DefaultSelection /** * Model WorkflowDebuggerOverlay * */ export type WorkflowDebuggerOverlay = $Result.DefaultSelection /** * Model WorkflowActivation * */ export type WorkflowActivation = $Result.DefaultSelection /** * Model TriggerSetupState * */ export type TriggerSetupState = $Result.DefaultSelection /** * Model RunTraceContext * */ export type RunTraceContext = $Result.DefaultSelection /** * Model TelemetrySpan * */ export type TelemetrySpan = $Result.DefaultSelection /** * Model WorkflowSnapshot * */ export type WorkflowSnapshot = $Result.DefaultSelection /** * Model TelemetryArtifact * */ export type TelemetryArtifact = $Result.DefaultSelection /** * Model TelemetryMetricPoint * */ export type TelemetryMetricPoint = $Result.DefaultSelection /** * Model CredentialInstance * */ export type CredentialInstance = $Result.DefaultSelection /** * Model CredentialSecretMaterial * */ export type CredentialSecretMaterial = $Result.DefaultSelection /** * Model CredentialOAuth2Material * */ export type CredentialOAuth2Material = $Result.DefaultSelection /** * Model CredentialOAuth2State * */ export type CredentialOAuth2State = $Result.DefaultSelection /** * Model CredentialBinding * */ export type CredentialBinding = $Result.DefaultSelection /** * Model CredentialTestResult * */ export type CredentialTestResult = $Result.DefaultSelection /** * Model User * Better Auth user directory (DB sessions + optional OAuth linking) */ export type User = $Result.DefaultSelection /** * Model UserInvite * */ export type UserInvite = $Result.DefaultSelection /** * Model Account * */ export type Account = $Result.DefaultSelection /** * Model Session * */ export type Session = $Result.DefaultSelection /** * Model VerificationToken * */ export type VerificationToken = $Result.DefaultSelection /** * Model WorkflowAuditLog * */ export type WorkflowAuditLog = $Result.DefaultSelection /** * Model HmacNonce * HMAC nonce store for replay protection (T6 security fix). * Nonces are persisted across process restarts so a replayed request within * the 300-second timestamp window is rejected even after a restart. */ export type HmacNonce = $Result.DefaultSelection /** * Model HumanTask * */ export type HumanTask = $Result.DefaultSelection /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient({ * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) * }) * // Fetch zero or more Runs * const runs = await prisma.run.findMany() * ``` * * * Read more in our [docs](https://pris.ly/d/client). */ export class PrismaClient< ClientOptions extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, const 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({ * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) * }) * // Fetch zero or more Runs * const runs = await prisma.run.findMany() * ``` * * * Read more in our [docs](https://pris.ly/d/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; /** * 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://pris.ly/d/raw-queries). */ $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://pris.ly/d/raw-queries). */ $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://pris.ly/d/raw-queries). */ $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://pris.ly/d/raw-queries). */ $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/orm/prisma-client/queries/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 $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, $Utils.Call, { extArgs: ExtArgs }>> /** * `prisma.run`: Exposes CRUD operations for the **Run** model. * Example usage: * ```ts * // Fetch zero or more Runs * const runs = await prisma.run.findMany() * ``` */ get run(): Prisma.RunDelegate; /** * `prisma.runWorkItem`: Exposes CRUD operations for the **RunWorkItem** model. * Example usage: * ```ts * // Fetch zero or more RunWorkItems * const runWorkItems = await prisma.runWorkItem.findMany() * ``` */ get runWorkItem(): Prisma.RunWorkItemDelegate; /** * `prisma.executionInstance`: Exposes CRUD operations for the **ExecutionInstance** model. * Example usage: * ```ts * // Fetch zero or more ExecutionInstances * const executionInstances = await prisma.executionInstance.findMany() * ``` */ get executionInstance(): Prisma.ExecutionInstanceDelegate; /** * `prisma.runSlotProjection`: Exposes CRUD operations for the **RunSlotProjection** model. * Example usage: * ```ts * // Fetch zero or more RunSlotProjections * const runSlotProjections = await prisma.runSlotProjection.findMany() * ``` */ get runSlotProjection(): Prisma.RunSlotProjectionDelegate; /** * `prisma.testSuiteRun`: Exposes CRUD operations for the **TestSuiteRun** model. * Example usage: * ```ts * // Fetch zero or more TestSuiteRuns * const testSuiteRuns = await prisma.testSuiteRun.findMany() * ``` */ get testSuiteRun(): Prisma.TestSuiteRunDelegate; /** * `prisma.testAssertion`: Exposes CRUD operations for the **TestAssertion** model. * Example usage: * ```ts * // Fetch zero or more TestAssertions * const testAssertions = await prisma.testAssertion.findMany() * ``` */ get testAssertion(): Prisma.TestAssertionDelegate; /** * `prisma.workflowDebuggerOverlay`: Exposes CRUD operations for the **WorkflowDebuggerOverlay** model. * Example usage: * ```ts * // Fetch zero or more WorkflowDebuggerOverlays * const workflowDebuggerOverlays = await prisma.workflowDebuggerOverlay.findMany() * ``` */ get workflowDebuggerOverlay(): Prisma.WorkflowDebuggerOverlayDelegate; /** * `prisma.workflowActivation`: Exposes CRUD operations for the **WorkflowActivation** model. * Example usage: * ```ts * // Fetch zero or more WorkflowActivations * const workflowActivations = await prisma.workflowActivation.findMany() * ``` */ get workflowActivation(): Prisma.WorkflowActivationDelegate; /** * `prisma.triggerSetupState`: Exposes CRUD operations for the **TriggerSetupState** model. * Example usage: * ```ts * // Fetch zero or more TriggerSetupStates * const triggerSetupStates = await prisma.triggerSetupState.findMany() * ``` */ get triggerSetupState(): Prisma.TriggerSetupStateDelegate; /** * `prisma.runTraceContext`: Exposes CRUD operations for the **RunTraceContext** model. * Example usage: * ```ts * // Fetch zero or more RunTraceContexts * const runTraceContexts = await prisma.runTraceContext.findMany() * ``` */ get runTraceContext(): Prisma.RunTraceContextDelegate; /** * `prisma.telemetrySpan`: Exposes CRUD operations for the **TelemetrySpan** model. * Example usage: * ```ts * // Fetch zero or more TelemetrySpans * const telemetrySpans = await prisma.telemetrySpan.findMany() * ``` */ get telemetrySpan(): Prisma.TelemetrySpanDelegate; /** * `prisma.workflowSnapshot`: Exposes CRUD operations for the **WorkflowSnapshot** model. * Example usage: * ```ts * // Fetch zero or more WorkflowSnapshots * const workflowSnapshots = await prisma.workflowSnapshot.findMany() * ``` */ get workflowSnapshot(): Prisma.WorkflowSnapshotDelegate; /** * `prisma.telemetryArtifact`: Exposes CRUD operations for the **TelemetryArtifact** model. * Example usage: * ```ts * // Fetch zero or more TelemetryArtifacts * const telemetryArtifacts = await prisma.telemetryArtifact.findMany() * ``` */ get telemetryArtifact(): Prisma.TelemetryArtifactDelegate; /** * `prisma.telemetryMetricPoint`: Exposes CRUD operations for the **TelemetryMetricPoint** model. * Example usage: * ```ts * // Fetch zero or more TelemetryMetricPoints * const telemetryMetricPoints = await prisma.telemetryMetricPoint.findMany() * ``` */ get telemetryMetricPoint(): Prisma.TelemetryMetricPointDelegate; /** * `prisma.credentialInstance`: Exposes CRUD operations for the **CredentialInstance** model. * Example usage: * ```ts * // Fetch zero or more CredentialInstances * const credentialInstances = await prisma.credentialInstance.findMany() * ``` */ get credentialInstance(): Prisma.CredentialInstanceDelegate; /** * `prisma.credentialSecretMaterial`: Exposes CRUD operations for the **CredentialSecretMaterial** model. * Example usage: * ```ts * // Fetch zero or more CredentialSecretMaterials * const credentialSecretMaterials = await prisma.credentialSecretMaterial.findMany() * ``` */ get credentialSecretMaterial(): Prisma.CredentialSecretMaterialDelegate; /** * `prisma.credentialOAuth2Material`: Exposes CRUD operations for the **CredentialOAuth2Material** model. * Example usage: * ```ts * // Fetch zero or more CredentialOAuth2Materials * const credentialOAuth2Materials = await prisma.credentialOAuth2Material.findMany() * ``` */ get credentialOAuth2Material(): Prisma.CredentialOAuth2MaterialDelegate; /** * `prisma.credentialOAuth2State`: Exposes CRUD operations for the **CredentialOAuth2State** model. * Example usage: * ```ts * // Fetch zero or more CredentialOAuth2States * const credentialOAuth2States = await prisma.credentialOAuth2State.findMany() * ``` */ get credentialOAuth2State(): Prisma.CredentialOAuth2StateDelegate; /** * `prisma.credentialBinding`: Exposes CRUD operations for the **CredentialBinding** model. * Example usage: * ```ts * // Fetch zero or more CredentialBindings * const credentialBindings = await prisma.credentialBinding.findMany() * ``` */ get credentialBinding(): Prisma.CredentialBindingDelegate; /** * `prisma.credentialTestResult`: Exposes CRUD operations for the **CredentialTestResult** model. * Example usage: * ```ts * // Fetch zero or more CredentialTestResults * const credentialTestResults = await prisma.credentialTestResult.findMany() * ``` */ get credentialTestResult(): Prisma.CredentialTestResultDelegate; /** * `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.userInvite`: Exposes CRUD operations for the **UserInvite** model. * Example usage: * ```ts * // Fetch zero or more UserInvites * const userInvites = await prisma.userInvite.findMany() * ``` */ get userInvite(): Prisma.UserInviteDelegate; /** * `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.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.workflowAuditLog`: Exposes CRUD operations for the **WorkflowAuditLog** model. * Example usage: * ```ts * // Fetch zero or more WorkflowAuditLogs * const workflowAuditLogs = await prisma.workflowAuditLog.findMany() * ``` */ get workflowAuditLog(): Prisma.WorkflowAuditLogDelegate; /** * `prisma.hmacNonce`: Exposes CRUD operations for the **HmacNonce** model. * Example usage: * ```ts * // Fetch zero or more HmacNonces * const hmacNonces = await prisma.hmacNonce.findMany() * ``` */ get hmacNonce(): Prisma.HmacNonceDelegate; /** * `prisma.humanTask`: Exposes CRUD operations for the **HumanTask** model. * Example usage: * ```ts * // Fetch zero or more HumanTasks * const humanTasks = await prisma.humanTask.findMany() * ``` */ get humanTask(): Prisma.HumanTaskDelegate; } 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 /** * 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: 7.5.0 * Query Engine version: 280c870be64f457428992c43c1f6d557fab6e29e */ export type PrismaVersion = { client: string engine: string } export const prismaVersion: PrismaVersion /** * Utility Types */ export import Bytes = runtime.Bytes 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: { Run: 'Run', RunWorkItem: 'RunWorkItem', ExecutionInstance: 'ExecutionInstance', RunSlotProjection: 'RunSlotProjection', TestSuiteRun: 'TestSuiteRun', TestAssertion: 'TestAssertion', WorkflowDebuggerOverlay: 'WorkflowDebuggerOverlay', WorkflowActivation: 'WorkflowActivation', TriggerSetupState: 'TriggerSetupState', RunTraceContext: 'RunTraceContext', TelemetrySpan: 'TelemetrySpan', WorkflowSnapshot: 'WorkflowSnapshot', TelemetryArtifact: 'TelemetryArtifact', TelemetryMetricPoint: 'TelemetryMetricPoint', CredentialInstance: 'CredentialInstance', CredentialSecretMaterial: 'CredentialSecretMaterial', CredentialOAuth2Material: 'CredentialOAuth2Material', CredentialOAuth2State: 'CredentialOAuth2State', CredentialBinding: 'CredentialBinding', CredentialTestResult: 'CredentialTestResult', User: 'User', UserInvite: 'UserInvite', Account: 'Account', Session: 'Session', VerificationToken: 'VerificationToken', WorkflowAuditLog: 'WorkflowAuditLog', HmacNonce: 'HmacNonce', HumanTask: 'HumanTask' }; export type ModelName = (typeof ModelName)[keyof typeof ModelName] interface TypeMapCb extends $Utils.Fn<{extArgs: $Extensions.InternalArgs }, $Utils.Record> { returns: Prisma.TypeMap } export type TypeMap = { globalOmitOptions: { omit: GlobalOmitOptions } meta: { modelProps: "run" | "runWorkItem" | "executionInstance" | "runSlotProjection" | "testSuiteRun" | "testAssertion" | "workflowDebuggerOverlay" | "workflowActivation" | "triggerSetupState" | "runTraceContext" | "telemetrySpan" | "workflowSnapshot" | "telemetryArtifact" | "telemetryMetricPoint" | "credentialInstance" | "credentialSecretMaterial" | "credentialOAuth2Material" | "credentialOAuth2State" | "credentialBinding" | "credentialTestResult" | "user" | "userInvite" | "account" | "session" | "verificationToken" | "workflowAuditLog" | "hmacNonce" | "humanTask" txIsolationLevel: Prisma.TransactionIsolationLevel } model: { Run: { payload: Prisma.$RunPayload fields: Prisma.RunFieldRefs operations: { findUnique: { args: Prisma.RunFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.RunFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.RunFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.RunFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.RunFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.RunCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.RunCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.RunCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.RunDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.RunUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.RunDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.RunUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.RunUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.RunUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.RunAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.RunGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.RunCountArgs result: $Utils.Optional | number } } } RunWorkItem: { payload: Prisma.$RunWorkItemPayload fields: Prisma.RunWorkItemFieldRefs operations: { findUnique: { args: Prisma.RunWorkItemFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.RunWorkItemFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.RunWorkItemFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.RunWorkItemFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.RunWorkItemFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.RunWorkItemCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.RunWorkItemCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.RunWorkItemCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.RunWorkItemDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.RunWorkItemUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.RunWorkItemDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.RunWorkItemUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.RunWorkItemUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.RunWorkItemUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.RunWorkItemAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.RunWorkItemGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.RunWorkItemCountArgs result: $Utils.Optional | number } } } ExecutionInstance: { payload: Prisma.$ExecutionInstancePayload fields: Prisma.ExecutionInstanceFieldRefs operations: { findUnique: { args: Prisma.ExecutionInstanceFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ExecutionInstanceFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ExecutionInstanceFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ExecutionInstanceFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ExecutionInstanceFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ExecutionInstanceCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ExecutionInstanceCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ExecutionInstanceCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ExecutionInstanceDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ExecutionInstanceUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ExecutionInstanceDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ExecutionInstanceUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.ExecutionInstanceUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.ExecutionInstanceUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ExecutionInstanceAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ExecutionInstanceGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ExecutionInstanceCountArgs result: $Utils.Optional | number } } } RunSlotProjection: { payload: Prisma.$RunSlotProjectionPayload fields: Prisma.RunSlotProjectionFieldRefs operations: { findUnique: { args: Prisma.RunSlotProjectionFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.RunSlotProjectionFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.RunSlotProjectionFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.RunSlotProjectionFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.RunSlotProjectionFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.RunSlotProjectionCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.RunSlotProjectionCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.RunSlotProjectionCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.RunSlotProjectionDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.RunSlotProjectionUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.RunSlotProjectionDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.RunSlotProjectionUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.RunSlotProjectionUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.RunSlotProjectionUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.RunSlotProjectionAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.RunSlotProjectionGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.RunSlotProjectionCountArgs result: $Utils.Optional | number } } } TestSuiteRun: { payload: Prisma.$TestSuiteRunPayload fields: Prisma.TestSuiteRunFieldRefs operations: { findUnique: { args: Prisma.TestSuiteRunFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.TestSuiteRunFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.TestSuiteRunFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.TestSuiteRunFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.TestSuiteRunFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.TestSuiteRunCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.TestSuiteRunCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.TestSuiteRunCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.TestSuiteRunDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.TestSuiteRunUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.TestSuiteRunDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.TestSuiteRunUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.TestSuiteRunUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.TestSuiteRunUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.TestSuiteRunAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.TestSuiteRunGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.TestSuiteRunCountArgs result: $Utils.Optional | number } } } TestAssertion: { payload: Prisma.$TestAssertionPayload fields: Prisma.TestAssertionFieldRefs operations: { findUnique: { args: Prisma.TestAssertionFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.TestAssertionFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.TestAssertionFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.TestAssertionFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.TestAssertionFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.TestAssertionCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.TestAssertionCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.TestAssertionCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.TestAssertionDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.TestAssertionUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.TestAssertionDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.TestAssertionUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.TestAssertionUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.TestAssertionUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.TestAssertionAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.TestAssertionGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.TestAssertionCountArgs result: $Utils.Optional | number } } } WorkflowDebuggerOverlay: { payload: Prisma.$WorkflowDebuggerOverlayPayload fields: Prisma.WorkflowDebuggerOverlayFieldRefs operations: { findUnique: { args: Prisma.WorkflowDebuggerOverlayFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.WorkflowDebuggerOverlayFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.WorkflowDebuggerOverlayFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.WorkflowDebuggerOverlayFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.WorkflowDebuggerOverlayFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.WorkflowDebuggerOverlayCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.WorkflowDebuggerOverlayCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.WorkflowDebuggerOverlayCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.WorkflowDebuggerOverlayDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.WorkflowDebuggerOverlayUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.WorkflowDebuggerOverlayDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.WorkflowDebuggerOverlayUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.WorkflowDebuggerOverlayUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.WorkflowDebuggerOverlayUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.WorkflowDebuggerOverlayAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.WorkflowDebuggerOverlayGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.WorkflowDebuggerOverlayCountArgs result: $Utils.Optional | number } } } WorkflowActivation: { payload: Prisma.$WorkflowActivationPayload fields: Prisma.WorkflowActivationFieldRefs operations: { findUnique: { args: Prisma.WorkflowActivationFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.WorkflowActivationFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.WorkflowActivationFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.WorkflowActivationFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.WorkflowActivationFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.WorkflowActivationCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.WorkflowActivationCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.WorkflowActivationCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.WorkflowActivationDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.WorkflowActivationUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.WorkflowActivationDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.WorkflowActivationUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.WorkflowActivationUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.WorkflowActivationUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.WorkflowActivationAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.WorkflowActivationGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.WorkflowActivationCountArgs result: $Utils.Optional | number } } } TriggerSetupState: { payload: Prisma.$TriggerSetupStatePayload fields: Prisma.TriggerSetupStateFieldRefs operations: { findUnique: { args: Prisma.TriggerSetupStateFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.TriggerSetupStateFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.TriggerSetupStateFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.TriggerSetupStateFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.TriggerSetupStateFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.TriggerSetupStateCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.TriggerSetupStateCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.TriggerSetupStateCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.TriggerSetupStateDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.TriggerSetupStateUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.TriggerSetupStateDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.TriggerSetupStateUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.TriggerSetupStateUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.TriggerSetupStateUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.TriggerSetupStateAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.TriggerSetupStateGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.TriggerSetupStateCountArgs result: $Utils.Optional | number } } } RunTraceContext: { payload: Prisma.$RunTraceContextPayload fields: Prisma.RunTraceContextFieldRefs operations: { findUnique: { args: Prisma.RunTraceContextFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.RunTraceContextFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.RunTraceContextFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.RunTraceContextFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.RunTraceContextFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.RunTraceContextCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.RunTraceContextCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.RunTraceContextCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.RunTraceContextDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.RunTraceContextUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.RunTraceContextDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.RunTraceContextUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.RunTraceContextUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.RunTraceContextUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.RunTraceContextAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.RunTraceContextGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.RunTraceContextCountArgs result: $Utils.Optional | number } } } TelemetrySpan: { payload: Prisma.$TelemetrySpanPayload fields: Prisma.TelemetrySpanFieldRefs operations: { findUnique: { args: Prisma.TelemetrySpanFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.TelemetrySpanFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.TelemetrySpanFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.TelemetrySpanFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.TelemetrySpanFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.TelemetrySpanCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.TelemetrySpanCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.TelemetrySpanCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.TelemetrySpanDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.TelemetrySpanUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.TelemetrySpanDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.TelemetrySpanUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.TelemetrySpanUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.TelemetrySpanUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.TelemetrySpanAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.TelemetrySpanGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.TelemetrySpanCountArgs result: $Utils.Optional | number } } } WorkflowSnapshot: { payload: Prisma.$WorkflowSnapshotPayload fields: Prisma.WorkflowSnapshotFieldRefs operations: { findUnique: { args: Prisma.WorkflowSnapshotFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.WorkflowSnapshotFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.WorkflowSnapshotFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.WorkflowSnapshotFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.WorkflowSnapshotFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.WorkflowSnapshotCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.WorkflowSnapshotCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.WorkflowSnapshotCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.WorkflowSnapshotDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.WorkflowSnapshotUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.WorkflowSnapshotDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.WorkflowSnapshotUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.WorkflowSnapshotUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.WorkflowSnapshotUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.WorkflowSnapshotAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.WorkflowSnapshotGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.WorkflowSnapshotCountArgs result: $Utils.Optional | number } } } TelemetryArtifact: { payload: Prisma.$TelemetryArtifactPayload fields: Prisma.TelemetryArtifactFieldRefs operations: { findUnique: { args: Prisma.TelemetryArtifactFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.TelemetryArtifactFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.TelemetryArtifactFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.TelemetryArtifactFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.TelemetryArtifactFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.TelemetryArtifactCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.TelemetryArtifactCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.TelemetryArtifactCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.TelemetryArtifactDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.TelemetryArtifactUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.TelemetryArtifactDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.TelemetryArtifactUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.TelemetryArtifactUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.TelemetryArtifactUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.TelemetryArtifactAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.TelemetryArtifactGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.TelemetryArtifactCountArgs result: $Utils.Optional | number } } } TelemetryMetricPoint: { payload: Prisma.$TelemetryMetricPointPayload fields: Prisma.TelemetryMetricPointFieldRefs operations: { findUnique: { args: Prisma.TelemetryMetricPointFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.TelemetryMetricPointFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.TelemetryMetricPointFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.TelemetryMetricPointFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.TelemetryMetricPointFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.TelemetryMetricPointCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.TelemetryMetricPointCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.TelemetryMetricPointCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.TelemetryMetricPointDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.TelemetryMetricPointUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.TelemetryMetricPointDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.TelemetryMetricPointUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.TelemetryMetricPointUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.TelemetryMetricPointUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.TelemetryMetricPointAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.TelemetryMetricPointGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.TelemetryMetricPointCountArgs result: $Utils.Optional | number } } } CredentialInstance: { payload: Prisma.$CredentialInstancePayload fields: Prisma.CredentialInstanceFieldRefs operations: { findUnique: { args: Prisma.CredentialInstanceFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CredentialInstanceFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CredentialInstanceFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CredentialInstanceFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CredentialInstanceFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CredentialInstanceCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CredentialInstanceCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.CredentialInstanceCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.CredentialInstanceDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CredentialInstanceUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CredentialInstanceDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CredentialInstanceUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.CredentialInstanceUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.CredentialInstanceUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CredentialInstanceAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CredentialInstanceGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CredentialInstanceCountArgs result: $Utils.Optional | number } } } CredentialSecretMaterial: { payload: Prisma.$CredentialSecretMaterialPayload fields: Prisma.CredentialSecretMaterialFieldRefs operations: { findUnique: { args: Prisma.CredentialSecretMaterialFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CredentialSecretMaterialFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CredentialSecretMaterialFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CredentialSecretMaterialFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CredentialSecretMaterialFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CredentialSecretMaterialCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CredentialSecretMaterialCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.CredentialSecretMaterialCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.CredentialSecretMaterialDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CredentialSecretMaterialUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CredentialSecretMaterialDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CredentialSecretMaterialUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.CredentialSecretMaterialUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.CredentialSecretMaterialUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CredentialSecretMaterialAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CredentialSecretMaterialGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CredentialSecretMaterialCountArgs result: $Utils.Optional | number } } } CredentialOAuth2Material: { payload: Prisma.$CredentialOAuth2MaterialPayload fields: Prisma.CredentialOAuth2MaterialFieldRefs operations: { findUnique: { args: Prisma.CredentialOAuth2MaterialFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CredentialOAuth2MaterialFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CredentialOAuth2MaterialFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CredentialOAuth2MaterialFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CredentialOAuth2MaterialFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CredentialOAuth2MaterialCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CredentialOAuth2MaterialCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.CredentialOAuth2MaterialCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.CredentialOAuth2MaterialDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CredentialOAuth2MaterialUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CredentialOAuth2MaterialDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CredentialOAuth2MaterialUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.CredentialOAuth2MaterialUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.CredentialOAuth2MaterialUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CredentialOAuth2MaterialAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CredentialOAuth2MaterialGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CredentialOAuth2MaterialCountArgs result: $Utils.Optional | number } } } CredentialOAuth2State: { payload: Prisma.$CredentialOAuth2StatePayload fields: Prisma.CredentialOAuth2StateFieldRefs operations: { findUnique: { args: Prisma.CredentialOAuth2StateFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CredentialOAuth2StateFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CredentialOAuth2StateFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CredentialOAuth2StateFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CredentialOAuth2StateFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CredentialOAuth2StateCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CredentialOAuth2StateCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.CredentialOAuth2StateCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.CredentialOAuth2StateDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CredentialOAuth2StateUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CredentialOAuth2StateDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CredentialOAuth2StateUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.CredentialOAuth2StateUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.CredentialOAuth2StateUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CredentialOAuth2StateAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CredentialOAuth2StateGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CredentialOAuth2StateCountArgs result: $Utils.Optional | number } } } CredentialBinding: { payload: Prisma.$CredentialBindingPayload fields: Prisma.CredentialBindingFieldRefs operations: { findUnique: { args: Prisma.CredentialBindingFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CredentialBindingFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CredentialBindingFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CredentialBindingFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CredentialBindingFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CredentialBindingCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CredentialBindingCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.CredentialBindingCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.CredentialBindingDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CredentialBindingUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CredentialBindingDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CredentialBindingUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.CredentialBindingUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.CredentialBindingUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CredentialBindingAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CredentialBindingGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CredentialBindingCountArgs result: $Utils.Optional | number } } } CredentialTestResult: { payload: Prisma.$CredentialTestResultPayload fields: Prisma.CredentialTestResultFieldRefs operations: { findUnique: { args: Prisma.CredentialTestResultFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CredentialTestResultFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CredentialTestResultFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CredentialTestResultFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CredentialTestResultFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CredentialTestResultCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CredentialTestResultCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.CredentialTestResultCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.CredentialTestResultDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CredentialTestResultUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CredentialTestResultDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CredentialTestResultUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.CredentialTestResultUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.CredentialTestResultUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CredentialTestResultAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CredentialTestResultGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CredentialTestResultCountArgs 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 } } } UserInvite: { payload: Prisma.$UserInvitePayload fields: Prisma.UserInviteFieldRefs operations: { findUnique: { args: Prisma.UserInviteFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.UserInviteFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.UserInviteFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.UserInviteFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.UserInviteFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.UserInviteCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.UserInviteCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.UserInviteCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.UserInviteDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.UserInviteUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.UserInviteDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.UserInviteUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.UserInviteUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.UserInviteUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.UserInviteAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.UserInviteGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.UserInviteCountArgs result: $Utils.Optional | number } } } 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 } } } 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 } } } WorkflowAuditLog: { payload: Prisma.$WorkflowAuditLogPayload fields: Prisma.WorkflowAuditLogFieldRefs operations: { findUnique: { args: Prisma.WorkflowAuditLogFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.WorkflowAuditLogFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.WorkflowAuditLogFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.WorkflowAuditLogFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.WorkflowAuditLogFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.WorkflowAuditLogCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.WorkflowAuditLogCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.WorkflowAuditLogCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.WorkflowAuditLogDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.WorkflowAuditLogUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.WorkflowAuditLogDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.WorkflowAuditLogUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.WorkflowAuditLogUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.WorkflowAuditLogUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.WorkflowAuditLogAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.WorkflowAuditLogGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.WorkflowAuditLogCountArgs result: $Utils.Optional | number } } } HmacNonce: { payload: Prisma.$HmacNoncePayload fields: Prisma.HmacNonceFieldRefs operations: { findUnique: { args: Prisma.HmacNonceFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.HmacNonceFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.HmacNonceFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.HmacNonceFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.HmacNonceFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.HmacNonceCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.HmacNonceCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.HmacNonceCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.HmacNonceDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.HmacNonceUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.HmacNonceDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.HmacNonceUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.HmacNonceUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.HmacNonceUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.HmacNonceAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.HmacNonceGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.HmacNonceCountArgs result: $Utils.Optional | number } } } HumanTask: { payload: Prisma.$HumanTaskPayload fields: Prisma.HumanTaskFieldRefs operations: { findUnique: { args: Prisma.HumanTaskFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.HumanTaskFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.HumanTaskFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.HumanTaskFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.HumanTaskFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.HumanTaskCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.HumanTaskCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.HumanTaskCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.HumanTaskDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.HumanTaskUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.HumanTaskDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.HumanTaskUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.HumanTaskUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.HumanTaskUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.HumanTaskAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.HumanTaskGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.HumanTaskCountArgs 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 { /** * @default "colorless" */ errorFormat?: ErrorFormat /** * @example * ``` * // Shorthand for `emit: 'stdout'` * log: ['query', 'info', 'warn', 'error'] * * // Emit as events only * log: [ * { emit: 'event', level: 'query' }, * { emit: 'event', level: 'info' }, * { emit: 'event', level: 'warn' } * { emit: 'event', level: 'error' } * ] * * / Emit as events and log to stdout * og: [ * { emit: 'stdout', level: 'query' }, * { emit: 'stdout', level: 'info' }, * { emit: 'stdout', level: 'warn' } * { emit: 'stdout', level: 'error' } * * ``` * Read more in our [docs](https://pris.ly/d/logging). */ log?: (LogLevel | LogDefinition)[] /** * The default values for transactionOptions * maxWait ?= 2000 * timeout ?= 5000 */ transactionOptions?: { maxWait?: number timeout?: number isolationLevel?: Prisma.TransactionIsolationLevel } /** * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale` */ adapter?: runtime.SqlDriverAdapterFactory /** * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database. */ accelerateUrl?: string /** * Global configuration for omitting model fields by default. * * @example * ``` * const prisma = new PrismaClient({ * omit: { * user: { * password: true * } * } * }) * ``` */ omit?: Prisma.GlobalOmitConfig /** * SQL commenter plugins that add metadata to SQL queries as comments. * Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/ * * @example * ``` * const prisma = new PrismaClient({ * adapter, * comments: [ * traceContext(), * queryInsights(), * ], * }) * ``` */ comments?: runtime.SqlCommenterPlugin[] } export type GlobalOmitConfig = { run?: RunOmit runWorkItem?: RunWorkItemOmit executionInstance?: ExecutionInstanceOmit runSlotProjection?: RunSlotProjectionOmit testSuiteRun?: TestSuiteRunOmit testAssertion?: TestAssertionOmit workflowDebuggerOverlay?: WorkflowDebuggerOverlayOmit workflowActivation?: WorkflowActivationOmit triggerSetupState?: TriggerSetupStateOmit runTraceContext?: RunTraceContextOmit telemetrySpan?: TelemetrySpanOmit workflowSnapshot?: WorkflowSnapshotOmit telemetryArtifact?: TelemetryArtifactOmit telemetryMetricPoint?: TelemetryMetricPointOmit credentialInstance?: CredentialInstanceOmit credentialSecretMaterial?: CredentialSecretMaterialOmit credentialOAuth2Material?: CredentialOAuth2MaterialOmit credentialOAuth2State?: CredentialOAuth2StateOmit credentialBinding?: CredentialBindingOmit credentialTestResult?: CredentialTestResultOmit user?: UserOmit userInvite?: UserInviteOmit account?: AccountOmit session?: SessionOmit verificationToken?: VerificationTokenOmit workflowAuditLog?: WorkflowAuditLogOmit hmacNonce?: HmacNonceOmit humanTask?: HumanTaskOmit } /* Types for Logging */ export type LogLevel = 'info' | 'query' | 'warn' | 'error' export type LogDefinition = { level: LogLevel emit: 'stdout' | 'event' } export type CheckIsLogLevel = T extends LogLevel ? T : never; export type GetLogType = CheckIsLogLevel< T extends LogDefinition ? T['level'] : T >; export type GetEvents = T extends Array ? 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' // 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 RunCountOutputType */ export type RunCountOutputType = { workItems: number executionInstances: number testAssertions: number } export type RunCountOutputTypeSelect = { workItems?: boolean | RunCountOutputTypeCountWorkItemsArgs executionInstances?: boolean | RunCountOutputTypeCountExecutionInstancesArgs testAssertions?: boolean | RunCountOutputTypeCountTestAssertionsArgs } // Custom InputTypes /** * RunCountOutputType without action */ export type RunCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the RunCountOutputType */ select?: RunCountOutputTypeSelect | null } /** * RunCountOutputType without action */ export type RunCountOutputTypeCountWorkItemsArgs = { where?: RunWorkItemWhereInput } /** * RunCountOutputType without action */ export type RunCountOutputTypeCountExecutionInstancesArgs = { where?: ExecutionInstanceWhereInput } /** * RunCountOutputType without action */ export type RunCountOutputTypeCountTestAssertionsArgs = { where?: TestAssertionWhereInput } /** * Count Type TestSuiteRunCountOutputType */ export type TestSuiteRunCountOutputType = { runs: number assertions: number } export type TestSuiteRunCountOutputTypeSelect = { runs?: boolean | TestSuiteRunCountOutputTypeCountRunsArgs assertions?: boolean | TestSuiteRunCountOutputTypeCountAssertionsArgs } // Custom InputTypes /** * TestSuiteRunCountOutputType without action */ export type TestSuiteRunCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the TestSuiteRunCountOutputType */ select?: TestSuiteRunCountOutputTypeSelect | null } /** * TestSuiteRunCountOutputType without action */ export type TestSuiteRunCountOutputTypeCountRunsArgs = { where?: RunWhereInput } /** * TestSuiteRunCountOutputType without action */ export type TestSuiteRunCountOutputTypeCountAssertionsArgs = { where?: TestAssertionWhereInput } /** * Count Type WorkflowSnapshotCountOutputType */ export type WorkflowSnapshotCountOutputType = { runs: number } export type WorkflowSnapshotCountOutputTypeSelect = { runs?: boolean | WorkflowSnapshotCountOutputTypeCountRunsArgs } // Custom InputTypes /** * WorkflowSnapshotCountOutputType without action */ export type WorkflowSnapshotCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the WorkflowSnapshotCountOutputType */ select?: WorkflowSnapshotCountOutputTypeSelect | null } /** * WorkflowSnapshotCountOutputType without action */ export type WorkflowSnapshotCountOutputTypeCountRunsArgs = { where?: RunWhereInput } /** * Count Type UserCountOutputType */ export type UserCountOutputType = { accounts: number sessions: number invites: number } export type UserCountOutputTypeSelect = { accounts?: boolean | UserCountOutputTypeCountAccountsArgs sessions?: boolean | UserCountOutputTypeCountSessionsArgs invites?: boolean | UserCountOutputTypeCountInvitesArgs } // 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 UserCountOutputTypeCountInvitesArgs = { where?: UserInviteWhereInput } /** * Models */ /** * Model Run */ export type AggregateRun = { _count: RunCountAggregateOutputType | null _avg: RunAvgAggregateOutputType | null _sum: RunSumAggregateOutputType | null _min: RunMinAggregateOutputType | null _max: RunMaxAggregateOutputType | null } export type RunAvgAggregateOutputType = { revision: number | null testCaseIndex: number | null } export type RunSumAggregateOutputType = { revision: number | null testCaseIndex: number | null } export type RunMinAggregateOutputType = { runId: string | null workflowId: string | null startedAt: string | null finishedAt: string | null status: string | null revision: number | null parentJson: string | null executionOptionsJson: string | null controlJson: string | null workflowSnapshotJson: string | null workflowSnapshotId: string | null policySnapshotJson: string | null engineCountersJson: string | null mutableStateJson: string | null hitlStateJson: string | null outputsByNodeJson: string | null updatedAt: string | null testSuiteRunId: string | null testCaseIndex: number | null testCaseLabel: string | null testCaseStatus: string | null } export type RunMaxAggregateOutputType = { runId: string | null workflowId: string | null startedAt: string | null finishedAt: string | null status: string | null revision: number | null parentJson: string | null executionOptionsJson: string | null controlJson: string | null workflowSnapshotJson: string | null workflowSnapshotId: string | null policySnapshotJson: string | null engineCountersJson: string | null mutableStateJson: string | null hitlStateJson: string | null outputsByNodeJson: string | null updatedAt: string | null testSuiteRunId: string | null testCaseIndex: number | null testCaseLabel: string | null testCaseStatus: string | null } export type RunCountAggregateOutputType = { runId: number workflowId: number startedAt: number finishedAt: number status: number revision: number parentJson: number executionOptionsJson: number controlJson: number workflowSnapshotJson: number workflowSnapshotId: number policySnapshotJson: number engineCountersJson: number mutableStateJson: number hitlStateJson: number outputsByNodeJson: number updatedAt: number testSuiteRunId: number testCaseIndex: number testCaseLabel: number testCaseStatus: number _all: number } export type RunAvgAggregateInputType = { revision?: true testCaseIndex?: true } export type RunSumAggregateInputType = { revision?: true testCaseIndex?: true } export type RunMinAggregateInputType = { runId?: true workflowId?: true startedAt?: true finishedAt?: true status?: true revision?: true parentJson?: true executionOptionsJson?: true controlJson?: true workflowSnapshotJson?: true workflowSnapshotId?: true policySnapshotJson?: true engineCountersJson?: true mutableStateJson?: true hitlStateJson?: true outputsByNodeJson?: true updatedAt?: true testSuiteRunId?: true testCaseIndex?: true testCaseLabel?: true testCaseStatus?: true } export type RunMaxAggregateInputType = { runId?: true workflowId?: true startedAt?: true finishedAt?: true status?: true revision?: true parentJson?: true executionOptionsJson?: true controlJson?: true workflowSnapshotJson?: true workflowSnapshotId?: true policySnapshotJson?: true engineCountersJson?: true mutableStateJson?: true hitlStateJson?: true outputsByNodeJson?: true updatedAt?: true testSuiteRunId?: true testCaseIndex?: true testCaseLabel?: true testCaseStatus?: true } export type RunCountAggregateInputType = { runId?: true workflowId?: true startedAt?: true finishedAt?: true status?: true revision?: true parentJson?: true executionOptionsJson?: true controlJson?: true workflowSnapshotJson?: true workflowSnapshotId?: true policySnapshotJson?: true engineCountersJson?: true mutableStateJson?: true hitlStateJson?: true outputsByNodeJson?: true updatedAt?: true testSuiteRunId?: true testCaseIndex?: true testCaseLabel?: true testCaseStatus?: true _all?: true } export type RunAggregateArgs = { /** * Filter which Run to aggregate. */ where?: RunWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Runs to fetch. */ orderBy?: RunOrderByWithRelationInput | RunOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: RunWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Runs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Runs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Runs **/ _count?: true | RunCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: RunAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: RunSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: RunMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: RunMaxAggregateInputType } export type GetRunAggregateType = { [P in keyof T & keyof AggregateRun]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type RunGroupByArgs = { where?: RunWhereInput orderBy?: RunOrderByWithAggregationInput | RunOrderByWithAggregationInput[] by: RunScalarFieldEnum[] | RunScalarFieldEnum having?: RunScalarWhereWithAggregatesInput take?: number skip?: number _count?: RunCountAggregateInputType | true _avg?: RunAvgAggregateInputType _sum?: RunSumAggregateInputType _min?: RunMinAggregateInputType _max?: RunMaxAggregateInputType } export type RunGroupByOutputType = { runId: string workflowId: string startedAt: string finishedAt: string | null status: string revision: number parentJson: string | null executionOptionsJson: string | null controlJson: string | null workflowSnapshotJson: string | null workflowSnapshotId: string | null policySnapshotJson: string | null engineCountersJson: string | null mutableStateJson: string | null hitlStateJson: string | null outputsByNodeJson: string updatedAt: string testSuiteRunId: string | null testCaseIndex: number | null testCaseLabel: string | null testCaseStatus: string | null _count: RunCountAggregateOutputType | null _avg: RunAvgAggregateOutputType | null _sum: RunSumAggregateOutputType | null _min: RunMinAggregateOutputType | null _max: RunMaxAggregateOutputType | null } type GetRunGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof RunGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type RunSelect = $Extensions.GetSelect<{ runId?: boolean workflowId?: boolean startedAt?: boolean finishedAt?: boolean status?: boolean revision?: boolean parentJson?: boolean executionOptionsJson?: boolean controlJson?: boolean workflowSnapshotJson?: boolean workflowSnapshotId?: boolean policySnapshotJson?: boolean engineCountersJson?: boolean mutableStateJson?: boolean hitlStateJson?: boolean outputsByNodeJson?: boolean updatedAt?: boolean testSuiteRunId?: boolean testCaseIndex?: boolean testCaseLabel?: boolean testCaseStatus?: boolean workItems?: boolean | Run$workItemsArgs executionInstances?: boolean | Run$executionInstancesArgs slotProjection?: boolean | Run$slotProjectionArgs testSuiteRun?: boolean | Run$testSuiteRunArgs testAssertions?: boolean | Run$testAssertionsArgs workflowSnapshot?: boolean | Run$workflowSnapshotArgs _count?: boolean | RunCountOutputTypeDefaultArgs }, ExtArgs["result"]["run"]> export type RunSelectCreateManyAndReturn = $Extensions.GetSelect<{ runId?: boolean workflowId?: boolean startedAt?: boolean finishedAt?: boolean status?: boolean revision?: boolean parentJson?: boolean executionOptionsJson?: boolean controlJson?: boolean workflowSnapshotJson?: boolean workflowSnapshotId?: boolean policySnapshotJson?: boolean engineCountersJson?: boolean mutableStateJson?: boolean hitlStateJson?: boolean outputsByNodeJson?: boolean updatedAt?: boolean testSuiteRunId?: boolean testCaseIndex?: boolean testCaseLabel?: boolean testCaseStatus?: boolean testSuiteRun?: boolean | Run$testSuiteRunArgs workflowSnapshot?: boolean | Run$workflowSnapshotArgs }, ExtArgs["result"]["run"]> export type RunSelectUpdateManyAndReturn = $Extensions.GetSelect<{ runId?: boolean workflowId?: boolean startedAt?: boolean finishedAt?: boolean status?: boolean revision?: boolean parentJson?: boolean executionOptionsJson?: boolean controlJson?: boolean workflowSnapshotJson?: boolean workflowSnapshotId?: boolean policySnapshotJson?: boolean engineCountersJson?: boolean mutableStateJson?: boolean hitlStateJson?: boolean outputsByNodeJson?: boolean updatedAt?: boolean testSuiteRunId?: boolean testCaseIndex?: boolean testCaseLabel?: boolean testCaseStatus?: boolean testSuiteRun?: boolean | Run$testSuiteRunArgs workflowSnapshot?: boolean | Run$workflowSnapshotArgs }, ExtArgs["result"]["run"]> export type RunSelectScalar = { runId?: boolean workflowId?: boolean startedAt?: boolean finishedAt?: boolean status?: boolean revision?: boolean parentJson?: boolean executionOptionsJson?: boolean controlJson?: boolean workflowSnapshotJson?: boolean workflowSnapshotId?: boolean policySnapshotJson?: boolean engineCountersJson?: boolean mutableStateJson?: boolean hitlStateJson?: boolean outputsByNodeJson?: boolean updatedAt?: boolean testSuiteRunId?: boolean testCaseIndex?: boolean testCaseLabel?: boolean testCaseStatus?: boolean } export type RunOmit = $Extensions.GetOmit<"runId" | "workflowId" | "startedAt" | "finishedAt" | "status" | "revision" | "parentJson" | "executionOptionsJson" | "controlJson" | "workflowSnapshotJson" | "workflowSnapshotId" | "policySnapshotJson" | "engineCountersJson" | "mutableStateJson" | "hitlStateJson" | "outputsByNodeJson" | "updatedAt" | "testSuiteRunId" | "testCaseIndex" | "testCaseLabel" | "testCaseStatus", ExtArgs["result"]["run"]> export type RunInclude = { workItems?: boolean | Run$workItemsArgs executionInstances?: boolean | Run$executionInstancesArgs slotProjection?: boolean | Run$slotProjectionArgs testSuiteRun?: boolean | Run$testSuiteRunArgs testAssertions?: boolean | Run$testAssertionsArgs workflowSnapshot?: boolean | Run$workflowSnapshotArgs _count?: boolean | RunCountOutputTypeDefaultArgs } export type RunIncludeCreateManyAndReturn = { testSuiteRun?: boolean | Run$testSuiteRunArgs workflowSnapshot?: boolean | Run$workflowSnapshotArgs } export type RunIncludeUpdateManyAndReturn = { testSuiteRun?: boolean | Run$testSuiteRunArgs workflowSnapshot?: boolean | Run$workflowSnapshotArgs } export type $RunPayload = { name: "Run" objects: { workItems: Prisma.$RunWorkItemPayload[] executionInstances: Prisma.$ExecutionInstancePayload[] slotProjection: Prisma.$RunSlotProjectionPayload | null testSuiteRun: Prisma.$TestSuiteRunPayload | null testAssertions: Prisma.$TestAssertionPayload[] workflowSnapshot: Prisma.$WorkflowSnapshotPayload | null } scalars: $Extensions.GetPayloadResult<{ runId: string workflowId: string startedAt: string finishedAt: string | null status: string revision: number parentJson: string | null executionOptionsJson: string | null controlJson: string | null workflowSnapshotJson: string | null workflowSnapshotId: string | null policySnapshotJson: string | null engineCountersJson: string | null mutableStateJson: string | null hitlStateJson: string | null outputsByNodeJson: string updatedAt: string testSuiteRunId: string | null testCaseIndex: number | null testCaseLabel: string | null testCaseStatus: string | null }, ExtArgs["result"]["run"]> composites: {} } type RunGetPayload = $Result.GetResult type RunCountArgs = Omit & { select?: RunCountAggregateInputType | true } export interface RunDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Run'], meta: { name: 'Run' } } /** * Find zero or one Run that matches the filter. * @param {RunFindUniqueArgs} args - Arguments to find a Run * @example * // Get one Run * const run = await prisma.run.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__RunClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Run that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {RunFindUniqueOrThrowArgs} args - Arguments to find a Run * @example * // Get one Run * const run = await prisma.run.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__RunClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Run 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 {RunFindFirstArgs} args - Arguments to find a Run * @example * // Get one Run * const run = await prisma.run.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__RunClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Run 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 {RunFindFirstOrThrowArgs} args - Arguments to find a Run * @example * // Get one Run * const run = await prisma.run.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__RunClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Runs 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 {RunFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Runs * const runs = await prisma.run.findMany() * * // Get first 10 Runs * const runs = await prisma.run.findMany({ take: 10 }) * * // Only select the `runId` * const runWithRunIdOnly = await prisma.run.findMany({ select: { runId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Run. * @param {RunCreateArgs} args - Arguments to create a Run. * @example * // Create one Run * const Run = await prisma.run.create({ * data: { * // ... data to create a Run * } * }) * */ create(args: SelectSubset>): Prisma__RunClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Runs. * @param {RunCreateManyArgs} args - Arguments to create many Runs. * @example * // Create many Runs * const run = await prisma.run.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Runs and returns the data saved in the database. * @param {RunCreateManyAndReturnArgs} args - Arguments to create many Runs. * @example * // Create many Runs * const run = await prisma.run.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Runs and only return the `runId` * const runWithRunIdOnly = await prisma.run.createManyAndReturn({ * select: { runId: 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 Run. * @param {RunDeleteArgs} args - Arguments to delete one Run. * @example * // Delete one Run * const Run = await prisma.run.delete({ * where: { * // ... filter to delete one Run * } * }) * */ delete(args: SelectSubset>): Prisma__RunClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Run. * @param {RunUpdateArgs} args - Arguments to update one Run. * @example * // Update one Run * const run = await prisma.run.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__RunClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Runs. * @param {RunDeleteManyArgs} args - Arguments to filter Runs to delete. * @example * // Delete a few Runs * const { count } = await prisma.run.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Runs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Runs * const run = await prisma.run.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Runs and returns the data updated in the database. * @param {RunUpdateManyAndReturnArgs} args - Arguments to update many Runs. * @example * // Update many Runs * const run = await prisma.run.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Runs and only return the `runId` * const runWithRunIdOnly = await prisma.run.updateManyAndReturn({ * select: { runId: 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 Run. * @param {RunUpsertArgs} args - Arguments to update or create a Run. * @example * // Update or create a Run * const run = await prisma.run.upsert({ * create: { * // ... data to create a Run * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Run we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__RunClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Runs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunCountArgs} args - Arguments to filter Runs to count. * @example * // Count the number of Runs * const count = await prisma.run.count({ * where: { * // ... the filter for the Runs 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 Run. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunAggregateArgs} 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 Run. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunGroupByArgs} 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 RunGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: RunGroupByArgs['orderBy'] } : { orderBy?: RunGroupByArgs['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 ? GetRunGroupByPayload : Prisma.PrismaPromise /** * Fields of the Run model */ readonly fields: RunFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Run. * 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__RunClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" workItems = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> executionInstances = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> slotProjection = {}>(args?: Subset>): Prisma__RunSlotProjectionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> testSuiteRun = {}>(args?: Subset>): Prisma__TestSuiteRunClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> testAssertions = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> workflowSnapshot = {}>(args?: Subset>): Prisma__WorkflowSnapshotClient<$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 Run model */ interface RunFieldRefs { readonly runId: FieldRef<"Run", 'String'> readonly workflowId: FieldRef<"Run", 'String'> readonly startedAt: FieldRef<"Run", 'String'> readonly finishedAt: FieldRef<"Run", 'String'> readonly status: FieldRef<"Run", 'String'> readonly revision: FieldRef<"Run", 'Int'> readonly parentJson: FieldRef<"Run", 'String'> readonly executionOptionsJson: FieldRef<"Run", 'String'> readonly controlJson: FieldRef<"Run", 'String'> readonly workflowSnapshotJson: FieldRef<"Run", 'String'> readonly workflowSnapshotId: FieldRef<"Run", 'String'> readonly policySnapshotJson: FieldRef<"Run", 'String'> readonly engineCountersJson: FieldRef<"Run", 'String'> readonly mutableStateJson: FieldRef<"Run", 'String'> readonly hitlStateJson: FieldRef<"Run", 'String'> readonly outputsByNodeJson: FieldRef<"Run", 'String'> readonly updatedAt: FieldRef<"Run", 'String'> readonly testSuiteRunId: FieldRef<"Run", 'String'> readonly testCaseIndex: FieldRef<"Run", 'Int'> readonly testCaseLabel: FieldRef<"Run", 'String'> readonly testCaseStatus: FieldRef<"Run", 'String'> } // Custom InputTypes /** * Run findUnique */ export type RunFindUniqueArgs = { /** * Select specific fields to fetch from the Run */ select?: RunSelect | null /** * Omit specific fields from the Run */ omit?: RunOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunInclude | null /** * Filter, which Run to fetch. */ where: RunWhereUniqueInput } /** * Run findUniqueOrThrow */ export type RunFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Run */ select?: RunSelect | null /** * Omit specific fields from the Run */ omit?: RunOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunInclude | null /** * Filter, which Run to fetch. */ where: RunWhereUniqueInput } /** * Run findFirst */ export type RunFindFirstArgs = { /** * Select specific fields to fetch from the Run */ select?: RunSelect | null /** * Omit specific fields from the Run */ omit?: RunOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunInclude | null /** * Filter, which Run to fetch. */ where?: RunWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Runs to fetch. */ orderBy?: RunOrderByWithRelationInput | RunOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Runs. */ cursor?: RunWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Runs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Runs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Runs. */ distinct?: RunScalarFieldEnum | RunScalarFieldEnum[] } /** * Run findFirstOrThrow */ export type RunFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Run */ select?: RunSelect | null /** * Omit specific fields from the Run */ omit?: RunOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunInclude | null /** * Filter, which Run to fetch. */ where?: RunWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Runs to fetch. */ orderBy?: RunOrderByWithRelationInput | RunOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Runs. */ cursor?: RunWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Runs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Runs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Runs. */ distinct?: RunScalarFieldEnum | RunScalarFieldEnum[] } /** * Run findMany */ export type RunFindManyArgs = { /** * Select specific fields to fetch from the Run */ select?: RunSelect | null /** * Omit specific fields from the Run */ omit?: RunOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunInclude | null /** * Filter, which Runs to fetch. */ where?: RunWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Runs to fetch. */ orderBy?: RunOrderByWithRelationInput | RunOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Runs. */ cursor?: RunWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Runs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Runs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Runs. */ distinct?: RunScalarFieldEnum | RunScalarFieldEnum[] } /** * Run create */ export type RunCreateArgs = { /** * Select specific fields to fetch from the Run */ select?: RunSelect | null /** * Omit specific fields from the Run */ omit?: RunOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunInclude | null /** * The data needed to create a Run. */ data: XOR } /** * Run createMany */ export type RunCreateManyArgs = { /** * The data used to create many Runs. */ data: RunCreateManyInput | RunCreateManyInput[] skipDuplicates?: boolean } /** * Run createManyAndReturn */ export type RunCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Run */ select?: RunSelectCreateManyAndReturn | null /** * Omit specific fields from the Run */ omit?: RunOmit | null /** * The data used to create many Runs. */ data: RunCreateManyInput | RunCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: RunIncludeCreateManyAndReturn | null } /** * Run update */ export type RunUpdateArgs = { /** * Select specific fields to fetch from the Run */ select?: RunSelect | null /** * Omit specific fields from the Run */ omit?: RunOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunInclude | null /** * The data needed to update a Run. */ data: XOR /** * Choose, which Run to update. */ where: RunWhereUniqueInput } /** * Run updateMany */ export type RunUpdateManyArgs = { /** * The data used to update Runs. */ data: XOR /** * Filter which Runs to update */ where?: RunWhereInput /** * Limit how many Runs to update. */ limit?: number } /** * Run updateManyAndReturn */ export type RunUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Run */ select?: RunSelectUpdateManyAndReturn | null /** * Omit specific fields from the Run */ omit?: RunOmit | null /** * The data used to update Runs. */ data: XOR /** * Filter which Runs to update */ where?: RunWhereInput /** * Limit how many Runs to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: RunIncludeUpdateManyAndReturn | null } /** * Run upsert */ export type RunUpsertArgs = { /** * Select specific fields to fetch from the Run */ select?: RunSelect | null /** * Omit specific fields from the Run */ omit?: RunOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunInclude | null /** * The filter to search for the Run to update in case it exists. */ where: RunWhereUniqueInput /** * In case the Run found by the `where` argument doesn't exist, create a new Run with this data. */ create: XOR /** * In case the Run was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Run delete */ export type RunDeleteArgs = { /** * Select specific fields to fetch from the Run */ select?: RunSelect | null /** * Omit specific fields from the Run */ omit?: RunOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunInclude | null /** * Filter which Run to delete. */ where: RunWhereUniqueInput } /** * Run deleteMany */ export type RunDeleteManyArgs = { /** * Filter which Runs to delete */ where?: RunWhereInput /** * Limit how many Runs to delete. */ limit?: number } /** * Run.workItems */ export type Run$workItemsArgs = { /** * Select specific fields to fetch from the RunWorkItem */ select?: RunWorkItemSelect | null /** * Omit specific fields from the RunWorkItem */ omit?: RunWorkItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunWorkItemInclude | null where?: RunWorkItemWhereInput orderBy?: RunWorkItemOrderByWithRelationInput | RunWorkItemOrderByWithRelationInput[] cursor?: RunWorkItemWhereUniqueInput take?: number skip?: number distinct?: RunWorkItemScalarFieldEnum | RunWorkItemScalarFieldEnum[] } /** * Run.executionInstances */ export type Run$executionInstancesArgs = { /** * Select specific fields to fetch from the ExecutionInstance */ select?: ExecutionInstanceSelect | null /** * Omit specific fields from the ExecutionInstance */ omit?: ExecutionInstanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: ExecutionInstanceInclude | null where?: ExecutionInstanceWhereInput orderBy?: ExecutionInstanceOrderByWithRelationInput | ExecutionInstanceOrderByWithRelationInput[] cursor?: ExecutionInstanceWhereUniqueInput take?: number skip?: number distinct?: ExecutionInstanceScalarFieldEnum | ExecutionInstanceScalarFieldEnum[] } /** * Run.slotProjection */ export type Run$slotProjectionArgs = { /** * Select specific fields to fetch from the RunSlotProjection */ select?: RunSlotProjectionSelect | null /** * Omit specific fields from the RunSlotProjection */ omit?: RunSlotProjectionOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunSlotProjectionInclude | null where?: RunSlotProjectionWhereInput } /** * Run.testSuiteRun */ export type Run$testSuiteRunArgs = { /** * Select specific fields to fetch from the TestSuiteRun */ select?: TestSuiteRunSelect | null /** * Omit specific fields from the TestSuiteRun */ omit?: TestSuiteRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestSuiteRunInclude | null where?: TestSuiteRunWhereInput } /** * Run.testAssertions */ export type Run$testAssertionsArgs = { /** * Select specific fields to fetch from the TestAssertion */ select?: TestAssertionSelect | null /** * Omit specific fields from the TestAssertion */ omit?: TestAssertionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestAssertionInclude | null where?: TestAssertionWhereInput orderBy?: TestAssertionOrderByWithRelationInput | TestAssertionOrderByWithRelationInput[] cursor?: TestAssertionWhereUniqueInput take?: number skip?: number distinct?: TestAssertionScalarFieldEnum | TestAssertionScalarFieldEnum[] } /** * Run.workflowSnapshot */ export type Run$workflowSnapshotArgs = { /** * Select specific fields to fetch from the WorkflowSnapshot */ select?: WorkflowSnapshotSelect | null /** * Omit specific fields from the WorkflowSnapshot */ omit?: WorkflowSnapshotOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkflowSnapshotInclude | null where?: WorkflowSnapshotWhereInput } /** * Run without action */ export type RunDefaultArgs = { /** * Select specific fields to fetch from the Run */ select?: RunSelect | null /** * Omit specific fields from the Run */ omit?: RunOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunInclude | null } /** * Model RunWorkItem */ export type AggregateRunWorkItem = { _count: RunWorkItemCountAggregateOutputType | null _avg: RunWorkItemAvgAggregateOutputType | null _sum: RunWorkItemSumAggregateOutputType | null _min: RunWorkItemMinAggregateOutputType | null _max: RunWorkItemMaxAggregateOutputType | null } export type RunWorkItemAvgAggregateOutputType = { itemsIn: number | null } export type RunWorkItemSumAggregateOutputType = { itemsIn: number | null } export type RunWorkItemMinAggregateOutputType = { workItemId: string | null runId: string | null workflowId: string | null status: string | null targetNodeId: string | null batchId: string | null queueName: string | null claimToken: string | null claimedBy: string | null claimedAt: string | null availableAt: string | null enqueuedAt: string | null completedAt: string | null failedAt: string | null sourceInstanceId: string | null parentInstanceId: string | null itemsIn: number | null inputsByPortJson: string | null errorJson: string | null } export type RunWorkItemMaxAggregateOutputType = { workItemId: string | null runId: string | null workflowId: string | null status: string | null targetNodeId: string | null batchId: string | null queueName: string | null claimToken: string | null claimedBy: string | null claimedAt: string | null availableAt: string | null enqueuedAt: string | null completedAt: string | null failedAt: string | null sourceInstanceId: string | null parentInstanceId: string | null itemsIn: number | null inputsByPortJson: string | null errorJson: string | null } export type RunWorkItemCountAggregateOutputType = { workItemId: number runId: number workflowId: number status: number targetNodeId: number batchId: number queueName: number claimToken: number claimedBy: number claimedAt: number availableAt: number enqueuedAt: number completedAt: number failedAt: number sourceInstanceId: number parentInstanceId: number itemsIn: number inputsByPortJson: number errorJson: number _all: number } export type RunWorkItemAvgAggregateInputType = { itemsIn?: true } export type RunWorkItemSumAggregateInputType = { itemsIn?: true } export type RunWorkItemMinAggregateInputType = { workItemId?: true runId?: true workflowId?: true status?: true targetNodeId?: true batchId?: true queueName?: true claimToken?: true claimedBy?: true claimedAt?: true availableAt?: true enqueuedAt?: true completedAt?: true failedAt?: true sourceInstanceId?: true parentInstanceId?: true itemsIn?: true inputsByPortJson?: true errorJson?: true } export type RunWorkItemMaxAggregateInputType = { workItemId?: true runId?: true workflowId?: true status?: true targetNodeId?: true batchId?: true queueName?: true claimToken?: true claimedBy?: true claimedAt?: true availableAt?: true enqueuedAt?: true completedAt?: true failedAt?: true sourceInstanceId?: true parentInstanceId?: true itemsIn?: true inputsByPortJson?: true errorJson?: true } export type RunWorkItemCountAggregateInputType = { workItemId?: true runId?: true workflowId?: true status?: true targetNodeId?: true batchId?: true queueName?: true claimToken?: true claimedBy?: true claimedAt?: true availableAt?: true enqueuedAt?: true completedAt?: true failedAt?: true sourceInstanceId?: true parentInstanceId?: true itemsIn?: true inputsByPortJson?: true errorJson?: true _all?: true } export type RunWorkItemAggregateArgs = { /** * Filter which RunWorkItem to aggregate. */ where?: RunWorkItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RunWorkItems to fetch. */ orderBy?: RunWorkItemOrderByWithRelationInput | RunWorkItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: RunWorkItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RunWorkItems from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RunWorkItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned RunWorkItems **/ _count?: true | RunWorkItemCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: RunWorkItemAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: RunWorkItemSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: RunWorkItemMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: RunWorkItemMaxAggregateInputType } export type GetRunWorkItemAggregateType = { [P in keyof T & keyof AggregateRunWorkItem]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type RunWorkItemGroupByArgs = { where?: RunWorkItemWhereInput orderBy?: RunWorkItemOrderByWithAggregationInput | RunWorkItemOrderByWithAggregationInput[] by: RunWorkItemScalarFieldEnum[] | RunWorkItemScalarFieldEnum having?: RunWorkItemScalarWhereWithAggregatesInput take?: number skip?: number _count?: RunWorkItemCountAggregateInputType | true _avg?: RunWorkItemAvgAggregateInputType _sum?: RunWorkItemSumAggregateInputType _min?: RunWorkItemMinAggregateInputType _max?: RunWorkItemMaxAggregateInputType } export type RunWorkItemGroupByOutputType = { workItemId: string runId: string workflowId: string status: string targetNodeId: string batchId: string queueName: string | null claimToken: string | null claimedBy: string | null claimedAt: string | null availableAt: string enqueuedAt: string completedAt: string | null failedAt: string | null sourceInstanceId: string | null parentInstanceId: string | null itemsIn: number inputsByPortJson: string errorJson: string | null _count: RunWorkItemCountAggregateOutputType | null _avg: RunWorkItemAvgAggregateOutputType | null _sum: RunWorkItemSumAggregateOutputType | null _min: RunWorkItemMinAggregateOutputType | null _max: RunWorkItemMaxAggregateOutputType | null } type GetRunWorkItemGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof RunWorkItemGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type RunWorkItemSelect = $Extensions.GetSelect<{ workItemId?: boolean runId?: boolean workflowId?: boolean status?: boolean targetNodeId?: boolean batchId?: boolean queueName?: boolean claimToken?: boolean claimedBy?: boolean claimedAt?: boolean availableAt?: boolean enqueuedAt?: boolean completedAt?: boolean failedAt?: boolean sourceInstanceId?: boolean parentInstanceId?: boolean itemsIn?: boolean inputsByPortJson?: boolean errorJson?: boolean run?: boolean | RunDefaultArgs }, ExtArgs["result"]["runWorkItem"]> export type RunWorkItemSelectCreateManyAndReturn = $Extensions.GetSelect<{ workItemId?: boolean runId?: boolean workflowId?: boolean status?: boolean targetNodeId?: boolean batchId?: boolean queueName?: boolean claimToken?: boolean claimedBy?: boolean claimedAt?: boolean availableAt?: boolean enqueuedAt?: boolean completedAt?: boolean failedAt?: boolean sourceInstanceId?: boolean parentInstanceId?: boolean itemsIn?: boolean inputsByPortJson?: boolean errorJson?: boolean run?: boolean | RunDefaultArgs }, ExtArgs["result"]["runWorkItem"]> export type RunWorkItemSelectUpdateManyAndReturn = $Extensions.GetSelect<{ workItemId?: boolean runId?: boolean workflowId?: boolean status?: boolean targetNodeId?: boolean batchId?: boolean queueName?: boolean claimToken?: boolean claimedBy?: boolean claimedAt?: boolean availableAt?: boolean enqueuedAt?: boolean completedAt?: boolean failedAt?: boolean sourceInstanceId?: boolean parentInstanceId?: boolean itemsIn?: boolean inputsByPortJson?: boolean errorJson?: boolean run?: boolean | RunDefaultArgs }, ExtArgs["result"]["runWorkItem"]> export type RunWorkItemSelectScalar = { workItemId?: boolean runId?: boolean workflowId?: boolean status?: boolean targetNodeId?: boolean batchId?: boolean queueName?: boolean claimToken?: boolean claimedBy?: boolean claimedAt?: boolean availableAt?: boolean enqueuedAt?: boolean completedAt?: boolean failedAt?: boolean sourceInstanceId?: boolean parentInstanceId?: boolean itemsIn?: boolean inputsByPortJson?: boolean errorJson?: boolean } export type RunWorkItemOmit = $Extensions.GetOmit<"workItemId" | "runId" | "workflowId" | "status" | "targetNodeId" | "batchId" | "queueName" | "claimToken" | "claimedBy" | "claimedAt" | "availableAt" | "enqueuedAt" | "completedAt" | "failedAt" | "sourceInstanceId" | "parentInstanceId" | "itemsIn" | "inputsByPortJson" | "errorJson", ExtArgs["result"]["runWorkItem"]> export type RunWorkItemInclude = { run?: boolean | RunDefaultArgs } export type RunWorkItemIncludeCreateManyAndReturn = { run?: boolean | RunDefaultArgs } export type RunWorkItemIncludeUpdateManyAndReturn = { run?: boolean | RunDefaultArgs } export type $RunWorkItemPayload = { name: "RunWorkItem" objects: { run: Prisma.$RunPayload } scalars: $Extensions.GetPayloadResult<{ workItemId: string runId: string workflowId: string status: string targetNodeId: string batchId: string queueName: string | null claimToken: string | null claimedBy: string | null claimedAt: string | null availableAt: string enqueuedAt: string completedAt: string | null failedAt: string | null sourceInstanceId: string | null parentInstanceId: string | null itemsIn: number inputsByPortJson: string errorJson: string | null }, ExtArgs["result"]["runWorkItem"]> composites: {} } type RunWorkItemGetPayload = $Result.GetResult type RunWorkItemCountArgs = Omit & { select?: RunWorkItemCountAggregateInputType | true } export interface RunWorkItemDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['RunWorkItem'], meta: { name: 'RunWorkItem' } } /** * Find zero or one RunWorkItem that matches the filter. * @param {RunWorkItemFindUniqueArgs} args - Arguments to find a RunWorkItem * @example * // Get one RunWorkItem * const runWorkItem = await prisma.runWorkItem.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__RunWorkItemClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one RunWorkItem that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {RunWorkItemFindUniqueOrThrowArgs} args - Arguments to find a RunWorkItem * @example * // Get one RunWorkItem * const runWorkItem = await prisma.runWorkItem.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__RunWorkItemClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first RunWorkItem 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 {RunWorkItemFindFirstArgs} args - Arguments to find a RunWorkItem * @example * // Get one RunWorkItem * const runWorkItem = await prisma.runWorkItem.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__RunWorkItemClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first RunWorkItem 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 {RunWorkItemFindFirstOrThrowArgs} args - Arguments to find a RunWorkItem * @example * // Get one RunWorkItem * const runWorkItem = await prisma.runWorkItem.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__RunWorkItemClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more RunWorkItems 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 {RunWorkItemFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all RunWorkItems * const runWorkItems = await prisma.runWorkItem.findMany() * * // Get first 10 RunWorkItems * const runWorkItems = await prisma.runWorkItem.findMany({ take: 10 }) * * // Only select the `workItemId` * const runWorkItemWithWorkItemIdOnly = await prisma.runWorkItem.findMany({ select: { workItemId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a RunWorkItem. * @param {RunWorkItemCreateArgs} args - Arguments to create a RunWorkItem. * @example * // Create one RunWorkItem * const RunWorkItem = await prisma.runWorkItem.create({ * data: { * // ... data to create a RunWorkItem * } * }) * */ create(args: SelectSubset>): Prisma__RunWorkItemClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many RunWorkItems. * @param {RunWorkItemCreateManyArgs} args - Arguments to create many RunWorkItems. * @example * // Create many RunWorkItems * const runWorkItem = await prisma.runWorkItem.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many RunWorkItems and returns the data saved in the database. * @param {RunWorkItemCreateManyAndReturnArgs} args - Arguments to create many RunWorkItems. * @example * // Create many RunWorkItems * const runWorkItem = await prisma.runWorkItem.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many RunWorkItems and only return the `workItemId` * const runWorkItemWithWorkItemIdOnly = await prisma.runWorkItem.createManyAndReturn({ * select: { workItemId: 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 RunWorkItem. * @param {RunWorkItemDeleteArgs} args - Arguments to delete one RunWorkItem. * @example * // Delete one RunWorkItem * const RunWorkItem = await prisma.runWorkItem.delete({ * where: { * // ... filter to delete one RunWorkItem * } * }) * */ delete(args: SelectSubset>): Prisma__RunWorkItemClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one RunWorkItem. * @param {RunWorkItemUpdateArgs} args - Arguments to update one RunWorkItem. * @example * // Update one RunWorkItem * const runWorkItem = await prisma.runWorkItem.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__RunWorkItemClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more RunWorkItems. * @param {RunWorkItemDeleteManyArgs} args - Arguments to filter RunWorkItems to delete. * @example * // Delete a few RunWorkItems * const { count } = await prisma.runWorkItem.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more RunWorkItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunWorkItemUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many RunWorkItems * const runWorkItem = await prisma.runWorkItem.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more RunWorkItems and returns the data updated in the database. * @param {RunWorkItemUpdateManyAndReturnArgs} args - Arguments to update many RunWorkItems. * @example * // Update many RunWorkItems * const runWorkItem = await prisma.runWorkItem.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more RunWorkItems and only return the `workItemId` * const runWorkItemWithWorkItemIdOnly = await prisma.runWorkItem.updateManyAndReturn({ * select: { workItemId: 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 RunWorkItem. * @param {RunWorkItemUpsertArgs} args - Arguments to update or create a RunWorkItem. * @example * // Update or create a RunWorkItem * const runWorkItem = await prisma.runWorkItem.upsert({ * create: { * // ... data to create a RunWorkItem * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the RunWorkItem we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__RunWorkItemClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of RunWorkItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunWorkItemCountArgs} args - Arguments to filter RunWorkItems to count. * @example * // Count the number of RunWorkItems * const count = await prisma.runWorkItem.count({ * where: { * // ... the filter for the RunWorkItems 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 RunWorkItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunWorkItemAggregateArgs} 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 RunWorkItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunWorkItemGroupByArgs} 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 RunWorkItemGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: RunWorkItemGroupByArgs['orderBy'] } : { orderBy?: RunWorkItemGroupByArgs['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 ? GetRunWorkItemGroupByPayload : Prisma.PrismaPromise /** * Fields of the RunWorkItem model */ readonly fields: RunWorkItemFieldRefs; } /** * The delegate class that acts as a "Promise-like" for RunWorkItem. * 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__RunWorkItemClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" run = {}>(args?: Subset>): Prisma__RunClient<$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 RunWorkItem model */ interface RunWorkItemFieldRefs { readonly workItemId: FieldRef<"RunWorkItem", 'String'> readonly runId: FieldRef<"RunWorkItem", 'String'> readonly workflowId: FieldRef<"RunWorkItem", 'String'> readonly status: FieldRef<"RunWorkItem", 'String'> readonly targetNodeId: FieldRef<"RunWorkItem", 'String'> readonly batchId: FieldRef<"RunWorkItem", 'String'> readonly queueName: FieldRef<"RunWorkItem", 'String'> readonly claimToken: FieldRef<"RunWorkItem", 'String'> readonly claimedBy: FieldRef<"RunWorkItem", 'String'> readonly claimedAt: FieldRef<"RunWorkItem", 'String'> readonly availableAt: FieldRef<"RunWorkItem", 'String'> readonly enqueuedAt: FieldRef<"RunWorkItem", 'String'> readonly completedAt: FieldRef<"RunWorkItem", 'String'> readonly failedAt: FieldRef<"RunWorkItem", 'String'> readonly sourceInstanceId: FieldRef<"RunWorkItem", 'String'> readonly parentInstanceId: FieldRef<"RunWorkItem", 'String'> readonly itemsIn: FieldRef<"RunWorkItem", 'Int'> readonly inputsByPortJson: FieldRef<"RunWorkItem", 'String'> readonly errorJson: FieldRef<"RunWorkItem", 'String'> } // Custom InputTypes /** * RunWorkItem findUnique */ export type RunWorkItemFindUniqueArgs = { /** * Select specific fields to fetch from the RunWorkItem */ select?: RunWorkItemSelect | null /** * Omit specific fields from the RunWorkItem */ omit?: RunWorkItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunWorkItemInclude | null /** * Filter, which RunWorkItem to fetch. */ where: RunWorkItemWhereUniqueInput } /** * RunWorkItem findUniqueOrThrow */ export type RunWorkItemFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the RunWorkItem */ select?: RunWorkItemSelect | null /** * Omit specific fields from the RunWorkItem */ omit?: RunWorkItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunWorkItemInclude | null /** * Filter, which RunWorkItem to fetch. */ where: RunWorkItemWhereUniqueInput } /** * RunWorkItem findFirst */ export type RunWorkItemFindFirstArgs = { /** * Select specific fields to fetch from the RunWorkItem */ select?: RunWorkItemSelect | null /** * Omit specific fields from the RunWorkItem */ omit?: RunWorkItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunWorkItemInclude | null /** * Filter, which RunWorkItem to fetch. */ where?: RunWorkItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RunWorkItems to fetch. */ orderBy?: RunWorkItemOrderByWithRelationInput | RunWorkItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for RunWorkItems. */ cursor?: RunWorkItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RunWorkItems from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RunWorkItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RunWorkItems. */ distinct?: RunWorkItemScalarFieldEnum | RunWorkItemScalarFieldEnum[] } /** * RunWorkItem findFirstOrThrow */ export type RunWorkItemFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the RunWorkItem */ select?: RunWorkItemSelect | null /** * Omit specific fields from the RunWorkItem */ omit?: RunWorkItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunWorkItemInclude | null /** * Filter, which RunWorkItem to fetch. */ where?: RunWorkItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RunWorkItems to fetch. */ orderBy?: RunWorkItemOrderByWithRelationInput | RunWorkItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for RunWorkItems. */ cursor?: RunWorkItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RunWorkItems from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RunWorkItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RunWorkItems. */ distinct?: RunWorkItemScalarFieldEnum | RunWorkItemScalarFieldEnum[] } /** * RunWorkItem findMany */ export type RunWorkItemFindManyArgs = { /** * Select specific fields to fetch from the RunWorkItem */ select?: RunWorkItemSelect | null /** * Omit specific fields from the RunWorkItem */ omit?: RunWorkItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunWorkItemInclude | null /** * Filter, which RunWorkItems to fetch. */ where?: RunWorkItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RunWorkItems to fetch. */ orderBy?: RunWorkItemOrderByWithRelationInput | RunWorkItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing RunWorkItems. */ cursor?: RunWorkItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RunWorkItems from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RunWorkItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RunWorkItems. */ distinct?: RunWorkItemScalarFieldEnum | RunWorkItemScalarFieldEnum[] } /** * RunWorkItem create */ export type RunWorkItemCreateArgs = { /** * Select specific fields to fetch from the RunWorkItem */ select?: RunWorkItemSelect | null /** * Omit specific fields from the RunWorkItem */ omit?: RunWorkItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunWorkItemInclude | null /** * The data needed to create a RunWorkItem. */ data: XOR } /** * RunWorkItem createMany */ export type RunWorkItemCreateManyArgs = { /** * The data used to create many RunWorkItems. */ data: RunWorkItemCreateManyInput | RunWorkItemCreateManyInput[] skipDuplicates?: boolean } /** * RunWorkItem createManyAndReturn */ export type RunWorkItemCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the RunWorkItem */ select?: RunWorkItemSelectCreateManyAndReturn | null /** * Omit specific fields from the RunWorkItem */ omit?: RunWorkItemOmit | null /** * The data used to create many RunWorkItems. */ data: RunWorkItemCreateManyInput | RunWorkItemCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: RunWorkItemIncludeCreateManyAndReturn | null } /** * RunWorkItem update */ export type RunWorkItemUpdateArgs = { /** * Select specific fields to fetch from the RunWorkItem */ select?: RunWorkItemSelect | null /** * Omit specific fields from the RunWorkItem */ omit?: RunWorkItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunWorkItemInclude | null /** * The data needed to update a RunWorkItem. */ data: XOR /** * Choose, which RunWorkItem to update. */ where: RunWorkItemWhereUniqueInput } /** * RunWorkItem updateMany */ export type RunWorkItemUpdateManyArgs = { /** * The data used to update RunWorkItems. */ data: XOR /** * Filter which RunWorkItems to update */ where?: RunWorkItemWhereInput /** * Limit how many RunWorkItems to update. */ limit?: number } /** * RunWorkItem updateManyAndReturn */ export type RunWorkItemUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the RunWorkItem */ select?: RunWorkItemSelectUpdateManyAndReturn | null /** * Omit specific fields from the RunWorkItem */ omit?: RunWorkItemOmit | null /** * The data used to update RunWorkItems. */ data: XOR /** * Filter which RunWorkItems to update */ where?: RunWorkItemWhereInput /** * Limit how many RunWorkItems to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: RunWorkItemIncludeUpdateManyAndReturn | null } /** * RunWorkItem upsert */ export type RunWorkItemUpsertArgs = { /** * Select specific fields to fetch from the RunWorkItem */ select?: RunWorkItemSelect | null /** * Omit specific fields from the RunWorkItem */ omit?: RunWorkItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunWorkItemInclude | null /** * The filter to search for the RunWorkItem to update in case it exists. */ where: RunWorkItemWhereUniqueInput /** * In case the RunWorkItem found by the `where` argument doesn't exist, create a new RunWorkItem with this data. */ create: XOR /** * In case the RunWorkItem was found with the provided `where` argument, update it with this data. */ update: XOR } /** * RunWorkItem delete */ export type RunWorkItemDeleteArgs = { /** * Select specific fields to fetch from the RunWorkItem */ select?: RunWorkItemSelect | null /** * Omit specific fields from the RunWorkItem */ omit?: RunWorkItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunWorkItemInclude | null /** * Filter which RunWorkItem to delete. */ where: RunWorkItemWhereUniqueInput } /** * RunWorkItem deleteMany */ export type RunWorkItemDeleteManyArgs = { /** * Filter which RunWorkItems to delete */ where?: RunWorkItemWhereInput /** * Limit how many RunWorkItems to delete. */ limit?: number } /** * RunWorkItem without action */ export type RunWorkItemDefaultArgs = { /** * Select specific fields to fetch from the RunWorkItem */ select?: RunWorkItemSelect | null /** * Omit specific fields from the RunWorkItem */ omit?: RunWorkItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunWorkItemInclude | null } /** * Model ExecutionInstance */ export type AggregateExecutionInstance = { _count: ExecutionInstanceCountAggregateOutputType | null _avg: ExecutionInstanceAvgAggregateOutputType | null _sum: ExecutionInstanceSumAggregateOutputType | null _min: ExecutionInstanceMinAggregateOutputType | null _max: ExecutionInstanceMaxAggregateOutputType | null } export type ExecutionInstanceAvgAggregateOutputType = { runIndex: number | null itemCount: number | null outputItemCount: number | null successfulItemCount: number | null failedItemCount: number | null inputBytes: number | null outputBytes: number | null itemIndex: number | null } export type ExecutionInstanceSumAggregateOutputType = { runIndex: number | null itemCount: number | null outputItemCount: number | null successfulItemCount: number | null failedItemCount: number | null inputBytes: number | null outputBytes: number | null itemIndex: number | null } export type ExecutionInstanceMinAggregateOutputType = { instanceId: string | null runId: string | null workflowId: string | null slotNodeId: string | null workflowNodeId: string | null kind: string | null connectionKind: string | null activationId: string | null batchId: string | null runIndex: number | null parentInstanceId: string | null parentRunId: string | null workerClaimToken: string | null status: string | null queuedAt: string | null startedAt: string | null finishedAt: string | null updatedAt: string | null itemCount: number | null inputJson: string | null outputJson: string | null errorJson: string | null inputItemIndicesJson: string | null outputItemCount: number | null successfulItemCount: number | null failedItemCount: number | null inputStorageKind: string | null outputStorageKind: string | null inputBytes: number | null outputBytes: number | null inputPreviewJson: string | null outputPreviewJson: string | null inputPayloadRef: string | null outputPayloadRef: string | null inputTruncated: boolean | null outputTruncated: boolean | null usedPinnedOutput: boolean | null iterationId: string | null itemIndex: number | null parentInvocationId: string | null childRunId: string | null } export type ExecutionInstanceMaxAggregateOutputType = { instanceId: string | null runId: string | null workflowId: string | null slotNodeId: string | null workflowNodeId: string | null kind: string | null connectionKind: string | null activationId: string | null batchId: string | null runIndex: number | null parentInstanceId: string | null parentRunId: string | null workerClaimToken: string | null status: string | null queuedAt: string | null startedAt: string | null finishedAt: string | null updatedAt: string | null itemCount: number | null inputJson: string | null outputJson: string | null errorJson: string | null inputItemIndicesJson: string | null outputItemCount: number | null successfulItemCount: number | null failedItemCount: number | null inputStorageKind: string | null outputStorageKind: string | null inputBytes: number | null outputBytes: number | null inputPreviewJson: string | null outputPreviewJson: string | null inputPayloadRef: string | null outputPayloadRef: string | null inputTruncated: boolean | null outputTruncated: boolean | null usedPinnedOutput: boolean | null iterationId: string | null itemIndex: number | null parentInvocationId: string | null childRunId: string | null } export type ExecutionInstanceCountAggregateOutputType = { instanceId: number runId: number workflowId: number slotNodeId: number workflowNodeId: number kind: number connectionKind: number activationId: number batchId: number runIndex: number parentInstanceId: number parentRunId: number workerClaimToken: number status: number queuedAt: number startedAt: number finishedAt: number updatedAt: number itemCount: number inputJson: number outputJson: number errorJson: number inputItemIndicesJson: number outputItemCount: number successfulItemCount: number failedItemCount: number inputStorageKind: number outputStorageKind: number inputBytes: number outputBytes: number inputPreviewJson: number outputPreviewJson: number inputPayloadRef: number outputPayloadRef: number inputTruncated: number outputTruncated: number usedPinnedOutput: number iterationId: number itemIndex: number parentInvocationId: number childRunId: number _all: number } export type ExecutionInstanceAvgAggregateInputType = { runIndex?: true itemCount?: true outputItemCount?: true successfulItemCount?: true failedItemCount?: true inputBytes?: true outputBytes?: true itemIndex?: true } export type ExecutionInstanceSumAggregateInputType = { runIndex?: true itemCount?: true outputItemCount?: true successfulItemCount?: true failedItemCount?: true inputBytes?: true outputBytes?: true itemIndex?: true } export type ExecutionInstanceMinAggregateInputType = { instanceId?: true runId?: true workflowId?: true slotNodeId?: true workflowNodeId?: true kind?: true connectionKind?: true activationId?: true batchId?: true runIndex?: true parentInstanceId?: true parentRunId?: true workerClaimToken?: true status?: true queuedAt?: true startedAt?: true finishedAt?: true updatedAt?: true itemCount?: true inputJson?: true outputJson?: true errorJson?: true inputItemIndicesJson?: true outputItemCount?: true successfulItemCount?: true failedItemCount?: true inputStorageKind?: true outputStorageKind?: true inputBytes?: true outputBytes?: true inputPreviewJson?: true outputPreviewJson?: true inputPayloadRef?: true outputPayloadRef?: true inputTruncated?: true outputTruncated?: true usedPinnedOutput?: true iterationId?: true itemIndex?: true parentInvocationId?: true childRunId?: true } export type ExecutionInstanceMaxAggregateInputType = { instanceId?: true runId?: true workflowId?: true slotNodeId?: true workflowNodeId?: true kind?: true connectionKind?: true activationId?: true batchId?: true runIndex?: true parentInstanceId?: true parentRunId?: true workerClaimToken?: true status?: true queuedAt?: true startedAt?: true finishedAt?: true updatedAt?: true itemCount?: true inputJson?: true outputJson?: true errorJson?: true inputItemIndicesJson?: true outputItemCount?: true successfulItemCount?: true failedItemCount?: true inputStorageKind?: true outputStorageKind?: true inputBytes?: true outputBytes?: true inputPreviewJson?: true outputPreviewJson?: true inputPayloadRef?: true outputPayloadRef?: true inputTruncated?: true outputTruncated?: true usedPinnedOutput?: true iterationId?: true itemIndex?: true parentInvocationId?: true childRunId?: true } export type ExecutionInstanceCountAggregateInputType = { instanceId?: true runId?: true workflowId?: true slotNodeId?: true workflowNodeId?: true kind?: true connectionKind?: true activationId?: true batchId?: true runIndex?: true parentInstanceId?: true parentRunId?: true workerClaimToken?: true status?: true queuedAt?: true startedAt?: true finishedAt?: true updatedAt?: true itemCount?: true inputJson?: true outputJson?: true errorJson?: true inputItemIndicesJson?: true outputItemCount?: true successfulItemCount?: true failedItemCount?: true inputStorageKind?: true outputStorageKind?: true inputBytes?: true outputBytes?: true inputPreviewJson?: true outputPreviewJson?: true inputPayloadRef?: true outputPayloadRef?: true inputTruncated?: true outputTruncated?: true usedPinnedOutput?: true iterationId?: true itemIndex?: true parentInvocationId?: true childRunId?: true _all?: true } export type ExecutionInstanceAggregateArgs = { /** * Filter which ExecutionInstance to aggregate. */ where?: ExecutionInstanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ExecutionInstances to fetch. */ orderBy?: ExecutionInstanceOrderByWithRelationInput | ExecutionInstanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ExecutionInstanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ExecutionInstances from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` ExecutionInstances. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ExecutionInstances **/ _count?: true | ExecutionInstanceCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ExecutionInstanceAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ExecutionInstanceSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ExecutionInstanceMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ExecutionInstanceMaxAggregateInputType } export type GetExecutionInstanceAggregateType = { [P in keyof T & keyof AggregateExecutionInstance]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ExecutionInstanceGroupByArgs = { where?: ExecutionInstanceWhereInput orderBy?: ExecutionInstanceOrderByWithAggregationInput | ExecutionInstanceOrderByWithAggregationInput[] by: ExecutionInstanceScalarFieldEnum[] | ExecutionInstanceScalarFieldEnum having?: ExecutionInstanceScalarWhereWithAggregatesInput take?: number skip?: number _count?: ExecutionInstanceCountAggregateInputType | true _avg?: ExecutionInstanceAvgAggregateInputType _sum?: ExecutionInstanceSumAggregateInputType _min?: ExecutionInstanceMinAggregateInputType _max?: ExecutionInstanceMaxAggregateInputType } export type ExecutionInstanceGroupByOutputType = { instanceId: string runId: string workflowId: string slotNodeId: string workflowNodeId: string kind: string connectionKind: string | null activationId: string | null batchId: string runIndex: number parentInstanceId: string | null parentRunId: string | null workerClaimToken: string | null status: string queuedAt: string | null startedAt: string | null finishedAt: string | null updatedAt: string itemCount: number inputJson: string | null outputJson: string | null errorJson: string | null inputItemIndicesJson: string | null outputItemCount: number | null successfulItemCount: number | null failedItemCount: number | null inputStorageKind: string | null outputStorageKind: string | null inputBytes: number | null outputBytes: number | null inputPreviewJson: string | null outputPreviewJson: string | null inputPayloadRef: string | null outputPayloadRef: string | null inputTruncated: boolean | null outputTruncated: boolean | null usedPinnedOutput: boolean | null iterationId: string | null itemIndex: number | null parentInvocationId: string | null childRunId: string | null _count: ExecutionInstanceCountAggregateOutputType | null _avg: ExecutionInstanceAvgAggregateOutputType | null _sum: ExecutionInstanceSumAggregateOutputType | null _min: ExecutionInstanceMinAggregateOutputType | null _max: ExecutionInstanceMaxAggregateOutputType | null } type GetExecutionInstanceGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ExecutionInstanceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ExecutionInstanceSelect = $Extensions.GetSelect<{ instanceId?: boolean runId?: boolean workflowId?: boolean slotNodeId?: boolean workflowNodeId?: boolean kind?: boolean connectionKind?: boolean activationId?: boolean batchId?: boolean runIndex?: boolean parentInstanceId?: boolean parentRunId?: boolean workerClaimToken?: boolean status?: boolean queuedAt?: boolean startedAt?: boolean finishedAt?: boolean updatedAt?: boolean itemCount?: boolean inputJson?: boolean outputJson?: boolean errorJson?: boolean inputItemIndicesJson?: boolean outputItemCount?: boolean successfulItemCount?: boolean failedItemCount?: boolean inputStorageKind?: boolean outputStorageKind?: boolean inputBytes?: boolean outputBytes?: boolean inputPreviewJson?: boolean outputPreviewJson?: boolean inputPayloadRef?: boolean outputPayloadRef?: boolean inputTruncated?: boolean outputTruncated?: boolean usedPinnedOutput?: boolean iterationId?: boolean itemIndex?: boolean parentInvocationId?: boolean childRunId?: boolean run?: boolean | RunDefaultArgs }, ExtArgs["result"]["executionInstance"]> export type ExecutionInstanceSelectCreateManyAndReturn = $Extensions.GetSelect<{ instanceId?: boolean runId?: boolean workflowId?: boolean slotNodeId?: boolean workflowNodeId?: boolean kind?: boolean connectionKind?: boolean activationId?: boolean batchId?: boolean runIndex?: boolean parentInstanceId?: boolean parentRunId?: boolean workerClaimToken?: boolean status?: boolean queuedAt?: boolean startedAt?: boolean finishedAt?: boolean updatedAt?: boolean itemCount?: boolean inputJson?: boolean outputJson?: boolean errorJson?: boolean inputItemIndicesJson?: boolean outputItemCount?: boolean successfulItemCount?: boolean failedItemCount?: boolean inputStorageKind?: boolean outputStorageKind?: boolean inputBytes?: boolean outputBytes?: boolean inputPreviewJson?: boolean outputPreviewJson?: boolean inputPayloadRef?: boolean outputPayloadRef?: boolean inputTruncated?: boolean outputTruncated?: boolean usedPinnedOutput?: boolean iterationId?: boolean itemIndex?: boolean parentInvocationId?: boolean childRunId?: boolean run?: boolean | RunDefaultArgs }, ExtArgs["result"]["executionInstance"]> export type ExecutionInstanceSelectUpdateManyAndReturn = $Extensions.GetSelect<{ instanceId?: boolean runId?: boolean workflowId?: boolean slotNodeId?: boolean workflowNodeId?: boolean kind?: boolean connectionKind?: boolean activationId?: boolean batchId?: boolean runIndex?: boolean parentInstanceId?: boolean parentRunId?: boolean workerClaimToken?: boolean status?: boolean queuedAt?: boolean startedAt?: boolean finishedAt?: boolean updatedAt?: boolean itemCount?: boolean inputJson?: boolean outputJson?: boolean errorJson?: boolean inputItemIndicesJson?: boolean outputItemCount?: boolean successfulItemCount?: boolean failedItemCount?: boolean inputStorageKind?: boolean outputStorageKind?: boolean inputBytes?: boolean outputBytes?: boolean inputPreviewJson?: boolean outputPreviewJson?: boolean inputPayloadRef?: boolean outputPayloadRef?: boolean inputTruncated?: boolean outputTruncated?: boolean usedPinnedOutput?: boolean iterationId?: boolean itemIndex?: boolean parentInvocationId?: boolean childRunId?: boolean run?: boolean | RunDefaultArgs }, ExtArgs["result"]["executionInstance"]> export type ExecutionInstanceSelectScalar = { instanceId?: boolean runId?: boolean workflowId?: boolean slotNodeId?: boolean workflowNodeId?: boolean kind?: boolean connectionKind?: boolean activationId?: boolean batchId?: boolean runIndex?: boolean parentInstanceId?: boolean parentRunId?: boolean workerClaimToken?: boolean status?: boolean queuedAt?: boolean startedAt?: boolean finishedAt?: boolean updatedAt?: boolean itemCount?: boolean inputJson?: boolean outputJson?: boolean errorJson?: boolean inputItemIndicesJson?: boolean outputItemCount?: boolean successfulItemCount?: boolean failedItemCount?: boolean inputStorageKind?: boolean outputStorageKind?: boolean inputBytes?: boolean outputBytes?: boolean inputPreviewJson?: boolean outputPreviewJson?: boolean inputPayloadRef?: boolean outputPayloadRef?: boolean inputTruncated?: boolean outputTruncated?: boolean usedPinnedOutput?: boolean iterationId?: boolean itemIndex?: boolean parentInvocationId?: boolean childRunId?: boolean } export type ExecutionInstanceOmit = $Extensions.GetOmit<"instanceId" | "runId" | "workflowId" | "slotNodeId" | "workflowNodeId" | "kind" | "connectionKind" | "activationId" | "batchId" | "runIndex" | "parentInstanceId" | "parentRunId" | "workerClaimToken" | "status" | "queuedAt" | "startedAt" | "finishedAt" | "updatedAt" | "itemCount" | "inputJson" | "outputJson" | "errorJson" | "inputItemIndicesJson" | "outputItemCount" | "successfulItemCount" | "failedItemCount" | "inputStorageKind" | "outputStorageKind" | "inputBytes" | "outputBytes" | "inputPreviewJson" | "outputPreviewJson" | "inputPayloadRef" | "outputPayloadRef" | "inputTruncated" | "outputTruncated" | "usedPinnedOutput" | "iterationId" | "itemIndex" | "parentInvocationId" | "childRunId", ExtArgs["result"]["executionInstance"]> export type ExecutionInstanceInclude = { run?: boolean | RunDefaultArgs } export type ExecutionInstanceIncludeCreateManyAndReturn = { run?: boolean | RunDefaultArgs } export type ExecutionInstanceIncludeUpdateManyAndReturn = { run?: boolean | RunDefaultArgs } export type $ExecutionInstancePayload = { name: "ExecutionInstance" objects: { run: Prisma.$RunPayload } scalars: $Extensions.GetPayloadResult<{ instanceId: string runId: string workflowId: string slotNodeId: string workflowNodeId: string kind: string connectionKind: string | null activationId: string | null batchId: string runIndex: number parentInstanceId: string | null parentRunId: string | null workerClaimToken: string | null status: string queuedAt: string | null startedAt: string | null finishedAt: string | null updatedAt: string itemCount: number inputJson: string | null outputJson: string | null errorJson: string | null inputItemIndicesJson: string | null outputItemCount: number | null successfulItemCount: number | null failedItemCount: number | null inputStorageKind: string | null outputStorageKind: string | null inputBytes: number | null outputBytes: number | null inputPreviewJson: string | null outputPreviewJson: string | null inputPayloadRef: string | null outputPayloadRef: string | null inputTruncated: boolean | null outputTruncated: boolean | null usedPinnedOutput: boolean | null iterationId: string | null itemIndex: number | null parentInvocationId: string | null childRunId: string | null }, ExtArgs["result"]["executionInstance"]> composites: {} } type ExecutionInstanceGetPayload = $Result.GetResult type ExecutionInstanceCountArgs = Omit & { select?: ExecutionInstanceCountAggregateInputType | true } export interface ExecutionInstanceDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ExecutionInstance'], meta: { name: 'ExecutionInstance' } } /** * Find zero or one ExecutionInstance that matches the filter. * @param {ExecutionInstanceFindUniqueArgs} args - Arguments to find a ExecutionInstance * @example * // Get one ExecutionInstance * const executionInstance = await prisma.executionInstance.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ExecutionInstanceClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ExecutionInstance that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ExecutionInstanceFindUniqueOrThrowArgs} args - Arguments to find a ExecutionInstance * @example * // Get one ExecutionInstance * const executionInstance = await prisma.executionInstance.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ExecutionInstanceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ExecutionInstance 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 {ExecutionInstanceFindFirstArgs} args - Arguments to find a ExecutionInstance * @example * // Get one ExecutionInstance * const executionInstance = await prisma.executionInstance.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ExecutionInstanceClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ExecutionInstance 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 {ExecutionInstanceFindFirstOrThrowArgs} args - Arguments to find a ExecutionInstance * @example * // Get one ExecutionInstance * const executionInstance = await prisma.executionInstance.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ExecutionInstanceClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ExecutionInstances 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 {ExecutionInstanceFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ExecutionInstances * const executionInstances = await prisma.executionInstance.findMany() * * // Get first 10 ExecutionInstances * const executionInstances = await prisma.executionInstance.findMany({ take: 10 }) * * // Only select the `instanceId` * const executionInstanceWithInstanceIdOnly = await prisma.executionInstance.findMany({ select: { instanceId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a ExecutionInstance. * @param {ExecutionInstanceCreateArgs} args - Arguments to create a ExecutionInstance. * @example * // Create one ExecutionInstance * const ExecutionInstance = await prisma.executionInstance.create({ * data: { * // ... data to create a ExecutionInstance * } * }) * */ create(args: SelectSubset>): Prisma__ExecutionInstanceClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ExecutionInstances. * @param {ExecutionInstanceCreateManyArgs} args - Arguments to create many ExecutionInstances. * @example * // Create many ExecutionInstances * const executionInstance = await prisma.executionInstance.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many ExecutionInstances and returns the data saved in the database. * @param {ExecutionInstanceCreateManyAndReturnArgs} args - Arguments to create many ExecutionInstances. * @example * // Create many ExecutionInstances * const executionInstance = await prisma.executionInstance.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ExecutionInstances and only return the `instanceId` * const executionInstanceWithInstanceIdOnly = await prisma.executionInstance.createManyAndReturn({ * select: { instanceId: 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 ExecutionInstance. * @param {ExecutionInstanceDeleteArgs} args - Arguments to delete one ExecutionInstance. * @example * // Delete one ExecutionInstance * const ExecutionInstance = await prisma.executionInstance.delete({ * where: { * // ... filter to delete one ExecutionInstance * } * }) * */ delete(args: SelectSubset>): Prisma__ExecutionInstanceClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ExecutionInstance. * @param {ExecutionInstanceUpdateArgs} args - Arguments to update one ExecutionInstance. * @example * // Update one ExecutionInstance * const executionInstance = await prisma.executionInstance.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ExecutionInstanceClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ExecutionInstances. * @param {ExecutionInstanceDeleteManyArgs} args - Arguments to filter ExecutionInstances to delete. * @example * // Delete a few ExecutionInstances * const { count } = await prisma.executionInstance.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ExecutionInstances. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ExecutionInstanceUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ExecutionInstances * const executionInstance = await prisma.executionInstance.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ExecutionInstances and returns the data updated in the database. * @param {ExecutionInstanceUpdateManyAndReturnArgs} args - Arguments to update many ExecutionInstances. * @example * // Update many ExecutionInstances * const executionInstance = await prisma.executionInstance.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ExecutionInstances and only return the `instanceId` * const executionInstanceWithInstanceIdOnly = await prisma.executionInstance.updateManyAndReturn({ * select: { instanceId: 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 ExecutionInstance. * @param {ExecutionInstanceUpsertArgs} args - Arguments to update or create a ExecutionInstance. * @example * // Update or create a ExecutionInstance * const executionInstance = await prisma.executionInstance.upsert({ * create: { * // ... data to create a ExecutionInstance * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ExecutionInstance we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ExecutionInstanceClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ExecutionInstances. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ExecutionInstanceCountArgs} args - Arguments to filter ExecutionInstances to count. * @example * // Count the number of ExecutionInstances * const count = await prisma.executionInstance.count({ * where: { * // ... the filter for the ExecutionInstances 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 ExecutionInstance. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ExecutionInstanceAggregateArgs} 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 ExecutionInstance. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ExecutionInstanceGroupByArgs} 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 ExecutionInstanceGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ExecutionInstanceGroupByArgs['orderBy'] } : { orderBy?: ExecutionInstanceGroupByArgs['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 ? GetExecutionInstanceGroupByPayload : Prisma.PrismaPromise /** * Fields of the ExecutionInstance model */ readonly fields: ExecutionInstanceFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ExecutionInstance. * 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__ExecutionInstanceClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" run = {}>(args?: Subset>): Prisma__RunClient<$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 ExecutionInstance model */ interface ExecutionInstanceFieldRefs { readonly instanceId: FieldRef<"ExecutionInstance", 'String'> readonly runId: FieldRef<"ExecutionInstance", 'String'> readonly workflowId: FieldRef<"ExecutionInstance", 'String'> readonly slotNodeId: FieldRef<"ExecutionInstance", 'String'> readonly workflowNodeId: FieldRef<"ExecutionInstance", 'String'> readonly kind: FieldRef<"ExecutionInstance", 'String'> readonly connectionKind: FieldRef<"ExecutionInstance", 'String'> readonly activationId: FieldRef<"ExecutionInstance", 'String'> readonly batchId: FieldRef<"ExecutionInstance", 'String'> readonly runIndex: FieldRef<"ExecutionInstance", 'Int'> readonly parentInstanceId: FieldRef<"ExecutionInstance", 'String'> readonly parentRunId: FieldRef<"ExecutionInstance", 'String'> readonly workerClaimToken: FieldRef<"ExecutionInstance", 'String'> readonly status: FieldRef<"ExecutionInstance", 'String'> readonly queuedAt: FieldRef<"ExecutionInstance", 'String'> readonly startedAt: FieldRef<"ExecutionInstance", 'String'> readonly finishedAt: FieldRef<"ExecutionInstance", 'String'> readonly updatedAt: FieldRef<"ExecutionInstance", 'String'> readonly itemCount: FieldRef<"ExecutionInstance", 'Int'> readonly inputJson: FieldRef<"ExecutionInstance", 'String'> readonly outputJson: FieldRef<"ExecutionInstance", 'String'> readonly errorJson: FieldRef<"ExecutionInstance", 'String'> readonly inputItemIndicesJson: FieldRef<"ExecutionInstance", 'String'> readonly outputItemCount: FieldRef<"ExecutionInstance", 'Int'> readonly successfulItemCount: FieldRef<"ExecutionInstance", 'Int'> readonly failedItemCount: FieldRef<"ExecutionInstance", 'Int'> readonly inputStorageKind: FieldRef<"ExecutionInstance", 'String'> readonly outputStorageKind: FieldRef<"ExecutionInstance", 'String'> readonly inputBytes: FieldRef<"ExecutionInstance", 'Int'> readonly outputBytes: FieldRef<"ExecutionInstance", 'Int'> readonly inputPreviewJson: FieldRef<"ExecutionInstance", 'String'> readonly outputPreviewJson: FieldRef<"ExecutionInstance", 'String'> readonly inputPayloadRef: FieldRef<"ExecutionInstance", 'String'> readonly outputPayloadRef: FieldRef<"ExecutionInstance", 'String'> readonly inputTruncated: FieldRef<"ExecutionInstance", 'Boolean'> readonly outputTruncated: FieldRef<"ExecutionInstance", 'Boolean'> readonly usedPinnedOutput: FieldRef<"ExecutionInstance", 'Boolean'> readonly iterationId: FieldRef<"ExecutionInstance", 'String'> readonly itemIndex: FieldRef<"ExecutionInstance", 'Int'> readonly parentInvocationId: FieldRef<"ExecutionInstance", 'String'> readonly childRunId: FieldRef<"ExecutionInstance", 'String'> } // Custom InputTypes /** * ExecutionInstance findUnique */ export type ExecutionInstanceFindUniqueArgs = { /** * Select specific fields to fetch from the ExecutionInstance */ select?: ExecutionInstanceSelect | null /** * Omit specific fields from the ExecutionInstance */ omit?: ExecutionInstanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: ExecutionInstanceInclude | null /** * Filter, which ExecutionInstance to fetch. */ where: ExecutionInstanceWhereUniqueInput } /** * ExecutionInstance findUniqueOrThrow */ export type ExecutionInstanceFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ExecutionInstance */ select?: ExecutionInstanceSelect | null /** * Omit specific fields from the ExecutionInstance */ omit?: ExecutionInstanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: ExecutionInstanceInclude | null /** * Filter, which ExecutionInstance to fetch. */ where: ExecutionInstanceWhereUniqueInput } /** * ExecutionInstance findFirst */ export type ExecutionInstanceFindFirstArgs = { /** * Select specific fields to fetch from the ExecutionInstance */ select?: ExecutionInstanceSelect | null /** * Omit specific fields from the ExecutionInstance */ omit?: ExecutionInstanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: ExecutionInstanceInclude | null /** * Filter, which ExecutionInstance to fetch. */ where?: ExecutionInstanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ExecutionInstances to fetch. */ orderBy?: ExecutionInstanceOrderByWithRelationInput | ExecutionInstanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ExecutionInstances. */ cursor?: ExecutionInstanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ExecutionInstances from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` ExecutionInstances. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ExecutionInstances. */ distinct?: ExecutionInstanceScalarFieldEnum | ExecutionInstanceScalarFieldEnum[] } /** * ExecutionInstance findFirstOrThrow */ export type ExecutionInstanceFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ExecutionInstance */ select?: ExecutionInstanceSelect | null /** * Omit specific fields from the ExecutionInstance */ omit?: ExecutionInstanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: ExecutionInstanceInclude | null /** * Filter, which ExecutionInstance to fetch. */ where?: ExecutionInstanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ExecutionInstances to fetch. */ orderBy?: ExecutionInstanceOrderByWithRelationInput | ExecutionInstanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ExecutionInstances. */ cursor?: ExecutionInstanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ExecutionInstances from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` ExecutionInstances. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ExecutionInstances. */ distinct?: ExecutionInstanceScalarFieldEnum | ExecutionInstanceScalarFieldEnum[] } /** * ExecutionInstance findMany */ export type ExecutionInstanceFindManyArgs = { /** * Select specific fields to fetch from the ExecutionInstance */ select?: ExecutionInstanceSelect | null /** * Omit specific fields from the ExecutionInstance */ omit?: ExecutionInstanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: ExecutionInstanceInclude | null /** * Filter, which ExecutionInstances to fetch. */ where?: ExecutionInstanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ExecutionInstances to fetch. */ orderBy?: ExecutionInstanceOrderByWithRelationInput | ExecutionInstanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ExecutionInstances. */ cursor?: ExecutionInstanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ExecutionInstances from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` ExecutionInstances. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ExecutionInstances. */ distinct?: ExecutionInstanceScalarFieldEnum | ExecutionInstanceScalarFieldEnum[] } /** * ExecutionInstance create */ export type ExecutionInstanceCreateArgs = { /** * Select specific fields to fetch from the ExecutionInstance */ select?: ExecutionInstanceSelect | null /** * Omit specific fields from the ExecutionInstance */ omit?: ExecutionInstanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: ExecutionInstanceInclude | null /** * The data needed to create a ExecutionInstance. */ data: XOR } /** * ExecutionInstance createMany */ export type ExecutionInstanceCreateManyArgs = { /** * The data used to create many ExecutionInstances. */ data: ExecutionInstanceCreateManyInput | ExecutionInstanceCreateManyInput[] skipDuplicates?: boolean } /** * ExecutionInstance createManyAndReturn */ export type ExecutionInstanceCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ExecutionInstance */ select?: ExecutionInstanceSelectCreateManyAndReturn | null /** * Omit specific fields from the ExecutionInstance */ omit?: ExecutionInstanceOmit | null /** * The data used to create many ExecutionInstances. */ data: ExecutionInstanceCreateManyInput | ExecutionInstanceCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: ExecutionInstanceIncludeCreateManyAndReturn | null } /** * ExecutionInstance update */ export type ExecutionInstanceUpdateArgs = { /** * Select specific fields to fetch from the ExecutionInstance */ select?: ExecutionInstanceSelect | null /** * Omit specific fields from the ExecutionInstance */ omit?: ExecutionInstanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: ExecutionInstanceInclude | null /** * The data needed to update a ExecutionInstance. */ data: XOR /** * Choose, which ExecutionInstance to update. */ where: ExecutionInstanceWhereUniqueInput } /** * ExecutionInstance updateMany */ export type ExecutionInstanceUpdateManyArgs = { /** * The data used to update ExecutionInstances. */ data: XOR /** * Filter which ExecutionInstances to update */ where?: ExecutionInstanceWhereInput /** * Limit how many ExecutionInstances to update. */ limit?: number } /** * ExecutionInstance updateManyAndReturn */ export type ExecutionInstanceUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ExecutionInstance */ select?: ExecutionInstanceSelectUpdateManyAndReturn | null /** * Omit specific fields from the ExecutionInstance */ omit?: ExecutionInstanceOmit | null /** * The data used to update ExecutionInstances. */ data: XOR /** * Filter which ExecutionInstances to update */ where?: ExecutionInstanceWhereInput /** * Limit how many ExecutionInstances to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: ExecutionInstanceIncludeUpdateManyAndReturn | null } /** * ExecutionInstance upsert */ export type ExecutionInstanceUpsertArgs = { /** * Select specific fields to fetch from the ExecutionInstance */ select?: ExecutionInstanceSelect | null /** * Omit specific fields from the ExecutionInstance */ omit?: ExecutionInstanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: ExecutionInstanceInclude | null /** * The filter to search for the ExecutionInstance to update in case it exists. */ where: ExecutionInstanceWhereUniqueInput /** * In case the ExecutionInstance found by the `where` argument doesn't exist, create a new ExecutionInstance with this data. */ create: XOR /** * In case the ExecutionInstance was found with the provided `where` argument, update it with this data. */ update: XOR } /** * ExecutionInstance delete */ export type ExecutionInstanceDeleteArgs = { /** * Select specific fields to fetch from the ExecutionInstance */ select?: ExecutionInstanceSelect | null /** * Omit specific fields from the ExecutionInstance */ omit?: ExecutionInstanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: ExecutionInstanceInclude | null /** * Filter which ExecutionInstance to delete. */ where: ExecutionInstanceWhereUniqueInput } /** * ExecutionInstance deleteMany */ export type ExecutionInstanceDeleteManyArgs = { /** * Filter which ExecutionInstances to delete */ where?: ExecutionInstanceWhereInput /** * Limit how many ExecutionInstances to delete. */ limit?: number } /** * ExecutionInstance without action */ export type ExecutionInstanceDefaultArgs = { /** * Select specific fields to fetch from the ExecutionInstance */ select?: ExecutionInstanceSelect | null /** * Omit specific fields from the ExecutionInstance */ omit?: ExecutionInstanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: ExecutionInstanceInclude | null } /** * Model RunSlotProjection */ export type AggregateRunSlotProjection = { _count: RunSlotProjectionCountAggregateOutputType | null _avg: RunSlotProjectionAvgAggregateOutputType | null _sum: RunSlotProjectionSumAggregateOutputType | null _min: RunSlotProjectionMinAggregateOutputType | null _max: RunSlotProjectionMaxAggregateOutputType | null } export type RunSlotProjectionAvgAggregateOutputType = { revision: number | null } export type RunSlotProjectionSumAggregateOutputType = { revision: number | null } export type RunSlotProjectionMinAggregateOutputType = { runId: string | null workflowId: string | null revision: number | null updatedAt: string | null slotStatesJson: string | null } export type RunSlotProjectionMaxAggregateOutputType = { runId: string | null workflowId: string | null revision: number | null updatedAt: string | null slotStatesJson: string | null } export type RunSlotProjectionCountAggregateOutputType = { runId: number workflowId: number revision: number updatedAt: number slotStatesJson: number _all: number } export type RunSlotProjectionAvgAggregateInputType = { revision?: true } export type RunSlotProjectionSumAggregateInputType = { revision?: true } export type RunSlotProjectionMinAggregateInputType = { runId?: true workflowId?: true revision?: true updatedAt?: true slotStatesJson?: true } export type RunSlotProjectionMaxAggregateInputType = { runId?: true workflowId?: true revision?: true updatedAt?: true slotStatesJson?: true } export type RunSlotProjectionCountAggregateInputType = { runId?: true workflowId?: true revision?: true updatedAt?: true slotStatesJson?: true _all?: true } export type RunSlotProjectionAggregateArgs = { /** * Filter which RunSlotProjection to aggregate. */ where?: RunSlotProjectionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RunSlotProjections to fetch. */ orderBy?: RunSlotProjectionOrderByWithRelationInput | RunSlotProjectionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: RunSlotProjectionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RunSlotProjections from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RunSlotProjections. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned RunSlotProjections **/ _count?: true | RunSlotProjectionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: RunSlotProjectionAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: RunSlotProjectionSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: RunSlotProjectionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: RunSlotProjectionMaxAggregateInputType } export type GetRunSlotProjectionAggregateType = { [P in keyof T & keyof AggregateRunSlotProjection]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type RunSlotProjectionGroupByArgs = { where?: RunSlotProjectionWhereInput orderBy?: RunSlotProjectionOrderByWithAggregationInput | RunSlotProjectionOrderByWithAggregationInput[] by: RunSlotProjectionScalarFieldEnum[] | RunSlotProjectionScalarFieldEnum having?: RunSlotProjectionScalarWhereWithAggregatesInput take?: number skip?: number _count?: RunSlotProjectionCountAggregateInputType | true _avg?: RunSlotProjectionAvgAggregateInputType _sum?: RunSlotProjectionSumAggregateInputType _min?: RunSlotProjectionMinAggregateInputType _max?: RunSlotProjectionMaxAggregateInputType } export type RunSlotProjectionGroupByOutputType = { runId: string workflowId: string revision: number updatedAt: string slotStatesJson: string _count: RunSlotProjectionCountAggregateOutputType | null _avg: RunSlotProjectionAvgAggregateOutputType | null _sum: RunSlotProjectionSumAggregateOutputType | null _min: RunSlotProjectionMinAggregateOutputType | null _max: RunSlotProjectionMaxAggregateOutputType | null } type GetRunSlotProjectionGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof RunSlotProjectionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type RunSlotProjectionSelect = $Extensions.GetSelect<{ runId?: boolean workflowId?: boolean revision?: boolean updatedAt?: boolean slotStatesJson?: boolean run?: boolean | RunDefaultArgs }, ExtArgs["result"]["runSlotProjection"]> export type RunSlotProjectionSelectCreateManyAndReturn = $Extensions.GetSelect<{ runId?: boolean workflowId?: boolean revision?: boolean updatedAt?: boolean slotStatesJson?: boolean run?: boolean | RunDefaultArgs }, ExtArgs["result"]["runSlotProjection"]> export type RunSlotProjectionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ runId?: boolean workflowId?: boolean revision?: boolean updatedAt?: boolean slotStatesJson?: boolean run?: boolean | RunDefaultArgs }, ExtArgs["result"]["runSlotProjection"]> export type RunSlotProjectionSelectScalar = { runId?: boolean workflowId?: boolean revision?: boolean updatedAt?: boolean slotStatesJson?: boolean } export type RunSlotProjectionOmit = $Extensions.GetOmit<"runId" | "workflowId" | "revision" | "updatedAt" | "slotStatesJson", ExtArgs["result"]["runSlotProjection"]> export type RunSlotProjectionInclude = { run?: boolean | RunDefaultArgs } export type RunSlotProjectionIncludeCreateManyAndReturn = { run?: boolean | RunDefaultArgs } export type RunSlotProjectionIncludeUpdateManyAndReturn = { run?: boolean | RunDefaultArgs } export type $RunSlotProjectionPayload = { name: "RunSlotProjection" objects: { run: Prisma.$RunPayload } scalars: $Extensions.GetPayloadResult<{ runId: string workflowId: string revision: number updatedAt: string slotStatesJson: string }, ExtArgs["result"]["runSlotProjection"]> composites: {} } type RunSlotProjectionGetPayload = $Result.GetResult type RunSlotProjectionCountArgs = Omit & { select?: RunSlotProjectionCountAggregateInputType | true } export interface RunSlotProjectionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['RunSlotProjection'], meta: { name: 'RunSlotProjection' } } /** * Find zero or one RunSlotProjection that matches the filter. * @param {RunSlotProjectionFindUniqueArgs} args - Arguments to find a RunSlotProjection * @example * // Get one RunSlotProjection * const runSlotProjection = await prisma.runSlotProjection.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__RunSlotProjectionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one RunSlotProjection that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {RunSlotProjectionFindUniqueOrThrowArgs} args - Arguments to find a RunSlotProjection * @example * // Get one RunSlotProjection * const runSlotProjection = await prisma.runSlotProjection.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__RunSlotProjectionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first RunSlotProjection 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 {RunSlotProjectionFindFirstArgs} args - Arguments to find a RunSlotProjection * @example * // Get one RunSlotProjection * const runSlotProjection = await prisma.runSlotProjection.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__RunSlotProjectionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first RunSlotProjection 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 {RunSlotProjectionFindFirstOrThrowArgs} args - Arguments to find a RunSlotProjection * @example * // Get one RunSlotProjection * const runSlotProjection = await prisma.runSlotProjection.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__RunSlotProjectionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more RunSlotProjections 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 {RunSlotProjectionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all RunSlotProjections * const runSlotProjections = await prisma.runSlotProjection.findMany() * * // Get first 10 RunSlotProjections * const runSlotProjections = await prisma.runSlotProjection.findMany({ take: 10 }) * * // Only select the `runId` * const runSlotProjectionWithRunIdOnly = await prisma.runSlotProjection.findMany({ select: { runId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a RunSlotProjection. * @param {RunSlotProjectionCreateArgs} args - Arguments to create a RunSlotProjection. * @example * // Create one RunSlotProjection * const RunSlotProjection = await prisma.runSlotProjection.create({ * data: { * // ... data to create a RunSlotProjection * } * }) * */ create(args: SelectSubset>): Prisma__RunSlotProjectionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many RunSlotProjections. * @param {RunSlotProjectionCreateManyArgs} args - Arguments to create many RunSlotProjections. * @example * // Create many RunSlotProjections * const runSlotProjection = await prisma.runSlotProjection.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many RunSlotProjections and returns the data saved in the database. * @param {RunSlotProjectionCreateManyAndReturnArgs} args - Arguments to create many RunSlotProjections. * @example * // Create many RunSlotProjections * const runSlotProjection = await prisma.runSlotProjection.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many RunSlotProjections and only return the `runId` * const runSlotProjectionWithRunIdOnly = await prisma.runSlotProjection.createManyAndReturn({ * select: { runId: 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 RunSlotProjection. * @param {RunSlotProjectionDeleteArgs} args - Arguments to delete one RunSlotProjection. * @example * // Delete one RunSlotProjection * const RunSlotProjection = await prisma.runSlotProjection.delete({ * where: { * // ... filter to delete one RunSlotProjection * } * }) * */ delete(args: SelectSubset>): Prisma__RunSlotProjectionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one RunSlotProjection. * @param {RunSlotProjectionUpdateArgs} args - Arguments to update one RunSlotProjection. * @example * // Update one RunSlotProjection * const runSlotProjection = await prisma.runSlotProjection.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__RunSlotProjectionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more RunSlotProjections. * @param {RunSlotProjectionDeleteManyArgs} args - Arguments to filter RunSlotProjections to delete. * @example * // Delete a few RunSlotProjections * const { count } = await prisma.runSlotProjection.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more RunSlotProjections. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunSlotProjectionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many RunSlotProjections * const runSlotProjection = await prisma.runSlotProjection.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more RunSlotProjections and returns the data updated in the database. * @param {RunSlotProjectionUpdateManyAndReturnArgs} args - Arguments to update many RunSlotProjections. * @example * // Update many RunSlotProjections * const runSlotProjection = await prisma.runSlotProjection.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more RunSlotProjections and only return the `runId` * const runSlotProjectionWithRunIdOnly = await prisma.runSlotProjection.updateManyAndReturn({ * select: { runId: 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 RunSlotProjection. * @param {RunSlotProjectionUpsertArgs} args - Arguments to update or create a RunSlotProjection. * @example * // Update or create a RunSlotProjection * const runSlotProjection = await prisma.runSlotProjection.upsert({ * create: { * // ... data to create a RunSlotProjection * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the RunSlotProjection we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__RunSlotProjectionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of RunSlotProjections. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunSlotProjectionCountArgs} args - Arguments to filter RunSlotProjections to count. * @example * // Count the number of RunSlotProjections * const count = await prisma.runSlotProjection.count({ * where: { * // ... the filter for the RunSlotProjections 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 RunSlotProjection. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunSlotProjectionAggregateArgs} 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 RunSlotProjection. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunSlotProjectionGroupByArgs} 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 RunSlotProjectionGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: RunSlotProjectionGroupByArgs['orderBy'] } : { orderBy?: RunSlotProjectionGroupByArgs['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 ? GetRunSlotProjectionGroupByPayload : Prisma.PrismaPromise /** * Fields of the RunSlotProjection model */ readonly fields: RunSlotProjectionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for RunSlotProjection. * 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__RunSlotProjectionClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" run = {}>(args?: Subset>): Prisma__RunClient<$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 RunSlotProjection model */ interface RunSlotProjectionFieldRefs { readonly runId: FieldRef<"RunSlotProjection", 'String'> readonly workflowId: FieldRef<"RunSlotProjection", 'String'> readonly revision: FieldRef<"RunSlotProjection", 'Int'> readonly updatedAt: FieldRef<"RunSlotProjection", 'String'> readonly slotStatesJson: FieldRef<"RunSlotProjection", 'String'> } // Custom InputTypes /** * RunSlotProjection findUnique */ export type RunSlotProjectionFindUniqueArgs = { /** * Select specific fields to fetch from the RunSlotProjection */ select?: RunSlotProjectionSelect | null /** * Omit specific fields from the RunSlotProjection */ omit?: RunSlotProjectionOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunSlotProjectionInclude | null /** * Filter, which RunSlotProjection to fetch. */ where: RunSlotProjectionWhereUniqueInput } /** * RunSlotProjection findUniqueOrThrow */ export type RunSlotProjectionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the RunSlotProjection */ select?: RunSlotProjectionSelect | null /** * Omit specific fields from the RunSlotProjection */ omit?: RunSlotProjectionOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunSlotProjectionInclude | null /** * Filter, which RunSlotProjection to fetch. */ where: RunSlotProjectionWhereUniqueInput } /** * RunSlotProjection findFirst */ export type RunSlotProjectionFindFirstArgs = { /** * Select specific fields to fetch from the RunSlotProjection */ select?: RunSlotProjectionSelect | null /** * Omit specific fields from the RunSlotProjection */ omit?: RunSlotProjectionOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunSlotProjectionInclude | null /** * Filter, which RunSlotProjection to fetch. */ where?: RunSlotProjectionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RunSlotProjections to fetch. */ orderBy?: RunSlotProjectionOrderByWithRelationInput | RunSlotProjectionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for RunSlotProjections. */ cursor?: RunSlotProjectionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RunSlotProjections from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RunSlotProjections. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RunSlotProjections. */ distinct?: RunSlotProjectionScalarFieldEnum | RunSlotProjectionScalarFieldEnum[] } /** * RunSlotProjection findFirstOrThrow */ export type RunSlotProjectionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the RunSlotProjection */ select?: RunSlotProjectionSelect | null /** * Omit specific fields from the RunSlotProjection */ omit?: RunSlotProjectionOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunSlotProjectionInclude | null /** * Filter, which RunSlotProjection to fetch. */ where?: RunSlotProjectionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RunSlotProjections to fetch. */ orderBy?: RunSlotProjectionOrderByWithRelationInput | RunSlotProjectionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for RunSlotProjections. */ cursor?: RunSlotProjectionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RunSlotProjections from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RunSlotProjections. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RunSlotProjections. */ distinct?: RunSlotProjectionScalarFieldEnum | RunSlotProjectionScalarFieldEnum[] } /** * RunSlotProjection findMany */ export type RunSlotProjectionFindManyArgs = { /** * Select specific fields to fetch from the RunSlotProjection */ select?: RunSlotProjectionSelect | null /** * Omit specific fields from the RunSlotProjection */ omit?: RunSlotProjectionOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunSlotProjectionInclude | null /** * Filter, which RunSlotProjections to fetch. */ where?: RunSlotProjectionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RunSlotProjections to fetch. */ orderBy?: RunSlotProjectionOrderByWithRelationInput | RunSlotProjectionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing RunSlotProjections. */ cursor?: RunSlotProjectionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RunSlotProjections from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RunSlotProjections. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RunSlotProjections. */ distinct?: RunSlotProjectionScalarFieldEnum | RunSlotProjectionScalarFieldEnum[] } /** * RunSlotProjection create */ export type RunSlotProjectionCreateArgs = { /** * Select specific fields to fetch from the RunSlotProjection */ select?: RunSlotProjectionSelect | null /** * Omit specific fields from the RunSlotProjection */ omit?: RunSlotProjectionOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunSlotProjectionInclude | null /** * The data needed to create a RunSlotProjection. */ data: XOR } /** * RunSlotProjection createMany */ export type RunSlotProjectionCreateManyArgs = { /** * The data used to create many RunSlotProjections. */ data: RunSlotProjectionCreateManyInput | RunSlotProjectionCreateManyInput[] skipDuplicates?: boolean } /** * RunSlotProjection createManyAndReturn */ export type RunSlotProjectionCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the RunSlotProjection */ select?: RunSlotProjectionSelectCreateManyAndReturn | null /** * Omit specific fields from the RunSlotProjection */ omit?: RunSlotProjectionOmit | null /** * The data used to create many RunSlotProjections. */ data: RunSlotProjectionCreateManyInput | RunSlotProjectionCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: RunSlotProjectionIncludeCreateManyAndReturn | null } /** * RunSlotProjection update */ export type RunSlotProjectionUpdateArgs = { /** * Select specific fields to fetch from the RunSlotProjection */ select?: RunSlotProjectionSelect | null /** * Omit specific fields from the RunSlotProjection */ omit?: RunSlotProjectionOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunSlotProjectionInclude | null /** * The data needed to update a RunSlotProjection. */ data: XOR /** * Choose, which RunSlotProjection to update. */ where: RunSlotProjectionWhereUniqueInput } /** * RunSlotProjection updateMany */ export type RunSlotProjectionUpdateManyArgs = { /** * The data used to update RunSlotProjections. */ data: XOR /** * Filter which RunSlotProjections to update */ where?: RunSlotProjectionWhereInput /** * Limit how many RunSlotProjections to update. */ limit?: number } /** * RunSlotProjection updateManyAndReturn */ export type RunSlotProjectionUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the RunSlotProjection */ select?: RunSlotProjectionSelectUpdateManyAndReturn | null /** * Omit specific fields from the RunSlotProjection */ omit?: RunSlotProjectionOmit | null /** * The data used to update RunSlotProjections. */ data: XOR /** * Filter which RunSlotProjections to update */ where?: RunSlotProjectionWhereInput /** * Limit how many RunSlotProjections to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: RunSlotProjectionIncludeUpdateManyAndReturn | null } /** * RunSlotProjection upsert */ export type RunSlotProjectionUpsertArgs = { /** * Select specific fields to fetch from the RunSlotProjection */ select?: RunSlotProjectionSelect | null /** * Omit specific fields from the RunSlotProjection */ omit?: RunSlotProjectionOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunSlotProjectionInclude | null /** * The filter to search for the RunSlotProjection to update in case it exists. */ where: RunSlotProjectionWhereUniqueInput /** * In case the RunSlotProjection found by the `where` argument doesn't exist, create a new RunSlotProjection with this data. */ create: XOR /** * In case the RunSlotProjection was found with the provided `where` argument, update it with this data. */ update: XOR } /** * RunSlotProjection delete */ export type RunSlotProjectionDeleteArgs = { /** * Select specific fields to fetch from the RunSlotProjection */ select?: RunSlotProjectionSelect | null /** * Omit specific fields from the RunSlotProjection */ omit?: RunSlotProjectionOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunSlotProjectionInclude | null /** * Filter which RunSlotProjection to delete. */ where: RunSlotProjectionWhereUniqueInput } /** * RunSlotProjection deleteMany */ export type RunSlotProjectionDeleteManyArgs = { /** * Filter which RunSlotProjections to delete */ where?: RunSlotProjectionWhereInput /** * Limit how many RunSlotProjections to delete. */ limit?: number } /** * RunSlotProjection without action */ export type RunSlotProjectionDefaultArgs = { /** * Select specific fields to fetch from the RunSlotProjection */ select?: RunSlotProjectionSelect | null /** * Omit specific fields from the RunSlotProjection */ omit?: RunSlotProjectionOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunSlotProjectionInclude | null } /** * Model TestSuiteRun */ export type AggregateTestSuiteRun = { _count: TestSuiteRunCountAggregateOutputType | null _avg: TestSuiteRunAvgAggregateOutputType | null _sum: TestSuiteRunSumAggregateOutputType | null _min: TestSuiteRunMinAggregateOutputType | null _max: TestSuiteRunMaxAggregateOutputType | null } export type TestSuiteRunAvgAggregateOutputType = { concurrency: number | null totalCases: number | null passedCases: number | null failedCases: number | null } export type TestSuiteRunSumAggregateOutputType = { concurrency: number | null totalCases: number | null passedCases: number | null failedCases: number | null } export type TestSuiteRunMinAggregateOutputType = { id: string | null workflowId: string | null triggerNodeId: string | null triggerNodeName: string | null status: string | null concurrency: number | null startedAt: string | null finishedAt: string | null totalCases: number | null passedCases: number | null failedCases: number | null nodeCoverageJson: string | null errorMessage: string | null updatedAt: string | null } export type TestSuiteRunMaxAggregateOutputType = { id: string | null workflowId: string | null triggerNodeId: string | null triggerNodeName: string | null status: string | null concurrency: number | null startedAt: string | null finishedAt: string | null totalCases: number | null passedCases: number | null failedCases: number | null nodeCoverageJson: string | null errorMessage: string | null updatedAt: string | null } export type TestSuiteRunCountAggregateOutputType = { id: number workflowId: number triggerNodeId: number triggerNodeName: number status: number concurrency: number startedAt: number finishedAt: number totalCases: number passedCases: number failedCases: number nodeCoverageJson: number errorMessage: number updatedAt: number _all: number } export type TestSuiteRunAvgAggregateInputType = { concurrency?: true totalCases?: true passedCases?: true failedCases?: true } export type TestSuiteRunSumAggregateInputType = { concurrency?: true totalCases?: true passedCases?: true failedCases?: true } export type TestSuiteRunMinAggregateInputType = { id?: true workflowId?: true triggerNodeId?: true triggerNodeName?: true status?: true concurrency?: true startedAt?: true finishedAt?: true totalCases?: true passedCases?: true failedCases?: true nodeCoverageJson?: true errorMessage?: true updatedAt?: true } export type TestSuiteRunMaxAggregateInputType = { id?: true workflowId?: true triggerNodeId?: true triggerNodeName?: true status?: true concurrency?: true startedAt?: true finishedAt?: true totalCases?: true passedCases?: true failedCases?: true nodeCoverageJson?: true errorMessage?: true updatedAt?: true } export type TestSuiteRunCountAggregateInputType = { id?: true workflowId?: true triggerNodeId?: true triggerNodeName?: true status?: true concurrency?: true startedAt?: true finishedAt?: true totalCases?: true passedCases?: true failedCases?: true nodeCoverageJson?: true errorMessage?: true updatedAt?: true _all?: true } export type TestSuiteRunAggregateArgs = { /** * Filter which TestSuiteRun to aggregate. */ where?: TestSuiteRunWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TestSuiteRuns to fetch. */ orderBy?: TestSuiteRunOrderByWithRelationInput | TestSuiteRunOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: TestSuiteRunWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TestSuiteRuns from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TestSuiteRuns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TestSuiteRuns **/ _count?: true | TestSuiteRunCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: TestSuiteRunAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: TestSuiteRunSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TestSuiteRunMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TestSuiteRunMaxAggregateInputType } export type GetTestSuiteRunAggregateType = { [P in keyof T & keyof AggregateTestSuiteRun]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type TestSuiteRunGroupByArgs = { where?: TestSuiteRunWhereInput orderBy?: TestSuiteRunOrderByWithAggregationInput | TestSuiteRunOrderByWithAggregationInput[] by: TestSuiteRunScalarFieldEnum[] | TestSuiteRunScalarFieldEnum having?: TestSuiteRunScalarWhereWithAggregatesInput take?: number skip?: number _count?: TestSuiteRunCountAggregateInputType | true _avg?: TestSuiteRunAvgAggregateInputType _sum?: TestSuiteRunSumAggregateInputType _min?: TestSuiteRunMinAggregateInputType _max?: TestSuiteRunMaxAggregateInputType } export type TestSuiteRunGroupByOutputType = { id: string workflowId: string triggerNodeId: string triggerNodeName: string | null status: string concurrency: number startedAt: string finishedAt: string | null totalCases: number passedCases: number failedCases: number nodeCoverageJson: string | null errorMessage: string | null updatedAt: string _count: TestSuiteRunCountAggregateOutputType | null _avg: TestSuiteRunAvgAggregateOutputType | null _sum: TestSuiteRunSumAggregateOutputType | null _min: TestSuiteRunMinAggregateOutputType | null _max: TestSuiteRunMaxAggregateOutputType | null } type GetTestSuiteRunGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof TestSuiteRunGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type TestSuiteRunSelect = $Extensions.GetSelect<{ id?: boolean workflowId?: boolean triggerNodeId?: boolean triggerNodeName?: boolean status?: boolean concurrency?: boolean startedAt?: boolean finishedAt?: boolean totalCases?: boolean passedCases?: boolean failedCases?: boolean nodeCoverageJson?: boolean errorMessage?: boolean updatedAt?: boolean runs?: boolean | TestSuiteRun$runsArgs assertions?: boolean | TestSuiteRun$assertionsArgs _count?: boolean | TestSuiteRunCountOutputTypeDefaultArgs }, ExtArgs["result"]["testSuiteRun"]> export type TestSuiteRunSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean workflowId?: boolean triggerNodeId?: boolean triggerNodeName?: boolean status?: boolean concurrency?: boolean startedAt?: boolean finishedAt?: boolean totalCases?: boolean passedCases?: boolean failedCases?: boolean nodeCoverageJson?: boolean errorMessage?: boolean updatedAt?: boolean }, ExtArgs["result"]["testSuiteRun"]> export type TestSuiteRunSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean workflowId?: boolean triggerNodeId?: boolean triggerNodeName?: boolean status?: boolean concurrency?: boolean startedAt?: boolean finishedAt?: boolean totalCases?: boolean passedCases?: boolean failedCases?: boolean nodeCoverageJson?: boolean errorMessage?: boolean updatedAt?: boolean }, ExtArgs["result"]["testSuiteRun"]> export type TestSuiteRunSelectScalar = { id?: boolean workflowId?: boolean triggerNodeId?: boolean triggerNodeName?: boolean status?: boolean concurrency?: boolean startedAt?: boolean finishedAt?: boolean totalCases?: boolean passedCases?: boolean failedCases?: boolean nodeCoverageJson?: boolean errorMessage?: boolean updatedAt?: boolean } export type TestSuiteRunOmit = $Extensions.GetOmit<"id" | "workflowId" | "triggerNodeId" | "triggerNodeName" | "status" | "concurrency" | "startedAt" | "finishedAt" | "totalCases" | "passedCases" | "failedCases" | "nodeCoverageJson" | "errorMessage" | "updatedAt", ExtArgs["result"]["testSuiteRun"]> export type TestSuiteRunInclude = { runs?: boolean | TestSuiteRun$runsArgs assertions?: boolean | TestSuiteRun$assertionsArgs _count?: boolean | TestSuiteRunCountOutputTypeDefaultArgs } export type TestSuiteRunIncludeCreateManyAndReturn = {} export type TestSuiteRunIncludeUpdateManyAndReturn = {} export type $TestSuiteRunPayload = { name: "TestSuiteRun" objects: { runs: Prisma.$RunPayload[] assertions: Prisma.$TestAssertionPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string workflowId: string triggerNodeId: string triggerNodeName: string | null status: string concurrency: number startedAt: string finishedAt: string | null totalCases: number passedCases: number failedCases: number /** * Set of nodeIds executed across all child Runs in this suite (JSON array of strings). */ nodeCoverageJson: string | null errorMessage: string | null updatedAt: string }, ExtArgs["result"]["testSuiteRun"]> composites: {} } type TestSuiteRunGetPayload = $Result.GetResult type TestSuiteRunCountArgs = Omit & { select?: TestSuiteRunCountAggregateInputType | true } export interface TestSuiteRunDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TestSuiteRun'], meta: { name: 'TestSuiteRun' } } /** * Find zero or one TestSuiteRun that matches the filter. * @param {TestSuiteRunFindUniqueArgs} args - Arguments to find a TestSuiteRun * @example * // Get one TestSuiteRun * const testSuiteRun = await prisma.testSuiteRun.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__TestSuiteRunClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TestSuiteRun that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TestSuiteRunFindUniqueOrThrowArgs} args - Arguments to find a TestSuiteRun * @example * // Get one TestSuiteRun * const testSuiteRun = await prisma.testSuiteRun.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__TestSuiteRunClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TestSuiteRun 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 {TestSuiteRunFindFirstArgs} args - Arguments to find a TestSuiteRun * @example * // Get one TestSuiteRun * const testSuiteRun = await prisma.testSuiteRun.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__TestSuiteRunClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TestSuiteRun 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 {TestSuiteRunFindFirstOrThrowArgs} args - Arguments to find a TestSuiteRun * @example * // Get one TestSuiteRun * const testSuiteRun = await prisma.testSuiteRun.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__TestSuiteRunClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TestSuiteRuns 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 {TestSuiteRunFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TestSuiteRuns * const testSuiteRuns = await prisma.testSuiteRun.findMany() * * // Get first 10 TestSuiteRuns * const testSuiteRuns = await prisma.testSuiteRun.findMany({ take: 10 }) * * // Only select the `id` * const testSuiteRunWithIdOnly = await prisma.testSuiteRun.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a TestSuiteRun. * @param {TestSuiteRunCreateArgs} args - Arguments to create a TestSuiteRun. * @example * // Create one TestSuiteRun * const TestSuiteRun = await prisma.testSuiteRun.create({ * data: { * // ... data to create a TestSuiteRun * } * }) * */ create(args: SelectSubset>): Prisma__TestSuiteRunClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TestSuiteRuns. * @param {TestSuiteRunCreateManyArgs} args - Arguments to create many TestSuiteRuns. * @example * // Create many TestSuiteRuns * const testSuiteRun = await prisma.testSuiteRun.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many TestSuiteRuns and returns the data saved in the database. * @param {TestSuiteRunCreateManyAndReturnArgs} args - Arguments to create many TestSuiteRuns. * @example * // Create many TestSuiteRuns * const testSuiteRun = await prisma.testSuiteRun.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TestSuiteRuns and only return the `id` * const testSuiteRunWithIdOnly = await prisma.testSuiteRun.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 TestSuiteRun. * @param {TestSuiteRunDeleteArgs} args - Arguments to delete one TestSuiteRun. * @example * // Delete one TestSuiteRun * const TestSuiteRun = await prisma.testSuiteRun.delete({ * where: { * // ... filter to delete one TestSuiteRun * } * }) * */ delete(args: SelectSubset>): Prisma__TestSuiteRunClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TestSuiteRun. * @param {TestSuiteRunUpdateArgs} args - Arguments to update one TestSuiteRun. * @example * // Update one TestSuiteRun * const testSuiteRun = await prisma.testSuiteRun.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__TestSuiteRunClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TestSuiteRuns. * @param {TestSuiteRunDeleteManyArgs} args - Arguments to filter TestSuiteRuns to delete. * @example * // Delete a few TestSuiteRuns * const { count } = await prisma.testSuiteRun.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TestSuiteRuns. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TestSuiteRunUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TestSuiteRuns * const testSuiteRun = await prisma.testSuiteRun.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TestSuiteRuns and returns the data updated in the database. * @param {TestSuiteRunUpdateManyAndReturnArgs} args - Arguments to update many TestSuiteRuns. * @example * // Update many TestSuiteRuns * const testSuiteRun = await prisma.testSuiteRun.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TestSuiteRuns and only return the `id` * const testSuiteRunWithIdOnly = await prisma.testSuiteRun.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 TestSuiteRun. * @param {TestSuiteRunUpsertArgs} args - Arguments to update or create a TestSuiteRun. * @example * // Update or create a TestSuiteRun * const testSuiteRun = await prisma.testSuiteRun.upsert({ * create: { * // ... data to create a TestSuiteRun * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TestSuiteRun we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__TestSuiteRunClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TestSuiteRuns. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TestSuiteRunCountArgs} args - Arguments to filter TestSuiteRuns to count. * @example * // Count the number of TestSuiteRuns * const count = await prisma.testSuiteRun.count({ * where: { * // ... the filter for the TestSuiteRuns 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 TestSuiteRun. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TestSuiteRunAggregateArgs} 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 TestSuiteRun. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TestSuiteRunGroupByArgs} 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 TestSuiteRunGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: TestSuiteRunGroupByArgs['orderBy'] } : { orderBy?: TestSuiteRunGroupByArgs['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 ? GetTestSuiteRunGroupByPayload : Prisma.PrismaPromise /** * Fields of the TestSuiteRun model */ readonly fields: TestSuiteRunFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TestSuiteRun. * 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__TestSuiteRunClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" runs = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> assertions = {}>(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 TestSuiteRun model */ interface TestSuiteRunFieldRefs { readonly id: FieldRef<"TestSuiteRun", 'String'> readonly workflowId: FieldRef<"TestSuiteRun", 'String'> readonly triggerNodeId: FieldRef<"TestSuiteRun", 'String'> readonly triggerNodeName: FieldRef<"TestSuiteRun", 'String'> readonly status: FieldRef<"TestSuiteRun", 'String'> readonly concurrency: FieldRef<"TestSuiteRun", 'Int'> readonly startedAt: FieldRef<"TestSuiteRun", 'String'> readonly finishedAt: FieldRef<"TestSuiteRun", 'String'> readonly totalCases: FieldRef<"TestSuiteRun", 'Int'> readonly passedCases: FieldRef<"TestSuiteRun", 'Int'> readonly failedCases: FieldRef<"TestSuiteRun", 'Int'> readonly nodeCoverageJson: FieldRef<"TestSuiteRun", 'String'> readonly errorMessage: FieldRef<"TestSuiteRun", 'String'> readonly updatedAt: FieldRef<"TestSuiteRun", 'String'> } // Custom InputTypes /** * TestSuiteRun findUnique */ export type TestSuiteRunFindUniqueArgs = { /** * Select specific fields to fetch from the TestSuiteRun */ select?: TestSuiteRunSelect | null /** * Omit specific fields from the TestSuiteRun */ omit?: TestSuiteRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestSuiteRunInclude | null /** * Filter, which TestSuiteRun to fetch. */ where: TestSuiteRunWhereUniqueInput } /** * TestSuiteRun findUniqueOrThrow */ export type TestSuiteRunFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TestSuiteRun */ select?: TestSuiteRunSelect | null /** * Omit specific fields from the TestSuiteRun */ omit?: TestSuiteRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestSuiteRunInclude | null /** * Filter, which TestSuiteRun to fetch. */ where: TestSuiteRunWhereUniqueInput } /** * TestSuiteRun findFirst */ export type TestSuiteRunFindFirstArgs = { /** * Select specific fields to fetch from the TestSuiteRun */ select?: TestSuiteRunSelect | null /** * Omit specific fields from the TestSuiteRun */ omit?: TestSuiteRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestSuiteRunInclude | null /** * Filter, which TestSuiteRun to fetch. */ where?: TestSuiteRunWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TestSuiteRuns to fetch. */ orderBy?: TestSuiteRunOrderByWithRelationInput | TestSuiteRunOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TestSuiteRuns. */ cursor?: TestSuiteRunWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TestSuiteRuns from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TestSuiteRuns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TestSuiteRuns. */ distinct?: TestSuiteRunScalarFieldEnum | TestSuiteRunScalarFieldEnum[] } /** * TestSuiteRun findFirstOrThrow */ export type TestSuiteRunFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TestSuiteRun */ select?: TestSuiteRunSelect | null /** * Omit specific fields from the TestSuiteRun */ omit?: TestSuiteRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestSuiteRunInclude | null /** * Filter, which TestSuiteRun to fetch. */ where?: TestSuiteRunWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TestSuiteRuns to fetch. */ orderBy?: TestSuiteRunOrderByWithRelationInput | TestSuiteRunOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TestSuiteRuns. */ cursor?: TestSuiteRunWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TestSuiteRuns from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TestSuiteRuns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TestSuiteRuns. */ distinct?: TestSuiteRunScalarFieldEnum | TestSuiteRunScalarFieldEnum[] } /** * TestSuiteRun findMany */ export type TestSuiteRunFindManyArgs = { /** * Select specific fields to fetch from the TestSuiteRun */ select?: TestSuiteRunSelect | null /** * Omit specific fields from the TestSuiteRun */ omit?: TestSuiteRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestSuiteRunInclude | null /** * Filter, which TestSuiteRuns to fetch. */ where?: TestSuiteRunWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TestSuiteRuns to fetch. */ orderBy?: TestSuiteRunOrderByWithRelationInput | TestSuiteRunOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TestSuiteRuns. */ cursor?: TestSuiteRunWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TestSuiteRuns from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TestSuiteRuns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TestSuiteRuns. */ distinct?: TestSuiteRunScalarFieldEnum | TestSuiteRunScalarFieldEnum[] } /** * TestSuiteRun create */ export type TestSuiteRunCreateArgs = { /** * Select specific fields to fetch from the TestSuiteRun */ select?: TestSuiteRunSelect | null /** * Omit specific fields from the TestSuiteRun */ omit?: TestSuiteRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestSuiteRunInclude | null /** * The data needed to create a TestSuiteRun. */ data: XOR } /** * TestSuiteRun createMany */ export type TestSuiteRunCreateManyArgs = { /** * The data used to create many TestSuiteRuns. */ data: TestSuiteRunCreateManyInput | TestSuiteRunCreateManyInput[] skipDuplicates?: boolean } /** * TestSuiteRun createManyAndReturn */ export type TestSuiteRunCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TestSuiteRun */ select?: TestSuiteRunSelectCreateManyAndReturn | null /** * Omit specific fields from the TestSuiteRun */ omit?: TestSuiteRunOmit | null /** * The data used to create many TestSuiteRuns. */ data: TestSuiteRunCreateManyInput | TestSuiteRunCreateManyInput[] skipDuplicates?: boolean } /** * TestSuiteRun update */ export type TestSuiteRunUpdateArgs = { /** * Select specific fields to fetch from the TestSuiteRun */ select?: TestSuiteRunSelect | null /** * Omit specific fields from the TestSuiteRun */ omit?: TestSuiteRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestSuiteRunInclude | null /** * The data needed to update a TestSuiteRun. */ data: XOR /** * Choose, which TestSuiteRun to update. */ where: TestSuiteRunWhereUniqueInput } /** * TestSuiteRun updateMany */ export type TestSuiteRunUpdateManyArgs = { /** * The data used to update TestSuiteRuns. */ data: XOR /** * Filter which TestSuiteRuns to update */ where?: TestSuiteRunWhereInput /** * Limit how many TestSuiteRuns to update. */ limit?: number } /** * TestSuiteRun updateManyAndReturn */ export type TestSuiteRunUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TestSuiteRun */ select?: TestSuiteRunSelectUpdateManyAndReturn | null /** * Omit specific fields from the TestSuiteRun */ omit?: TestSuiteRunOmit | null /** * The data used to update TestSuiteRuns. */ data: XOR /** * Filter which TestSuiteRuns to update */ where?: TestSuiteRunWhereInput /** * Limit how many TestSuiteRuns to update. */ limit?: number } /** * TestSuiteRun upsert */ export type TestSuiteRunUpsertArgs = { /** * Select specific fields to fetch from the TestSuiteRun */ select?: TestSuiteRunSelect | null /** * Omit specific fields from the TestSuiteRun */ omit?: TestSuiteRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestSuiteRunInclude | null /** * The filter to search for the TestSuiteRun to update in case it exists. */ where: TestSuiteRunWhereUniqueInput /** * In case the TestSuiteRun found by the `where` argument doesn't exist, create a new TestSuiteRun with this data. */ create: XOR /** * In case the TestSuiteRun was found with the provided `where` argument, update it with this data. */ update: XOR } /** * TestSuiteRun delete */ export type TestSuiteRunDeleteArgs = { /** * Select specific fields to fetch from the TestSuiteRun */ select?: TestSuiteRunSelect | null /** * Omit specific fields from the TestSuiteRun */ omit?: TestSuiteRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestSuiteRunInclude | null /** * Filter which TestSuiteRun to delete. */ where: TestSuiteRunWhereUniqueInput } /** * TestSuiteRun deleteMany */ export type TestSuiteRunDeleteManyArgs = { /** * Filter which TestSuiteRuns to delete */ where?: TestSuiteRunWhereInput /** * Limit how many TestSuiteRuns to delete. */ limit?: number } /** * TestSuiteRun.runs */ export type TestSuiteRun$runsArgs = { /** * Select specific fields to fetch from the Run */ select?: RunSelect | null /** * Omit specific fields from the Run */ omit?: RunOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunInclude | null where?: RunWhereInput orderBy?: RunOrderByWithRelationInput | RunOrderByWithRelationInput[] cursor?: RunWhereUniqueInput take?: number skip?: number distinct?: RunScalarFieldEnum | RunScalarFieldEnum[] } /** * TestSuiteRun.assertions */ export type TestSuiteRun$assertionsArgs = { /** * Select specific fields to fetch from the TestAssertion */ select?: TestAssertionSelect | null /** * Omit specific fields from the TestAssertion */ omit?: TestAssertionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestAssertionInclude | null where?: TestAssertionWhereInput orderBy?: TestAssertionOrderByWithRelationInput | TestAssertionOrderByWithRelationInput[] cursor?: TestAssertionWhereUniqueInput take?: number skip?: number distinct?: TestAssertionScalarFieldEnum | TestAssertionScalarFieldEnum[] } /** * TestSuiteRun without action */ export type TestSuiteRunDefaultArgs = { /** * Select specific fields to fetch from the TestSuiteRun */ select?: TestSuiteRunSelect | null /** * Omit specific fields from the TestSuiteRun */ omit?: TestSuiteRunOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestSuiteRunInclude | null } /** * Model TestAssertion */ export type AggregateTestAssertion = { _count: TestAssertionCountAggregateOutputType | null _avg: TestAssertionAvgAggregateOutputType | null _sum: TestAssertionSumAggregateOutputType | null _min: TestAssertionMinAggregateOutputType | null _max: TestAssertionMaxAggregateOutputType | null } export type TestAssertionAvgAggregateOutputType = { itemIndex: number | null score: number | null passThreshold: number | null } export type TestAssertionSumAggregateOutputType = { itemIndex: number | null score: number | null passThreshold: number | null } export type TestAssertionMinAggregateOutputType = { id: string | null runId: string | null testSuiteRunId: string | null workflowId: string | null nodeId: string | null iterationId: string | null itemIndex: number | null name: string | null score: number | null passThreshold: number | null errored: boolean | null expectedJson: string | null actualJson: string | null message: string | null detailsJson: string | null createdAt: string | null } export type TestAssertionMaxAggregateOutputType = { id: string | null runId: string | null testSuiteRunId: string | null workflowId: string | null nodeId: string | null iterationId: string | null itemIndex: number | null name: string | null score: number | null passThreshold: number | null errored: boolean | null expectedJson: string | null actualJson: string | null message: string | null detailsJson: string | null createdAt: string | null } export type TestAssertionCountAggregateOutputType = { id: number runId: number testSuiteRunId: number workflowId: number nodeId: number iterationId: number itemIndex: number name: number score: number passThreshold: number errored: number expectedJson: number actualJson: number message: number detailsJson: number createdAt: number _all: number } export type TestAssertionAvgAggregateInputType = { itemIndex?: true score?: true passThreshold?: true } export type TestAssertionSumAggregateInputType = { itemIndex?: true score?: true passThreshold?: true } export type TestAssertionMinAggregateInputType = { id?: true runId?: true testSuiteRunId?: true workflowId?: true nodeId?: true iterationId?: true itemIndex?: true name?: true score?: true passThreshold?: true errored?: true expectedJson?: true actualJson?: true message?: true detailsJson?: true createdAt?: true } export type TestAssertionMaxAggregateInputType = { id?: true runId?: true testSuiteRunId?: true workflowId?: true nodeId?: true iterationId?: true itemIndex?: true name?: true score?: true passThreshold?: true errored?: true expectedJson?: true actualJson?: true message?: true detailsJson?: true createdAt?: true } export type TestAssertionCountAggregateInputType = { id?: true runId?: true testSuiteRunId?: true workflowId?: true nodeId?: true iterationId?: true itemIndex?: true name?: true score?: true passThreshold?: true errored?: true expectedJson?: true actualJson?: true message?: true detailsJson?: true createdAt?: true _all?: true } export type TestAssertionAggregateArgs = { /** * Filter which TestAssertion to aggregate. */ where?: TestAssertionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TestAssertions to fetch. */ orderBy?: TestAssertionOrderByWithRelationInput | TestAssertionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: TestAssertionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TestAssertions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TestAssertions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TestAssertions **/ _count?: true | TestAssertionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: TestAssertionAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: TestAssertionSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TestAssertionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TestAssertionMaxAggregateInputType } export type GetTestAssertionAggregateType = { [P in keyof T & keyof AggregateTestAssertion]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type TestAssertionGroupByArgs = { where?: TestAssertionWhereInput orderBy?: TestAssertionOrderByWithAggregationInput | TestAssertionOrderByWithAggregationInput[] by: TestAssertionScalarFieldEnum[] | TestAssertionScalarFieldEnum having?: TestAssertionScalarWhereWithAggregatesInput take?: number skip?: number _count?: TestAssertionCountAggregateInputType | true _avg?: TestAssertionAvgAggregateInputType _sum?: TestAssertionSumAggregateInputType _min?: TestAssertionMinAggregateInputType _max?: TestAssertionMaxAggregateInputType } export type TestAssertionGroupByOutputType = { id: string runId: string testSuiteRunId: string workflowId: string nodeId: string iterationId: string | null itemIndex: number | null name: string score: number passThreshold: number | null errored: boolean expectedJson: string | null actualJson: string | null message: string | null detailsJson: string | null createdAt: string _count: TestAssertionCountAggregateOutputType | null _avg: TestAssertionAvgAggregateOutputType | null _sum: TestAssertionSumAggregateOutputType | null _min: TestAssertionMinAggregateOutputType | null _max: TestAssertionMaxAggregateOutputType | null } type GetTestAssertionGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof TestAssertionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type TestAssertionSelect = $Extensions.GetSelect<{ id?: boolean runId?: boolean testSuiteRunId?: boolean workflowId?: boolean nodeId?: boolean iterationId?: boolean itemIndex?: boolean name?: boolean score?: boolean passThreshold?: boolean errored?: boolean expectedJson?: boolean actualJson?: boolean message?: boolean detailsJson?: boolean createdAt?: boolean run?: boolean | RunDefaultArgs testSuiteRun?: boolean | TestSuiteRunDefaultArgs }, ExtArgs["result"]["testAssertion"]> export type TestAssertionSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean runId?: boolean testSuiteRunId?: boolean workflowId?: boolean nodeId?: boolean iterationId?: boolean itemIndex?: boolean name?: boolean score?: boolean passThreshold?: boolean errored?: boolean expectedJson?: boolean actualJson?: boolean message?: boolean detailsJson?: boolean createdAt?: boolean run?: boolean | RunDefaultArgs testSuiteRun?: boolean | TestSuiteRunDefaultArgs }, ExtArgs["result"]["testAssertion"]> export type TestAssertionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean runId?: boolean testSuiteRunId?: boolean workflowId?: boolean nodeId?: boolean iterationId?: boolean itemIndex?: boolean name?: boolean score?: boolean passThreshold?: boolean errored?: boolean expectedJson?: boolean actualJson?: boolean message?: boolean detailsJson?: boolean createdAt?: boolean run?: boolean | RunDefaultArgs testSuiteRun?: boolean | TestSuiteRunDefaultArgs }, ExtArgs["result"]["testAssertion"]> export type TestAssertionSelectScalar = { id?: boolean runId?: boolean testSuiteRunId?: boolean workflowId?: boolean nodeId?: boolean iterationId?: boolean itemIndex?: boolean name?: boolean score?: boolean passThreshold?: boolean errored?: boolean expectedJson?: boolean actualJson?: boolean message?: boolean detailsJson?: boolean createdAt?: boolean } export type TestAssertionOmit = $Extensions.GetOmit<"id" | "runId" | "testSuiteRunId" | "workflowId" | "nodeId" | "iterationId" | "itemIndex" | "name" | "score" | "passThreshold" | "errored" | "expectedJson" | "actualJson" | "message" | "detailsJson" | "createdAt", ExtArgs["result"]["testAssertion"]> export type TestAssertionInclude = { run?: boolean | RunDefaultArgs testSuiteRun?: boolean | TestSuiteRunDefaultArgs } export type TestAssertionIncludeCreateManyAndReturn = { run?: boolean | RunDefaultArgs testSuiteRun?: boolean | TestSuiteRunDefaultArgs } export type TestAssertionIncludeUpdateManyAndReturn = { run?: boolean | RunDefaultArgs testSuiteRun?: boolean | TestSuiteRunDefaultArgs } export type $TestAssertionPayload = { name: "TestAssertion" objects: { run: Prisma.$RunPayload testSuiteRun: Prisma.$TestSuiteRunPayload } scalars: $Extensions.GetPayloadResult<{ id: string runId: string testSuiteRunId: string workflowId: string nodeId: string iterationId: string | null itemIndex: number | null name: string score: number passThreshold: number | null errored: boolean expectedJson: string | null actualJson: string | null message: string | null detailsJson: string | null createdAt: string }, ExtArgs["result"]["testAssertion"]> composites: {} } type TestAssertionGetPayload = $Result.GetResult type TestAssertionCountArgs = Omit & { select?: TestAssertionCountAggregateInputType | true } export interface TestAssertionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TestAssertion'], meta: { name: 'TestAssertion' } } /** * Find zero or one TestAssertion that matches the filter. * @param {TestAssertionFindUniqueArgs} args - Arguments to find a TestAssertion * @example * // Get one TestAssertion * const testAssertion = await prisma.testAssertion.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__TestAssertionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TestAssertion that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TestAssertionFindUniqueOrThrowArgs} args - Arguments to find a TestAssertion * @example * // Get one TestAssertion * const testAssertion = await prisma.testAssertion.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__TestAssertionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TestAssertion 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 {TestAssertionFindFirstArgs} args - Arguments to find a TestAssertion * @example * // Get one TestAssertion * const testAssertion = await prisma.testAssertion.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__TestAssertionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TestAssertion 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 {TestAssertionFindFirstOrThrowArgs} args - Arguments to find a TestAssertion * @example * // Get one TestAssertion * const testAssertion = await prisma.testAssertion.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__TestAssertionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TestAssertions 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 {TestAssertionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TestAssertions * const testAssertions = await prisma.testAssertion.findMany() * * // Get first 10 TestAssertions * const testAssertions = await prisma.testAssertion.findMany({ take: 10 }) * * // Only select the `id` * const testAssertionWithIdOnly = await prisma.testAssertion.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a TestAssertion. * @param {TestAssertionCreateArgs} args - Arguments to create a TestAssertion. * @example * // Create one TestAssertion * const TestAssertion = await prisma.testAssertion.create({ * data: { * // ... data to create a TestAssertion * } * }) * */ create(args: SelectSubset>): Prisma__TestAssertionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TestAssertions. * @param {TestAssertionCreateManyArgs} args - Arguments to create many TestAssertions. * @example * // Create many TestAssertions * const testAssertion = await prisma.testAssertion.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many TestAssertions and returns the data saved in the database. * @param {TestAssertionCreateManyAndReturnArgs} args - Arguments to create many TestAssertions. * @example * // Create many TestAssertions * const testAssertion = await prisma.testAssertion.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TestAssertions and only return the `id` * const testAssertionWithIdOnly = await prisma.testAssertion.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 TestAssertion. * @param {TestAssertionDeleteArgs} args - Arguments to delete one TestAssertion. * @example * // Delete one TestAssertion * const TestAssertion = await prisma.testAssertion.delete({ * where: { * // ... filter to delete one TestAssertion * } * }) * */ delete(args: SelectSubset>): Prisma__TestAssertionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TestAssertion. * @param {TestAssertionUpdateArgs} args - Arguments to update one TestAssertion. * @example * // Update one TestAssertion * const testAssertion = await prisma.testAssertion.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__TestAssertionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TestAssertions. * @param {TestAssertionDeleteManyArgs} args - Arguments to filter TestAssertions to delete. * @example * // Delete a few TestAssertions * const { count } = await prisma.testAssertion.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TestAssertions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TestAssertionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TestAssertions * const testAssertion = await prisma.testAssertion.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TestAssertions and returns the data updated in the database. * @param {TestAssertionUpdateManyAndReturnArgs} args - Arguments to update many TestAssertions. * @example * // Update many TestAssertions * const testAssertion = await prisma.testAssertion.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TestAssertions and only return the `id` * const testAssertionWithIdOnly = await prisma.testAssertion.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 TestAssertion. * @param {TestAssertionUpsertArgs} args - Arguments to update or create a TestAssertion. * @example * // Update or create a TestAssertion * const testAssertion = await prisma.testAssertion.upsert({ * create: { * // ... data to create a TestAssertion * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TestAssertion we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__TestAssertionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TestAssertions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TestAssertionCountArgs} args - Arguments to filter TestAssertions to count. * @example * // Count the number of TestAssertions * const count = await prisma.testAssertion.count({ * where: { * // ... the filter for the TestAssertions 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 TestAssertion. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TestAssertionAggregateArgs} 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 TestAssertion. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TestAssertionGroupByArgs} 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 TestAssertionGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: TestAssertionGroupByArgs['orderBy'] } : { orderBy?: TestAssertionGroupByArgs['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 ? GetTestAssertionGroupByPayload : Prisma.PrismaPromise /** * Fields of the TestAssertion model */ readonly fields: TestAssertionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TestAssertion. * 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__TestAssertionClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" run = {}>(args?: Subset>): Prisma__RunClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> testSuiteRun = {}>(args?: Subset>): Prisma__TestSuiteRunClient<$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 TestAssertion model */ interface TestAssertionFieldRefs { readonly id: FieldRef<"TestAssertion", 'String'> readonly runId: FieldRef<"TestAssertion", 'String'> readonly testSuiteRunId: FieldRef<"TestAssertion", 'String'> readonly workflowId: FieldRef<"TestAssertion", 'String'> readonly nodeId: FieldRef<"TestAssertion", 'String'> readonly iterationId: FieldRef<"TestAssertion", 'String'> readonly itemIndex: FieldRef<"TestAssertion", 'Int'> readonly name: FieldRef<"TestAssertion", 'String'> readonly score: FieldRef<"TestAssertion", 'Float'> readonly passThreshold: FieldRef<"TestAssertion", 'Float'> readonly errored: FieldRef<"TestAssertion", 'Boolean'> readonly expectedJson: FieldRef<"TestAssertion", 'String'> readonly actualJson: FieldRef<"TestAssertion", 'String'> readonly message: FieldRef<"TestAssertion", 'String'> readonly detailsJson: FieldRef<"TestAssertion", 'String'> readonly createdAt: FieldRef<"TestAssertion", 'String'> } // Custom InputTypes /** * TestAssertion findUnique */ export type TestAssertionFindUniqueArgs = { /** * Select specific fields to fetch from the TestAssertion */ select?: TestAssertionSelect | null /** * Omit specific fields from the TestAssertion */ omit?: TestAssertionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestAssertionInclude | null /** * Filter, which TestAssertion to fetch. */ where: TestAssertionWhereUniqueInput } /** * TestAssertion findUniqueOrThrow */ export type TestAssertionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TestAssertion */ select?: TestAssertionSelect | null /** * Omit specific fields from the TestAssertion */ omit?: TestAssertionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestAssertionInclude | null /** * Filter, which TestAssertion to fetch. */ where: TestAssertionWhereUniqueInput } /** * TestAssertion findFirst */ export type TestAssertionFindFirstArgs = { /** * Select specific fields to fetch from the TestAssertion */ select?: TestAssertionSelect | null /** * Omit specific fields from the TestAssertion */ omit?: TestAssertionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestAssertionInclude | null /** * Filter, which TestAssertion to fetch. */ where?: TestAssertionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TestAssertions to fetch. */ orderBy?: TestAssertionOrderByWithRelationInput | TestAssertionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TestAssertions. */ cursor?: TestAssertionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TestAssertions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TestAssertions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TestAssertions. */ distinct?: TestAssertionScalarFieldEnum | TestAssertionScalarFieldEnum[] } /** * TestAssertion findFirstOrThrow */ export type TestAssertionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TestAssertion */ select?: TestAssertionSelect | null /** * Omit specific fields from the TestAssertion */ omit?: TestAssertionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestAssertionInclude | null /** * Filter, which TestAssertion to fetch. */ where?: TestAssertionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TestAssertions to fetch. */ orderBy?: TestAssertionOrderByWithRelationInput | TestAssertionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TestAssertions. */ cursor?: TestAssertionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TestAssertions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TestAssertions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TestAssertions. */ distinct?: TestAssertionScalarFieldEnum | TestAssertionScalarFieldEnum[] } /** * TestAssertion findMany */ export type TestAssertionFindManyArgs = { /** * Select specific fields to fetch from the TestAssertion */ select?: TestAssertionSelect | null /** * Omit specific fields from the TestAssertion */ omit?: TestAssertionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestAssertionInclude | null /** * Filter, which TestAssertions to fetch. */ where?: TestAssertionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TestAssertions to fetch. */ orderBy?: TestAssertionOrderByWithRelationInput | TestAssertionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TestAssertions. */ cursor?: TestAssertionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TestAssertions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TestAssertions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TestAssertions. */ distinct?: TestAssertionScalarFieldEnum | TestAssertionScalarFieldEnum[] } /** * TestAssertion create */ export type TestAssertionCreateArgs = { /** * Select specific fields to fetch from the TestAssertion */ select?: TestAssertionSelect | null /** * Omit specific fields from the TestAssertion */ omit?: TestAssertionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestAssertionInclude | null /** * The data needed to create a TestAssertion. */ data: XOR } /** * TestAssertion createMany */ export type TestAssertionCreateManyArgs = { /** * The data used to create many TestAssertions. */ data: TestAssertionCreateManyInput | TestAssertionCreateManyInput[] skipDuplicates?: boolean } /** * TestAssertion createManyAndReturn */ export type TestAssertionCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TestAssertion */ select?: TestAssertionSelectCreateManyAndReturn | null /** * Omit specific fields from the TestAssertion */ omit?: TestAssertionOmit | null /** * The data used to create many TestAssertions. */ data: TestAssertionCreateManyInput | TestAssertionCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: TestAssertionIncludeCreateManyAndReturn | null } /** * TestAssertion update */ export type TestAssertionUpdateArgs = { /** * Select specific fields to fetch from the TestAssertion */ select?: TestAssertionSelect | null /** * Omit specific fields from the TestAssertion */ omit?: TestAssertionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestAssertionInclude | null /** * The data needed to update a TestAssertion. */ data: XOR /** * Choose, which TestAssertion to update. */ where: TestAssertionWhereUniqueInput } /** * TestAssertion updateMany */ export type TestAssertionUpdateManyArgs = { /** * The data used to update TestAssertions. */ data: XOR /** * Filter which TestAssertions to update */ where?: TestAssertionWhereInput /** * Limit how many TestAssertions to update. */ limit?: number } /** * TestAssertion updateManyAndReturn */ export type TestAssertionUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TestAssertion */ select?: TestAssertionSelectUpdateManyAndReturn | null /** * Omit specific fields from the TestAssertion */ omit?: TestAssertionOmit | null /** * The data used to update TestAssertions. */ data: XOR /** * Filter which TestAssertions to update */ where?: TestAssertionWhereInput /** * Limit how many TestAssertions to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: TestAssertionIncludeUpdateManyAndReturn | null } /** * TestAssertion upsert */ export type TestAssertionUpsertArgs = { /** * Select specific fields to fetch from the TestAssertion */ select?: TestAssertionSelect | null /** * Omit specific fields from the TestAssertion */ omit?: TestAssertionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestAssertionInclude | null /** * The filter to search for the TestAssertion to update in case it exists. */ where: TestAssertionWhereUniqueInput /** * In case the TestAssertion found by the `where` argument doesn't exist, create a new TestAssertion with this data. */ create: XOR /** * In case the TestAssertion was found with the provided `where` argument, update it with this data. */ update: XOR } /** * TestAssertion delete */ export type TestAssertionDeleteArgs = { /** * Select specific fields to fetch from the TestAssertion */ select?: TestAssertionSelect | null /** * Omit specific fields from the TestAssertion */ omit?: TestAssertionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestAssertionInclude | null /** * Filter which TestAssertion to delete. */ where: TestAssertionWhereUniqueInput } /** * TestAssertion deleteMany */ export type TestAssertionDeleteManyArgs = { /** * Filter which TestAssertions to delete */ where?: TestAssertionWhereInput /** * Limit how many TestAssertions to delete. */ limit?: number } /** * TestAssertion without action */ export type TestAssertionDefaultArgs = { /** * Select specific fields to fetch from the TestAssertion */ select?: TestAssertionSelect | null /** * Omit specific fields from the TestAssertion */ omit?: TestAssertionOmit | null /** * Choose, which related nodes to fetch as well */ include?: TestAssertionInclude | null } /** * Model WorkflowDebuggerOverlay */ export type AggregateWorkflowDebuggerOverlay = { _count: WorkflowDebuggerOverlayCountAggregateOutputType | null _min: WorkflowDebuggerOverlayMinAggregateOutputType | null _max: WorkflowDebuggerOverlayMaxAggregateOutputType | null } export type WorkflowDebuggerOverlayMinAggregateOutputType = { workflowId: string | null updatedAt: string | null copiedFromRunId: string | null stateJson: string | null } export type WorkflowDebuggerOverlayMaxAggregateOutputType = { workflowId: string | null updatedAt: string | null copiedFromRunId: string | null stateJson: string | null } export type WorkflowDebuggerOverlayCountAggregateOutputType = { workflowId: number updatedAt: number copiedFromRunId: number stateJson: number _all: number } export type WorkflowDebuggerOverlayMinAggregateInputType = { workflowId?: true updatedAt?: true copiedFromRunId?: true stateJson?: true } export type WorkflowDebuggerOverlayMaxAggregateInputType = { workflowId?: true updatedAt?: true copiedFromRunId?: true stateJson?: true } export type WorkflowDebuggerOverlayCountAggregateInputType = { workflowId?: true updatedAt?: true copiedFromRunId?: true stateJson?: true _all?: true } export type WorkflowDebuggerOverlayAggregateArgs = { /** * Filter which WorkflowDebuggerOverlay to aggregate. */ where?: WorkflowDebuggerOverlayWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowDebuggerOverlays to fetch. */ orderBy?: WorkflowDebuggerOverlayOrderByWithRelationInput | WorkflowDebuggerOverlayOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: WorkflowDebuggerOverlayWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowDebuggerOverlays from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowDebuggerOverlays. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned WorkflowDebuggerOverlays **/ _count?: true | WorkflowDebuggerOverlayCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: WorkflowDebuggerOverlayMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: WorkflowDebuggerOverlayMaxAggregateInputType } export type GetWorkflowDebuggerOverlayAggregateType = { [P in keyof T & keyof AggregateWorkflowDebuggerOverlay]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type WorkflowDebuggerOverlayGroupByArgs = { where?: WorkflowDebuggerOverlayWhereInput orderBy?: WorkflowDebuggerOverlayOrderByWithAggregationInput | WorkflowDebuggerOverlayOrderByWithAggregationInput[] by: WorkflowDebuggerOverlayScalarFieldEnum[] | WorkflowDebuggerOverlayScalarFieldEnum having?: WorkflowDebuggerOverlayScalarWhereWithAggregatesInput take?: number skip?: number _count?: WorkflowDebuggerOverlayCountAggregateInputType | true _min?: WorkflowDebuggerOverlayMinAggregateInputType _max?: WorkflowDebuggerOverlayMaxAggregateInputType } export type WorkflowDebuggerOverlayGroupByOutputType = { workflowId: string updatedAt: string copiedFromRunId: string | null stateJson: string _count: WorkflowDebuggerOverlayCountAggregateOutputType | null _min: WorkflowDebuggerOverlayMinAggregateOutputType | null _max: WorkflowDebuggerOverlayMaxAggregateOutputType | null } type GetWorkflowDebuggerOverlayGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof WorkflowDebuggerOverlayGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type WorkflowDebuggerOverlaySelect = $Extensions.GetSelect<{ workflowId?: boolean updatedAt?: boolean copiedFromRunId?: boolean stateJson?: boolean }, ExtArgs["result"]["workflowDebuggerOverlay"]> export type WorkflowDebuggerOverlaySelectCreateManyAndReturn = $Extensions.GetSelect<{ workflowId?: boolean updatedAt?: boolean copiedFromRunId?: boolean stateJson?: boolean }, ExtArgs["result"]["workflowDebuggerOverlay"]> export type WorkflowDebuggerOverlaySelectUpdateManyAndReturn = $Extensions.GetSelect<{ workflowId?: boolean updatedAt?: boolean copiedFromRunId?: boolean stateJson?: boolean }, ExtArgs["result"]["workflowDebuggerOverlay"]> export type WorkflowDebuggerOverlaySelectScalar = { workflowId?: boolean updatedAt?: boolean copiedFromRunId?: boolean stateJson?: boolean } export type WorkflowDebuggerOverlayOmit = $Extensions.GetOmit<"workflowId" | "updatedAt" | "copiedFromRunId" | "stateJson", ExtArgs["result"]["workflowDebuggerOverlay"]> export type $WorkflowDebuggerOverlayPayload = { name: "WorkflowDebuggerOverlay" objects: {} scalars: $Extensions.GetPayloadResult<{ workflowId: string updatedAt: string copiedFromRunId: string | null stateJson: string }, ExtArgs["result"]["workflowDebuggerOverlay"]> composites: {} } type WorkflowDebuggerOverlayGetPayload = $Result.GetResult type WorkflowDebuggerOverlayCountArgs = Omit & { select?: WorkflowDebuggerOverlayCountAggregateInputType | true } export interface WorkflowDebuggerOverlayDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['WorkflowDebuggerOverlay'], meta: { name: 'WorkflowDebuggerOverlay' } } /** * Find zero or one WorkflowDebuggerOverlay that matches the filter. * @param {WorkflowDebuggerOverlayFindUniqueArgs} args - Arguments to find a WorkflowDebuggerOverlay * @example * // Get one WorkflowDebuggerOverlay * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one WorkflowDebuggerOverlay that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {WorkflowDebuggerOverlayFindUniqueOrThrowArgs} args - Arguments to find a WorkflowDebuggerOverlay * @example * // Get one WorkflowDebuggerOverlay * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first WorkflowDebuggerOverlay 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 {WorkflowDebuggerOverlayFindFirstArgs} args - Arguments to find a WorkflowDebuggerOverlay * @example * // Get one WorkflowDebuggerOverlay * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first WorkflowDebuggerOverlay 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 {WorkflowDebuggerOverlayFindFirstOrThrowArgs} args - Arguments to find a WorkflowDebuggerOverlay * @example * // Get one WorkflowDebuggerOverlay * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more WorkflowDebuggerOverlays 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 {WorkflowDebuggerOverlayFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all WorkflowDebuggerOverlays * const workflowDebuggerOverlays = await prisma.workflowDebuggerOverlay.findMany() * * // Get first 10 WorkflowDebuggerOverlays * const workflowDebuggerOverlays = await prisma.workflowDebuggerOverlay.findMany({ take: 10 }) * * // Only select the `workflowId` * const workflowDebuggerOverlayWithWorkflowIdOnly = await prisma.workflowDebuggerOverlay.findMany({ select: { workflowId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a WorkflowDebuggerOverlay. * @param {WorkflowDebuggerOverlayCreateArgs} args - Arguments to create a WorkflowDebuggerOverlay. * @example * // Create one WorkflowDebuggerOverlay * const WorkflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.create({ * data: { * // ... data to create a WorkflowDebuggerOverlay * } * }) * */ create(args: SelectSubset>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many WorkflowDebuggerOverlays. * @param {WorkflowDebuggerOverlayCreateManyArgs} args - Arguments to create many WorkflowDebuggerOverlays. * @example * // Create many WorkflowDebuggerOverlays * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many WorkflowDebuggerOverlays and returns the data saved in the database. * @param {WorkflowDebuggerOverlayCreateManyAndReturnArgs} args - Arguments to create many WorkflowDebuggerOverlays. * @example * // Create many WorkflowDebuggerOverlays * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many WorkflowDebuggerOverlays and only return the `workflowId` * const workflowDebuggerOverlayWithWorkflowIdOnly = await prisma.workflowDebuggerOverlay.createManyAndReturn({ * select: { workflowId: 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 WorkflowDebuggerOverlay. * @param {WorkflowDebuggerOverlayDeleteArgs} args - Arguments to delete one WorkflowDebuggerOverlay. * @example * // Delete one WorkflowDebuggerOverlay * const WorkflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.delete({ * where: { * // ... filter to delete one WorkflowDebuggerOverlay * } * }) * */ delete(args: SelectSubset>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one WorkflowDebuggerOverlay. * @param {WorkflowDebuggerOverlayUpdateArgs} args - Arguments to update one WorkflowDebuggerOverlay. * @example * // Update one WorkflowDebuggerOverlay * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more WorkflowDebuggerOverlays. * @param {WorkflowDebuggerOverlayDeleteManyArgs} args - Arguments to filter WorkflowDebuggerOverlays to delete. * @example * // Delete a few WorkflowDebuggerOverlays * const { count } = await prisma.workflowDebuggerOverlay.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more WorkflowDebuggerOverlays. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowDebuggerOverlayUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many WorkflowDebuggerOverlays * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more WorkflowDebuggerOverlays and returns the data updated in the database. * @param {WorkflowDebuggerOverlayUpdateManyAndReturnArgs} args - Arguments to update many WorkflowDebuggerOverlays. * @example * // Update many WorkflowDebuggerOverlays * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more WorkflowDebuggerOverlays and only return the `workflowId` * const workflowDebuggerOverlayWithWorkflowIdOnly = await prisma.workflowDebuggerOverlay.updateManyAndReturn({ * select: { workflowId: 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 WorkflowDebuggerOverlay. * @param {WorkflowDebuggerOverlayUpsertArgs} args - Arguments to update or create a WorkflowDebuggerOverlay. * @example * // Update or create a WorkflowDebuggerOverlay * const workflowDebuggerOverlay = await prisma.workflowDebuggerOverlay.upsert({ * create: { * // ... data to create a WorkflowDebuggerOverlay * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the WorkflowDebuggerOverlay we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__WorkflowDebuggerOverlayClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of WorkflowDebuggerOverlays. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowDebuggerOverlayCountArgs} args - Arguments to filter WorkflowDebuggerOverlays to count. * @example * // Count the number of WorkflowDebuggerOverlays * const count = await prisma.workflowDebuggerOverlay.count({ * where: { * // ... the filter for the WorkflowDebuggerOverlays 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 WorkflowDebuggerOverlay. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowDebuggerOverlayAggregateArgs} 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 WorkflowDebuggerOverlay. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowDebuggerOverlayGroupByArgs} 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 WorkflowDebuggerOverlayGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: WorkflowDebuggerOverlayGroupByArgs['orderBy'] } : { orderBy?: WorkflowDebuggerOverlayGroupByArgs['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 ? GetWorkflowDebuggerOverlayGroupByPayload : Prisma.PrismaPromise /** * Fields of the WorkflowDebuggerOverlay model */ readonly fields: WorkflowDebuggerOverlayFieldRefs; } /** * The delegate class that acts as a "Promise-like" for WorkflowDebuggerOverlay. * 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__WorkflowDebuggerOverlayClient 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 WorkflowDebuggerOverlay model */ interface WorkflowDebuggerOverlayFieldRefs { readonly workflowId: FieldRef<"WorkflowDebuggerOverlay", 'String'> readonly updatedAt: FieldRef<"WorkflowDebuggerOverlay", 'String'> readonly copiedFromRunId: FieldRef<"WorkflowDebuggerOverlay", 'String'> readonly stateJson: FieldRef<"WorkflowDebuggerOverlay", 'String'> } // Custom InputTypes /** * WorkflowDebuggerOverlay findUnique */ export type WorkflowDebuggerOverlayFindUniqueArgs = { /** * Select specific fields to fetch from the WorkflowDebuggerOverlay */ select?: WorkflowDebuggerOverlaySelect | null /** * Omit specific fields from the WorkflowDebuggerOverlay */ omit?: WorkflowDebuggerOverlayOmit | null /** * Filter, which WorkflowDebuggerOverlay to fetch. */ where: WorkflowDebuggerOverlayWhereUniqueInput } /** * WorkflowDebuggerOverlay findUniqueOrThrow */ export type WorkflowDebuggerOverlayFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the WorkflowDebuggerOverlay */ select?: WorkflowDebuggerOverlaySelect | null /** * Omit specific fields from the WorkflowDebuggerOverlay */ omit?: WorkflowDebuggerOverlayOmit | null /** * Filter, which WorkflowDebuggerOverlay to fetch. */ where: WorkflowDebuggerOverlayWhereUniqueInput } /** * WorkflowDebuggerOverlay findFirst */ export type WorkflowDebuggerOverlayFindFirstArgs = { /** * Select specific fields to fetch from the WorkflowDebuggerOverlay */ select?: WorkflowDebuggerOverlaySelect | null /** * Omit specific fields from the WorkflowDebuggerOverlay */ omit?: WorkflowDebuggerOverlayOmit | null /** * Filter, which WorkflowDebuggerOverlay to fetch. */ where?: WorkflowDebuggerOverlayWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowDebuggerOverlays to fetch. */ orderBy?: WorkflowDebuggerOverlayOrderByWithRelationInput | WorkflowDebuggerOverlayOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for WorkflowDebuggerOverlays. */ cursor?: WorkflowDebuggerOverlayWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowDebuggerOverlays from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowDebuggerOverlays. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowDebuggerOverlays. */ distinct?: WorkflowDebuggerOverlayScalarFieldEnum | WorkflowDebuggerOverlayScalarFieldEnum[] } /** * WorkflowDebuggerOverlay findFirstOrThrow */ export type WorkflowDebuggerOverlayFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the WorkflowDebuggerOverlay */ select?: WorkflowDebuggerOverlaySelect | null /** * Omit specific fields from the WorkflowDebuggerOverlay */ omit?: WorkflowDebuggerOverlayOmit | null /** * Filter, which WorkflowDebuggerOverlay to fetch. */ where?: WorkflowDebuggerOverlayWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowDebuggerOverlays to fetch. */ orderBy?: WorkflowDebuggerOverlayOrderByWithRelationInput | WorkflowDebuggerOverlayOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for WorkflowDebuggerOverlays. */ cursor?: WorkflowDebuggerOverlayWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowDebuggerOverlays from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowDebuggerOverlays. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowDebuggerOverlays. */ distinct?: WorkflowDebuggerOverlayScalarFieldEnum | WorkflowDebuggerOverlayScalarFieldEnum[] } /** * WorkflowDebuggerOverlay findMany */ export type WorkflowDebuggerOverlayFindManyArgs = { /** * Select specific fields to fetch from the WorkflowDebuggerOverlay */ select?: WorkflowDebuggerOverlaySelect | null /** * Omit specific fields from the WorkflowDebuggerOverlay */ omit?: WorkflowDebuggerOverlayOmit | null /** * Filter, which WorkflowDebuggerOverlays to fetch. */ where?: WorkflowDebuggerOverlayWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowDebuggerOverlays to fetch. */ orderBy?: WorkflowDebuggerOverlayOrderByWithRelationInput | WorkflowDebuggerOverlayOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing WorkflowDebuggerOverlays. */ cursor?: WorkflowDebuggerOverlayWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowDebuggerOverlays from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowDebuggerOverlays. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowDebuggerOverlays. */ distinct?: WorkflowDebuggerOverlayScalarFieldEnum | WorkflowDebuggerOverlayScalarFieldEnum[] } /** * WorkflowDebuggerOverlay create */ export type WorkflowDebuggerOverlayCreateArgs = { /** * Select specific fields to fetch from the WorkflowDebuggerOverlay */ select?: WorkflowDebuggerOverlaySelect | null /** * Omit specific fields from the WorkflowDebuggerOverlay */ omit?: WorkflowDebuggerOverlayOmit | null /** * The data needed to create a WorkflowDebuggerOverlay. */ data: XOR } /** * WorkflowDebuggerOverlay createMany */ export type WorkflowDebuggerOverlayCreateManyArgs = { /** * The data used to create many WorkflowDebuggerOverlays. */ data: WorkflowDebuggerOverlayCreateManyInput | WorkflowDebuggerOverlayCreateManyInput[] skipDuplicates?: boolean } /** * WorkflowDebuggerOverlay createManyAndReturn */ export type WorkflowDebuggerOverlayCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the WorkflowDebuggerOverlay */ select?: WorkflowDebuggerOverlaySelectCreateManyAndReturn | null /** * Omit specific fields from the WorkflowDebuggerOverlay */ omit?: WorkflowDebuggerOverlayOmit | null /** * The data used to create many WorkflowDebuggerOverlays. */ data: WorkflowDebuggerOverlayCreateManyInput | WorkflowDebuggerOverlayCreateManyInput[] skipDuplicates?: boolean } /** * WorkflowDebuggerOverlay update */ export type WorkflowDebuggerOverlayUpdateArgs = { /** * Select specific fields to fetch from the WorkflowDebuggerOverlay */ select?: WorkflowDebuggerOverlaySelect | null /** * Omit specific fields from the WorkflowDebuggerOverlay */ omit?: WorkflowDebuggerOverlayOmit | null /** * The data needed to update a WorkflowDebuggerOverlay. */ data: XOR /** * Choose, which WorkflowDebuggerOverlay to update. */ where: WorkflowDebuggerOverlayWhereUniqueInput } /** * WorkflowDebuggerOverlay updateMany */ export type WorkflowDebuggerOverlayUpdateManyArgs = { /** * The data used to update WorkflowDebuggerOverlays. */ data: XOR /** * Filter which WorkflowDebuggerOverlays to update */ where?: WorkflowDebuggerOverlayWhereInput /** * Limit how many WorkflowDebuggerOverlays to update. */ limit?: number } /** * WorkflowDebuggerOverlay updateManyAndReturn */ export type WorkflowDebuggerOverlayUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the WorkflowDebuggerOverlay */ select?: WorkflowDebuggerOverlaySelectUpdateManyAndReturn | null /** * Omit specific fields from the WorkflowDebuggerOverlay */ omit?: WorkflowDebuggerOverlayOmit | null /** * The data used to update WorkflowDebuggerOverlays. */ data: XOR /** * Filter which WorkflowDebuggerOverlays to update */ where?: WorkflowDebuggerOverlayWhereInput /** * Limit how many WorkflowDebuggerOverlays to update. */ limit?: number } /** * WorkflowDebuggerOverlay upsert */ export type WorkflowDebuggerOverlayUpsertArgs = { /** * Select specific fields to fetch from the WorkflowDebuggerOverlay */ select?: WorkflowDebuggerOverlaySelect | null /** * Omit specific fields from the WorkflowDebuggerOverlay */ omit?: WorkflowDebuggerOverlayOmit | null /** * The filter to search for the WorkflowDebuggerOverlay to update in case it exists. */ where: WorkflowDebuggerOverlayWhereUniqueInput /** * In case the WorkflowDebuggerOverlay found by the `where` argument doesn't exist, create a new WorkflowDebuggerOverlay with this data. */ create: XOR /** * In case the WorkflowDebuggerOverlay was found with the provided `where` argument, update it with this data. */ update: XOR } /** * WorkflowDebuggerOverlay delete */ export type WorkflowDebuggerOverlayDeleteArgs = { /** * Select specific fields to fetch from the WorkflowDebuggerOverlay */ select?: WorkflowDebuggerOverlaySelect | null /** * Omit specific fields from the WorkflowDebuggerOverlay */ omit?: WorkflowDebuggerOverlayOmit | null /** * Filter which WorkflowDebuggerOverlay to delete. */ where: WorkflowDebuggerOverlayWhereUniqueInput } /** * WorkflowDebuggerOverlay deleteMany */ export type WorkflowDebuggerOverlayDeleteManyArgs = { /** * Filter which WorkflowDebuggerOverlays to delete */ where?: WorkflowDebuggerOverlayWhereInput /** * Limit how many WorkflowDebuggerOverlays to delete. */ limit?: number } /** * WorkflowDebuggerOverlay without action */ export type WorkflowDebuggerOverlayDefaultArgs = { /** * Select specific fields to fetch from the WorkflowDebuggerOverlay */ select?: WorkflowDebuggerOverlaySelect | null /** * Omit specific fields from the WorkflowDebuggerOverlay */ omit?: WorkflowDebuggerOverlayOmit | null } /** * Model WorkflowActivation */ export type AggregateWorkflowActivation = { _count: WorkflowActivationCountAggregateOutputType | null _min: WorkflowActivationMinAggregateOutputType | null _max: WorkflowActivationMaxAggregateOutputType | null } export type WorkflowActivationMinAggregateOutputType = { workflowId: string | null isActive: boolean | null updatedAt: string | null } export type WorkflowActivationMaxAggregateOutputType = { workflowId: string | null isActive: boolean | null updatedAt: string | null } export type WorkflowActivationCountAggregateOutputType = { workflowId: number isActive: number updatedAt: number _all: number } export type WorkflowActivationMinAggregateInputType = { workflowId?: true isActive?: true updatedAt?: true } export type WorkflowActivationMaxAggregateInputType = { workflowId?: true isActive?: true updatedAt?: true } export type WorkflowActivationCountAggregateInputType = { workflowId?: true isActive?: true updatedAt?: true _all?: true } export type WorkflowActivationAggregateArgs = { /** * Filter which WorkflowActivation to aggregate. */ where?: WorkflowActivationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowActivations to fetch. */ orderBy?: WorkflowActivationOrderByWithRelationInput | WorkflowActivationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: WorkflowActivationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowActivations from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowActivations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned WorkflowActivations **/ _count?: true | WorkflowActivationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: WorkflowActivationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: WorkflowActivationMaxAggregateInputType } export type GetWorkflowActivationAggregateType = { [P in keyof T & keyof AggregateWorkflowActivation]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type WorkflowActivationGroupByArgs = { where?: WorkflowActivationWhereInput orderBy?: WorkflowActivationOrderByWithAggregationInput | WorkflowActivationOrderByWithAggregationInput[] by: WorkflowActivationScalarFieldEnum[] | WorkflowActivationScalarFieldEnum having?: WorkflowActivationScalarWhereWithAggregatesInput take?: number skip?: number _count?: WorkflowActivationCountAggregateInputType | true _min?: WorkflowActivationMinAggregateInputType _max?: WorkflowActivationMaxAggregateInputType } export type WorkflowActivationGroupByOutputType = { workflowId: string isActive: boolean updatedAt: string _count: WorkflowActivationCountAggregateOutputType | null _min: WorkflowActivationMinAggregateOutputType | null _max: WorkflowActivationMaxAggregateOutputType | null } type GetWorkflowActivationGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof WorkflowActivationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type WorkflowActivationSelect = $Extensions.GetSelect<{ workflowId?: boolean isActive?: boolean updatedAt?: boolean }, ExtArgs["result"]["workflowActivation"]> export type WorkflowActivationSelectCreateManyAndReturn = $Extensions.GetSelect<{ workflowId?: boolean isActive?: boolean updatedAt?: boolean }, ExtArgs["result"]["workflowActivation"]> export type WorkflowActivationSelectUpdateManyAndReturn = $Extensions.GetSelect<{ workflowId?: boolean isActive?: boolean updatedAt?: boolean }, ExtArgs["result"]["workflowActivation"]> export type WorkflowActivationSelectScalar = { workflowId?: boolean isActive?: boolean updatedAt?: boolean } export type WorkflowActivationOmit = $Extensions.GetOmit<"workflowId" | "isActive" | "updatedAt", ExtArgs["result"]["workflowActivation"]> export type $WorkflowActivationPayload = { name: "WorkflowActivation" objects: {} scalars: $Extensions.GetPayloadResult<{ workflowId: string isActive: boolean updatedAt: string }, ExtArgs["result"]["workflowActivation"]> composites: {} } type WorkflowActivationGetPayload = $Result.GetResult type WorkflowActivationCountArgs = Omit & { select?: WorkflowActivationCountAggregateInputType | true } export interface WorkflowActivationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['WorkflowActivation'], meta: { name: 'WorkflowActivation' } } /** * Find zero or one WorkflowActivation that matches the filter. * @param {WorkflowActivationFindUniqueArgs} args - Arguments to find a WorkflowActivation * @example * // Get one WorkflowActivation * const workflowActivation = await prisma.workflowActivation.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__WorkflowActivationClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one WorkflowActivation that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {WorkflowActivationFindUniqueOrThrowArgs} args - Arguments to find a WorkflowActivation * @example * // Get one WorkflowActivation * const workflowActivation = await prisma.workflowActivation.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__WorkflowActivationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first WorkflowActivation 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 {WorkflowActivationFindFirstArgs} args - Arguments to find a WorkflowActivation * @example * // Get one WorkflowActivation * const workflowActivation = await prisma.workflowActivation.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__WorkflowActivationClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first WorkflowActivation 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 {WorkflowActivationFindFirstOrThrowArgs} args - Arguments to find a WorkflowActivation * @example * // Get one WorkflowActivation * const workflowActivation = await prisma.workflowActivation.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__WorkflowActivationClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more WorkflowActivations 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 {WorkflowActivationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all WorkflowActivations * const workflowActivations = await prisma.workflowActivation.findMany() * * // Get first 10 WorkflowActivations * const workflowActivations = await prisma.workflowActivation.findMany({ take: 10 }) * * // Only select the `workflowId` * const workflowActivationWithWorkflowIdOnly = await prisma.workflowActivation.findMany({ select: { workflowId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a WorkflowActivation. * @param {WorkflowActivationCreateArgs} args - Arguments to create a WorkflowActivation. * @example * // Create one WorkflowActivation * const WorkflowActivation = await prisma.workflowActivation.create({ * data: { * // ... data to create a WorkflowActivation * } * }) * */ create(args: SelectSubset>): Prisma__WorkflowActivationClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many WorkflowActivations. * @param {WorkflowActivationCreateManyArgs} args - Arguments to create many WorkflowActivations. * @example * // Create many WorkflowActivations * const workflowActivation = await prisma.workflowActivation.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many WorkflowActivations and returns the data saved in the database. * @param {WorkflowActivationCreateManyAndReturnArgs} args - Arguments to create many WorkflowActivations. * @example * // Create many WorkflowActivations * const workflowActivation = await prisma.workflowActivation.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many WorkflowActivations and only return the `workflowId` * const workflowActivationWithWorkflowIdOnly = await prisma.workflowActivation.createManyAndReturn({ * select: { workflowId: 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 WorkflowActivation. * @param {WorkflowActivationDeleteArgs} args - Arguments to delete one WorkflowActivation. * @example * // Delete one WorkflowActivation * const WorkflowActivation = await prisma.workflowActivation.delete({ * where: { * // ... filter to delete one WorkflowActivation * } * }) * */ delete(args: SelectSubset>): Prisma__WorkflowActivationClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one WorkflowActivation. * @param {WorkflowActivationUpdateArgs} args - Arguments to update one WorkflowActivation. * @example * // Update one WorkflowActivation * const workflowActivation = await prisma.workflowActivation.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__WorkflowActivationClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more WorkflowActivations. * @param {WorkflowActivationDeleteManyArgs} args - Arguments to filter WorkflowActivations to delete. * @example * // Delete a few WorkflowActivations * const { count } = await prisma.workflowActivation.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more WorkflowActivations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowActivationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many WorkflowActivations * const workflowActivation = await prisma.workflowActivation.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more WorkflowActivations and returns the data updated in the database. * @param {WorkflowActivationUpdateManyAndReturnArgs} args - Arguments to update many WorkflowActivations. * @example * // Update many WorkflowActivations * const workflowActivation = await prisma.workflowActivation.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more WorkflowActivations and only return the `workflowId` * const workflowActivationWithWorkflowIdOnly = await prisma.workflowActivation.updateManyAndReturn({ * select: { workflowId: 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 WorkflowActivation. * @param {WorkflowActivationUpsertArgs} args - Arguments to update or create a WorkflowActivation. * @example * // Update or create a WorkflowActivation * const workflowActivation = await prisma.workflowActivation.upsert({ * create: { * // ... data to create a WorkflowActivation * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the WorkflowActivation we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__WorkflowActivationClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of WorkflowActivations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowActivationCountArgs} args - Arguments to filter WorkflowActivations to count. * @example * // Count the number of WorkflowActivations * const count = await prisma.workflowActivation.count({ * where: { * // ... the filter for the WorkflowActivations 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 WorkflowActivation. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowActivationAggregateArgs} 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 WorkflowActivation. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowActivationGroupByArgs} 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 WorkflowActivationGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: WorkflowActivationGroupByArgs['orderBy'] } : { orderBy?: WorkflowActivationGroupByArgs['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 ? GetWorkflowActivationGroupByPayload : Prisma.PrismaPromise /** * Fields of the WorkflowActivation model */ readonly fields: WorkflowActivationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for WorkflowActivation. * 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__WorkflowActivationClient 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 WorkflowActivation model */ interface WorkflowActivationFieldRefs { readonly workflowId: FieldRef<"WorkflowActivation", 'String'> readonly isActive: FieldRef<"WorkflowActivation", 'Boolean'> readonly updatedAt: FieldRef<"WorkflowActivation", 'String'> } // Custom InputTypes /** * WorkflowActivation findUnique */ export type WorkflowActivationFindUniqueArgs = { /** * Select specific fields to fetch from the WorkflowActivation */ select?: WorkflowActivationSelect | null /** * Omit specific fields from the WorkflowActivation */ omit?: WorkflowActivationOmit | null /** * Filter, which WorkflowActivation to fetch. */ where: WorkflowActivationWhereUniqueInput } /** * WorkflowActivation findUniqueOrThrow */ export type WorkflowActivationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the WorkflowActivation */ select?: WorkflowActivationSelect | null /** * Omit specific fields from the WorkflowActivation */ omit?: WorkflowActivationOmit | null /** * Filter, which WorkflowActivation to fetch. */ where: WorkflowActivationWhereUniqueInput } /** * WorkflowActivation findFirst */ export type WorkflowActivationFindFirstArgs = { /** * Select specific fields to fetch from the WorkflowActivation */ select?: WorkflowActivationSelect | null /** * Omit specific fields from the WorkflowActivation */ omit?: WorkflowActivationOmit | null /** * Filter, which WorkflowActivation to fetch. */ where?: WorkflowActivationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowActivations to fetch. */ orderBy?: WorkflowActivationOrderByWithRelationInput | WorkflowActivationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for WorkflowActivations. */ cursor?: WorkflowActivationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowActivations from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowActivations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowActivations. */ distinct?: WorkflowActivationScalarFieldEnum | WorkflowActivationScalarFieldEnum[] } /** * WorkflowActivation findFirstOrThrow */ export type WorkflowActivationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the WorkflowActivation */ select?: WorkflowActivationSelect | null /** * Omit specific fields from the WorkflowActivation */ omit?: WorkflowActivationOmit | null /** * Filter, which WorkflowActivation to fetch. */ where?: WorkflowActivationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowActivations to fetch. */ orderBy?: WorkflowActivationOrderByWithRelationInput | WorkflowActivationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for WorkflowActivations. */ cursor?: WorkflowActivationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowActivations from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowActivations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowActivations. */ distinct?: WorkflowActivationScalarFieldEnum | WorkflowActivationScalarFieldEnum[] } /** * WorkflowActivation findMany */ export type WorkflowActivationFindManyArgs = { /** * Select specific fields to fetch from the WorkflowActivation */ select?: WorkflowActivationSelect | null /** * Omit specific fields from the WorkflowActivation */ omit?: WorkflowActivationOmit | null /** * Filter, which WorkflowActivations to fetch. */ where?: WorkflowActivationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowActivations to fetch. */ orderBy?: WorkflowActivationOrderByWithRelationInput | WorkflowActivationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing WorkflowActivations. */ cursor?: WorkflowActivationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowActivations from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowActivations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowActivations. */ distinct?: WorkflowActivationScalarFieldEnum | WorkflowActivationScalarFieldEnum[] } /** * WorkflowActivation create */ export type WorkflowActivationCreateArgs = { /** * Select specific fields to fetch from the WorkflowActivation */ select?: WorkflowActivationSelect | null /** * Omit specific fields from the WorkflowActivation */ omit?: WorkflowActivationOmit | null /** * The data needed to create a WorkflowActivation. */ data: XOR } /** * WorkflowActivation createMany */ export type WorkflowActivationCreateManyArgs = { /** * The data used to create many WorkflowActivations. */ data: WorkflowActivationCreateManyInput | WorkflowActivationCreateManyInput[] skipDuplicates?: boolean } /** * WorkflowActivation createManyAndReturn */ export type WorkflowActivationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the WorkflowActivation */ select?: WorkflowActivationSelectCreateManyAndReturn | null /** * Omit specific fields from the WorkflowActivation */ omit?: WorkflowActivationOmit | null /** * The data used to create many WorkflowActivations. */ data: WorkflowActivationCreateManyInput | WorkflowActivationCreateManyInput[] skipDuplicates?: boolean } /** * WorkflowActivation update */ export type WorkflowActivationUpdateArgs = { /** * Select specific fields to fetch from the WorkflowActivation */ select?: WorkflowActivationSelect | null /** * Omit specific fields from the WorkflowActivation */ omit?: WorkflowActivationOmit | null /** * The data needed to update a WorkflowActivation. */ data: XOR /** * Choose, which WorkflowActivation to update. */ where: WorkflowActivationWhereUniqueInput } /** * WorkflowActivation updateMany */ export type WorkflowActivationUpdateManyArgs = { /** * The data used to update WorkflowActivations. */ data: XOR /** * Filter which WorkflowActivations to update */ where?: WorkflowActivationWhereInput /** * Limit how many WorkflowActivations to update. */ limit?: number } /** * WorkflowActivation updateManyAndReturn */ export type WorkflowActivationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the WorkflowActivation */ select?: WorkflowActivationSelectUpdateManyAndReturn | null /** * Omit specific fields from the WorkflowActivation */ omit?: WorkflowActivationOmit | null /** * The data used to update WorkflowActivations. */ data: XOR /** * Filter which WorkflowActivations to update */ where?: WorkflowActivationWhereInput /** * Limit how many WorkflowActivations to update. */ limit?: number } /** * WorkflowActivation upsert */ export type WorkflowActivationUpsertArgs = { /** * Select specific fields to fetch from the WorkflowActivation */ select?: WorkflowActivationSelect | null /** * Omit specific fields from the WorkflowActivation */ omit?: WorkflowActivationOmit | null /** * The filter to search for the WorkflowActivation to update in case it exists. */ where: WorkflowActivationWhereUniqueInput /** * In case the WorkflowActivation found by the `where` argument doesn't exist, create a new WorkflowActivation with this data. */ create: XOR /** * In case the WorkflowActivation was found with the provided `where` argument, update it with this data. */ update: XOR } /** * WorkflowActivation delete */ export type WorkflowActivationDeleteArgs = { /** * Select specific fields to fetch from the WorkflowActivation */ select?: WorkflowActivationSelect | null /** * Omit specific fields from the WorkflowActivation */ omit?: WorkflowActivationOmit | null /** * Filter which WorkflowActivation to delete. */ where: WorkflowActivationWhereUniqueInput } /** * WorkflowActivation deleteMany */ export type WorkflowActivationDeleteManyArgs = { /** * Filter which WorkflowActivations to delete */ where?: WorkflowActivationWhereInput /** * Limit how many WorkflowActivations to delete. */ limit?: number } /** * WorkflowActivation without action */ export type WorkflowActivationDefaultArgs = { /** * Select specific fields to fetch from the WorkflowActivation */ select?: WorkflowActivationSelect | null /** * Omit specific fields from the WorkflowActivation */ omit?: WorkflowActivationOmit | null } /** * Model TriggerSetupState */ export type AggregateTriggerSetupState = { _count: TriggerSetupStateCountAggregateOutputType | null _min: TriggerSetupStateMinAggregateOutputType | null _max: TriggerSetupStateMaxAggregateOutputType | null } export type TriggerSetupStateMinAggregateOutputType = { workflowId: string | null nodeId: string | null updatedAt: string | null stateJson: string | null } export type TriggerSetupStateMaxAggregateOutputType = { workflowId: string | null nodeId: string | null updatedAt: string | null stateJson: string | null } export type TriggerSetupStateCountAggregateOutputType = { workflowId: number nodeId: number updatedAt: number stateJson: number _all: number } export type TriggerSetupStateMinAggregateInputType = { workflowId?: true nodeId?: true updatedAt?: true stateJson?: true } export type TriggerSetupStateMaxAggregateInputType = { workflowId?: true nodeId?: true updatedAt?: true stateJson?: true } export type TriggerSetupStateCountAggregateInputType = { workflowId?: true nodeId?: true updatedAt?: true stateJson?: true _all?: true } export type TriggerSetupStateAggregateArgs = { /** * Filter which TriggerSetupState to aggregate. */ where?: TriggerSetupStateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TriggerSetupStates to fetch. */ orderBy?: TriggerSetupStateOrderByWithRelationInput | TriggerSetupStateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: TriggerSetupStateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TriggerSetupStates from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TriggerSetupStates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TriggerSetupStates **/ _count?: true | TriggerSetupStateCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TriggerSetupStateMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TriggerSetupStateMaxAggregateInputType } export type GetTriggerSetupStateAggregateType = { [P in keyof T & keyof AggregateTriggerSetupState]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type TriggerSetupStateGroupByArgs = { where?: TriggerSetupStateWhereInput orderBy?: TriggerSetupStateOrderByWithAggregationInput | TriggerSetupStateOrderByWithAggregationInput[] by: TriggerSetupStateScalarFieldEnum[] | TriggerSetupStateScalarFieldEnum having?: TriggerSetupStateScalarWhereWithAggregatesInput take?: number skip?: number _count?: TriggerSetupStateCountAggregateInputType | true _min?: TriggerSetupStateMinAggregateInputType _max?: TriggerSetupStateMaxAggregateInputType } export type TriggerSetupStateGroupByOutputType = { workflowId: string nodeId: string updatedAt: string stateJson: string _count: TriggerSetupStateCountAggregateOutputType | null _min: TriggerSetupStateMinAggregateOutputType | null _max: TriggerSetupStateMaxAggregateOutputType | null } type GetTriggerSetupStateGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof TriggerSetupStateGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type TriggerSetupStateSelect = $Extensions.GetSelect<{ workflowId?: boolean nodeId?: boolean updatedAt?: boolean stateJson?: boolean }, ExtArgs["result"]["triggerSetupState"]> export type TriggerSetupStateSelectCreateManyAndReturn = $Extensions.GetSelect<{ workflowId?: boolean nodeId?: boolean updatedAt?: boolean stateJson?: boolean }, ExtArgs["result"]["triggerSetupState"]> export type TriggerSetupStateSelectUpdateManyAndReturn = $Extensions.GetSelect<{ workflowId?: boolean nodeId?: boolean updatedAt?: boolean stateJson?: boolean }, ExtArgs["result"]["triggerSetupState"]> export type TriggerSetupStateSelectScalar = { workflowId?: boolean nodeId?: boolean updatedAt?: boolean stateJson?: boolean } export type TriggerSetupStateOmit = $Extensions.GetOmit<"workflowId" | "nodeId" | "updatedAt" | "stateJson", ExtArgs["result"]["triggerSetupState"]> export type $TriggerSetupStatePayload = { name: "TriggerSetupState" objects: {} scalars: $Extensions.GetPayloadResult<{ workflowId: string nodeId: string updatedAt: string stateJson: string }, ExtArgs["result"]["triggerSetupState"]> composites: {} } type TriggerSetupStateGetPayload = $Result.GetResult type TriggerSetupStateCountArgs = Omit & { select?: TriggerSetupStateCountAggregateInputType | true } export interface TriggerSetupStateDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TriggerSetupState'], meta: { name: 'TriggerSetupState' } } /** * Find zero or one TriggerSetupState that matches the filter. * @param {TriggerSetupStateFindUniqueArgs} args - Arguments to find a TriggerSetupState * @example * // Get one TriggerSetupState * const triggerSetupState = await prisma.triggerSetupState.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__TriggerSetupStateClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TriggerSetupState that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TriggerSetupStateFindUniqueOrThrowArgs} args - Arguments to find a TriggerSetupState * @example * // Get one TriggerSetupState * const triggerSetupState = await prisma.triggerSetupState.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__TriggerSetupStateClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TriggerSetupState 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 {TriggerSetupStateFindFirstArgs} args - Arguments to find a TriggerSetupState * @example * // Get one TriggerSetupState * const triggerSetupState = await prisma.triggerSetupState.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__TriggerSetupStateClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TriggerSetupState 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 {TriggerSetupStateFindFirstOrThrowArgs} args - Arguments to find a TriggerSetupState * @example * // Get one TriggerSetupState * const triggerSetupState = await prisma.triggerSetupState.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__TriggerSetupStateClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TriggerSetupStates 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 {TriggerSetupStateFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TriggerSetupStates * const triggerSetupStates = await prisma.triggerSetupState.findMany() * * // Get first 10 TriggerSetupStates * const triggerSetupStates = await prisma.triggerSetupState.findMany({ take: 10 }) * * // Only select the `workflowId` * const triggerSetupStateWithWorkflowIdOnly = await prisma.triggerSetupState.findMany({ select: { workflowId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a TriggerSetupState. * @param {TriggerSetupStateCreateArgs} args - Arguments to create a TriggerSetupState. * @example * // Create one TriggerSetupState * const TriggerSetupState = await prisma.triggerSetupState.create({ * data: { * // ... data to create a TriggerSetupState * } * }) * */ create(args: SelectSubset>): Prisma__TriggerSetupStateClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TriggerSetupStates. * @param {TriggerSetupStateCreateManyArgs} args - Arguments to create many TriggerSetupStates. * @example * // Create many TriggerSetupStates * const triggerSetupState = await prisma.triggerSetupState.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many TriggerSetupStates and returns the data saved in the database. * @param {TriggerSetupStateCreateManyAndReturnArgs} args - Arguments to create many TriggerSetupStates. * @example * // Create many TriggerSetupStates * const triggerSetupState = await prisma.triggerSetupState.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TriggerSetupStates and only return the `workflowId` * const triggerSetupStateWithWorkflowIdOnly = await prisma.triggerSetupState.createManyAndReturn({ * select: { workflowId: 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 TriggerSetupState. * @param {TriggerSetupStateDeleteArgs} args - Arguments to delete one TriggerSetupState. * @example * // Delete one TriggerSetupState * const TriggerSetupState = await prisma.triggerSetupState.delete({ * where: { * // ... filter to delete one TriggerSetupState * } * }) * */ delete(args: SelectSubset>): Prisma__TriggerSetupStateClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TriggerSetupState. * @param {TriggerSetupStateUpdateArgs} args - Arguments to update one TriggerSetupState. * @example * // Update one TriggerSetupState * const triggerSetupState = await prisma.triggerSetupState.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__TriggerSetupStateClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TriggerSetupStates. * @param {TriggerSetupStateDeleteManyArgs} args - Arguments to filter TriggerSetupStates to delete. * @example * // Delete a few TriggerSetupStates * const { count } = await prisma.triggerSetupState.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TriggerSetupStates. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TriggerSetupStateUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TriggerSetupStates * const triggerSetupState = await prisma.triggerSetupState.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TriggerSetupStates and returns the data updated in the database. * @param {TriggerSetupStateUpdateManyAndReturnArgs} args - Arguments to update many TriggerSetupStates. * @example * // Update many TriggerSetupStates * const triggerSetupState = await prisma.triggerSetupState.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TriggerSetupStates and only return the `workflowId` * const triggerSetupStateWithWorkflowIdOnly = await prisma.triggerSetupState.updateManyAndReturn({ * select: { workflowId: 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 TriggerSetupState. * @param {TriggerSetupStateUpsertArgs} args - Arguments to update or create a TriggerSetupState. * @example * // Update or create a TriggerSetupState * const triggerSetupState = await prisma.triggerSetupState.upsert({ * create: { * // ... data to create a TriggerSetupState * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TriggerSetupState we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__TriggerSetupStateClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TriggerSetupStates. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TriggerSetupStateCountArgs} args - Arguments to filter TriggerSetupStates to count. * @example * // Count the number of TriggerSetupStates * const count = await prisma.triggerSetupState.count({ * where: { * // ... the filter for the TriggerSetupStates 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 TriggerSetupState. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TriggerSetupStateAggregateArgs} 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 TriggerSetupState. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TriggerSetupStateGroupByArgs} 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 TriggerSetupStateGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: TriggerSetupStateGroupByArgs['orderBy'] } : { orderBy?: TriggerSetupStateGroupByArgs['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 ? GetTriggerSetupStateGroupByPayload : Prisma.PrismaPromise /** * Fields of the TriggerSetupState model */ readonly fields: TriggerSetupStateFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TriggerSetupState. * 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__TriggerSetupStateClient 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 TriggerSetupState model */ interface TriggerSetupStateFieldRefs { readonly workflowId: FieldRef<"TriggerSetupState", 'String'> readonly nodeId: FieldRef<"TriggerSetupState", 'String'> readonly updatedAt: FieldRef<"TriggerSetupState", 'String'> readonly stateJson: FieldRef<"TriggerSetupState", 'String'> } // Custom InputTypes /** * TriggerSetupState findUnique */ export type TriggerSetupStateFindUniqueArgs = { /** * Select specific fields to fetch from the TriggerSetupState */ select?: TriggerSetupStateSelect | null /** * Omit specific fields from the TriggerSetupState */ omit?: TriggerSetupStateOmit | null /** * Filter, which TriggerSetupState to fetch. */ where: TriggerSetupStateWhereUniqueInput } /** * TriggerSetupState findUniqueOrThrow */ export type TriggerSetupStateFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TriggerSetupState */ select?: TriggerSetupStateSelect | null /** * Omit specific fields from the TriggerSetupState */ omit?: TriggerSetupStateOmit | null /** * Filter, which TriggerSetupState to fetch. */ where: TriggerSetupStateWhereUniqueInput } /** * TriggerSetupState findFirst */ export type TriggerSetupStateFindFirstArgs = { /** * Select specific fields to fetch from the TriggerSetupState */ select?: TriggerSetupStateSelect | null /** * Omit specific fields from the TriggerSetupState */ omit?: TriggerSetupStateOmit | null /** * Filter, which TriggerSetupState to fetch. */ where?: TriggerSetupStateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TriggerSetupStates to fetch. */ orderBy?: TriggerSetupStateOrderByWithRelationInput | TriggerSetupStateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TriggerSetupStates. */ cursor?: TriggerSetupStateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TriggerSetupStates from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TriggerSetupStates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TriggerSetupStates. */ distinct?: TriggerSetupStateScalarFieldEnum | TriggerSetupStateScalarFieldEnum[] } /** * TriggerSetupState findFirstOrThrow */ export type TriggerSetupStateFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TriggerSetupState */ select?: TriggerSetupStateSelect | null /** * Omit specific fields from the TriggerSetupState */ omit?: TriggerSetupStateOmit | null /** * Filter, which TriggerSetupState to fetch. */ where?: TriggerSetupStateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TriggerSetupStates to fetch. */ orderBy?: TriggerSetupStateOrderByWithRelationInput | TriggerSetupStateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TriggerSetupStates. */ cursor?: TriggerSetupStateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TriggerSetupStates from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TriggerSetupStates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TriggerSetupStates. */ distinct?: TriggerSetupStateScalarFieldEnum | TriggerSetupStateScalarFieldEnum[] } /** * TriggerSetupState findMany */ export type TriggerSetupStateFindManyArgs = { /** * Select specific fields to fetch from the TriggerSetupState */ select?: TriggerSetupStateSelect | null /** * Omit specific fields from the TriggerSetupState */ omit?: TriggerSetupStateOmit | null /** * Filter, which TriggerSetupStates to fetch. */ where?: TriggerSetupStateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TriggerSetupStates to fetch. */ orderBy?: TriggerSetupStateOrderByWithRelationInput | TriggerSetupStateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TriggerSetupStates. */ cursor?: TriggerSetupStateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TriggerSetupStates from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TriggerSetupStates. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TriggerSetupStates. */ distinct?: TriggerSetupStateScalarFieldEnum | TriggerSetupStateScalarFieldEnum[] } /** * TriggerSetupState create */ export type TriggerSetupStateCreateArgs = { /** * Select specific fields to fetch from the TriggerSetupState */ select?: TriggerSetupStateSelect | null /** * Omit specific fields from the TriggerSetupState */ omit?: TriggerSetupStateOmit | null /** * The data needed to create a TriggerSetupState. */ data: XOR } /** * TriggerSetupState createMany */ export type TriggerSetupStateCreateManyArgs = { /** * The data used to create many TriggerSetupStates. */ data: TriggerSetupStateCreateManyInput | TriggerSetupStateCreateManyInput[] skipDuplicates?: boolean } /** * TriggerSetupState createManyAndReturn */ export type TriggerSetupStateCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TriggerSetupState */ select?: TriggerSetupStateSelectCreateManyAndReturn | null /** * Omit specific fields from the TriggerSetupState */ omit?: TriggerSetupStateOmit | null /** * The data used to create many TriggerSetupStates. */ data: TriggerSetupStateCreateManyInput | TriggerSetupStateCreateManyInput[] skipDuplicates?: boolean } /** * TriggerSetupState update */ export type TriggerSetupStateUpdateArgs = { /** * Select specific fields to fetch from the TriggerSetupState */ select?: TriggerSetupStateSelect | null /** * Omit specific fields from the TriggerSetupState */ omit?: TriggerSetupStateOmit | null /** * The data needed to update a TriggerSetupState. */ data: XOR /** * Choose, which TriggerSetupState to update. */ where: TriggerSetupStateWhereUniqueInput } /** * TriggerSetupState updateMany */ export type TriggerSetupStateUpdateManyArgs = { /** * The data used to update TriggerSetupStates. */ data: XOR /** * Filter which TriggerSetupStates to update */ where?: TriggerSetupStateWhereInput /** * Limit how many TriggerSetupStates to update. */ limit?: number } /** * TriggerSetupState updateManyAndReturn */ export type TriggerSetupStateUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TriggerSetupState */ select?: TriggerSetupStateSelectUpdateManyAndReturn | null /** * Omit specific fields from the TriggerSetupState */ omit?: TriggerSetupStateOmit | null /** * The data used to update TriggerSetupStates. */ data: XOR /** * Filter which TriggerSetupStates to update */ where?: TriggerSetupStateWhereInput /** * Limit how many TriggerSetupStates to update. */ limit?: number } /** * TriggerSetupState upsert */ export type TriggerSetupStateUpsertArgs = { /** * Select specific fields to fetch from the TriggerSetupState */ select?: TriggerSetupStateSelect | null /** * Omit specific fields from the TriggerSetupState */ omit?: TriggerSetupStateOmit | null /** * The filter to search for the TriggerSetupState to update in case it exists. */ where: TriggerSetupStateWhereUniqueInput /** * In case the TriggerSetupState found by the `where` argument doesn't exist, create a new TriggerSetupState with this data. */ create: XOR /** * In case the TriggerSetupState was found with the provided `where` argument, update it with this data. */ update: XOR } /** * TriggerSetupState delete */ export type TriggerSetupStateDeleteArgs = { /** * Select specific fields to fetch from the TriggerSetupState */ select?: TriggerSetupStateSelect | null /** * Omit specific fields from the TriggerSetupState */ omit?: TriggerSetupStateOmit | null /** * Filter which TriggerSetupState to delete. */ where: TriggerSetupStateWhereUniqueInput } /** * TriggerSetupState deleteMany */ export type TriggerSetupStateDeleteManyArgs = { /** * Filter which TriggerSetupStates to delete */ where?: TriggerSetupStateWhereInput /** * Limit how many TriggerSetupStates to delete. */ limit?: number } /** * TriggerSetupState without action */ export type TriggerSetupStateDefaultArgs = { /** * Select specific fields to fetch from the TriggerSetupState */ select?: TriggerSetupStateSelect | null /** * Omit specific fields from the TriggerSetupState */ omit?: TriggerSetupStateOmit | null } /** * Model RunTraceContext */ export type AggregateRunTraceContext = { _count: RunTraceContextCountAggregateOutputType | null _min: RunTraceContextMinAggregateOutputType | null _max: RunTraceContextMaxAggregateOutputType | null } export type RunTraceContextMinAggregateOutputType = { runId: string | null workflowId: string | null traceId: string | null rootSpanId: string | null serviceName: string | null createdAt: string | null expiresAt: string | null } export type RunTraceContextMaxAggregateOutputType = { runId: string | null workflowId: string | null traceId: string | null rootSpanId: string | null serviceName: string | null createdAt: string | null expiresAt: string | null } export type RunTraceContextCountAggregateOutputType = { runId: number workflowId: number traceId: number rootSpanId: number serviceName: number createdAt: number expiresAt: number _all: number } export type RunTraceContextMinAggregateInputType = { runId?: true workflowId?: true traceId?: true rootSpanId?: true serviceName?: true createdAt?: true expiresAt?: true } export type RunTraceContextMaxAggregateInputType = { runId?: true workflowId?: true traceId?: true rootSpanId?: true serviceName?: true createdAt?: true expiresAt?: true } export type RunTraceContextCountAggregateInputType = { runId?: true workflowId?: true traceId?: true rootSpanId?: true serviceName?: true createdAt?: true expiresAt?: true _all?: true } export type RunTraceContextAggregateArgs = { /** * Filter which RunTraceContext to aggregate. */ where?: RunTraceContextWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RunTraceContexts to fetch. */ orderBy?: RunTraceContextOrderByWithRelationInput | RunTraceContextOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: RunTraceContextWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RunTraceContexts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RunTraceContexts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned RunTraceContexts **/ _count?: true | RunTraceContextCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: RunTraceContextMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: RunTraceContextMaxAggregateInputType } export type GetRunTraceContextAggregateType = { [P in keyof T & keyof AggregateRunTraceContext]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type RunTraceContextGroupByArgs = { where?: RunTraceContextWhereInput orderBy?: RunTraceContextOrderByWithAggregationInput | RunTraceContextOrderByWithAggregationInput[] by: RunTraceContextScalarFieldEnum[] | RunTraceContextScalarFieldEnum having?: RunTraceContextScalarWhereWithAggregatesInput take?: number skip?: number _count?: RunTraceContextCountAggregateInputType | true _min?: RunTraceContextMinAggregateInputType _max?: RunTraceContextMaxAggregateInputType } export type RunTraceContextGroupByOutputType = { runId: string workflowId: string traceId: string rootSpanId: string serviceName: string | null createdAt: string expiresAt: string | null _count: RunTraceContextCountAggregateOutputType | null _min: RunTraceContextMinAggregateOutputType | null _max: RunTraceContextMaxAggregateOutputType | null } type GetRunTraceContextGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof RunTraceContextGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type RunTraceContextSelect = $Extensions.GetSelect<{ runId?: boolean workflowId?: boolean traceId?: boolean rootSpanId?: boolean serviceName?: boolean createdAt?: boolean expiresAt?: boolean }, ExtArgs["result"]["runTraceContext"]> export type RunTraceContextSelectCreateManyAndReturn = $Extensions.GetSelect<{ runId?: boolean workflowId?: boolean traceId?: boolean rootSpanId?: boolean serviceName?: boolean createdAt?: boolean expiresAt?: boolean }, ExtArgs["result"]["runTraceContext"]> export type RunTraceContextSelectUpdateManyAndReturn = $Extensions.GetSelect<{ runId?: boolean workflowId?: boolean traceId?: boolean rootSpanId?: boolean serviceName?: boolean createdAt?: boolean expiresAt?: boolean }, ExtArgs["result"]["runTraceContext"]> export type RunTraceContextSelectScalar = { runId?: boolean workflowId?: boolean traceId?: boolean rootSpanId?: boolean serviceName?: boolean createdAt?: boolean expiresAt?: boolean } export type RunTraceContextOmit = $Extensions.GetOmit<"runId" | "workflowId" | "traceId" | "rootSpanId" | "serviceName" | "createdAt" | "expiresAt", ExtArgs["result"]["runTraceContext"]> export type $RunTraceContextPayload = { name: "RunTraceContext" objects: {} scalars: $Extensions.GetPayloadResult<{ runId: string workflowId: string traceId: string rootSpanId: string serviceName: string | null createdAt: string expiresAt: string | null }, ExtArgs["result"]["runTraceContext"]> composites: {} } type RunTraceContextGetPayload = $Result.GetResult type RunTraceContextCountArgs = Omit & { select?: RunTraceContextCountAggregateInputType | true } export interface RunTraceContextDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['RunTraceContext'], meta: { name: 'RunTraceContext' } } /** * Find zero or one RunTraceContext that matches the filter. * @param {RunTraceContextFindUniqueArgs} args - Arguments to find a RunTraceContext * @example * // Get one RunTraceContext * const runTraceContext = await prisma.runTraceContext.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__RunTraceContextClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one RunTraceContext that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {RunTraceContextFindUniqueOrThrowArgs} args - Arguments to find a RunTraceContext * @example * // Get one RunTraceContext * const runTraceContext = await prisma.runTraceContext.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__RunTraceContextClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first RunTraceContext 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 {RunTraceContextFindFirstArgs} args - Arguments to find a RunTraceContext * @example * // Get one RunTraceContext * const runTraceContext = await prisma.runTraceContext.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__RunTraceContextClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first RunTraceContext 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 {RunTraceContextFindFirstOrThrowArgs} args - Arguments to find a RunTraceContext * @example * // Get one RunTraceContext * const runTraceContext = await prisma.runTraceContext.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__RunTraceContextClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more RunTraceContexts 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 {RunTraceContextFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all RunTraceContexts * const runTraceContexts = await prisma.runTraceContext.findMany() * * // Get first 10 RunTraceContexts * const runTraceContexts = await prisma.runTraceContext.findMany({ take: 10 }) * * // Only select the `runId` * const runTraceContextWithRunIdOnly = await prisma.runTraceContext.findMany({ select: { runId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a RunTraceContext. * @param {RunTraceContextCreateArgs} args - Arguments to create a RunTraceContext. * @example * // Create one RunTraceContext * const RunTraceContext = await prisma.runTraceContext.create({ * data: { * // ... data to create a RunTraceContext * } * }) * */ create(args: SelectSubset>): Prisma__RunTraceContextClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many RunTraceContexts. * @param {RunTraceContextCreateManyArgs} args - Arguments to create many RunTraceContexts. * @example * // Create many RunTraceContexts * const runTraceContext = await prisma.runTraceContext.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many RunTraceContexts and returns the data saved in the database. * @param {RunTraceContextCreateManyAndReturnArgs} args - Arguments to create many RunTraceContexts. * @example * // Create many RunTraceContexts * const runTraceContext = await prisma.runTraceContext.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many RunTraceContexts and only return the `runId` * const runTraceContextWithRunIdOnly = await prisma.runTraceContext.createManyAndReturn({ * select: { runId: 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 RunTraceContext. * @param {RunTraceContextDeleteArgs} args - Arguments to delete one RunTraceContext. * @example * // Delete one RunTraceContext * const RunTraceContext = await prisma.runTraceContext.delete({ * where: { * // ... filter to delete one RunTraceContext * } * }) * */ delete(args: SelectSubset>): Prisma__RunTraceContextClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one RunTraceContext. * @param {RunTraceContextUpdateArgs} args - Arguments to update one RunTraceContext. * @example * // Update one RunTraceContext * const runTraceContext = await prisma.runTraceContext.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__RunTraceContextClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more RunTraceContexts. * @param {RunTraceContextDeleteManyArgs} args - Arguments to filter RunTraceContexts to delete. * @example * // Delete a few RunTraceContexts * const { count } = await prisma.runTraceContext.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more RunTraceContexts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunTraceContextUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many RunTraceContexts * const runTraceContext = await prisma.runTraceContext.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more RunTraceContexts and returns the data updated in the database. * @param {RunTraceContextUpdateManyAndReturnArgs} args - Arguments to update many RunTraceContexts. * @example * // Update many RunTraceContexts * const runTraceContext = await prisma.runTraceContext.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more RunTraceContexts and only return the `runId` * const runTraceContextWithRunIdOnly = await prisma.runTraceContext.updateManyAndReturn({ * select: { runId: 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 RunTraceContext. * @param {RunTraceContextUpsertArgs} args - Arguments to update or create a RunTraceContext. * @example * // Update or create a RunTraceContext * const runTraceContext = await prisma.runTraceContext.upsert({ * create: { * // ... data to create a RunTraceContext * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the RunTraceContext we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__RunTraceContextClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of RunTraceContexts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunTraceContextCountArgs} args - Arguments to filter RunTraceContexts to count. * @example * // Count the number of RunTraceContexts * const count = await prisma.runTraceContext.count({ * where: { * // ... the filter for the RunTraceContexts 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 RunTraceContext. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunTraceContextAggregateArgs} 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 RunTraceContext. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RunTraceContextGroupByArgs} 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 RunTraceContextGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: RunTraceContextGroupByArgs['orderBy'] } : { orderBy?: RunTraceContextGroupByArgs['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 ? GetRunTraceContextGroupByPayload : Prisma.PrismaPromise /** * Fields of the RunTraceContext model */ readonly fields: RunTraceContextFieldRefs; } /** * The delegate class that acts as a "Promise-like" for RunTraceContext. * 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__RunTraceContextClient 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 RunTraceContext model */ interface RunTraceContextFieldRefs { readonly runId: FieldRef<"RunTraceContext", 'String'> readonly workflowId: FieldRef<"RunTraceContext", 'String'> readonly traceId: FieldRef<"RunTraceContext", 'String'> readonly rootSpanId: FieldRef<"RunTraceContext", 'String'> readonly serviceName: FieldRef<"RunTraceContext", 'String'> readonly createdAt: FieldRef<"RunTraceContext", 'String'> readonly expiresAt: FieldRef<"RunTraceContext", 'String'> } // Custom InputTypes /** * RunTraceContext findUnique */ export type RunTraceContextFindUniqueArgs = { /** * Select specific fields to fetch from the RunTraceContext */ select?: RunTraceContextSelect | null /** * Omit specific fields from the RunTraceContext */ omit?: RunTraceContextOmit | null /** * Filter, which RunTraceContext to fetch. */ where: RunTraceContextWhereUniqueInput } /** * RunTraceContext findUniqueOrThrow */ export type RunTraceContextFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the RunTraceContext */ select?: RunTraceContextSelect | null /** * Omit specific fields from the RunTraceContext */ omit?: RunTraceContextOmit | null /** * Filter, which RunTraceContext to fetch. */ where: RunTraceContextWhereUniqueInput } /** * RunTraceContext findFirst */ export type RunTraceContextFindFirstArgs = { /** * Select specific fields to fetch from the RunTraceContext */ select?: RunTraceContextSelect | null /** * Omit specific fields from the RunTraceContext */ omit?: RunTraceContextOmit | null /** * Filter, which RunTraceContext to fetch. */ where?: RunTraceContextWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RunTraceContexts to fetch. */ orderBy?: RunTraceContextOrderByWithRelationInput | RunTraceContextOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for RunTraceContexts. */ cursor?: RunTraceContextWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RunTraceContexts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RunTraceContexts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RunTraceContexts. */ distinct?: RunTraceContextScalarFieldEnum | RunTraceContextScalarFieldEnum[] } /** * RunTraceContext findFirstOrThrow */ export type RunTraceContextFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the RunTraceContext */ select?: RunTraceContextSelect | null /** * Omit specific fields from the RunTraceContext */ omit?: RunTraceContextOmit | null /** * Filter, which RunTraceContext to fetch. */ where?: RunTraceContextWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RunTraceContexts to fetch. */ orderBy?: RunTraceContextOrderByWithRelationInput | RunTraceContextOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for RunTraceContexts. */ cursor?: RunTraceContextWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RunTraceContexts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RunTraceContexts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RunTraceContexts. */ distinct?: RunTraceContextScalarFieldEnum | RunTraceContextScalarFieldEnum[] } /** * RunTraceContext findMany */ export type RunTraceContextFindManyArgs = { /** * Select specific fields to fetch from the RunTraceContext */ select?: RunTraceContextSelect | null /** * Omit specific fields from the RunTraceContext */ omit?: RunTraceContextOmit | null /** * Filter, which RunTraceContexts to fetch. */ where?: RunTraceContextWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RunTraceContexts to fetch. */ orderBy?: RunTraceContextOrderByWithRelationInput | RunTraceContextOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing RunTraceContexts. */ cursor?: RunTraceContextWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RunTraceContexts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` RunTraceContexts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RunTraceContexts. */ distinct?: RunTraceContextScalarFieldEnum | RunTraceContextScalarFieldEnum[] } /** * RunTraceContext create */ export type RunTraceContextCreateArgs = { /** * Select specific fields to fetch from the RunTraceContext */ select?: RunTraceContextSelect | null /** * Omit specific fields from the RunTraceContext */ omit?: RunTraceContextOmit | null /** * The data needed to create a RunTraceContext. */ data: XOR } /** * RunTraceContext createMany */ export type RunTraceContextCreateManyArgs = { /** * The data used to create many RunTraceContexts. */ data: RunTraceContextCreateManyInput | RunTraceContextCreateManyInput[] skipDuplicates?: boolean } /** * RunTraceContext createManyAndReturn */ export type RunTraceContextCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the RunTraceContext */ select?: RunTraceContextSelectCreateManyAndReturn | null /** * Omit specific fields from the RunTraceContext */ omit?: RunTraceContextOmit | null /** * The data used to create many RunTraceContexts. */ data: RunTraceContextCreateManyInput | RunTraceContextCreateManyInput[] skipDuplicates?: boolean } /** * RunTraceContext update */ export type RunTraceContextUpdateArgs = { /** * Select specific fields to fetch from the RunTraceContext */ select?: RunTraceContextSelect | null /** * Omit specific fields from the RunTraceContext */ omit?: RunTraceContextOmit | null /** * The data needed to update a RunTraceContext. */ data: XOR /** * Choose, which RunTraceContext to update. */ where: RunTraceContextWhereUniqueInput } /** * RunTraceContext updateMany */ export type RunTraceContextUpdateManyArgs = { /** * The data used to update RunTraceContexts. */ data: XOR /** * Filter which RunTraceContexts to update */ where?: RunTraceContextWhereInput /** * Limit how many RunTraceContexts to update. */ limit?: number } /** * RunTraceContext updateManyAndReturn */ export type RunTraceContextUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the RunTraceContext */ select?: RunTraceContextSelectUpdateManyAndReturn | null /** * Omit specific fields from the RunTraceContext */ omit?: RunTraceContextOmit | null /** * The data used to update RunTraceContexts. */ data: XOR /** * Filter which RunTraceContexts to update */ where?: RunTraceContextWhereInput /** * Limit how many RunTraceContexts to update. */ limit?: number } /** * RunTraceContext upsert */ export type RunTraceContextUpsertArgs = { /** * Select specific fields to fetch from the RunTraceContext */ select?: RunTraceContextSelect | null /** * Omit specific fields from the RunTraceContext */ omit?: RunTraceContextOmit | null /** * The filter to search for the RunTraceContext to update in case it exists. */ where: RunTraceContextWhereUniqueInput /** * In case the RunTraceContext found by the `where` argument doesn't exist, create a new RunTraceContext with this data. */ create: XOR /** * In case the RunTraceContext was found with the provided `where` argument, update it with this data. */ update: XOR } /** * RunTraceContext delete */ export type RunTraceContextDeleteArgs = { /** * Select specific fields to fetch from the RunTraceContext */ select?: RunTraceContextSelect | null /** * Omit specific fields from the RunTraceContext */ omit?: RunTraceContextOmit | null /** * Filter which RunTraceContext to delete. */ where: RunTraceContextWhereUniqueInput } /** * RunTraceContext deleteMany */ export type RunTraceContextDeleteManyArgs = { /** * Filter which RunTraceContexts to delete */ where?: RunTraceContextWhereInput /** * Limit how many RunTraceContexts to delete. */ limit?: number } /** * RunTraceContext without action */ export type RunTraceContextDefaultArgs = { /** * Select specific fields to fetch from the RunTraceContext */ select?: RunTraceContextSelect | null /** * Omit specific fields from the RunTraceContext */ omit?: RunTraceContextOmit | null } /** * Model TelemetrySpan */ export type AggregateTelemetrySpan = { _count: TelemetrySpanCountAggregateOutputType | null _avg: TelemetrySpanAvgAggregateOutputType | null _sum: TelemetrySpanSumAggregateOutputType | null _min: TelemetrySpanMinAggregateOutputType | null _max: TelemetrySpanMaxAggregateOutputType | null } export type TelemetrySpanAvgAggregateOutputType = { itemIndex: number | null } export type TelemetrySpanSumAggregateOutputType = { itemIndex: number | null } export type TelemetrySpanMinAggregateOutputType = { telemetrySpanId: string | null traceId: string | null spanId: string | null parentSpanId: string | null runId: string | null workflowId: string | null nodeId: string | null activationId: string | null connectionInvocationId: string | null name: string | null kind: string | null status: string | null statusMessage: string | null startTime: string | null endTime: string | null workflowFolder: string | null nodeType: string | null nodeRole: string | null modelName: string | null attributesJson: string | null eventsJson: string | null retentionExpiresAt: string | null iterationId: string | null itemIndex: number | null parentInvocationId: string | null updatedAt: string | null } export type TelemetrySpanMaxAggregateOutputType = { telemetrySpanId: string | null traceId: string | null spanId: string | null parentSpanId: string | null runId: string | null workflowId: string | null nodeId: string | null activationId: string | null connectionInvocationId: string | null name: string | null kind: string | null status: string | null statusMessage: string | null startTime: string | null endTime: string | null workflowFolder: string | null nodeType: string | null nodeRole: string | null modelName: string | null attributesJson: string | null eventsJson: string | null retentionExpiresAt: string | null iterationId: string | null itemIndex: number | null parentInvocationId: string | null updatedAt: string | null } export type TelemetrySpanCountAggregateOutputType = { telemetrySpanId: number traceId: number spanId: number parentSpanId: number runId: number workflowId: number nodeId: number activationId: number connectionInvocationId: number name: number kind: number status: number statusMessage: number startTime: number endTime: number workflowFolder: number nodeType: number nodeRole: number modelName: number attributesJson: number eventsJson: number retentionExpiresAt: number iterationId: number itemIndex: number parentInvocationId: number updatedAt: number _all: number } export type TelemetrySpanAvgAggregateInputType = { itemIndex?: true } export type TelemetrySpanSumAggregateInputType = { itemIndex?: true } export type TelemetrySpanMinAggregateInputType = { telemetrySpanId?: true traceId?: true spanId?: true parentSpanId?: true runId?: true workflowId?: true nodeId?: true activationId?: true connectionInvocationId?: true name?: true kind?: true status?: true statusMessage?: true startTime?: true endTime?: true workflowFolder?: true nodeType?: true nodeRole?: true modelName?: true attributesJson?: true eventsJson?: true retentionExpiresAt?: true iterationId?: true itemIndex?: true parentInvocationId?: true updatedAt?: true } export type TelemetrySpanMaxAggregateInputType = { telemetrySpanId?: true traceId?: true spanId?: true parentSpanId?: true runId?: true workflowId?: true nodeId?: true activationId?: true connectionInvocationId?: true name?: true kind?: true status?: true statusMessage?: true startTime?: true endTime?: true workflowFolder?: true nodeType?: true nodeRole?: true modelName?: true attributesJson?: true eventsJson?: true retentionExpiresAt?: true iterationId?: true itemIndex?: true parentInvocationId?: true updatedAt?: true } export type TelemetrySpanCountAggregateInputType = { telemetrySpanId?: true traceId?: true spanId?: true parentSpanId?: true runId?: true workflowId?: true nodeId?: true activationId?: true connectionInvocationId?: true name?: true kind?: true status?: true statusMessage?: true startTime?: true endTime?: true workflowFolder?: true nodeType?: true nodeRole?: true modelName?: true attributesJson?: true eventsJson?: true retentionExpiresAt?: true iterationId?: true itemIndex?: true parentInvocationId?: true updatedAt?: true _all?: true } export type TelemetrySpanAggregateArgs = { /** * Filter which TelemetrySpan to aggregate. */ where?: TelemetrySpanWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelemetrySpans to fetch. */ orderBy?: TelemetrySpanOrderByWithRelationInput | TelemetrySpanOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: TelemetrySpanWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelemetrySpans from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TelemetrySpans. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TelemetrySpans **/ _count?: true | TelemetrySpanCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: TelemetrySpanAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: TelemetrySpanSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TelemetrySpanMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TelemetrySpanMaxAggregateInputType } export type GetTelemetrySpanAggregateType = { [P in keyof T & keyof AggregateTelemetrySpan]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type TelemetrySpanGroupByArgs = { where?: TelemetrySpanWhereInput orderBy?: TelemetrySpanOrderByWithAggregationInput | TelemetrySpanOrderByWithAggregationInput[] by: TelemetrySpanScalarFieldEnum[] | TelemetrySpanScalarFieldEnum having?: TelemetrySpanScalarWhereWithAggregatesInput take?: number skip?: number _count?: TelemetrySpanCountAggregateInputType | true _avg?: TelemetrySpanAvgAggregateInputType _sum?: TelemetrySpanSumAggregateInputType _min?: TelemetrySpanMinAggregateInputType _max?: TelemetrySpanMaxAggregateInputType } export type TelemetrySpanGroupByOutputType = { telemetrySpanId: string traceId: string spanId: string parentSpanId: string | null runId: string workflowId: string nodeId: string | null activationId: string | null connectionInvocationId: string | null name: string kind: string status: string | null statusMessage: string | null startTime: string | null endTime: string | null workflowFolder: string | null nodeType: string | null nodeRole: string | null modelName: string | null attributesJson: string | null eventsJson: string | null retentionExpiresAt: string | null iterationId: string | null itemIndex: number | null parentInvocationId: string | null updatedAt: string _count: TelemetrySpanCountAggregateOutputType | null _avg: TelemetrySpanAvgAggregateOutputType | null _sum: TelemetrySpanSumAggregateOutputType | null _min: TelemetrySpanMinAggregateOutputType | null _max: TelemetrySpanMaxAggregateOutputType | null } type GetTelemetrySpanGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof TelemetrySpanGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type TelemetrySpanSelect = $Extensions.GetSelect<{ telemetrySpanId?: boolean traceId?: boolean spanId?: boolean parentSpanId?: boolean runId?: boolean workflowId?: boolean nodeId?: boolean activationId?: boolean connectionInvocationId?: boolean name?: boolean kind?: boolean status?: boolean statusMessage?: boolean startTime?: boolean endTime?: boolean workflowFolder?: boolean nodeType?: boolean nodeRole?: boolean modelName?: boolean attributesJson?: boolean eventsJson?: boolean retentionExpiresAt?: boolean iterationId?: boolean itemIndex?: boolean parentInvocationId?: boolean updatedAt?: boolean }, ExtArgs["result"]["telemetrySpan"]> export type TelemetrySpanSelectCreateManyAndReturn = $Extensions.GetSelect<{ telemetrySpanId?: boolean traceId?: boolean spanId?: boolean parentSpanId?: boolean runId?: boolean workflowId?: boolean nodeId?: boolean activationId?: boolean connectionInvocationId?: boolean name?: boolean kind?: boolean status?: boolean statusMessage?: boolean startTime?: boolean endTime?: boolean workflowFolder?: boolean nodeType?: boolean nodeRole?: boolean modelName?: boolean attributesJson?: boolean eventsJson?: boolean retentionExpiresAt?: boolean iterationId?: boolean itemIndex?: boolean parentInvocationId?: boolean updatedAt?: boolean }, ExtArgs["result"]["telemetrySpan"]> export type TelemetrySpanSelectUpdateManyAndReturn = $Extensions.GetSelect<{ telemetrySpanId?: boolean traceId?: boolean spanId?: boolean parentSpanId?: boolean runId?: boolean workflowId?: boolean nodeId?: boolean activationId?: boolean connectionInvocationId?: boolean name?: boolean kind?: boolean status?: boolean statusMessage?: boolean startTime?: boolean endTime?: boolean workflowFolder?: boolean nodeType?: boolean nodeRole?: boolean modelName?: boolean attributesJson?: boolean eventsJson?: boolean retentionExpiresAt?: boolean iterationId?: boolean itemIndex?: boolean parentInvocationId?: boolean updatedAt?: boolean }, ExtArgs["result"]["telemetrySpan"]> export type TelemetrySpanSelectScalar = { telemetrySpanId?: boolean traceId?: boolean spanId?: boolean parentSpanId?: boolean runId?: boolean workflowId?: boolean nodeId?: boolean activationId?: boolean connectionInvocationId?: boolean name?: boolean kind?: boolean status?: boolean statusMessage?: boolean startTime?: boolean endTime?: boolean workflowFolder?: boolean nodeType?: boolean nodeRole?: boolean modelName?: boolean attributesJson?: boolean eventsJson?: boolean retentionExpiresAt?: boolean iterationId?: boolean itemIndex?: boolean parentInvocationId?: boolean updatedAt?: boolean } export type TelemetrySpanOmit = $Extensions.GetOmit<"telemetrySpanId" | "traceId" | "spanId" | "parentSpanId" | "runId" | "workflowId" | "nodeId" | "activationId" | "connectionInvocationId" | "name" | "kind" | "status" | "statusMessage" | "startTime" | "endTime" | "workflowFolder" | "nodeType" | "nodeRole" | "modelName" | "attributesJson" | "eventsJson" | "retentionExpiresAt" | "iterationId" | "itemIndex" | "parentInvocationId" | "updatedAt", ExtArgs["result"]["telemetrySpan"]> export type $TelemetrySpanPayload = { name: "TelemetrySpan" objects: {} scalars: $Extensions.GetPayloadResult<{ telemetrySpanId: string traceId: string spanId: string parentSpanId: string | null runId: string workflowId: string nodeId: string | null activationId: string | null connectionInvocationId: string | null name: string kind: string status: string | null statusMessage: string | null startTime: string | null endTime: string | null workflowFolder: string | null nodeType: string | null nodeRole: string | null modelName: string | null attributesJson: string | null eventsJson: string | null retentionExpiresAt: string | null iterationId: string | null itemIndex: number | null parentInvocationId: string | null updatedAt: string }, ExtArgs["result"]["telemetrySpan"]> composites: {} } type TelemetrySpanGetPayload = $Result.GetResult type TelemetrySpanCountArgs = Omit & { select?: TelemetrySpanCountAggregateInputType | true } export interface TelemetrySpanDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TelemetrySpan'], meta: { name: 'TelemetrySpan' } } /** * Find zero or one TelemetrySpan that matches the filter. * @param {TelemetrySpanFindUniqueArgs} args - Arguments to find a TelemetrySpan * @example * // Get one TelemetrySpan * const telemetrySpan = await prisma.telemetrySpan.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__TelemetrySpanClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TelemetrySpan that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TelemetrySpanFindUniqueOrThrowArgs} args - Arguments to find a TelemetrySpan * @example * // Get one TelemetrySpan * const telemetrySpan = await prisma.telemetrySpan.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__TelemetrySpanClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TelemetrySpan 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 {TelemetrySpanFindFirstArgs} args - Arguments to find a TelemetrySpan * @example * // Get one TelemetrySpan * const telemetrySpan = await prisma.telemetrySpan.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__TelemetrySpanClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TelemetrySpan 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 {TelemetrySpanFindFirstOrThrowArgs} args - Arguments to find a TelemetrySpan * @example * // Get one TelemetrySpan * const telemetrySpan = await prisma.telemetrySpan.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__TelemetrySpanClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TelemetrySpans 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 {TelemetrySpanFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TelemetrySpans * const telemetrySpans = await prisma.telemetrySpan.findMany() * * // Get first 10 TelemetrySpans * const telemetrySpans = await prisma.telemetrySpan.findMany({ take: 10 }) * * // Only select the `telemetrySpanId` * const telemetrySpanWithTelemetrySpanIdOnly = await prisma.telemetrySpan.findMany({ select: { telemetrySpanId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a TelemetrySpan. * @param {TelemetrySpanCreateArgs} args - Arguments to create a TelemetrySpan. * @example * // Create one TelemetrySpan * const TelemetrySpan = await prisma.telemetrySpan.create({ * data: { * // ... data to create a TelemetrySpan * } * }) * */ create(args: SelectSubset>): Prisma__TelemetrySpanClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TelemetrySpans. * @param {TelemetrySpanCreateManyArgs} args - Arguments to create many TelemetrySpans. * @example * // Create many TelemetrySpans * const telemetrySpan = await prisma.telemetrySpan.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many TelemetrySpans and returns the data saved in the database. * @param {TelemetrySpanCreateManyAndReturnArgs} args - Arguments to create many TelemetrySpans. * @example * // Create many TelemetrySpans * const telemetrySpan = await prisma.telemetrySpan.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TelemetrySpans and only return the `telemetrySpanId` * const telemetrySpanWithTelemetrySpanIdOnly = await prisma.telemetrySpan.createManyAndReturn({ * select: { telemetrySpanId: 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 TelemetrySpan. * @param {TelemetrySpanDeleteArgs} args - Arguments to delete one TelemetrySpan. * @example * // Delete one TelemetrySpan * const TelemetrySpan = await prisma.telemetrySpan.delete({ * where: { * // ... filter to delete one TelemetrySpan * } * }) * */ delete(args: SelectSubset>): Prisma__TelemetrySpanClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TelemetrySpan. * @param {TelemetrySpanUpdateArgs} args - Arguments to update one TelemetrySpan. * @example * // Update one TelemetrySpan * const telemetrySpan = await prisma.telemetrySpan.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__TelemetrySpanClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TelemetrySpans. * @param {TelemetrySpanDeleteManyArgs} args - Arguments to filter TelemetrySpans to delete. * @example * // Delete a few TelemetrySpans * const { count } = await prisma.telemetrySpan.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TelemetrySpans. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelemetrySpanUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TelemetrySpans * const telemetrySpan = await prisma.telemetrySpan.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TelemetrySpans and returns the data updated in the database. * @param {TelemetrySpanUpdateManyAndReturnArgs} args - Arguments to update many TelemetrySpans. * @example * // Update many TelemetrySpans * const telemetrySpan = await prisma.telemetrySpan.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TelemetrySpans and only return the `telemetrySpanId` * const telemetrySpanWithTelemetrySpanIdOnly = await prisma.telemetrySpan.updateManyAndReturn({ * select: { telemetrySpanId: 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 TelemetrySpan. * @param {TelemetrySpanUpsertArgs} args - Arguments to update or create a TelemetrySpan. * @example * // Update or create a TelemetrySpan * const telemetrySpan = await prisma.telemetrySpan.upsert({ * create: { * // ... data to create a TelemetrySpan * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TelemetrySpan we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__TelemetrySpanClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TelemetrySpans. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelemetrySpanCountArgs} args - Arguments to filter TelemetrySpans to count. * @example * // Count the number of TelemetrySpans * const count = await prisma.telemetrySpan.count({ * where: { * // ... the filter for the TelemetrySpans 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 TelemetrySpan. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelemetrySpanAggregateArgs} 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 TelemetrySpan. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelemetrySpanGroupByArgs} 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 TelemetrySpanGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: TelemetrySpanGroupByArgs['orderBy'] } : { orderBy?: TelemetrySpanGroupByArgs['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 ? GetTelemetrySpanGroupByPayload : Prisma.PrismaPromise /** * Fields of the TelemetrySpan model */ readonly fields: TelemetrySpanFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TelemetrySpan. * 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__TelemetrySpanClient 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 TelemetrySpan model */ interface TelemetrySpanFieldRefs { readonly telemetrySpanId: FieldRef<"TelemetrySpan", 'String'> readonly traceId: FieldRef<"TelemetrySpan", 'String'> readonly spanId: FieldRef<"TelemetrySpan", 'String'> readonly parentSpanId: FieldRef<"TelemetrySpan", 'String'> readonly runId: FieldRef<"TelemetrySpan", 'String'> readonly workflowId: FieldRef<"TelemetrySpan", 'String'> readonly nodeId: FieldRef<"TelemetrySpan", 'String'> readonly activationId: FieldRef<"TelemetrySpan", 'String'> readonly connectionInvocationId: FieldRef<"TelemetrySpan", 'String'> readonly name: FieldRef<"TelemetrySpan", 'String'> readonly kind: FieldRef<"TelemetrySpan", 'String'> readonly status: FieldRef<"TelemetrySpan", 'String'> readonly statusMessage: FieldRef<"TelemetrySpan", 'String'> readonly startTime: FieldRef<"TelemetrySpan", 'String'> readonly endTime: FieldRef<"TelemetrySpan", 'String'> readonly workflowFolder: FieldRef<"TelemetrySpan", 'String'> readonly nodeType: FieldRef<"TelemetrySpan", 'String'> readonly nodeRole: FieldRef<"TelemetrySpan", 'String'> readonly modelName: FieldRef<"TelemetrySpan", 'String'> readonly attributesJson: FieldRef<"TelemetrySpan", 'String'> readonly eventsJson: FieldRef<"TelemetrySpan", 'String'> readonly retentionExpiresAt: FieldRef<"TelemetrySpan", 'String'> readonly iterationId: FieldRef<"TelemetrySpan", 'String'> readonly itemIndex: FieldRef<"TelemetrySpan", 'Int'> readonly parentInvocationId: FieldRef<"TelemetrySpan", 'String'> readonly updatedAt: FieldRef<"TelemetrySpan", 'String'> } // Custom InputTypes /** * TelemetrySpan findUnique */ export type TelemetrySpanFindUniqueArgs = { /** * Select specific fields to fetch from the TelemetrySpan */ select?: TelemetrySpanSelect | null /** * Omit specific fields from the TelemetrySpan */ omit?: TelemetrySpanOmit | null /** * Filter, which TelemetrySpan to fetch. */ where: TelemetrySpanWhereUniqueInput } /** * TelemetrySpan findUniqueOrThrow */ export type TelemetrySpanFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TelemetrySpan */ select?: TelemetrySpanSelect | null /** * Omit specific fields from the TelemetrySpan */ omit?: TelemetrySpanOmit | null /** * Filter, which TelemetrySpan to fetch. */ where: TelemetrySpanWhereUniqueInput } /** * TelemetrySpan findFirst */ export type TelemetrySpanFindFirstArgs = { /** * Select specific fields to fetch from the TelemetrySpan */ select?: TelemetrySpanSelect | null /** * Omit specific fields from the TelemetrySpan */ omit?: TelemetrySpanOmit | null /** * Filter, which TelemetrySpan to fetch. */ where?: TelemetrySpanWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelemetrySpans to fetch. */ orderBy?: TelemetrySpanOrderByWithRelationInput | TelemetrySpanOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TelemetrySpans. */ cursor?: TelemetrySpanWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelemetrySpans from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TelemetrySpans. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TelemetrySpans. */ distinct?: TelemetrySpanScalarFieldEnum | TelemetrySpanScalarFieldEnum[] } /** * TelemetrySpan findFirstOrThrow */ export type TelemetrySpanFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TelemetrySpan */ select?: TelemetrySpanSelect | null /** * Omit specific fields from the TelemetrySpan */ omit?: TelemetrySpanOmit | null /** * Filter, which TelemetrySpan to fetch. */ where?: TelemetrySpanWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelemetrySpans to fetch. */ orderBy?: TelemetrySpanOrderByWithRelationInput | TelemetrySpanOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TelemetrySpans. */ cursor?: TelemetrySpanWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelemetrySpans from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TelemetrySpans. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TelemetrySpans. */ distinct?: TelemetrySpanScalarFieldEnum | TelemetrySpanScalarFieldEnum[] } /** * TelemetrySpan findMany */ export type TelemetrySpanFindManyArgs = { /** * Select specific fields to fetch from the TelemetrySpan */ select?: TelemetrySpanSelect | null /** * Omit specific fields from the TelemetrySpan */ omit?: TelemetrySpanOmit | null /** * Filter, which TelemetrySpans to fetch. */ where?: TelemetrySpanWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelemetrySpans to fetch. */ orderBy?: TelemetrySpanOrderByWithRelationInput | TelemetrySpanOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TelemetrySpans. */ cursor?: TelemetrySpanWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelemetrySpans from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TelemetrySpans. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TelemetrySpans. */ distinct?: TelemetrySpanScalarFieldEnum | TelemetrySpanScalarFieldEnum[] } /** * TelemetrySpan create */ export type TelemetrySpanCreateArgs = { /** * Select specific fields to fetch from the TelemetrySpan */ select?: TelemetrySpanSelect | null /** * Omit specific fields from the TelemetrySpan */ omit?: TelemetrySpanOmit | null /** * The data needed to create a TelemetrySpan. */ data: XOR } /** * TelemetrySpan createMany */ export type TelemetrySpanCreateManyArgs = { /** * The data used to create many TelemetrySpans. */ data: TelemetrySpanCreateManyInput | TelemetrySpanCreateManyInput[] skipDuplicates?: boolean } /** * TelemetrySpan createManyAndReturn */ export type TelemetrySpanCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TelemetrySpan */ select?: TelemetrySpanSelectCreateManyAndReturn | null /** * Omit specific fields from the TelemetrySpan */ omit?: TelemetrySpanOmit | null /** * The data used to create many TelemetrySpans. */ data: TelemetrySpanCreateManyInput | TelemetrySpanCreateManyInput[] skipDuplicates?: boolean } /** * TelemetrySpan update */ export type TelemetrySpanUpdateArgs = { /** * Select specific fields to fetch from the TelemetrySpan */ select?: TelemetrySpanSelect | null /** * Omit specific fields from the TelemetrySpan */ omit?: TelemetrySpanOmit | null /** * The data needed to update a TelemetrySpan. */ data: XOR /** * Choose, which TelemetrySpan to update. */ where: TelemetrySpanWhereUniqueInput } /** * TelemetrySpan updateMany */ export type TelemetrySpanUpdateManyArgs = { /** * The data used to update TelemetrySpans. */ data: XOR /** * Filter which TelemetrySpans to update */ where?: TelemetrySpanWhereInput /** * Limit how many TelemetrySpans to update. */ limit?: number } /** * TelemetrySpan updateManyAndReturn */ export type TelemetrySpanUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TelemetrySpan */ select?: TelemetrySpanSelectUpdateManyAndReturn | null /** * Omit specific fields from the TelemetrySpan */ omit?: TelemetrySpanOmit | null /** * The data used to update TelemetrySpans. */ data: XOR /** * Filter which TelemetrySpans to update */ where?: TelemetrySpanWhereInput /** * Limit how many TelemetrySpans to update. */ limit?: number } /** * TelemetrySpan upsert */ export type TelemetrySpanUpsertArgs = { /** * Select specific fields to fetch from the TelemetrySpan */ select?: TelemetrySpanSelect | null /** * Omit specific fields from the TelemetrySpan */ omit?: TelemetrySpanOmit | null /** * The filter to search for the TelemetrySpan to update in case it exists. */ where: TelemetrySpanWhereUniqueInput /** * In case the TelemetrySpan found by the `where` argument doesn't exist, create a new TelemetrySpan with this data. */ create: XOR /** * In case the TelemetrySpan was found with the provided `where` argument, update it with this data. */ update: XOR } /** * TelemetrySpan delete */ export type TelemetrySpanDeleteArgs = { /** * Select specific fields to fetch from the TelemetrySpan */ select?: TelemetrySpanSelect | null /** * Omit specific fields from the TelemetrySpan */ omit?: TelemetrySpanOmit | null /** * Filter which TelemetrySpan to delete. */ where: TelemetrySpanWhereUniqueInput } /** * TelemetrySpan deleteMany */ export type TelemetrySpanDeleteManyArgs = { /** * Filter which TelemetrySpans to delete */ where?: TelemetrySpanWhereInput /** * Limit how many TelemetrySpans to delete. */ limit?: number } /** * TelemetrySpan without action */ export type TelemetrySpanDefaultArgs = { /** * Select specific fields to fetch from the TelemetrySpan */ select?: TelemetrySpanSelect | null /** * Omit specific fields from the TelemetrySpan */ omit?: TelemetrySpanOmit | null } /** * Model WorkflowSnapshot */ export type AggregateWorkflowSnapshot = { _count: WorkflowSnapshotCountAggregateOutputType | null _min: WorkflowSnapshotMinAggregateOutputType | null _max: WorkflowSnapshotMaxAggregateOutputType | null } export type WorkflowSnapshotMinAggregateOutputType = { id: string | null workflowId: string | null snapshotHash: string | null snapshotJson: string | null createdAt: string | null } export type WorkflowSnapshotMaxAggregateOutputType = { id: string | null workflowId: string | null snapshotHash: string | null snapshotJson: string | null createdAt: string | null } export type WorkflowSnapshotCountAggregateOutputType = { id: number workflowId: number snapshotHash: number snapshotJson: number createdAt: number _all: number } export type WorkflowSnapshotMinAggregateInputType = { id?: true workflowId?: true snapshotHash?: true snapshotJson?: true createdAt?: true } export type WorkflowSnapshotMaxAggregateInputType = { id?: true workflowId?: true snapshotHash?: true snapshotJson?: true createdAt?: true } export type WorkflowSnapshotCountAggregateInputType = { id?: true workflowId?: true snapshotHash?: true snapshotJson?: true createdAt?: true _all?: true } export type WorkflowSnapshotAggregateArgs = { /** * Filter which WorkflowSnapshot to aggregate. */ where?: WorkflowSnapshotWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowSnapshots to fetch. */ orderBy?: WorkflowSnapshotOrderByWithRelationInput | WorkflowSnapshotOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: WorkflowSnapshotWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowSnapshots from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowSnapshots. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned WorkflowSnapshots **/ _count?: true | WorkflowSnapshotCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: WorkflowSnapshotMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: WorkflowSnapshotMaxAggregateInputType } export type GetWorkflowSnapshotAggregateType = { [P in keyof T & keyof AggregateWorkflowSnapshot]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type WorkflowSnapshotGroupByArgs = { where?: WorkflowSnapshotWhereInput orderBy?: WorkflowSnapshotOrderByWithAggregationInput | WorkflowSnapshotOrderByWithAggregationInput[] by: WorkflowSnapshotScalarFieldEnum[] | WorkflowSnapshotScalarFieldEnum having?: WorkflowSnapshotScalarWhereWithAggregatesInput take?: number skip?: number _count?: WorkflowSnapshotCountAggregateInputType | true _min?: WorkflowSnapshotMinAggregateInputType _max?: WorkflowSnapshotMaxAggregateInputType } export type WorkflowSnapshotGroupByOutputType = { id: string workflowId: string snapshotHash: string snapshotJson: string createdAt: string _count: WorkflowSnapshotCountAggregateOutputType | null _min: WorkflowSnapshotMinAggregateOutputType | null _max: WorkflowSnapshotMaxAggregateOutputType | null } type GetWorkflowSnapshotGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof WorkflowSnapshotGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type WorkflowSnapshotSelect = $Extensions.GetSelect<{ id?: boolean workflowId?: boolean snapshotHash?: boolean snapshotJson?: boolean createdAt?: boolean runs?: boolean | WorkflowSnapshot$runsArgs _count?: boolean | WorkflowSnapshotCountOutputTypeDefaultArgs }, ExtArgs["result"]["workflowSnapshot"]> export type WorkflowSnapshotSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean workflowId?: boolean snapshotHash?: boolean snapshotJson?: boolean createdAt?: boolean }, ExtArgs["result"]["workflowSnapshot"]> export type WorkflowSnapshotSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean workflowId?: boolean snapshotHash?: boolean snapshotJson?: boolean createdAt?: boolean }, ExtArgs["result"]["workflowSnapshot"]> export type WorkflowSnapshotSelectScalar = { id?: boolean workflowId?: boolean snapshotHash?: boolean snapshotJson?: boolean createdAt?: boolean } export type WorkflowSnapshotOmit = $Extensions.GetOmit<"id" | "workflowId" | "snapshotHash" | "snapshotJson" | "createdAt", ExtArgs["result"]["workflowSnapshot"]> export type WorkflowSnapshotInclude = { runs?: boolean | WorkflowSnapshot$runsArgs _count?: boolean | WorkflowSnapshotCountOutputTypeDefaultArgs } export type WorkflowSnapshotIncludeCreateManyAndReturn = {} export type WorkflowSnapshotIncludeUpdateManyAndReturn = {} export type $WorkflowSnapshotPayload = { name: "WorkflowSnapshot" objects: { runs: Prisma.$RunPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string workflowId: string /** * SHA-256 hex digest of snapshotJson — dedup key: same workflow content → one row. */ snapshotHash: string snapshotJson: string createdAt: string }, ExtArgs["result"]["workflowSnapshot"]> composites: {} } type WorkflowSnapshotGetPayload = $Result.GetResult type WorkflowSnapshotCountArgs = Omit & { select?: WorkflowSnapshotCountAggregateInputType | true } export interface WorkflowSnapshotDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['WorkflowSnapshot'], meta: { name: 'WorkflowSnapshot' } } /** * Find zero or one WorkflowSnapshot that matches the filter. * @param {WorkflowSnapshotFindUniqueArgs} args - Arguments to find a WorkflowSnapshot * @example * // Get one WorkflowSnapshot * const workflowSnapshot = await prisma.workflowSnapshot.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__WorkflowSnapshotClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one WorkflowSnapshot that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {WorkflowSnapshotFindUniqueOrThrowArgs} args - Arguments to find a WorkflowSnapshot * @example * // Get one WorkflowSnapshot * const workflowSnapshot = await prisma.workflowSnapshot.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__WorkflowSnapshotClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first WorkflowSnapshot 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 {WorkflowSnapshotFindFirstArgs} args - Arguments to find a WorkflowSnapshot * @example * // Get one WorkflowSnapshot * const workflowSnapshot = await prisma.workflowSnapshot.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__WorkflowSnapshotClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first WorkflowSnapshot 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 {WorkflowSnapshotFindFirstOrThrowArgs} args - Arguments to find a WorkflowSnapshot * @example * // Get one WorkflowSnapshot * const workflowSnapshot = await prisma.workflowSnapshot.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__WorkflowSnapshotClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more WorkflowSnapshots 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 {WorkflowSnapshotFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all WorkflowSnapshots * const workflowSnapshots = await prisma.workflowSnapshot.findMany() * * // Get first 10 WorkflowSnapshots * const workflowSnapshots = await prisma.workflowSnapshot.findMany({ take: 10 }) * * // Only select the `id` * const workflowSnapshotWithIdOnly = await prisma.workflowSnapshot.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a WorkflowSnapshot. * @param {WorkflowSnapshotCreateArgs} args - Arguments to create a WorkflowSnapshot. * @example * // Create one WorkflowSnapshot * const WorkflowSnapshot = await prisma.workflowSnapshot.create({ * data: { * // ... data to create a WorkflowSnapshot * } * }) * */ create(args: SelectSubset>): Prisma__WorkflowSnapshotClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many WorkflowSnapshots. * @param {WorkflowSnapshotCreateManyArgs} args - Arguments to create many WorkflowSnapshots. * @example * // Create many WorkflowSnapshots * const workflowSnapshot = await prisma.workflowSnapshot.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many WorkflowSnapshots and returns the data saved in the database. * @param {WorkflowSnapshotCreateManyAndReturnArgs} args - Arguments to create many WorkflowSnapshots. * @example * // Create many WorkflowSnapshots * const workflowSnapshot = await prisma.workflowSnapshot.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many WorkflowSnapshots and only return the `id` * const workflowSnapshotWithIdOnly = await prisma.workflowSnapshot.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 WorkflowSnapshot. * @param {WorkflowSnapshotDeleteArgs} args - Arguments to delete one WorkflowSnapshot. * @example * // Delete one WorkflowSnapshot * const WorkflowSnapshot = await prisma.workflowSnapshot.delete({ * where: { * // ... filter to delete one WorkflowSnapshot * } * }) * */ delete(args: SelectSubset>): Prisma__WorkflowSnapshotClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one WorkflowSnapshot. * @param {WorkflowSnapshotUpdateArgs} args - Arguments to update one WorkflowSnapshot. * @example * // Update one WorkflowSnapshot * const workflowSnapshot = await prisma.workflowSnapshot.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__WorkflowSnapshotClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more WorkflowSnapshots. * @param {WorkflowSnapshotDeleteManyArgs} args - Arguments to filter WorkflowSnapshots to delete. * @example * // Delete a few WorkflowSnapshots * const { count } = await prisma.workflowSnapshot.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more WorkflowSnapshots. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowSnapshotUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many WorkflowSnapshots * const workflowSnapshot = await prisma.workflowSnapshot.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more WorkflowSnapshots and returns the data updated in the database. * @param {WorkflowSnapshotUpdateManyAndReturnArgs} args - Arguments to update many WorkflowSnapshots. * @example * // Update many WorkflowSnapshots * const workflowSnapshot = await prisma.workflowSnapshot.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more WorkflowSnapshots and only return the `id` * const workflowSnapshotWithIdOnly = await prisma.workflowSnapshot.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 WorkflowSnapshot. * @param {WorkflowSnapshotUpsertArgs} args - Arguments to update or create a WorkflowSnapshot. * @example * // Update or create a WorkflowSnapshot * const workflowSnapshot = await prisma.workflowSnapshot.upsert({ * create: { * // ... data to create a WorkflowSnapshot * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the WorkflowSnapshot we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__WorkflowSnapshotClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of WorkflowSnapshots. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowSnapshotCountArgs} args - Arguments to filter WorkflowSnapshots to count. * @example * // Count the number of WorkflowSnapshots * const count = await prisma.workflowSnapshot.count({ * where: { * // ... the filter for the WorkflowSnapshots 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 WorkflowSnapshot. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowSnapshotAggregateArgs} 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 WorkflowSnapshot. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowSnapshotGroupByArgs} 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 WorkflowSnapshotGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: WorkflowSnapshotGroupByArgs['orderBy'] } : { orderBy?: WorkflowSnapshotGroupByArgs['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 ? GetWorkflowSnapshotGroupByPayload : Prisma.PrismaPromise /** * Fields of the WorkflowSnapshot model */ readonly fields: WorkflowSnapshotFieldRefs; } /** * The delegate class that acts as a "Promise-like" for WorkflowSnapshot. * 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__WorkflowSnapshotClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" runs = {}>(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 WorkflowSnapshot model */ interface WorkflowSnapshotFieldRefs { readonly id: FieldRef<"WorkflowSnapshot", 'String'> readonly workflowId: FieldRef<"WorkflowSnapshot", 'String'> readonly snapshotHash: FieldRef<"WorkflowSnapshot", 'String'> readonly snapshotJson: FieldRef<"WorkflowSnapshot", 'String'> readonly createdAt: FieldRef<"WorkflowSnapshot", 'String'> } // Custom InputTypes /** * WorkflowSnapshot findUnique */ export type WorkflowSnapshotFindUniqueArgs = { /** * Select specific fields to fetch from the WorkflowSnapshot */ select?: WorkflowSnapshotSelect | null /** * Omit specific fields from the WorkflowSnapshot */ omit?: WorkflowSnapshotOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkflowSnapshotInclude | null /** * Filter, which WorkflowSnapshot to fetch. */ where: WorkflowSnapshotWhereUniqueInput } /** * WorkflowSnapshot findUniqueOrThrow */ export type WorkflowSnapshotFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the WorkflowSnapshot */ select?: WorkflowSnapshotSelect | null /** * Omit specific fields from the WorkflowSnapshot */ omit?: WorkflowSnapshotOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkflowSnapshotInclude | null /** * Filter, which WorkflowSnapshot to fetch. */ where: WorkflowSnapshotWhereUniqueInput } /** * WorkflowSnapshot findFirst */ export type WorkflowSnapshotFindFirstArgs = { /** * Select specific fields to fetch from the WorkflowSnapshot */ select?: WorkflowSnapshotSelect | null /** * Omit specific fields from the WorkflowSnapshot */ omit?: WorkflowSnapshotOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkflowSnapshotInclude | null /** * Filter, which WorkflowSnapshot to fetch. */ where?: WorkflowSnapshotWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowSnapshots to fetch. */ orderBy?: WorkflowSnapshotOrderByWithRelationInput | WorkflowSnapshotOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for WorkflowSnapshots. */ cursor?: WorkflowSnapshotWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowSnapshots from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowSnapshots. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowSnapshots. */ distinct?: WorkflowSnapshotScalarFieldEnum | WorkflowSnapshotScalarFieldEnum[] } /** * WorkflowSnapshot findFirstOrThrow */ export type WorkflowSnapshotFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the WorkflowSnapshot */ select?: WorkflowSnapshotSelect | null /** * Omit specific fields from the WorkflowSnapshot */ omit?: WorkflowSnapshotOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkflowSnapshotInclude | null /** * Filter, which WorkflowSnapshot to fetch. */ where?: WorkflowSnapshotWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowSnapshots to fetch. */ orderBy?: WorkflowSnapshotOrderByWithRelationInput | WorkflowSnapshotOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for WorkflowSnapshots. */ cursor?: WorkflowSnapshotWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowSnapshots from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowSnapshots. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowSnapshots. */ distinct?: WorkflowSnapshotScalarFieldEnum | WorkflowSnapshotScalarFieldEnum[] } /** * WorkflowSnapshot findMany */ export type WorkflowSnapshotFindManyArgs = { /** * Select specific fields to fetch from the WorkflowSnapshot */ select?: WorkflowSnapshotSelect | null /** * Omit specific fields from the WorkflowSnapshot */ omit?: WorkflowSnapshotOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkflowSnapshotInclude | null /** * Filter, which WorkflowSnapshots to fetch. */ where?: WorkflowSnapshotWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowSnapshots to fetch. */ orderBy?: WorkflowSnapshotOrderByWithRelationInput | WorkflowSnapshotOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing WorkflowSnapshots. */ cursor?: WorkflowSnapshotWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowSnapshots from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowSnapshots. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowSnapshots. */ distinct?: WorkflowSnapshotScalarFieldEnum | WorkflowSnapshotScalarFieldEnum[] } /** * WorkflowSnapshot create */ export type WorkflowSnapshotCreateArgs = { /** * Select specific fields to fetch from the WorkflowSnapshot */ select?: WorkflowSnapshotSelect | null /** * Omit specific fields from the WorkflowSnapshot */ omit?: WorkflowSnapshotOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkflowSnapshotInclude | null /** * The data needed to create a WorkflowSnapshot. */ data: XOR } /** * WorkflowSnapshot createMany */ export type WorkflowSnapshotCreateManyArgs = { /** * The data used to create many WorkflowSnapshots. */ data: WorkflowSnapshotCreateManyInput | WorkflowSnapshotCreateManyInput[] skipDuplicates?: boolean } /** * WorkflowSnapshot createManyAndReturn */ export type WorkflowSnapshotCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the WorkflowSnapshot */ select?: WorkflowSnapshotSelectCreateManyAndReturn | null /** * Omit specific fields from the WorkflowSnapshot */ omit?: WorkflowSnapshotOmit | null /** * The data used to create many WorkflowSnapshots. */ data: WorkflowSnapshotCreateManyInput | WorkflowSnapshotCreateManyInput[] skipDuplicates?: boolean } /** * WorkflowSnapshot update */ export type WorkflowSnapshotUpdateArgs = { /** * Select specific fields to fetch from the WorkflowSnapshot */ select?: WorkflowSnapshotSelect | null /** * Omit specific fields from the WorkflowSnapshot */ omit?: WorkflowSnapshotOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkflowSnapshotInclude | null /** * The data needed to update a WorkflowSnapshot. */ data: XOR /** * Choose, which WorkflowSnapshot to update. */ where: WorkflowSnapshotWhereUniqueInput } /** * WorkflowSnapshot updateMany */ export type WorkflowSnapshotUpdateManyArgs = { /** * The data used to update WorkflowSnapshots. */ data: XOR /** * Filter which WorkflowSnapshots to update */ where?: WorkflowSnapshotWhereInput /** * Limit how many WorkflowSnapshots to update. */ limit?: number } /** * WorkflowSnapshot updateManyAndReturn */ export type WorkflowSnapshotUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the WorkflowSnapshot */ select?: WorkflowSnapshotSelectUpdateManyAndReturn | null /** * Omit specific fields from the WorkflowSnapshot */ omit?: WorkflowSnapshotOmit | null /** * The data used to update WorkflowSnapshots. */ data: XOR /** * Filter which WorkflowSnapshots to update */ where?: WorkflowSnapshotWhereInput /** * Limit how many WorkflowSnapshots to update. */ limit?: number } /** * WorkflowSnapshot upsert */ export type WorkflowSnapshotUpsertArgs = { /** * Select specific fields to fetch from the WorkflowSnapshot */ select?: WorkflowSnapshotSelect | null /** * Omit specific fields from the WorkflowSnapshot */ omit?: WorkflowSnapshotOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkflowSnapshotInclude | null /** * The filter to search for the WorkflowSnapshot to update in case it exists. */ where: WorkflowSnapshotWhereUniqueInput /** * In case the WorkflowSnapshot found by the `where` argument doesn't exist, create a new WorkflowSnapshot with this data. */ create: XOR /** * In case the WorkflowSnapshot was found with the provided `where` argument, update it with this data. */ update: XOR } /** * WorkflowSnapshot delete */ export type WorkflowSnapshotDeleteArgs = { /** * Select specific fields to fetch from the WorkflowSnapshot */ select?: WorkflowSnapshotSelect | null /** * Omit specific fields from the WorkflowSnapshot */ omit?: WorkflowSnapshotOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkflowSnapshotInclude | null /** * Filter which WorkflowSnapshot to delete. */ where: WorkflowSnapshotWhereUniqueInput } /** * WorkflowSnapshot deleteMany */ export type WorkflowSnapshotDeleteManyArgs = { /** * Filter which WorkflowSnapshots to delete */ where?: WorkflowSnapshotWhereInput /** * Limit how many WorkflowSnapshots to delete. */ limit?: number } /** * WorkflowSnapshot.runs */ export type WorkflowSnapshot$runsArgs = { /** * Select specific fields to fetch from the Run */ select?: RunSelect | null /** * Omit specific fields from the Run */ omit?: RunOmit | null /** * Choose, which related nodes to fetch as well */ include?: RunInclude | null where?: RunWhereInput orderBy?: RunOrderByWithRelationInput | RunOrderByWithRelationInput[] cursor?: RunWhereUniqueInput take?: number skip?: number distinct?: RunScalarFieldEnum | RunScalarFieldEnum[] } /** * WorkflowSnapshot without action */ export type WorkflowSnapshotDefaultArgs = { /** * Select specific fields to fetch from the WorkflowSnapshot */ select?: WorkflowSnapshotSelect | null /** * Omit specific fields from the WorkflowSnapshot */ omit?: WorkflowSnapshotOmit | null /** * Choose, which related nodes to fetch as well */ include?: WorkflowSnapshotInclude | null } /** * Model TelemetryArtifact */ export type AggregateTelemetryArtifact = { _count: TelemetryArtifactCountAggregateOutputType | null _avg: TelemetryArtifactAvgAggregateOutputType | null _sum: TelemetryArtifactSumAggregateOutputType | null _min: TelemetryArtifactMinAggregateOutputType | null _max: TelemetryArtifactMaxAggregateOutputType | null } export type TelemetryArtifactAvgAggregateOutputType = { bytes: number | null } export type TelemetryArtifactSumAggregateOutputType = { bytes: number | null } export type TelemetryArtifactMinAggregateOutputType = { artifactId: string | null traceId: string | null spanId: string | null runId: string | null workflowId: string | null nodeId: string | null activationId: string | null kind: string | null contentType: string | null previewText: string | null previewJson: string | null payloadText: string | null payloadJson: string | null payloadStorageKey: string | null bytes: number | null truncated: boolean | null createdAt: string | null expiresAt: string | null retentionExpiresAt: string | null } export type TelemetryArtifactMaxAggregateOutputType = { artifactId: string | null traceId: string | null spanId: string | null runId: string | null workflowId: string | null nodeId: string | null activationId: string | null kind: string | null contentType: string | null previewText: string | null previewJson: string | null payloadText: string | null payloadJson: string | null payloadStorageKey: string | null bytes: number | null truncated: boolean | null createdAt: string | null expiresAt: string | null retentionExpiresAt: string | null } export type TelemetryArtifactCountAggregateOutputType = { artifactId: number traceId: number spanId: number runId: number workflowId: number nodeId: number activationId: number kind: number contentType: number previewText: number previewJson: number payloadText: number payloadJson: number payloadStorageKey: number bytes: number truncated: number createdAt: number expiresAt: number retentionExpiresAt: number _all: number } export type TelemetryArtifactAvgAggregateInputType = { bytes?: true } export type TelemetryArtifactSumAggregateInputType = { bytes?: true } export type TelemetryArtifactMinAggregateInputType = { artifactId?: true traceId?: true spanId?: true runId?: true workflowId?: true nodeId?: true activationId?: true kind?: true contentType?: true previewText?: true previewJson?: true payloadText?: true payloadJson?: true payloadStorageKey?: true bytes?: true truncated?: true createdAt?: true expiresAt?: true retentionExpiresAt?: true } export type TelemetryArtifactMaxAggregateInputType = { artifactId?: true traceId?: true spanId?: true runId?: true workflowId?: true nodeId?: true activationId?: true kind?: true contentType?: true previewText?: true previewJson?: true payloadText?: true payloadJson?: true payloadStorageKey?: true bytes?: true truncated?: true createdAt?: true expiresAt?: true retentionExpiresAt?: true } export type TelemetryArtifactCountAggregateInputType = { artifactId?: true traceId?: true spanId?: true runId?: true workflowId?: true nodeId?: true activationId?: true kind?: true contentType?: true previewText?: true previewJson?: true payloadText?: true payloadJson?: true payloadStorageKey?: true bytes?: true truncated?: true createdAt?: true expiresAt?: true retentionExpiresAt?: true _all?: true } export type TelemetryArtifactAggregateArgs = { /** * Filter which TelemetryArtifact to aggregate. */ where?: TelemetryArtifactWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelemetryArtifacts to fetch. */ orderBy?: TelemetryArtifactOrderByWithRelationInput | TelemetryArtifactOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: TelemetryArtifactWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelemetryArtifacts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TelemetryArtifacts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TelemetryArtifacts **/ _count?: true | TelemetryArtifactCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: TelemetryArtifactAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: TelemetryArtifactSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TelemetryArtifactMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TelemetryArtifactMaxAggregateInputType } export type GetTelemetryArtifactAggregateType = { [P in keyof T & keyof AggregateTelemetryArtifact]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type TelemetryArtifactGroupByArgs = { where?: TelemetryArtifactWhereInput orderBy?: TelemetryArtifactOrderByWithAggregationInput | TelemetryArtifactOrderByWithAggregationInput[] by: TelemetryArtifactScalarFieldEnum[] | TelemetryArtifactScalarFieldEnum having?: TelemetryArtifactScalarWhereWithAggregatesInput take?: number skip?: number _count?: TelemetryArtifactCountAggregateInputType | true _avg?: TelemetryArtifactAvgAggregateInputType _sum?: TelemetryArtifactSumAggregateInputType _min?: TelemetryArtifactMinAggregateInputType _max?: TelemetryArtifactMaxAggregateInputType } export type TelemetryArtifactGroupByOutputType = { artifactId: string traceId: string spanId: string runId: string workflowId: string nodeId: string | null activationId: string | null kind: string contentType: string previewText: string | null previewJson: string | null payloadText: string | null payloadJson: string | null payloadStorageKey: string | null bytes: number | null truncated: boolean | null createdAt: string expiresAt: string | null retentionExpiresAt: string | null _count: TelemetryArtifactCountAggregateOutputType | null _avg: TelemetryArtifactAvgAggregateOutputType | null _sum: TelemetryArtifactSumAggregateOutputType | null _min: TelemetryArtifactMinAggregateOutputType | null _max: TelemetryArtifactMaxAggregateOutputType | null } type GetTelemetryArtifactGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof TelemetryArtifactGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type TelemetryArtifactSelect = $Extensions.GetSelect<{ artifactId?: boolean traceId?: boolean spanId?: boolean runId?: boolean workflowId?: boolean nodeId?: boolean activationId?: boolean kind?: boolean contentType?: boolean previewText?: boolean previewJson?: boolean payloadText?: boolean payloadJson?: boolean payloadStorageKey?: boolean bytes?: boolean truncated?: boolean createdAt?: boolean expiresAt?: boolean retentionExpiresAt?: boolean }, ExtArgs["result"]["telemetryArtifact"]> export type TelemetryArtifactSelectCreateManyAndReturn = $Extensions.GetSelect<{ artifactId?: boolean traceId?: boolean spanId?: boolean runId?: boolean workflowId?: boolean nodeId?: boolean activationId?: boolean kind?: boolean contentType?: boolean previewText?: boolean previewJson?: boolean payloadText?: boolean payloadJson?: boolean payloadStorageKey?: boolean bytes?: boolean truncated?: boolean createdAt?: boolean expiresAt?: boolean retentionExpiresAt?: boolean }, ExtArgs["result"]["telemetryArtifact"]> export type TelemetryArtifactSelectUpdateManyAndReturn = $Extensions.GetSelect<{ artifactId?: boolean traceId?: boolean spanId?: boolean runId?: boolean workflowId?: boolean nodeId?: boolean activationId?: boolean kind?: boolean contentType?: boolean previewText?: boolean previewJson?: boolean payloadText?: boolean payloadJson?: boolean payloadStorageKey?: boolean bytes?: boolean truncated?: boolean createdAt?: boolean expiresAt?: boolean retentionExpiresAt?: boolean }, ExtArgs["result"]["telemetryArtifact"]> export type TelemetryArtifactSelectScalar = { artifactId?: boolean traceId?: boolean spanId?: boolean runId?: boolean workflowId?: boolean nodeId?: boolean activationId?: boolean kind?: boolean contentType?: boolean previewText?: boolean previewJson?: boolean payloadText?: boolean payloadJson?: boolean payloadStorageKey?: boolean bytes?: boolean truncated?: boolean createdAt?: boolean expiresAt?: boolean retentionExpiresAt?: boolean } export type TelemetryArtifactOmit = $Extensions.GetOmit<"artifactId" | "traceId" | "spanId" | "runId" | "workflowId" | "nodeId" | "activationId" | "kind" | "contentType" | "previewText" | "previewJson" | "payloadText" | "payloadJson" | "payloadStorageKey" | "bytes" | "truncated" | "createdAt" | "expiresAt" | "retentionExpiresAt", ExtArgs["result"]["telemetryArtifact"]> export type $TelemetryArtifactPayload = { name: "TelemetryArtifact" objects: {} scalars: $Extensions.GetPayloadResult<{ artifactId: string traceId: string spanId: string runId: string workflowId: string nodeId: string | null activationId: string | null kind: string contentType: string previewText: string | null previewJson: string | null payloadText: string | null payloadJson: string | null payloadStorageKey: string | null bytes: number | null truncated: boolean | null createdAt: string expiresAt: string | null retentionExpiresAt: string | null }, ExtArgs["result"]["telemetryArtifact"]> composites: {} } type TelemetryArtifactGetPayload = $Result.GetResult type TelemetryArtifactCountArgs = Omit & { select?: TelemetryArtifactCountAggregateInputType | true } export interface TelemetryArtifactDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TelemetryArtifact'], meta: { name: 'TelemetryArtifact' } } /** * Find zero or one TelemetryArtifact that matches the filter. * @param {TelemetryArtifactFindUniqueArgs} args - Arguments to find a TelemetryArtifact * @example * // Get one TelemetryArtifact * const telemetryArtifact = await prisma.telemetryArtifact.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__TelemetryArtifactClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TelemetryArtifact that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TelemetryArtifactFindUniqueOrThrowArgs} args - Arguments to find a TelemetryArtifact * @example * // Get one TelemetryArtifact * const telemetryArtifact = await prisma.telemetryArtifact.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__TelemetryArtifactClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TelemetryArtifact 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 {TelemetryArtifactFindFirstArgs} args - Arguments to find a TelemetryArtifact * @example * // Get one TelemetryArtifact * const telemetryArtifact = await prisma.telemetryArtifact.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__TelemetryArtifactClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TelemetryArtifact 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 {TelemetryArtifactFindFirstOrThrowArgs} args - Arguments to find a TelemetryArtifact * @example * // Get one TelemetryArtifact * const telemetryArtifact = await prisma.telemetryArtifact.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__TelemetryArtifactClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TelemetryArtifacts 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 {TelemetryArtifactFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TelemetryArtifacts * const telemetryArtifacts = await prisma.telemetryArtifact.findMany() * * // Get first 10 TelemetryArtifacts * const telemetryArtifacts = await prisma.telemetryArtifact.findMany({ take: 10 }) * * // Only select the `artifactId` * const telemetryArtifactWithArtifactIdOnly = await prisma.telemetryArtifact.findMany({ select: { artifactId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a TelemetryArtifact. * @param {TelemetryArtifactCreateArgs} args - Arguments to create a TelemetryArtifact. * @example * // Create one TelemetryArtifact * const TelemetryArtifact = await prisma.telemetryArtifact.create({ * data: { * // ... data to create a TelemetryArtifact * } * }) * */ create(args: SelectSubset>): Prisma__TelemetryArtifactClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TelemetryArtifacts. * @param {TelemetryArtifactCreateManyArgs} args - Arguments to create many TelemetryArtifacts. * @example * // Create many TelemetryArtifacts * const telemetryArtifact = await prisma.telemetryArtifact.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many TelemetryArtifacts and returns the data saved in the database. * @param {TelemetryArtifactCreateManyAndReturnArgs} args - Arguments to create many TelemetryArtifacts. * @example * // Create many TelemetryArtifacts * const telemetryArtifact = await prisma.telemetryArtifact.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TelemetryArtifacts and only return the `artifactId` * const telemetryArtifactWithArtifactIdOnly = await prisma.telemetryArtifact.createManyAndReturn({ * select: { artifactId: 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 TelemetryArtifact. * @param {TelemetryArtifactDeleteArgs} args - Arguments to delete one TelemetryArtifact. * @example * // Delete one TelemetryArtifact * const TelemetryArtifact = await prisma.telemetryArtifact.delete({ * where: { * // ... filter to delete one TelemetryArtifact * } * }) * */ delete(args: SelectSubset>): Prisma__TelemetryArtifactClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TelemetryArtifact. * @param {TelemetryArtifactUpdateArgs} args - Arguments to update one TelemetryArtifact. * @example * // Update one TelemetryArtifact * const telemetryArtifact = await prisma.telemetryArtifact.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__TelemetryArtifactClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TelemetryArtifacts. * @param {TelemetryArtifactDeleteManyArgs} args - Arguments to filter TelemetryArtifacts to delete. * @example * // Delete a few TelemetryArtifacts * const { count } = await prisma.telemetryArtifact.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TelemetryArtifacts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelemetryArtifactUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TelemetryArtifacts * const telemetryArtifact = await prisma.telemetryArtifact.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TelemetryArtifacts and returns the data updated in the database. * @param {TelemetryArtifactUpdateManyAndReturnArgs} args - Arguments to update many TelemetryArtifacts. * @example * // Update many TelemetryArtifacts * const telemetryArtifact = await prisma.telemetryArtifact.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TelemetryArtifacts and only return the `artifactId` * const telemetryArtifactWithArtifactIdOnly = await prisma.telemetryArtifact.updateManyAndReturn({ * select: { artifactId: 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 TelemetryArtifact. * @param {TelemetryArtifactUpsertArgs} args - Arguments to update or create a TelemetryArtifact. * @example * // Update or create a TelemetryArtifact * const telemetryArtifact = await prisma.telemetryArtifact.upsert({ * create: { * // ... data to create a TelemetryArtifact * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TelemetryArtifact we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__TelemetryArtifactClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TelemetryArtifacts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelemetryArtifactCountArgs} args - Arguments to filter TelemetryArtifacts to count. * @example * // Count the number of TelemetryArtifacts * const count = await prisma.telemetryArtifact.count({ * where: { * // ... the filter for the TelemetryArtifacts 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 TelemetryArtifact. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelemetryArtifactAggregateArgs} 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 TelemetryArtifact. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelemetryArtifactGroupByArgs} 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 TelemetryArtifactGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: TelemetryArtifactGroupByArgs['orderBy'] } : { orderBy?: TelemetryArtifactGroupByArgs['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 ? GetTelemetryArtifactGroupByPayload : Prisma.PrismaPromise /** * Fields of the TelemetryArtifact model */ readonly fields: TelemetryArtifactFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TelemetryArtifact. * 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__TelemetryArtifactClient 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 TelemetryArtifact model */ interface TelemetryArtifactFieldRefs { readonly artifactId: FieldRef<"TelemetryArtifact", 'String'> readonly traceId: FieldRef<"TelemetryArtifact", 'String'> readonly spanId: FieldRef<"TelemetryArtifact", 'String'> readonly runId: FieldRef<"TelemetryArtifact", 'String'> readonly workflowId: FieldRef<"TelemetryArtifact", 'String'> readonly nodeId: FieldRef<"TelemetryArtifact", 'String'> readonly activationId: FieldRef<"TelemetryArtifact", 'String'> readonly kind: FieldRef<"TelemetryArtifact", 'String'> readonly contentType: FieldRef<"TelemetryArtifact", 'String'> readonly previewText: FieldRef<"TelemetryArtifact", 'String'> readonly previewJson: FieldRef<"TelemetryArtifact", 'String'> readonly payloadText: FieldRef<"TelemetryArtifact", 'String'> readonly payloadJson: FieldRef<"TelemetryArtifact", 'String'> readonly payloadStorageKey: FieldRef<"TelemetryArtifact", 'String'> readonly bytes: FieldRef<"TelemetryArtifact", 'Int'> readonly truncated: FieldRef<"TelemetryArtifact", 'Boolean'> readonly createdAt: FieldRef<"TelemetryArtifact", 'String'> readonly expiresAt: FieldRef<"TelemetryArtifact", 'String'> readonly retentionExpiresAt: FieldRef<"TelemetryArtifact", 'String'> } // Custom InputTypes /** * TelemetryArtifact findUnique */ export type TelemetryArtifactFindUniqueArgs = { /** * Select specific fields to fetch from the TelemetryArtifact */ select?: TelemetryArtifactSelect | null /** * Omit specific fields from the TelemetryArtifact */ omit?: TelemetryArtifactOmit | null /** * Filter, which TelemetryArtifact to fetch. */ where: TelemetryArtifactWhereUniqueInput } /** * TelemetryArtifact findUniqueOrThrow */ export type TelemetryArtifactFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TelemetryArtifact */ select?: TelemetryArtifactSelect | null /** * Omit specific fields from the TelemetryArtifact */ omit?: TelemetryArtifactOmit | null /** * Filter, which TelemetryArtifact to fetch. */ where: TelemetryArtifactWhereUniqueInput } /** * TelemetryArtifact findFirst */ export type TelemetryArtifactFindFirstArgs = { /** * Select specific fields to fetch from the TelemetryArtifact */ select?: TelemetryArtifactSelect | null /** * Omit specific fields from the TelemetryArtifact */ omit?: TelemetryArtifactOmit | null /** * Filter, which TelemetryArtifact to fetch. */ where?: TelemetryArtifactWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelemetryArtifacts to fetch. */ orderBy?: TelemetryArtifactOrderByWithRelationInput | TelemetryArtifactOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TelemetryArtifacts. */ cursor?: TelemetryArtifactWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelemetryArtifacts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TelemetryArtifacts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TelemetryArtifacts. */ distinct?: TelemetryArtifactScalarFieldEnum | TelemetryArtifactScalarFieldEnum[] } /** * TelemetryArtifact findFirstOrThrow */ export type TelemetryArtifactFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TelemetryArtifact */ select?: TelemetryArtifactSelect | null /** * Omit specific fields from the TelemetryArtifact */ omit?: TelemetryArtifactOmit | null /** * Filter, which TelemetryArtifact to fetch. */ where?: TelemetryArtifactWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelemetryArtifacts to fetch. */ orderBy?: TelemetryArtifactOrderByWithRelationInput | TelemetryArtifactOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TelemetryArtifacts. */ cursor?: TelemetryArtifactWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelemetryArtifacts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TelemetryArtifacts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TelemetryArtifacts. */ distinct?: TelemetryArtifactScalarFieldEnum | TelemetryArtifactScalarFieldEnum[] } /** * TelemetryArtifact findMany */ export type TelemetryArtifactFindManyArgs = { /** * Select specific fields to fetch from the TelemetryArtifact */ select?: TelemetryArtifactSelect | null /** * Omit specific fields from the TelemetryArtifact */ omit?: TelemetryArtifactOmit | null /** * Filter, which TelemetryArtifacts to fetch. */ where?: TelemetryArtifactWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelemetryArtifacts to fetch. */ orderBy?: TelemetryArtifactOrderByWithRelationInput | TelemetryArtifactOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TelemetryArtifacts. */ cursor?: TelemetryArtifactWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelemetryArtifacts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TelemetryArtifacts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TelemetryArtifacts. */ distinct?: TelemetryArtifactScalarFieldEnum | TelemetryArtifactScalarFieldEnum[] } /** * TelemetryArtifact create */ export type TelemetryArtifactCreateArgs = { /** * Select specific fields to fetch from the TelemetryArtifact */ select?: TelemetryArtifactSelect | null /** * Omit specific fields from the TelemetryArtifact */ omit?: TelemetryArtifactOmit | null /** * The data needed to create a TelemetryArtifact. */ data: XOR } /** * TelemetryArtifact createMany */ export type TelemetryArtifactCreateManyArgs = { /** * The data used to create many TelemetryArtifacts. */ data: TelemetryArtifactCreateManyInput | TelemetryArtifactCreateManyInput[] skipDuplicates?: boolean } /** * TelemetryArtifact createManyAndReturn */ export type TelemetryArtifactCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TelemetryArtifact */ select?: TelemetryArtifactSelectCreateManyAndReturn | null /** * Omit specific fields from the TelemetryArtifact */ omit?: TelemetryArtifactOmit | null /** * The data used to create many TelemetryArtifacts. */ data: TelemetryArtifactCreateManyInput | TelemetryArtifactCreateManyInput[] skipDuplicates?: boolean } /** * TelemetryArtifact update */ export type TelemetryArtifactUpdateArgs = { /** * Select specific fields to fetch from the TelemetryArtifact */ select?: TelemetryArtifactSelect | null /** * Omit specific fields from the TelemetryArtifact */ omit?: TelemetryArtifactOmit | null /** * The data needed to update a TelemetryArtifact. */ data: XOR /** * Choose, which TelemetryArtifact to update. */ where: TelemetryArtifactWhereUniqueInput } /** * TelemetryArtifact updateMany */ export type TelemetryArtifactUpdateManyArgs = { /** * The data used to update TelemetryArtifacts. */ data: XOR /** * Filter which TelemetryArtifacts to update */ where?: TelemetryArtifactWhereInput /** * Limit how many TelemetryArtifacts to update. */ limit?: number } /** * TelemetryArtifact updateManyAndReturn */ export type TelemetryArtifactUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TelemetryArtifact */ select?: TelemetryArtifactSelectUpdateManyAndReturn | null /** * Omit specific fields from the TelemetryArtifact */ omit?: TelemetryArtifactOmit | null /** * The data used to update TelemetryArtifacts. */ data: XOR /** * Filter which TelemetryArtifacts to update */ where?: TelemetryArtifactWhereInput /** * Limit how many TelemetryArtifacts to update. */ limit?: number } /** * TelemetryArtifact upsert */ export type TelemetryArtifactUpsertArgs = { /** * Select specific fields to fetch from the TelemetryArtifact */ select?: TelemetryArtifactSelect | null /** * Omit specific fields from the TelemetryArtifact */ omit?: TelemetryArtifactOmit | null /** * The filter to search for the TelemetryArtifact to update in case it exists. */ where: TelemetryArtifactWhereUniqueInput /** * In case the TelemetryArtifact found by the `where` argument doesn't exist, create a new TelemetryArtifact with this data. */ create: XOR /** * In case the TelemetryArtifact was found with the provided `where` argument, update it with this data. */ update: XOR } /** * TelemetryArtifact delete */ export type TelemetryArtifactDeleteArgs = { /** * Select specific fields to fetch from the TelemetryArtifact */ select?: TelemetryArtifactSelect | null /** * Omit specific fields from the TelemetryArtifact */ omit?: TelemetryArtifactOmit | null /** * Filter which TelemetryArtifact to delete. */ where: TelemetryArtifactWhereUniqueInput } /** * TelemetryArtifact deleteMany */ export type TelemetryArtifactDeleteManyArgs = { /** * Filter which TelemetryArtifacts to delete */ where?: TelemetryArtifactWhereInput /** * Limit how many TelemetryArtifacts to delete. */ limit?: number } /** * TelemetryArtifact without action */ export type TelemetryArtifactDefaultArgs = { /** * Select specific fields to fetch from the TelemetryArtifact */ select?: TelemetryArtifactSelect | null /** * Omit specific fields from the TelemetryArtifact */ omit?: TelemetryArtifactOmit | null } /** * Model TelemetryMetricPoint */ export type AggregateTelemetryMetricPoint = { _count: TelemetryMetricPointCountAggregateOutputType | null _avg: TelemetryMetricPointAvgAggregateOutputType | null _sum: TelemetryMetricPointSumAggregateOutputType | null _min: TelemetryMetricPointMinAggregateOutputType | null _max: TelemetryMetricPointMaxAggregateOutputType | null } export type TelemetryMetricPointAvgAggregateOutputType = { value: number | null itemIndex: number | null } export type TelemetryMetricPointSumAggregateOutputType = { value: number | null itemIndex: number | null } export type TelemetryMetricPointMinAggregateOutputType = { metricPointId: string | null traceId: string | null spanId: string | null runId: string | null workflowId: string | null nodeId: string | null activationId: string | null metricName: string | null value: number | null unit: string | null observedAt: string | null workflowFolder: string | null nodeType: string | null nodeRole: string | null modelName: string | null dimensionsJson: string | null retentionExpiresAt: string | null iterationId: string | null itemIndex: number | null parentInvocationId: string | null } export type TelemetryMetricPointMaxAggregateOutputType = { metricPointId: string | null traceId: string | null spanId: string | null runId: string | null workflowId: string | null nodeId: string | null activationId: string | null metricName: string | null value: number | null unit: string | null observedAt: string | null workflowFolder: string | null nodeType: string | null nodeRole: string | null modelName: string | null dimensionsJson: string | null retentionExpiresAt: string | null iterationId: string | null itemIndex: number | null parentInvocationId: string | null } export type TelemetryMetricPointCountAggregateOutputType = { metricPointId: number traceId: number spanId: number runId: number workflowId: number nodeId: number activationId: number metricName: number value: number unit: number observedAt: number workflowFolder: number nodeType: number nodeRole: number modelName: number dimensionsJson: number retentionExpiresAt: number iterationId: number itemIndex: number parentInvocationId: number _all: number } export type TelemetryMetricPointAvgAggregateInputType = { value?: true itemIndex?: true } export type TelemetryMetricPointSumAggregateInputType = { value?: true itemIndex?: true } export type TelemetryMetricPointMinAggregateInputType = { metricPointId?: true traceId?: true spanId?: true runId?: true workflowId?: true nodeId?: true activationId?: true metricName?: true value?: true unit?: true observedAt?: true workflowFolder?: true nodeType?: true nodeRole?: true modelName?: true dimensionsJson?: true retentionExpiresAt?: true iterationId?: true itemIndex?: true parentInvocationId?: true } export type TelemetryMetricPointMaxAggregateInputType = { metricPointId?: true traceId?: true spanId?: true runId?: true workflowId?: true nodeId?: true activationId?: true metricName?: true value?: true unit?: true observedAt?: true workflowFolder?: true nodeType?: true nodeRole?: true modelName?: true dimensionsJson?: true retentionExpiresAt?: true iterationId?: true itemIndex?: true parentInvocationId?: true } export type TelemetryMetricPointCountAggregateInputType = { metricPointId?: true traceId?: true spanId?: true runId?: true workflowId?: true nodeId?: true activationId?: true metricName?: true value?: true unit?: true observedAt?: true workflowFolder?: true nodeType?: true nodeRole?: true modelName?: true dimensionsJson?: true retentionExpiresAt?: true iterationId?: true itemIndex?: true parentInvocationId?: true _all?: true } export type TelemetryMetricPointAggregateArgs = { /** * Filter which TelemetryMetricPoint to aggregate. */ where?: TelemetryMetricPointWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelemetryMetricPoints to fetch. */ orderBy?: TelemetryMetricPointOrderByWithRelationInput | TelemetryMetricPointOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: TelemetryMetricPointWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelemetryMetricPoints from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TelemetryMetricPoints. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TelemetryMetricPoints **/ _count?: true | TelemetryMetricPointCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: TelemetryMetricPointAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: TelemetryMetricPointSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TelemetryMetricPointMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TelemetryMetricPointMaxAggregateInputType } export type GetTelemetryMetricPointAggregateType = { [P in keyof T & keyof AggregateTelemetryMetricPoint]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type TelemetryMetricPointGroupByArgs = { where?: TelemetryMetricPointWhereInput orderBy?: TelemetryMetricPointOrderByWithAggregationInput | TelemetryMetricPointOrderByWithAggregationInput[] by: TelemetryMetricPointScalarFieldEnum[] | TelemetryMetricPointScalarFieldEnum having?: TelemetryMetricPointScalarWhereWithAggregatesInput take?: number skip?: number _count?: TelemetryMetricPointCountAggregateInputType | true _avg?: TelemetryMetricPointAvgAggregateInputType _sum?: TelemetryMetricPointSumAggregateInputType _min?: TelemetryMetricPointMinAggregateInputType _max?: TelemetryMetricPointMaxAggregateInputType } export type TelemetryMetricPointGroupByOutputType = { metricPointId: string traceId: string | null spanId: string | null runId: string | null workflowId: string nodeId: string | null activationId: string | null metricName: string value: number unit: string | null observedAt: string workflowFolder: string | null nodeType: string | null nodeRole: string | null modelName: string | null dimensionsJson: string | null retentionExpiresAt: string | null iterationId: string | null itemIndex: number | null parentInvocationId: string | null _count: TelemetryMetricPointCountAggregateOutputType | null _avg: TelemetryMetricPointAvgAggregateOutputType | null _sum: TelemetryMetricPointSumAggregateOutputType | null _min: TelemetryMetricPointMinAggregateOutputType | null _max: TelemetryMetricPointMaxAggregateOutputType | null } type GetTelemetryMetricPointGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof TelemetryMetricPointGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type TelemetryMetricPointSelect = $Extensions.GetSelect<{ metricPointId?: boolean traceId?: boolean spanId?: boolean runId?: boolean workflowId?: boolean nodeId?: boolean activationId?: boolean metricName?: boolean value?: boolean unit?: boolean observedAt?: boolean workflowFolder?: boolean nodeType?: boolean nodeRole?: boolean modelName?: boolean dimensionsJson?: boolean retentionExpiresAt?: boolean iterationId?: boolean itemIndex?: boolean parentInvocationId?: boolean }, ExtArgs["result"]["telemetryMetricPoint"]> export type TelemetryMetricPointSelectCreateManyAndReturn = $Extensions.GetSelect<{ metricPointId?: boolean traceId?: boolean spanId?: boolean runId?: boolean workflowId?: boolean nodeId?: boolean activationId?: boolean metricName?: boolean value?: boolean unit?: boolean observedAt?: boolean workflowFolder?: boolean nodeType?: boolean nodeRole?: boolean modelName?: boolean dimensionsJson?: boolean retentionExpiresAt?: boolean iterationId?: boolean itemIndex?: boolean parentInvocationId?: boolean }, ExtArgs["result"]["telemetryMetricPoint"]> export type TelemetryMetricPointSelectUpdateManyAndReturn = $Extensions.GetSelect<{ metricPointId?: boolean traceId?: boolean spanId?: boolean runId?: boolean workflowId?: boolean nodeId?: boolean activationId?: boolean metricName?: boolean value?: boolean unit?: boolean observedAt?: boolean workflowFolder?: boolean nodeType?: boolean nodeRole?: boolean modelName?: boolean dimensionsJson?: boolean retentionExpiresAt?: boolean iterationId?: boolean itemIndex?: boolean parentInvocationId?: boolean }, ExtArgs["result"]["telemetryMetricPoint"]> export type TelemetryMetricPointSelectScalar = { metricPointId?: boolean traceId?: boolean spanId?: boolean runId?: boolean workflowId?: boolean nodeId?: boolean activationId?: boolean metricName?: boolean value?: boolean unit?: boolean observedAt?: boolean workflowFolder?: boolean nodeType?: boolean nodeRole?: boolean modelName?: boolean dimensionsJson?: boolean retentionExpiresAt?: boolean iterationId?: boolean itemIndex?: boolean parentInvocationId?: boolean } export type TelemetryMetricPointOmit = $Extensions.GetOmit<"metricPointId" | "traceId" | "spanId" | "runId" | "workflowId" | "nodeId" | "activationId" | "metricName" | "value" | "unit" | "observedAt" | "workflowFolder" | "nodeType" | "nodeRole" | "modelName" | "dimensionsJson" | "retentionExpiresAt" | "iterationId" | "itemIndex" | "parentInvocationId", ExtArgs["result"]["telemetryMetricPoint"]> export type $TelemetryMetricPointPayload = { name: "TelemetryMetricPoint" objects: {} scalars: $Extensions.GetPayloadResult<{ metricPointId: string traceId: string | null spanId: string | null runId: string | null workflowId: string nodeId: string | null activationId: string | null metricName: string value: number unit: string | null observedAt: string workflowFolder: string | null nodeType: string | null nodeRole: string | null modelName: string | null dimensionsJson: string | null retentionExpiresAt: string | null iterationId: string | null itemIndex: number | null parentInvocationId: string | null }, ExtArgs["result"]["telemetryMetricPoint"]> composites: {} } type TelemetryMetricPointGetPayload = $Result.GetResult type TelemetryMetricPointCountArgs = Omit & { select?: TelemetryMetricPointCountAggregateInputType | true } export interface TelemetryMetricPointDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TelemetryMetricPoint'], meta: { name: 'TelemetryMetricPoint' } } /** * Find zero or one TelemetryMetricPoint that matches the filter. * @param {TelemetryMetricPointFindUniqueArgs} args - Arguments to find a TelemetryMetricPoint * @example * // Get one TelemetryMetricPoint * const telemetryMetricPoint = await prisma.telemetryMetricPoint.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__TelemetryMetricPointClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TelemetryMetricPoint that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TelemetryMetricPointFindUniqueOrThrowArgs} args - Arguments to find a TelemetryMetricPoint * @example * // Get one TelemetryMetricPoint * const telemetryMetricPoint = await prisma.telemetryMetricPoint.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__TelemetryMetricPointClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TelemetryMetricPoint 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 {TelemetryMetricPointFindFirstArgs} args - Arguments to find a TelemetryMetricPoint * @example * // Get one TelemetryMetricPoint * const telemetryMetricPoint = await prisma.telemetryMetricPoint.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__TelemetryMetricPointClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TelemetryMetricPoint 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 {TelemetryMetricPointFindFirstOrThrowArgs} args - Arguments to find a TelemetryMetricPoint * @example * // Get one TelemetryMetricPoint * const telemetryMetricPoint = await prisma.telemetryMetricPoint.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__TelemetryMetricPointClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TelemetryMetricPoints 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 {TelemetryMetricPointFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TelemetryMetricPoints * const telemetryMetricPoints = await prisma.telemetryMetricPoint.findMany() * * // Get first 10 TelemetryMetricPoints * const telemetryMetricPoints = await prisma.telemetryMetricPoint.findMany({ take: 10 }) * * // Only select the `metricPointId` * const telemetryMetricPointWithMetricPointIdOnly = await prisma.telemetryMetricPoint.findMany({ select: { metricPointId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a TelemetryMetricPoint. * @param {TelemetryMetricPointCreateArgs} args - Arguments to create a TelemetryMetricPoint. * @example * // Create one TelemetryMetricPoint * const TelemetryMetricPoint = await prisma.telemetryMetricPoint.create({ * data: { * // ... data to create a TelemetryMetricPoint * } * }) * */ create(args: SelectSubset>): Prisma__TelemetryMetricPointClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TelemetryMetricPoints. * @param {TelemetryMetricPointCreateManyArgs} args - Arguments to create many TelemetryMetricPoints. * @example * // Create many TelemetryMetricPoints * const telemetryMetricPoint = await prisma.telemetryMetricPoint.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many TelemetryMetricPoints and returns the data saved in the database. * @param {TelemetryMetricPointCreateManyAndReturnArgs} args - Arguments to create many TelemetryMetricPoints. * @example * // Create many TelemetryMetricPoints * const telemetryMetricPoint = await prisma.telemetryMetricPoint.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TelemetryMetricPoints and only return the `metricPointId` * const telemetryMetricPointWithMetricPointIdOnly = await prisma.telemetryMetricPoint.createManyAndReturn({ * select: { metricPointId: 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 TelemetryMetricPoint. * @param {TelemetryMetricPointDeleteArgs} args - Arguments to delete one TelemetryMetricPoint. * @example * // Delete one TelemetryMetricPoint * const TelemetryMetricPoint = await prisma.telemetryMetricPoint.delete({ * where: { * // ... filter to delete one TelemetryMetricPoint * } * }) * */ delete(args: SelectSubset>): Prisma__TelemetryMetricPointClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TelemetryMetricPoint. * @param {TelemetryMetricPointUpdateArgs} args - Arguments to update one TelemetryMetricPoint. * @example * // Update one TelemetryMetricPoint * const telemetryMetricPoint = await prisma.telemetryMetricPoint.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__TelemetryMetricPointClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TelemetryMetricPoints. * @param {TelemetryMetricPointDeleteManyArgs} args - Arguments to filter TelemetryMetricPoints to delete. * @example * // Delete a few TelemetryMetricPoints * const { count } = await prisma.telemetryMetricPoint.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TelemetryMetricPoints. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelemetryMetricPointUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TelemetryMetricPoints * const telemetryMetricPoint = await prisma.telemetryMetricPoint.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TelemetryMetricPoints and returns the data updated in the database. * @param {TelemetryMetricPointUpdateManyAndReturnArgs} args - Arguments to update many TelemetryMetricPoints. * @example * // Update many TelemetryMetricPoints * const telemetryMetricPoint = await prisma.telemetryMetricPoint.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TelemetryMetricPoints and only return the `metricPointId` * const telemetryMetricPointWithMetricPointIdOnly = await prisma.telemetryMetricPoint.updateManyAndReturn({ * select: { metricPointId: 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 TelemetryMetricPoint. * @param {TelemetryMetricPointUpsertArgs} args - Arguments to update or create a TelemetryMetricPoint. * @example * // Update or create a TelemetryMetricPoint * const telemetryMetricPoint = await prisma.telemetryMetricPoint.upsert({ * create: { * // ... data to create a TelemetryMetricPoint * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TelemetryMetricPoint we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__TelemetryMetricPointClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TelemetryMetricPoints. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelemetryMetricPointCountArgs} args - Arguments to filter TelemetryMetricPoints to count. * @example * // Count the number of TelemetryMetricPoints * const count = await prisma.telemetryMetricPoint.count({ * where: { * // ... the filter for the TelemetryMetricPoints 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 TelemetryMetricPoint. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelemetryMetricPointAggregateArgs} 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 TelemetryMetricPoint. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TelemetryMetricPointGroupByArgs} 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 TelemetryMetricPointGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: TelemetryMetricPointGroupByArgs['orderBy'] } : { orderBy?: TelemetryMetricPointGroupByArgs['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 ? GetTelemetryMetricPointGroupByPayload : Prisma.PrismaPromise /** * Fields of the TelemetryMetricPoint model */ readonly fields: TelemetryMetricPointFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TelemetryMetricPoint. * 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__TelemetryMetricPointClient 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 TelemetryMetricPoint model */ interface TelemetryMetricPointFieldRefs { readonly metricPointId: FieldRef<"TelemetryMetricPoint", 'String'> readonly traceId: FieldRef<"TelemetryMetricPoint", 'String'> readonly spanId: FieldRef<"TelemetryMetricPoint", 'String'> readonly runId: FieldRef<"TelemetryMetricPoint", 'String'> readonly workflowId: FieldRef<"TelemetryMetricPoint", 'String'> readonly nodeId: FieldRef<"TelemetryMetricPoint", 'String'> readonly activationId: FieldRef<"TelemetryMetricPoint", 'String'> readonly metricName: FieldRef<"TelemetryMetricPoint", 'String'> readonly value: FieldRef<"TelemetryMetricPoint", 'Float'> readonly unit: FieldRef<"TelemetryMetricPoint", 'String'> readonly observedAt: FieldRef<"TelemetryMetricPoint", 'String'> readonly workflowFolder: FieldRef<"TelemetryMetricPoint", 'String'> readonly nodeType: FieldRef<"TelemetryMetricPoint", 'String'> readonly nodeRole: FieldRef<"TelemetryMetricPoint", 'String'> readonly modelName: FieldRef<"TelemetryMetricPoint", 'String'> readonly dimensionsJson: FieldRef<"TelemetryMetricPoint", 'String'> readonly retentionExpiresAt: FieldRef<"TelemetryMetricPoint", 'String'> readonly iterationId: FieldRef<"TelemetryMetricPoint", 'String'> readonly itemIndex: FieldRef<"TelemetryMetricPoint", 'Int'> readonly parentInvocationId: FieldRef<"TelemetryMetricPoint", 'String'> } // Custom InputTypes /** * TelemetryMetricPoint findUnique */ export type TelemetryMetricPointFindUniqueArgs = { /** * Select specific fields to fetch from the TelemetryMetricPoint */ select?: TelemetryMetricPointSelect | null /** * Omit specific fields from the TelemetryMetricPoint */ omit?: TelemetryMetricPointOmit | null /** * Filter, which TelemetryMetricPoint to fetch. */ where: TelemetryMetricPointWhereUniqueInput } /** * TelemetryMetricPoint findUniqueOrThrow */ export type TelemetryMetricPointFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TelemetryMetricPoint */ select?: TelemetryMetricPointSelect | null /** * Omit specific fields from the TelemetryMetricPoint */ omit?: TelemetryMetricPointOmit | null /** * Filter, which TelemetryMetricPoint to fetch. */ where: TelemetryMetricPointWhereUniqueInput } /** * TelemetryMetricPoint findFirst */ export type TelemetryMetricPointFindFirstArgs = { /** * Select specific fields to fetch from the TelemetryMetricPoint */ select?: TelemetryMetricPointSelect | null /** * Omit specific fields from the TelemetryMetricPoint */ omit?: TelemetryMetricPointOmit | null /** * Filter, which TelemetryMetricPoint to fetch. */ where?: TelemetryMetricPointWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelemetryMetricPoints to fetch. */ orderBy?: TelemetryMetricPointOrderByWithRelationInput | TelemetryMetricPointOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TelemetryMetricPoints. */ cursor?: TelemetryMetricPointWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelemetryMetricPoints from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TelemetryMetricPoints. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TelemetryMetricPoints. */ distinct?: TelemetryMetricPointScalarFieldEnum | TelemetryMetricPointScalarFieldEnum[] } /** * TelemetryMetricPoint findFirstOrThrow */ export type TelemetryMetricPointFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TelemetryMetricPoint */ select?: TelemetryMetricPointSelect | null /** * Omit specific fields from the TelemetryMetricPoint */ omit?: TelemetryMetricPointOmit | null /** * Filter, which TelemetryMetricPoint to fetch. */ where?: TelemetryMetricPointWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelemetryMetricPoints to fetch. */ orderBy?: TelemetryMetricPointOrderByWithRelationInput | TelemetryMetricPointOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TelemetryMetricPoints. */ cursor?: TelemetryMetricPointWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelemetryMetricPoints from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TelemetryMetricPoints. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TelemetryMetricPoints. */ distinct?: TelemetryMetricPointScalarFieldEnum | TelemetryMetricPointScalarFieldEnum[] } /** * TelemetryMetricPoint findMany */ export type TelemetryMetricPointFindManyArgs = { /** * Select specific fields to fetch from the TelemetryMetricPoint */ select?: TelemetryMetricPointSelect | null /** * Omit specific fields from the TelemetryMetricPoint */ omit?: TelemetryMetricPointOmit | null /** * Filter, which TelemetryMetricPoints to fetch. */ where?: TelemetryMetricPointWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TelemetryMetricPoints to fetch. */ orderBy?: TelemetryMetricPointOrderByWithRelationInput | TelemetryMetricPointOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TelemetryMetricPoints. */ cursor?: TelemetryMetricPointWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TelemetryMetricPoints from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` TelemetryMetricPoints. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TelemetryMetricPoints. */ distinct?: TelemetryMetricPointScalarFieldEnum | TelemetryMetricPointScalarFieldEnum[] } /** * TelemetryMetricPoint create */ export type TelemetryMetricPointCreateArgs = { /** * Select specific fields to fetch from the TelemetryMetricPoint */ select?: TelemetryMetricPointSelect | null /** * Omit specific fields from the TelemetryMetricPoint */ omit?: TelemetryMetricPointOmit | null /** * The data needed to create a TelemetryMetricPoint. */ data: XOR } /** * TelemetryMetricPoint createMany */ export type TelemetryMetricPointCreateManyArgs = { /** * The data used to create many TelemetryMetricPoints. */ data: TelemetryMetricPointCreateManyInput | TelemetryMetricPointCreateManyInput[] skipDuplicates?: boolean } /** * TelemetryMetricPoint createManyAndReturn */ export type TelemetryMetricPointCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TelemetryMetricPoint */ select?: TelemetryMetricPointSelectCreateManyAndReturn | null /** * Omit specific fields from the TelemetryMetricPoint */ omit?: TelemetryMetricPointOmit | null /** * The data used to create many TelemetryMetricPoints. */ data: TelemetryMetricPointCreateManyInput | TelemetryMetricPointCreateManyInput[] skipDuplicates?: boolean } /** * TelemetryMetricPoint update */ export type TelemetryMetricPointUpdateArgs = { /** * Select specific fields to fetch from the TelemetryMetricPoint */ select?: TelemetryMetricPointSelect | null /** * Omit specific fields from the TelemetryMetricPoint */ omit?: TelemetryMetricPointOmit | null /** * The data needed to update a TelemetryMetricPoint. */ data: XOR /** * Choose, which TelemetryMetricPoint to update. */ where: TelemetryMetricPointWhereUniqueInput } /** * TelemetryMetricPoint updateMany */ export type TelemetryMetricPointUpdateManyArgs = { /** * The data used to update TelemetryMetricPoints. */ data: XOR /** * Filter which TelemetryMetricPoints to update */ where?: TelemetryMetricPointWhereInput /** * Limit how many TelemetryMetricPoints to update. */ limit?: number } /** * TelemetryMetricPoint updateManyAndReturn */ export type TelemetryMetricPointUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TelemetryMetricPoint */ select?: TelemetryMetricPointSelectUpdateManyAndReturn | null /** * Omit specific fields from the TelemetryMetricPoint */ omit?: TelemetryMetricPointOmit | null /** * The data used to update TelemetryMetricPoints. */ data: XOR /** * Filter which TelemetryMetricPoints to update */ where?: TelemetryMetricPointWhereInput /** * Limit how many TelemetryMetricPoints to update. */ limit?: number } /** * TelemetryMetricPoint upsert */ export type TelemetryMetricPointUpsertArgs = { /** * Select specific fields to fetch from the TelemetryMetricPoint */ select?: TelemetryMetricPointSelect | null /** * Omit specific fields from the TelemetryMetricPoint */ omit?: TelemetryMetricPointOmit | null /** * The filter to search for the TelemetryMetricPoint to update in case it exists. */ where: TelemetryMetricPointWhereUniqueInput /** * In case the TelemetryMetricPoint found by the `where` argument doesn't exist, create a new TelemetryMetricPoint with this data. */ create: XOR /** * In case the TelemetryMetricPoint was found with the provided `where` argument, update it with this data. */ update: XOR } /** * TelemetryMetricPoint delete */ export type TelemetryMetricPointDeleteArgs = { /** * Select specific fields to fetch from the TelemetryMetricPoint */ select?: TelemetryMetricPointSelect | null /** * Omit specific fields from the TelemetryMetricPoint */ omit?: TelemetryMetricPointOmit | null /** * Filter which TelemetryMetricPoint to delete. */ where: TelemetryMetricPointWhereUniqueInput } /** * TelemetryMetricPoint deleteMany */ export type TelemetryMetricPointDeleteManyArgs = { /** * Filter which TelemetryMetricPoints to delete */ where?: TelemetryMetricPointWhereInput /** * Limit how many TelemetryMetricPoints to delete. */ limit?: number } /** * TelemetryMetricPoint without action */ export type TelemetryMetricPointDefaultArgs = { /** * Select specific fields to fetch from the TelemetryMetricPoint */ select?: TelemetryMetricPointSelect | null /** * Omit specific fields from the TelemetryMetricPoint */ omit?: TelemetryMetricPointOmit | null } /** * Model CredentialInstance */ export type AggregateCredentialInstance = { _count: CredentialInstanceCountAggregateOutputType | null _min: CredentialInstanceMinAggregateOutputType | null _max: CredentialInstanceMaxAggregateOutputType | null } export type CredentialInstanceMinAggregateOutputType = { instanceId: string | null typeId: string | null displayName: string | null sourceKind: string | null publicConfigJson: string | null secretRefJson: string | null tagsJson: string | null setupStatus: string | null createdAt: string | null updatedAt: string | null materialSource: string | null materialRef: string | null } export type CredentialInstanceMaxAggregateOutputType = { instanceId: string | null typeId: string | null displayName: string | null sourceKind: string | null publicConfigJson: string | null secretRefJson: string | null tagsJson: string | null setupStatus: string | null createdAt: string | null updatedAt: string | null materialSource: string | null materialRef: string | null } export type CredentialInstanceCountAggregateOutputType = { instanceId: number typeId: number displayName: number sourceKind: number publicConfigJson: number secretRefJson: number tagsJson: number setupStatus: number createdAt: number updatedAt: number materialSource: number materialRef: number _all: number } export type CredentialInstanceMinAggregateInputType = { instanceId?: true typeId?: true displayName?: true sourceKind?: true publicConfigJson?: true secretRefJson?: true tagsJson?: true setupStatus?: true createdAt?: true updatedAt?: true materialSource?: true materialRef?: true } export type CredentialInstanceMaxAggregateInputType = { instanceId?: true typeId?: true displayName?: true sourceKind?: true publicConfigJson?: true secretRefJson?: true tagsJson?: true setupStatus?: true createdAt?: true updatedAt?: true materialSource?: true materialRef?: true } export type CredentialInstanceCountAggregateInputType = { instanceId?: true typeId?: true displayName?: true sourceKind?: true publicConfigJson?: true secretRefJson?: true tagsJson?: true setupStatus?: true createdAt?: true updatedAt?: true materialSource?: true materialRef?: true _all?: true } export type CredentialInstanceAggregateArgs = { /** * Filter which CredentialInstance to aggregate. */ where?: CredentialInstanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialInstances to fetch. */ orderBy?: CredentialInstanceOrderByWithRelationInput | CredentialInstanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CredentialInstanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialInstances from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialInstances. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CredentialInstances **/ _count?: true | CredentialInstanceCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CredentialInstanceMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CredentialInstanceMaxAggregateInputType } export type GetCredentialInstanceAggregateType = { [P in keyof T & keyof AggregateCredentialInstance]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CredentialInstanceGroupByArgs = { where?: CredentialInstanceWhereInput orderBy?: CredentialInstanceOrderByWithAggregationInput | CredentialInstanceOrderByWithAggregationInput[] by: CredentialInstanceScalarFieldEnum[] | CredentialInstanceScalarFieldEnum having?: CredentialInstanceScalarWhereWithAggregatesInput take?: number skip?: number _count?: CredentialInstanceCountAggregateInputType | true _min?: CredentialInstanceMinAggregateInputType _max?: CredentialInstanceMaxAggregateInputType } export type CredentialInstanceGroupByOutputType = { instanceId: string typeId: string displayName: string sourceKind: string publicConfigJson: string secretRefJson: string tagsJson: string setupStatus: string createdAt: string updatedAt: string materialSource: string materialRef: string _count: CredentialInstanceCountAggregateOutputType | null _min: CredentialInstanceMinAggregateOutputType | null _max: CredentialInstanceMaxAggregateOutputType | null } type GetCredentialInstanceGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CredentialInstanceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CredentialInstanceSelect = $Extensions.GetSelect<{ instanceId?: boolean typeId?: boolean displayName?: boolean sourceKind?: boolean publicConfigJson?: boolean secretRefJson?: boolean tagsJson?: boolean setupStatus?: boolean createdAt?: boolean updatedAt?: boolean materialSource?: boolean materialRef?: boolean }, ExtArgs["result"]["credentialInstance"]> export type CredentialInstanceSelectCreateManyAndReturn = $Extensions.GetSelect<{ instanceId?: boolean typeId?: boolean displayName?: boolean sourceKind?: boolean publicConfigJson?: boolean secretRefJson?: boolean tagsJson?: boolean setupStatus?: boolean createdAt?: boolean updatedAt?: boolean materialSource?: boolean materialRef?: boolean }, ExtArgs["result"]["credentialInstance"]> export type CredentialInstanceSelectUpdateManyAndReturn = $Extensions.GetSelect<{ instanceId?: boolean typeId?: boolean displayName?: boolean sourceKind?: boolean publicConfigJson?: boolean secretRefJson?: boolean tagsJson?: boolean setupStatus?: boolean createdAt?: boolean updatedAt?: boolean materialSource?: boolean materialRef?: boolean }, ExtArgs["result"]["credentialInstance"]> export type CredentialInstanceSelectScalar = { instanceId?: boolean typeId?: boolean displayName?: boolean sourceKind?: boolean publicConfigJson?: boolean secretRefJson?: boolean tagsJson?: boolean setupStatus?: boolean createdAt?: boolean updatedAt?: boolean materialSource?: boolean materialRef?: boolean } export type CredentialInstanceOmit = $Extensions.GetOmit<"instanceId" | "typeId" | "displayName" | "sourceKind" | "publicConfigJson" | "secretRefJson" | "tagsJson" | "setupStatus" | "createdAt" | "updatedAt" | "materialSource" | "materialRef", ExtArgs["result"]["credentialInstance"]> export type $CredentialInstancePayload = { name: "CredentialInstance" objects: {} scalars: $Extensions.GetPayloadResult<{ instanceId: string typeId: string displayName: string sourceKind: string publicConfigJson: string secretRefJson: string tagsJson: string setupStatus: string createdAt: string updatedAt: string materialSource: string materialRef: string }, ExtArgs["result"]["credentialInstance"]> composites: {} } type CredentialInstanceGetPayload = $Result.GetResult type CredentialInstanceCountArgs = Omit & { select?: CredentialInstanceCountAggregateInputType | true } export interface CredentialInstanceDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CredentialInstance'], meta: { name: 'CredentialInstance' } } /** * Find zero or one CredentialInstance that matches the filter. * @param {CredentialInstanceFindUniqueArgs} args - Arguments to find a CredentialInstance * @example * // Get one CredentialInstance * const credentialInstance = await prisma.credentialInstance.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CredentialInstanceClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CredentialInstance that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CredentialInstanceFindUniqueOrThrowArgs} args - Arguments to find a CredentialInstance * @example * // Get one CredentialInstance * const credentialInstance = await prisma.credentialInstance.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CredentialInstanceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CredentialInstance 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 {CredentialInstanceFindFirstArgs} args - Arguments to find a CredentialInstance * @example * // Get one CredentialInstance * const credentialInstance = await prisma.credentialInstance.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CredentialInstanceClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CredentialInstance 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 {CredentialInstanceFindFirstOrThrowArgs} args - Arguments to find a CredentialInstance * @example * // Get one CredentialInstance * const credentialInstance = await prisma.credentialInstance.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CredentialInstanceClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CredentialInstances 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 {CredentialInstanceFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CredentialInstances * const credentialInstances = await prisma.credentialInstance.findMany() * * // Get first 10 CredentialInstances * const credentialInstances = await prisma.credentialInstance.findMany({ take: 10 }) * * // Only select the `instanceId` * const credentialInstanceWithInstanceIdOnly = await prisma.credentialInstance.findMany({ select: { instanceId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a CredentialInstance. * @param {CredentialInstanceCreateArgs} args - Arguments to create a CredentialInstance. * @example * // Create one CredentialInstance * const CredentialInstance = await prisma.credentialInstance.create({ * data: { * // ... data to create a CredentialInstance * } * }) * */ create(args: SelectSubset>): Prisma__CredentialInstanceClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CredentialInstances. * @param {CredentialInstanceCreateManyArgs} args - Arguments to create many CredentialInstances. * @example * // Create many CredentialInstances * const credentialInstance = await prisma.credentialInstance.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many CredentialInstances and returns the data saved in the database. * @param {CredentialInstanceCreateManyAndReturnArgs} args - Arguments to create many CredentialInstances. * @example * // Create many CredentialInstances * const credentialInstance = await prisma.credentialInstance.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many CredentialInstances and only return the `instanceId` * const credentialInstanceWithInstanceIdOnly = await prisma.credentialInstance.createManyAndReturn({ * select: { instanceId: 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 CredentialInstance. * @param {CredentialInstanceDeleteArgs} args - Arguments to delete one CredentialInstance. * @example * // Delete one CredentialInstance * const CredentialInstance = await prisma.credentialInstance.delete({ * where: { * // ... filter to delete one CredentialInstance * } * }) * */ delete(args: SelectSubset>): Prisma__CredentialInstanceClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CredentialInstance. * @param {CredentialInstanceUpdateArgs} args - Arguments to update one CredentialInstance. * @example * // Update one CredentialInstance * const credentialInstance = await prisma.credentialInstance.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CredentialInstanceClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CredentialInstances. * @param {CredentialInstanceDeleteManyArgs} args - Arguments to filter CredentialInstances to delete. * @example * // Delete a few CredentialInstances * const { count } = await prisma.credentialInstance.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CredentialInstances. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialInstanceUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CredentialInstances * const credentialInstance = await prisma.credentialInstance.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CredentialInstances and returns the data updated in the database. * @param {CredentialInstanceUpdateManyAndReturnArgs} args - Arguments to update many CredentialInstances. * @example * // Update many CredentialInstances * const credentialInstance = await prisma.credentialInstance.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more CredentialInstances and only return the `instanceId` * const credentialInstanceWithInstanceIdOnly = await prisma.credentialInstance.updateManyAndReturn({ * select: { instanceId: 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 CredentialInstance. * @param {CredentialInstanceUpsertArgs} args - Arguments to update or create a CredentialInstance. * @example * // Update or create a CredentialInstance * const credentialInstance = await prisma.credentialInstance.upsert({ * create: { * // ... data to create a CredentialInstance * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CredentialInstance we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CredentialInstanceClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CredentialInstances. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialInstanceCountArgs} args - Arguments to filter CredentialInstances to count. * @example * // Count the number of CredentialInstances * const count = await prisma.credentialInstance.count({ * where: { * // ... the filter for the CredentialInstances 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 CredentialInstance. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialInstanceAggregateArgs} 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 CredentialInstance. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialInstanceGroupByArgs} 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 CredentialInstanceGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CredentialInstanceGroupByArgs['orderBy'] } : { orderBy?: CredentialInstanceGroupByArgs['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 ? GetCredentialInstanceGroupByPayload : Prisma.PrismaPromise /** * Fields of the CredentialInstance model */ readonly fields: CredentialInstanceFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CredentialInstance. * 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__CredentialInstanceClient 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 CredentialInstance model */ interface CredentialInstanceFieldRefs { readonly instanceId: FieldRef<"CredentialInstance", 'String'> readonly typeId: FieldRef<"CredentialInstance", 'String'> readonly displayName: FieldRef<"CredentialInstance", 'String'> readonly sourceKind: FieldRef<"CredentialInstance", 'String'> readonly publicConfigJson: FieldRef<"CredentialInstance", 'String'> readonly secretRefJson: FieldRef<"CredentialInstance", 'String'> readonly tagsJson: FieldRef<"CredentialInstance", 'String'> readonly setupStatus: FieldRef<"CredentialInstance", 'String'> readonly createdAt: FieldRef<"CredentialInstance", 'String'> readonly updatedAt: FieldRef<"CredentialInstance", 'String'> readonly materialSource: FieldRef<"CredentialInstance", 'String'> readonly materialRef: FieldRef<"CredentialInstance", 'String'> } // Custom InputTypes /** * CredentialInstance findUnique */ export type CredentialInstanceFindUniqueArgs = { /** * Select specific fields to fetch from the CredentialInstance */ select?: CredentialInstanceSelect | null /** * Omit specific fields from the CredentialInstance */ omit?: CredentialInstanceOmit | null /** * Filter, which CredentialInstance to fetch. */ where: CredentialInstanceWhereUniqueInput } /** * CredentialInstance findUniqueOrThrow */ export type CredentialInstanceFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CredentialInstance */ select?: CredentialInstanceSelect | null /** * Omit specific fields from the CredentialInstance */ omit?: CredentialInstanceOmit | null /** * Filter, which CredentialInstance to fetch. */ where: CredentialInstanceWhereUniqueInput } /** * CredentialInstance findFirst */ export type CredentialInstanceFindFirstArgs = { /** * Select specific fields to fetch from the CredentialInstance */ select?: CredentialInstanceSelect | null /** * Omit specific fields from the CredentialInstance */ omit?: CredentialInstanceOmit | null /** * Filter, which CredentialInstance to fetch. */ where?: CredentialInstanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialInstances to fetch. */ orderBy?: CredentialInstanceOrderByWithRelationInput | CredentialInstanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CredentialInstances. */ cursor?: CredentialInstanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialInstances from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialInstances. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialInstances. */ distinct?: CredentialInstanceScalarFieldEnum | CredentialInstanceScalarFieldEnum[] } /** * CredentialInstance findFirstOrThrow */ export type CredentialInstanceFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CredentialInstance */ select?: CredentialInstanceSelect | null /** * Omit specific fields from the CredentialInstance */ omit?: CredentialInstanceOmit | null /** * Filter, which CredentialInstance to fetch. */ where?: CredentialInstanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialInstances to fetch. */ orderBy?: CredentialInstanceOrderByWithRelationInput | CredentialInstanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CredentialInstances. */ cursor?: CredentialInstanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialInstances from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialInstances. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialInstances. */ distinct?: CredentialInstanceScalarFieldEnum | CredentialInstanceScalarFieldEnum[] } /** * CredentialInstance findMany */ export type CredentialInstanceFindManyArgs = { /** * Select specific fields to fetch from the CredentialInstance */ select?: CredentialInstanceSelect | null /** * Omit specific fields from the CredentialInstance */ omit?: CredentialInstanceOmit | null /** * Filter, which CredentialInstances to fetch. */ where?: CredentialInstanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialInstances to fetch. */ orderBy?: CredentialInstanceOrderByWithRelationInput | CredentialInstanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CredentialInstances. */ cursor?: CredentialInstanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialInstances from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialInstances. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialInstances. */ distinct?: CredentialInstanceScalarFieldEnum | CredentialInstanceScalarFieldEnum[] } /** * CredentialInstance create */ export type CredentialInstanceCreateArgs = { /** * Select specific fields to fetch from the CredentialInstance */ select?: CredentialInstanceSelect | null /** * Omit specific fields from the CredentialInstance */ omit?: CredentialInstanceOmit | null /** * The data needed to create a CredentialInstance. */ data: XOR } /** * CredentialInstance createMany */ export type CredentialInstanceCreateManyArgs = { /** * The data used to create many CredentialInstances. */ data: CredentialInstanceCreateManyInput | CredentialInstanceCreateManyInput[] skipDuplicates?: boolean } /** * CredentialInstance createManyAndReturn */ export type CredentialInstanceCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the CredentialInstance */ select?: CredentialInstanceSelectCreateManyAndReturn | null /** * Omit specific fields from the CredentialInstance */ omit?: CredentialInstanceOmit | null /** * The data used to create many CredentialInstances. */ data: CredentialInstanceCreateManyInput | CredentialInstanceCreateManyInput[] skipDuplicates?: boolean } /** * CredentialInstance update */ export type CredentialInstanceUpdateArgs = { /** * Select specific fields to fetch from the CredentialInstance */ select?: CredentialInstanceSelect | null /** * Omit specific fields from the CredentialInstance */ omit?: CredentialInstanceOmit | null /** * The data needed to update a CredentialInstance. */ data: XOR /** * Choose, which CredentialInstance to update. */ where: CredentialInstanceWhereUniqueInput } /** * CredentialInstance updateMany */ export type CredentialInstanceUpdateManyArgs = { /** * The data used to update CredentialInstances. */ data: XOR /** * Filter which CredentialInstances to update */ where?: CredentialInstanceWhereInput /** * Limit how many CredentialInstances to update. */ limit?: number } /** * CredentialInstance updateManyAndReturn */ export type CredentialInstanceUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the CredentialInstance */ select?: CredentialInstanceSelectUpdateManyAndReturn | null /** * Omit specific fields from the CredentialInstance */ omit?: CredentialInstanceOmit | null /** * The data used to update CredentialInstances. */ data: XOR /** * Filter which CredentialInstances to update */ where?: CredentialInstanceWhereInput /** * Limit how many CredentialInstances to update. */ limit?: number } /** * CredentialInstance upsert */ export type CredentialInstanceUpsertArgs = { /** * Select specific fields to fetch from the CredentialInstance */ select?: CredentialInstanceSelect | null /** * Omit specific fields from the CredentialInstance */ omit?: CredentialInstanceOmit | null /** * The filter to search for the CredentialInstance to update in case it exists. */ where: CredentialInstanceWhereUniqueInput /** * In case the CredentialInstance found by the `where` argument doesn't exist, create a new CredentialInstance with this data. */ create: XOR /** * In case the CredentialInstance was found with the provided `where` argument, update it with this data. */ update: XOR } /** * CredentialInstance delete */ export type CredentialInstanceDeleteArgs = { /** * Select specific fields to fetch from the CredentialInstance */ select?: CredentialInstanceSelect | null /** * Omit specific fields from the CredentialInstance */ omit?: CredentialInstanceOmit | null /** * Filter which CredentialInstance to delete. */ where: CredentialInstanceWhereUniqueInput } /** * CredentialInstance deleteMany */ export type CredentialInstanceDeleteManyArgs = { /** * Filter which CredentialInstances to delete */ where?: CredentialInstanceWhereInput /** * Limit how many CredentialInstances to delete. */ limit?: number } /** * CredentialInstance without action */ export type CredentialInstanceDefaultArgs = { /** * Select specific fields to fetch from the CredentialInstance */ select?: CredentialInstanceSelect | null /** * Omit specific fields from the CredentialInstance */ omit?: CredentialInstanceOmit | null } /** * Model CredentialSecretMaterial */ export type AggregateCredentialSecretMaterial = { _count: CredentialSecretMaterialCountAggregateOutputType | null _avg: CredentialSecretMaterialAvgAggregateOutputType | null _sum: CredentialSecretMaterialSumAggregateOutputType | null _min: CredentialSecretMaterialMinAggregateOutputType | null _max: CredentialSecretMaterialMaxAggregateOutputType | null } export type CredentialSecretMaterialAvgAggregateOutputType = { schemaVersion: number | null } export type CredentialSecretMaterialSumAggregateOutputType = { schemaVersion: number | null } export type CredentialSecretMaterialMinAggregateOutputType = { instanceId: string | null encryptedJson: string | null encryptionKeyId: string | null schemaVersion: number | null updatedAt: string | null } export type CredentialSecretMaterialMaxAggregateOutputType = { instanceId: string | null encryptedJson: string | null encryptionKeyId: string | null schemaVersion: number | null updatedAt: string | null } export type CredentialSecretMaterialCountAggregateOutputType = { instanceId: number encryptedJson: number encryptionKeyId: number schemaVersion: number updatedAt: number _all: number } export type CredentialSecretMaterialAvgAggregateInputType = { schemaVersion?: true } export type CredentialSecretMaterialSumAggregateInputType = { schemaVersion?: true } export type CredentialSecretMaterialMinAggregateInputType = { instanceId?: true encryptedJson?: true encryptionKeyId?: true schemaVersion?: true updatedAt?: true } export type CredentialSecretMaterialMaxAggregateInputType = { instanceId?: true encryptedJson?: true encryptionKeyId?: true schemaVersion?: true updatedAt?: true } export type CredentialSecretMaterialCountAggregateInputType = { instanceId?: true encryptedJson?: true encryptionKeyId?: true schemaVersion?: true updatedAt?: true _all?: true } export type CredentialSecretMaterialAggregateArgs = { /** * Filter which CredentialSecretMaterial to aggregate. */ where?: CredentialSecretMaterialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialSecretMaterials to fetch. */ orderBy?: CredentialSecretMaterialOrderByWithRelationInput | CredentialSecretMaterialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CredentialSecretMaterialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialSecretMaterials from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialSecretMaterials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CredentialSecretMaterials **/ _count?: true | CredentialSecretMaterialCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: CredentialSecretMaterialAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: CredentialSecretMaterialSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CredentialSecretMaterialMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CredentialSecretMaterialMaxAggregateInputType } export type GetCredentialSecretMaterialAggregateType = { [P in keyof T & keyof AggregateCredentialSecretMaterial]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CredentialSecretMaterialGroupByArgs = { where?: CredentialSecretMaterialWhereInput orderBy?: CredentialSecretMaterialOrderByWithAggregationInput | CredentialSecretMaterialOrderByWithAggregationInput[] by: CredentialSecretMaterialScalarFieldEnum[] | CredentialSecretMaterialScalarFieldEnum having?: CredentialSecretMaterialScalarWhereWithAggregatesInput take?: number skip?: number _count?: CredentialSecretMaterialCountAggregateInputType | true _avg?: CredentialSecretMaterialAvgAggregateInputType _sum?: CredentialSecretMaterialSumAggregateInputType _min?: CredentialSecretMaterialMinAggregateInputType _max?: CredentialSecretMaterialMaxAggregateInputType } export type CredentialSecretMaterialGroupByOutputType = { instanceId: string encryptedJson: string encryptionKeyId: string schemaVersion: number updatedAt: string _count: CredentialSecretMaterialCountAggregateOutputType | null _avg: CredentialSecretMaterialAvgAggregateOutputType | null _sum: CredentialSecretMaterialSumAggregateOutputType | null _min: CredentialSecretMaterialMinAggregateOutputType | null _max: CredentialSecretMaterialMaxAggregateOutputType | null } type GetCredentialSecretMaterialGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CredentialSecretMaterialGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CredentialSecretMaterialSelect = $Extensions.GetSelect<{ instanceId?: boolean encryptedJson?: boolean encryptionKeyId?: boolean schemaVersion?: boolean updatedAt?: boolean }, ExtArgs["result"]["credentialSecretMaterial"]> export type CredentialSecretMaterialSelectCreateManyAndReturn = $Extensions.GetSelect<{ instanceId?: boolean encryptedJson?: boolean encryptionKeyId?: boolean schemaVersion?: boolean updatedAt?: boolean }, ExtArgs["result"]["credentialSecretMaterial"]> export type CredentialSecretMaterialSelectUpdateManyAndReturn = $Extensions.GetSelect<{ instanceId?: boolean encryptedJson?: boolean encryptionKeyId?: boolean schemaVersion?: boolean updatedAt?: boolean }, ExtArgs["result"]["credentialSecretMaterial"]> export type CredentialSecretMaterialSelectScalar = { instanceId?: boolean encryptedJson?: boolean encryptionKeyId?: boolean schemaVersion?: boolean updatedAt?: boolean } export type CredentialSecretMaterialOmit = $Extensions.GetOmit<"instanceId" | "encryptedJson" | "encryptionKeyId" | "schemaVersion" | "updatedAt", ExtArgs["result"]["credentialSecretMaterial"]> export type $CredentialSecretMaterialPayload = { name: "CredentialSecretMaterial" objects: {} scalars: $Extensions.GetPayloadResult<{ instanceId: string encryptedJson: string encryptionKeyId: string schemaVersion: number updatedAt: string }, ExtArgs["result"]["credentialSecretMaterial"]> composites: {} } type CredentialSecretMaterialGetPayload = $Result.GetResult type CredentialSecretMaterialCountArgs = Omit & { select?: CredentialSecretMaterialCountAggregateInputType | true } export interface CredentialSecretMaterialDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CredentialSecretMaterial'], meta: { name: 'CredentialSecretMaterial' } } /** * Find zero or one CredentialSecretMaterial that matches the filter. * @param {CredentialSecretMaterialFindUniqueArgs} args - Arguments to find a CredentialSecretMaterial * @example * // Get one CredentialSecretMaterial * const credentialSecretMaterial = await prisma.credentialSecretMaterial.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CredentialSecretMaterialClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CredentialSecretMaterial that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CredentialSecretMaterialFindUniqueOrThrowArgs} args - Arguments to find a CredentialSecretMaterial * @example * // Get one CredentialSecretMaterial * const credentialSecretMaterial = await prisma.credentialSecretMaterial.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CredentialSecretMaterialClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CredentialSecretMaterial 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 {CredentialSecretMaterialFindFirstArgs} args - Arguments to find a CredentialSecretMaterial * @example * // Get one CredentialSecretMaterial * const credentialSecretMaterial = await prisma.credentialSecretMaterial.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CredentialSecretMaterialClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CredentialSecretMaterial 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 {CredentialSecretMaterialFindFirstOrThrowArgs} args - Arguments to find a CredentialSecretMaterial * @example * // Get one CredentialSecretMaterial * const credentialSecretMaterial = await prisma.credentialSecretMaterial.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CredentialSecretMaterialClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CredentialSecretMaterials 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 {CredentialSecretMaterialFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CredentialSecretMaterials * const credentialSecretMaterials = await prisma.credentialSecretMaterial.findMany() * * // Get first 10 CredentialSecretMaterials * const credentialSecretMaterials = await prisma.credentialSecretMaterial.findMany({ take: 10 }) * * // Only select the `instanceId` * const credentialSecretMaterialWithInstanceIdOnly = await prisma.credentialSecretMaterial.findMany({ select: { instanceId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a CredentialSecretMaterial. * @param {CredentialSecretMaterialCreateArgs} args - Arguments to create a CredentialSecretMaterial. * @example * // Create one CredentialSecretMaterial * const CredentialSecretMaterial = await prisma.credentialSecretMaterial.create({ * data: { * // ... data to create a CredentialSecretMaterial * } * }) * */ create(args: SelectSubset>): Prisma__CredentialSecretMaterialClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CredentialSecretMaterials. * @param {CredentialSecretMaterialCreateManyArgs} args - Arguments to create many CredentialSecretMaterials. * @example * // Create many CredentialSecretMaterials * const credentialSecretMaterial = await prisma.credentialSecretMaterial.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many CredentialSecretMaterials and returns the data saved in the database. * @param {CredentialSecretMaterialCreateManyAndReturnArgs} args - Arguments to create many CredentialSecretMaterials. * @example * // Create many CredentialSecretMaterials * const credentialSecretMaterial = await prisma.credentialSecretMaterial.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many CredentialSecretMaterials and only return the `instanceId` * const credentialSecretMaterialWithInstanceIdOnly = await prisma.credentialSecretMaterial.createManyAndReturn({ * select: { instanceId: 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 CredentialSecretMaterial. * @param {CredentialSecretMaterialDeleteArgs} args - Arguments to delete one CredentialSecretMaterial. * @example * // Delete one CredentialSecretMaterial * const CredentialSecretMaterial = await prisma.credentialSecretMaterial.delete({ * where: { * // ... filter to delete one CredentialSecretMaterial * } * }) * */ delete(args: SelectSubset>): Prisma__CredentialSecretMaterialClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CredentialSecretMaterial. * @param {CredentialSecretMaterialUpdateArgs} args - Arguments to update one CredentialSecretMaterial. * @example * // Update one CredentialSecretMaterial * const credentialSecretMaterial = await prisma.credentialSecretMaterial.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CredentialSecretMaterialClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CredentialSecretMaterials. * @param {CredentialSecretMaterialDeleteManyArgs} args - Arguments to filter CredentialSecretMaterials to delete. * @example * // Delete a few CredentialSecretMaterials * const { count } = await prisma.credentialSecretMaterial.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CredentialSecretMaterials. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialSecretMaterialUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CredentialSecretMaterials * const credentialSecretMaterial = await prisma.credentialSecretMaterial.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CredentialSecretMaterials and returns the data updated in the database. * @param {CredentialSecretMaterialUpdateManyAndReturnArgs} args - Arguments to update many CredentialSecretMaterials. * @example * // Update many CredentialSecretMaterials * const credentialSecretMaterial = await prisma.credentialSecretMaterial.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more CredentialSecretMaterials and only return the `instanceId` * const credentialSecretMaterialWithInstanceIdOnly = await prisma.credentialSecretMaterial.updateManyAndReturn({ * select: { instanceId: 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 CredentialSecretMaterial. * @param {CredentialSecretMaterialUpsertArgs} args - Arguments to update or create a CredentialSecretMaterial. * @example * // Update or create a CredentialSecretMaterial * const credentialSecretMaterial = await prisma.credentialSecretMaterial.upsert({ * create: { * // ... data to create a CredentialSecretMaterial * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CredentialSecretMaterial we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CredentialSecretMaterialClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CredentialSecretMaterials. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialSecretMaterialCountArgs} args - Arguments to filter CredentialSecretMaterials to count. * @example * // Count the number of CredentialSecretMaterials * const count = await prisma.credentialSecretMaterial.count({ * where: { * // ... the filter for the CredentialSecretMaterials 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 CredentialSecretMaterial. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialSecretMaterialAggregateArgs} 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 CredentialSecretMaterial. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialSecretMaterialGroupByArgs} 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 CredentialSecretMaterialGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CredentialSecretMaterialGroupByArgs['orderBy'] } : { orderBy?: CredentialSecretMaterialGroupByArgs['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 ? GetCredentialSecretMaterialGroupByPayload : Prisma.PrismaPromise /** * Fields of the CredentialSecretMaterial model */ readonly fields: CredentialSecretMaterialFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CredentialSecretMaterial. * 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__CredentialSecretMaterialClient 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 CredentialSecretMaterial model */ interface CredentialSecretMaterialFieldRefs { readonly instanceId: FieldRef<"CredentialSecretMaterial", 'String'> readonly encryptedJson: FieldRef<"CredentialSecretMaterial", 'String'> readonly encryptionKeyId: FieldRef<"CredentialSecretMaterial", 'String'> readonly schemaVersion: FieldRef<"CredentialSecretMaterial", 'Int'> readonly updatedAt: FieldRef<"CredentialSecretMaterial", 'String'> } // Custom InputTypes /** * CredentialSecretMaterial findUnique */ export type CredentialSecretMaterialFindUniqueArgs = { /** * Select specific fields to fetch from the CredentialSecretMaterial */ select?: CredentialSecretMaterialSelect | null /** * Omit specific fields from the CredentialSecretMaterial */ omit?: CredentialSecretMaterialOmit | null /** * Filter, which CredentialSecretMaterial to fetch. */ where: CredentialSecretMaterialWhereUniqueInput } /** * CredentialSecretMaterial findUniqueOrThrow */ export type CredentialSecretMaterialFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CredentialSecretMaterial */ select?: CredentialSecretMaterialSelect | null /** * Omit specific fields from the CredentialSecretMaterial */ omit?: CredentialSecretMaterialOmit | null /** * Filter, which CredentialSecretMaterial to fetch. */ where: CredentialSecretMaterialWhereUniqueInput } /** * CredentialSecretMaterial findFirst */ export type CredentialSecretMaterialFindFirstArgs = { /** * Select specific fields to fetch from the CredentialSecretMaterial */ select?: CredentialSecretMaterialSelect | null /** * Omit specific fields from the CredentialSecretMaterial */ omit?: CredentialSecretMaterialOmit | null /** * Filter, which CredentialSecretMaterial to fetch. */ where?: CredentialSecretMaterialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialSecretMaterials to fetch. */ orderBy?: CredentialSecretMaterialOrderByWithRelationInput | CredentialSecretMaterialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CredentialSecretMaterials. */ cursor?: CredentialSecretMaterialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialSecretMaterials from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialSecretMaterials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialSecretMaterials. */ distinct?: CredentialSecretMaterialScalarFieldEnum | CredentialSecretMaterialScalarFieldEnum[] } /** * CredentialSecretMaterial findFirstOrThrow */ export type CredentialSecretMaterialFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CredentialSecretMaterial */ select?: CredentialSecretMaterialSelect | null /** * Omit specific fields from the CredentialSecretMaterial */ omit?: CredentialSecretMaterialOmit | null /** * Filter, which CredentialSecretMaterial to fetch. */ where?: CredentialSecretMaterialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialSecretMaterials to fetch. */ orderBy?: CredentialSecretMaterialOrderByWithRelationInput | CredentialSecretMaterialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CredentialSecretMaterials. */ cursor?: CredentialSecretMaterialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialSecretMaterials from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialSecretMaterials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialSecretMaterials. */ distinct?: CredentialSecretMaterialScalarFieldEnum | CredentialSecretMaterialScalarFieldEnum[] } /** * CredentialSecretMaterial findMany */ export type CredentialSecretMaterialFindManyArgs = { /** * Select specific fields to fetch from the CredentialSecretMaterial */ select?: CredentialSecretMaterialSelect | null /** * Omit specific fields from the CredentialSecretMaterial */ omit?: CredentialSecretMaterialOmit | null /** * Filter, which CredentialSecretMaterials to fetch. */ where?: CredentialSecretMaterialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialSecretMaterials to fetch. */ orderBy?: CredentialSecretMaterialOrderByWithRelationInput | CredentialSecretMaterialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CredentialSecretMaterials. */ cursor?: CredentialSecretMaterialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialSecretMaterials from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialSecretMaterials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialSecretMaterials. */ distinct?: CredentialSecretMaterialScalarFieldEnum | CredentialSecretMaterialScalarFieldEnum[] } /** * CredentialSecretMaterial create */ export type CredentialSecretMaterialCreateArgs = { /** * Select specific fields to fetch from the CredentialSecretMaterial */ select?: CredentialSecretMaterialSelect | null /** * Omit specific fields from the CredentialSecretMaterial */ omit?: CredentialSecretMaterialOmit | null /** * The data needed to create a CredentialSecretMaterial. */ data: XOR } /** * CredentialSecretMaterial createMany */ export type CredentialSecretMaterialCreateManyArgs = { /** * The data used to create many CredentialSecretMaterials. */ data: CredentialSecretMaterialCreateManyInput | CredentialSecretMaterialCreateManyInput[] skipDuplicates?: boolean } /** * CredentialSecretMaterial createManyAndReturn */ export type CredentialSecretMaterialCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the CredentialSecretMaterial */ select?: CredentialSecretMaterialSelectCreateManyAndReturn | null /** * Omit specific fields from the CredentialSecretMaterial */ omit?: CredentialSecretMaterialOmit | null /** * The data used to create many CredentialSecretMaterials. */ data: CredentialSecretMaterialCreateManyInput | CredentialSecretMaterialCreateManyInput[] skipDuplicates?: boolean } /** * CredentialSecretMaterial update */ export type CredentialSecretMaterialUpdateArgs = { /** * Select specific fields to fetch from the CredentialSecretMaterial */ select?: CredentialSecretMaterialSelect | null /** * Omit specific fields from the CredentialSecretMaterial */ omit?: CredentialSecretMaterialOmit | null /** * The data needed to update a CredentialSecretMaterial. */ data: XOR /** * Choose, which CredentialSecretMaterial to update. */ where: CredentialSecretMaterialWhereUniqueInput } /** * CredentialSecretMaterial updateMany */ export type CredentialSecretMaterialUpdateManyArgs = { /** * The data used to update CredentialSecretMaterials. */ data: XOR /** * Filter which CredentialSecretMaterials to update */ where?: CredentialSecretMaterialWhereInput /** * Limit how many CredentialSecretMaterials to update. */ limit?: number } /** * CredentialSecretMaterial updateManyAndReturn */ export type CredentialSecretMaterialUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the CredentialSecretMaterial */ select?: CredentialSecretMaterialSelectUpdateManyAndReturn | null /** * Omit specific fields from the CredentialSecretMaterial */ omit?: CredentialSecretMaterialOmit | null /** * The data used to update CredentialSecretMaterials. */ data: XOR /** * Filter which CredentialSecretMaterials to update */ where?: CredentialSecretMaterialWhereInput /** * Limit how many CredentialSecretMaterials to update. */ limit?: number } /** * CredentialSecretMaterial upsert */ export type CredentialSecretMaterialUpsertArgs = { /** * Select specific fields to fetch from the CredentialSecretMaterial */ select?: CredentialSecretMaterialSelect | null /** * Omit specific fields from the CredentialSecretMaterial */ omit?: CredentialSecretMaterialOmit | null /** * The filter to search for the CredentialSecretMaterial to update in case it exists. */ where: CredentialSecretMaterialWhereUniqueInput /** * In case the CredentialSecretMaterial found by the `where` argument doesn't exist, create a new CredentialSecretMaterial with this data. */ create: XOR /** * In case the CredentialSecretMaterial was found with the provided `where` argument, update it with this data. */ update: XOR } /** * CredentialSecretMaterial delete */ export type CredentialSecretMaterialDeleteArgs = { /** * Select specific fields to fetch from the CredentialSecretMaterial */ select?: CredentialSecretMaterialSelect | null /** * Omit specific fields from the CredentialSecretMaterial */ omit?: CredentialSecretMaterialOmit | null /** * Filter which CredentialSecretMaterial to delete. */ where: CredentialSecretMaterialWhereUniqueInput } /** * CredentialSecretMaterial deleteMany */ export type CredentialSecretMaterialDeleteManyArgs = { /** * Filter which CredentialSecretMaterials to delete */ where?: CredentialSecretMaterialWhereInput /** * Limit how many CredentialSecretMaterials to delete. */ limit?: number } /** * CredentialSecretMaterial without action */ export type CredentialSecretMaterialDefaultArgs = { /** * Select specific fields to fetch from the CredentialSecretMaterial */ select?: CredentialSecretMaterialSelect | null /** * Omit specific fields from the CredentialSecretMaterial */ omit?: CredentialSecretMaterialOmit | null } /** * Model CredentialOAuth2Material */ export type AggregateCredentialOAuth2Material = { _count: CredentialOAuth2MaterialCountAggregateOutputType | null _avg: CredentialOAuth2MaterialAvgAggregateOutputType | null _sum: CredentialOAuth2MaterialSumAggregateOutputType | null _min: CredentialOAuth2MaterialMinAggregateOutputType | null _max: CredentialOAuth2MaterialMaxAggregateOutputType | null } export type CredentialOAuth2MaterialAvgAggregateOutputType = { schemaVersion: number | null } export type CredentialOAuth2MaterialSumAggregateOutputType = { schemaVersion: number | null } export type CredentialOAuth2MaterialMinAggregateOutputType = { instanceId: string | null encryptedJson: string | null encryptionKeyId: string | null schemaVersion: number | null providerId: string | null connectedEmail: string | null connectedAt: string | null scopesJson: string | null updatedAt: string | null } export type CredentialOAuth2MaterialMaxAggregateOutputType = { instanceId: string | null encryptedJson: string | null encryptionKeyId: string | null schemaVersion: number | null providerId: string | null connectedEmail: string | null connectedAt: string | null scopesJson: string | null updatedAt: string | null } export type CredentialOAuth2MaterialCountAggregateOutputType = { instanceId: number encryptedJson: number encryptionKeyId: number schemaVersion: number providerId: number connectedEmail: number connectedAt: number scopesJson: number updatedAt: number _all: number } export type CredentialOAuth2MaterialAvgAggregateInputType = { schemaVersion?: true } export type CredentialOAuth2MaterialSumAggregateInputType = { schemaVersion?: true } export type CredentialOAuth2MaterialMinAggregateInputType = { instanceId?: true encryptedJson?: true encryptionKeyId?: true schemaVersion?: true providerId?: true connectedEmail?: true connectedAt?: true scopesJson?: true updatedAt?: true } export type CredentialOAuth2MaterialMaxAggregateInputType = { instanceId?: true encryptedJson?: true encryptionKeyId?: true schemaVersion?: true providerId?: true connectedEmail?: true connectedAt?: true scopesJson?: true updatedAt?: true } export type CredentialOAuth2MaterialCountAggregateInputType = { instanceId?: true encryptedJson?: true encryptionKeyId?: true schemaVersion?: true providerId?: true connectedEmail?: true connectedAt?: true scopesJson?: true updatedAt?: true _all?: true } export type CredentialOAuth2MaterialAggregateArgs = { /** * Filter which CredentialOAuth2Material to aggregate. */ where?: CredentialOAuth2MaterialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialOAuth2Materials to fetch. */ orderBy?: CredentialOAuth2MaterialOrderByWithRelationInput | CredentialOAuth2MaterialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CredentialOAuth2MaterialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialOAuth2Materials from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialOAuth2Materials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CredentialOAuth2Materials **/ _count?: true | CredentialOAuth2MaterialCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: CredentialOAuth2MaterialAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: CredentialOAuth2MaterialSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CredentialOAuth2MaterialMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CredentialOAuth2MaterialMaxAggregateInputType } export type GetCredentialOAuth2MaterialAggregateType = { [P in keyof T & keyof AggregateCredentialOAuth2Material]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CredentialOAuth2MaterialGroupByArgs = { where?: CredentialOAuth2MaterialWhereInput orderBy?: CredentialOAuth2MaterialOrderByWithAggregationInput | CredentialOAuth2MaterialOrderByWithAggregationInput[] by: CredentialOAuth2MaterialScalarFieldEnum[] | CredentialOAuth2MaterialScalarFieldEnum having?: CredentialOAuth2MaterialScalarWhereWithAggregatesInput take?: number skip?: number _count?: CredentialOAuth2MaterialCountAggregateInputType | true _avg?: CredentialOAuth2MaterialAvgAggregateInputType _sum?: CredentialOAuth2MaterialSumAggregateInputType _min?: CredentialOAuth2MaterialMinAggregateInputType _max?: CredentialOAuth2MaterialMaxAggregateInputType } export type CredentialOAuth2MaterialGroupByOutputType = { instanceId: string encryptedJson: string encryptionKeyId: string schemaVersion: number providerId: string connectedEmail: string | null connectedAt: string | null scopesJson: string updatedAt: string _count: CredentialOAuth2MaterialCountAggregateOutputType | null _avg: CredentialOAuth2MaterialAvgAggregateOutputType | null _sum: CredentialOAuth2MaterialSumAggregateOutputType | null _min: CredentialOAuth2MaterialMinAggregateOutputType | null _max: CredentialOAuth2MaterialMaxAggregateOutputType | null } type GetCredentialOAuth2MaterialGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CredentialOAuth2MaterialGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CredentialOAuth2MaterialSelect = $Extensions.GetSelect<{ instanceId?: boolean encryptedJson?: boolean encryptionKeyId?: boolean schemaVersion?: boolean providerId?: boolean connectedEmail?: boolean connectedAt?: boolean scopesJson?: boolean updatedAt?: boolean }, ExtArgs["result"]["credentialOAuth2Material"]> export type CredentialOAuth2MaterialSelectCreateManyAndReturn = $Extensions.GetSelect<{ instanceId?: boolean encryptedJson?: boolean encryptionKeyId?: boolean schemaVersion?: boolean providerId?: boolean connectedEmail?: boolean connectedAt?: boolean scopesJson?: boolean updatedAt?: boolean }, ExtArgs["result"]["credentialOAuth2Material"]> export type CredentialOAuth2MaterialSelectUpdateManyAndReturn = $Extensions.GetSelect<{ instanceId?: boolean encryptedJson?: boolean encryptionKeyId?: boolean schemaVersion?: boolean providerId?: boolean connectedEmail?: boolean connectedAt?: boolean scopesJson?: boolean updatedAt?: boolean }, ExtArgs["result"]["credentialOAuth2Material"]> export type CredentialOAuth2MaterialSelectScalar = { instanceId?: boolean encryptedJson?: boolean encryptionKeyId?: boolean schemaVersion?: boolean providerId?: boolean connectedEmail?: boolean connectedAt?: boolean scopesJson?: boolean updatedAt?: boolean } export type CredentialOAuth2MaterialOmit = $Extensions.GetOmit<"instanceId" | "encryptedJson" | "encryptionKeyId" | "schemaVersion" | "providerId" | "connectedEmail" | "connectedAt" | "scopesJson" | "updatedAt", ExtArgs["result"]["credentialOAuth2Material"]> export type $CredentialOAuth2MaterialPayload = { name: "CredentialOAuth2Material" objects: {} scalars: $Extensions.GetPayloadResult<{ instanceId: string encryptedJson: string encryptionKeyId: string schemaVersion: number providerId: string connectedEmail: string | null connectedAt: string | null scopesJson: string updatedAt: string }, ExtArgs["result"]["credentialOAuth2Material"]> composites: {} } type CredentialOAuth2MaterialGetPayload = $Result.GetResult type CredentialOAuth2MaterialCountArgs = Omit & { select?: CredentialOAuth2MaterialCountAggregateInputType | true } export interface CredentialOAuth2MaterialDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CredentialOAuth2Material'], meta: { name: 'CredentialOAuth2Material' } } /** * Find zero or one CredentialOAuth2Material that matches the filter. * @param {CredentialOAuth2MaterialFindUniqueArgs} args - Arguments to find a CredentialOAuth2Material * @example * // Get one CredentialOAuth2Material * const credentialOAuth2Material = await prisma.credentialOAuth2Material.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CredentialOAuth2MaterialClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CredentialOAuth2Material that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CredentialOAuth2MaterialFindUniqueOrThrowArgs} args - Arguments to find a CredentialOAuth2Material * @example * // Get one CredentialOAuth2Material * const credentialOAuth2Material = await prisma.credentialOAuth2Material.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CredentialOAuth2MaterialClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CredentialOAuth2Material 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 {CredentialOAuth2MaterialFindFirstArgs} args - Arguments to find a CredentialOAuth2Material * @example * // Get one CredentialOAuth2Material * const credentialOAuth2Material = await prisma.credentialOAuth2Material.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CredentialOAuth2MaterialClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CredentialOAuth2Material 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 {CredentialOAuth2MaterialFindFirstOrThrowArgs} args - Arguments to find a CredentialOAuth2Material * @example * // Get one CredentialOAuth2Material * const credentialOAuth2Material = await prisma.credentialOAuth2Material.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CredentialOAuth2MaterialClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CredentialOAuth2Materials 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 {CredentialOAuth2MaterialFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CredentialOAuth2Materials * const credentialOAuth2Materials = await prisma.credentialOAuth2Material.findMany() * * // Get first 10 CredentialOAuth2Materials * const credentialOAuth2Materials = await prisma.credentialOAuth2Material.findMany({ take: 10 }) * * // Only select the `instanceId` * const credentialOAuth2MaterialWithInstanceIdOnly = await prisma.credentialOAuth2Material.findMany({ select: { instanceId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a CredentialOAuth2Material. * @param {CredentialOAuth2MaterialCreateArgs} args - Arguments to create a CredentialOAuth2Material. * @example * // Create one CredentialOAuth2Material * const CredentialOAuth2Material = await prisma.credentialOAuth2Material.create({ * data: { * // ... data to create a CredentialOAuth2Material * } * }) * */ create(args: SelectSubset>): Prisma__CredentialOAuth2MaterialClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CredentialOAuth2Materials. * @param {CredentialOAuth2MaterialCreateManyArgs} args - Arguments to create many CredentialOAuth2Materials. * @example * // Create many CredentialOAuth2Materials * const credentialOAuth2Material = await prisma.credentialOAuth2Material.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many CredentialOAuth2Materials and returns the data saved in the database. * @param {CredentialOAuth2MaterialCreateManyAndReturnArgs} args - Arguments to create many CredentialOAuth2Materials. * @example * // Create many CredentialOAuth2Materials * const credentialOAuth2Material = await prisma.credentialOAuth2Material.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many CredentialOAuth2Materials and only return the `instanceId` * const credentialOAuth2MaterialWithInstanceIdOnly = await prisma.credentialOAuth2Material.createManyAndReturn({ * select: { instanceId: 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 CredentialOAuth2Material. * @param {CredentialOAuth2MaterialDeleteArgs} args - Arguments to delete one CredentialOAuth2Material. * @example * // Delete one CredentialOAuth2Material * const CredentialOAuth2Material = await prisma.credentialOAuth2Material.delete({ * where: { * // ... filter to delete one CredentialOAuth2Material * } * }) * */ delete(args: SelectSubset>): Prisma__CredentialOAuth2MaterialClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CredentialOAuth2Material. * @param {CredentialOAuth2MaterialUpdateArgs} args - Arguments to update one CredentialOAuth2Material. * @example * // Update one CredentialOAuth2Material * const credentialOAuth2Material = await prisma.credentialOAuth2Material.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CredentialOAuth2MaterialClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CredentialOAuth2Materials. * @param {CredentialOAuth2MaterialDeleteManyArgs} args - Arguments to filter CredentialOAuth2Materials to delete. * @example * // Delete a few CredentialOAuth2Materials * const { count } = await prisma.credentialOAuth2Material.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CredentialOAuth2Materials. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialOAuth2MaterialUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CredentialOAuth2Materials * const credentialOAuth2Material = await prisma.credentialOAuth2Material.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CredentialOAuth2Materials and returns the data updated in the database. * @param {CredentialOAuth2MaterialUpdateManyAndReturnArgs} args - Arguments to update many CredentialOAuth2Materials. * @example * // Update many CredentialOAuth2Materials * const credentialOAuth2Material = await prisma.credentialOAuth2Material.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more CredentialOAuth2Materials and only return the `instanceId` * const credentialOAuth2MaterialWithInstanceIdOnly = await prisma.credentialOAuth2Material.updateManyAndReturn({ * select: { instanceId: 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 CredentialOAuth2Material. * @param {CredentialOAuth2MaterialUpsertArgs} args - Arguments to update or create a CredentialOAuth2Material. * @example * // Update or create a CredentialOAuth2Material * const credentialOAuth2Material = await prisma.credentialOAuth2Material.upsert({ * create: { * // ... data to create a CredentialOAuth2Material * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CredentialOAuth2Material we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CredentialOAuth2MaterialClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CredentialOAuth2Materials. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialOAuth2MaterialCountArgs} args - Arguments to filter CredentialOAuth2Materials to count. * @example * // Count the number of CredentialOAuth2Materials * const count = await prisma.credentialOAuth2Material.count({ * where: { * // ... the filter for the CredentialOAuth2Materials 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 CredentialOAuth2Material. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialOAuth2MaterialAggregateArgs} 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 CredentialOAuth2Material. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialOAuth2MaterialGroupByArgs} 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 CredentialOAuth2MaterialGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CredentialOAuth2MaterialGroupByArgs['orderBy'] } : { orderBy?: CredentialOAuth2MaterialGroupByArgs['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 ? GetCredentialOAuth2MaterialGroupByPayload : Prisma.PrismaPromise /** * Fields of the CredentialOAuth2Material model */ readonly fields: CredentialOAuth2MaterialFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CredentialOAuth2Material. * 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__CredentialOAuth2MaterialClient 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 CredentialOAuth2Material model */ interface CredentialOAuth2MaterialFieldRefs { readonly instanceId: FieldRef<"CredentialOAuth2Material", 'String'> readonly encryptedJson: FieldRef<"CredentialOAuth2Material", 'String'> readonly encryptionKeyId: FieldRef<"CredentialOAuth2Material", 'String'> readonly schemaVersion: FieldRef<"CredentialOAuth2Material", 'Int'> readonly providerId: FieldRef<"CredentialOAuth2Material", 'String'> readonly connectedEmail: FieldRef<"CredentialOAuth2Material", 'String'> readonly connectedAt: FieldRef<"CredentialOAuth2Material", 'String'> readonly scopesJson: FieldRef<"CredentialOAuth2Material", 'String'> readonly updatedAt: FieldRef<"CredentialOAuth2Material", 'String'> } // Custom InputTypes /** * CredentialOAuth2Material findUnique */ export type CredentialOAuth2MaterialFindUniqueArgs = { /** * Select specific fields to fetch from the CredentialOAuth2Material */ select?: CredentialOAuth2MaterialSelect | null /** * Omit specific fields from the CredentialOAuth2Material */ omit?: CredentialOAuth2MaterialOmit | null /** * Filter, which CredentialOAuth2Material to fetch. */ where: CredentialOAuth2MaterialWhereUniqueInput } /** * CredentialOAuth2Material findUniqueOrThrow */ export type CredentialOAuth2MaterialFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CredentialOAuth2Material */ select?: CredentialOAuth2MaterialSelect | null /** * Omit specific fields from the CredentialOAuth2Material */ omit?: CredentialOAuth2MaterialOmit | null /** * Filter, which CredentialOAuth2Material to fetch. */ where: CredentialOAuth2MaterialWhereUniqueInput } /** * CredentialOAuth2Material findFirst */ export type CredentialOAuth2MaterialFindFirstArgs = { /** * Select specific fields to fetch from the CredentialOAuth2Material */ select?: CredentialOAuth2MaterialSelect | null /** * Omit specific fields from the CredentialOAuth2Material */ omit?: CredentialOAuth2MaterialOmit | null /** * Filter, which CredentialOAuth2Material to fetch. */ where?: CredentialOAuth2MaterialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialOAuth2Materials to fetch. */ orderBy?: CredentialOAuth2MaterialOrderByWithRelationInput | CredentialOAuth2MaterialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CredentialOAuth2Materials. */ cursor?: CredentialOAuth2MaterialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialOAuth2Materials from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialOAuth2Materials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialOAuth2Materials. */ distinct?: CredentialOAuth2MaterialScalarFieldEnum | CredentialOAuth2MaterialScalarFieldEnum[] } /** * CredentialOAuth2Material findFirstOrThrow */ export type CredentialOAuth2MaterialFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CredentialOAuth2Material */ select?: CredentialOAuth2MaterialSelect | null /** * Omit specific fields from the CredentialOAuth2Material */ omit?: CredentialOAuth2MaterialOmit | null /** * Filter, which CredentialOAuth2Material to fetch. */ where?: CredentialOAuth2MaterialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialOAuth2Materials to fetch. */ orderBy?: CredentialOAuth2MaterialOrderByWithRelationInput | CredentialOAuth2MaterialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CredentialOAuth2Materials. */ cursor?: CredentialOAuth2MaterialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialOAuth2Materials from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialOAuth2Materials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialOAuth2Materials. */ distinct?: CredentialOAuth2MaterialScalarFieldEnum | CredentialOAuth2MaterialScalarFieldEnum[] } /** * CredentialOAuth2Material findMany */ export type CredentialOAuth2MaterialFindManyArgs = { /** * Select specific fields to fetch from the CredentialOAuth2Material */ select?: CredentialOAuth2MaterialSelect | null /** * Omit specific fields from the CredentialOAuth2Material */ omit?: CredentialOAuth2MaterialOmit | null /** * Filter, which CredentialOAuth2Materials to fetch. */ where?: CredentialOAuth2MaterialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialOAuth2Materials to fetch. */ orderBy?: CredentialOAuth2MaterialOrderByWithRelationInput | CredentialOAuth2MaterialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CredentialOAuth2Materials. */ cursor?: CredentialOAuth2MaterialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialOAuth2Materials from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialOAuth2Materials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialOAuth2Materials. */ distinct?: CredentialOAuth2MaterialScalarFieldEnum | CredentialOAuth2MaterialScalarFieldEnum[] } /** * CredentialOAuth2Material create */ export type CredentialOAuth2MaterialCreateArgs = { /** * Select specific fields to fetch from the CredentialOAuth2Material */ select?: CredentialOAuth2MaterialSelect | null /** * Omit specific fields from the CredentialOAuth2Material */ omit?: CredentialOAuth2MaterialOmit | null /** * The data needed to create a CredentialOAuth2Material. */ data: XOR } /** * CredentialOAuth2Material createMany */ export type CredentialOAuth2MaterialCreateManyArgs = { /** * The data used to create many CredentialOAuth2Materials. */ data: CredentialOAuth2MaterialCreateManyInput | CredentialOAuth2MaterialCreateManyInput[] skipDuplicates?: boolean } /** * CredentialOAuth2Material createManyAndReturn */ export type CredentialOAuth2MaterialCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the CredentialOAuth2Material */ select?: CredentialOAuth2MaterialSelectCreateManyAndReturn | null /** * Omit specific fields from the CredentialOAuth2Material */ omit?: CredentialOAuth2MaterialOmit | null /** * The data used to create many CredentialOAuth2Materials. */ data: CredentialOAuth2MaterialCreateManyInput | CredentialOAuth2MaterialCreateManyInput[] skipDuplicates?: boolean } /** * CredentialOAuth2Material update */ export type CredentialOAuth2MaterialUpdateArgs = { /** * Select specific fields to fetch from the CredentialOAuth2Material */ select?: CredentialOAuth2MaterialSelect | null /** * Omit specific fields from the CredentialOAuth2Material */ omit?: CredentialOAuth2MaterialOmit | null /** * The data needed to update a CredentialOAuth2Material. */ data: XOR /** * Choose, which CredentialOAuth2Material to update. */ where: CredentialOAuth2MaterialWhereUniqueInput } /** * CredentialOAuth2Material updateMany */ export type CredentialOAuth2MaterialUpdateManyArgs = { /** * The data used to update CredentialOAuth2Materials. */ data: XOR /** * Filter which CredentialOAuth2Materials to update */ where?: CredentialOAuth2MaterialWhereInput /** * Limit how many CredentialOAuth2Materials to update. */ limit?: number } /** * CredentialOAuth2Material updateManyAndReturn */ export type CredentialOAuth2MaterialUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the CredentialOAuth2Material */ select?: CredentialOAuth2MaterialSelectUpdateManyAndReturn | null /** * Omit specific fields from the CredentialOAuth2Material */ omit?: CredentialOAuth2MaterialOmit | null /** * The data used to update CredentialOAuth2Materials. */ data: XOR /** * Filter which CredentialOAuth2Materials to update */ where?: CredentialOAuth2MaterialWhereInput /** * Limit how many CredentialOAuth2Materials to update. */ limit?: number } /** * CredentialOAuth2Material upsert */ export type CredentialOAuth2MaterialUpsertArgs = { /** * Select specific fields to fetch from the CredentialOAuth2Material */ select?: CredentialOAuth2MaterialSelect | null /** * Omit specific fields from the CredentialOAuth2Material */ omit?: CredentialOAuth2MaterialOmit | null /** * The filter to search for the CredentialOAuth2Material to update in case it exists. */ where: CredentialOAuth2MaterialWhereUniqueInput /** * In case the CredentialOAuth2Material found by the `where` argument doesn't exist, create a new CredentialOAuth2Material with this data. */ create: XOR /** * In case the CredentialOAuth2Material was found with the provided `where` argument, update it with this data. */ update: XOR } /** * CredentialOAuth2Material delete */ export type CredentialOAuth2MaterialDeleteArgs = { /** * Select specific fields to fetch from the CredentialOAuth2Material */ select?: CredentialOAuth2MaterialSelect | null /** * Omit specific fields from the CredentialOAuth2Material */ omit?: CredentialOAuth2MaterialOmit | null /** * Filter which CredentialOAuth2Material to delete. */ where: CredentialOAuth2MaterialWhereUniqueInput } /** * CredentialOAuth2Material deleteMany */ export type CredentialOAuth2MaterialDeleteManyArgs = { /** * Filter which CredentialOAuth2Materials to delete */ where?: CredentialOAuth2MaterialWhereInput /** * Limit how many CredentialOAuth2Materials to delete. */ limit?: number } /** * CredentialOAuth2Material without action */ export type CredentialOAuth2MaterialDefaultArgs = { /** * Select specific fields to fetch from the CredentialOAuth2Material */ select?: CredentialOAuth2MaterialSelect | null /** * Omit specific fields from the CredentialOAuth2Material */ omit?: CredentialOAuth2MaterialOmit | null } /** * Model CredentialOAuth2State */ export type AggregateCredentialOAuth2State = { _count: CredentialOAuth2StateCountAggregateOutputType | null _min: CredentialOAuth2StateMinAggregateOutputType | null _max: CredentialOAuth2StateMaxAggregateOutputType | null } export type CredentialOAuth2StateMinAggregateOutputType = { state: string | null instanceId: string | null codeVerifier: string | null providerId: string | null requestedScopesJson: string | null createdAt: string | null expiresAt: string | null } export type CredentialOAuth2StateMaxAggregateOutputType = { state: string | null instanceId: string | null codeVerifier: string | null providerId: string | null requestedScopesJson: string | null createdAt: string | null expiresAt: string | null } export type CredentialOAuth2StateCountAggregateOutputType = { state: number instanceId: number codeVerifier: number providerId: number requestedScopesJson: number createdAt: number expiresAt: number _all: number } export type CredentialOAuth2StateMinAggregateInputType = { state?: true instanceId?: true codeVerifier?: true providerId?: true requestedScopesJson?: true createdAt?: true expiresAt?: true } export type CredentialOAuth2StateMaxAggregateInputType = { state?: true instanceId?: true codeVerifier?: true providerId?: true requestedScopesJson?: true createdAt?: true expiresAt?: true } export type CredentialOAuth2StateCountAggregateInputType = { state?: true instanceId?: true codeVerifier?: true providerId?: true requestedScopesJson?: true createdAt?: true expiresAt?: true _all?: true } export type CredentialOAuth2StateAggregateArgs = { /** * Filter which CredentialOAuth2State to aggregate. */ where?: CredentialOAuth2StateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialOAuth2States to fetch. */ orderBy?: CredentialOAuth2StateOrderByWithRelationInput | CredentialOAuth2StateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CredentialOAuth2StateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialOAuth2States from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialOAuth2States. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CredentialOAuth2States **/ _count?: true | CredentialOAuth2StateCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CredentialOAuth2StateMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CredentialOAuth2StateMaxAggregateInputType } export type GetCredentialOAuth2StateAggregateType = { [P in keyof T & keyof AggregateCredentialOAuth2State]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CredentialOAuth2StateGroupByArgs = { where?: CredentialOAuth2StateWhereInput orderBy?: CredentialOAuth2StateOrderByWithAggregationInput | CredentialOAuth2StateOrderByWithAggregationInput[] by: CredentialOAuth2StateScalarFieldEnum[] | CredentialOAuth2StateScalarFieldEnum having?: CredentialOAuth2StateScalarWhereWithAggregatesInput take?: number skip?: number _count?: CredentialOAuth2StateCountAggregateInputType | true _min?: CredentialOAuth2StateMinAggregateInputType _max?: CredentialOAuth2StateMaxAggregateInputType } export type CredentialOAuth2StateGroupByOutputType = { state: string instanceId: string codeVerifier: string | null providerId: string | null requestedScopesJson: string createdAt: string expiresAt: string _count: CredentialOAuth2StateCountAggregateOutputType | null _min: CredentialOAuth2StateMinAggregateOutputType | null _max: CredentialOAuth2StateMaxAggregateOutputType | null } type GetCredentialOAuth2StateGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CredentialOAuth2StateGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CredentialOAuth2StateSelect = $Extensions.GetSelect<{ state?: boolean instanceId?: boolean codeVerifier?: boolean providerId?: boolean requestedScopesJson?: boolean createdAt?: boolean expiresAt?: boolean }, ExtArgs["result"]["credentialOAuth2State"]> export type CredentialOAuth2StateSelectCreateManyAndReturn = $Extensions.GetSelect<{ state?: boolean instanceId?: boolean codeVerifier?: boolean providerId?: boolean requestedScopesJson?: boolean createdAt?: boolean expiresAt?: boolean }, ExtArgs["result"]["credentialOAuth2State"]> export type CredentialOAuth2StateSelectUpdateManyAndReturn = $Extensions.GetSelect<{ state?: boolean instanceId?: boolean codeVerifier?: boolean providerId?: boolean requestedScopesJson?: boolean createdAt?: boolean expiresAt?: boolean }, ExtArgs["result"]["credentialOAuth2State"]> export type CredentialOAuth2StateSelectScalar = { state?: boolean instanceId?: boolean codeVerifier?: boolean providerId?: boolean requestedScopesJson?: boolean createdAt?: boolean expiresAt?: boolean } export type CredentialOAuth2StateOmit = $Extensions.GetOmit<"state" | "instanceId" | "codeVerifier" | "providerId" | "requestedScopesJson" | "createdAt" | "expiresAt", ExtArgs["result"]["credentialOAuth2State"]> export type $CredentialOAuth2StatePayload = { name: "CredentialOAuth2State" objects: {} scalars: $Extensions.GetPayloadResult<{ state: string instanceId: string codeVerifier: string | null providerId: string | null requestedScopesJson: string createdAt: string expiresAt: string }, ExtArgs["result"]["credentialOAuth2State"]> composites: {} } type CredentialOAuth2StateGetPayload = $Result.GetResult type CredentialOAuth2StateCountArgs = Omit & { select?: CredentialOAuth2StateCountAggregateInputType | true } export interface CredentialOAuth2StateDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CredentialOAuth2State'], meta: { name: 'CredentialOAuth2State' } } /** * Find zero or one CredentialOAuth2State that matches the filter. * @param {CredentialOAuth2StateFindUniqueArgs} args - Arguments to find a CredentialOAuth2State * @example * // Get one CredentialOAuth2State * const credentialOAuth2State = await prisma.credentialOAuth2State.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CredentialOAuth2StateClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CredentialOAuth2State that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CredentialOAuth2StateFindUniqueOrThrowArgs} args - Arguments to find a CredentialOAuth2State * @example * // Get one CredentialOAuth2State * const credentialOAuth2State = await prisma.credentialOAuth2State.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CredentialOAuth2StateClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CredentialOAuth2State 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 {CredentialOAuth2StateFindFirstArgs} args - Arguments to find a CredentialOAuth2State * @example * // Get one CredentialOAuth2State * const credentialOAuth2State = await prisma.credentialOAuth2State.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CredentialOAuth2StateClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CredentialOAuth2State 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 {CredentialOAuth2StateFindFirstOrThrowArgs} args - Arguments to find a CredentialOAuth2State * @example * // Get one CredentialOAuth2State * const credentialOAuth2State = await prisma.credentialOAuth2State.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CredentialOAuth2StateClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CredentialOAuth2States 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 {CredentialOAuth2StateFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CredentialOAuth2States * const credentialOAuth2States = await prisma.credentialOAuth2State.findMany() * * // Get first 10 CredentialOAuth2States * const credentialOAuth2States = await prisma.credentialOAuth2State.findMany({ take: 10 }) * * // Only select the `state` * const credentialOAuth2StateWithStateOnly = await prisma.credentialOAuth2State.findMany({ select: { state: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a CredentialOAuth2State. * @param {CredentialOAuth2StateCreateArgs} args - Arguments to create a CredentialOAuth2State. * @example * // Create one CredentialOAuth2State * const CredentialOAuth2State = await prisma.credentialOAuth2State.create({ * data: { * // ... data to create a CredentialOAuth2State * } * }) * */ create(args: SelectSubset>): Prisma__CredentialOAuth2StateClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CredentialOAuth2States. * @param {CredentialOAuth2StateCreateManyArgs} args - Arguments to create many CredentialOAuth2States. * @example * // Create many CredentialOAuth2States * const credentialOAuth2State = await prisma.credentialOAuth2State.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many CredentialOAuth2States and returns the data saved in the database. * @param {CredentialOAuth2StateCreateManyAndReturnArgs} args - Arguments to create many CredentialOAuth2States. * @example * // Create many CredentialOAuth2States * const credentialOAuth2State = await prisma.credentialOAuth2State.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many CredentialOAuth2States and only return the `state` * const credentialOAuth2StateWithStateOnly = await prisma.credentialOAuth2State.createManyAndReturn({ * select: { state: 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 CredentialOAuth2State. * @param {CredentialOAuth2StateDeleteArgs} args - Arguments to delete one CredentialOAuth2State. * @example * // Delete one CredentialOAuth2State * const CredentialOAuth2State = await prisma.credentialOAuth2State.delete({ * where: { * // ... filter to delete one CredentialOAuth2State * } * }) * */ delete(args: SelectSubset>): Prisma__CredentialOAuth2StateClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CredentialOAuth2State. * @param {CredentialOAuth2StateUpdateArgs} args - Arguments to update one CredentialOAuth2State. * @example * // Update one CredentialOAuth2State * const credentialOAuth2State = await prisma.credentialOAuth2State.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CredentialOAuth2StateClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CredentialOAuth2States. * @param {CredentialOAuth2StateDeleteManyArgs} args - Arguments to filter CredentialOAuth2States to delete. * @example * // Delete a few CredentialOAuth2States * const { count } = await prisma.credentialOAuth2State.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CredentialOAuth2States. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialOAuth2StateUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CredentialOAuth2States * const credentialOAuth2State = await prisma.credentialOAuth2State.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CredentialOAuth2States and returns the data updated in the database. * @param {CredentialOAuth2StateUpdateManyAndReturnArgs} args - Arguments to update many CredentialOAuth2States. * @example * // Update many CredentialOAuth2States * const credentialOAuth2State = await prisma.credentialOAuth2State.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more CredentialOAuth2States and only return the `state` * const credentialOAuth2StateWithStateOnly = await prisma.credentialOAuth2State.updateManyAndReturn({ * select: { state: 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 CredentialOAuth2State. * @param {CredentialOAuth2StateUpsertArgs} args - Arguments to update or create a CredentialOAuth2State. * @example * // Update or create a CredentialOAuth2State * const credentialOAuth2State = await prisma.credentialOAuth2State.upsert({ * create: { * // ... data to create a CredentialOAuth2State * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CredentialOAuth2State we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CredentialOAuth2StateClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CredentialOAuth2States. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialOAuth2StateCountArgs} args - Arguments to filter CredentialOAuth2States to count. * @example * // Count the number of CredentialOAuth2States * const count = await prisma.credentialOAuth2State.count({ * where: { * // ... the filter for the CredentialOAuth2States 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 CredentialOAuth2State. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialOAuth2StateAggregateArgs} 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 CredentialOAuth2State. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialOAuth2StateGroupByArgs} 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 CredentialOAuth2StateGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CredentialOAuth2StateGroupByArgs['orderBy'] } : { orderBy?: CredentialOAuth2StateGroupByArgs['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 ? GetCredentialOAuth2StateGroupByPayload : Prisma.PrismaPromise /** * Fields of the CredentialOAuth2State model */ readonly fields: CredentialOAuth2StateFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CredentialOAuth2State. * 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__CredentialOAuth2StateClient 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 CredentialOAuth2State model */ interface CredentialOAuth2StateFieldRefs { readonly state: FieldRef<"CredentialOAuth2State", 'String'> readonly instanceId: FieldRef<"CredentialOAuth2State", 'String'> readonly codeVerifier: FieldRef<"CredentialOAuth2State", 'String'> readonly providerId: FieldRef<"CredentialOAuth2State", 'String'> readonly requestedScopesJson: FieldRef<"CredentialOAuth2State", 'String'> readonly createdAt: FieldRef<"CredentialOAuth2State", 'String'> readonly expiresAt: FieldRef<"CredentialOAuth2State", 'String'> } // Custom InputTypes /** * CredentialOAuth2State findUnique */ export type CredentialOAuth2StateFindUniqueArgs = { /** * Select specific fields to fetch from the CredentialOAuth2State */ select?: CredentialOAuth2StateSelect | null /** * Omit specific fields from the CredentialOAuth2State */ omit?: CredentialOAuth2StateOmit | null /** * Filter, which CredentialOAuth2State to fetch. */ where: CredentialOAuth2StateWhereUniqueInput } /** * CredentialOAuth2State findUniqueOrThrow */ export type CredentialOAuth2StateFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CredentialOAuth2State */ select?: CredentialOAuth2StateSelect | null /** * Omit specific fields from the CredentialOAuth2State */ omit?: CredentialOAuth2StateOmit | null /** * Filter, which CredentialOAuth2State to fetch. */ where: CredentialOAuth2StateWhereUniqueInput } /** * CredentialOAuth2State findFirst */ export type CredentialOAuth2StateFindFirstArgs = { /** * Select specific fields to fetch from the CredentialOAuth2State */ select?: CredentialOAuth2StateSelect | null /** * Omit specific fields from the CredentialOAuth2State */ omit?: CredentialOAuth2StateOmit | null /** * Filter, which CredentialOAuth2State to fetch. */ where?: CredentialOAuth2StateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialOAuth2States to fetch. */ orderBy?: CredentialOAuth2StateOrderByWithRelationInput | CredentialOAuth2StateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CredentialOAuth2States. */ cursor?: CredentialOAuth2StateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialOAuth2States from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialOAuth2States. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialOAuth2States. */ distinct?: CredentialOAuth2StateScalarFieldEnum | CredentialOAuth2StateScalarFieldEnum[] } /** * CredentialOAuth2State findFirstOrThrow */ export type CredentialOAuth2StateFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CredentialOAuth2State */ select?: CredentialOAuth2StateSelect | null /** * Omit specific fields from the CredentialOAuth2State */ omit?: CredentialOAuth2StateOmit | null /** * Filter, which CredentialOAuth2State to fetch. */ where?: CredentialOAuth2StateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialOAuth2States to fetch. */ orderBy?: CredentialOAuth2StateOrderByWithRelationInput | CredentialOAuth2StateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CredentialOAuth2States. */ cursor?: CredentialOAuth2StateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialOAuth2States from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialOAuth2States. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialOAuth2States. */ distinct?: CredentialOAuth2StateScalarFieldEnum | CredentialOAuth2StateScalarFieldEnum[] } /** * CredentialOAuth2State findMany */ export type CredentialOAuth2StateFindManyArgs = { /** * Select specific fields to fetch from the CredentialOAuth2State */ select?: CredentialOAuth2StateSelect | null /** * Omit specific fields from the CredentialOAuth2State */ omit?: CredentialOAuth2StateOmit | null /** * Filter, which CredentialOAuth2States to fetch. */ where?: CredentialOAuth2StateWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialOAuth2States to fetch. */ orderBy?: CredentialOAuth2StateOrderByWithRelationInput | CredentialOAuth2StateOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CredentialOAuth2States. */ cursor?: CredentialOAuth2StateWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialOAuth2States from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialOAuth2States. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialOAuth2States. */ distinct?: CredentialOAuth2StateScalarFieldEnum | CredentialOAuth2StateScalarFieldEnum[] } /** * CredentialOAuth2State create */ export type CredentialOAuth2StateCreateArgs = { /** * Select specific fields to fetch from the CredentialOAuth2State */ select?: CredentialOAuth2StateSelect | null /** * Omit specific fields from the CredentialOAuth2State */ omit?: CredentialOAuth2StateOmit | null /** * The data needed to create a CredentialOAuth2State. */ data: XOR } /** * CredentialOAuth2State createMany */ export type CredentialOAuth2StateCreateManyArgs = { /** * The data used to create many CredentialOAuth2States. */ data: CredentialOAuth2StateCreateManyInput | CredentialOAuth2StateCreateManyInput[] skipDuplicates?: boolean } /** * CredentialOAuth2State createManyAndReturn */ export type CredentialOAuth2StateCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the CredentialOAuth2State */ select?: CredentialOAuth2StateSelectCreateManyAndReturn | null /** * Omit specific fields from the CredentialOAuth2State */ omit?: CredentialOAuth2StateOmit | null /** * The data used to create many CredentialOAuth2States. */ data: CredentialOAuth2StateCreateManyInput | CredentialOAuth2StateCreateManyInput[] skipDuplicates?: boolean } /** * CredentialOAuth2State update */ export type CredentialOAuth2StateUpdateArgs = { /** * Select specific fields to fetch from the CredentialOAuth2State */ select?: CredentialOAuth2StateSelect | null /** * Omit specific fields from the CredentialOAuth2State */ omit?: CredentialOAuth2StateOmit | null /** * The data needed to update a CredentialOAuth2State. */ data: XOR /** * Choose, which CredentialOAuth2State to update. */ where: CredentialOAuth2StateWhereUniqueInput } /** * CredentialOAuth2State updateMany */ export type CredentialOAuth2StateUpdateManyArgs = { /** * The data used to update CredentialOAuth2States. */ data: XOR /** * Filter which CredentialOAuth2States to update */ where?: CredentialOAuth2StateWhereInput /** * Limit how many CredentialOAuth2States to update. */ limit?: number } /** * CredentialOAuth2State updateManyAndReturn */ export type CredentialOAuth2StateUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the CredentialOAuth2State */ select?: CredentialOAuth2StateSelectUpdateManyAndReturn | null /** * Omit specific fields from the CredentialOAuth2State */ omit?: CredentialOAuth2StateOmit | null /** * The data used to update CredentialOAuth2States. */ data: XOR /** * Filter which CredentialOAuth2States to update */ where?: CredentialOAuth2StateWhereInput /** * Limit how many CredentialOAuth2States to update. */ limit?: number } /** * CredentialOAuth2State upsert */ export type CredentialOAuth2StateUpsertArgs = { /** * Select specific fields to fetch from the CredentialOAuth2State */ select?: CredentialOAuth2StateSelect | null /** * Omit specific fields from the CredentialOAuth2State */ omit?: CredentialOAuth2StateOmit | null /** * The filter to search for the CredentialOAuth2State to update in case it exists. */ where: CredentialOAuth2StateWhereUniqueInput /** * In case the CredentialOAuth2State found by the `where` argument doesn't exist, create a new CredentialOAuth2State with this data. */ create: XOR /** * In case the CredentialOAuth2State was found with the provided `where` argument, update it with this data. */ update: XOR } /** * CredentialOAuth2State delete */ export type CredentialOAuth2StateDeleteArgs = { /** * Select specific fields to fetch from the CredentialOAuth2State */ select?: CredentialOAuth2StateSelect | null /** * Omit specific fields from the CredentialOAuth2State */ omit?: CredentialOAuth2StateOmit | null /** * Filter which CredentialOAuth2State to delete. */ where: CredentialOAuth2StateWhereUniqueInput } /** * CredentialOAuth2State deleteMany */ export type CredentialOAuth2StateDeleteManyArgs = { /** * Filter which CredentialOAuth2States to delete */ where?: CredentialOAuth2StateWhereInput /** * Limit how many CredentialOAuth2States to delete. */ limit?: number } /** * CredentialOAuth2State without action */ export type CredentialOAuth2StateDefaultArgs = { /** * Select specific fields to fetch from the CredentialOAuth2State */ select?: CredentialOAuth2StateSelect | null /** * Omit specific fields from the CredentialOAuth2State */ omit?: CredentialOAuth2StateOmit | null } /** * Model CredentialBinding */ export type AggregateCredentialBinding = { _count: CredentialBindingCountAggregateOutputType | null _min: CredentialBindingMinAggregateOutputType | null _max: CredentialBindingMaxAggregateOutputType | null } export type CredentialBindingMinAggregateOutputType = { workflowId: string | null nodeId: string | null slotKey: string | null instanceId: string | null updatedAt: string | null } export type CredentialBindingMaxAggregateOutputType = { workflowId: string | null nodeId: string | null slotKey: string | null instanceId: string | null updatedAt: string | null } export type CredentialBindingCountAggregateOutputType = { workflowId: number nodeId: number slotKey: number instanceId: number updatedAt: number _all: number } export type CredentialBindingMinAggregateInputType = { workflowId?: true nodeId?: true slotKey?: true instanceId?: true updatedAt?: true } export type CredentialBindingMaxAggregateInputType = { workflowId?: true nodeId?: true slotKey?: true instanceId?: true updatedAt?: true } export type CredentialBindingCountAggregateInputType = { workflowId?: true nodeId?: true slotKey?: true instanceId?: true updatedAt?: true _all?: true } export type CredentialBindingAggregateArgs = { /** * Filter which CredentialBinding to aggregate. */ where?: CredentialBindingWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialBindings to fetch. */ orderBy?: CredentialBindingOrderByWithRelationInput | CredentialBindingOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CredentialBindingWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialBindings from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialBindings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CredentialBindings **/ _count?: true | CredentialBindingCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CredentialBindingMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CredentialBindingMaxAggregateInputType } export type GetCredentialBindingAggregateType = { [P in keyof T & keyof AggregateCredentialBinding]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CredentialBindingGroupByArgs = { where?: CredentialBindingWhereInput orderBy?: CredentialBindingOrderByWithAggregationInput | CredentialBindingOrderByWithAggregationInput[] by: CredentialBindingScalarFieldEnum[] | CredentialBindingScalarFieldEnum having?: CredentialBindingScalarWhereWithAggregatesInput take?: number skip?: number _count?: CredentialBindingCountAggregateInputType | true _min?: CredentialBindingMinAggregateInputType _max?: CredentialBindingMaxAggregateInputType } export type CredentialBindingGroupByOutputType = { workflowId: string nodeId: string slotKey: string instanceId: string updatedAt: string _count: CredentialBindingCountAggregateOutputType | null _min: CredentialBindingMinAggregateOutputType | null _max: CredentialBindingMaxAggregateOutputType | null } type GetCredentialBindingGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CredentialBindingGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CredentialBindingSelect = $Extensions.GetSelect<{ workflowId?: boolean nodeId?: boolean slotKey?: boolean instanceId?: boolean updatedAt?: boolean }, ExtArgs["result"]["credentialBinding"]> export type CredentialBindingSelectCreateManyAndReturn = $Extensions.GetSelect<{ workflowId?: boolean nodeId?: boolean slotKey?: boolean instanceId?: boolean updatedAt?: boolean }, ExtArgs["result"]["credentialBinding"]> export type CredentialBindingSelectUpdateManyAndReturn = $Extensions.GetSelect<{ workflowId?: boolean nodeId?: boolean slotKey?: boolean instanceId?: boolean updatedAt?: boolean }, ExtArgs["result"]["credentialBinding"]> export type CredentialBindingSelectScalar = { workflowId?: boolean nodeId?: boolean slotKey?: boolean instanceId?: boolean updatedAt?: boolean } export type CredentialBindingOmit = $Extensions.GetOmit<"workflowId" | "nodeId" | "slotKey" | "instanceId" | "updatedAt", ExtArgs["result"]["credentialBinding"]> export type $CredentialBindingPayload = { name: "CredentialBinding" objects: {} scalars: $Extensions.GetPayloadResult<{ workflowId: string nodeId: string slotKey: string instanceId: string updatedAt: string }, ExtArgs["result"]["credentialBinding"]> composites: {} } type CredentialBindingGetPayload = $Result.GetResult type CredentialBindingCountArgs = Omit & { select?: CredentialBindingCountAggregateInputType | true } export interface CredentialBindingDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CredentialBinding'], meta: { name: 'CredentialBinding' } } /** * Find zero or one CredentialBinding that matches the filter. * @param {CredentialBindingFindUniqueArgs} args - Arguments to find a CredentialBinding * @example * // Get one CredentialBinding * const credentialBinding = await prisma.credentialBinding.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CredentialBindingClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CredentialBinding that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CredentialBindingFindUniqueOrThrowArgs} args - Arguments to find a CredentialBinding * @example * // Get one CredentialBinding * const credentialBinding = await prisma.credentialBinding.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CredentialBindingClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CredentialBinding 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 {CredentialBindingFindFirstArgs} args - Arguments to find a CredentialBinding * @example * // Get one CredentialBinding * const credentialBinding = await prisma.credentialBinding.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CredentialBindingClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CredentialBinding 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 {CredentialBindingFindFirstOrThrowArgs} args - Arguments to find a CredentialBinding * @example * // Get one CredentialBinding * const credentialBinding = await prisma.credentialBinding.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CredentialBindingClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CredentialBindings 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 {CredentialBindingFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CredentialBindings * const credentialBindings = await prisma.credentialBinding.findMany() * * // Get first 10 CredentialBindings * const credentialBindings = await prisma.credentialBinding.findMany({ take: 10 }) * * // Only select the `workflowId` * const credentialBindingWithWorkflowIdOnly = await prisma.credentialBinding.findMany({ select: { workflowId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a CredentialBinding. * @param {CredentialBindingCreateArgs} args - Arguments to create a CredentialBinding. * @example * // Create one CredentialBinding * const CredentialBinding = await prisma.credentialBinding.create({ * data: { * // ... data to create a CredentialBinding * } * }) * */ create(args: SelectSubset>): Prisma__CredentialBindingClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CredentialBindings. * @param {CredentialBindingCreateManyArgs} args - Arguments to create many CredentialBindings. * @example * // Create many CredentialBindings * const credentialBinding = await prisma.credentialBinding.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many CredentialBindings and returns the data saved in the database. * @param {CredentialBindingCreateManyAndReturnArgs} args - Arguments to create many CredentialBindings. * @example * // Create many CredentialBindings * const credentialBinding = await prisma.credentialBinding.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many CredentialBindings and only return the `workflowId` * const credentialBindingWithWorkflowIdOnly = await prisma.credentialBinding.createManyAndReturn({ * select: { workflowId: 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 CredentialBinding. * @param {CredentialBindingDeleteArgs} args - Arguments to delete one CredentialBinding. * @example * // Delete one CredentialBinding * const CredentialBinding = await prisma.credentialBinding.delete({ * where: { * // ... filter to delete one CredentialBinding * } * }) * */ delete(args: SelectSubset>): Prisma__CredentialBindingClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CredentialBinding. * @param {CredentialBindingUpdateArgs} args - Arguments to update one CredentialBinding. * @example * // Update one CredentialBinding * const credentialBinding = await prisma.credentialBinding.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CredentialBindingClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CredentialBindings. * @param {CredentialBindingDeleteManyArgs} args - Arguments to filter CredentialBindings to delete. * @example * // Delete a few CredentialBindings * const { count } = await prisma.credentialBinding.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CredentialBindings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialBindingUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CredentialBindings * const credentialBinding = await prisma.credentialBinding.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CredentialBindings and returns the data updated in the database. * @param {CredentialBindingUpdateManyAndReturnArgs} args - Arguments to update many CredentialBindings. * @example * // Update many CredentialBindings * const credentialBinding = await prisma.credentialBinding.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more CredentialBindings and only return the `workflowId` * const credentialBindingWithWorkflowIdOnly = await prisma.credentialBinding.updateManyAndReturn({ * select: { workflowId: 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 CredentialBinding. * @param {CredentialBindingUpsertArgs} args - Arguments to update or create a CredentialBinding. * @example * // Update or create a CredentialBinding * const credentialBinding = await prisma.credentialBinding.upsert({ * create: { * // ... data to create a CredentialBinding * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CredentialBinding we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CredentialBindingClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CredentialBindings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialBindingCountArgs} args - Arguments to filter CredentialBindings to count. * @example * // Count the number of CredentialBindings * const count = await prisma.credentialBinding.count({ * where: { * // ... the filter for the CredentialBindings 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 CredentialBinding. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialBindingAggregateArgs} 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 CredentialBinding. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialBindingGroupByArgs} 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 CredentialBindingGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CredentialBindingGroupByArgs['orderBy'] } : { orderBy?: CredentialBindingGroupByArgs['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 ? GetCredentialBindingGroupByPayload : Prisma.PrismaPromise /** * Fields of the CredentialBinding model */ readonly fields: CredentialBindingFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CredentialBinding. * 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__CredentialBindingClient 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 CredentialBinding model */ interface CredentialBindingFieldRefs { readonly workflowId: FieldRef<"CredentialBinding", 'String'> readonly nodeId: FieldRef<"CredentialBinding", 'String'> readonly slotKey: FieldRef<"CredentialBinding", 'String'> readonly instanceId: FieldRef<"CredentialBinding", 'String'> readonly updatedAt: FieldRef<"CredentialBinding", 'String'> } // Custom InputTypes /** * CredentialBinding findUnique */ export type CredentialBindingFindUniqueArgs = { /** * Select specific fields to fetch from the CredentialBinding */ select?: CredentialBindingSelect | null /** * Omit specific fields from the CredentialBinding */ omit?: CredentialBindingOmit | null /** * Filter, which CredentialBinding to fetch. */ where: CredentialBindingWhereUniqueInput } /** * CredentialBinding findUniqueOrThrow */ export type CredentialBindingFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CredentialBinding */ select?: CredentialBindingSelect | null /** * Omit specific fields from the CredentialBinding */ omit?: CredentialBindingOmit | null /** * Filter, which CredentialBinding to fetch. */ where: CredentialBindingWhereUniqueInput } /** * CredentialBinding findFirst */ export type CredentialBindingFindFirstArgs = { /** * Select specific fields to fetch from the CredentialBinding */ select?: CredentialBindingSelect | null /** * Omit specific fields from the CredentialBinding */ omit?: CredentialBindingOmit | null /** * Filter, which CredentialBinding to fetch. */ where?: CredentialBindingWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialBindings to fetch. */ orderBy?: CredentialBindingOrderByWithRelationInput | CredentialBindingOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CredentialBindings. */ cursor?: CredentialBindingWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialBindings from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialBindings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialBindings. */ distinct?: CredentialBindingScalarFieldEnum | CredentialBindingScalarFieldEnum[] } /** * CredentialBinding findFirstOrThrow */ export type CredentialBindingFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CredentialBinding */ select?: CredentialBindingSelect | null /** * Omit specific fields from the CredentialBinding */ omit?: CredentialBindingOmit | null /** * Filter, which CredentialBinding to fetch. */ where?: CredentialBindingWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialBindings to fetch. */ orderBy?: CredentialBindingOrderByWithRelationInput | CredentialBindingOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CredentialBindings. */ cursor?: CredentialBindingWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialBindings from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialBindings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialBindings. */ distinct?: CredentialBindingScalarFieldEnum | CredentialBindingScalarFieldEnum[] } /** * CredentialBinding findMany */ export type CredentialBindingFindManyArgs = { /** * Select specific fields to fetch from the CredentialBinding */ select?: CredentialBindingSelect | null /** * Omit specific fields from the CredentialBinding */ omit?: CredentialBindingOmit | null /** * Filter, which CredentialBindings to fetch. */ where?: CredentialBindingWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialBindings to fetch. */ orderBy?: CredentialBindingOrderByWithRelationInput | CredentialBindingOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CredentialBindings. */ cursor?: CredentialBindingWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialBindings from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialBindings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialBindings. */ distinct?: CredentialBindingScalarFieldEnum | CredentialBindingScalarFieldEnum[] } /** * CredentialBinding create */ export type CredentialBindingCreateArgs = { /** * Select specific fields to fetch from the CredentialBinding */ select?: CredentialBindingSelect | null /** * Omit specific fields from the CredentialBinding */ omit?: CredentialBindingOmit | null /** * The data needed to create a CredentialBinding. */ data: XOR } /** * CredentialBinding createMany */ export type CredentialBindingCreateManyArgs = { /** * The data used to create many CredentialBindings. */ data: CredentialBindingCreateManyInput | CredentialBindingCreateManyInput[] skipDuplicates?: boolean } /** * CredentialBinding createManyAndReturn */ export type CredentialBindingCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the CredentialBinding */ select?: CredentialBindingSelectCreateManyAndReturn | null /** * Omit specific fields from the CredentialBinding */ omit?: CredentialBindingOmit | null /** * The data used to create many CredentialBindings. */ data: CredentialBindingCreateManyInput | CredentialBindingCreateManyInput[] skipDuplicates?: boolean } /** * CredentialBinding update */ export type CredentialBindingUpdateArgs = { /** * Select specific fields to fetch from the CredentialBinding */ select?: CredentialBindingSelect | null /** * Omit specific fields from the CredentialBinding */ omit?: CredentialBindingOmit | null /** * The data needed to update a CredentialBinding. */ data: XOR /** * Choose, which CredentialBinding to update. */ where: CredentialBindingWhereUniqueInput } /** * CredentialBinding updateMany */ export type CredentialBindingUpdateManyArgs = { /** * The data used to update CredentialBindings. */ data: XOR /** * Filter which CredentialBindings to update */ where?: CredentialBindingWhereInput /** * Limit how many CredentialBindings to update. */ limit?: number } /** * CredentialBinding updateManyAndReturn */ export type CredentialBindingUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the CredentialBinding */ select?: CredentialBindingSelectUpdateManyAndReturn | null /** * Omit specific fields from the CredentialBinding */ omit?: CredentialBindingOmit | null /** * The data used to update CredentialBindings. */ data: XOR /** * Filter which CredentialBindings to update */ where?: CredentialBindingWhereInput /** * Limit how many CredentialBindings to update. */ limit?: number } /** * CredentialBinding upsert */ export type CredentialBindingUpsertArgs = { /** * Select specific fields to fetch from the CredentialBinding */ select?: CredentialBindingSelect | null /** * Omit specific fields from the CredentialBinding */ omit?: CredentialBindingOmit | null /** * The filter to search for the CredentialBinding to update in case it exists. */ where: CredentialBindingWhereUniqueInput /** * In case the CredentialBinding found by the `where` argument doesn't exist, create a new CredentialBinding with this data. */ create: XOR /** * In case the CredentialBinding was found with the provided `where` argument, update it with this data. */ update: XOR } /** * CredentialBinding delete */ export type CredentialBindingDeleteArgs = { /** * Select specific fields to fetch from the CredentialBinding */ select?: CredentialBindingSelect | null /** * Omit specific fields from the CredentialBinding */ omit?: CredentialBindingOmit | null /** * Filter which CredentialBinding to delete. */ where: CredentialBindingWhereUniqueInput } /** * CredentialBinding deleteMany */ export type CredentialBindingDeleteManyArgs = { /** * Filter which CredentialBindings to delete */ where?: CredentialBindingWhereInput /** * Limit how many CredentialBindings to delete. */ limit?: number } /** * CredentialBinding without action */ export type CredentialBindingDefaultArgs = { /** * Select specific fields to fetch from the CredentialBinding */ select?: CredentialBindingSelect | null /** * Omit specific fields from the CredentialBinding */ omit?: CredentialBindingOmit | null } /** * Model CredentialTestResult */ export type AggregateCredentialTestResult = { _count: CredentialTestResultCountAggregateOutputType | null _min: CredentialTestResultMinAggregateOutputType | null _max: CredentialTestResultMaxAggregateOutputType | null } export type CredentialTestResultMinAggregateOutputType = { testId: string | null instanceId: string | null status: string | null message: string | null detailsJson: string | null testedAt: string | null expiresAt: string | null } export type CredentialTestResultMaxAggregateOutputType = { testId: string | null instanceId: string | null status: string | null message: string | null detailsJson: string | null testedAt: string | null expiresAt: string | null } export type CredentialTestResultCountAggregateOutputType = { testId: number instanceId: number status: number message: number detailsJson: number testedAt: number expiresAt: number _all: number } export type CredentialTestResultMinAggregateInputType = { testId?: true instanceId?: true status?: true message?: true detailsJson?: true testedAt?: true expiresAt?: true } export type CredentialTestResultMaxAggregateInputType = { testId?: true instanceId?: true status?: true message?: true detailsJson?: true testedAt?: true expiresAt?: true } export type CredentialTestResultCountAggregateInputType = { testId?: true instanceId?: true status?: true message?: true detailsJson?: true testedAt?: true expiresAt?: true _all?: true } export type CredentialTestResultAggregateArgs = { /** * Filter which CredentialTestResult to aggregate. */ where?: CredentialTestResultWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialTestResults to fetch. */ orderBy?: CredentialTestResultOrderByWithRelationInput | CredentialTestResultOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CredentialTestResultWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialTestResults from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialTestResults. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CredentialTestResults **/ _count?: true | CredentialTestResultCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CredentialTestResultMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CredentialTestResultMaxAggregateInputType } export type GetCredentialTestResultAggregateType = { [P in keyof T & keyof AggregateCredentialTestResult]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CredentialTestResultGroupByArgs = { where?: CredentialTestResultWhereInput orderBy?: CredentialTestResultOrderByWithAggregationInput | CredentialTestResultOrderByWithAggregationInput[] by: CredentialTestResultScalarFieldEnum[] | CredentialTestResultScalarFieldEnum having?: CredentialTestResultScalarWhereWithAggregatesInput take?: number skip?: number _count?: CredentialTestResultCountAggregateInputType | true _min?: CredentialTestResultMinAggregateInputType _max?: CredentialTestResultMaxAggregateInputType } export type CredentialTestResultGroupByOutputType = { testId: string instanceId: string status: string message: string | null detailsJson: string testedAt: string expiresAt: string | null _count: CredentialTestResultCountAggregateOutputType | null _min: CredentialTestResultMinAggregateOutputType | null _max: CredentialTestResultMaxAggregateOutputType | null } type GetCredentialTestResultGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CredentialTestResultGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CredentialTestResultSelect = $Extensions.GetSelect<{ testId?: boolean instanceId?: boolean status?: boolean message?: boolean detailsJson?: boolean testedAt?: boolean expiresAt?: boolean }, ExtArgs["result"]["credentialTestResult"]> export type CredentialTestResultSelectCreateManyAndReturn = $Extensions.GetSelect<{ testId?: boolean instanceId?: boolean status?: boolean message?: boolean detailsJson?: boolean testedAt?: boolean expiresAt?: boolean }, ExtArgs["result"]["credentialTestResult"]> export type CredentialTestResultSelectUpdateManyAndReturn = $Extensions.GetSelect<{ testId?: boolean instanceId?: boolean status?: boolean message?: boolean detailsJson?: boolean testedAt?: boolean expiresAt?: boolean }, ExtArgs["result"]["credentialTestResult"]> export type CredentialTestResultSelectScalar = { testId?: boolean instanceId?: boolean status?: boolean message?: boolean detailsJson?: boolean testedAt?: boolean expiresAt?: boolean } export type CredentialTestResultOmit = $Extensions.GetOmit<"testId" | "instanceId" | "status" | "message" | "detailsJson" | "testedAt" | "expiresAt", ExtArgs["result"]["credentialTestResult"]> export type $CredentialTestResultPayload = { name: "CredentialTestResult" objects: {} scalars: $Extensions.GetPayloadResult<{ testId: string instanceId: string status: string message: string | null detailsJson: string testedAt: string expiresAt: string | null }, ExtArgs["result"]["credentialTestResult"]> composites: {} } type CredentialTestResultGetPayload = $Result.GetResult type CredentialTestResultCountArgs = Omit & { select?: CredentialTestResultCountAggregateInputType | true } export interface CredentialTestResultDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CredentialTestResult'], meta: { name: 'CredentialTestResult' } } /** * Find zero or one CredentialTestResult that matches the filter. * @param {CredentialTestResultFindUniqueArgs} args - Arguments to find a CredentialTestResult * @example * // Get one CredentialTestResult * const credentialTestResult = await prisma.credentialTestResult.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CredentialTestResultClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CredentialTestResult that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CredentialTestResultFindUniqueOrThrowArgs} args - Arguments to find a CredentialTestResult * @example * // Get one CredentialTestResult * const credentialTestResult = await prisma.credentialTestResult.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CredentialTestResultClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CredentialTestResult 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 {CredentialTestResultFindFirstArgs} args - Arguments to find a CredentialTestResult * @example * // Get one CredentialTestResult * const credentialTestResult = await prisma.credentialTestResult.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CredentialTestResultClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CredentialTestResult 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 {CredentialTestResultFindFirstOrThrowArgs} args - Arguments to find a CredentialTestResult * @example * // Get one CredentialTestResult * const credentialTestResult = await prisma.credentialTestResult.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CredentialTestResultClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CredentialTestResults 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 {CredentialTestResultFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CredentialTestResults * const credentialTestResults = await prisma.credentialTestResult.findMany() * * // Get first 10 CredentialTestResults * const credentialTestResults = await prisma.credentialTestResult.findMany({ take: 10 }) * * // Only select the `testId` * const credentialTestResultWithTestIdOnly = await prisma.credentialTestResult.findMany({ select: { testId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a CredentialTestResult. * @param {CredentialTestResultCreateArgs} args - Arguments to create a CredentialTestResult. * @example * // Create one CredentialTestResult * const CredentialTestResult = await prisma.credentialTestResult.create({ * data: { * // ... data to create a CredentialTestResult * } * }) * */ create(args: SelectSubset>): Prisma__CredentialTestResultClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CredentialTestResults. * @param {CredentialTestResultCreateManyArgs} args - Arguments to create many CredentialTestResults. * @example * // Create many CredentialTestResults * const credentialTestResult = await prisma.credentialTestResult.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many CredentialTestResults and returns the data saved in the database. * @param {CredentialTestResultCreateManyAndReturnArgs} args - Arguments to create many CredentialTestResults. * @example * // Create many CredentialTestResults * const credentialTestResult = await prisma.credentialTestResult.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many CredentialTestResults and only return the `testId` * const credentialTestResultWithTestIdOnly = await prisma.credentialTestResult.createManyAndReturn({ * select: { testId: 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 CredentialTestResult. * @param {CredentialTestResultDeleteArgs} args - Arguments to delete one CredentialTestResult. * @example * // Delete one CredentialTestResult * const CredentialTestResult = await prisma.credentialTestResult.delete({ * where: { * // ... filter to delete one CredentialTestResult * } * }) * */ delete(args: SelectSubset>): Prisma__CredentialTestResultClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CredentialTestResult. * @param {CredentialTestResultUpdateArgs} args - Arguments to update one CredentialTestResult. * @example * // Update one CredentialTestResult * const credentialTestResult = await prisma.credentialTestResult.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CredentialTestResultClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CredentialTestResults. * @param {CredentialTestResultDeleteManyArgs} args - Arguments to filter CredentialTestResults to delete. * @example * // Delete a few CredentialTestResults * const { count } = await prisma.credentialTestResult.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CredentialTestResults. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialTestResultUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CredentialTestResults * const credentialTestResult = await prisma.credentialTestResult.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CredentialTestResults and returns the data updated in the database. * @param {CredentialTestResultUpdateManyAndReturnArgs} args - Arguments to update many CredentialTestResults. * @example * // Update many CredentialTestResults * const credentialTestResult = await prisma.credentialTestResult.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more CredentialTestResults and only return the `testId` * const credentialTestResultWithTestIdOnly = await prisma.credentialTestResult.updateManyAndReturn({ * select: { testId: 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 CredentialTestResult. * @param {CredentialTestResultUpsertArgs} args - Arguments to update or create a CredentialTestResult. * @example * // Update or create a CredentialTestResult * const credentialTestResult = await prisma.credentialTestResult.upsert({ * create: { * // ... data to create a CredentialTestResult * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CredentialTestResult we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CredentialTestResultClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CredentialTestResults. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialTestResultCountArgs} args - Arguments to filter CredentialTestResults to count. * @example * // Count the number of CredentialTestResults * const count = await prisma.credentialTestResult.count({ * where: { * // ... the filter for the CredentialTestResults 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 CredentialTestResult. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialTestResultAggregateArgs} 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 CredentialTestResult. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CredentialTestResultGroupByArgs} 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 CredentialTestResultGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CredentialTestResultGroupByArgs['orderBy'] } : { orderBy?: CredentialTestResultGroupByArgs['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 ? GetCredentialTestResultGroupByPayload : Prisma.PrismaPromise /** * Fields of the CredentialTestResult model */ readonly fields: CredentialTestResultFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CredentialTestResult. * 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__CredentialTestResultClient 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 CredentialTestResult model */ interface CredentialTestResultFieldRefs { readonly testId: FieldRef<"CredentialTestResult", 'String'> readonly instanceId: FieldRef<"CredentialTestResult", 'String'> readonly status: FieldRef<"CredentialTestResult", 'String'> readonly message: FieldRef<"CredentialTestResult", 'String'> readonly detailsJson: FieldRef<"CredentialTestResult", 'String'> readonly testedAt: FieldRef<"CredentialTestResult", 'String'> readonly expiresAt: FieldRef<"CredentialTestResult", 'String'> } // Custom InputTypes /** * CredentialTestResult findUnique */ export type CredentialTestResultFindUniqueArgs = { /** * Select specific fields to fetch from the CredentialTestResult */ select?: CredentialTestResultSelect | null /** * Omit specific fields from the CredentialTestResult */ omit?: CredentialTestResultOmit | null /** * Filter, which CredentialTestResult to fetch. */ where: CredentialTestResultWhereUniqueInput } /** * CredentialTestResult findUniqueOrThrow */ export type CredentialTestResultFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CredentialTestResult */ select?: CredentialTestResultSelect | null /** * Omit specific fields from the CredentialTestResult */ omit?: CredentialTestResultOmit | null /** * Filter, which CredentialTestResult to fetch. */ where: CredentialTestResultWhereUniqueInput } /** * CredentialTestResult findFirst */ export type CredentialTestResultFindFirstArgs = { /** * Select specific fields to fetch from the CredentialTestResult */ select?: CredentialTestResultSelect | null /** * Omit specific fields from the CredentialTestResult */ omit?: CredentialTestResultOmit | null /** * Filter, which CredentialTestResult to fetch. */ where?: CredentialTestResultWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialTestResults to fetch. */ orderBy?: CredentialTestResultOrderByWithRelationInput | CredentialTestResultOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CredentialTestResults. */ cursor?: CredentialTestResultWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialTestResults from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialTestResults. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialTestResults. */ distinct?: CredentialTestResultScalarFieldEnum | CredentialTestResultScalarFieldEnum[] } /** * CredentialTestResult findFirstOrThrow */ export type CredentialTestResultFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CredentialTestResult */ select?: CredentialTestResultSelect | null /** * Omit specific fields from the CredentialTestResult */ omit?: CredentialTestResultOmit | null /** * Filter, which CredentialTestResult to fetch. */ where?: CredentialTestResultWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialTestResults to fetch. */ orderBy?: CredentialTestResultOrderByWithRelationInput | CredentialTestResultOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CredentialTestResults. */ cursor?: CredentialTestResultWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialTestResults from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialTestResults. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialTestResults. */ distinct?: CredentialTestResultScalarFieldEnum | CredentialTestResultScalarFieldEnum[] } /** * CredentialTestResult findMany */ export type CredentialTestResultFindManyArgs = { /** * Select specific fields to fetch from the CredentialTestResult */ select?: CredentialTestResultSelect | null /** * Omit specific fields from the CredentialTestResult */ omit?: CredentialTestResultOmit | null /** * Filter, which CredentialTestResults to fetch. */ where?: CredentialTestResultWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CredentialTestResults to fetch. */ orderBy?: CredentialTestResultOrderByWithRelationInput | CredentialTestResultOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CredentialTestResults. */ cursor?: CredentialTestResultWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CredentialTestResults from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CredentialTestResults. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CredentialTestResults. */ distinct?: CredentialTestResultScalarFieldEnum | CredentialTestResultScalarFieldEnum[] } /** * CredentialTestResult create */ export type CredentialTestResultCreateArgs = { /** * Select specific fields to fetch from the CredentialTestResult */ select?: CredentialTestResultSelect | null /** * Omit specific fields from the CredentialTestResult */ omit?: CredentialTestResultOmit | null /** * The data needed to create a CredentialTestResult. */ data: XOR } /** * CredentialTestResult createMany */ export type CredentialTestResultCreateManyArgs = { /** * The data used to create many CredentialTestResults. */ data: CredentialTestResultCreateManyInput | CredentialTestResultCreateManyInput[] skipDuplicates?: boolean } /** * CredentialTestResult createManyAndReturn */ export type CredentialTestResultCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the CredentialTestResult */ select?: CredentialTestResultSelectCreateManyAndReturn | null /** * Omit specific fields from the CredentialTestResult */ omit?: CredentialTestResultOmit | null /** * The data used to create many CredentialTestResults. */ data: CredentialTestResultCreateManyInput | CredentialTestResultCreateManyInput[] skipDuplicates?: boolean } /** * CredentialTestResult update */ export type CredentialTestResultUpdateArgs = { /** * Select specific fields to fetch from the CredentialTestResult */ select?: CredentialTestResultSelect | null /** * Omit specific fields from the CredentialTestResult */ omit?: CredentialTestResultOmit | null /** * The data needed to update a CredentialTestResult. */ data: XOR /** * Choose, which CredentialTestResult to update. */ where: CredentialTestResultWhereUniqueInput } /** * CredentialTestResult updateMany */ export type CredentialTestResultUpdateManyArgs = { /** * The data used to update CredentialTestResults. */ data: XOR /** * Filter which CredentialTestResults to update */ where?: CredentialTestResultWhereInput /** * Limit how many CredentialTestResults to update. */ limit?: number } /** * CredentialTestResult updateManyAndReturn */ export type CredentialTestResultUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the CredentialTestResult */ select?: CredentialTestResultSelectUpdateManyAndReturn | null /** * Omit specific fields from the CredentialTestResult */ omit?: CredentialTestResultOmit | null /** * The data used to update CredentialTestResults. */ data: XOR /** * Filter which CredentialTestResults to update */ where?: CredentialTestResultWhereInput /** * Limit how many CredentialTestResults to update. */ limit?: number } /** * CredentialTestResult upsert */ export type CredentialTestResultUpsertArgs = { /** * Select specific fields to fetch from the CredentialTestResult */ select?: CredentialTestResultSelect | null /** * Omit specific fields from the CredentialTestResult */ omit?: CredentialTestResultOmit | null /** * The filter to search for the CredentialTestResult to update in case it exists. */ where: CredentialTestResultWhereUniqueInput /** * In case the CredentialTestResult found by the `where` argument doesn't exist, create a new CredentialTestResult with this data. */ create: XOR /** * In case the CredentialTestResult was found with the provided `where` argument, update it with this data. */ update: XOR } /** * CredentialTestResult delete */ export type CredentialTestResultDeleteArgs = { /** * Select specific fields to fetch from the CredentialTestResult */ select?: CredentialTestResultSelect | null /** * Omit specific fields from the CredentialTestResult */ omit?: CredentialTestResultOmit | null /** * Filter which CredentialTestResult to delete. */ where: CredentialTestResultWhereUniqueInput } /** * CredentialTestResult deleteMany */ export type CredentialTestResultDeleteManyArgs = { /** * Filter which CredentialTestResults to delete */ where?: CredentialTestResultWhereInput /** * Limit how many CredentialTestResults to delete. */ limit?: number } /** * CredentialTestResult without action */ export type CredentialTestResultDefaultArgs = { /** * Select specific fields to fetch from the CredentialTestResult */ select?: CredentialTestResultSelect | null /** * Omit specific fields from the CredentialTestResult */ omit?: CredentialTestResultOmit | 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: boolean | null image: string | null passwordHash: string | null accountStatus: string | null createdAt: Date | null updatedAt: Date | null } export type UserMaxAggregateOutputType = { id: string | null name: string | null email: string | null emailVerified: boolean | null image: string | null passwordHash: string | null accountStatus: string | null createdAt: Date | null updatedAt: Date | null } export type UserCountAggregateOutputType = { id: number name: number email: number emailVerified: number image: number passwordHash: number accountStatus: number createdAt: number updatedAt: number _all: number } export type UserMinAggregateInputType = { id?: true name?: true email?: true emailVerified?: true image?: true passwordHash?: true accountStatus?: true createdAt?: true updatedAt?: true } export type UserMaxAggregateInputType = { id?: true name?: true email?: true emailVerified?: true image?: true passwordHash?: true accountStatus?: true createdAt?: true updatedAt?: true } export type UserCountAggregateInputType = { id?: true name?: true email?: true emailVerified?: true image?: true passwordHash?: true accountStatus?: true createdAt?: true updatedAt?: 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: boolean image: string | null passwordHash: string | null accountStatus: string createdAt: Date updatedAt: Date _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 image?: boolean passwordHash?: boolean accountStatus?: boolean createdAt?: boolean updatedAt?: boolean accounts?: boolean | User$accountsArgs sessions?: boolean | User$sessionsArgs invites?: boolean | User$invitesArgs _count?: boolean | UserCountOutputTypeDefaultArgs }, ExtArgs["result"]["user"]> export type UserSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean email?: boolean emailVerified?: boolean image?: boolean passwordHash?: boolean accountStatus?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["user"]> export type UserSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean email?: boolean emailVerified?: boolean image?: boolean passwordHash?: boolean accountStatus?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["user"]> export type UserSelectScalar = { id?: boolean name?: boolean email?: boolean emailVerified?: boolean image?: boolean passwordHash?: boolean accountStatus?: boolean createdAt?: boolean updatedAt?: boolean } export type UserOmit = $Extensions.GetOmit<"id" | "name" | "email" | "emailVerified" | "image" | "passwordHash" | "accountStatus" | "createdAt" | "updatedAt", ExtArgs["result"]["user"]> export type UserInclude = { accounts?: boolean | User$accountsArgs sessions?: boolean | User$sessionsArgs invites?: boolean | User$invitesArgs _count?: boolean | UserCountOutputTypeDefaultArgs } export type UserIncludeCreateManyAndReturn = {} export type UserIncludeUpdateManyAndReturn = {} export type $UserPayload = { name: "User" objects: { accounts: Prisma.$AccountPayload[] sessions: Prisma.$SessionPayload[] invites: Prisma.$UserInvitePayload[] } scalars: $Extensions.GetPayloadResult<{ id: string name: string | null email: string | null emailVerified: boolean image: string | null passwordHash: string | null /** * invited | active | inactive (local directory / invite flow) */ accountStatus: string createdAt: Date updatedAt: Date }, 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> invites = {}>(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", 'Boolean'> readonly image: FieldRef<"User", 'String'> readonly passwordHash: FieldRef<"User", 'String'> readonly accountStatus: FieldRef<"User", 'String'> readonly createdAt: FieldRef<"User", 'DateTime'> readonly updatedAt: FieldRef<"User", 'DateTime'> } // 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 } /** * 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 } /** * 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[] } /** * 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[] } /** * 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 /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Users. */ distinct?: UserScalarFieldEnum | UserScalarFieldEnum[] } /** * 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 } /** * 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 } /** * 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 } /** * 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 } /** * 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.invites */ export type User$invitesArgs = { /** * Select specific fields to fetch from the UserInvite */ select?: UserInviteSelect | null /** * Omit specific fields from the UserInvite */ omit?: UserInviteOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInviteInclude | null where?: UserInviteWhereInput orderBy?: UserInviteOrderByWithRelationInput | UserInviteOrderByWithRelationInput[] cursor?: UserInviteWhereUniqueInput take?: number skip?: number distinct?: UserInviteScalarFieldEnum | UserInviteScalarFieldEnum[] } /** * 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 UserInvite */ export type AggregateUserInvite = { _count: UserInviteCountAggregateOutputType | null _min: UserInviteMinAggregateOutputType | null _max: UserInviteMaxAggregateOutputType | null } export type UserInviteMinAggregateOutputType = { id: string | null userId: string | null tokenHash: string | null expiresAt: Date | null createdAt: Date | null revokedAt: Date | null } export type UserInviteMaxAggregateOutputType = { id: string | null userId: string | null tokenHash: string | null expiresAt: Date | null createdAt: Date | null revokedAt: Date | null } export type UserInviteCountAggregateOutputType = { id: number userId: number tokenHash: number expiresAt: number createdAt: number revokedAt: number _all: number } export type UserInviteMinAggregateInputType = { id?: true userId?: true tokenHash?: true expiresAt?: true createdAt?: true revokedAt?: true } export type UserInviteMaxAggregateInputType = { id?: true userId?: true tokenHash?: true expiresAt?: true createdAt?: true revokedAt?: true } export type UserInviteCountAggregateInputType = { id?: true userId?: true tokenHash?: true expiresAt?: true createdAt?: true revokedAt?: true _all?: true } export type UserInviteAggregateArgs = { /** * Filter which UserInvite to aggregate. */ where?: UserInviteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserInvites to fetch. */ orderBy?: UserInviteOrderByWithRelationInput | UserInviteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: UserInviteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserInvites from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserInvites. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned UserInvites **/ _count?: true | UserInviteCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: UserInviteMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: UserInviteMaxAggregateInputType } export type GetUserInviteAggregateType = { [P in keyof T & keyof AggregateUserInvite]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type UserInviteGroupByArgs = { where?: UserInviteWhereInput orderBy?: UserInviteOrderByWithAggregationInput | UserInviteOrderByWithAggregationInput[] by: UserInviteScalarFieldEnum[] | UserInviteScalarFieldEnum having?: UserInviteScalarWhereWithAggregatesInput take?: number skip?: number _count?: UserInviteCountAggregateInputType | true _min?: UserInviteMinAggregateInputType _max?: UserInviteMaxAggregateInputType } export type UserInviteGroupByOutputType = { id: string userId: string tokenHash: string expiresAt: Date createdAt: Date revokedAt: Date | null _count: UserInviteCountAggregateOutputType | null _min: UserInviteMinAggregateOutputType | null _max: UserInviteMaxAggregateOutputType | null } type GetUserInviteGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof UserInviteGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type UserInviteSelect = $Extensions.GetSelect<{ id?: boolean userId?: boolean tokenHash?: boolean expiresAt?: boolean createdAt?: boolean revokedAt?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["userInvite"]> export type UserInviteSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean userId?: boolean tokenHash?: boolean expiresAt?: boolean createdAt?: boolean revokedAt?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["userInvite"]> export type UserInviteSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean userId?: boolean tokenHash?: boolean expiresAt?: boolean createdAt?: boolean revokedAt?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["userInvite"]> export type UserInviteSelectScalar = { id?: boolean userId?: boolean tokenHash?: boolean expiresAt?: boolean createdAt?: boolean revokedAt?: boolean } export type UserInviteOmit = $Extensions.GetOmit<"id" | "userId" | "tokenHash" | "expiresAt" | "createdAt" | "revokedAt", ExtArgs["result"]["userInvite"]> export type UserInviteInclude = { user?: boolean | UserDefaultArgs } export type UserInviteIncludeCreateManyAndReturn = { user?: boolean | UserDefaultArgs } export type UserInviteIncludeUpdateManyAndReturn = { user?: boolean | UserDefaultArgs } export type $UserInvitePayload = { name: "UserInvite" objects: { user: Prisma.$UserPayload } scalars: $Extensions.GetPayloadResult<{ id: string userId: string tokenHash: string expiresAt: Date createdAt: Date revokedAt: Date | null }, ExtArgs["result"]["userInvite"]> composites: {} } type UserInviteGetPayload = $Result.GetResult type UserInviteCountArgs = Omit & { select?: UserInviteCountAggregateInputType | true } export interface UserInviteDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['UserInvite'], meta: { name: 'UserInvite' } } /** * Find zero or one UserInvite that matches the filter. * @param {UserInviteFindUniqueArgs} args - Arguments to find a UserInvite * @example * // Get one UserInvite * const userInvite = await prisma.userInvite.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__UserInviteClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one UserInvite that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {UserInviteFindUniqueOrThrowArgs} args - Arguments to find a UserInvite * @example * // Get one UserInvite * const userInvite = await prisma.userInvite.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__UserInviteClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first UserInvite 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 {UserInviteFindFirstArgs} args - Arguments to find a UserInvite * @example * // Get one UserInvite * const userInvite = await prisma.userInvite.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__UserInviteClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first UserInvite 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 {UserInviteFindFirstOrThrowArgs} args - Arguments to find a UserInvite * @example * // Get one UserInvite * const userInvite = await prisma.userInvite.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__UserInviteClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more UserInvites 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 {UserInviteFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all UserInvites * const userInvites = await prisma.userInvite.findMany() * * // Get first 10 UserInvites * const userInvites = await prisma.userInvite.findMany({ take: 10 }) * * // Only select the `id` * const userInviteWithIdOnly = await prisma.userInvite.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a UserInvite. * @param {UserInviteCreateArgs} args - Arguments to create a UserInvite. * @example * // Create one UserInvite * const UserInvite = await prisma.userInvite.create({ * data: { * // ... data to create a UserInvite * } * }) * */ create(args: SelectSubset>): Prisma__UserInviteClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many UserInvites. * @param {UserInviteCreateManyArgs} args - Arguments to create many UserInvites. * @example * // Create many UserInvites * const userInvite = await prisma.userInvite.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many UserInvites and returns the data saved in the database. * @param {UserInviteCreateManyAndReturnArgs} args - Arguments to create many UserInvites. * @example * // Create many UserInvites * const userInvite = await prisma.userInvite.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many UserInvites and only return the `id` * const userInviteWithIdOnly = await prisma.userInvite.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 UserInvite. * @param {UserInviteDeleteArgs} args - Arguments to delete one UserInvite. * @example * // Delete one UserInvite * const UserInvite = await prisma.userInvite.delete({ * where: { * // ... filter to delete one UserInvite * } * }) * */ delete(args: SelectSubset>): Prisma__UserInviteClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one UserInvite. * @param {UserInviteUpdateArgs} args - Arguments to update one UserInvite. * @example * // Update one UserInvite * const userInvite = await prisma.userInvite.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__UserInviteClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more UserInvites. * @param {UserInviteDeleteManyArgs} args - Arguments to filter UserInvites to delete. * @example * // Delete a few UserInvites * const { count } = await prisma.userInvite.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more UserInvites. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserInviteUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many UserInvites * const userInvite = await prisma.userInvite.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more UserInvites and returns the data updated in the database. * @param {UserInviteUpdateManyAndReturnArgs} args - Arguments to update many UserInvites. * @example * // Update many UserInvites * const userInvite = await prisma.userInvite.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more UserInvites and only return the `id` * const userInviteWithIdOnly = await prisma.userInvite.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 UserInvite. * @param {UserInviteUpsertArgs} args - Arguments to update or create a UserInvite. * @example * // Update or create a UserInvite * const userInvite = await prisma.userInvite.upsert({ * create: { * // ... data to create a UserInvite * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the UserInvite we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__UserInviteClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of UserInvites. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserInviteCountArgs} args - Arguments to filter UserInvites to count. * @example * // Count the number of UserInvites * const count = await prisma.userInvite.count({ * where: { * // ... the filter for the UserInvites 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 UserInvite. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserInviteAggregateArgs} 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 UserInvite. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserInviteGroupByArgs} 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 UserInviteGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: UserInviteGroupByArgs['orderBy'] } : { orderBy?: UserInviteGroupByArgs['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 ? GetUserInviteGroupByPayload : Prisma.PrismaPromise /** * Fields of the UserInvite model */ readonly fields: UserInviteFieldRefs; } /** * The delegate class that acts as a "Promise-like" for UserInvite. * 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__UserInviteClient 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 UserInvite model */ interface UserInviteFieldRefs { readonly id: FieldRef<"UserInvite", 'String'> readonly userId: FieldRef<"UserInvite", 'String'> readonly tokenHash: FieldRef<"UserInvite", 'String'> readonly expiresAt: FieldRef<"UserInvite", 'DateTime'> readonly createdAt: FieldRef<"UserInvite", 'DateTime'> readonly revokedAt: FieldRef<"UserInvite", 'DateTime'> } // Custom InputTypes /** * UserInvite findUnique */ export type UserInviteFindUniqueArgs = { /** * Select specific fields to fetch from the UserInvite */ select?: UserInviteSelect | null /** * Omit specific fields from the UserInvite */ omit?: UserInviteOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInviteInclude | null /** * Filter, which UserInvite to fetch. */ where: UserInviteWhereUniqueInput } /** * UserInvite findUniqueOrThrow */ export type UserInviteFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the UserInvite */ select?: UserInviteSelect | null /** * Omit specific fields from the UserInvite */ omit?: UserInviteOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInviteInclude | null /** * Filter, which UserInvite to fetch. */ where: UserInviteWhereUniqueInput } /** * UserInvite findFirst */ export type UserInviteFindFirstArgs = { /** * Select specific fields to fetch from the UserInvite */ select?: UserInviteSelect | null /** * Omit specific fields from the UserInvite */ omit?: UserInviteOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInviteInclude | null /** * Filter, which UserInvite to fetch. */ where?: UserInviteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserInvites to fetch. */ orderBy?: UserInviteOrderByWithRelationInput | UserInviteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for UserInvites. */ cursor?: UserInviteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserInvites from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserInvites. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UserInvites. */ distinct?: UserInviteScalarFieldEnum | UserInviteScalarFieldEnum[] } /** * UserInvite findFirstOrThrow */ export type UserInviteFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the UserInvite */ select?: UserInviteSelect | null /** * Omit specific fields from the UserInvite */ omit?: UserInviteOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInviteInclude | null /** * Filter, which UserInvite to fetch. */ where?: UserInviteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserInvites to fetch. */ orderBy?: UserInviteOrderByWithRelationInput | UserInviteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for UserInvites. */ cursor?: UserInviteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserInvites from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserInvites. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UserInvites. */ distinct?: UserInviteScalarFieldEnum | UserInviteScalarFieldEnum[] } /** * UserInvite findMany */ export type UserInviteFindManyArgs = { /** * Select specific fields to fetch from the UserInvite */ select?: UserInviteSelect | null /** * Omit specific fields from the UserInvite */ omit?: UserInviteOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInviteInclude | null /** * Filter, which UserInvites to fetch. */ where?: UserInviteWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserInvites to fetch. */ orderBy?: UserInviteOrderByWithRelationInput | UserInviteOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing UserInvites. */ cursor?: UserInviteWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserInvites from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserInvites. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UserInvites. */ distinct?: UserInviteScalarFieldEnum | UserInviteScalarFieldEnum[] } /** * UserInvite create */ export type UserInviteCreateArgs = { /** * Select specific fields to fetch from the UserInvite */ select?: UserInviteSelect | null /** * Omit specific fields from the UserInvite */ omit?: UserInviteOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInviteInclude | null /** * The data needed to create a UserInvite. */ data: XOR } /** * UserInvite createMany */ export type UserInviteCreateManyArgs = { /** * The data used to create many UserInvites. */ data: UserInviteCreateManyInput | UserInviteCreateManyInput[] skipDuplicates?: boolean } /** * UserInvite createManyAndReturn */ export type UserInviteCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the UserInvite */ select?: UserInviteSelectCreateManyAndReturn | null /** * Omit specific fields from the UserInvite */ omit?: UserInviteOmit | null /** * The data used to create many UserInvites. */ data: UserInviteCreateManyInput | UserInviteCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: UserInviteIncludeCreateManyAndReturn | null } /** * UserInvite update */ export type UserInviteUpdateArgs = { /** * Select specific fields to fetch from the UserInvite */ select?: UserInviteSelect | null /** * Omit specific fields from the UserInvite */ omit?: UserInviteOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInviteInclude | null /** * The data needed to update a UserInvite. */ data: XOR /** * Choose, which UserInvite to update. */ where: UserInviteWhereUniqueInput } /** * UserInvite updateMany */ export type UserInviteUpdateManyArgs = { /** * The data used to update UserInvites. */ data: XOR /** * Filter which UserInvites to update */ where?: UserInviteWhereInput /** * Limit how many UserInvites to update. */ limit?: number } /** * UserInvite updateManyAndReturn */ export type UserInviteUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the UserInvite */ select?: UserInviteSelectUpdateManyAndReturn | null /** * Omit specific fields from the UserInvite */ omit?: UserInviteOmit | null /** * The data used to update UserInvites. */ data: XOR /** * Filter which UserInvites to update */ where?: UserInviteWhereInput /** * Limit how many UserInvites to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: UserInviteIncludeUpdateManyAndReturn | null } /** * UserInvite upsert */ export type UserInviteUpsertArgs = { /** * Select specific fields to fetch from the UserInvite */ select?: UserInviteSelect | null /** * Omit specific fields from the UserInvite */ omit?: UserInviteOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInviteInclude | null /** * The filter to search for the UserInvite to update in case it exists. */ where: UserInviteWhereUniqueInput /** * In case the UserInvite found by the `where` argument doesn't exist, create a new UserInvite with this data. */ create: XOR /** * In case the UserInvite was found with the provided `where` argument, update it with this data. */ update: XOR } /** * UserInvite delete */ export type UserInviteDeleteArgs = { /** * Select specific fields to fetch from the UserInvite */ select?: UserInviteSelect | null /** * Omit specific fields from the UserInvite */ omit?: UserInviteOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInviteInclude | null /** * Filter which UserInvite to delete. */ where: UserInviteWhereUniqueInput } /** * UserInvite deleteMany */ export type UserInviteDeleteManyArgs = { /** * Filter which UserInvites to delete */ where?: UserInviteWhereInput /** * Limit how many UserInvites to delete. */ limit?: number } /** * UserInvite without action */ export type UserInviteDefaultArgs = { /** * Select specific fields to fetch from the UserInvite */ select?: UserInviteSelect | null /** * Omit specific fields from the UserInvite */ omit?: UserInviteOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInviteInclude | null } /** * 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 } export type AccountSumAggregateOutputType = { expires_at: number | null } export type AccountMinAggregateOutputType = { id: string | null userId: string | null type: string | null provider: string | null providerAccountId: string | null password: string | null refresh_token: string | null access_token: string | null expires_at: number | null accessTokenExpiresAt: Date | null refreshTokenExpiresAt: Date | null token_type: string | null scope: string | null id_token: string | null session_state: string | null createdAt: Date | null updatedAt: Date | null } export type AccountMaxAggregateOutputType = { id: string | null userId: string | null type: string | null provider: string | null providerAccountId: string | null password: string | null refresh_token: string | null access_token: string | null expires_at: number | null accessTokenExpiresAt: Date | null refreshTokenExpiresAt: Date | null token_type: string | null scope: string | null id_token: string | null session_state: string | null createdAt: Date | null updatedAt: Date | null } export type AccountCountAggregateOutputType = { id: number userId: number type: number provider: number providerAccountId: number password: number refresh_token: number access_token: number expires_at: number accessTokenExpiresAt: number refreshTokenExpiresAt: number token_type: number scope: number id_token: number session_state: number createdAt: number updatedAt: number _all: number } export type AccountAvgAggregateInputType = { expires_at?: true } export type AccountSumAggregateInputType = { expires_at?: true } export type AccountMinAggregateInputType = { id?: true userId?: true type?: true provider?: true providerAccountId?: true password?: true refresh_token?: true access_token?: true expires_at?: true accessTokenExpiresAt?: true refreshTokenExpiresAt?: true token_type?: true scope?: true id_token?: true session_state?: true createdAt?: true updatedAt?: true } export type AccountMaxAggregateInputType = { id?: true userId?: true type?: true provider?: true providerAccountId?: true password?: true refresh_token?: true access_token?: true expires_at?: true accessTokenExpiresAt?: true refreshTokenExpiresAt?: true token_type?: true scope?: true id_token?: true session_state?: true createdAt?: true updatedAt?: true } export type AccountCountAggregateInputType = { id?: true userId?: true type?: true provider?: true providerAccountId?: true password?: true refresh_token?: true access_token?: true expires_at?: true accessTokenExpiresAt?: true refreshTokenExpiresAt?: true token_type?: true scope?: true id_token?: true session_state?: true createdAt?: true updatedAt?: 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 password: string | null refresh_token: string | null access_token: string | null expires_at: number | null accessTokenExpiresAt: Date | null refreshTokenExpiresAt: Date | null token_type: string | null scope: string | null id_token: string | null session_state: string | null createdAt: Date updatedAt: Date _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 password?: boolean refresh_token?: boolean access_token?: boolean expires_at?: boolean accessTokenExpiresAt?: boolean refreshTokenExpiresAt?: boolean token_type?: boolean scope?: boolean id_token?: boolean session_state?: boolean createdAt?: boolean updatedAt?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["account"]> export type AccountSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean userId?: boolean type?: boolean provider?: boolean providerAccountId?: boolean password?: boolean refresh_token?: boolean access_token?: boolean expires_at?: boolean accessTokenExpiresAt?: boolean refreshTokenExpiresAt?: boolean token_type?: boolean scope?: boolean id_token?: boolean session_state?: boolean createdAt?: boolean updatedAt?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["account"]> export type AccountSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean userId?: boolean type?: boolean provider?: boolean providerAccountId?: boolean password?: boolean refresh_token?: boolean access_token?: boolean expires_at?: boolean accessTokenExpiresAt?: boolean refreshTokenExpiresAt?: boolean token_type?: boolean scope?: boolean id_token?: boolean session_state?: boolean createdAt?: boolean updatedAt?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["account"]> export type AccountSelectScalar = { id?: boolean userId?: boolean type?: boolean provider?: boolean providerAccountId?: boolean password?: boolean refresh_token?: boolean access_token?: boolean expires_at?: boolean accessTokenExpiresAt?: boolean refreshTokenExpiresAt?: boolean token_type?: boolean scope?: boolean id_token?: boolean session_state?: boolean createdAt?: boolean updatedAt?: boolean } export type AccountOmit = $Extensions.GetOmit<"id" | "userId" | "type" | "provider" | "providerAccountId" | "password" | "refresh_token" | "access_token" | "expires_at" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "token_type" | "scope" | "id_token" | "session_state" | "createdAt" | "updatedAt", 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 /** * Legacy Auth.js discriminator; Better Auth omits it on create — default keeps OAuth/credential rows valid. */ type: string provider: string providerAccountId: string /** * Better Auth email/password (credential provider) hash; kept in sync with `User.passwordHash` for local flows. */ password: string | null refresh_token: string | null access_token: string | null /** * Legacy Auth.js unix seconds expiry; retained for existing rows only. */ expires_at: number | null accessTokenExpiresAt: Date | null refreshTokenExpiresAt: Date | null token_type: string | null scope: string | null id_token: string | null session_state: string | null createdAt: Date updatedAt: Date }, 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 password: FieldRef<"Account", 'String'> readonly refresh_token: FieldRef<"Account", 'String'> readonly access_token: FieldRef<"Account", 'String'> readonly expires_at: FieldRef<"Account", 'Int'> readonly accessTokenExpiresAt: FieldRef<"Account", 'DateTime'> readonly refreshTokenExpiresAt: FieldRef<"Account", 'DateTime'> readonly token_type: FieldRef<"Account", 'String'> readonly scope: FieldRef<"Account", 'String'> readonly id_token: FieldRef<"Account", 'String'> readonly session_state: FieldRef<"Account", 'String'> readonly createdAt: FieldRef<"Account", 'DateTime'> readonly updatedAt: FieldRef<"Account", 'DateTime'> } // 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 } /** * 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 } /** * 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[] } /** * 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[] } /** * 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 /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Accounts. */ distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[] } /** * 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 } /** * 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 } /** * 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 } /** * 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 } /** * 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 createdAt: Date | null updatedAt: Date | null ipAddress: string | null userAgent: string | null } export type SessionMaxAggregateOutputType = { id: string | null sessionToken: string | null userId: string | null expires: Date | null createdAt: Date | null updatedAt: Date | null ipAddress: string | null userAgent: string | null } export type SessionCountAggregateOutputType = { id: number sessionToken: number userId: number expires: number createdAt: number updatedAt: number ipAddress: number userAgent: number _all: number } export type SessionMinAggregateInputType = { id?: true sessionToken?: true userId?: true expires?: true createdAt?: true updatedAt?: true ipAddress?: true userAgent?: true } export type SessionMaxAggregateInputType = { id?: true sessionToken?: true userId?: true expires?: true createdAt?: true updatedAt?: true ipAddress?: true userAgent?: true } export type SessionCountAggregateInputType = { id?: true sessionToken?: true userId?: true expires?: true createdAt?: true updatedAt?: true ipAddress?: true userAgent?: 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 createdAt: Date updatedAt: Date ipAddress: string | null userAgent: string | null _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 createdAt?: boolean updatedAt?: boolean ipAddress?: boolean userAgent?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["session"]> export type SessionSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean sessionToken?: boolean userId?: boolean expires?: boolean createdAt?: boolean updatedAt?: boolean ipAddress?: boolean userAgent?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["session"]> export type SessionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean sessionToken?: boolean userId?: boolean expires?: boolean createdAt?: boolean updatedAt?: boolean ipAddress?: boolean userAgent?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["session"]> export type SessionSelectScalar = { id?: boolean sessionToken?: boolean userId?: boolean expires?: boolean createdAt?: boolean updatedAt?: boolean ipAddress?: boolean userAgent?: boolean } export type SessionOmit = $Extensions.GetOmit<"id" | "sessionToken" | "userId" | "expires" | "createdAt" | "updatedAt" | "ipAddress" | "userAgent", 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 createdAt: Date updatedAt: Date ipAddress: string | null userAgent: string | null }, 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'> readonly createdAt: FieldRef<"Session", 'DateTime'> readonly updatedAt: FieldRef<"Session", 'DateTime'> readonly ipAddress: FieldRef<"Session", 'String'> readonly userAgent: FieldRef<"Session", 'String'> } // 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 } /** * 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 } /** * 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[] } /** * 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[] } /** * 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 /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Sessions. */ distinct?: SessionScalarFieldEnum | SessionScalarFieldEnum[] } /** * 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 } /** * 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 } /** * 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 } /** * 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 } /** * 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 VerificationToken */ export type AggregateVerificationToken = { _count: VerificationTokenCountAggregateOutputType | null _min: VerificationTokenMinAggregateOutputType | null _max: VerificationTokenMaxAggregateOutputType | null } export type VerificationTokenMinAggregateOutputType = { id: string | null identifier: string | null token: string | null expires: Date | null createdAt: Date | null updatedAt: Date | null } export type VerificationTokenMaxAggregateOutputType = { id: string | null identifier: string | null token: string | null expires: Date | null createdAt: Date | null updatedAt: Date | null } export type VerificationTokenCountAggregateOutputType = { id: number identifier: number token: number expires: number createdAt: number updatedAt: number _all: number } export type VerificationTokenMinAggregateInputType = { id?: true identifier?: true token?: true expires?: true createdAt?: true updatedAt?: true } export type VerificationTokenMaxAggregateInputType = { id?: true identifier?: true token?: true expires?: true createdAt?: true updatedAt?: true } export type VerificationTokenCountAggregateInputType = { id?: true identifier?: true token?: true expires?: true createdAt?: true updatedAt?: 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 = { id: string identifier: string token: string expires: Date createdAt: Date updatedAt: 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<{ id?: boolean identifier?: boolean token?: boolean expires?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["verificationToken"]> export type VerificationTokenSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean identifier?: boolean token?: boolean expires?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["verificationToken"]> export type VerificationTokenSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean identifier?: boolean token?: boolean expires?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["verificationToken"]> export type VerificationTokenSelectScalar = { id?: boolean identifier?: boolean token?: boolean expires?: boolean createdAt?: boolean updatedAt?: boolean } export type VerificationTokenOmit = $Extensions.GetOmit<"id" | "identifier" | "token" | "expires" | "createdAt" | "updatedAt", ExtArgs["result"]["verificationToken"]> export type $VerificationTokenPayload = { name: "VerificationToken" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string identifier: string token: string expires: Date createdAt: Date updatedAt: 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 `id` * const verificationTokenWithIdOnly = await prisma.verificationToken.findMany({ select: { id: 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 `id` * const verificationTokenWithIdOnly = await prisma.verificationToken.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 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 `id` * const verificationTokenWithIdOnly = await prisma.verificationToken.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 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 id: FieldRef<"VerificationToken", 'String'> readonly identifier: FieldRef<"VerificationToken", 'String'> readonly token: FieldRef<"VerificationToken", 'String'> readonly expires: FieldRef<"VerificationToken", 'DateTime'> readonly createdAt: FieldRef<"VerificationToken", 'DateTime'> readonly updatedAt: 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 } /** * 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 } /** * 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[] } /** * 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[] } /** * 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 /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of VerificationTokens. */ distinct?: VerificationTokenScalarFieldEnum | VerificationTokenScalarFieldEnum[] } /** * 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 } /** * 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 } /** * 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 } /** * 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 } /** * 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 WorkflowAuditLog */ export type AggregateWorkflowAuditLog = { _count: WorkflowAuditLogCountAggregateOutputType | null _min: WorkflowAuditLogMinAggregateOutputType | null _max: WorkflowAuditLogMaxAggregateOutputType | null } export type WorkflowAuditLogMinAggregateOutputType = { id: string | null occurredAt: Date | null actorUserId: string | null actorSessionId: string | null action: string | null resourceType: string | null resourceId: string | null outcome: string | null errorCode: string | null correlationId: string | null workflowId: string | null runId: string | null nodeId: string | null } export type WorkflowAuditLogMaxAggregateOutputType = { id: string | null occurredAt: Date | null actorUserId: string | null actorSessionId: string | null action: string | null resourceType: string | null resourceId: string | null outcome: string | null errorCode: string | null correlationId: string | null workflowId: string | null runId: string | null nodeId: string | null } export type WorkflowAuditLogCountAggregateOutputType = { id: number occurredAt: number actorUserId: number actorSessionId: number action: number resourceType: number resourceId: number outcome: number errorCode: number correlationId: number workflowId: number runId: number nodeId: number _all: number } export type WorkflowAuditLogMinAggregateInputType = { id?: true occurredAt?: true actorUserId?: true actorSessionId?: true action?: true resourceType?: true resourceId?: true outcome?: true errorCode?: true correlationId?: true workflowId?: true runId?: true nodeId?: true } export type WorkflowAuditLogMaxAggregateInputType = { id?: true occurredAt?: true actorUserId?: true actorSessionId?: true action?: true resourceType?: true resourceId?: true outcome?: true errorCode?: true correlationId?: true workflowId?: true runId?: true nodeId?: true } export type WorkflowAuditLogCountAggregateInputType = { id?: true occurredAt?: true actorUserId?: true actorSessionId?: true action?: true resourceType?: true resourceId?: true outcome?: true errorCode?: true correlationId?: true workflowId?: true runId?: true nodeId?: true _all?: true } export type WorkflowAuditLogAggregateArgs = { /** * Filter which WorkflowAuditLog to aggregate. */ where?: WorkflowAuditLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowAuditLogs to fetch. */ orderBy?: WorkflowAuditLogOrderByWithRelationInput | WorkflowAuditLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: WorkflowAuditLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowAuditLogs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowAuditLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned WorkflowAuditLogs **/ _count?: true | WorkflowAuditLogCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: WorkflowAuditLogMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: WorkflowAuditLogMaxAggregateInputType } export type GetWorkflowAuditLogAggregateType = { [P in keyof T & keyof AggregateWorkflowAuditLog]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type WorkflowAuditLogGroupByArgs = { where?: WorkflowAuditLogWhereInput orderBy?: WorkflowAuditLogOrderByWithAggregationInput | WorkflowAuditLogOrderByWithAggregationInput[] by: WorkflowAuditLogScalarFieldEnum[] | WorkflowAuditLogScalarFieldEnum having?: WorkflowAuditLogScalarWhereWithAggregatesInput take?: number skip?: number _count?: WorkflowAuditLogCountAggregateInputType | true _min?: WorkflowAuditLogMinAggregateInputType _max?: WorkflowAuditLogMaxAggregateInputType } export type WorkflowAuditLogGroupByOutputType = { id: string occurredAt: Date actorUserId: string | null actorSessionId: string | null action: string resourceType: string resourceId: string outcome: string errorCode: string | null correlationId: string | null workflowId: string runId: string | null nodeId: string | null _count: WorkflowAuditLogCountAggregateOutputType | null _min: WorkflowAuditLogMinAggregateOutputType | null _max: WorkflowAuditLogMaxAggregateOutputType | null } type GetWorkflowAuditLogGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof WorkflowAuditLogGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type WorkflowAuditLogSelect = $Extensions.GetSelect<{ id?: boolean occurredAt?: boolean actorUserId?: boolean actorSessionId?: boolean action?: boolean resourceType?: boolean resourceId?: boolean outcome?: boolean errorCode?: boolean correlationId?: boolean workflowId?: boolean runId?: boolean nodeId?: boolean }, ExtArgs["result"]["workflowAuditLog"]> export type WorkflowAuditLogSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean occurredAt?: boolean actorUserId?: boolean actorSessionId?: boolean action?: boolean resourceType?: boolean resourceId?: boolean outcome?: boolean errorCode?: boolean correlationId?: boolean workflowId?: boolean runId?: boolean nodeId?: boolean }, ExtArgs["result"]["workflowAuditLog"]> export type WorkflowAuditLogSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean occurredAt?: boolean actorUserId?: boolean actorSessionId?: boolean action?: boolean resourceType?: boolean resourceId?: boolean outcome?: boolean errorCode?: boolean correlationId?: boolean workflowId?: boolean runId?: boolean nodeId?: boolean }, ExtArgs["result"]["workflowAuditLog"]> export type WorkflowAuditLogSelectScalar = { id?: boolean occurredAt?: boolean actorUserId?: boolean actorSessionId?: boolean action?: boolean resourceType?: boolean resourceId?: boolean outcome?: boolean errorCode?: boolean correlationId?: boolean workflowId?: boolean runId?: boolean nodeId?: boolean } export type WorkflowAuditLogOmit = $Extensions.GetOmit<"id" | "occurredAt" | "actorUserId" | "actorSessionId" | "action" | "resourceType" | "resourceId" | "outcome" | "errorCode" | "correlationId" | "workflowId" | "runId" | "nodeId", ExtArgs["result"]["workflowAuditLog"]> export type $WorkflowAuditLogPayload = { name: "WorkflowAuditLog" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string occurredAt: Date actorUserId: string | null actorSessionId: string | null action: string resourceType: string resourceId: string outcome: string errorCode: string | null correlationId: string | null workflowId: string runId: string | null nodeId: string | null }, ExtArgs["result"]["workflowAuditLog"]> composites: {} } type WorkflowAuditLogGetPayload = $Result.GetResult type WorkflowAuditLogCountArgs = Omit & { select?: WorkflowAuditLogCountAggregateInputType | true } export interface WorkflowAuditLogDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['WorkflowAuditLog'], meta: { name: 'WorkflowAuditLog' } } /** * Find zero or one WorkflowAuditLog that matches the filter. * @param {WorkflowAuditLogFindUniqueArgs} args - Arguments to find a WorkflowAuditLog * @example * // Get one WorkflowAuditLog * const workflowAuditLog = await prisma.workflowAuditLog.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__WorkflowAuditLogClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one WorkflowAuditLog that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {WorkflowAuditLogFindUniqueOrThrowArgs} args - Arguments to find a WorkflowAuditLog * @example * // Get one WorkflowAuditLog * const workflowAuditLog = await prisma.workflowAuditLog.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__WorkflowAuditLogClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first WorkflowAuditLog 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 {WorkflowAuditLogFindFirstArgs} args - Arguments to find a WorkflowAuditLog * @example * // Get one WorkflowAuditLog * const workflowAuditLog = await prisma.workflowAuditLog.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__WorkflowAuditLogClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first WorkflowAuditLog 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 {WorkflowAuditLogFindFirstOrThrowArgs} args - Arguments to find a WorkflowAuditLog * @example * // Get one WorkflowAuditLog * const workflowAuditLog = await prisma.workflowAuditLog.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__WorkflowAuditLogClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more WorkflowAuditLogs 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 {WorkflowAuditLogFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all WorkflowAuditLogs * const workflowAuditLogs = await prisma.workflowAuditLog.findMany() * * // Get first 10 WorkflowAuditLogs * const workflowAuditLogs = await prisma.workflowAuditLog.findMany({ take: 10 }) * * // Only select the `id` * const workflowAuditLogWithIdOnly = await prisma.workflowAuditLog.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a WorkflowAuditLog. * @param {WorkflowAuditLogCreateArgs} args - Arguments to create a WorkflowAuditLog. * @example * // Create one WorkflowAuditLog * const WorkflowAuditLog = await prisma.workflowAuditLog.create({ * data: { * // ... data to create a WorkflowAuditLog * } * }) * */ create(args: SelectSubset>): Prisma__WorkflowAuditLogClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many WorkflowAuditLogs. * @param {WorkflowAuditLogCreateManyArgs} args - Arguments to create many WorkflowAuditLogs. * @example * // Create many WorkflowAuditLogs * const workflowAuditLog = await prisma.workflowAuditLog.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many WorkflowAuditLogs and returns the data saved in the database. * @param {WorkflowAuditLogCreateManyAndReturnArgs} args - Arguments to create many WorkflowAuditLogs. * @example * // Create many WorkflowAuditLogs * const workflowAuditLog = await prisma.workflowAuditLog.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many WorkflowAuditLogs and only return the `id` * const workflowAuditLogWithIdOnly = await prisma.workflowAuditLog.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 WorkflowAuditLog. * @param {WorkflowAuditLogDeleteArgs} args - Arguments to delete one WorkflowAuditLog. * @example * // Delete one WorkflowAuditLog * const WorkflowAuditLog = await prisma.workflowAuditLog.delete({ * where: { * // ... filter to delete one WorkflowAuditLog * } * }) * */ delete(args: SelectSubset>): Prisma__WorkflowAuditLogClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one WorkflowAuditLog. * @param {WorkflowAuditLogUpdateArgs} args - Arguments to update one WorkflowAuditLog. * @example * // Update one WorkflowAuditLog * const workflowAuditLog = await prisma.workflowAuditLog.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__WorkflowAuditLogClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more WorkflowAuditLogs. * @param {WorkflowAuditLogDeleteManyArgs} args - Arguments to filter WorkflowAuditLogs to delete. * @example * // Delete a few WorkflowAuditLogs * const { count } = await prisma.workflowAuditLog.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more WorkflowAuditLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowAuditLogUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many WorkflowAuditLogs * const workflowAuditLog = await prisma.workflowAuditLog.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more WorkflowAuditLogs and returns the data updated in the database. * @param {WorkflowAuditLogUpdateManyAndReturnArgs} args - Arguments to update many WorkflowAuditLogs. * @example * // Update many WorkflowAuditLogs * const workflowAuditLog = await prisma.workflowAuditLog.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more WorkflowAuditLogs and only return the `id` * const workflowAuditLogWithIdOnly = await prisma.workflowAuditLog.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 WorkflowAuditLog. * @param {WorkflowAuditLogUpsertArgs} args - Arguments to update or create a WorkflowAuditLog. * @example * // Update or create a WorkflowAuditLog * const workflowAuditLog = await prisma.workflowAuditLog.upsert({ * create: { * // ... data to create a WorkflowAuditLog * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the WorkflowAuditLog we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__WorkflowAuditLogClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of WorkflowAuditLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowAuditLogCountArgs} args - Arguments to filter WorkflowAuditLogs to count. * @example * // Count the number of WorkflowAuditLogs * const count = await prisma.workflowAuditLog.count({ * where: { * // ... the filter for the WorkflowAuditLogs 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 WorkflowAuditLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowAuditLogAggregateArgs} 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 WorkflowAuditLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {WorkflowAuditLogGroupByArgs} 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 WorkflowAuditLogGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: WorkflowAuditLogGroupByArgs['orderBy'] } : { orderBy?: WorkflowAuditLogGroupByArgs['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 ? GetWorkflowAuditLogGroupByPayload : Prisma.PrismaPromise /** * Fields of the WorkflowAuditLog model */ readonly fields: WorkflowAuditLogFieldRefs; } /** * The delegate class that acts as a "Promise-like" for WorkflowAuditLog. * 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__WorkflowAuditLogClient 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 WorkflowAuditLog model */ interface WorkflowAuditLogFieldRefs { readonly id: FieldRef<"WorkflowAuditLog", 'String'> readonly occurredAt: FieldRef<"WorkflowAuditLog", 'DateTime'> readonly actorUserId: FieldRef<"WorkflowAuditLog", 'String'> readonly actorSessionId: FieldRef<"WorkflowAuditLog", 'String'> readonly action: FieldRef<"WorkflowAuditLog", 'String'> readonly resourceType: FieldRef<"WorkflowAuditLog", 'String'> readonly resourceId: FieldRef<"WorkflowAuditLog", 'String'> readonly outcome: FieldRef<"WorkflowAuditLog", 'String'> readonly errorCode: FieldRef<"WorkflowAuditLog", 'String'> readonly correlationId: FieldRef<"WorkflowAuditLog", 'String'> readonly workflowId: FieldRef<"WorkflowAuditLog", 'String'> readonly runId: FieldRef<"WorkflowAuditLog", 'String'> readonly nodeId: FieldRef<"WorkflowAuditLog", 'String'> } // Custom InputTypes /** * WorkflowAuditLog findUnique */ export type WorkflowAuditLogFindUniqueArgs = { /** * Select specific fields to fetch from the WorkflowAuditLog */ select?: WorkflowAuditLogSelect | null /** * Omit specific fields from the WorkflowAuditLog */ omit?: WorkflowAuditLogOmit | null /** * Filter, which WorkflowAuditLog to fetch. */ where: WorkflowAuditLogWhereUniqueInput } /** * WorkflowAuditLog findUniqueOrThrow */ export type WorkflowAuditLogFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the WorkflowAuditLog */ select?: WorkflowAuditLogSelect | null /** * Omit specific fields from the WorkflowAuditLog */ omit?: WorkflowAuditLogOmit | null /** * Filter, which WorkflowAuditLog to fetch. */ where: WorkflowAuditLogWhereUniqueInput } /** * WorkflowAuditLog findFirst */ export type WorkflowAuditLogFindFirstArgs = { /** * Select specific fields to fetch from the WorkflowAuditLog */ select?: WorkflowAuditLogSelect | null /** * Omit specific fields from the WorkflowAuditLog */ omit?: WorkflowAuditLogOmit | null /** * Filter, which WorkflowAuditLog to fetch. */ where?: WorkflowAuditLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowAuditLogs to fetch. */ orderBy?: WorkflowAuditLogOrderByWithRelationInput | WorkflowAuditLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for WorkflowAuditLogs. */ cursor?: WorkflowAuditLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowAuditLogs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowAuditLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowAuditLogs. */ distinct?: WorkflowAuditLogScalarFieldEnum | WorkflowAuditLogScalarFieldEnum[] } /** * WorkflowAuditLog findFirstOrThrow */ export type WorkflowAuditLogFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the WorkflowAuditLog */ select?: WorkflowAuditLogSelect | null /** * Omit specific fields from the WorkflowAuditLog */ omit?: WorkflowAuditLogOmit | null /** * Filter, which WorkflowAuditLog to fetch. */ where?: WorkflowAuditLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowAuditLogs to fetch. */ orderBy?: WorkflowAuditLogOrderByWithRelationInput | WorkflowAuditLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for WorkflowAuditLogs. */ cursor?: WorkflowAuditLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowAuditLogs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowAuditLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowAuditLogs. */ distinct?: WorkflowAuditLogScalarFieldEnum | WorkflowAuditLogScalarFieldEnum[] } /** * WorkflowAuditLog findMany */ export type WorkflowAuditLogFindManyArgs = { /** * Select specific fields to fetch from the WorkflowAuditLog */ select?: WorkflowAuditLogSelect | null /** * Omit specific fields from the WorkflowAuditLog */ omit?: WorkflowAuditLogOmit | null /** * Filter, which WorkflowAuditLogs to fetch. */ where?: WorkflowAuditLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of WorkflowAuditLogs to fetch. */ orderBy?: WorkflowAuditLogOrderByWithRelationInput | WorkflowAuditLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing WorkflowAuditLogs. */ cursor?: WorkflowAuditLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` WorkflowAuditLogs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` WorkflowAuditLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of WorkflowAuditLogs. */ distinct?: WorkflowAuditLogScalarFieldEnum | WorkflowAuditLogScalarFieldEnum[] } /** * WorkflowAuditLog create */ export type WorkflowAuditLogCreateArgs = { /** * Select specific fields to fetch from the WorkflowAuditLog */ select?: WorkflowAuditLogSelect | null /** * Omit specific fields from the WorkflowAuditLog */ omit?: WorkflowAuditLogOmit | null /** * The data needed to create a WorkflowAuditLog. */ data: XOR } /** * WorkflowAuditLog createMany */ export type WorkflowAuditLogCreateManyArgs = { /** * The data used to create many WorkflowAuditLogs. */ data: WorkflowAuditLogCreateManyInput | WorkflowAuditLogCreateManyInput[] skipDuplicates?: boolean } /** * WorkflowAuditLog createManyAndReturn */ export type WorkflowAuditLogCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the WorkflowAuditLog */ select?: WorkflowAuditLogSelectCreateManyAndReturn | null /** * Omit specific fields from the WorkflowAuditLog */ omit?: WorkflowAuditLogOmit | null /** * The data used to create many WorkflowAuditLogs. */ data: WorkflowAuditLogCreateManyInput | WorkflowAuditLogCreateManyInput[] skipDuplicates?: boolean } /** * WorkflowAuditLog update */ export type WorkflowAuditLogUpdateArgs = { /** * Select specific fields to fetch from the WorkflowAuditLog */ select?: WorkflowAuditLogSelect | null /** * Omit specific fields from the WorkflowAuditLog */ omit?: WorkflowAuditLogOmit | null /** * The data needed to update a WorkflowAuditLog. */ data: XOR /** * Choose, which WorkflowAuditLog to update. */ where: WorkflowAuditLogWhereUniqueInput } /** * WorkflowAuditLog updateMany */ export type WorkflowAuditLogUpdateManyArgs = { /** * The data used to update WorkflowAuditLogs. */ data: XOR /** * Filter which WorkflowAuditLogs to update */ where?: WorkflowAuditLogWhereInput /** * Limit how many WorkflowAuditLogs to update. */ limit?: number } /** * WorkflowAuditLog updateManyAndReturn */ export type WorkflowAuditLogUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the WorkflowAuditLog */ select?: WorkflowAuditLogSelectUpdateManyAndReturn | null /** * Omit specific fields from the WorkflowAuditLog */ omit?: WorkflowAuditLogOmit | null /** * The data used to update WorkflowAuditLogs. */ data: XOR /** * Filter which WorkflowAuditLogs to update */ where?: WorkflowAuditLogWhereInput /** * Limit how many WorkflowAuditLogs to update. */ limit?: number } /** * WorkflowAuditLog upsert */ export type WorkflowAuditLogUpsertArgs = { /** * Select specific fields to fetch from the WorkflowAuditLog */ select?: WorkflowAuditLogSelect | null /** * Omit specific fields from the WorkflowAuditLog */ omit?: WorkflowAuditLogOmit | null /** * The filter to search for the WorkflowAuditLog to update in case it exists. */ where: WorkflowAuditLogWhereUniqueInput /** * In case the WorkflowAuditLog found by the `where` argument doesn't exist, create a new WorkflowAuditLog with this data. */ create: XOR /** * In case the WorkflowAuditLog was found with the provided `where` argument, update it with this data. */ update: XOR } /** * WorkflowAuditLog delete */ export type WorkflowAuditLogDeleteArgs = { /** * Select specific fields to fetch from the WorkflowAuditLog */ select?: WorkflowAuditLogSelect | null /** * Omit specific fields from the WorkflowAuditLog */ omit?: WorkflowAuditLogOmit | null /** * Filter which WorkflowAuditLog to delete. */ where: WorkflowAuditLogWhereUniqueInput } /** * WorkflowAuditLog deleteMany */ export type WorkflowAuditLogDeleteManyArgs = { /** * Filter which WorkflowAuditLogs to delete */ where?: WorkflowAuditLogWhereInput /** * Limit how many WorkflowAuditLogs to delete. */ limit?: number } /** * WorkflowAuditLog without action */ export type WorkflowAuditLogDefaultArgs = { /** * Select specific fields to fetch from the WorkflowAuditLog */ select?: WorkflowAuditLogSelect | null /** * Omit specific fields from the WorkflowAuditLog */ omit?: WorkflowAuditLogOmit | null } /** * Model HmacNonce */ export type AggregateHmacNonce = { _count: HmacNonceCountAggregateOutputType | null _min: HmacNonceMinAggregateOutputType | null _max: HmacNonceMaxAggregateOutputType | null } export type HmacNonceMinAggregateOutputType = { nonce: string | null expiresAt: Date | null } export type HmacNonceMaxAggregateOutputType = { nonce: string | null expiresAt: Date | null } export type HmacNonceCountAggregateOutputType = { nonce: number expiresAt: number _all: number } export type HmacNonceMinAggregateInputType = { nonce?: true expiresAt?: true } export type HmacNonceMaxAggregateInputType = { nonce?: true expiresAt?: true } export type HmacNonceCountAggregateInputType = { nonce?: true expiresAt?: true _all?: true } export type HmacNonceAggregateArgs = { /** * Filter which HmacNonce to aggregate. */ where?: HmacNonceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HmacNonces to fetch. */ orderBy?: HmacNonceOrderByWithRelationInput | HmacNonceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: HmacNonceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HmacNonces from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` HmacNonces. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned HmacNonces **/ _count?: true | HmacNonceCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: HmacNonceMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: HmacNonceMaxAggregateInputType } export type GetHmacNonceAggregateType = { [P in keyof T & keyof AggregateHmacNonce]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type HmacNonceGroupByArgs = { where?: HmacNonceWhereInput orderBy?: HmacNonceOrderByWithAggregationInput | HmacNonceOrderByWithAggregationInput[] by: HmacNonceScalarFieldEnum[] | HmacNonceScalarFieldEnum having?: HmacNonceScalarWhereWithAggregatesInput take?: number skip?: number _count?: HmacNonceCountAggregateInputType | true _min?: HmacNonceMinAggregateInputType _max?: HmacNonceMaxAggregateInputType } export type HmacNonceGroupByOutputType = { nonce: string expiresAt: Date _count: HmacNonceCountAggregateOutputType | null _min: HmacNonceMinAggregateOutputType | null _max: HmacNonceMaxAggregateOutputType | null } type GetHmacNonceGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof HmacNonceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type HmacNonceSelect = $Extensions.GetSelect<{ nonce?: boolean expiresAt?: boolean }, ExtArgs["result"]["hmacNonce"]> export type HmacNonceSelectCreateManyAndReturn = $Extensions.GetSelect<{ nonce?: boolean expiresAt?: boolean }, ExtArgs["result"]["hmacNonce"]> export type HmacNonceSelectUpdateManyAndReturn = $Extensions.GetSelect<{ nonce?: boolean expiresAt?: boolean }, ExtArgs["result"]["hmacNonce"]> export type HmacNonceSelectScalar = { nonce?: boolean expiresAt?: boolean } export type HmacNonceOmit = $Extensions.GetOmit<"nonce" | "expiresAt", ExtArgs["result"]["hmacNonce"]> export type $HmacNoncePayload = { name: "HmacNonce" objects: {} scalars: $Extensions.GetPayloadResult<{ nonce: string expiresAt: Date }, ExtArgs["result"]["hmacNonce"]> composites: {} } type HmacNonceGetPayload = $Result.GetResult type HmacNonceCountArgs = Omit & { select?: HmacNonceCountAggregateInputType | true } export interface HmacNonceDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['HmacNonce'], meta: { name: 'HmacNonce' } } /** * Find zero or one HmacNonce that matches the filter. * @param {HmacNonceFindUniqueArgs} args - Arguments to find a HmacNonce * @example * // Get one HmacNonce * const hmacNonce = await prisma.hmacNonce.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__HmacNonceClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one HmacNonce that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {HmacNonceFindUniqueOrThrowArgs} args - Arguments to find a HmacNonce * @example * // Get one HmacNonce * const hmacNonce = await prisma.hmacNonce.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__HmacNonceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first HmacNonce 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 {HmacNonceFindFirstArgs} args - Arguments to find a HmacNonce * @example * // Get one HmacNonce * const hmacNonce = await prisma.hmacNonce.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__HmacNonceClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first HmacNonce 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 {HmacNonceFindFirstOrThrowArgs} args - Arguments to find a HmacNonce * @example * // Get one HmacNonce * const hmacNonce = await prisma.hmacNonce.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__HmacNonceClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more HmacNonces 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 {HmacNonceFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all HmacNonces * const hmacNonces = await prisma.hmacNonce.findMany() * * // Get first 10 HmacNonces * const hmacNonces = await prisma.hmacNonce.findMany({ take: 10 }) * * // Only select the `nonce` * const hmacNonceWithNonceOnly = await prisma.hmacNonce.findMany({ select: { nonce: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a HmacNonce. * @param {HmacNonceCreateArgs} args - Arguments to create a HmacNonce. * @example * // Create one HmacNonce * const HmacNonce = await prisma.hmacNonce.create({ * data: { * // ... data to create a HmacNonce * } * }) * */ create(args: SelectSubset>): Prisma__HmacNonceClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many HmacNonces. * @param {HmacNonceCreateManyArgs} args - Arguments to create many HmacNonces. * @example * // Create many HmacNonces * const hmacNonce = await prisma.hmacNonce.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many HmacNonces and returns the data saved in the database. * @param {HmacNonceCreateManyAndReturnArgs} args - Arguments to create many HmacNonces. * @example * // Create many HmacNonces * const hmacNonce = await prisma.hmacNonce.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many HmacNonces and only return the `nonce` * const hmacNonceWithNonceOnly = await prisma.hmacNonce.createManyAndReturn({ * select: { nonce: 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 HmacNonce. * @param {HmacNonceDeleteArgs} args - Arguments to delete one HmacNonce. * @example * // Delete one HmacNonce * const HmacNonce = await prisma.hmacNonce.delete({ * where: { * // ... filter to delete one HmacNonce * } * }) * */ delete(args: SelectSubset>): Prisma__HmacNonceClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one HmacNonce. * @param {HmacNonceUpdateArgs} args - Arguments to update one HmacNonce. * @example * // Update one HmacNonce * const hmacNonce = await prisma.hmacNonce.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__HmacNonceClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more HmacNonces. * @param {HmacNonceDeleteManyArgs} args - Arguments to filter HmacNonces to delete. * @example * // Delete a few HmacNonces * const { count } = await prisma.hmacNonce.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more HmacNonces. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HmacNonceUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many HmacNonces * const hmacNonce = await prisma.hmacNonce.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more HmacNonces and returns the data updated in the database. * @param {HmacNonceUpdateManyAndReturnArgs} args - Arguments to update many HmacNonces. * @example * // Update many HmacNonces * const hmacNonce = await prisma.hmacNonce.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more HmacNonces and only return the `nonce` * const hmacNonceWithNonceOnly = await prisma.hmacNonce.updateManyAndReturn({ * select: { nonce: 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 HmacNonce. * @param {HmacNonceUpsertArgs} args - Arguments to update or create a HmacNonce. * @example * // Update or create a HmacNonce * const hmacNonce = await prisma.hmacNonce.upsert({ * create: { * // ... data to create a HmacNonce * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the HmacNonce we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__HmacNonceClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of HmacNonces. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HmacNonceCountArgs} args - Arguments to filter HmacNonces to count. * @example * // Count the number of HmacNonces * const count = await prisma.hmacNonce.count({ * where: { * // ... the filter for the HmacNonces 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 HmacNonce. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HmacNonceAggregateArgs} 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 HmacNonce. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HmacNonceGroupByArgs} 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 HmacNonceGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: HmacNonceGroupByArgs['orderBy'] } : { orderBy?: HmacNonceGroupByArgs['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 ? GetHmacNonceGroupByPayload : Prisma.PrismaPromise /** * Fields of the HmacNonce model */ readonly fields: HmacNonceFieldRefs; } /** * The delegate class that acts as a "Promise-like" for HmacNonce. * 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__HmacNonceClient 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 HmacNonce model */ interface HmacNonceFieldRefs { readonly nonce: FieldRef<"HmacNonce", 'String'> readonly expiresAt: FieldRef<"HmacNonce", 'DateTime'> } // Custom InputTypes /** * HmacNonce findUnique */ export type HmacNonceFindUniqueArgs = { /** * Select specific fields to fetch from the HmacNonce */ select?: HmacNonceSelect | null /** * Omit specific fields from the HmacNonce */ omit?: HmacNonceOmit | null /** * Filter, which HmacNonce to fetch. */ where: HmacNonceWhereUniqueInput } /** * HmacNonce findUniqueOrThrow */ export type HmacNonceFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the HmacNonce */ select?: HmacNonceSelect | null /** * Omit specific fields from the HmacNonce */ omit?: HmacNonceOmit | null /** * Filter, which HmacNonce to fetch. */ where: HmacNonceWhereUniqueInput } /** * HmacNonce findFirst */ export type HmacNonceFindFirstArgs = { /** * Select specific fields to fetch from the HmacNonce */ select?: HmacNonceSelect | null /** * Omit specific fields from the HmacNonce */ omit?: HmacNonceOmit | null /** * Filter, which HmacNonce to fetch. */ where?: HmacNonceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HmacNonces to fetch. */ orderBy?: HmacNonceOrderByWithRelationInput | HmacNonceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for HmacNonces. */ cursor?: HmacNonceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HmacNonces from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` HmacNonces. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HmacNonces. */ distinct?: HmacNonceScalarFieldEnum | HmacNonceScalarFieldEnum[] } /** * HmacNonce findFirstOrThrow */ export type HmacNonceFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the HmacNonce */ select?: HmacNonceSelect | null /** * Omit specific fields from the HmacNonce */ omit?: HmacNonceOmit | null /** * Filter, which HmacNonce to fetch. */ where?: HmacNonceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HmacNonces to fetch. */ orderBy?: HmacNonceOrderByWithRelationInput | HmacNonceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for HmacNonces. */ cursor?: HmacNonceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HmacNonces from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` HmacNonces. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HmacNonces. */ distinct?: HmacNonceScalarFieldEnum | HmacNonceScalarFieldEnum[] } /** * HmacNonce findMany */ export type HmacNonceFindManyArgs = { /** * Select specific fields to fetch from the HmacNonce */ select?: HmacNonceSelect | null /** * Omit specific fields from the HmacNonce */ omit?: HmacNonceOmit | null /** * Filter, which HmacNonces to fetch. */ where?: HmacNonceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HmacNonces to fetch. */ orderBy?: HmacNonceOrderByWithRelationInput | HmacNonceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing HmacNonces. */ cursor?: HmacNonceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HmacNonces from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` HmacNonces. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HmacNonces. */ distinct?: HmacNonceScalarFieldEnum | HmacNonceScalarFieldEnum[] } /** * HmacNonce create */ export type HmacNonceCreateArgs = { /** * Select specific fields to fetch from the HmacNonce */ select?: HmacNonceSelect | null /** * Omit specific fields from the HmacNonce */ omit?: HmacNonceOmit | null /** * The data needed to create a HmacNonce. */ data: XOR } /** * HmacNonce createMany */ export type HmacNonceCreateManyArgs = { /** * The data used to create many HmacNonces. */ data: HmacNonceCreateManyInput | HmacNonceCreateManyInput[] skipDuplicates?: boolean } /** * HmacNonce createManyAndReturn */ export type HmacNonceCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the HmacNonce */ select?: HmacNonceSelectCreateManyAndReturn | null /** * Omit specific fields from the HmacNonce */ omit?: HmacNonceOmit | null /** * The data used to create many HmacNonces. */ data: HmacNonceCreateManyInput | HmacNonceCreateManyInput[] skipDuplicates?: boolean } /** * HmacNonce update */ export type HmacNonceUpdateArgs = { /** * Select specific fields to fetch from the HmacNonce */ select?: HmacNonceSelect | null /** * Omit specific fields from the HmacNonce */ omit?: HmacNonceOmit | null /** * The data needed to update a HmacNonce. */ data: XOR /** * Choose, which HmacNonce to update. */ where: HmacNonceWhereUniqueInput } /** * HmacNonce updateMany */ export type HmacNonceUpdateManyArgs = { /** * The data used to update HmacNonces. */ data: XOR /** * Filter which HmacNonces to update */ where?: HmacNonceWhereInput /** * Limit how many HmacNonces to update. */ limit?: number } /** * HmacNonce updateManyAndReturn */ export type HmacNonceUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the HmacNonce */ select?: HmacNonceSelectUpdateManyAndReturn | null /** * Omit specific fields from the HmacNonce */ omit?: HmacNonceOmit | null /** * The data used to update HmacNonces. */ data: XOR /** * Filter which HmacNonces to update */ where?: HmacNonceWhereInput /** * Limit how many HmacNonces to update. */ limit?: number } /** * HmacNonce upsert */ export type HmacNonceUpsertArgs = { /** * Select specific fields to fetch from the HmacNonce */ select?: HmacNonceSelect | null /** * Omit specific fields from the HmacNonce */ omit?: HmacNonceOmit | null /** * The filter to search for the HmacNonce to update in case it exists. */ where: HmacNonceWhereUniqueInput /** * In case the HmacNonce found by the `where` argument doesn't exist, create a new HmacNonce with this data. */ create: XOR /** * In case the HmacNonce was found with the provided `where` argument, update it with this data. */ update: XOR } /** * HmacNonce delete */ export type HmacNonceDeleteArgs = { /** * Select specific fields to fetch from the HmacNonce */ select?: HmacNonceSelect | null /** * Omit specific fields from the HmacNonce */ omit?: HmacNonceOmit | null /** * Filter which HmacNonce to delete. */ where: HmacNonceWhereUniqueInput } /** * HmacNonce deleteMany */ export type HmacNonceDeleteManyArgs = { /** * Filter which HmacNonces to delete */ where?: HmacNonceWhereInput /** * Limit how many HmacNonces to delete. */ limit?: number } /** * HmacNonce without action */ export type HmacNonceDefaultArgs = { /** * Select specific fields to fetch from the HmacNonce */ select?: HmacNonceSelect | null /** * Omit specific fields from the HmacNonce */ omit?: HmacNonceOmit | null } /** * Model HumanTask */ export type AggregateHumanTask = { _count: HumanTaskCountAggregateOutputType | null _avg: HumanTaskAvgAggregateOutputType | null _sum: HumanTaskSumAggregateOutputType | null _min: HumanTaskMinAggregateOutputType | null _max: HumanTaskMaxAggregateOutputType | null } export type HumanTaskAvgAggregateOutputType = { itemIndex: number | null } export type HumanTaskSumAggregateOutputType = { itemIndex: number | null } export type HumanTaskMinAggregateOutputType = { id: string | null runId: string | null workflowId: string | null workspaceId: string | null nodeId: string | null activationId: string | null itemIndex: number | null status: string | null channel: string | null subjectJson: string | null metadataJson: string | null decisionSchemaJson: string | null decisionSchemaHash: string | null onTimeout: string | null deliveryRefJson: string | null decisionJson: string | null decidedAt: Date | null decidedByJson: string | null resumeTokenHash: string | null expiresAt: Date | null createdAt: Date | null } export type HumanTaskMaxAggregateOutputType = { id: string | null runId: string | null workflowId: string | null workspaceId: string | null nodeId: string | null activationId: string | null itemIndex: number | null status: string | null channel: string | null subjectJson: string | null metadataJson: string | null decisionSchemaJson: string | null decisionSchemaHash: string | null onTimeout: string | null deliveryRefJson: string | null decisionJson: string | null decidedAt: Date | null decidedByJson: string | null resumeTokenHash: string | null expiresAt: Date | null createdAt: Date | null } export type HumanTaskCountAggregateOutputType = { id: number runId: number workflowId: number workspaceId: number nodeId: number activationId: number itemIndex: number status: number channel: number subjectJson: number metadataJson: number decisionSchemaJson: number decisionSchemaHash: number onTimeout: number deliveryRefJson: number decisionJson: number decidedAt: number decidedByJson: number resumeTokenHash: number expiresAt: number createdAt: number _all: number } export type HumanTaskAvgAggregateInputType = { itemIndex?: true } export type HumanTaskSumAggregateInputType = { itemIndex?: true } export type HumanTaskMinAggregateInputType = { id?: true runId?: true workflowId?: true workspaceId?: true nodeId?: true activationId?: true itemIndex?: true status?: true channel?: true subjectJson?: true metadataJson?: true decisionSchemaJson?: true decisionSchemaHash?: true onTimeout?: true deliveryRefJson?: true decisionJson?: true decidedAt?: true decidedByJson?: true resumeTokenHash?: true expiresAt?: true createdAt?: true } export type HumanTaskMaxAggregateInputType = { id?: true runId?: true workflowId?: true workspaceId?: true nodeId?: true activationId?: true itemIndex?: true status?: true channel?: true subjectJson?: true metadataJson?: true decisionSchemaJson?: true decisionSchemaHash?: true onTimeout?: true deliveryRefJson?: true decisionJson?: true decidedAt?: true decidedByJson?: true resumeTokenHash?: true expiresAt?: true createdAt?: true } export type HumanTaskCountAggregateInputType = { id?: true runId?: true workflowId?: true workspaceId?: true nodeId?: true activationId?: true itemIndex?: true status?: true channel?: true subjectJson?: true metadataJson?: true decisionSchemaJson?: true decisionSchemaHash?: true onTimeout?: true deliveryRefJson?: true decisionJson?: true decidedAt?: true decidedByJson?: true resumeTokenHash?: true expiresAt?: true createdAt?: true _all?: true } export type HumanTaskAggregateArgs = { /** * Filter which HumanTask to aggregate. */ where?: HumanTaskWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HumanTasks to fetch. */ orderBy?: HumanTaskOrderByWithRelationInput | HumanTaskOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: HumanTaskWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HumanTasks from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` HumanTasks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned HumanTasks **/ _count?: true | HumanTaskCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: HumanTaskAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: HumanTaskSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: HumanTaskMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: HumanTaskMaxAggregateInputType } export type GetHumanTaskAggregateType = { [P in keyof T & keyof AggregateHumanTask]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type HumanTaskGroupByArgs = { where?: HumanTaskWhereInput orderBy?: HumanTaskOrderByWithAggregationInput | HumanTaskOrderByWithAggregationInput[] by: HumanTaskScalarFieldEnum[] | HumanTaskScalarFieldEnum having?: HumanTaskScalarWhereWithAggregatesInput take?: number skip?: number _count?: HumanTaskCountAggregateInputType | true _avg?: HumanTaskAvgAggregateInputType _sum?: HumanTaskSumAggregateInputType _min?: HumanTaskMinAggregateInputType _max?: HumanTaskMaxAggregateInputType } export type HumanTaskGroupByOutputType = { id: string runId: string workflowId: string workspaceId: string | null nodeId: string activationId: string itemIndex: number status: string channel: string subjectJson: string metadataJson: string decisionSchemaJson: string decisionSchemaHash: string onTimeout: string deliveryRefJson: string | null decisionJson: string | null decidedAt: Date | null decidedByJson: string | null resumeTokenHash: string expiresAt: Date createdAt: Date _count: HumanTaskCountAggregateOutputType | null _avg: HumanTaskAvgAggregateOutputType | null _sum: HumanTaskSumAggregateOutputType | null _min: HumanTaskMinAggregateOutputType | null _max: HumanTaskMaxAggregateOutputType | null } type GetHumanTaskGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof HumanTaskGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type HumanTaskSelect = $Extensions.GetSelect<{ id?: boolean runId?: boolean workflowId?: boolean workspaceId?: boolean nodeId?: boolean activationId?: boolean itemIndex?: boolean status?: boolean channel?: boolean subjectJson?: boolean metadataJson?: boolean decisionSchemaJson?: boolean decisionSchemaHash?: boolean onTimeout?: boolean deliveryRefJson?: boolean decisionJson?: boolean decidedAt?: boolean decidedByJson?: boolean resumeTokenHash?: boolean expiresAt?: boolean createdAt?: boolean }, ExtArgs["result"]["humanTask"]> export type HumanTaskSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean runId?: boolean workflowId?: boolean workspaceId?: boolean nodeId?: boolean activationId?: boolean itemIndex?: boolean status?: boolean channel?: boolean subjectJson?: boolean metadataJson?: boolean decisionSchemaJson?: boolean decisionSchemaHash?: boolean onTimeout?: boolean deliveryRefJson?: boolean decisionJson?: boolean decidedAt?: boolean decidedByJson?: boolean resumeTokenHash?: boolean expiresAt?: boolean createdAt?: boolean }, ExtArgs["result"]["humanTask"]> export type HumanTaskSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean runId?: boolean workflowId?: boolean workspaceId?: boolean nodeId?: boolean activationId?: boolean itemIndex?: boolean status?: boolean channel?: boolean subjectJson?: boolean metadataJson?: boolean decisionSchemaJson?: boolean decisionSchemaHash?: boolean onTimeout?: boolean deliveryRefJson?: boolean decisionJson?: boolean decidedAt?: boolean decidedByJson?: boolean resumeTokenHash?: boolean expiresAt?: boolean createdAt?: boolean }, ExtArgs["result"]["humanTask"]> export type HumanTaskSelectScalar = { id?: boolean runId?: boolean workflowId?: boolean workspaceId?: boolean nodeId?: boolean activationId?: boolean itemIndex?: boolean status?: boolean channel?: boolean subjectJson?: boolean metadataJson?: boolean decisionSchemaJson?: boolean decisionSchemaHash?: boolean onTimeout?: boolean deliveryRefJson?: boolean decisionJson?: boolean decidedAt?: boolean decidedByJson?: boolean resumeTokenHash?: boolean expiresAt?: boolean createdAt?: boolean } export type HumanTaskOmit = $Extensions.GetOmit<"id" | "runId" | "workflowId" | "workspaceId" | "nodeId" | "activationId" | "itemIndex" | "status" | "channel" | "subjectJson" | "metadataJson" | "decisionSchemaJson" | "decisionSchemaHash" | "onTimeout" | "deliveryRefJson" | "decisionJson" | "decidedAt" | "decidedByJson" | "resumeTokenHash" | "expiresAt" | "createdAt", ExtArgs["result"]["humanTask"]> export type $HumanTaskPayload = { name: "HumanTask" objects: {} scalars: $Extensions.GetPayloadResult<{ id: string runId: string workflowId: string workspaceId: string | null nodeId: string activationId: string itemIndex: number /** * pending | decided | timed_out | auto_accepted | cancelled */ status: string /** * local | control-plane-inbox */ channel: string subjectJson: string metadataJson: string decisionSchemaJson: string decisionSchemaHash: string /** * halt | auto-accept */ onTimeout: string deliveryRefJson: string | null decisionJson: string | null decidedAt: Date | null decidedByJson: string | null resumeTokenHash: string expiresAt: Date createdAt: Date }, ExtArgs["result"]["humanTask"]> composites: {} } type HumanTaskGetPayload = $Result.GetResult type HumanTaskCountArgs = Omit & { select?: HumanTaskCountAggregateInputType | true } export interface HumanTaskDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['HumanTask'], meta: { name: 'HumanTask' } } /** * Find zero or one HumanTask that matches the filter. * @param {HumanTaskFindUniqueArgs} args - Arguments to find a HumanTask * @example * // Get one HumanTask * const humanTask = await prisma.humanTask.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__HumanTaskClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one HumanTask that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {HumanTaskFindUniqueOrThrowArgs} args - Arguments to find a HumanTask * @example * // Get one HumanTask * const humanTask = await prisma.humanTask.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__HumanTaskClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first HumanTask 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 {HumanTaskFindFirstArgs} args - Arguments to find a HumanTask * @example * // Get one HumanTask * const humanTask = await prisma.humanTask.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__HumanTaskClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first HumanTask 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 {HumanTaskFindFirstOrThrowArgs} args - Arguments to find a HumanTask * @example * // Get one HumanTask * const humanTask = await prisma.humanTask.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__HumanTaskClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more HumanTasks 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 {HumanTaskFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all HumanTasks * const humanTasks = await prisma.humanTask.findMany() * * // Get first 10 HumanTasks * const humanTasks = await prisma.humanTask.findMany({ take: 10 }) * * // Only select the `id` * const humanTaskWithIdOnly = await prisma.humanTask.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a HumanTask. * @param {HumanTaskCreateArgs} args - Arguments to create a HumanTask. * @example * // Create one HumanTask * const HumanTask = await prisma.humanTask.create({ * data: { * // ... data to create a HumanTask * } * }) * */ create(args: SelectSubset>): Prisma__HumanTaskClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many HumanTasks. * @param {HumanTaskCreateManyArgs} args - Arguments to create many HumanTasks. * @example * // Create many HumanTasks * const humanTask = await prisma.humanTask.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many HumanTasks and returns the data saved in the database. * @param {HumanTaskCreateManyAndReturnArgs} args - Arguments to create many HumanTasks. * @example * // Create many HumanTasks * const humanTask = await prisma.humanTask.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many HumanTasks and only return the `id` * const humanTaskWithIdOnly = await prisma.humanTask.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 HumanTask. * @param {HumanTaskDeleteArgs} args - Arguments to delete one HumanTask. * @example * // Delete one HumanTask * const HumanTask = await prisma.humanTask.delete({ * where: { * // ... filter to delete one HumanTask * } * }) * */ delete(args: SelectSubset>): Prisma__HumanTaskClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one HumanTask. * @param {HumanTaskUpdateArgs} args - Arguments to update one HumanTask. * @example * // Update one HumanTask * const humanTask = await prisma.humanTask.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__HumanTaskClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more HumanTasks. * @param {HumanTaskDeleteManyArgs} args - Arguments to filter HumanTasks to delete. * @example * // Delete a few HumanTasks * const { count } = await prisma.humanTask.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more HumanTasks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HumanTaskUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many HumanTasks * const humanTask = await prisma.humanTask.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more HumanTasks and returns the data updated in the database. * @param {HumanTaskUpdateManyAndReturnArgs} args - Arguments to update many HumanTasks. * @example * // Update many HumanTasks * const humanTask = await prisma.humanTask.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more HumanTasks and only return the `id` * const humanTaskWithIdOnly = await prisma.humanTask.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 HumanTask. * @param {HumanTaskUpsertArgs} args - Arguments to update or create a HumanTask. * @example * // Update or create a HumanTask * const humanTask = await prisma.humanTask.upsert({ * create: { * // ... data to create a HumanTask * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the HumanTask we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__HumanTaskClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of HumanTasks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HumanTaskCountArgs} args - Arguments to filter HumanTasks to count. * @example * // Count the number of HumanTasks * const count = await prisma.humanTask.count({ * where: { * // ... the filter for the HumanTasks 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 HumanTask. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HumanTaskAggregateArgs} 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 HumanTask. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HumanTaskGroupByArgs} 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 HumanTaskGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: HumanTaskGroupByArgs['orderBy'] } : { orderBy?: HumanTaskGroupByArgs['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 ? GetHumanTaskGroupByPayload : Prisma.PrismaPromise /** * Fields of the HumanTask model */ readonly fields: HumanTaskFieldRefs; } /** * The delegate class that acts as a "Promise-like" for HumanTask. * 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__HumanTaskClient 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 HumanTask model */ interface HumanTaskFieldRefs { readonly id: FieldRef<"HumanTask", 'String'> readonly runId: FieldRef<"HumanTask", 'String'> readonly workflowId: FieldRef<"HumanTask", 'String'> readonly workspaceId: FieldRef<"HumanTask", 'String'> readonly nodeId: FieldRef<"HumanTask", 'String'> readonly activationId: FieldRef<"HumanTask", 'String'> readonly itemIndex: FieldRef<"HumanTask", 'Int'> readonly status: FieldRef<"HumanTask", 'String'> readonly channel: FieldRef<"HumanTask", 'String'> readonly subjectJson: FieldRef<"HumanTask", 'String'> readonly metadataJson: FieldRef<"HumanTask", 'String'> readonly decisionSchemaJson: FieldRef<"HumanTask", 'String'> readonly decisionSchemaHash: FieldRef<"HumanTask", 'String'> readonly onTimeout: FieldRef<"HumanTask", 'String'> readonly deliveryRefJson: FieldRef<"HumanTask", 'String'> readonly decisionJson: FieldRef<"HumanTask", 'String'> readonly decidedAt: FieldRef<"HumanTask", 'DateTime'> readonly decidedByJson: FieldRef<"HumanTask", 'String'> readonly resumeTokenHash: FieldRef<"HumanTask", 'String'> readonly expiresAt: FieldRef<"HumanTask", 'DateTime'> readonly createdAt: FieldRef<"HumanTask", 'DateTime'> } // Custom InputTypes /** * HumanTask findUnique */ export type HumanTaskFindUniqueArgs = { /** * Select specific fields to fetch from the HumanTask */ select?: HumanTaskSelect | null /** * Omit specific fields from the HumanTask */ omit?: HumanTaskOmit | null /** * Filter, which HumanTask to fetch. */ where: HumanTaskWhereUniqueInput } /** * HumanTask findUniqueOrThrow */ export type HumanTaskFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the HumanTask */ select?: HumanTaskSelect | null /** * Omit specific fields from the HumanTask */ omit?: HumanTaskOmit | null /** * Filter, which HumanTask to fetch. */ where: HumanTaskWhereUniqueInput } /** * HumanTask findFirst */ export type HumanTaskFindFirstArgs = { /** * Select specific fields to fetch from the HumanTask */ select?: HumanTaskSelect | null /** * Omit specific fields from the HumanTask */ omit?: HumanTaskOmit | null /** * Filter, which HumanTask to fetch. */ where?: HumanTaskWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HumanTasks to fetch. */ orderBy?: HumanTaskOrderByWithRelationInput | HumanTaskOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for HumanTasks. */ cursor?: HumanTaskWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HumanTasks from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` HumanTasks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HumanTasks. */ distinct?: HumanTaskScalarFieldEnum | HumanTaskScalarFieldEnum[] } /** * HumanTask findFirstOrThrow */ export type HumanTaskFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the HumanTask */ select?: HumanTaskSelect | null /** * Omit specific fields from the HumanTask */ omit?: HumanTaskOmit | null /** * Filter, which HumanTask to fetch. */ where?: HumanTaskWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HumanTasks to fetch. */ orderBy?: HumanTaskOrderByWithRelationInput | HumanTaskOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for HumanTasks. */ cursor?: HumanTaskWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HumanTasks from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` HumanTasks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HumanTasks. */ distinct?: HumanTaskScalarFieldEnum | HumanTaskScalarFieldEnum[] } /** * HumanTask findMany */ export type HumanTaskFindManyArgs = { /** * Select specific fields to fetch from the HumanTask */ select?: HumanTaskSelect | null /** * Omit specific fields from the HumanTask */ omit?: HumanTaskOmit | null /** * Filter, which HumanTasks to fetch. */ where?: HumanTaskWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HumanTasks to fetch. */ orderBy?: HumanTaskOrderByWithRelationInput | HumanTaskOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing HumanTasks. */ cursor?: HumanTaskWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HumanTasks from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` HumanTasks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HumanTasks. */ distinct?: HumanTaskScalarFieldEnum | HumanTaskScalarFieldEnum[] } /** * HumanTask create */ export type HumanTaskCreateArgs = { /** * Select specific fields to fetch from the HumanTask */ select?: HumanTaskSelect | null /** * Omit specific fields from the HumanTask */ omit?: HumanTaskOmit | null /** * The data needed to create a HumanTask. */ data: XOR } /** * HumanTask createMany */ export type HumanTaskCreateManyArgs = { /** * The data used to create many HumanTasks. */ data: HumanTaskCreateManyInput | HumanTaskCreateManyInput[] skipDuplicates?: boolean } /** * HumanTask createManyAndReturn */ export type HumanTaskCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the HumanTask */ select?: HumanTaskSelectCreateManyAndReturn | null /** * Omit specific fields from the HumanTask */ omit?: HumanTaskOmit | null /** * The data used to create many HumanTasks. */ data: HumanTaskCreateManyInput | HumanTaskCreateManyInput[] skipDuplicates?: boolean } /** * HumanTask update */ export type HumanTaskUpdateArgs = { /** * Select specific fields to fetch from the HumanTask */ select?: HumanTaskSelect | null /** * Omit specific fields from the HumanTask */ omit?: HumanTaskOmit | null /** * The data needed to update a HumanTask. */ data: XOR /** * Choose, which HumanTask to update. */ where: HumanTaskWhereUniqueInput } /** * HumanTask updateMany */ export type HumanTaskUpdateManyArgs = { /** * The data used to update HumanTasks. */ data: XOR /** * Filter which HumanTasks to update */ where?: HumanTaskWhereInput /** * Limit how many HumanTasks to update. */ limit?: number } /** * HumanTask updateManyAndReturn */ export type HumanTaskUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the HumanTask */ select?: HumanTaskSelectUpdateManyAndReturn | null /** * Omit specific fields from the HumanTask */ omit?: HumanTaskOmit | null /** * The data used to update HumanTasks. */ data: XOR /** * Filter which HumanTasks to update */ where?: HumanTaskWhereInput /** * Limit how many HumanTasks to update. */ limit?: number } /** * HumanTask upsert */ export type HumanTaskUpsertArgs = { /** * Select specific fields to fetch from the HumanTask */ select?: HumanTaskSelect | null /** * Omit specific fields from the HumanTask */ omit?: HumanTaskOmit | null /** * The filter to search for the HumanTask to update in case it exists. */ where: HumanTaskWhereUniqueInput /** * In case the HumanTask found by the `where` argument doesn't exist, create a new HumanTask with this data. */ create: XOR /** * In case the HumanTask was found with the provided `where` argument, update it with this data. */ update: XOR } /** * HumanTask delete */ export type HumanTaskDeleteArgs = { /** * Select specific fields to fetch from the HumanTask */ select?: HumanTaskSelect | null /** * Omit specific fields from the HumanTask */ omit?: HumanTaskOmit | null /** * Filter which HumanTask to delete. */ where: HumanTaskWhereUniqueInput } /** * HumanTask deleteMany */ export type HumanTaskDeleteManyArgs = { /** * Filter which HumanTasks to delete */ where?: HumanTaskWhereInput /** * Limit how many HumanTasks to delete. */ limit?: number } /** * HumanTask without action */ export type HumanTaskDefaultArgs = { /** * Select specific fields to fetch from the HumanTask */ select?: HumanTaskSelect | null /** * Omit specific fields from the HumanTask */ omit?: HumanTaskOmit | null } /** * Enums */ export const TransactionIsolationLevel: { ReadUncommitted: 'ReadUncommitted', ReadCommitted: 'ReadCommitted', RepeatableRead: 'RepeatableRead', Serializable: 'Serializable' }; export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] export const RunScalarFieldEnum: { runId: 'runId', workflowId: 'workflowId', startedAt: 'startedAt', finishedAt: 'finishedAt', status: 'status', revision: 'revision', parentJson: 'parentJson', executionOptionsJson: 'executionOptionsJson', controlJson: 'controlJson', workflowSnapshotJson: 'workflowSnapshotJson', workflowSnapshotId: 'workflowSnapshotId', policySnapshotJson: 'policySnapshotJson', engineCountersJson: 'engineCountersJson', mutableStateJson: 'mutableStateJson', hitlStateJson: 'hitlStateJson', outputsByNodeJson: 'outputsByNodeJson', updatedAt: 'updatedAt', testSuiteRunId: 'testSuiteRunId', testCaseIndex: 'testCaseIndex', testCaseLabel: 'testCaseLabel', testCaseStatus: 'testCaseStatus' }; export type RunScalarFieldEnum = (typeof RunScalarFieldEnum)[keyof typeof RunScalarFieldEnum] export const RunWorkItemScalarFieldEnum: { workItemId: 'workItemId', runId: 'runId', workflowId: 'workflowId', status: 'status', targetNodeId: 'targetNodeId', batchId: 'batchId', queueName: 'queueName', claimToken: 'claimToken', claimedBy: 'claimedBy', claimedAt: 'claimedAt', availableAt: 'availableAt', enqueuedAt: 'enqueuedAt', completedAt: 'completedAt', failedAt: 'failedAt', sourceInstanceId: 'sourceInstanceId', parentInstanceId: 'parentInstanceId', itemsIn: 'itemsIn', inputsByPortJson: 'inputsByPortJson', errorJson: 'errorJson' }; export type RunWorkItemScalarFieldEnum = (typeof RunWorkItemScalarFieldEnum)[keyof typeof RunWorkItemScalarFieldEnum] export const ExecutionInstanceScalarFieldEnum: { instanceId: 'instanceId', runId: 'runId', workflowId: 'workflowId', slotNodeId: 'slotNodeId', workflowNodeId: 'workflowNodeId', kind: 'kind', connectionKind: 'connectionKind', activationId: 'activationId', batchId: 'batchId', runIndex: 'runIndex', parentInstanceId: 'parentInstanceId', parentRunId: 'parentRunId', workerClaimToken: 'workerClaimToken', status: 'status', queuedAt: 'queuedAt', startedAt: 'startedAt', finishedAt: 'finishedAt', updatedAt: 'updatedAt', itemCount: 'itemCount', inputJson: 'inputJson', outputJson: 'outputJson', errorJson: 'errorJson', inputItemIndicesJson: 'inputItemIndicesJson', outputItemCount: 'outputItemCount', successfulItemCount: 'successfulItemCount', failedItemCount: 'failedItemCount', inputStorageKind: 'inputStorageKind', outputStorageKind: 'outputStorageKind', inputBytes: 'inputBytes', outputBytes: 'outputBytes', inputPreviewJson: 'inputPreviewJson', outputPreviewJson: 'outputPreviewJson', inputPayloadRef: 'inputPayloadRef', outputPayloadRef: 'outputPayloadRef', inputTruncated: 'inputTruncated', outputTruncated: 'outputTruncated', usedPinnedOutput: 'usedPinnedOutput', iterationId: 'iterationId', itemIndex: 'itemIndex', parentInvocationId: 'parentInvocationId', childRunId: 'childRunId' }; export type ExecutionInstanceScalarFieldEnum = (typeof ExecutionInstanceScalarFieldEnum)[keyof typeof ExecutionInstanceScalarFieldEnum] export const RunSlotProjectionScalarFieldEnum: { runId: 'runId', workflowId: 'workflowId', revision: 'revision', updatedAt: 'updatedAt', slotStatesJson: 'slotStatesJson' }; export type RunSlotProjectionScalarFieldEnum = (typeof RunSlotProjectionScalarFieldEnum)[keyof typeof RunSlotProjectionScalarFieldEnum] export const TestSuiteRunScalarFieldEnum: { id: 'id', workflowId: 'workflowId', triggerNodeId: 'triggerNodeId', triggerNodeName: 'triggerNodeName', status: 'status', concurrency: 'concurrency', startedAt: 'startedAt', finishedAt: 'finishedAt', totalCases: 'totalCases', passedCases: 'passedCases', failedCases: 'failedCases', nodeCoverageJson: 'nodeCoverageJson', errorMessage: 'errorMessage', updatedAt: 'updatedAt' }; export type TestSuiteRunScalarFieldEnum = (typeof TestSuiteRunScalarFieldEnum)[keyof typeof TestSuiteRunScalarFieldEnum] export const TestAssertionScalarFieldEnum: { id: 'id', runId: 'runId', testSuiteRunId: 'testSuiteRunId', workflowId: 'workflowId', nodeId: 'nodeId', iterationId: 'iterationId', itemIndex: 'itemIndex', name: 'name', score: 'score', passThreshold: 'passThreshold', errored: 'errored', expectedJson: 'expectedJson', actualJson: 'actualJson', message: 'message', detailsJson: 'detailsJson', createdAt: 'createdAt' }; export type TestAssertionScalarFieldEnum = (typeof TestAssertionScalarFieldEnum)[keyof typeof TestAssertionScalarFieldEnum] export const WorkflowDebuggerOverlayScalarFieldEnum: { workflowId: 'workflowId', updatedAt: 'updatedAt', copiedFromRunId: 'copiedFromRunId', stateJson: 'stateJson' }; export type WorkflowDebuggerOverlayScalarFieldEnum = (typeof WorkflowDebuggerOverlayScalarFieldEnum)[keyof typeof WorkflowDebuggerOverlayScalarFieldEnum] export const WorkflowActivationScalarFieldEnum: { workflowId: 'workflowId', isActive: 'isActive', updatedAt: 'updatedAt' }; export type WorkflowActivationScalarFieldEnum = (typeof WorkflowActivationScalarFieldEnum)[keyof typeof WorkflowActivationScalarFieldEnum] export const TriggerSetupStateScalarFieldEnum: { workflowId: 'workflowId', nodeId: 'nodeId', updatedAt: 'updatedAt', stateJson: 'stateJson' }; export type TriggerSetupStateScalarFieldEnum = (typeof TriggerSetupStateScalarFieldEnum)[keyof typeof TriggerSetupStateScalarFieldEnum] export const RunTraceContextScalarFieldEnum: { runId: 'runId', workflowId: 'workflowId', traceId: 'traceId', rootSpanId: 'rootSpanId', serviceName: 'serviceName', createdAt: 'createdAt', expiresAt: 'expiresAt' }; export type RunTraceContextScalarFieldEnum = (typeof RunTraceContextScalarFieldEnum)[keyof typeof RunTraceContextScalarFieldEnum] export const TelemetrySpanScalarFieldEnum: { telemetrySpanId: 'telemetrySpanId', traceId: 'traceId', spanId: 'spanId', parentSpanId: 'parentSpanId', runId: 'runId', workflowId: 'workflowId', nodeId: 'nodeId', activationId: 'activationId', connectionInvocationId: 'connectionInvocationId', name: 'name', kind: 'kind', status: 'status', statusMessage: 'statusMessage', startTime: 'startTime', endTime: 'endTime', workflowFolder: 'workflowFolder', nodeType: 'nodeType', nodeRole: 'nodeRole', modelName: 'modelName', attributesJson: 'attributesJson', eventsJson: 'eventsJson', retentionExpiresAt: 'retentionExpiresAt', iterationId: 'iterationId', itemIndex: 'itemIndex', parentInvocationId: 'parentInvocationId', updatedAt: 'updatedAt' }; export type TelemetrySpanScalarFieldEnum = (typeof TelemetrySpanScalarFieldEnum)[keyof typeof TelemetrySpanScalarFieldEnum] export const WorkflowSnapshotScalarFieldEnum: { id: 'id', workflowId: 'workflowId', snapshotHash: 'snapshotHash', snapshotJson: 'snapshotJson', createdAt: 'createdAt' }; export type WorkflowSnapshotScalarFieldEnum = (typeof WorkflowSnapshotScalarFieldEnum)[keyof typeof WorkflowSnapshotScalarFieldEnum] export const TelemetryArtifactScalarFieldEnum: { artifactId: 'artifactId', traceId: 'traceId', spanId: 'spanId', runId: 'runId', workflowId: 'workflowId', nodeId: 'nodeId', activationId: 'activationId', kind: 'kind', contentType: 'contentType', previewText: 'previewText', previewJson: 'previewJson', payloadText: 'payloadText', payloadJson: 'payloadJson', payloadStorageKey: 'payloadStorageKey', bytes: 'bytes', truncated: 'truncated', createdAt: 'createdAt', expiresAt: 'expiresAt', retentionExpiresAt: 'retentionExpiresAt' }; export type TelemetryArtifactScalarFieldEnum = (typeof TelemetryArtifactScalarFieldEnum)[keyof typeof TelemetryArtifactScalarFieldEnum] export const TelemetryMetricPointScalarFieldEnum: { metricPointId: 'metricPointId', traceId: 'traceId', spanId: 'spanId', runId: 'runId', workflowId: 'workflowId', nodeId: 'nodeId', activationId: 'activationId', metricName: 'metricName', value: 'value', unit: 'unit', observedAt: 'observedAt', workflowFolder: 'workflowFolder', nodeType: 'nodeType', nodeRole: 'nodeRole', modelName: 'modelName', dimensionsJson: 'dimensionsJson', retentionExpiresAt: 'retentionExpiresAt', iterationId: 'iterationId', itemIndex: 'itemIndex', parentInvocationId: 'parentInvocationId' }; export type TelemetryMetricPointScalarFieldEnum = (typeof TelemetryMetricPointScalarFieldEnum)[keyof typeof TelemetryMetricPointScalarFieldEnum] export const CredentialInstanceScalarFieldEnum: { instanceId: 'instanceId', typeId: 'typeId', displayName: 'displayName', sourceKind: 'sourceKind', publicConfigJson: 'publicConfigJson', secretRefJson: 'secretRefJson', tagsJson: 'tagsJson', setupStatus: 'setupStatus', createdAt: 'createdAt', updatedAt: 'updatedAt', materialSource: 'materialSource', materialRef: 'materialRef' }; export type CredentialInstanceScalarFieldEnum = (typeof CredentialInstanceScalarFieldEnum)[keyof typeof CredentialInstanceScalarFieldEnum] export const CredentialSecretMaterialScalarFieldEnum: { instanceId: 'instanceId', encryptedJson: 'encryptedJson', encryptionKeyId: 'encryptionKeyId', schemaVersion: 'schemaVersion', updatedAt: 'updatedAt' }; export type CredentialSecretMaterialScalarFieldEnum = (typeof CredentialSecretMaterialScalarFieldEnum)[keyof typeof CredentialSecretMaterialScalarFieldEnum] export const CredentialOAuth2MaterialScalarFieldEnum: { instanceId: 'instanceId', encryptedJson: 'encryptedJson', encryptionKeyId: 'encryptionKeyId', schemaVersion: 'schemaVersion', providerId: 'providerId', connectedEmail: 'connectedEmail', connectedAt: 'connectedAt', scopesJson: 'scopesJson', updatedAt: 'updatedAt' }; export type CredentialOAuth2MaterialScalarFieldEnum = (typeof CredentialOAuth2MaterialScalarFieldEnum)[keyof typeof CredentialOAuth2MaterialScalarFieldEnum] export const CredentialOAuth2StateScalarFieldEnum: { state: 'state', instanceId: 'instanceId', codeVerifier: 'codeVerifier', providerId: 'providerId', requestedScopesJson: 'requestedScopesJson', createdAt: 'createdAt', expiresAt: 'expiresAt' }; export type CredentialOAuth2StateScalarFieldEnum = (typeof CredentialOAuth2StateScalarFieldEnum)[keyof typeof CredentialOAuth2StateScalarFieldEnum] export const CredentialBindingScalarFieldEnum: { workflowId: 'workflowId', nodeId: 'nodeId', slotKey: 'slotKey', instanceId: 'instanceId', updatedAt: 'updatedAt' }; export type CredentialBindingScalarFieldEnum = (typeof CredentialBindingScalarFieldEnum)[keyof typeof CredentialBindingScalarFieldEnum] export const CredentialTestResultScalarFieldEnum: { testId: 'testId', instanceId: 'instanceId', status: 'status', message: 'message', detailsJson: 'detailsJson', testedAt: 'testedAt', expiresAt: 'expiresAt' }; export type CredentialTestResultScalarFieldEnum = (typeof CredentialTestResultScalarFieldEnum)[keyof typeof CredentialTestResultScalarFieldEnum] export const UserScalarFieldEnum: { id: 'id', name: 'name', email: 'email', emailVerified: 'emailVerified', image: 'image', passwordHash: 'passwordHash', accountStatus: 'accountStatus', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] export const UserInviteScalarFieldEnum: { id: 'id', userId: 'userId', tokenHash: 'tokenHash', expiresAt: 'expiresAt', createdAt: 'createdAt', revokedAt: 'revokedAt' }; export type UserInviteScalarFieldEnum = (typeof UserInviteScalarFieldEnum)[keyof typeof UserInviteScalarFieldEnum] export const AccountScalarFieldEnum: { id: 'id', userId: 'userId', type: 'type', provider: 'provider', providerAccountId: 'providerAccountId', password: 'password', refresh_token: 'refresh_token', access_token: 'access_token', expires_at: 'expires_at', accessTokenExpiresAt: 'accessTokenExpiresAt', refreshTokenExpiresAt: 'refreshTokenExpiresAt', token_type: 'token_type', scope: 'scope', id_token: 'id_token', session_state: 'session_state', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum] export const SessionScalarFieldEnum: { id: 'id', sessionToken: 'sessionToken', userId: 'userId', expires: 'expires', createdAt: 'createdAt', updatedAt: 'updatedAt', ipAddress: 'ipAddress', userAgent: 'userAgent' }; export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum] export const VerificationTokenScalarFieldEnum: { id: 'id', identifier: 'identifier', token: 'token', expires: 'expires', createdAt: 'createdAt', updatedAt: 'updatedAt' }; export type VerificationTokenScalarFieldEnum = (typeof VerificationTokenScalarFieldEnum)[keyof typeof VerificationTokenScalarFieldEnum] export const WorkflowAuditLogScalarFieldEnum: { id: 'id', occurredAt: 'occurredAt', actorUserId: 'actorUserId', actorSessionId: 'actorSessionId', action: 'action', resourceType: 'resourceType', resourceId: 'resourceId', outcome: 'outcome', errorCode: 'errorCode', correlationId: 'correlationId', workflowId: 'workflowId', runId: 'runId', nodeId: 'nodeId' }; export type WorkflowAuditLogScalarFieldEnum = (typeof WorkflowAuditLogScalarFieldEnum)[keyof typeof WorkflowAuditLogScalarFieldEnum] export const HmacNonceScalarFieldEnum: { nonce: 'nonce', expiresAt: 'expiresAt' }; export type HmacNonceScalarFieldEnum = (typeof HmacNonceScalarFieldEnum)[keyof typeof HmacNonceScalarFieldEnum] export const HumanTaskScalarFieldEnum: { id: 'id', runId: 'runId', workflowId: 'workflowId', workspaceId: 'workspaceId', nodeId: 'nodeId', activationId: 'activationId', itemIndex: 'itemIndex', status: 'status', channel: 'channel', subjectJson: 'subjectJson', metadataJson: 'metadataJson', decisionSchemaJson: 'decisionSchemaJson', decisionSchemaHash: 'decisionSchemaHash', onTimeout: 'onTimeout', deliveryRefJson: 'deliveryRefJson', decisionJson: 'decisionJson', decidedAt: 'decidedAt', decidedByJson: 'decidedByJson', resumeTokenHash: 'resumeTokenHash', expiresAt: 'expiresAt', createdAt: 'createdAt' }; export type HumanTaskScalarFieldEnum = (typeof HumanTaskScalarFieldEnum)[keyof typeof HumanTaskScalarFieldEnum] export const SortOrder: { asc: 'asc', desc: 'desc' }; export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] 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] /** * 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 'Boolean' */ export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'> /** * 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 'DateTime' */ export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'> /** * Reference to a field of type 'DateTime[]' */ export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'> /** * Deep Input Types */ export type RunWhereInput = { AND?: RunWhereInput | RunWhereInput[] OR?: RunWhereInput[] NOT?: RunWhereInput | RunWhereInput[] runId?: StringFilter<"Run"> | string workflowId?: StringFilter<"Run"> | string startedAt?: StringFilter<"Run"> | string finishedAt?: StringNullableFilter<"Run"> | string | null status?: StringFilter<"Run"> | string revision?: IntFilter<"Run"> | number parentJson?: StringNullableFilter<"Run"> | string | null executionOptionsJson?: StringNullableFilter<"Run"> | string | null controlJson?: StringNullableFilter<"Run"> | string | null workflowSnapshotJson?: StringNullableFilter<"Run"> | string | null workflowSnapshotId?: StringNullableFilter<"Run"> | string | null policySnapshotJson?: StringNullableFilter<"Run"> | string | null engineCountersJson?: StringNullableFilter<"Run"> | string | null mutableStateJson?: StringNullableFilter<"Run"> | string | null hitlStateJson?: StringNullableFilter<"Run"> | string | null outputsByNodeJson?: StringFilter<"Run"> | string updatedAt?: StringFilter<"Run"> | string testSuiteRunId?: StringNullableFilter<"Run"> | string | null testCaseIndex?: IntNullableFilter<"Run"> | number | null testCaseLabel?: StringNullableFilter<"Run"> | string | null testCaseStatus?: StringNullableFilter<"Run"> | string | null workItems?: RunWorkItemListRelationFilter executionInstances?: ExecutionInstanceListRelationFilter slotProjection?: XOR | null testSuiteRun?: XOR | null testAssertions?: TestAssertionListRelationFilter workflowSnapshot?: XOR | null } export type RunOrderByWithRelationInput = { runId?: SortOrder workflowId?: SortOrder startedAt?: SortOrder finishedAt?: SortOrderInput | SortOrder status?: SortOrder revision?: SortOrder parentJson?: SortOrderInput | SortOrder executionOptionsJson?: SortOrderInput | SortOrder controlJson?: SortOrderInput | SortOrder workflowSnapshotJson?: SortOrderInput | SortOrder workflowSnapshotId?: SortOrderInput | SortOrder policySnapshotJson?: SortOrderInput | SortOrder engineCountersJson?: SortOrderInput | SortOrder mutableStateJson?: SortOrderInput | SortOrder hitlStateJson?: SortOrderInput | SortOrder outputsByNodeJson?: SortOrder updatedAt?: SortOrder testSuiteRunId?: SortOrderInput | SortOrder testCaseIndex?: SortOrderInput | SortOrder testCaseLabel?: SortOrderInput | SortOrder testCaseStatus?: SortOrderInput | SortOrder workItems?: RunWorkItemOrderByRelationAggregateInput executionInstances?: ExecutionInstanceOrderByRelationAggregateInput slotProjection?: RunSlotProjectionOrderByWithRelationInput testSuiteRun?: TestSuiteRunOrderByWithRelationInput testAssertions?: TestAssertionOrderByRelationAggregateInput workflowSnapshot?: WorkflowSnapshotOrderByWithRelationInput } export type RunWhereUniqueInput = Prisma.AtLeast<{ runId?: string AND?: RunWhereInput | RunWhereInput[] OR?: RunWhereInput[] NOT?: RunWhereInput | RunWhereInput[] workflowId?: StringFilter<"Run"> | string startedAt?: StringFilter<"Run"> | string finishedAt?: StringNullableFilter<"Run"> | string | null status?: StringFilter<"Run"> | string revision?: IntFilter<"Run"> | number parentJson?: StringNullableFilter<"Run"> | string | null executionOptionsJson?: StringNullableFilter<"Run"> | string | null controlJson?: StringNullableFilter<"Run"> | string | null workflowSnapshotJson?: StringNullableFilter<"Run"> | string | null workflowSnapshotId?: StringNullableFilter<"Run"> | string | null policySnapshotJson?: StringNullableFilter<"Run"> | string | null engineCountersJson?: StringNullableFilter<"Run"> | string | null mutableStateJson?: StringNullableFilter<"Run"> | string | null hitlStateJson?: StringNullableFilter<"Run"> | string | null outputsByNodeJson?: StringFilter<"Run"> | string updatedAt?: StringFilter<"Run"> | string testSuiteRunId?: StringNullableFilter<"Run"> | string | null testCaseIndex?: IntNullableFilter<"Run"> | number | null testCaseLabel?: StringNullableFilter<"Run"> | string | null testCaseStatus?: StringNullableFilter<"Run"> | string | null workItems?: RunWorkItemListRelationFilter executionInstances?: ExecutionInstanceListRelationFilter slotProjection?: XOR | null testSuiteRun?: XOR | null testAssertions?: TestAssertionListRelationFilter workflowSnapshot?: XOR | null }, "runId"> export type RunOrderByWithAggregationInput = { runId?: SortOrder workflowId?: SortOrder startedAt?: SortOrder finishedAt?: SortOrderInput | SortOrder status?: SortOrder revision?: SortOrder parentJson?: SortOrderInput | SortOrder executionOptionsJson?: SortOrderInput | SortOrder controlJson?: SortOrderInput | SortOrder workflowSnapshotJson?: SortOrderInput | SortOrder workflowSnapshotId?: SortOrderInput | SortOrder policySnapshotJson?: SortOrderInput | SortOrder engineCountersJson?: SortOrderInput | SortOrder mutableStateJson?: SortOrderInput | SortOrder hitlStateJson?: SortOrderInput | SortOrder outputsByNodeJson?: SortOrder updatedAt?: SortOrder testSuiteRunId?: SortOrderInput | SortOrder testCaseIndex?: SortOrderInput | SortOrder testCaseLabel?: SortOrderInput | SortOrder testCaseStatus?: SortOrderInput | SortOrder _count?: RunCountOrderByAggregateInput _avg?: RunAvgOrderByAggregateInput _max?: RunMaxOrderByAggregateInput _min?: RunMinOrderByAggregateInput _sum?: RunSumOrderByAggregateInput } export type RunScalarWhereWithAggregatesInput = { AND?: RunScalarWhereWithAggregatesInput | RunScalarWhereWithAggregatesInput[] OR?: RunScalarWhereWithAggregatesInput[] NOT?: RunScalarWhereWithAggregatesInput | RunScalarWhereWithAggregatesInput[] runId?: StringWithAggregatesFilter<"Run"> | string workflowId?: StringWithAggregatesFilter<"Run"> | string startedAt?: StringWithAggregatesFilter<"Run"> | string finishedAt?: StringNullableWithAggregatesFilter<"Run"> | string | null status?: StringWithAggregatesFilter<"Run"> | string revision?: IntWithAggregatesFilter<"Run"> | number parentJson?: StringNullableWithAggregatesFilter<"Run"> | string | null executionOptionsJson?: StringNullableWithAggregatesFilter<"Run"> | string | null controlJson?: StringNullableWithAggregatesFilter<"Run"> | string | null workflowSnapshotJson?: StringNullableWithAggregatesFilter<"Run"> | string | null workflowSnapshotId?: StringNullableWithAggregatesFilter<"Run"> | string | null policySnapshotJson?: StringNullableWithAggregatesFilter<"Run"> | string | null engineCountersJson?: StringNullableWithAggregatesFilter<"Run"> | string | null mutableStateJson?: StringNullableWithAggregatesFilter<"Run"> | string | null hitlStateJson?: StringNullableWithAggregatesFilter<"Run"> | string | null outputsByNodeJson?: StringWithAggregatesFilter<"Run"> | string updatedAt?: StringWithAggregatesFilter<"Run"> | string testSuiteRunId?: StringNullableWithAggregatesFilter<"Run"> | string | null testCaseIndex?: IntNullableWithAggregatesFilter<"Run"> | number | null testCaseLabel?: StringNullableWithAggregatesFilter<"Run"> | string | null testCaseStatus?: StringNullableWithAggregatesFilter<"Run"> | string | null } export type RunWorkItemWhereInput = { AND?: RunWorkItemWhereInput | RunWorkItemWhereInput[] OR?: RunWorkItemWhereInput[] NOT?: RunWorkItemWhereInput | RunWorkItemWhereInput[] workItemId?: StringFilter<"RunWorkItem"> | string runId?: StringFilter<"RunWorkItem"> | string workflowId?: StringFilter<"RunWorkItem"> | string status?: StringFilter<"RunWorkItem"> | string targetNodeId?: StringFilter<"RunWorkItem"> | string batchId?: StringFilter<"RunWorkItem"> | string queueName?: StringNullableFilter<"RunWorkItem"> | string | null claimToken?: StringNullableFilter<"RunWorkItem"> | string | null claimedBy?: StringNullableFilter<"RunWorkItem"> | string | null claimedAt?: StringNullableFilter<"RunWorkItem"> | string | null availableAt?: StringFilter<"RunWorkItem"> | string enqueuedAt?: StringFilter<"RunWorkItem"> | string completedAt?: StringNullableFilter<"RunWorkItem"> | string | null failedAt?: StringNullableFilter<"RunWorkItem"> | string | null sourceInstanceId?: StringNullableFilter<"RunWorkItem"> | string | null parentInstanceId?: StringNullableFilter<"RunWorkItem"> | string | null itemsIn?: IntFilter<"RunWorkItem"> | number inputsByPortJson?: StringFilter<"RunWorkItem"> | string errorJson?: StringNullableFilter<"RunWorkItem"> | string | null run?: XOR } export type RunWorkItemOrderByWithRelationInput = { workItemId?: SortOrder runId?: SortOrder workflowId?: SortOrder status?: SortOrder targetNodeId?: SortOrder batchId?: SortOrder queueName?: SortOrderInput | SortOrder claimToken?: SortOrderInput | SortOrder claimedBy?: SortOrderInput | SortOrder claimedAt?: SortOrderInput | SortOrder availableAt?: SortOrder enqueuedAt?: SortOrder completedAt?: SortOrderInput | SortOrder failedAt?: SortOrderInput | SortOrder sourceInstanceId?: SortOrderInput | SortOrder parentInstanceId?: SortOrderInput | SortOrder itemsIn?: SortOrder inputsByPortJson?: SortOrder errorJson?: SortOrderInput | SortOrder run?: RunOrderByWithRelationInput } export type RunWorkItemWhereUniqueInput = Prisma.AtLeast<{ workItemId?: string AND?: RunWorkItemWhereInput | RunWorkItemWhereInput[] OR?: RunWorkItemWhereInput[] NOT?: RunWorkItemWhereInput | RunWorkItemWhereInput[] runId?: StringFilter<"RunWorkItem"> | string workflowId?: StringFilter<"RunWorkItem"> | string status?: StringFilter<"RunWorkItem"> | string targetNodeId?: StringFilter<"RunWorkItem"> | string batchId?: StringFilter<"RunWorkItem"> | string queueName?: StringNullableFilter<"RunWorkItem"> | string | null claimToken?: StringNullableFilter<"RunWorkItem"> | string | null claimedBy?: StringNullableFilter<"RunWorkItem"> | string | null claimedAt?: StringNullableFilter<"RunWorkItem"> | string | null availableAt?: StringFilter<"RunWorkItem"> | string enqueuedAt?: StringFilter<"RunWorkItem"> | string completedAt?: StringNullableFilter<"RunWorkItem"> | string | null failedAt?: StringNullableFilter<"RunWorkItem"> | string | null sourceInstanceId?: StringNullableFilter<"RunWorkItem"> | string | null parentInstanceId?: StringNullableFilter<"RunWorkItem"> | string | null itemsIn?: IntFilter<"RunWorkItem"> | number inputsByPortJson?: StringFilter<"RunWorkItem"> | string errorJson?: StringNullableFilter<"RunWorkItem"> | string | null run?: XOR }, "workItemId"> export type RunWorkItemOrderByWithAggregationInput = { workItemId?: SortOrder runId?: SortOrder workflowId?: SortOrder status?: SortOrder targetNodeId?: SortOrder batchId?: SortOrder queueName?: SortOrderInput | SortOrder claimToken?: SortOrderInput | SortOrder claimedBy?: SortOrderInput | SortOrder claimedAt?: SortOrderInput | SortOrder availableAt?: SortOrder enqueuedAt?: SortOrder completedAt?: SortOrderInput | SortOrder failedAt?: SortOrderInput | SortOrder sourceInstanceId?: SortOrderInput | SortOrder parentInstanceId?: SortOrderInput | SortOrder itemsIn?: SortOrder inputsByPortJson?: SortOrder errorJson?: SortOrderInput | SortOrder _count?: RunWorkItemCountOrderByAggregateInput _avg?: RunWorkItemAvgOrderByAggregateInput _max?: RunWorkItemMaxOrderByAggregateInput _min?: RunWorkItemMinOrderByAggregateInput _sum?: RunWorkItemSumOrderByAggregateInput } export type RunWorkItemScalarWhereWithAggregatesInput = { AND?: RunWorkItemScalarWhereWithAggregatesInput | RunWorkItemScalarWhereWithAggregatesInput[] OR?: RunWorkItemScalarWhereWithAggregatesInput[] NOT?: RunWorkItemScalarWhereWithAggregatesInput | RunWorkItemScalarWhereWithAggregatesInput[] workItemId?: StringWithAggregatesFilter<"RunWorkItem"> | string runId?: StringWithAggregatesFilter<"RunWorkItem"> | string workflowId?: StringWithAggregatesFilter<"RunWorkItem"> | string status?: StringWithAggregatesFilter<"RunWorkItem"> | string targetNodeId?: StringWithAggregatesFilter<"RunWorkItem"> | string batchId?: StringWithAggregatesFilter<"RunWorkItem"> | string queueName?: StringNullableWithAggregatesFilter<"RunWorkItem"> | string | null claimToken?: StringNullableWithAggregatesFilter<"RunWorkItem"> | string | null claimedBy?: StringNullableWithAggregatesFilter<"RunWorkItem"> | string | null claimedAt?: StringNullableWithAggregatesFilter<"RunWorkItem"> | string | null availableAt?: StringWithAggregatesFilter<"RunWorkItem"> | string enqueuedAt?: StringWithAggregatesFilter<"RunWorkItem"> | string completedAt?: StringNullableWithAggregatesFilter<"RunWorkItem"> | string | null failedAt?: StringNullableWithAggregatesFilter<"RunWorkItem"> | string | null sourceInstanceId?: StringNullableWithAggregatesFilter<"RunWorkItem"> | string | null parentInstanceId?: StringNullableWithAggregatesFilter<"RunWorkItem"> | string | null itemsIn?: IntWithAggregatesFilter<"RunWorkItem"> | number inputsByPortJson?: StringWithAggregatesFilter<"RunWorkItem"> | string errorJson?: StringNullableWithAggregatesFilter<"RunWorkItem"> | string | null } export type ExecutionInstanceWhereInput = { AND?: ExecutionInstanceWhereInput | ExecutionInstanceWhereInput[] OR?: ExecutionInstanceWhereInput[] NOT?: ExecutionInstanceWhereInput | ExecutionInstanceWhereInput[] instanceId?: StringFilter<"ExecutionInstance"> | string runId?: StringFilter<"ExecutionInstance"> | string workflowId?: StringFilter<"ExecutionInstance"> | string slotNodeId?: StringFilter<"ExecutionInstance"> | string workflowNodeId?: StringFilter<"ExecutionInstance"> | string kind?: StringFilter<"ExecutionInstance"> | string connectionKind?: StringNullableFilter<"ExecutionInstance"> | string | null activationId?: StringNullableFilter<"ExecutionInstance"> | string | null batchId?: StringFilter<"ExecutionInstance"> | string runIndex?: IntFilter<"ExecutionInstance"> | number parentInstanceId?: StringNullableFilter<"ExecutionInstance"> | string | null parentRunId?: StringNullableFilter<"ExecutionInstance"> | string | null workerClaimToken?: StringNullableFilter<"ExecutionInstance"> | string | null status?: StringFilter<"ExecutionInstance"> | string queuedAt?: StringNullableFilter<"ExecutionInstance"> | string | null startedAt?: StringNullableFilter<"ExecutionInstance"> | string | null finishedAt?: StringNullableFilter<"ExecutionInstance"> | string | null updatedAt?: StringFilter<"ExecutionInstance"> | string itemCount?: IntFilter<"ExecutionInstance"> | number inputJson?: StringNullableFilter<"ExecutionInstance"> | string | null outputJson?: StringNullableFilter<"ExecutionInstance"> | string | null errorJson?: StringNullableFilter<"ExecutionInstance"> | string | null inputItemIndicesJson?: StringNullableFilter<"ExecutionInstance"> | string | null outputItemCount?: IntNullableFilter<"ExecutionInstance"> | number | null successfulItemCount?: IntNullableFilter<"ExecutionInstance"> | number | null failedItemCount?: IntNullableFilter<"ExecutionInstance"> | number | null inputStorageKind?: StringNullableFilter<"ExecutionInstance"> | string | null outputStorageKind?: StringNullableFilter<"ExecutionInstance"> | string | null inputBytes?: IntNullableFilter<"ExecutionInstance"> | number | null outputBytes?: IntNullableFilter<"ExecutionInstance"> | number | null inputPreviewJson?: StringNullableFilter<"ExecutionInstance"> | string | null outputPreviewJson?: StringNullableFilter<"ExecutionInstance"> | string | null inputPayloadRef?: StringNullableFilter<"ExecutionInstance"> | string | null outputPayloadRef?: StringNullableFilter<"ExecutionInstance"> | string | null inputTruncated?: BoolNullableFilter<"ExecutionInstance"> | boolean | null outputTruncated?: BoolNullableFilter<"ExecutionInstance"> | boolean | null usedPinnedOutput?: BoolNullableFilter<"ExecutionInstance"> | boolean | null iterationId?: StringNullableFilter<"ExecutionInstance"> | string | null itemIndex?: IntNullableFilter<"ExecutionInstance"> | number | null parentInvocationId?: StringNullableFilter<"ExecutionInstance"> | string | null childRunId?: StringNullableFilter<"ExecutionInstance"> | string | null run?: XOR } export type ExecutionInstanceOrderByWithRelationInput = { instanceId?: SortOrder runId?: SortOrder workflowId?: SortOrder slotNodeId?: SortOrder workflowNodeId?: SortOrder kind?: SortOrder connectionKind?: SortOrderInput | SortOrder activationId?: SortOrderInput | SortOrder batchId?: SortOrder runIndex?: SortOrder parentInstanceId?: SortOrderInput | SortOrder parentRunId?: SortOrderInput | SortOrder workerClaimToken?: SortOrderInput | SortOrder status?: SortOrder queuedAt?: SortOrderInput | SortOrder startedAt?: SortOrderInput | SortOrder finishedAt?: SortOrderInput | SortOrder updatedAt?: SortOrder itemCount?: SortOrder inputJson?: SortOrderInput | SortOrder outputJson?: SortOrderInput | SortOrder errorJson?: SortOrderInput | SortOrder inputItemIndicesJson?: SortOrderInput | SortOrder outputItemCount?: SortOrderInput | SortOrder successfulItemCount?: SortOrderInput | SortOrder failedItemCount?: SortOrderInput | SortOrder inputStorageKind?: SortOrderInput | SortOrder outputStorageKind?: SortOrderInput | SortOrder inputBytes?: SortOrderInput | SortOrder outputBytes?: SortOrderInput | SortOrder inputPreviewJson?: SortOrderInput | SortOrder outputPreviewJson?: SortOrderInput | SortOrder inputPayloadRef?: SortOrderInput | SortOrder outputPayloadRef?: SortOrderInput | SortOrder inputTruncated?: SortOrderInput | SortOrder outputTruncated?: SortOrderInput | SortOrder usedPinnedOutput?: SortOrderInput | SortOrder iterationId?: SortOrderInput | SortOrder itemIndex?: SortOrderInput | SortOrder parentInvocationId?: SortOrderInput | SortOrder childRunId?: SortOrderInput | SortOrder run?: RunOrderByWithRelationInput } export type ExecutionInstanceWhereUniqueInput = Prisma.AtLeast<{ instanceId?: string runId_slotNodeId_runIndex?: ExecutionInstanceRunIdSlotNodeIdRunIndexCompoundUniqueInput AND?: ExecutionInstanceWhereInput | ExecutionInstanceWhereInput[] OR?: ExecutionInstanceWhereInput[] NOT?: ExecutionInstanceWhereInput | ExecutionInstanceWhereInput[] runId?: StringFilter<"ExecutionInstance"> | string workflowId?: StringFilter<"ExecutionInstance"> | string slotNodeId?: StringFilter<"ExecutionInstance"> | string workflowNodeId?: StringFilter<"ExecutionInstance"> | string kind?: StringFilter<"ExecutionInstance"> | string connectionKind?: StringNullableFilter<"ExecutionInstance"> | string | null activationId?: StringNullableFilter<"ExecutionInstance"> | string | null batchId?: StringFilter<"ExecutionInstance"> | string runIndex?: IntFilter<"ExecutionInstance"> | number parentInstanceId?: StringNullableFilter<"ExecutionInstance"> | string | null parentRunId?: StringNullableFilter<"ExecutionInstance"> | string | null workerClaimToken?: StringNullableFilter<"ExecutionInstance"> | string | null status?: StringFilter<"ExecutionInstance"> | string queuedAt?: StringNullableFilter<"ExecutionInstance"> | string | null startedAt?: StringNullableFilter<"ExecutionInstance"> | string | null finishedAt?: StringNullableFilter<"ExecutionInstance"> | string | null updatedAt?: StringFilter<"ExecutionInstance"> | string itemCount?: IntFilter<"ExecutionInstance"> | number inputJson?: StringNullableFilter<"ExecutionInstance"> | string | null outputJson?: StringNullableFilter<"ExecutionInstance"> | string | null errorJson?: StringNullableFilter<"ExecutionInstance"> | string | null inputItemIndicesJson?: StringNullableFilter<"ExecutionInstance"> | string | null outputItemCount?: IntNullableFilter<"ExecutionInstance"> | number | null successfulItemCount?: IntNullableFilter<"ExecutionInstance"> | number | null failedItemCount?: IntNullableFilter<"ExecutionInstance"> | number | null inputStorageKind?: StringNullableFilter<"ExecutionInstance"> | string | null outputStorageKind?: StringNullableFilter<"ExecutionInstance"> | string | null inputBytes?: IntNullableFilter<"ExecutionInstance"> | number | null outputBytes?: IntNullableFilter<"ExecutionInstance"> | number | null inputPreviewJson?: StringNullableFilter<"ExecutionInstance"> | string | null outputPreviewJson?: StringNullableFilter<"ExecutionInstance"> | string | null inputPayloadRef?: StringNullableFilter<"ExecutionInstance"> | string | null outputPayloadRef?: StringNullableFilter<"ExecutionInstance"> | string | null inputTruncated?: BoolNullableFilter<"ExecutionInstance"> | boolean | null outputTruncated?: BoolNullableFilter<"ExecutionInstance"> | boolean | null usedPinnedOutput?: BoolNullableFilter<"ExecutionInstance"> | boolean | null iterationId?: StringNullableFilter<"ExecutionInstance"> | string | null itemIndex?: IntNullableFilter<"ExecutionInstance"> | number | null parentInvocationId?: StringNullableFilter<"ExecutionInstance"> | string | null childRunId?: StringNullableFilter<"ExecutionInstance"> | string | null run?: XOR }, "instanceId" | "runId_slotNodeId_runIndex"> export type ExecutionInstanceOrderByWithAggregationInput = { instanceId?: SortOrder runId?: SortOrder workflowId?: SortOrder slotNodeId?: SortOrder workflowNodeId?: SortOrder kind?: SortOrder connectionKind?: SortOrderInput | SortOrder activationId?: SortOrderInput | SortOrder batchId?: SortOrder runIndex?: SortOrder parentInstanceId?: SortOrderInput | SortOrder parentRunId?: SortOrderInput | SortOrder workerClaimToken?: SortOrderInput | SortOrder status?: SortOrder queuedAt?: SortOrderInput | SortOrder startedAt?: SortOrderInput | SortOrder finishedAt?: SortOrderInput | SortOrder updatedAt?: SortOrder itemCount?: SortOrder inputJson?: SortOrderInput | SortOrder outputJson?: SortOrderInput | SortOrder errorJson?: SortOrderInput | SortOrder inputItemIndicesJson?: SortOrderInput | SortOrder outputItemCount?: SortOrderInput | SortOrder successfulItemCount?: SortOrderInput | SortOrder failedItemCount?: SortOrderInput | SortOrder inputStorageKind?: SortOrderInput | SortOrder outputStorageKind?: SortOrderInput | SortOrder inputBytes?: SortOrderInput | SortOrder outputBytes?: SortOrderInput | SortOrder inputPreviewJson?: SortOrderInput | SortOrder outputPreviewJson?: SortOrderInput | SortOrder inputPayloadRef?: SortOrderInput | SortOrder outputPayloadRef?: SortOrderInput | SortOrder inputTruncated?: SortOrderInput | SortOrder outputTruncated?: SortOrderInput | SortOrder usedPinnedOutput?: SortOrderInput | SortOrder iterationId?: SortOrderInput | SortOrder itemIndex?: SortOrderInput | SortOrder parentInvocationId?: SortOrderInput | SortOrder childRunId?: SortOrderInput | SortOrder _count?: ExecutionInstanceCountOrderByAggregateInput _avg?: ExecutionInstanceAvgOrderByAggregateInput _max?: ExecutionInstanceMaxOrderByAggregateInput _min?: ExecutionInstanceMinOrderByAggregateInput _sum?: ExecutionInstanceSumOrderByAggregateInput } export type ExecutionInstanceScalarWhereWithAggregatesInput = { AND?: ExecutionInstanceScalarWhereWithAggregatesInput | ExecutionInstanceScalarWhereWithAggregatesInput[] OR?: ExecutionInstanceScalarWhereWithAggregatesInput[] NOT?: ExecutionInstanceScalarWhereWithAggregatesInput | ExecutionInstanceScalarWhereWithAggregatesInput[] instanceId?: StringWithAggregatesFilter<"ExecutionInstance"> | string runId?: StringWithAggregatesFilter<"ExecutionInstance"> | string workflowId?: StringWithAggregatesFilter<"ExecutionInstance"> | string slotNodeId?: StringWithAggregatesFilter<"ExecutionInstance"> | string workflowNodeId?: StringWithAggregatesFilter<"ExecutionInstance"> | string kind?: StringWithAggregatesFilter<"ExecutionInstance"> | string connectionKind?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null activationId?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null batchId?: StringWithAggregatesFilter<"ExecutionInstance"> | string runIndex?: IntWithAggregatesFilter<"ExecutionInstance"> | number parentInstanceId?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null parentRunId?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null workerClaimToken?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null status?: StringWithAggregatesFilter<"ExecutionInstance"> | string queuedAt?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null startedAt?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null finishedAt?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null updatedAt?: StringWithAggregatesFilter<"ExecutionInstance"> | string itemCount?: IntWithAggregatesFilter<"ExecutionInstance"> | number inputJson?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null outputJson?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null errorJson?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null inputItemIndicesJson?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null outputItemCount?: IntNullableWithAggregatesFilter<"ExecutionInstance"> | number | null successfulItemCount?: IntNullableWithAggregatesFilter<"ExecutionInstance"> | number | null failedItemCount?: IntNullableWithAggregatesFilter<"ExecutionInstance"> | number | null inputStorageKind?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null outputStorageKind?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null inputBytes?: IntNullableWithAggregatesFilter<"ExecutionInstance"> | number | null outputBytes?: IntNullableWithAggregatesFilter<"ExecutionInstance"> | number | null inputPreviewJson?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null outputPreviewJson?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null inputPayloadRef?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null outputPayloadRef?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null inputTruncated?: BoolNullableWithAggregatesFilter<"ExecutionInstance"> | boolean | null outputTruncated?: BoolNullableWithAggregatesFilter<"ExecutionInstance"> | boolean | null usedPinnedOutput?: BoolNullableWithAggregatesFilter<"ExecutionInstance"> | boolean | null iterationId?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null itemIndex?: IntNullableWithAggregatesFilter<"ExecutionInstance"> | number | null parentInvocationId?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null childRunId?: StringNullableWithAggregatesFilter<"ExecutionInstance"> | string | null } export type RunSlotProjectionWhereInput = { AND?: RunSlotProjectionWhereInput | RunSlotProjectionWhereInput[] OR?: RunSlotProjectionWhereInput[] NOT?: RunSlotProjectionWhereInput | RunSlotProjectionWhereInput[] runId?: StringFilter<"RunSlotProjection"> | string workflowId?: StringFilter<"RunSlotProjection"> | string revision?: IntFilter<"RunSlotProjection"> | number updatedAt?: StringFilter<"RunSlotProjection"> | string slotStatesJson?: StringFilter<"RunSlotProjection"> | string run?: XOR } export type RunSlotProjectionOrderByWithRelationInput = { runId?: SortOrder workflowId?: SortOrder revision?: SortOrder updatedAt?: SortOrder slotStatesJson?: SortOrder run?: RunOrderByWithRelationInput } export type RunSlotProjectionWhereUniqueInput = Prisma.AtLeast<{ runId?: string AND?: RunSlotProjectionWhereInput | RunSlotProjectionWhereInput[] OR?: RunSlotProjectionWhereInput[] NOT?: RunSlotProjectionWhereInput | RunSlotProjectionWhereInput[] workflowId?: StringFilter<"RunSlotProjection"> | string revision?: IntFilter<"RunSlotProjection"> | number updatedAt?: StringFilter<"RunSlotProjection"> | string slotStatesJson?: StringFilter<"RunSlotProjection"> | string run?: XOR }, "runId"> export type RunSlotProjectionOrderByWithAggregationInput = { runId?: SortOrder workflowId?: SortOrder revision?: SortOrder updatedAt?: SortOrder slotStatesJson?: SortOrder _count?: RunSlotProjectionCountOrderByAggregateInput _avg?: RunSlotProjectionAvgOrderByAggregateInput _max?: RunSlotProjectionMaxOrderByAggregateInput _min?: RunSlotProjectionMinOrderByAggregateInput _sum?: RunSlotProjectionSumOrderByAggregateInput } export type RunSlotProjectionScalarWhereWithAggregatesInput = { AND?: RunSlotProjectionScalarWhereWithAggregatesInput | RunSlotProjectionScalarWhereWithAggregatesInput[] OR?: RunSlotProjectionScalarWhereWithAggregatesInput[] NOT?: RunSlotProjectionScalarWhereWithAggregatesInput | RunSlotProjectionScalarWhereWithAggregatesInput[] runId?: StringWithAggregatesFilter<"RunSlotProjection"> | string workflowId?: StringWithAggregatesFilter<"RunSlotProjection"> | string revision?: IntWithAggregatesFilter<"RunSlotProjection"> | number updatedAt?: StringWithAggregatesFilter<"RunSlotProjection"> | string slotStatesJson?: StringWithAggregatesFilter<"RunSlotProjection"> | string } export type TestSuiteRunWhereInput = { AND?: TestSuiteRunWhereInput | TestSuiteRunWhereInput[] OR?: TestSuiteRunWhereInput[] NOT?: TestSuiteRunWhereInput | TestSuiteRunWhereInput[] id?: StringFilter<"TestSuiteRun"> | string workflowId?: StringFilter<"TestSuiteRun"> | string triggerNodeId?: StringFilter<"TestSuiteRun"> | string triggerNodeName?: StringNullableFilter<"TestSuiteRun"> | string | null status?: StringFilter<"TestSuiteRun"> | string concurrency?: IntFilter<"TestSuiteRun"> | number startedAt?: StringFilter<"TestSuiteRun"> | string finishedAt?: StringNullableFilter<"TestSuiteRun"> | string | null totalCases?: IntFilter<"TestSuiteRun"> | number passedCases?: IntFilter<"TestSuiteRun"> | number failedCases?: IntFilter<"TestSuiteRun"> | number nodeCoverageJson?: StringNullableFilter<"TestSuiteRun"> | string | null errorMessage?: StringNullableFilter<"TestSuiteRun"> | string | null updatedAt?: StringFilter<"TestSuiteRun"> | string runs?: RunListRelationFilter assertions?: TestAssertionListRelationFilter } export type TestSuiteRunOrderByWithRelationInput = { id?: SortOrder workflowId?: SortOrder triggerNodeId?: SortOrder triggerNodeName?: SortOrderInput | SortOrder status?: SortOrder concurrency?: SortOrder startedAt?: SortOrder finishedAt?: SortOrderInput | SortOrder totalCases?: SortOrder passedCases?: SortOrder failedCases?: SortOrder nodeCoverageJson?: SortOrderInput | SortOrder errorMessage?: SortOrderInput | SortOrder updatedAt?: SortOrder runs?: RunOrderByRelationAggregateInput assertions?: TestAssertionOrderByRelationAggregateInput } export type TestSuiteRunWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: TestSuiteRunWhereInput | TestSuiteRunWhereInput[] OR?: TestSuiteRunWhereInput[] NOT?: TestSuiteRunWhereInput | TestSuiteRunWhereInput[] workflowId?: StringFilter<"TestSuiteRun"> | string triggerNodeId?: StringFilter<"TestSuiteRun"> | string triggerNodeName?: StringNullableFilter<"TestSuiteRun"> | string | null status?: StringFilter<"TestSuiteRun"> | string concurrency?: IntFilter<"TestSuiteRun"> | number startedAt?: StringFilter<"TestSuiteRun"> | string finishedAt?: StringNullableFilter<"TestSuiteRun"> | string | null totalCases?: IntFilter<"TestSuiteRun"> | number passedCases?: IntFilter<"TestSuiteRun"> | number failedCases?: IntFilter<"TestSuiteRun"> | number nodeCoverageJson?: StringNullableFilter<"TestSuiteRun"> | string | null errorMessage?: StringNullableFilter<"TestSuiteRun"> | string | null updatedAt?: StringFilter<"TestSuiteRun"> | string runs?: RunListRelationFilter assertions?: TestAssertionListRelationFilter }, "id"> export type TestSuiteRunOrderByWithAggregationInput = { id?: SortOrder workflowId?: SortOrder triggerNodeId?: SortOrder triggerNodeName?: SortOrderInput | SortOrder status?: SortOrder concurrency?: SortOrder startedAt?: SortOrder finishedAt?: SortOrderInput | SortOrder totalCases?: SortOrder passedCases?: SortOrder failedCases?: SortOrder nodeCoverageJson?: SortOrderInput | SortOrder errorMessage?: SortOrderInput | SortOrder updatedAt?: SortOrder _count?: TestSuiteRunCountOrderByAggregateInput _avg?: TestSuiteRunAvgOrderByAggregateInput _max?: TestSuiteRunMaxOrderByAggregateInput _min?: TestSuiteRunMinOrderByAggregateInput _sum?: TestSuiteRunSumOrderByAggregateInput } export type TestSuiteRunScalarWhereWithAggregatesInput = { AND?: TestSuiteRunScalarWhereWithAggregatesInput | TestSuiteRunScalarWhereWithAggregatesInput[] OR?: TestSuiteRunScalarWhereWithAggregatesInput[] NOT?: TestSuiteRunScalarWhereWithAggregatesInput | TestSuiteRunScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"TestSuiteRun"> | string workflowId?: StringWithAggregatesFilter<"TestSuiteRun"> | string triggerNodeId?: StringWithAggregatesFilter<"TestSuiteRun"> | string triggerNodeName?: StringNullableWithAggregatesFilter<"TestSuiteRun"> | string | null status?: StringWithAggregatesFilter<"TestSuiteRun"> | string concurrency?: IntWithAggregatesFilter<"TestSuiteRun"> | number startedAt?: StringWithAggregatesFilter<"TestSuiteRun"> | string finishedAt?: StringNullableWithAggregatesFilter<"TestSuiteRun"> | string | null totalCases?: IntWithAggregatesFilter<"TestSuiteRun"> | number passedCases?: IntWithAggregatesFilter<"TestSuiteRun"> | number failedCases?: IntWithAggregatesFilter<"TestSuiteRun"> | number nodeCoverageJson?: StringNullableWithAggregatesFilter<"TestSuiteRun"> | string | null errorMessage?: StringNullableWithAggregatesFilter<"TestSuiteRun"> | string | null updatedAt?: StringWithAggregatesFilter<"TestSuiteRun"> | string } export type TestAssertionWhereInput = { AND?: TestAssertionWhereInput | TestAssertionWhereInput[] OR?: TestAssertionWhereInput[] NOT?: TestAssertionWhereInput | TestAssertionWhereInput[] id?: StringFilter<"TestAssertion"> | string runId?: StringFilter<"TestAssertion"> | string testSuiteRunId?: StringFilter<"TestAssertion"> | string workflowId?: StringFilter<"TestAssertion"> | string nodeId?: StringFilter<"TestAssertion"> | string iterationId?: StringNullableFilter<"TestAssertion"> | string | null itemIndex?: IntNullableFilter<"TestAssertion"> | number | null name?: StringFilter<"TestAssertion"> | string score?: FloatFilter<"TestAssertion"> | number passThreshold?: FloatNullableFilter<"TestAssertion"> | number | null errored?: BoolFilter<"TestAssertion"> | boolean expectedJson?: StringNullableFilter<"TestAssertion"> | string | null actualJson?: StringNullableFilter<"TestAssertion"> | string | null message?: StringNullableFilter<"TestAssertion"> | string | null detailsJson?: StringNullableFilter<"TestAssertion"> | string | null createdAt?: StringFilter<"TestAssertion"> | string run?: XOR testSuiteRun?: XOR } export type TestAssertionOrderByWithRelationInput = { id?: SortOrder runId?: SortOrder testSuiteRunId?: SortOrder workflowId?: SortOrder nodeId?: SortOrder iterationId?: SortOrderInput | SortOrder itemIndex?: SortOrderInput | SortOrder name?: SortOrder score?: SortOrder passThreshold?: SortOrderInput | SortOrder errored?: SortOrder expectedJson?: SortOrderInput | SortOrder actualJson?: SortOrderInput | SortOrder message?: SortOrderInput | SortOrder detailsJson?: SortOrderInput | SortOrder createdAt?: SortOrder run?: RunOrderByWithRelationInput testSuiteRun?: TestSuiteRunOrderByWithRelationInput } export type TestAssertionWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: TestAssertionWhereInput | TestAssertionWhereInput[] OR?: TestAssertionWhereInput[] NOT?: TestAssertionWhereInput | TestAssertionWhereInput[] runId?: StringFilter<"TestAssertion"> | string testSuiteRunId?: StringFilter<"TestAssertion"> | string workflowId?: StringFilter<"TestAssertion"> | string nodeId?: StringFilter<"TestAssertion"> | string iterationId?: StringNullableFilter<"TestAssertion"> | string | null itemIndex?: IntNullableFilter<"TestAssertion"> | number | null name?: StringFilter<"TestAssertion"> | string score?: FloatFilter<"TestAssertion"> | number passThreshold?: FloatNullableFilter<"TestAssertion"> | number | null errored?: BoolFilter<"TestAssertion"> | boolean expectedJson?: StringNullableFilter<"TestAssertion"> | string | null actualJson?: StringNullableFilter<"TestAssertion"> | string | null message?: StringNullableFilter<"TestAssertion"> | string | null detailsJson?: StringNullableFilter<"TestAssertion"> | string | null createdAt?: StringFilter<"TestAssertion"> | string run?: XOR testSuiteRun?: XOR }, "id"> export type TestAssertionOrderByWithAggregationInput = { id?: SortOrder runId?: SortOrder testSuiteRunId?: SortOrder workflowId?: SortOrder nodeId?: SortOrder iterationId?: SortOrderInput | SortOrder itemIndex?: SortOrderInput | SortOrder name?: SortOrder score?: SortOrder passThreshold?: SortOrderInput | SortOrder errored?: SortOrder expectedJson?: SortOrderInput | SortOrder actualJson?: SortOrderInput | SortOrder message?: SortOrderInput | SortOrder detailsJson?: SortOrderInput | SortOrder createdAt?: SortOrder _count?: TestAssertionCountOrderByAggregateInput _avg?: TestAssertionAvgOrderByAggregateInput _max?: TestAssertionMaxOrderByAggregateInput _min?: TestAssertionMinOrderByAggregateInput _sum?: TestAssertionSumOrderByAggregateInput } export type TestAssertionScalarWhereWithAggregatesInput = { AND?: TestAssertionScalarWhereWithAggregatesInput | TestAssertionScalarWhereWithAggregatesInput[] OR?: TestAssertionScalarWhereWithAggregatesInput[] NOT?: TestAssertionScalarWhereWithAggregatesInput | TestAssertionScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"TestAssertion"> | string runId?: StringWithAggregatesFilter<"TestAssertion"> | string testSuiteRunId?: StringWithAggregatesFilter<"TestAssertion"> | string workflowId?: StringWithAggregatesFilter<"TestAssertion"> | string nodeId?: StringWithAggregatesFilter<"TestAssertion"> | string iterationId?: StringNullableWithAggregatesFilter<"TestAssertion"> | string | null itemIndex?: IntNullableWithAggregatesFilter<"TestAssertion"> | number | null name?: StringWithAggregatesFilter<"TestAssertion"> | string score?: FloatWithAggregatesFilter<"TestAssertion"> | number passThreshold?: FloatNullableWithAggregatesFilter<"TestAssertion"> | number | null errored?: BoolWithAggregatesFilter<"TestAssertion"> | boolean expectedJson?: StringNullableWithAggregatesFilter<"TestAssertion"> | string | null actualJson?: StringNullableWithAggregatesFilter<"TestAssertion"> | string | null message?: StringNullableWithAggregatesFilter<"TestAssertion"> | string | null detailsJson?: StringNullableWithAggregatesFilter<"TestAssertion"> | string | null createdAt?: StringWithAggregatesFilter<"TestAssertion"> | string } export type WorkflowDebuggerOverlayWhereInput = { AND?: WorkflowDebuggerOverlayWhereInput | WorkflowDebuggerOverlayWhereInput[] OR?: WorkflowDebuggerOverlayWhereInput[] NOT?: WorkflowDebuggerOverlayWhereInput | WorkflowDebuggerOverlayWhereInput[] workflowId?: StringFilter<"WorkflowDebuggerOverlay"> | string updatedAt?: StringFilter<"WorkflowDebuggerOverlay"> | string copiedFromRunId?: StringNullableFilter<"WorkflowDebuggerOverlay"> | string | null stateJson?: StringFilter<"WorkflowDebuggerOverlay"> | string } export type WorkflowDebuggerOverlayOrderByWithRelationInput = { workflowId?: SortOrder updatedAt?: SortOrder copiedFromRunId?: SortOrderInput | SortOrder stateJson?: SortOrder } export type WorkflowDebuggerOverlayWhereUniqueInput = Prisma.AtLeast<{ workflowId?: string AND?: WorkflowDebuggerOverlayWhereInput | WorkflowDebuggerOverlayWhereInput[] OR?: WorkflowDebuggerOverlayWhereInput[] NOT?: WorkflowDebuggerOverlayWhereInput | WorkflowDebuggerOverlayWhereInput[] updatedAt?: StringFilter<"WorkflowDebuggerOverlay"> | string copiedFromRunId?: StringNullableFilter<"WorkflowDebuggerOverlay"> | string | null stateJson?: StringFilter<"WorkflowDebuggerOverlay"> | string }, "workflowId"> export type WorkflowDebuggerOverlayOrderByWithAggregationInput = { workflowId?: SortOrder updatedAt?: SortOrder copiedFromRunId?: SortOrderInput | SortOrder stateJson?: SortOrder _count?: WorkflowDebuggerOverlayCountOrderByAggregateInput _max?: WorkflowDebuggerOverlayMaxOrderByAggregateInput _min?: WorkflowDebuggerOverlayMinOrderByAggregateInput } export type WorkflowDebuggerOverlayScalarWhereWithAggregatesInput = { AND?: WorkflowDebuggerOverlayScalarWhereWithAggregatesInput | WorkflowDebuggerOverlayScalarWhereWithAggregatesInput[] OR?: WorkflowDebuggerOverlayScalarWhereWithAggregatesInput[] NOT?: WorkflowDebuggerOverlayScalarWhereWithAggregatesInput | WorkflowDebuggerOverlayScalarWhereWithAggregatesInput[] workflowId?: StringWithAggregatesFilter<"WorkflowDebuggerOverlay"> | string updatedAt?: StringWithAggregatesFilter<"WorkflowDebuggerOverlay"> | string copiedFromRunId?: StringNullableWithAggregatesFilter<"WorkflowDebuggerOverlay"> | string | null stateJson?: StringWithAggregatesFilter<"WorkflowDebuggerOverlay"> | string } export type WorkflowActivationWhereInput = { AND?: WorkflowActivationWhereInput | WorkflowActivationWhereInput[] OR?: WorkflowActivationWhereInput[] NOT?: WorkflowActivationWhereInput | WorkflowActivationWhereInput[] workflowId?: StringFilter<"WorkflowActivation"> | string isActive?: BoolFilter<"WorkflowActivation"> | boolean updatedAt?: StringFilter<"WorkflowActivation"> | string } export type WorkflowActivationOrderByWithRelationInput = { workflowId?: SortOrder isActive?: SortOrder updatedAt?: SortOrder } export type WorkflowActivationWhereUniqueInput = Prisma.AtLeast<{ workflowId?: string AND?: WorkflowActivationWhereInput | WorkflowActivationWhereInput[] OR?: WorkflowActivationWhereInput[] NOT?: WorkflowActivationWhereInput | WorkflowActivationWhereInput[] isActive?: BoolFilter<"WorkflowActivation"> | boolean updatedAt?: StringFilter<"WorkflowActivation"> | string }, "workflowId"> export type WorkflowActivationOrderByWithAggregationInput = { workflowId?: SortOrder isActive?: SortOrder updatedAt?: SortOrder _count?: WorkflowActivationCountOrderByAggregateInput _max?: WorkflowActivationMaxOrderByAggregateInput _min?: WorkflowActivationMinOrderByAggregateInput } export type WorkflowActivationScalarWhereWithAggregatesInput = { AND?: WorkflowActivationScalarWhereWithAggregatesInput | WorkflowActivationScalarWhereWithAggregatesInput[] OR?: WorkflowActivationScalarWhereWithAggregatesInput[] NOT?: WorkflowActivationScalarWhereWithAggregatesInput | WorkflowActivationScalarWhereWithAggregatesInput[] workflowId?: StringWithAggregatesFilter<"WorkflowActivation"> | string isActive?: BoolWithAggregatesFilter<"WorkflowActivation"> | boolean updatedAt?: StringWithAggregatesFilter<"WorkflowActivation"> | string } export type TriggerSetupStateWhereInput = { AND?: TriggerSetupStateWhereInput | TriggerSetupStateWhereInput[] OR?: TriggerSetupStateWhereInput[] NOT?: TriggerSetupStateWhereInput | TriggerSetupStateWhereInput[] workflowId?: StringFilter<"TriggerSetupState"> | string nodeId?: StringFilter<"TriggerSetupState"> | string updatedAt?: StringFilter<"TriggerSetupState"> | string stateJson?: StringFilter<"TriggerSetupState"> | string } export type TriggerSetupStateOrderByWithRelationInput = { workflowId?: SortOrder nodeId?: SortOrder updatedAt?: SortOrder stateJson?: SortOrder } export type TriggerSetupStateWhereUniqueInput = Prisma.AtLeast<{ workflowId_nodeId?: TriggerSetupStateWorkflowIdNodeIdCompoundUniqueInput AND?: TriggerSetupStateWhereInput | TriggerSetupStateWhereInput[] OR?: TriggerSetupStateWhereInput[] NOT?: TriggerSetupStateWhereInput | TriggerSetupStateWhereInput[] workflowId?: StringFilter<"TriggerSetupState"> | string nodeId?: StringFilter<"TriggerSetupState"> | string updatedAt?: StringFilter<"TriggerSetupState"> | string stateJson?: StringFilter<"TriggerSetupState"> | string }, "workflowId_nodeId"> export type TriggerSetupStateOrderByWithAggregationInput = { workflowId?: SortOrder nodeId?: SortOrder updatedAt?: SortOrder stateJson?: SortOrder _count?: TriggerSetupStateCountOrderByAggregateInput _max?: TriggerSetupStateMaxOrderByAggregateInput _min?: TriggerSetupStateMinOrderByAggregateInput } export type TriggerSetupStateScalarWhereWithAggregatesInput = { AND?: TriggerSetupStateScalarWhereWithAggregatesInput | TriggerSetupStateScalarWhereWithAggregatesInput[] OR?: TriggerSetupStateScalarWhereWithAggregatesInput[] NOT?: TriggerSetupStateScalarWhereWithAggregatesInput | TriggerSetupStateScalarWhereWithAggregatesInput[] workflowId?: StringWithAggregatesFilter<"TriggerSetupState"> | string nodeId?: StringWithAggregatesFilter<"TriggerSetupState"> | string updatedAt?: StringWithAggregatesFilter<"TriggerSetupState"> | string stateJson?: StringWithAggregatesFilter<"TriggerSetupState"> | string } export type RunTraceContextWhereInput = { AND?: RunTraceContextWhereInput | RunTraceContextWhereInput[] OR?: RunTraceContextWhereInput[] NOT?: RunTraceContextWhereInput | RunTraceContextWhereInput[] runId?: StringFilter<"RunTraceContext"> | string workflowId?: StringFilter<"RunTraceContext"> | string traceId?: StringFilter<"RunTraceContext"> | string rootSpanId?: StringFilter<"RunTraceContext"> | string serviceName?: StringNullableFilter<"RunTraceContext"> | string | null createdAt?: StringFilter<"RunTraceContext"> | string expiresAt?: StringNullableFilter<"RunTraceContext"> | string | null } export type RunTraceContextOrderByWithRelationInput = { runId?: SortOrder workflowId?: SortOrder traceId?: SortOrder rootSpanId?: SortOrder serviceName?: SortOrderInput | SortOrder createdAt?: SortOrder expiresAt?: SortOrderInput | SortOrder } export type RunTraceContextWhereUniqueInput = Prisma.AtLeast<{ runId?: string traceId?: string AND?: RunTraceContextWhereInput | RunTraceContextWhereInput[] OR?: RunTraceContextWhereInput[] NOT?: RunTraceContextWhereInput | RunTraceContextWhereInput[] workflowId?: StringFilter<"RunTraceContext"> | string rootSpanId?: StringFilter<"RunTraceContext"> | string serviceName?: StringNullableFilter<"RunTraceContext"> | string | null createdAt?: StringFilter<"RunTraceContext"> | string expiresAt?: StringNullableFilter<"RunTraceContext"> | string | null }, "runId" | "traceId"> export type RunTraceContextOrderByWithAggregationInput = { runId?: SortOrder workflowId?: SortOrder traceId?: SortOrder rootSpanId?: SortOrder serviceName?: SortOrderInput | SortOrder createdAt?: SortOrder expiresAt?: SortOrderInput | SortOrder _count?: RunTraceContextCountOrderByAggregateInput _max?: RunTraceContextMaxOrderByAggregateInput _min?: RunTraceContextMinOrderByAggregateInput } export type RunTraceContextScalarWhereWithAggregatesInput = { AND?: RunTraceContextScalarWhereWithAggregatesInput | RunTraceContextScalarWhereWithAggregatesInput[] OR?: RunTraceContextScalarWhereWithAggregatesInput[] NOT?: RunTraceContextScalarWhereWithAggregatesInput | RunTraceContextScalarWhereWithAggregatesInput[] runId?: StringWithAggregatesFilter<"RunTraceContext"> | string workflowId?: StringWithAggregatesFilter<"RunTraceContext"> | string traceId?: StringWithAggregatesFilter<"RunTraceContext"> | string rootSpanId?: StringWithAggregatesFilter<"RunTraceContext"> | string serviceName?: StringNullableWithAggregatesFilter<"RunTraceContext"> | string | null createdAt?: StringWithAggregatesFilter<"RunTraceContext"> | string expiresAt?: StringNullableWithAggregatesFilter<"RunTraceContext"> | string | null } export type TelemetrySpanWhereInput = { AND?: TelemetrySpanWhereInput | TelemetrySpanWhereInput[] OR?: TelemetrySpanWhereInput[] NOT?: TelemetrySpanWhereInput | TelemetrySpanWhereInput[] telemetrySpanId?: StringFilter<"TelemetrySpan"> | string traceId?: StringFilter<"TelemetrySpan"> | string spanId?: StringFilter<"TelemetrySpan"> | string parentSpanId?: StringNullableFilter<"TelemetrySpan"> | string | null runId?: StringFilter<"TelemetrySpan"> | string workflowId?: StringFilter<"TelemetrySpan"> | string nodeId?: StringNullableFilter<"TelemetrySpan"> | string | null activationId?: StringNullableFilter<"TelemetrySpan"> | string | null connectionInvocationId?: StringNullableFilter<"TelemetrySpan"> | string | null name?: StringFilter<"TelemetrySpan"> | string kind?: StringFilter<"TelemetrySpan"> | string status?: StringNullableFilter<"TelemetrySpan"> | string | null statusMessage?: StringNullableFilter<"TelemetrySpan"> | string | null startTime?: StringNullableFilter<"TelemetrySpan"> | string | null endTime?: StringNullableFilter<"TelemetrySpan"> | string | null workflowFolder?: StringNullableFilter<"TelemetrySpan"> | string | null nodeType?: StringNullableFilter<"TelemetrySpan"> | string | null nodeRole?: StringNullableFilter<"TelemetrySpan"> | string | null modelName?: StringNullableFilter<"TelemetrySpan"> | string | null attributesJson?: StringNullableFilter<"TelemetrySpan"> | string | null eventsJson?: StringNullableFilter<"TelemetrySpan"> | string | null retentionExpiresAt?: StringNullableFilter<"TelemetrySpan"> | string | null iterationId?: StringNullableFilter<"TelemetrySpan"> | string | null itemIndex?: IntNullableFilter<"TelemetrySpan"> | number | null parentInvocationId?: StringNullableFilter<"TelemetrySpan"> | string | null updatedAt?: StringFilter<"TelemetrySpan"> | string } export type TelemetrySpanOrderByWithRelationInput = { telemetrySpanId?: SortOrder traceId?: SortOrder spanId?: SortOrder parentSpanId?: SortOrderInput | SortOrder runId?: SortOrder workflowId?: SortOrder nodeId?: SortOrderInput | SortOrder activationId?: SortOrderInput | SortOrder connectionInvocationId?: SortOrderInput | SortOrder name?: SortOrder kind?: SortOrder status?: SortOrderInput | SortOrder statusMessage?: SortOrderInput | SortOrder startTime?: SortOrderInput | SortOrder endTime?: SortOrderInput | SortOrder workflowFolder?: SortOrderInput | SortOrder nodeType?: SortOrderInput | SortOrder nodeRole?: SortOrderInput | SortOrder modelName?: SortOrderInput | SortOrder attributesJson?: SortOrderInput | SortOrder eventsJson?: SortOrderInput | SortOrder retentionExpiresAt?: SortOrderInput | SortOrder iterationId?: SortOrderInput | SortOrder itemIndex?: SortOrderInput | SortOrder parentInvocationId?: SortOrderInput | SortOrder updatedAt?: SortOrder } export type TelemetrySpanWhereUniqueInput = Prisma.AtLeast<{ telemetrySpanId?: string traceId_spanId?: TelemetrySpanTraceIdSpanIdCompoundUniqueInput AND?: TelemetrySpanWhereInput | TelemetrySpanWhereInput[] OR?: TelemetrySpanWhereInput[] NOT?: TelemetrySpanWhereInput | TelemetrySpanWhereInput[] traceId?: StringFilter<"TelemetrySpan"> | string spanId?: StringFilter<"TelemetrySpan"> | string parentSpanId?: StringNullableFilter<"TelemetrySpan"> | string | null runId?: StringFilter<"TelemetrySpan"> | string workflowId?: StringFilter<"TelemetrySpan"> | string nodeId?: StringNullableFilter<"TelemetrySpan"> | string | null activationId?: StringNullableFilter<"TelemetrySpan"> | string | null connectionInvocationId?: StringNullableFilter<"TelemetrySpan"> | string | null name?: StringFilter<"TelemetrySpan"> | string kind?: StringFilter<"TelemetrySpan"> | string status?: StringNullableFilter<"TelemetrySpan"> | string | null statusMessage?: StringNullableFilter<"TelemetrySpan"> | string | null startTime?: StringNullableFilter<"TelemetrySpan"> | string | null endTime?: StringNullableFilter<"TelemetrySpan"> | string | null workflowFolder?: StringNullableFilter<"TelemetrySpan"> | string | null nodeType?: StringNullableFilter<"TelemetrySpan"> | string | null nodeRole?: StringNullableFilter<"TelemetrySpan"> | string | null modelName?: StringNullableFilter<"TelemetrySpan"> | string | null attributesJson?: StringNullableFilter<"TelemetrySpan"> | string | null eventsJson?: StringNullableFilter<"TelemetrySpan"> | string | null retentionExpiresAt?: StringNullableFilter<"TelemetrySpan"> | string | null iterationId?: StringNullableFilter<"TelemetrySpan"> | string | null itemIndex?: IntNullableFilter<"TelemetrySpan"> | number | null parentInvocationId?: StringNullableFilter<"TelemetrySpan"> | string | null updatedAt?: StringFilter<"TelemetrySpan"> | string }, "telemetrySpanId" | "traceId_spanId"> export type TelemetrySpanOrderByWithAggregationInput = { telemetrySpanId?: SortOrder traceId?: SortOrder spanId?: SortOrder parentSpanId?: SortOrderInput | SortOrder runId?: SortOrder workflowId?: SortOrder nodeId?: SortOrderInput | SortOrder activationId?: SortOrderInput | SortOrder connectionInvocationId?: SortOrderInput | SortOrder name?: SortOrder kind?: SortOrder status?: SortOrderInput | SortOrder statusMessage?: SortOrderInput | SortOrder startTime?: SortOrderInput | SortOrder endTime?: SortOrderInput | SortOrder workflowFolder?: SortOrderInput | SortOrder nodeType?: SortOrderInput | SortOrder nodeRole?: SortOrderInput | SortOrder modelName?: SortOrderInput | SortOrder attributesJson?: SortOrderInput | SortOrder eventsJson?: SortOrderInput | SortOrder retentionExpiresAt?: SortOrderInput | SortOrder iterationId?: SortOrderInput | SortOrder itemIndex?: SortOrderInput | SortOrder parentInvocationId?: SortOrderInput | SortOrder updatedAt?: SortOrder _count?: TelemetrySpanCountOrderByAggregateInput _avg?: TelemetrySpanAvgOrderByAggregateInput _max?: TelemetrySpanMaxOrderByAggregateInput _min?: TelemetrySpanMinOrderByAggregateInput _sum?: TelemetrySpanSumOrderByAggregateInput } export type TelemetrySpanScalarWhereWithAggregatesInput = { AND?: TelemetrySpanScalarWhereWithAggregatesInput | TelemetrySpanScalarWhereWithAggregatesInput[] OR?: TelemetrySpanScalarWhereWithAggregatesInput[] NOT?: TelemetrySpanScalarWhereWithAggregatesInput | TelemetrySpanScalarWhereWithAggregatesInput[] telemetrySpanId?: StringWithAggregatesFilter<"TelemetrySpan"> | string traceId?: StringWithAggregatesFilter<"TelemetrySpan"> | string spanId?: StringWithAggregatesFilter<"TelemetrySpan"> | string parentSpanId?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null runId?: StringWithAggregatesFilter<"TelemetrySpan"> | string workflowId?: StringWithAggregatesFilter<"TelemetrySpan"> | string nodeId?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null activationId?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null connectionInvocationId?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null name?: StringWithAggregatesFilter<"TelemetrySpan"> | string kind?: StringWithAggregatesFilter<"TelemetrySpan"> | string status?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null statusMessage?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null startTime?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null endTime?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null workflowFolder?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null nodeType?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null nodeRole?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null modelName?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null attributesJson?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null eventsJson?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null retentionExpiresAt?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null iterationId?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null itemIndex?: IntNullableWithAggregatesFilter<"TelemetrySpan"> | number | null parentInvocationId?: StringNullableWithAggregatesFilter<"TelemetrySpan"> | string | null updatedAt?: StringWithAggregatesFilter<"TelemetrySpan"> | string } export type WorkflowSnapshotWhereInput = { AND?: WorkflowSnapshotWhereInput | WorkflowSnapshotWhereInput[] OR?: WorkflowSnapshotWhereInput[] NOT?: WorkflowSnapshotWhereInput | WorkflowSnapshotWhereInput[] id?: StringFilter<"WorkflowSnapshot"> | string workflowId?: StringFilter<"WorkflowSnapshot"> | string snapshotHash?: StringFilter<"WorkflowSnapshot"> | string snapshotJson?: StringFilter<"WorkflowSnapshot"> | string createdAt?: StringFilter<"WorkflowSnapshot"> | string runs?: RunListRelationFilter } export type WorkflowSnapshotOrderByWithRelationInput = { id?: SortOrder workflowId?: SortOrder snapshotHash?: SortOrder snapshotJson?: SortOrder createdAt?: SortOrder runs?: RunOrderByRelationAggregateInput } export type WorkflowSnapshotWhereUniqueInput = Prisma.AtLeast<{ id?: string workflowId_snapshotHash?: WorkflowSnapshotWorkflowIdSnapshotHashCompoundUniqueInput AND?: WorkflowSnapshotWhereInput | WorkflowSnapshotWhereInput[] OR?: WorkflowSnapshotWhereInput[] NOT?: WorkflowSnapshotWhereInput | WorkflowSnapshotWhereInput[] workflowId?: StringFilter<"WorkflowSnapshot"> | string snapshotHash?: StringFilter<"WorkflowSnapshot"> | string snapshotJson?: StringFilter<"WorkflowSnapshot"> | string createdAt?: StringFilter<"WorkflowSnapshot"> | string runs?: RunListRelationFilter }, "id" | "workflowId_snapshotHash"> export type WorkflowSnapshotOrderByWithAggregationInput = { id?: SortOrder workflowId?: SortOrder snapshotHash?: SortOrder snapshotJson?: SortOrder createdAt?: SortOrder _count?: WorkflowSnapshotCountOrderByAggregateInput _max?: WorkflowSnapshotMaxOrderByAggregateInput _min?: WorkflowSnapshotMinOrderByAggregateInput } export type WorkflowSnapshotScalarWhereWithAggregatesInput = { AND?: WorkflowSnapshotScalarWhereWithAggregatesInput | WorkflowSnapshotScalarWhereWithAggregatesInput[] OR?: WorkflowSnapshotScalarWhereWithAggregatesInput[] NOT?: WorkflowSnapshotScalarWhereWithAggregatesInput | WorkflowSnapshotScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"WorkflowSnapshot"> | string workflowId?: StringWithAggregatesFilter<"WorkflowSnapshot"> | string snapshotHash?: StringWithAggregatesFilter<"WorkflowSnapshot"> | string snapshotJson?: StringWithAggregatesFilter<"WorkflowSnapshot"> | string createdAt?: StringWithAggregatesFilter<"WorkflowSnapshot"> | string } export type TelemetryArtifactWhereInput = { AND?: TelemetryArtifactWhereInput | TelemetryArtifactWhereInput[] OR?: TelemetryArtifactWhereInput[] NOT?: TelemetryArtifactWhereInput | TelemetryArtifactWhereInput[] artifactId?: StringFilter<"TelemetryArtifact"> | string traceId?: StringFilter<"TelemetryArtifact"> | string spanId?: StringFilter<"TelemetryArtifact"> | string runId?: StringFilter<"TelemetryArtifact"> | string workflowId?: StringFilter<"TelemetryArtifact"> | string nodeId?: StringNullableFilter<"TelemetryArtifact"> | string | null activationId?: StringNullableFilter<"TelemetryArtifact"> | string | null kind?: StringFilter<"TelemetryArtifact"> | string contentType?: StringFilter<"TelemetryArtifact"> | string previewText?: StringNullableFilter<"TelemetryArtifact"> | string | null previewJson?: StringNullableFilter<"TelemetryArtifact"> | string | null payloadText?: StringNullableFilter<"TelemetryArtifact"> | string | null payloadJson?: StringNullableFilter<"TelemetryArtifact"> | string | null payloadStorageKey?: StringNullableFilter<"TelemetryArtifact"> | string | null bytes?: IntNullableFilter<"TelemetryArtifact"> | number | null truncated?: BoolNullableFilter<"TelemetryArtifact"> | boolean | null createdAt?: StringFilter<"TelemetryArtifact"> | string expiresAt?: StringNullableFilter<"TelemetryArtifact"> | string | null retentionExpiresAt?: StringNullableFilter<"TelemetryArtifact"> | string | null } export type TelemetryArtifactOrderByWithRelationInput = { artifactId?: SortOrder traceId?: SortOrder spanId?: SortOrder runId?: SortOrder workflowId?: SortOrder nodeId?: SortOrderInput | SortOrder activationId?: SortOrderInput | SortOrder kind?: SortOrder contentType?: SortOrder previewText?: SortOrderInput | SortOrder previewJson?: SortOrderInput | SortOrder payloadText?: SortOrderInput | SortOrder payloadJson?: SortOrderInput | SortOrder payloadStorageKey?: SortOrderInput | SortOrder bytes?: SortOrderInput | SortOrder truncated?: SortOrderInput | SortOrder createdAt?: SortOrder expiresAt?: SortOrderInput | SortOrder retentionExpiresAt?: SortOrderInput | SortOrder } export type TelemetryArtifactWhereUniqueInput = Prisma.AtLeast<{ artifactId?: string AND?: TelemetryArtifactWhereInput | TelemetryArtifactWhereInput[] OR?: TelemetryArtifactWhereInput[] NOT?: TelemetryArtifactWhereInput | TelemetryArtifactWhereInput[] traceId?: StringFilter<"TelemetryArtifact"> | string spanId?: StringFilter<"TelemetryArtifact"> | string runId?: StringFilter<"TelemetryArtifact"> | string workflowId?: StringFilter<"TelemetryArtifact"> | string nodeId?: StringNullableFilter<"TelemetryArtifact"> | string | null activationId?: StringNullableFilter<"TelemetryArtifact"> | string | null kind?: StringFilter<"TelemetryArtifact"> | string contentType?: StringFilter<"TelemetryArtifact"> | string previewText?: StringNullableFilter<"TelemetryArtifact"> | string | null previewJson?: StringNullableFilter<"TelemetryArtifact"> | string | null payloadText?: StringNullableFilter<"TelemetryArtifact"> | string | null payloadJson?: StringNullableFilter<"TelemetryArtifact"> | string | null payloadStorageKey?: StringNullableFilter<"TelemetryArtifact"> | string | null bytes?: IntNullableFilter<"TelemetryArtifact"> | number | null truncated?: BoolNullableFilter<"TelemetryArtifact"> | boolean | null createdAt?: StringFilter<"TelemetryArtifact"> | string expiresAt?: StringNullableFilter<"TelemetryArtifact"> | string | null retentionExpiresAt?: StringNullableFilter<"TelemetryArtifact"> | string | null }, "artifactId"> export type TelemetryArtifactOrderByWithAggregationInput = { artifactId?: SortOrder traceId?: SortOrder spanId?: SortOrder runId?: SortOrder workflowId?: SortOrder nodeId?: SortOrderInput | SortOrder activationId?: SortOrderInput | SortOrder kind?: SortOrder contentType?: SortOrder previewText?: SortOrderInput | SortOrder previewJson?: SortOrderInput | SortOrder payloadText?: SortOrderInput | SortOrder payloadJson?: SortOrderInput | SortOrder payloadStorageKey?: SortOrderInput | SortOrder bytes?: SortOrderInput | SortOrder truncated?: SortOrderInput | SortOrder createdAt?: SortOrder expiresAt?: SortOrderInput | SortOrder retentionExpiresAt?: SortOrderInput | SortOrder _count?: TelemetryArtifactCountOrderByAggregateInput _avg?: TelemetryArtifactAvgOrderByAggregateInput _max?: TelemetryArtifactMaxOrderByAggregateInput _min?: TelemetryArtifactMinOrderByAggregateInput _sum?: TelemetryArtifactSumOrderByAggregateInput } export type TelemetryArtifactScalarWhereWithAggregatesInput = { AND?: TelemetryArtifactScalarWhereWithAggregatesInput | TelemetryArtifactScalarWhereWithAggregatesInput[] OR?: TelemetryArtifactScalarWhereWithAggregatesInput[] NOT?: TelemetryArtifactScalarWhereWithAggregatesInput | TelemetryArtifactScalarWhereWithAggregatesInput[] artifactId?: StringWithAggregatesFilter<"TelemetryArtifact"> | string traceId?: StringWithAggregatesFilter<"TelemetryArtifact"> | string spanId?: StringWithAggregatesFilter<"TelemetryArtifact"> | string runId?: StringWithAggregatesFilter<"TelemetryArtifact"> | string workflowId?: StringWithAggregatesFilter<"TelemetryArtifact"> | string nodeId?: StringNullableWithAggregatesFilter<"TelemetryArtifact"> | string | null activationId?: StringNullableWithAggregatesFilter<"TelemetryArtifact"> | string | null kind?: StringWithAggregatesFilter<"TelemetryArtifact"> | string contentType?: StringWithAggregatesFilter<"TelemetryArtifact"> | string previewText?: StringNullableWithAggregatesFilter<"TelemetryArtifact"> | string | null previewJson?: StringNullableWithAggregatesFilter<"TelemetryArtifact"> | string | null payloadText?: StringNullableWithAggregatesFilter<"TelemetryArtifact"> | string | null payloadJson?: StringNullableWithAggregatesFilter<"TelemetryArtifact"> | string | null payloadStorageKey?: StringNullableWithAggregatesFilter<"TelemetryArtifact"> | string | null bytes?: IntNullableWithAggregatesFilter<"TelemetryArtifact"> | number | null truncated?: BoolNullableWithAggregatesFilter<"TelemetryArtifact"> | boolean | null createdAt?: StringWithAggregatesFilter<"TelemetryArtifact"> | string expiresAt?: StringNullableWithAggregatesFilter<"TelemetryArtifact"> | string | null retentionExpiresAt?: StringNullableWithAggregatesFilter<"TelemetryArtifact"> | string | null } export type TelemetryMetricPointWhereInput = { AND?: TelemetryMetricPointWhereInput | TelemetryMetricPointWhereInput[] OR?: TelemetryMetricPointWhereInput[] NOT?: TelemetryMetricPointWhereInput | TelemetryMetricPointWhereInput[] metricPointId?: StringFilter<"TelemetryMetricPoint"> | string traceId?: StringNullableFilter<"TelemetryMetricPoint"> | string | null spanId?: StringNullableFilter<"TelemetryMetricPoint"> | string | null runId?: StringNullableFilter<"TelemetryMetricPoint"> | string | null workflowId?: StringFilter<"TelemetryMetricPoint"> | string nodeId?: StringNullableFilter<"TelemetryMetricPoint"> | string | null activationId?: StringNullableFilter<"TelemetryMetricPoint"> | string | null metricName?: StringFilter<"TelemetryMetricPoint"> | string value?: FloatFilter<"TelemetryMetricPoint"> | number unit?: StringNullableFilter<"TelemetryMetricPoint"> | string | null observedAt?: StringFilter<"TelemetryMetricPoint"> | string workflowFolder?: StringNullableFilter<"TelemetryMetricPoint"> | string | null nodeType?: StringNullableFilter<"TelemetryMetricPoint"> | string | null nodeRole?: StringNullableFilter<"TelemetryMetricPoint"> | string | null modelName?: StringNullableFilter<"TelemetryMetricPoint"> | string | null dimensionsJson?: StringNullableFilter<"TelemetryMetricPoint"> | string | null retentionExpiresAt?: StringNullableFilter<"TelemetryMetricPoint"> | string | null iterationId?: StringNullableFilter<"TelemetryMetricPoint"> | string | null itemIndex?: IntNullableFilter<"TelemetryMetricPoint"> | number | null parentInvocationId?: StringNullableFilter<"TelemetryMetricPoint"> | string | null } export type TelemetryMetricPointOrderByWithRelationInput = { metricPointId?: SortOrder traceId?: SortOrderInput | SortOrder spanId?: SortOrderInput | SortOrder runId?: SortOrderInput | SortOrder workflowId?: SortOrder nodeId?: SortOrderInput | SortOrder activationId?: SortOrderInput | SortOrder metricName?: SortOrder value?: SortOrder unit?: SortOrderInput | SortOrder observedAt?: SortOrder workflowFolder?: SortOrderInput | SortOrder nodeType?: SortOrderInput | SortOrder nodeRole?: SortOrderInput | SortOrder modelName?: SortOrderInput | SortOrder dimensionsJson?: SortOrderInput | SortOrder retentionExpiresAt?: SortOrderInput | SortOrder iterationId?: SortOrderInput | SortOrder itemIndex?: SortOrderInput | SortOrder parentInvocationId?: SortOrderInput | SortOrder } export type TelemetryMetricPointWhereUniqueInput = Prisma.AtLeast<{ metricPointId?: string AND?: TelemetryMetricPointWhereInput | TelemetryMetricPointWhereInput[] OR?: TelemetryMetricPointWhereInput[] NOT?: TelemetryMetricPointWhereInput | TelemetryMetricPointWhereInput[] traceId?: StringNullableFilter<"TelemetryMetricPoint"> | string | null spanId?: StringNullableFilter<"TelemetryMetricPoint"> | string | null runId?: StringNullableFilter<"TelemetryMetricPoint"> | string | null workflowId?: StringFilter<"TelemetryMetricPoint"> | string nodeId?: StringNullableFilter<"TelemetryMetricPoint"> | string | null activationId?: StringNullableFilter<"TelemetryMetricPoint"> | string | null metricName?: StringFilter<"TelemetryMetricPoint"> | string value?: FloatFilter<"TelemetryMetricPoint"> | number unit?: StringNullableFilter<"TelemetryMetricPoint"> | string | null observedAt?: StringFilter<"TelemetryMetricPoint"> | string workflowFolder?: StringNullableFilter<"TelemetryMetricPoint"> | string | null nodeType?: StringNullableFilter<"TelemetryMetricPoint"> | string | null nodeRole?: StringNullableFilter<"TelemetryMetricPoint"> | string | null modelName?: StringNullableFilter<"TelemetryMetricPoint"> | string | null dimensionsJson?: StringNullableFilter<"TelemetryMetricPoint"> | string | null retentionExpiresAt?: StringNullableFilter<"TelemetryMetricPoint"> | string | null iterationId?: StringNullableFilter<"TelemetryMetricPoint"> | string | null itemIndex?: IntNullableFilter<"TelemetryMetricPoint"> | number | null parentInvocationId?: StringNullableFilter<"TelemetryMetricPoint"> | string | null }, "metricPointId"> export type TelemetryMetricPointOrderByWithAggregationInput = { metricPointId?: SortOrder traceId?: SortOrderInput | SortOrder spanId?: SortOrderInput | SortOrder runId?: SortOrderInput | SortOrder workflowId?: SortOrder nodeId?: SortOrderInput | SortOrder activationId?: SortOrderInput | SortOrder metricName?: SortOrder value?: SortOrder unit?: SortOrderInput | SortOrder observedAt?: SortOrder workflowFolder?: SortOrderInput | SortOrder nodeType?: SortOrderInput | SortOrder nodeRole?: SortOrderInput | SortOrder modelName?: SortOrderInput | SortOrder dimensionsJson?: SortOrderInput | SortOrder retentionExpiresAt?: SortOrderInput | SortOrder iterationId?: SortOrderInput | SortOrder itemIndex?: SortOrderInput | SortOrder parentInvocationId?: SortOrderInput | SortOrder _count?: TelemetryMetricPointCountOrderByAggregateInput _avg?: TelemetryMetricPointAvgOrderByAggregateInput _max?: TelemetryMetricPointMaxOrderByAggregateInput _min?: TelemetryMetricPointMinOrderByAggregateInput _sum?: TelemetryMetricPointSumOrderByAggregateInput } export type TelemetryMetricPointScalarWhereWithAggregatesInput = { AND?: TelemetryMetricPointScalarWhereWithAggregatesInput | TelemetryMetricPointScalarWhereWithAggregatesInput[] OR?: TelemetryMetricPointScalarWhereWithAggregatesInput[] NOT?: TelemetryMetricPointScalarWhereWithAggregatesInput | TelemetryMetricPointScalarWhereWithAggregatesInput[] metricPointId?: StringWithAggregatesFilter<"TelemetryMetricPoint"> | string traceId?: StringNullableWithAggregatesFilter<"TelemetryMetricPoint"> | string | null spanId?: StringNullableWithAggregatesFilter<"TelemetryMetricPoint"> | string | null runId?: StringNullableWithAggregatesFilter<"TelemetryMetricPoint"> | string | null workflowId?: StringWithAggregatesFilter<"TelemetryMetricPoint"> | string nodeId?: StringNullableWithAggregatesFilter<"TelemetryMetricPoint"> | string | null activationId?: StringNullableWithAggregatesFilter<"TelemetryMetricPoint"> | string | null metricName?: StringWithAggregatesFilter<"TelemetryMetricPoint"> | string value?: FloatWithAggregatesFilter<"TelemetryMetricPoint"> | number unit?: StringNullableWithAggregatesFilter<"TelemetryMetricPoint"> | string | null observedAt?: StringWithAggregatesFilter<"TelemetryMetricPoint"> | string workflowFolder?: StringNullableWithAggregatesFilter<"TelemetryMetricPoint"> | string | null nodeType?: StringNullableWithAggregatesFilter<"TelemetryMetricPoint"> | string | null nodeRole?: StringNullableWithAggregatesFilter<"TelemetryMetricPoint"> | string | null modelName?: StringNullableWithAggregatesFilter<"TelemetryMetricPoint"> | string | null dimensionsJson?: StringNullableWithAggregatesFilter<"TelemetryMetricPoint"> | string | null retentionExpiresAt?: StringNullableWithAggregatesFilter<"TelemetryMetricPoint"> | string | null iterationId?: StringNullableWithAggregatesFilter<"TelemetryMetricPoint"> | string | null itemIndex?: IntNullableWithAggregatesFilter<"TelemetryMetricPoint"> | number | null parentInvocationId?: StringNullableWithAggregatesFilter<"TelemetryMetricPoint"> | string | null } export type CredentialInstanceWhereInput = { AND?: CredentialInstanceWhereInput | CredentialInstanceWhereInput[] OR?: CredentialInstanceWhereInput[] NOT?: CredentialInstanceWhereInput | CredentialInstanceWhereInput[] instanceId?: StringFilter<"CredentialInstance"> | string typeId?: StringFilter<"CredentialInstance"> | string displayName?: StringFilter<"CredentialInstance"> | string sourceKind?: StringFilter<"CredentialInstance"> | string publicConfigJson?: StringFilter<"CredentialInstance"> | string secretRefJson?: StringFilter<"CredentialInstance"> | string tagsJson?: StringFilter<"CredentialInstance"> | string setupStatus?: StringFilter<"CredentialInstance"> | string createdAt?: StringFilter<"CredentialInstance"> | string updatedAt?: StringFilter<"CredentialInstance"> | string materialSource?: StringFilter<"CredentialInstance"> | string materialRef?: StringFilter<"CredentialInstance"> | string } export type CredentialInstanceOrderByWithRelationInput = { instanceId?: SortOrder typeId?: SortOrder displayName?: SortOrder sourceKind?: SortOrder publicConfigJson?: SortOrder secretRefJson?: SortOrder tagsJson?: SortOrder setupStatus?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder materialSource?: SortOrder materialRef?: SortOrder } export type CredentialInstanceWhereUniqueInput = Prisma.AtLeast<{ instanceId?: string AND?: CredentialInstanceWhereInput | CredentialInstanceWhereInput[] OR?: CredentialInstanceWhereInput[] NOT?: CredentialInstanceWhereInput | CredentialInstanceWhereInput[] typeId?: StringFilter<"CredentialInstance"> | string displayName?: StringFilter<"CredentialInstance"> | string sourceKind?: StringFilter<"CredentialInstance"> | string publicConfigJson?: StringFilter<"CredentialInstance"> | string secretRefJson?: StringFilter<"CredentialInstance"> | string tagsJson?: StringFilter<"CredentialInstance"> | string setupStatus?: StringFilter<"CredentialInstance"> | string createdAt?: StringFilter<"CredentialInstance"> | string updatedAt?: StringFilter<"CredentialInstance"> | string materialSource?: StringFilter<"CredentialInstance"> | string materialRef?: StringFilter<"CredentialInstance"> | string }, "instanceId"> export type CredentialInstanceOrderByWithAggregationInput = { instanceId?: SortOrder typeId?: SortOrder displayName?: SortOrder sourceKind?: SortOrder publicConfigJson?: SortOrder secretRefJson?: SortOrder tagsJson?: SortOrder setupStatus?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder materialSource?: SortOrder materialRef?: SortOrder _count?: CredentialInstanceCountOrderByAggregateInput _max?: CredentialInstanceMaxOrderByAggregateInput _min?: CredentialInstanceMinOrderByAggregateInput } export type CredentialInstanceScalarWhereWithAggregatesInput = { AND?: CredentialInstanceScalarWhereWithAggregatesInput | CredentialInstanceScalarWhereWithAggregatesInput[] OR?: CredentialInstanceScalarWhereWithAggregatesInput[] NOT?: CredentialInstanceScalarWhereWithAggregatesInput | CredentialInstanceScalarWhereWithAggregatesInput[] instanceId?: StringWithAggregatesFilter<"CredentialInstance"> | string typeId?: StringWithAggregatesFilter<"CredentialInstance"> | string displayName?: StringWithAggregatesFilter<"CredentialInstance"> | string sourceKind?: StringWithAggregatesFilter<"CredentialInstance"> | string publicConfigJson?: StringWithAggregatesFilter<"CredentialInstance"> | string secretRefJson?: StringWithAggregatesFilter<"CredentialInstance"> | string tagsJson?: StringWithAggregatesFilter<"CredentialInstance"> | string setupStatus?: StringWithAggregatesFilter<"CredentialInstance"> | string createdAt?: StringWithAggregatesFilter<"CredentialInstance"> | string updatedAt?: StringWithAggregatesFilter<"CredentialInstance"> | string materialSource?: StringWithAggregatesFilter<"CredentialInstance"> | string materialRef?: StringWithAggregatesFilter<"CredentialInstance"> | string } export type CredentialSecretMaterialWhereInput = { AND?: CredentialSecretMaterialWhereInput | CredentialSecretMaterialWhereInput[] OR?: CredentialSecretMaterialWhereInput[] NOT?: CredentialSecretMaterialWhereInput | CredentialSecretMaterialWhereInput[] instanceId?: StringFilter<"CredentialSecretMaterial"> | string encryptedJson?: StringFilter<"CredentialSecretMaterial"> | string encryptionKeyId?: StringFilter<"CredentialSecretMaterial"> | string schemaVersion?: IntFilter<"CredentialSecretMaterial"> | number updatedAt?: StringFilter<"CredentialSecretMaterial"> | string } export type CredentialSecretMaterialOrderByWithRelationInput = { instanceId?: SortOrder encryptedJson?: SortOrder encryptionKeyId?: SortOrder schemaVersion?: SortOrder updatedAt?: SortOrder } export type CredentialSecretMaterialWhereUniqueInput = Prisma.AtLeast<{ instanceId?: string AND?: CredentialSecretMaterialWhereInput | CredentialSecretMaterialWhereInput[] OR?: CredentialSecretMaterialWhereInput[] NOT?: CredentialSecretMaterialWhereInput | CredentialSecretMaterialWhereInput[] encryptedJson?: StringFilter<"CredentialSecretMaterial"> | string encryptionKeyId?: StringFilter<"CredentialSecretMaterial"> | string schemaVersion?: IntFilter<"CredentialSecretMaterial"> | number updatedAt?: StringFilter<"CredentialSecretMaterial"> | string }, "instanceId"> export type CredentialSecretMaterialOrderByWithAggregationInput = { instanceId?: SortOrder encryptedJson?: SortOrder encryptionKeyId?: SortOrder schemaVersion?: SortOrder updatedAt?: SortOrder _count?: CredentialSecretMaterialCountOrderByAggregateInput _avg?: CredentialSecretMaterialAvgOrderByAggregateInput _max?: CredentialSecretMaterialMaxOrderByAggregateInput _min?: CredentialSecretMaterialMinOrderByAggregateInput _sum?: CredentialSecretMaterialSumOrderByAggregateInput } export type CredentialSecretMaterialScalarWhereWithAggregatesInput = { AND?: CredentialSecretMaterialScalarWhereWithAggregatesInput | CredentialSecretMaterialScalarWhereWithAggregatesInput[] OR?: CredentialSecretMaterialScalarWhereWithAggregatesInput[] NOT?: CredentialSecretMaterialScalarWhereWithAggregatesInput | CredentialSecretMaterialScalarWhereWithAggregatesInput[] instanceId?: StringWithAggregatesFilter<"CredentialSecretMaterial"> | string encryptedJson?: StringWithAggregatesFilter<"CredentialSecretMaterial"> | string encryptionKeyId?: StringWithAggregatesFilter<"CredentialSecretMaterial"> | string schemaVersion?: IntWithAggregatesFilter<"CredentialSecretMaterial"> | number updatedAt?: StringWithAggregatesFilter<"CredentialSecretMaterial"> | string } export type CredentialOAuth2MaterialWhereInput = { AND?: CredentialOAuth2MaterialWhereInput | CredentialOAuth2MaterialWhereInput[] OR?: CredentialOAuth2MaterialWhereInput[] NOT?: CredentialOAuth2MaterialWhereInput | CredentialOAuth2MaterialWhereInput[] instanceId?: StringFilter<"CredentialOAuth2Material"> | string encryptedJson?: StringFilter<"CredentialOAuth2Material"> | string encryptionKeyId?: StringFilter<"CredentialOAuth2Material"> | string schemaVersion?: IntFilter<"CredentialOAuth2Material"> | number providerId?: StringFilter<"CredentialOAuth2Material"> | string connectedEmail?: StringNullableFilter<"CredentialOAuth2Material"> | string | null connectedAt?: StringNullableFilter<"CredentialOAuth2Material"> | string | null scopesJson?: StringFilter<"CredentialOAuth2Material"> | string updatedAt?: StringFilter<"CredentialOAuth2Material"> | string } export type CredentialOAuth2MaterialOrderByWithRelationInput = { instanceId?: SortOrder encryptedJson?: SortOrder encryptionKeyId?: SortOrder schemaVersion?: SortOrder providerId?: SortOrder connectedEmail?: SortOrderInput | SortOrder connectedAt?: SortOrderInput | SortOrder scopesJson?: SortOrder updatedAt?: SortOrder } export type CredentialOAuth2MaterialWhereUniqueInput = Prisma.AtLeast<{ instanceId?: string AND?: CredentialOAuth2MaterialWhereInput | CredentialOAuth2MaterialWhereInput[] OR?: CredentialOAuth2MaterialWhereInput[] NOT?: CredentialOAuth2MaterialWhereInput | CredentialOAuth2MaterialWhereInput[] encryptedJson?: StringFilter<"CredentialOAuth2Material"> | string encryptionKeyId?: StringFilter<"CredentialOAuth2Material"> | string schemaVersion?: IntFilter<"CredentialOAuth2Material"> | number providerId?: StringFilter<"CredentialOAuth2Material"> | string connectedEmail?: StringNullableFilter<"CredentialOAuth2Material"> | string | null connectedAt?: StringNullableFilter<"CredentialOAuth2Material"> | string | null scopesJson?: StringFilter<"CredentialOAuth2Material"> | string updatedAt?: StringFilter<"CredentialOAuth2Material"> | string }, "instanceId"> export type CredentialOAuth2MaterialOrderByWithAggregationInput = { instanceId?: SortOrder encryptedJson?: SortOrder encryptionKeyId?: SortOrder schemaVersion?: SortOrder providerId?: SortOrder connectedEmail?: SortOrderInput | SortOrder connectedAt?: SortOrderInput | SortOrder scopesJson?: SortOrder updatedAt?: SortOrder _count?: CredentialOAuth2MaterialCountOrderByAggregateInput _avg?: CredentialOAuth2MaterialAvgOrderByAggregateInput _max?: CredentialOAuth2MaterialMaxOrderByAggregateInput _min?: CredentialOAuth2MaterialMinOrderByAggregateInput _sum?: CredentialOAuth2MaterialSumOrderByAggregateInput } export type CredentialOAuth2MaterialScalarWhereWithAggregatesInput = { AND?: CredentialOAuth2MaterialScalarWhereWithAggregatesInput | CredentialOAuth2MaterialScalarWhereWithAggregatesInput[] OR?: CredentialOAuth2MaterialScalarWhereWithAggregatesInput[] NOT?: CredentialOAuth2MaterialScalarWhereWithAggregatesInput | CredentialOAuth2MaterialScalarWhereWithAggregatesInput[] instanceId?: StringWithAggregatesFilter<"CredentialOAuth2Material"> | string encryptedJson?: StringWithAggregatesFilter<"CredentialOAuth2Material"> | string encryptionKeyId?: StringWithAggregatesFilter<"CredentialOAuth2Material"> | string schemaVersion?: IntWithAggregatesFilter<"CredentialOAuth2Material"> | number providerId?: StringWithAggregatesFilter<"CredentialOAuth2Material"> | string connectedEmail?: StringNullableWithAggregatesFilter<"CredentialOAuth2Material"> | string | null connectedAt?: StringNullableWithAggregatesFilter<"CredentialOAuth2Material"> | string | null scopesJson?: StringWithAggregatesFilter<"CredentialOAuth2Material"> | string updatedAt?: StringWithAggregatesFilter<"CredentialOAuth2Material"> | string } export type CredentialOAuth2StateWhereInput = { AND?: CredentialOAuth2StateWhereInput | CredentialOAuth2StateWhereInput[] OR?: CredentialOAuth2StateWhereInput[] NOT?: CredentialOAuth2StateWhereInput | CredentialOAuth2StateWhereInput[] state?: StringFilter<"CredentialOAuth2State"> | string instanceId?: StringFilter<"CredentialOAuth2State"> | string codeVerifier?: StringNullableFilter<"CredentialOAuth2State"> | string | null providerId?: StringNullableFilter<"CredentialOAuth2State"> | string | null requestedScopesJson?: StringFilter<"CredentialOAuth2State"> | string createdAt?: StringFilter<"CredentialOAuth2State"> | string expiresAt?: StringFilter<"CredentialOAuth2State"> | string } export type CredentialOAuth2StateOrderByWithRelationInput = { state?: SortOrder instanceId?: SortOrder codeVerifier?: SortOrderInput | SortOrder providerId?: SortOrderInput | SortOrder requestedScopesJson?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder } export type CredentialOAuth2StateWhereUniqueInput = Prisma.AtLeast<{ state?: string AND?: CredentialOAuth2StateWhereInput | CredentialOAuth2StateWhereInput[] OR?: CredentialOAuth2StateWhereInput[] NOT?: CredentialOAuth2StateWhereInput | CredentialOAuth2StateWhereInput[] instanceId?: StringFilter<"CredentialOAuth2State"> | string codeVerifier?: StringNullableFilter<"CredentialOAuth2State"> | string | null providerId?: StringNullableFilter<"CredentialOAuth2State"> | string | null requestedScopesJson?: StringFilter<"CredentialOAuth2State"> | string createdAt?: StringFilter<"CredentialOAuth2State"> | string expiresAt?: StringFilter<"CredentialOAuth2State"> | string }, "state"> export type CredentialOAuth2StateOrderByWithAggregationInput = { state?: SortOrder instanceId?: SortOrder codeVerifier?: SortOrderInput | SortOrder providerId?: SortOrderInput | SortOrder requestedScopesJson?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder _count?: CredentialOAuth2StateCountOrderByAggregateInput _max?: CredentialOAuth2StateMaxOrderByAggregateInput _min?: CredentialOAuth2StateMinOrderByAggregateInput } export type CredentialOAuth2StateScalarWhereWithAggregatesInput = { AND?: CredentialOAuth2StateScalarWhereWithAggregatesInput | CredentialOAuth2StateScalarWhereWithAggregatesInput[] OR?: CredentialOAuth2StateScalarWhereWithAggregatesInput[] NOT?: CredentialOAuth2StateScalarWhereWithAggregatesInput | CredentialOAuth2StateScalarWhereWithAggregatesInput[] state?: StringWithAggregatesFilter<"CredentialOAuth2State"> | string instanceId?: StringWithAggregatesFilter<"CredentialOAuth2State"> | string codeVerifier?: StringNullableWithAggregatesFilter<"CredentialOAuth2State"> | string | null providerId?: StringNullableWithAggregatesFilter<"CredentialOAuth2State"> | string | null requestedScopesJson?: StringWithAggregatesFilter<"CredentialOAuth2State"> | string createdAt?: StringWithAggregatesFilter<"CredentialOAuth2State"> | string expiresAt?: StringWithAggregatesFilter<"CredentialOAuth2State"> | string } export type CredentialBindingWhereInput = { AND?: CredentialBindingWhereInput | CredentialBindingWhereInput[] OR?: CredentialBindingWhereInput[] NOT?: CredentialBindingWhereInput | CredentialBindingWhereInput[] workflowId?: StringFilter<"CredentialBinding"> | string nodeId?: StringFilter<"CredentialBinding"> | string slotKey?: StringFilter<"CredentialBinding"> | string instanceId?: StringFilter<"CredentialBinding"> | string updatedAt?: StringFilter<"CredentialBinding"> | string } export type CredentialBindingOrderByWithRelationInput = { workflowId?: SortOrder nodeId?: SortOrder slotKey?: SortOrder instanceId?: SortOrder updatedAt?: SortOrder } export type CredentialBindingWhereUniqueInput = Prisma.AtLeast<{ workflowId_nodeId_slotKey?: CredentialBindingWorkflowIdNodeIdSlotKeyCompoundUniqueInput AND?: CredentialBindingWhereInput | CredentialBindingWhereInput[] OR?: CredentialBindingWhereInput[] NOT?: CredentialBindingWhereInput | CredentialBindingWhereInput[] workflowId?: StringFilter<"CredentialBinding"> | string nodeId?: StringFilter<"CredentialBinding"> | string slotKey?: StringFilter<"CredentialBinding"> | string instanceId?: StringFilter<"CredentialBinding"> | string updatedAt?: StringFilter<"CredentialBinding"> | string }, "workflowId_nodeId_slotKey"> export type CredentialBindingOrderByWithAggregationInput = { workflowId?: SortOrder nodeId?: SortOrder slotKey?: SortOrder instanceId?: SortOrder updatedAt?: SortOrder _count?: CredentialBindingCountOrderByAggregateInput _max?: CredentialBindingMaxOrderByAggregateInput _min?: CredentialBindingMinOrderByAggregateInput } export type CredentialBindingScalarWhereWithAggregatesInput = { AND?: CredentialBindingScalarWhereWithAggregatesInput | CredentialBindingScalarWhereWithAggregatesInput[] OR?: CredentialBindingScalarWhereWithAggregatesInput[] NOT?: CredentialBindingScalarWhereWithAggregatesInput | CredentialBindingScalarWhereWithAggregatesInput[] workflowId?: StringWithAggregatesFilter<"CredentialBinding"> | string nodeId?: StringWithAggregatesFilter<"CredentialBinding"> | string slotKey?: StringWithAggregatesFilter<"CredentialBinding"> | string instanceId?: StringWithAggregatesFilter<"CredentialBinding"> | string updatedAt?: StringWithAggregatesFilter<"CredentialBinding"> | string } export type CredentialTestResultWhereInput = { AND?: CredentialTestResultWhereInput | CredentialTestResultWhereInput[] OR?: CredentialTestResultWhereInput[] NOT?: CredentialTestResultWhereInput | CredentialTestResultWhereInput[] testId?: StringFilter<"CredentialTestResult"> | string instanceId?: StringFilter<"CredentialTestResult"> | string status?: StringFilter<"CredentialTestResult"> | string message?: StringNullableFilter<"CredentialTestResult"> | string | null detailsJson?: StringFilter<"CredentialTestResult"> | string testedAt?: StringFilter<"CredentialTestResult"> | string expiresAt?: StringNullableFilter<"CredentialTestResult"> | string | null } export type CredentialTestResultOrderByWithRelationInput = { testId?: SortOrder instanceId?: SortOrder status?: SortOrder message?: SortOrderInput | SortOrder detailsJson?: SortOrder testedAt?: SortOrder expiresAt?: SortOrderInput | SortOrder } export type CredentialTestResultWhereUniqueInput = Prisma.AtLeast<{ testId?: string AND?: CredentialTestResultWhereInput | CredentialTestResultWhereInput[] OR?: CredentialTestResultWhereInput[] NOT?: CredentialTestResultWhereInput | CredentialTestResultWhereInput[] instanceId?: StringFilter<"CredentialTestResult"> | string status?: StringFilter<"CredentialTestResult"> | string message?: StringNullableFilter<"CredentialTestResult"> | string | null detailsJson?: StringFilter<"CredentialTestResult"> | string testedAt?: StringFilter<"CredentialTestResult"> | string expiresAt?: StringNullableFilter<"CredentialTestResult"> | string | null }, "testId"> export type CredentialTestResultOrderByWithAggregationInput = { testId?: SortOrder instanceId?: SortOrder status?: SortOrder message?: SortOrderInput | SortOrder detailsJson?: SortOrder testedAt?: SortOrder expiresAt?: SortOrderInput | SortOrder _count?: CredentialTestResultCountOrderByAggregateInput _max?: CredentialTestResultMaxOrderByAggregateInput _min?: CredentialTestResultMinOrderByAggregateInput } export type CredentialTestResultScalarWhereWithAggregatesInput = { AND?: CredentialTestResultScalarWhereWithAggregatesInput | CredentialTestResultScalarWhereWithAggregatesInput[] OR?: CredentialTestResultScalarWhereWithAggregatesInput[] NOT?: CredentialTestResultScalarWhereWithAggregatesInput | CredentialTestResultScalarWhereWithAggregatesInput[] testId?: StringWithAggregatesFilter<"CredentialTestResult"> | string instanceId?: StringWithAggregatesFilter<"CredentialTestResult"> | string status?: StringWithAggregatesFilter<"CredentialTestResult"> | string message?: StringNullableWithAggregatesFilter<"CredentialTestResult"> | string | null detailsJson?: StringWithAggregatesFilter<"CredentialTestResult"> | string testedAt?: StringWithAggregatesFilter<"CredentialTestResult"> | string expiresAt?: StringNullableWithAggregatesFilter<"CredentialTestResult"> | string | null } 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?: BoolFilter<"User"> | boolean image?: StringNullableFilter<"User"> | string | null passwordHash?: StringNullableFilter<"User"> | string | null accountStatus?: StringFilter<"User"> | string createdAt?: DateTimeFilter<"User"> | Date | string updatedAt?: DateTimeFilter<"User"> | Date | string accounts?: AccountListRelationFilter sessions?: SessionListRelationFilter invites?: UserInviteListRelationFilter } export type UserOrderByWithRelationInput = { id?: SortOrder name?: SortOrderInput | SortOrder email?: SortOrderInput | SortOrder emailVerified?: SortOrder image?: SortOrderInput | SortOrder passwordHash?: SortOrderInput | SortOrder accountStatus?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder accounts?: AccountOrderByRelationAggregateInput sessions?: SessionOrderByRelationAggregateInput invites?: UserInviteOrderByRelationAggregateInput } export type UserWhereUniqueInput = Prisma.AtLeast<{ id?: string email?: string AND?: UserWhereInput | UserWhereInput[] OR?: UserWhereInput[] NOT?: UserWhereInput | UserWhereInput[] name?: StringNullableFilter<"User"> | string | null emailVerified?: BoolFilter<"User"> | boolean image?: StringNullableFilter<"User"> | string | null passwordHash?: StringNullableFilter<"User"> | string | null accountStatus?: StringFilter<"User"> | string createdAt?: DateTimeFilter<"User"> | Date | string updatedAt?: DateTimeFilter<"User"> | Date | string accounts?: AccountListRelationFilter sessions?: SessionListRelationFilter invites?: UserInviteListRelationFilter }, "id" | "email"> export type UserOrderByWithAggregationInput = { id?: SortOrder name?: SortOrderInput | SortOrder email?: SortOrderInput | SortOrder emailVerified?: SortOrder image?: SortOrderInput | SortOrder passwordHash?: SortOrderInput | SortOrder accountStatus?: SortOrder createdAt?: SortOrder updatedAt?: 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?: BoolWithAggregatesFilter<"User"> | boolean image?: StringNullableWithAggregatesFilter<"User"> | string | null passwordHash?: StringNullableWithAggregatesFilter<"User"> | string | null accountStatus?: StringWithAggregatesFilter<"User"> | string createdAt?: DateTimeWithAggregatesFilter<"User"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"User"> | Date | string } export type UserInviteWhereInput = { AND?: UserInviteWhereInput | UserInviteWhereInput[] OR?: UserInviteWhereInput[] NOT?: UserInviteWhereInput | UserInviteWhereInput[] id?: StringFilter<"UserInvite"> | string userId?: StringFilter<"UserInvite"> | string tokenHash?: StringFilter<"UserInvite"> | string expiresAt?: DateTimeFilter<"UserInvite"> | Date | string createdAt?: DateTimeFilter<"UserInvite"> | Date | string revokedAt?: DateTimeNullableFilter<"UserInvite"> | Date | string | null user?: XOR } export type UserInviteOrderByWithRelationInput = { id?: SortOrder userId?: SortOrder tokenHash?: SortOrder expiresAt?: SortOrder createdAt?: SortOrder revokedAt?: SortOrderInput | SortOrder user?: UserOrderByWithRelationInput } export type UserInviteWhereUniqueInput = Prisma.AtLeast<{ id?: string tokenHash?: string AND?: UserInviteWhereInput | UserInviteWhereInput[] OR?: UserInviteWhereInput[] NOT?: UserInviteWhereInput | UserInviteWhereInput[] userId?: StringFilter<"UserInvite"> | string expiresAt?: DateTimeFilter<"UserInvite"> | Date | string createdAt?: DateTimeFilter<"UserInvite"> | Date | string revokedAt?: DateTimeNullableFilter<"UserInvite"> | Date | string | null user?: XOR }, "id" | "tokenHash"> export type UserInviteOrderByWithAggregationInput = { id?: SortOrder userId?: SortOrder tokenHash?: SortOrder expiresAt?: SortOrder createdAt?: SortOrder revokedAt?: SortOrderInput | SortOrder _count?: UserInviteCountOrderByAggregateInput _max?: UserInviteMaxOrderByAggregateInput _min?: UserInviteMinOrderByAggregateInput } export type UserInviteScalarWhereWithAggregatesInput = { AND?: UserInviteScalarWhereWithAggregatesInput | UserInviteScalarWhereWithAggregatesInput[] OR?: UserInviteScalarWhereWithAggregatesInput[] NOT?: UserInviteScalarWhereWithAggregatesInput | UserInviteScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"UserInvite"> | string userId?: StringWithAggregatesFilter<"UserInvite"> | string tokenHash?: StringWithAggregatesFilter<"UserInvite"> | string expiresAt?: DateTimeWithAggregatesFilter<"UserInvite"> | Date | string createdAt?: DateTimeWithAggregatesFilter<"UserInvite"> | Date | string revokedAt?: DateTimeNullableWithAggregatesFilter<"UserInvite"> | Date | string | null } 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 password?: StringNullableFilter<"Account"> | string | null refresh_token?: StringNullableFilter<"Account"> | string | null access_token?: StringNullableFilter<"Account"> | string | null expires_at?: IntNullableFilter<"Account"> | number | null accessTokenExpiresAt?: DateTimeNullableFilter<"Account"> | Date | string | null refreshTokenExpiresAt?: DateTimeNullableFilter<"Account"> | Date | string | null token_type?: StringNullableFilter<"Account"> | string | null scope?: StringNullableFilter<"Account"> | string | null id_token?: StringNullableFilter<"Account"> | string | null session_state?: StringNullableFilter<"Account"> | string | null createdAt?: DateTimeFilter<"Account"> | Date | string updatedAt?: DateTimeFilter<"Account"> | Date | string user?: XOR } export type AccountOrderByWithRelationInput = { id?: SortOrder userId?: SortOrder type?: SortOrder provider?: SortOrder providerAccountId?: SortOrder password?: SortOrderInput | SortOrder refresh_token?: SortOrderInput | SortOrder access_token?: SortOrderInput | SortOrder expires_at?: SortOrderInput | SortOrder accessTokenExpiresAt?: SortOrderInput | SortOrder refreshTokenExpiresAt?: SortOrderInput | SortOrder token_type?: SortOrderInput | SortOrder scope?: SortOrderInput | SortOrder id_token?: SortOrderInput | SortOrder session_state?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: 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 password?: StringNullableFilter<"Account"> | string | null refresh_token?: StringNullableFilter<"Account"> | string | null access_token?: StringNullableFilter<"Account"> | string | null expires_at?: IntNullableFilter<"Account"> | number | null accessTokenExpiresAt?: DateTimeNullableFilter<"Account"> | Date | string | null refreshTokenExpiresAt?: DateTimeNullableFilter<"Account"> | Date | string | null token_type?: StringNullableFilter<"Account"> | string | null scope?: StringNullableFilter<"Account"> | string | null id_token?: StringNullableFilter<"Account"> | string | null session_state?: StringNullableFilter<"Account"> | string | null createdAt?: DateTimeFilter<"Account"> | Date | string updatedAt?: DateTimeFilter<"Account"> | Date | string user?: XOR }, "id" | "provider_providerAccountId"> export type AccountOrderByWithAggregationInput = { id?: SortOrder userId?: SortOrder type?: SortOrder provider?: SortOrder providerAccountId?: SortOrder password?: SortOrderInput | SortOrder refresh_token?: SortOrderInput | SortOrder access_token?: SortOrderInput | SortOrder expires_at?: SortOrderInput | SortOrder accessTokenExpiresAt?: SortOrderInput | SortOrder refreshTokenExpiresAt?: SortOrderInput | SortOrder token_type?: SortOrderInput | SortOrder scope?: SortOrderInput | SortOrder id_token?: SortOrderInput | SortOrder session_state?: SortOrderInput | SortOrder createdAt?: SortOrder updatedAt?: 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 password?: StringNullableWithAggregatesFilter<"Account"> | string | null refresh_token?: StringNullableWithAggregatesFilter<"Account"> | string | null access_token?: StringNullableWithAggregatesFilter<"Account"> | string | null expires_at?: IntNullableWithAggregatesFilter<"Account"> | number | null accessTokenExpiresAt?: DateTimeNullableWithAggregatesFilter<"Account"> | Date | string | null refreshTokenExpiresAt?: DateTimeNullableWithAggregatesFilter<"Account"> | Date | string | null token_type?: StringNullableWithAggregatesFilter<"Account"> | string | null scope?: StringNullableWithAggregatesFilter<"Account"> | string | null id_token?: StringNullableWithAggregatesFilter<"Account"> | string | null session_state?: StringNullableWithAggregatesFilter<"Account"> | string | null createdAt?: DateTimeWithAggregatesFilter<"Account"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Account"> | Date | string } 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 createdAt?: DateTimeFilter<"Session"> | Date | string updatedAt?: DateTimeFilter<"Session"> | Date | string ipAddress?: StringNullableFilter<"Session"> | string | null userAgent?: StringNullableFilter<"Session"> | string | null user?: XOR } export type SessionOrderByWithRelationInput = { id?: SortOrder sessionToken?: SortOrder userId?: SortOrder expires?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder ipAddress?: SortOrderInput | SortOrder userAgent?: SortOrderInput | 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 createdAt?: DateTimeFilter<"Session"> | Date | string updatedAt?: DateTimeFilter<"Session"> | Date | string ipAddress?: StringNullableFilter<"Session"> | string | null userAgent?: StringNullableFilter<"Session"> | string | null user?: XOR }, "id" | "sessionToken"> export type SessionOrderByWithAggregationInput = { id?: SortOrder sessionToken?: SortOrder userId?: SortOrder expires?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder ipAddress?: SortOrderInput | SortOrder userAgent?: SortOrderInput | 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 createdAt?: DateTimeWithAggregatesFilter<"Session"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Session"> | Date | string ipAddress?: StringNullableWithAggregatesFilter<"Session"> | string | null userAgent?: StringNullableWithAggregatesFilter<"Session"> | string | null } export type VerificationTokenWhereInput = { AND?: VerificationTokenWhereInput | VerificationTokenWhereInput[] OR?: VerificationTokenWhereInput[] NOT?: VerificationTokenWhereInput | VerificationTokenWhereInput[] id?: StringFilter<"VerificationToken"> | string identifier?: StringFilter<"VerificationToken"> | string token?: StringFilter<"VerificationToken"> | string expires?: DateTimeFilter<"VerificationToken"> | Date | string createdAt?: DateTimeFilter<"VerificationToken"> | Date | string updatedAt?: DateTimeFilter<"VerificationToken"> | Date | string } export type VerificationTokenOrderByWithRelationInput = { id?: SortOrder identifier?: SortOrder token?: SortOrder expires?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VerificationTokenWhereUniqueInput = Prisma.AtLeast<{ id?: string identifier_token?: VerificationTokenIdentifierTokenCompoundUniqueInput AND?: VerificationTokenWhereInput | VerificationTokenWhereInput[] OR?: VerificationTokenWhereInput[] NOT?: VerificationTokenWhereInput | VerificationTokenWhereInput[] identifier?: StringFilter<"VerificationToken"> | string token?: StringFilter<"VerificationToken"> | string expires?: DateTimeFilter<"VerificationToken"> | Date | string createdAt?: DateTimeFilter<"VerificationToken"> | Date | string updatedAt?: DateTimeFilter<"VerificationToken"> | Date | string }, "id" | "identifier_token"> export type VerificationTokenOrderByWithAggregationInput = { id?: SortOrder identifier?: SortOrder token?: SortOrder expires?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder _count?: VerificationTokenCountOrderByAggregateInput _max?: VerificationTokenMaxOrderByAggregateInput _min?: VerificationTokenMinOrderByAggregateInput } export type VerificationTokenScalarWhereWithAggregatesInput = { AND?: VerificationTokenScalarWhereWithAggregatesInput | VerificationTokenScalarWhereWithAggregatesInput[] OR?: VerificationTokenScalarWhereWithAggregatesInput[] NOT?: VerificationTokenScalarWhereWithAggregatesInput | VerificationTokenScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"VerificationToken"> | string identifier?: StringWithAggregatesFilter<"VerificationToken"> | string token?: StringWithAggregatesFilter<"VerificationToken"> | string expires?: DateTimeWithAggregatesFilter<"VerificationToken"> | Date | string createdAt?: DateTimeWithAggregatesFilter<"VerificationToken"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"VerificationToken"> | Date | string } export type WorkflowAuditLogWhereInput = { AND?: WorkflowAuditLogWhereInput | WorkflowAuditLogWhereInput[] OR?: WorkflowAuditLogWhereInput[] NOT?: WorkflowAuditLogWhereInput | WorkflowAuditLogWhereInput[] id?: StringFilter<"WorkflowAuditLog"> | string occurredAt?: DateTimeFilter<"WorkflowAuditLog"> | Date | string actorUserId?: StringNullableFilter<"WorkflowAuditLog"> | string | null actorSessionId?: StringNullableFilter<"WorkflowAuditLog"> | string | null action?: StringFilter<"WorkflowAuditLog"> | string resourceType?: StringFilter<"WorkflowAuditLog"> | string resourceId?: StringFilter<"WorkflowAuditLog"> | string outcome?: StringFilter<"WorkflowAuditLog"> | string errorCode?: StringNullableFilter<"WorkflowAuditLog"> | string | null correlationId?: StringNullableFilter<"WorkflowAuditLog"> | string | null workflowId?: StringFilter<"WorkflowAuditLog"> | string runId?: StringNullableFilter<"WorkflowAuditLog"> | string | null nodeId?: StringNullableFilter<"WorkflowAuditLog"> | string | null } export type WorkflowAuditLogOrderByWithRelationInput = { id?: SortOrder occurredAt?: SortOrder actorUserId?: SortOrderInput | SortOrder actorSessionId?: SortOrderInput | SortOrder action?: SortOrder resourceType?: SortOrder resourceId?: SortOrder outcome?: SortOrder errorCode?: SortOrderInput | SortOrder correlationId?: SortOrderInput | SortOrder workflowId?: SortOrder runId?: SortOrderInput | SortOrder nodeId?: SortOrderInput | SortOrder } export type WorkflowAuditLogWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: WorkflowAuditLogWhereInput | WorkflowAuditLogWhereInput[] OR?: WorkflowAuditLogWhereInput[] NOT?: WorkflowAuditLogWhereInput | WorkflowAuditLogWhereInput[] occurredAt?: DateTimeFilter<"WorkflowAuditLog"> | Date | string actorUserId?: StringNullableFilter<"WorkflowAuditLog"> | string | null actorSessionId?: StringNullableFilter<"WorkflowAuditLog"> | string | null action?: StringFilter<"WorkflowAuditLog"> | string resourceType?: StringFilter<"WorkflowAuditLog"> | string resourceId?: StringFilter<"WorkflowAuditLog"> | string outcome?: StringFilter<"WorkflowAuditLog"> | string errorCode?: StringNullableFilter<"WorkflowAuditLog"> | string | null correlationId?: StringNullableFilter<"WorkflowAuditLog"> | string | null workflowId?: StringFilter<"WorkflowAuditLog"> | string runId?: StringNullableFilter<"WorkflowAuditLog"> | string | null nodeId?: StringNullableFilter<"WorkflowAuditLog"> | string | null }, "id"> export type WorkflowAuditLogOrderByWithAggregationInput = { id?: SortOrder occurredAt?: SortOrder actorUserId?: SortOrderInput | SortOrder actorSessionId?: SortOrderInput | SortOrder action?: SortOrder resourceType?: SortOrder resourceId?: SortOrder outcome?: SortOrder errorCode?: SortOrderInput | SortOrder correlationId?: SortOrderInput | SortOrder workflowId?: SortOrder runId?: SortOrderInput | SortOrder nodeId?: SortOrderInput | SortOrder _count?: WorkflowAuditLogCountOrderByAggregateInput _max?: WorkflowAuditLogMaxOrderByAggregateInput _min?: WorkflowAuditLogMinOrderByAggregateInput } export type WorkflowAuditLogScalarWhereWithAggregatesInput = { AND?: WorkflowAuditLogScalarWhereWithAggregatesInput | WorkflowAuditLogScalarWhereWithAggregatesInput[] OR?: WorkflowAuditLogScalarWhereWithAggregatesInput[] NOT?: WorkflowAuditLogScalarWhereWithAggregatesInput | WorkflowAuditLogScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"WorkflowAuditLog"> | string occurredAt?: DateTimeWithAggregatesFilter<"WorkflowAuditLog"> | Date | string actorUserId?: StringNullableWithAggregatesFilter<"WorkflowAuditLog"> | string | null actorSessionId?: StringNullableWithAggregatesFilter<"WorkflowAuditLog"> | string | null action?: StringWithAggregatesFilter<"WorkflowAuditLog"> | string resourceType?: StringWithAggregatesFilter<"WorkflowAuditLog"> | string resourceId?: StringWithAggregatesFilter<"WorkflowAuditLog"> | string outcome?: StringWithAggregatesFilter<"WorkflowAuditLog"> | string errorCode?: StringNullableWithAggregatesFilter<"WorkflowAuditLog"> | string | null correlationId?: StringNullableWithAggregatesFilter<"WorkflowAuditLog"> | string | null workflowId?: StringWithAggregatesFilter<"WorkflowAuditLog"> | string runId?: StringNullableWithAggregatesFilter<"WorkflowAuditLog"> | string | null nodeId?: StringNullableWithAggregatesFilter<"WorkflowAuditLog"> | string | null } export type HmacNonceWhereInput = { AND?: HmacNonceWhereInput | HmacNonceWhereInput[] OR?: HmacNonceWhereInput[] NOT?: HmacNonceWhereInput | HmacNonceWhereInput[] nonce?: StringFilter<"HmacNonce"> | string expiresAt?: DateTimeFilter<"HmacNonce"> | Date | string } export type HmacNonceOrderByWithRelationInput = { nonce?: SortOrder expiresAt?: SortOrder } export type HmacNonceWhereUniqueInput = Prisma.AtLeast<{ nonce?: string AND?: HmacNonceWhereInput | HmacNonceWhereInput[] OR?: HmacNonceWhereInput[] NOT?: HmacNonceWhereInput | HmacNonceWhereInput[] expiresAt?: DateTimeFilter<"HmacNonce"> | Date | string }, "nonce"> export type HmacNonceOrderByWithAggregationInput = { nonce?: SortOrder expiresAt?: SortOrder _count?: HmacNonceCountOrderByAggregateInput _max?: HmacNonceMaxOrderByAggregateInput _min?: HmacNonceMinOrderByAggregateInput } export type HmacNonceScalarWhereWithAggregatesInput = { AND?: HmacNonceScalarWhereWithAggregatesInput | HmacNonceScalarWhereWithAggregatesInput[] OR?: HmacNonceScalarWhereWithAggregatesInput[] NOT?: HmacNonceScalarWhereWithAggregatesInput | HmacNonceScalarWhereWithAggregatesInput[] nonce?: StringWithAggregatesFilter<"HmacNonce"> | string expiresAt?: DateTimeWithAggregatesFilter<"HmacNonce"> | Date | string } export type HumanTaskWhereInput = { AND?: HumanTaskWhereInput | HumanTaskWhereInput[] OR?: HumanTaskWhereInput[] NOT?: HumanTaskWhereInput | HumanTaskWhereInput[] id?: StringFilter<"HumanTask"> | string runId?: StringFilter<"HumanTask"> | string workflowId?: StringFilter<"HumanTask"> | string workspaceId?: StringNullableFilter<"HumanTask"> | string | null nodeId?: StringFilter<"HumanTask"> | string activationId?: StringFilter<"HumanTask"> | string itemIndex?: IntFilter<"HumanTask"> | number status?: StringFilter<"HumanTask"> | string channel?: StringFilter<"HumanTask"> | string subjectJson?: StringFilter<"HumanTask"> | string metadataJson?: StringFilter<"HumanTask"> | string decisionSchemaJson?: StringFilter<"HumanTask"> | string decisionSchemaHash?: StringFilter<"HumanTask"> | string onTimeout?: StringFilter<"HumanTask"> | string deliveryRefJson?: StringNullableFilter<"HumanTask"> | string | null decisionJson?: StringNullableFilter<"HumanTask"> | string | null decidedAt?: DateTimeNullableFilter<"HumanTask"> | Date | string | null decidedByJson?: StringNullableFilter<"HumanTask"> | string | null resumeTokenHash?: StringFilter<"HumanTask"> | string expiresAt?: DateTimeFilter<"HumanTask"> | Date | string createdAt?: DateTimeFilter<"HumanTask"> | Date | string } export type HumanTaskOrderByWithRelationInput = { id?: SortOrder runId?: SortOrder workflowId?: SortOrder workspaceId?: SortOrderInput | SortOrder nodeId?: SortOrder activationId?: SortOrder itemIndex?: SortOrder status?: SortOrder channel?: SortOrder subjectJson?: SortOrder metadataJson?: SortOrder decisionSchemaJson?: SortOrder decisionSchemaHash?: SortOrder onTimeout?: SortOrder deliveryRefJson?: SortOrderInput | SortOrder decisionJson?: SortOrderInput | SortOrder decidedAt?: SortOrderInput | SortOrder decidedByJson?: SortOrderInput | SortOrder resumeTokenHash?: SortOrder expiresAt?: SortOrder createdAt?: SortOrder } export type HumanTaskWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: HumanTaskWhereInput | HumanTaskWhereInput[] OR?: HumanTaskWhereInput[] NOT?: HumanTaskWhereInput | HumanTaskWhereInput[] runId?: StringFilter<"HumanTask"> | string workflowId?: StringFilter<"HumanTask"> | string workspaceId?: StringNullableFilter<"HumanTask"> | string | null nodeId?: StringFilter<"HumanTask"> | string activationId?: StringFilter<"HumanTask"> | string itemIndex?: IntFilter<"HumanTask"> | number status?: StringFilter<"HumanTask"> | string channel?: StringFilter<"HumanTask"> | string subjectJson?: StringFilter<"HumanTask"> | string metadataJson?: StringFilter<"HumanTask"> | string decisionSchemaJson?: StringFilter<"HumanTask"> | string decisionSchemaHash?: StringFilter<"HumanTask"> | string onTimeout?: StringFilter<"HumanTask"> | string deliveryRefJson?: StringNullableFilter<"HumanTask"> | string | null decisionJson?: StringNullableFilter<"HumanTask"> | string | null decidedAt?: DateTimeNullableFilter<"HumanTask"> | Date | string | null decidedByJson?: StringNullableFilter<"HumanTask"> | string | null resumeTokenHash?: StringFilter<"HumanTask"> | string expiresAt?: DateTimeFilter<"HumanTask"> | Date | string createdAt?: DateTimeFilter<"HumanTask"> | Date | string }, "id"> export type HumanTaskOrderByWithAggregationInput = { id?: SortOrder runId?: SortOrder workflowId?: SortOrder workspaceId?: SortOrderInput | SortOrder nodeId?: SortOrder activationId?: SortOrder itemIndex?: SortOrder status?: SortOrder channel?: SortOrder subjectJson?: SortOrder metadataJson?: SortOrder decisionSchemaJson?: SortOrder decisionSchemaHash?: SortOrder onTimeout?: SortOrder deliveryRefJson?: SortOrderInput | SortOrder decisionJson?: SortOrderInput | SortOrder decidedAt?: SortOrderInput | SortOrder decidedByJson?: SortOrderInput | SortOrder resumeTokenHash?: SortOrder expiresAt?: SortOrder createdAt?: SortOrder _count?: HumanTaskCountOrderByAggregateInput _avg?: HumanTaskAvgOrderByAggregateInput _max?: HumanTaskMaxOrderByAggregateInput _min?: HumanTaskMinOrderByAggregateInput _sum?: HumanTaskSumOrderByAggregateInput } export type HumanTaskScalarWhereWithAggregatesInput = { AND?: HumanTaskScalarWhereWithAggregatesInput | HumanTaskScalarWhereWithAggregatesInput[] OR?: HumanTaskScalarWhereWithAggregatesInput[] NOT?: HumanTaskScalarWhereWithAggregatesInput | HumanTaskScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"HumanTask"> | string runId?: StringWithAggregatesFilter<"HumanTask"> | string workflowId?: StringWithAggregatesFilter<"HumanTask"> | string workspaceId?: StringNullableWithAggregatesFilter<"HumanTask"> | string | null nodeId?: StringWithAggregatesFilter<"HumanTask"> | string activationId?: StringWithAggregatesFilter<"HumanTask"> | string itemIndex?: IntWithAggregatesFilter<"HumanTask"> | number status?: StringWithAggregatesFilter<"HumanTask"> | string channel?: StringWithAggregatesFilter<"HumanTask"> | string subjectJson?: StringWithAggregatesFilter<"HumanTask"> | string metadataJson?: StringWithAggregatesFilter<"HumanTask"> | string decisionSchemaJson?: StringWithAggregatesFilter<"HumanTask"> | string decisionSchemaHash?: StringWithAggregatesFilter<"HumanTask"> | string onTimeout?: StringWithAggregatesFilter<"HumanTask"> | string deliveryRefJson?: StringNullableWithAggregatesFilter<"HumanTask"> | string | null decisionJson?: StringNullableWithAggregatesFilter<"HumanTask"> | string | null decidedAt?: DateTimeNullableWithAggregatesFilter<"HumanTask"> | Date | string | null decidedByJson?: StringNullableWithAggregatesFilter<"HumanTask"> | string | null resumeTokenHash?: StringWithAggregatesFilter<"HumanTask"> | string expiresAt?: DateTimeWithAggregatesFilter<"HumanTask"> | Date | string createdAt?: DateTimeWithAggregatesFilter<"HumanTask"> | Date | string } export type RunCreateInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null workItems?: RunWorkItemCreateNestedManyWithoutRunInput executionInstances?: ExecutionInstanceCreateNestedManyWithoutRunInput slotProjection?: RunSlotProjectionCreateNestedOneWithoutRunInput testSuiteRun?: TestSuiteRunCreateNestedOneWithoutRunsInput testAssertions?: TestAssertionCreateNestedManyWithoutRunInput workflowSnapshot?: WorkflowSnapshotCreateNestedOneWithoutRunsInput } export type RunUncheckedCreateInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null workflowSnapshotId?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testSuiteRunId?: string | null testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null workItems?: RunWorkItemUncheckedCreateNestedManyWithoutRunInput executionInstances?: ExecutionInstanceUncheckedCreateNestedManyWithoutRunInput slotProjection?: RunSlotProjectionUncheckedCreateNestedOneWithoutRunInput testAssertions?: TestAssertionUncheckedCreateNestedManyWithoutRunInput } export type RunUpdateInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null workItems?: RunWorkItemUpdateManyWithoutRunNestedInput executionInstances?: ExecutionInstanceUpdateManyWithoutRunNestedInput slotProjection?: RunSlotProjectionUpdateOneWithoutRunNestedInput testSuiteRun?: TestSuiteRunUpdateOneWithoutRunsNestedInput testAssertions?: TestAssertionUpdateManyWithoutRunNestedInput workflowSnapshot?: WorkflowSnapshotUpdateOneWithoutRunsNestedInput } export type RunUncheckedUpdateInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotId?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null workItems?: RunWorkItemUncheckedUpdateManyWithoutRunNestedInput executionInstances?: ExecutionInstanceUncheckedUpdateManyWithoutRunNestedInput slotProjection?: RunSlotProjectionUncheckedUpdateOneWithoutRunNestedInput testAssertions?: TestAssertionUncheckedUpdateManyWithoutRunNestedInput } export type RunCreateManyInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null workflowSnapshotId?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testSuiteRunId?: string | null testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null } export type RunUpdateManyMutationInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null } export type RunUncheckedUpdateManyInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotId?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null } export type RunWorkItemCreateInput = { workItemId: string workflowId: string status: string targetNodeId: string batchId: string queueName?: string | null claimToken?: string | null claimedBy?: string | null claimedAt?: string | null availableAt: string enqueuedAt: string completedAt?: string | null failedAt?: string | null sourceInstanceId?: string | null parentInstanceId?: string | null itemsIn: number inputsByPortJson: string errorJson?: string | null run: RunCreateNestedOneWithoutWorkItemsInput } export type RunWorkItemUncheckedCreateInput = { workItemId: string runId: string workflowId: string status: string targetNodeId: string batchId: string queueName?: string | null claimToken?: string | null claimedBy?: string | null claimedAt?: string | null availableAt: string enqueuedAt: string completedAt?: string | null failedAt?: string | null sourceInstanceId?: string | null parentInstanceId?: string | null itemsIn: number inputsByPortJson: string errorJson?: string | null } export type RunWorkItemUpdateInput = { workItemId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string targetNodeId?: StringFieldUpdateOperationsInput | string batchId?: StringFieldUpdateOperationsInput | string queueName?: NullableStringFieldUpdateOperationsInput | string | null claimToken?: NullableStringFieldUpdateOperationsInput | string | null claimedBy?: NullableStringFieldUpdateOperationsInput | string | null claimedAt?: NullableStringFieldUpdateOperationsInput | string | null availableAt?: StringFieldUpdateOperationsInput | string enqueuedAt?: StringFieldUpdateOperationsInput | string completedAt?: NullableStringFieldUpdateOperationsInput | string | null failedAt?: NullableStringFieldUpdateOperationsInput | string | null sourceInstanceId?: NullableStringFieldUpdateOperationsInput | string | null parentInstanceId?: NullableStringFieldUpdateOperationsInput | string | null itemsIn?: IntFieldUpdateOperationsInput | number inputsByPortJson?: StringFieldUpdateOperationsInput | string errorJson?: NullableStringFieldUpdateOperationsInput | string | null run?: RunUpdateOneRequiredWithoutWorkItemsNestedInput } export type RunWorkItemUncheckedUpdateInput = { workItemId?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string targetNodeId?: StringFieldUpdateOperationsInput | string batchId?: StringFieldUpdateOperationsInput | string queueName?: NullableStringFieldUpdateOperationsInput | string | null claimToken?: NullableStringFieldUpdateOperationsInput | string | null claimedBy?: NullableStringFieldUpdateOperationsInput | string | null claimedAt?: NullableStringFieldUpdateOperationsInput | string | null availableAt?: StringFieldUpdateOperationsInput | string enqueuedAt?: StringFieldUpdateOperationsInput | string completedAt?: NullableStringFieldUpdateOperationsInput | string | null failedAt?: NullableStringFieldUpdateOperationsInput | string | null sourceInstanceId?: NullableStringFieldUpdateOperationsInput | string | null parentInstanceId?: NullableStringFieldUpdateOperationsInput | string | null itemsIn?: IntFieldUpdateOperationsInput | number inputsByPortJson?: StringFieldUpdateOperationsInput | string errorJson?: NullableStringFieldUpdateOperationsInput | string | null } export type RunWorkItemCreateManyInput = { workItemId: string runId: string workflowId: string status: string targetNodeId: string batchId: string queueName?: string | null claimToken?: string | null claimedBy?: string | null claimedAt?: string | null availableAt: string enqueuedAt: string completedAt?: string | null failedAt?: string | null sourceInstanceId?: string | null parentInstanceId?: string | null itemsIn: number inputsByPortJson: string errorJson?: string | null } export type RunWorkItemUpdateManyMutationInput = { workItemId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string targetNodeId?: StringFieldUpdateOperationsInput | string batchId?: StringFieldUpdateOperationsInput | string queueName?: NullableStringFieldUpdateOperationsInput | string | null claimToken?: NullableStringFieldUpdateOperationsInput | string | null claimedBy?: NullableStringFieldUpdateOperationsInput | string | null claimedAt?: NullableStringFieldUpdateOperationsInput | string | null availableAt?: StringFieldUpdateOperationsInput | string enqueuedAt?: StringFieldUpdateOperationsInput | string completedAt?: NullableStringFieldUpdateOperationsInput | string | null failedAt?: NullableStringFieldUpdateOperationsInput | string | null sourceInstanceId?: NullableStringFieldUpdateOperationsInput | string | null parentInstanceId?: NullableStringFieldUpdateOperationsInput | string | null itemsIn?: IntFieldUpdateOperationsInput | number inputsByPortJson?: StringFieldUpdateOperationsInput | string errorJson?: NullableStringFieldUpdateOperationsInput | string | null } export type RunWorkItemUncheckedUpdateManyInput = { workItemId?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string targetNodeId?: StringFieldUpdateOperationsInput | string batchId?: StringFieldUpdateOperationsInput | string queueName?: NullableStringFieldUpdateOperationsInput | string | null claimToken?: NullableStringFieldUpdateOperationsInput | string | null claimedBy?: NullableStringFieldUpdateOperationsInput | string | null claimedAt?: NullableStringFieldUpdateOperationsInput | string | null availableAt?: StringFieldUpdateOperationsInput | string enqueuedAt?: StringFieldUpdateOperationsInput | string completedAt?: NullableStringFieldUpdateOperationsInput | string | null failedAt?: NullableStringFieldUpdateOperationsInput | string | null sourceInstanceId?: NullableStringFieldUpdateOperationsInput | string | null parentInstanceId?: NullableStringFieldUpdateOperationsInput | string | null itemsIn?: IntFieldUpdateOperationsInput | number inputsByPortJson?: StringFieldUpdateOperationsInput | string errorJson?: NullableStringFieldUpdateOperationsInput | string | null } export type ExecutionInstanceCreateInput = { instanceId: string workflowId: string slotNodeId: string workflowNodeId: string kind: string connectionKind?: string | null activationId?: string | null batchId: string runIndex: number parentInstanceId?: string | null parentRunId?: string | null workerClaimToken?: string | null status: string queuedAt?: string | null startedAt?: string | null finishedAt?: string | null updatedAt: string itemCount: number inputJson?: string | null outputJson?: string | null errorJson?: string | null inputItemIndicesJson?: string | null outputItemCount?: number | null successfulItemCount?: number | null failedItemCount?: number | null inputStorageKind?: string | null outputStorageKind?: string | null inputBytes?: number | null outputBytes?: number | null inputPreviewJson?: string | null outputPreviewJson?: string | null inputPayloadRef?: string | null outputPayloadRef?: string | null inputTruncated?: boolean | null outputTruncated?: boolean | null usedPinnedOutput?: boolean | null iterationId?: string | null itemIndex?: number | null parentInvocationId?: string | null childRunId?: string | null run: RunCreateNestedOneWithoutExecutionInstancesInput } export type ExecutionInstanceUncheckedCreateInput = { instanceId: string runId: string workflowId: string slotNodeId: string workflowNodeId: string kind: string connectionKind?: string | null activationId?: string | null batchId: string runIndex: number parentInstanceId?: string | null parentRunId?: string | null workerClaimToken?: string | null status: string queuedAt?: string | null startedAt?: string | null finishedAt?: string | null updatedAt: string itemCount: number inputJson?: string | null outputJson?: string | null errorJson?: string | null inputItemIndicesJson?: string | null outputItemCount?: number | null successfulItemCount?: number | null failedItemCount?: number | null inputStorageKind?: string | null outputStorageKind?: string | null inputBytes?: number | null outputBytes?: number | null inputPreviewJson?: string | null outputPreviewJson?: string | null inputPayloadRef?: string | null outputPayloadRef?: string | null inputTruncated?: boolean | null outputTruncated?: boolean | null usedPinnedOutput?: boolean | null iterationId?: string | null itemIndex?: number | null parentInvocationId?: string | null childRunId?: string | null } export type ExecutionInstanceUpdateInput = { instanceId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string slotNodeId?: StringFieldUpdateOperationsInput | string workflowNodeId?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string connectionKind?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null batchId?: StringFieldUpdateOperationsInput | string runIndex?: IntFieldUpdateOperationsInput | number parentInstanceId?: NullableStringFieldUpdateOperationsInput | string | null parentRunId?: NullableStringFieldUpdateOperationsInput | string | null workerClaimToken?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string queuedAt?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: NullableStringFieldUpdateOperationsInput | string | null finishedAt?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string itemCount?: IntFieldUpdateOperationsInput | number inputJson?: NullableStringFieldUpdateOperationsInput | string | null outputJson?: NullableStringFieldUpdateOperationsInput | string | null errorJson?: NullableStringFieldUpdateOperationsInput | string | null inputItemIndicesJson?: NullableStringFieldUpdateOperationsInput | string | null outputItemCount?: NullableIntFieldUpdateOperationsInput | number | null successfulItemCount?: NullableIntFieldUpdateOperationsInput | number | null failedItemCount?: NullableIntFieldUpdateOperationsInput | number | null inputStorageKind?: NullableStringFieldUpdateOperationsInput | string | null outputStorageKind?: NullableStringFieldUpdateOperationsInput | string | null inputBytes?: NullableIntFieldUpdateOperationsInput | number | null outputBytes?: NullableIntFieldUpdateOperationsInput | number | null inputPreviewJson?: NullableStringFieldUpdateOperationsInput | string | null outputPreviewJson?: NullableStringFieldUpdateOperationsInput | string | null inputPayloadRef?: NullableStringFieldUpdateOperationsInput | string | null outputPayloadRef?: NullableStringFieldUpdateOperationsInput | string | null inputTruncated?: NullableBoolFieldUpdateOperationsInput | boolean | null outputTruncated?: NullableBoolFieldUpdateOperationsInput | boolean | null usedPinnedOutput?: NullableBoolFieldUpdateOperationsInput | boolean | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null childRunId?: NullableStringFieldUpdateOperationsInput | string | null run?: RunUpdateOneRequiredWithoutExecutionInstancesNestedInput } export type ExecutionInstanceUncheckedUpdateInput = { instanceId?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string slotNodeId?: StringFieldUpdateOperationsInput | string workflowNodeId?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string connectionKind?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null batchId?: StringFieldUpdateOperationsInput | string runIndex?: IntFieldUpdateOperationsInput | number parentInstanceId?: NullableStringFieldUpdateOperationsInput | string | null parentRunId?: NullableStringFieldUpdateOperationsInput | string | null workerClaimToken?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string queuedAt?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: NullableStringFieldUpdateOperationsInput | string | null finishedAt?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string itemCount?: IntFieldUpdateOperationsInput | number inputJson?: NullableStringFieldUpdateOperationsInput | string | null outputJson?: NullableStringFieldUpdateOperationsInput | string | null errorJson?: NullableStringFieldUpdateOperationsInput | string | null inputItemIndicesJson?: NullableStringFieldUpdateOperationsInput | string | null outputItemCount?: NullableIntFieldUpdateOperationsInput | number | null successfulItemCount?: NullableIntFieldUpdateOperationsInput | number | null failedItemCount?: NullableIntFieldUpdateOperationsInput | number | null inputStorageKind?: NullableStringFieldUpdateOperationsInput | string | null outputStorageKind?: NullableStringFieldUpdateOperationsInput | string | null inputBytes?: NullableIntFieldUpdateOperationsInput | number | null outputBytes?: NullableIntFieldUpdateOperationsInput | number | null inputPreviewJson?: NullableStringFieldUpdateOperationsInput | string | null outputPreviewJson?: NullableStringFieldUpdateOperationsInput | string | null inputPayloadRef?: NullableStringFieldUpdateOperationsInput | string | null outputPayloadRef?: NullableStringFieldUpdateOperationsInput | string | null inputTruncated?: NullableBoolFieldUpdateOperationsInput | boolean | null outputTruncated?: NullableBoolFieldUpdateOperationsInput | boolean | null usedPinnedOutput?: NullableBoolFieldUpdateOperationsInput | boolean | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null childRunId?: NullableStringFieldUpdateOperationsInput | string | null } export type ExecutionInstanceCreateManyInput = { instanceId: string runId: string workflowId: string slotNodeId: string workflowNodeId: string kind: string connectionKind?: string | null activationId?: string | null batchId: string runIndex: number parentInstanceId?: string | null parentRunId?: string | null workerClaimToken?: string | null status: string queuedAt?: string | null startedAt?: string | null finishedAt?: string | null updatedAt: string itemCount: number inputJson?: string | null outputJson?: string | null errorJson?: string | null inputItemIndicesJson?: string | null outputItemCount?: number | null successfulItemCount?: number | null failedItemCount?: number | null inputStorageKind?: string | null outputStorageKind?: string | null inputBytes?: number | null outputBytes?: number | null inputPreviewJson?: string | null outputPreviewJson?: string | null inputPayloadRef?: string | null outputPayloadRef?: string | null inputTruncated?: boolean | null outputTruncated?: boolean | null usedPinnedOutput?: boolean | null iterationId?: string | null itemIndex?: number | null parentInvocationId?: string | null childRunId?: string | null } export type ExecutionInstanceUpdateManyMutationInput = { instanceId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string slotNodeId?: StringFieldUpdateOperationsInput | string workflowNodeId?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string connectionKind?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null batchId?: StringFieldUpdateOperationsInput | string runIndex?: IntFieldUpdateOperationsInput | number parentInstanceId?: NullableStringFieldUpdateOperationsInput | string | null parentRunId?: NullableStringFieldUpdateOperationsInput | string | null workerClaimToken?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string queuedAt?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: NullableStringFieldUpdateOperationsInput | string | null finishedAt?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string itemCount?: IntFieldUpdateOperationsInput | number inputJson?: NullableStringFieldUpdateOperationsInput | string | null outputJson?: NullableStringFieldUpdateOperationsInput | string | null errorJson?: NullableStringFieldUpdateOperationsInput | string | null inputItemIndicesJson?: NullableStringFieldUpdateOperationsInput | string | null outputItemCount?: NullableIntFieldUpdateOperationsInput | number | null successfulItemCount?: NullableIntFieldUpdateOperationsInput | number | null failedItemCount?: NullableIntFieldUpdateOperationsInput | number | null inputStorageKind?: NullableStringFieldUpdateOperationsInput | string | null outputStorageKind?: NullableStringFieldUpdateOperationsInput | string | null inputBytes?: NullableIntFieldUpdateOperationsInput | number | null outputBytes?: NullableIntFieldUpdateOperationsInput | number | null inputPreviewJson?: NullableStringFieldUpdateOperationsInput | string | null outputPreviewJson?: NullableStringFieldUpdateOperationsInput | string | null inputPayloadRef?: NullableStringFieldUpdateOperationsInput | string | null outputPayloadRef?: NullableStringFieldUpdateOperationsInput | string | null inputTruncated?: NullableBoolFieldUpdateOperationsInput | boolean | null outputTruncated?: NullableBoolFieldUpdateOperationsInput | boolean | null usedPinnedOutput?: NullableBoolFieldUpdateOperationsInput | boolean | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null childRunId?: NullableStringFieldUpdateOperationsInput | string | null } export type ExecutionInstanceUncheckedUpdateManyInput = { instanceId?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string slotNodeId?: StringFieldUpdateOperationsInput | string workflowNodeId?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string connectionKind?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null batchId?: StringFieldUpdateOperationsInput | string runIndex?: IntFieldUpdateOperationsInput | number parentInstanceId?: NullableStringFieldUpdateOperationsInput | string | null parentRunId?: NullableStringFieldUpdateOperationsInput | string | null workerClaimToken?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string queuedAt?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: NullableStringFieldUpdateOperationsInput | string | null finishedAt?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string itemCount?: IntFieldUpdateOperationsInput | number inputJson?: NullableStringFieldUpdateOperationsInput | string | null outputJson?: NullableStringFieldUpdateOperationsInput | string | null errorJson?: NullableStringFieldUpdateOperationsInput | string | null inputItemIndicesJson?: NullableStringFieldUpdateOperationsInput | string | null outputItemCount?: NullableIntFieldUpdateOperationsInput | number | null successfulItemCount?: NullableIntFieldUpdateOperationsInput | number | null failedItemCount?: NullableIntFieldUpdateOperationsInput | number | null inputStorageKind?: NullableStringFieldUpdateOperationsInput | string | null outputStorageKind?: NullableStringFieldUpdateOperationsInput | string | null inputBytes?: NullableIntFieldUpdateOperationsInput | number | null outputBytes?: NullableIntFieldUpdateOperationsInput | number | null inputPreviewJson?: NullableStringFieldUpdateOperationsInput | string | null outputPreviewJson?: NullableStringFieldUpdateOperationsInput | string | null inputPayloadRef?: NullableStringFieldUpdateOperationsInput | string | null outputPayloadRef?: NullableStringFieldUpdateOperationsInput | string | null inputTruncated?: NullableBoolFieldUpdateOperationsInput | boolean | null outputTruncated?: NullableBoolFieldUpdateOperationsInput | boolean | null usedPinnedOutput?: NullableBoolFieldUpdateOperationsInput | boolean | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null childRunId?: NullableStringFieldUpdateOperationsInput | string | null } export type RunSlotProjectionCreateInput = { workflowId: string revision: number updatedAt: string slotStatesJson: string run: RunCreateNestedOneWithoutSlotProjectionInput } export type RunSlotProjectionUncheckedCreateInput = { runId: string workflowId: string revision: number updatedAt: string slotStatesJson: string } export type RunSlotProjectionUpdateInput = { workflowId?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number updatedAt?: StringFieldUpdateOperationsInput | string slotStatesJson?: StringFieldUpdateOperationsInput | string run?: RunUpdateOneRequiredWithoutSlotProjectionNestedInput } export type RunSlotProjectionUncheckedUpdateInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number updatedAt?: StringFieldUpdateOperationsInput | string slotStatesJson?: StringFieldUpdateOperationsInput | string } export type RunSlotProjectionCreateManyInput = { runId: string workflowId: string revision: number updatedAt: string slotStatesJson: string } export type RunSlotProjectionUpdateManyMutationInput = { workflowId?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number updatedAt?: StringFieldUpdateOperationsInput | string slotStatesJson?: StringFieldUpdateOperationsInput | string } export type RunSlotProjectionUncheckedUpdateManyInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number updatedAt?: StringFieldUpdateOperationsInput | string slotStatesJson?: StringFieldUpdateOperationsInput | string } export type TestSuiteRunCreateInput = { id: string workflowId: string triggerNodeId: string triggerNodeName?: string | null status: string concurrency: number startedAt: string finishedAt?: string | null totalCases?: number passedCases?: number failedCases?: number nodeCoverageJson?: string | null errorMessage?: string | null updatedAt: string runs?: RunCreateNestedManyWithoutTestSuiteRunInput assertions?: TestAssertionCreateNestedManyWithoutTestSuiteRunInput } export type TestSuiteRunUncheckedCreateInput = { id: string workflowId: string triggerNodeId: string triggerNodeName?: string | null status: string concurrency: number startedAt: string finishedAt?: string | null totalCases?: number passedCases?: number failedCases?: number nodeCoverageJson?: string | null errorMessage?: string | null updatedAt: string runs?: RunUncheckedCreateNestedManyWithoutTestSuiteRunInput assertions?: TestAssertionUncheckedCreateNestedManyWithoutTestSuiteRunInput } export type TestSuiteRunUpdateInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string triggerNodeId?: StringFieldUpdateOperationsInput | string triggerNodeName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string concurrency?: IntFieldUpdateOperationsInput | number startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null totalCases?: IntFieldUpdateOperationsInput | number passedCases?: IntFieldUpdateOperationsInput | number failedCases?: IntFieldUpdateOperationsInput | number nodeCoverageJson?: NullableStringFieldUpdateOperationsInput | string | null errorMessage?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string runs?: RunUpdateManyWithoutTestSuiteRunNestedInput assertions?: TestAssertionUpdateManyWithoutTestSuiteRunNestedInput } export type TestSuiteRunUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string triggerNodeId?: StringFieldUpdateOperationsInput | string triggerNodeName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string concurrency?: IntFieldUpdateOperationsInput | number startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null totalCases?: IntFieldUpdateOperationsInput | number passedCases?: IntFieldUpdateOperationsInput | number failedCases?: IntFieldUpdateOperationsInput | number nodeCoverageJson?: NullableStringFieldUpdateOperationsInput | string | null errorMessage?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string runs?: RunUncheckedUpdateManyWithoutTestSuiteRunNestedInput assertions?: TestAssertionUncheckedUpdateManyWithoutTestSuiteRunNestedInput } export type TestSuiteRunCreateManyInput = { id: string workflowId: string triggerNodeId: string triggerNodeName?: string | null status: string concurrency: number startedAt: string finishedAt?: string | null totalCases?: number passedCases?: number failedCases?: number nodeCoverageJson?: string | null errorMessage?: string | null updatedAt: string } export type TestSuiteRunUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string triggerNodeId?: StringFieldUpdateOperationsInput | string triggerNodeName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string concurrency?: IntFieldUpdateOperationsInput | number startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null totalCases?: IntFieldUpdateOperationsInput | number passedCases?: IntFieldUpdateOperationsInput | number failedCases?: IntFieldUpdateOperationsInput | number nodeCoverageJson?: NullableStringFieldUpdateOperationsInput | string | null errorMessage?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string } export type TestSuiteRunUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string triggerNodeId?: StringFieldUpdateOperationsInput | string triggerNodeName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string concurrency?: IntFieldUpdateOperationsInput | number startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null totalCases?: IntFieldUpdateOperationsInput | number passedCases?: IntFieldUpdateOperationsInput | number failedCases?: IntFieldUpdateOperationsInput | number nodeCoverageJson?: NullableStringFieldUpdateOperationsInput | string | null errorMessage?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string } export type TestAssertionCreateInput = { id: string workflowId: string nodeId: string iterationId?: string | null itemIndex?: number | null name: string score: number passThreshold?: number | null errored?: boolean expectedJson?: string | null actualJson?: string | null message?: string | null detailsJson?: string | null createdAt: string run: RunCreateNestedOneWithoutTestAssertionsInput testSuiteRun: TestSuiteRunCreateNestedOneWithoutAssertionsInput } export type TestAssertionUncheckedCreateInput = { id: string runId: string testSuiteRunId: string workflowId: string nodeId: string iterationId?: string | null itemIndex?: number | null name: string score: number passThreshold?: number | null errored?: boolean expectedJson?: string | null actualJson?: string | null message?: string | null detailsJson?: string | null createdAt: string } export type TestAssertionUpdateInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null name?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number passThreshold?: NullableFloatFieldUpdateOperationsInput | number | null errored?: BoolFieldUpdateOperationsInput | boolean expectedJson?: NullableStringFieldUpdateOperationsInput | string | null actualJson?: NullableStringFieldUpdateOperationsInput | string | null message?: NullableStringFieldUpdateOperationsInput | string | null detailsJson?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: StringFieldUpdateOperationsInput | string run?: RunUpdateOneRequiredWithoutTestAssertionsNestedInput testSuiteRun?: TestSuiteRunUpdateOneRequiredWithoutAssertionsNestedInput } export type TestAssertionUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string testSuiteRunId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null name?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number passThreshold?: NullableFloatFieldUpdateOperationsInput | number | null errored?: BoolFieldUpdateOperationsInput | boolean expectedJson?: NullableStringFieldUpdateOperationsInput | string | null actualJson?: NullableStringFieldUpdateOperationsInput | string | null message?: NullableStringFieldUpdateOperationsInput | string | null detailsJson?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: StringFieldUpdateOperationsInput | string } export type TestAssertionCreateManyInput = { id: string runId: string testSuiteRunId: string workflowId: string nodeId: string iterationId?: string | null itemIndex?: number | null name: string score: number passThreshold?: number | null errored?: boolean expectedJson?: string | null actualJson?: string | null message?: string | null detailsJson?: string | null createdAt: string } export type TestAssertionUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null name?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number passThreshold?: NullableFloatFieldUpdateOperationsInput | number | null errored?: BoolFieldUpdateOperationsInput | boolean expectedJson?: NullableStringFieldUpdateOperationsInput | string | null actualJson?: NullableStringFieldUpdateOperationsInput | string | null message?: NullableStringFieldUpdateOperationsInput | string | null detailsJson?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: StringFieldUpdateOperationsInput | string } export type TestAssertionUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string testSuiteRunId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null name?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number passThreshold?: NullableFloatFieldUpdateOperationsInput | number | null errored?: BoolFieldUpdateOperationsInput | boolean expectedJson?: NullableStringFieldUpdateOperationsInput | string | null actualJson?: NullableStringFieldUpdateOperationsInput | string | null message?: NullableStringFieldUpdateOperationsInput | string | null detailsJson?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: StringFieldUpdateOperationsInput | string } export type WorkflowDebuggerOverlayCreateInput = { workflowId: string updatedAt: string copiedFromRunId?: string | null stateJson: string } export type WorkflowDebuggerOverlayUncheckedCreateInput = { workflowId: string updatedAt: string copiedFromRunId?: string | null stateJson: string } export type WorkflowDebuggerOverlayUpdateInput = { workflowId?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string copiedFromRunId?: NullableStringFieldUpdateOperationsInput | string | null stateJson?: StringFieldUpdateOperationsInput | string } export type WorkflowDebuggerOverlayUncheckedUpdateInput = { workflowId?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string copiedFromRunId?: NullableStringFieldUpdateOperationsInput | string | null stateJson?: StringFieldUpdateOperationsInput | string } export type WorkflowDebuggerOverlayCreateManyInput = { workflowId: string updatedAt: string copiedFromRunId?: string | null stateJson: string } export type WorkflowDebuggerOverlayUpdateManyMutationInput = { workflowId?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string copiedFromRunId?: NullableStringFieldUpdateOperationsInput | string | null stateJson?: StringFieldUpdateOperationsInput | string } export type WorkflowDebuggerOverlayUncheckedUpdateManyInput = { workflowId?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string copiedFromRunId?: NullableStringFieldUpdateOperationsInput | string | null stateJson?: StringFieldUpdateOperationsInput | string } export type WorkflowActivationCreateInput = { workflowId: string isActive?: boolean updatedAt: string } export type WorkflowActivationUncheckedCreateInput = { workflowId: string isActive?: boolean updatedAt: string } export type WorkflowActivationUpdateInput = { workflowId?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean updatedAt?: StringFieldUpdateOperationsInput | string } export type WorkflowActivationUncheckedUpdateInput = { workflowId?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean updatedAt?: StringFieldUpdateOperationsInput | string } export type WorkflowActivationCreateManyInput = { workflowId: string isActive?: boolean updatedAt: string } export type WorkflowActivationUpdateManyMutationInput = { workflowId?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean updatedAt?: StringFieldUpdateOperationsInput | string } export type WorkflowActivationUncheckedUpdateManyInput = { workflowId?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean updatedAt?: StringFieldUpdateOperationsInput | string } export type TriggerSetupStateCreateInput = { workflowId: string nodeId: string updatedAt: string stateJson: string } export type TriggerSetupStateUncheckedCreateInput = { workflowId: string nodeId: string updatedAt: string stateJson: string } export type TriggerSetupStateUpdateInput = { workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string stateJson?: StringFieldUpdateOperationsInput | string } export type TriggerSetupStateUncheckedUpdateInput = { workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string stateJson?: StringFieldUpdateOperationsInput | string } export type TriggerSetupStateCreateManyInput = { workflowId: string nodeId: string updatedAt: string stateJson: string } export type TriggerSetupStateUpdateManyMutationInput = { workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string stateJson?: StringFieldUpdateOperationsInput | string } export type TriggerSetupStateUncheckedUpdateManyInput = { workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string stateJson?: StringFieldUpdateOperationsInput | string } export type RunTraceContextCreateInput = { runId: string workflowId: string traceId: string rootSpanId: string serviceName?: string | null createdAt: string expiresAt?: string | null } export type RunTraceContextUncheckedCreateInput = { runId: string workflowId: string traceId: string rootSpanId: string serviceName?: string | null createdAt: string expiresAt?: string | null } export type RunTraceContextUpdateInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string rootSpanId?: StringFieldUpdateOperationsInput | string serviceName?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: StringFieldUpdateOperationsInput | string expiresAt?: NullableStringFieldUpdateOperationsInput | string | null } export type RunTraceContextUncheckedUpdateInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string rootSpanId?: StringFieldUpdateOperationsInput | string serviceName?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: StringFieldUpdateOperationsInput | string expiresAt?: NullableStringFieldUpdateOperationsInput | string | null } export type RunTraceContextCreateManyInput = { runId: string workflowId: string traceId: string rootSpanId: string serviceName?: string | null createdAt: string expiresAt?: string | null } export type RunTraceContextUpdateManyMutationInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string rootSpanId?: StringFieldUpdateOperationsInput | string serviceName?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: StringFieldUpdateOperationsInput | string expiresAt?: NullableStringFieldUpdateOperationsInput | string | null } export type RunTraceContextUncheckedUpdateManyInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string rootSpanId?: StringFieldUpdateOperationsInput | string serviceName?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: StringFieldUpdateOperationsInput | string expiresAt?: NullableStringFieldUpdateOperationsInput | string | null } export type TelemetrySpanCreateInput = { telemetrySpanId: string traceId: string spanId: string parentSpanId?: string | null runId: string workflowId: string nodeId?: string | null activationId?: string | null connectionInvocationId?: string | null name: string kind: string status?: string | null statusMessage?: string | null startTime?: string | null endTime?: string | null workflowFolder?: string | null nodeType?: string | null nodeRole?: string | null modelName?: string | null attributesJson?: string | null eventsJson?: string | null retentionExpiresAt?: string | null iterationId?: string | null itemIndex?: number | null parentInvocationId?: string | null updatedAt: string } export type TelemetrySpanUncheckedCreateInput = { telemetrySpanId: string traceId: string spanId: string parentSpanId?: string | null runId: string workflowId: string nodeId?: string | null activationId?: string | null connectionInvocationId?: string | null name: string kind: string status?: string | null statusMessage?: string | null startTime?: string | null endTime?: string | null workflowFolder?: string | null nodeType?: string | null nodeRole?: string | null modelName?: string | null attributesJson?: string | null eventsJson?: string | null retentionExpiresAt?: string | null iterationId?: string | null itemIndex?: number | null parentInvocationId?: string | null updatedAt: string } export type TelemetrySpanUpdateInput = { telemetrySpanId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string spanId?: StringFieldUpdateOperationsInput | string parentSpanId?: NullableStringFieldUpdateOperationsInput | string | null runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null connectionInvocationId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string status?: NullableStringFieldUpdateOperationsInput | string | null statusMessage?: NullableStringFieldUpdateOperationsInput | string | null startTime?: NullableStringFieldUpdateOperationsInput | string | null endTime?: NullableStringFieldUpdateOperationsInput | string | null workflowFolder?: NullableStringFieldUpdateOperationsInput | string | null nodeType?: NullableStringFieldUpdateOperationsInput | string | null nodeRole?: NullableStringFieldUpdateOperationsInput | string | null modelName?: NullableStringFieldUpdateOperationsInput | string | null attributesJson?: NullableStringFieldUpdateOperationsInput | string | null eventsJson?: NullableStringFieldUpdateOperationsInput | string | null retentionExpiresAt?: NullableStringFieldUpdateOperationsInput | string | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string } export type TelemetrySpanUncheckedUpdateInput = { telemetrySpanId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string spanId?: StringFieldUpdateOperationsInput | string parentSpanId?: NullableStringFieldUpdateOperationsInput | string | null runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null connectionInvocationId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string status?: NullableStringFieldUpdateOperationsInput | string | null statusMessage?: NullableStringFieldUpdateOperationsInput | string | null startTime?: NullableStringFieldUpdateOperationsInput | string | null endTime?: NullableStringFieldUpdateOperationsInput | string | null workflowFolder?: NullableStringFieldUpdateOperationsInput | string | null nodeType?: NullableStringFieldUpdateOperationsInput | string | null nodeRole?: NullableStringFieldUpdateOperationsInput | string | null modelName?: NullableStringFieldUpdateOperationsInput | string | null attributesJson?: NullableStringFieldUpdateOperationsInput | string | null eventsJson?: NullableStringFieldUpdateOperationsInput | string | null retentionExpiresAt?: NullableStringFieldUpdateOperationsInput | string | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string } export type TelemetrySpanCreateManyInput = { telemetrySpanId: string traceId: string spanId: string parentSpanId?: string | null runId: string workflowId: string nodeId?: string | null activationId?: string | null connectionInvocationId?: string | null name: string kind: string status?: string | null statusMessage?: string | null startTime?: string | null endTime?: string | null workflowFolder?: string | null nodeType?: string | null nodeRole?: string | null modelName?: string | null attributesJson?: string | null eventsJson?: string | null retentionExpiresAt?: string | null iterationId?: string | null itemIndex?: number | null parentInvocationId?: string | null updatedAt: string } export type TelemetrySpanUpdateManyMutationInput = { telemetrySpanId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string spanId?: StringFieldUpdateOperationsInput | string parentSpanId?: NullableStringFieldUpdateOperationsInput | string | null runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null connectionInvocationId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string status?: NullableStringFieldUpdateOperationsInput | string | null statusMessage?: NullableStringFieldUpdateOperationsInput | string | null startTime?: NullableStringFieldUpdateOperationsInput | string | null endTime?: NullableStringFieldUpdateOperationsInput | string | null workflowFolder?: NullableStringFieldUpdateOperationsInput | string | null nodeType?: NullableStringFieldUpdateOperationsInput | string | null nodeRole?: NullableStringFieldUpdateOperationsInput | string | null modelName?: NullableStringFieldUpdateOperationsInput | string | null attributesJson?: NullableStringFieldUpdateOperationsInput | string | null eventsJson?: NullableStringFieldUpdateOperationsInput | string | null retentionExpiresAt?: NullableStringFieldUpdateOperationsInput | string | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string } export type TelemetrySpanUncheckedUpdateManyInput = { telemetrySpanId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string spanId?: StringFieldUpdateOperationsInput | string parentSpanId?: NullableStringFieldUpdateOperationsInput | string | null runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null connectionInvocationId?: NullableStringFieldUpdateOperationsInput | string | null name?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string status?: NullableStringFieldUpdateOperationsInput | string | null statusMessage?: NullableStringFieldUpdateOperationsInput | string | null startTime?: NullableStringFieldUpdateOperationsInput | string | null endTime?: NullableStringFieldUpdateOperationsInput | string | null workflowFolder?: NullableStringFieldUpdateOperationsInput | string | null nodeType?: NullableStringFieldUpdateOperationsInput | string | null nodeRole?: NullableStringFieldUpdateOperationsInput | string | null modelName?: NullableStringFieldUpdateOperationsInput | string | null attributesJson?: NullableStringFieldUpdateOperationsInput | string | null eventsJson?: NullableStringFieldUpdateOperationsInput | string | null retentionExpiresAt?: NullableStringFieldUpdateOperationsInput | string | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string } export type WorkflowSnapshotCreateInput = { id: string workflowId: string snapshotHash: string snapshotJson: string createdAt: string runs?: RunCreateNestedManyWithoutWorkflowSnapshotInput } export type WorkflowSnapshotUncheckedCreateInput = { id: string workflowId: string snapshotHash: string snapshotJson: string createdAt: string runs?: RunUncheckedCreateNestedManyWithoutWorkflowSnapshotInput } export type WorkflowSnapshotUpdateInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string snapshotHash?: StringFieldUpdateOperationsInput | string snapshotJson?: StringFieldUpdateOperationsInput | string createdAt?: StringFieldUpdateOperationsInput | string runs?: RunUpdateManyWithoutWorkflowSnapshotNestedInput } export type WorkflowSnapshotUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string snapshotHash?: StringFieldUpdateOperationsInput | string snapshotJson?: StringFieldUpdateOperationsInput | string createdAt?: StringFieldUpdateOperationsInput | string runs?: RunUncheckedUpdateManyWithoutWorkflowSnapshotNestedInput } export type WorkflowSnapshotCreateManyInput = { id: string workflowId: string snapshotHash: string snapshotJson: string createdAt: string } export type WorkflowSnapshotUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string snapshotHash?: StringFieldUpdateOperationsInput | string snapshotJson?: StringFieldUpdateOperationsInput | string createdAt?: StringFieldUpdateOperationsInput | string } export type WorkflowSnapshotUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string snapshotHash?: StringFieldUpdateOperationsInput | string snapshotJson?: StringFieldUpdateOperationsInput | string createdAt?: StringFieldUpdateOperationsInput | string } export type TelemetryArtifactCreateInput = { artifactId: string traceId: string spanId: string runId: string workflowId: string nodeId?: string | null activationId?: string | null kind: string contentType: string previewText?: string | null previewJson?: string | null payloadText?: string | null payloadJson?: string | null payloadStorageKey?: string | null bytes?: number | null truncated?: boolean | null createdAt: string expiresAt?: string | null retentionExpiresAt?: string | null } export type TelemetryArtifactUncheckedCreateInput = { artifactId: string traceId: string spanId: string runId: string workflowId: string nodeId?: string | null activationId?: string | null kind: string contentType: string previewText?: string | null previewJson?: string | null payloadText?: string | null payloadJson?: string | null payloadStorageKey?: string | null bytes?: number | null truncated?: boolean | null createdAt: string expiresAt?: string | null retentionExpiresAt?: string | null } export type TelemetryArtifactUpdateInput = { artifactId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string spanId?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null kind?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string previewText?: NullableStringFieldUpdateOperationsInput | string | null previewJson?: NullableStringFieldUpdateOperationsInput | string | null payloadText?: NullableStringFieldUpdateOperationsInput | string | null payloadJson?: NullableStringFieldUpdateOperationsInput | string | null payloadStorageKey?: NullableStringFieldUpdateOperationsInput | string | null bytes?: NullableIntFieldUpdateOperationsInput | number | null truncated?: NullableBoolFieldUpdateOperationsInput | boolean | null createdAt?: StringFieldUpdateOperationsInput | string expiresAt?: NullableStringFieldUpdateOperationsInput | string | null retentionExpiresAt?: NullableStringFieldUpdateOperationsInput | string | null } export type TelemetryArtifactUncheckedUpdateInput = { artifactId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string spanId?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null kind?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string previewText?: NullableStringFieldUpdateOperationsInput | string | null previewJson?: NullableStringFieldUpdateOperationsInput | string | null payloadText?: NullableStringFieldUpdateOperationsInput | string | null payloadJson?: NullableStringFieldUpdateOperationsInput | string | null payloadStorageKey?: NullableStringFieldUpdateOperationsInput | string | null bytes?: NullableIntFieldUpdateOperationsInput | number | null truncated?: NullableBoolFieldUpdateOperationsInput | boolean | null createdAt?: StringFieldUpdateOperationsInput | string expiresAt?: NullableStringFieldUpdateOperationsInput | string | null retentionExpiresAt?: NullableStringFieldUpdateOperationsInput | string | null } export type TelemetryArtifactCreateManyInput = { artifactId: string traceId: string spanId: string runId: string workflowId: string nodeId?: string | null activationId?: string | null kind: string contentType: string previewText?: string | null previewJson?: string | null payloadText?: string | null payloadJson?: string | null payloadStorageKey?: string | null bytes?: number | null truncated?: boolean | null createdAt: string expiresAt?: string | null retentionExpiresAt?: string | null } export type TelemetryArtifactUpdateManyMutationInput = { artifactId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string spanId?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null kind?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string previewText?: NullableStringFieldUpdateOperationsInput | string | null previewJson?: NullableStringFieldUpdateOperationsInput | string | null payloadText?: NullableStringFieldUpdateOperationsInput | string | null payloadJson?: NullableStringFieldUpdateOperationsInput | string | null payloadStorageKey?: NullableStringFieldUpdateOperationsInput | string | null bytes?: NullableIntFieldUpdateOperationsInput | number | null truncated?: NullableBoolFieldUpdateOperationsInput | boolean | null createdAt?: StringFieldUpdateOperationsInput | string expiresAt?: NullableStringFieldUpdateOperationsInput | string | null retentionExpiresAt?: NullableStringFieldUpdateOperationsInput | string | null } export type TelemetryArtifactUncheckedUpdateManyInput = { artifactId?: StringFieldUpdateOperationsInput | string traceId?: StringFieldUpdateOperationsInput | string spanId?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null kind?: StringFieldUpdateOperationsInput | string contentType?: StringFieldUpdateOperationsInput | string previewText?: NullableStringFieldUpdateOperationsInput | string | null previewJson?: NullableStringFieldUpdateOperationsInput | string | null payloadText?: NullableStringFieldUpdateOperationsInput | string | null payloadJson?: NullableStringFieldUpdateOperationsInput | string | null payloadStorageKey?: NullableStringFieldUpdateOperationsInput | string | null bytes?: NullableIntFieldUpdateOperationsInput | number | null truncated?: NullableBoolFieldUpdateOperationsInput | boolean | null createdAt?: StringFieldUpdateOperationsInput | string expiresAt?: NullableStringFieldUpdateOperationsInput | string | null retentionExpiresAt?: NullableStringFieldUpdateOperationsInput | string | null } export type TelemetryMetricPointCreateInput = { metricPointId: string traceId?: string | null spanId?: string | null runId?: string | null workflowId: string nodeId?: string | null activationId?: string | null metricName: string value: number unit?: string | null observedAt: string workflowFolder?: string | null nodeType?: string | null nodeRole?: string | null modelName?: string | null dimensionsJson?: string | null retentionExpiresAt?: string | null iterationId?: string | null itemIndex?: number | null parentInvocationId?: string | null } export type TelemetryMetricPointUncheckedCreateInput = { metricPointId: string traceId?: string | null spanId?: string | null runId?: string | null workflowId: string nodeId?: string | null activationId?: string | null metricName: string value: number unit?: string | null observedAt: string workflowFolder?: string | null nodeType?: string | null nodeRole?: string | null modelName?: string | null dimensionsJson?: string | null retentionExpiresAt?: string | null iterationId?: string | null itemIndex?: number | null parentInvocationId?: string | null } export type TelemetryMetricPointUpdateInput = { metricPointId?: StringFieldUpdateOperationsInput | string traceId?: NullableStringFieldUpdateOperationsInput | string | null spanId?: NullableStringFieldUpdateOperationsInput | string | null runId?: NullableStringFieldUpdateOperationsInput | string | null workflowId?: StringFieldUpdateOperationsInput | string nodeId?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null metricName?: StringFieldUpdateOperationsInput | string value?: FloatFieldUpdateOperationsInput | number unit?: NullableStringFieldUpdateOperationsInput | string | null observedAt?: StringFieldUpdateOperationsInput | string workflowFolder?: NullableStringFieldUpdateOperationsInput | string | null nodeType?: NullableStringFieldUpdateOperationsInput | string | null nodeRole?: NullableStringFieldUpdateOperationsInput | string | null modelName?: NullableStringFieldUpdateOperationsInput | string | null dimensionsJson?: NullableStringFieldUpdateOperationsInput | string | null retentionExpiresAt?: NullableStringFieldUpdateOperationsInput | string | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null } export type TelemetryMetricPointUncheckedUpdateInput = { metricPointId?: StringFieldUpdateOperationsInput | string traceId?: NullableStringFieldUpdateOperationsInput | string | null spanId?: NullableStringFieldUpdateOperationsInput | string | null runId?: NullableStringFieldUpdateOperationsInput | string | null workflowId?: StringFieldUpdateOperationsInput | string nodeId?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null metricName?: StringFieldUpdateOperationsInput | string value?: FloatFieldUpdateOperationsInput | number unit?: NullableStringFieldUpdateOperationsInput | string | null observedAt?: StringFieldUpdateOperationsInput | string workflowFolder?: NullableStringFieldUpdateOperationsInput | string | null nodeType?: NullableStringFieldUpdateOperationsInput | string | null nodeRole?: NullableStringFieldUpdateOperationsInput | string | null modelName?: NullableStringFieldUpdateOperationsInput | string | null dimensionsJson?: NullableStringFieldUpdateOperationsInput | string | null retentionExpiresAt?: NullableStringFieldUpdateOperationsInput | string | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null } export type TelemetryMetricPointCreateManyInput = { metricPointId: string traceId?: string | null spanId?: string | null runId?: string | null workflowId: string nodeId?: string | null activationId?: string | null metricName: string value: number unit?: string | null observedAt: string workflowFolder?: string | null nodeType?: string | null nodeRole?: string | null modelName?: string | null dimensionsJson?: string | null retentionExpiresAt?: string | null iterationId?: string | null itemIndex?: number | null parentInvocationId?: string | null } export type TelemetryMetricPointUpdateManyMutationInput = { metricPointId?: StringFieldUpdateOperationsInput | string traceId?: NullableStringFieldUpdateOperationsInput | string | null spanId?: NullableStringFieldUpdateOperationsInput | string | null runId?: NullableStringFieldUpdateOperationsInput | string | null workflowId?: StringFieldUpdateOperationsInput | string nodeId?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null metricName?: StringFieldUpdateOperationsInput | string value?: FloatFieldUpdateOperationsInput | number unit?: NullableStringFieldUpdateOperationsInput | string | null observedAt?: StringFieldUpdateOperationsInput | string workflowFolder?: NullableStringFieldUpdateOperationsInput | string | null nodeType?: NullableStringFieldUpdateOperationsInput | string | null nodeRole?: NullableStringFieldUpdateOperationsInput | string | null modelName?: NullableStringFieldUpdateOperationsInput | string | null dimensionsJson?: NullableStringFieldUpdateOperationsInput | string | null retentionExpiresAt?: NullableStringFieldUpdateOperationsInput | string | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null } export type TelemetryMetricPointUncheckedUpdateManyInput = { metricPointId?: StringFieldUpdateOperationsInput | string traceId?: NullableStringFieldUpdateOperationsInput | string | null spanId?: NullableStringFieldUpdateOperationsInput | string | null runId?: NullableStringFieldUpdateOperationsInput | string | null workflowId?: StringFieldUpdateOperationsInput | string nodeId?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null metricName?: StringFieldUpdateOperationsInput | string value?: FloatFieldUpdateOperationsInput | number unit?: NullableStringFieldUpdateOperationsInput | string | null observedAt?: StringFieldUpdateOperationsInput | string workflowFolder?: NullableStringFieldUpdateOperationsInput | string | null nodeType?: NullableStringFieldUpdateOperationsInput | string | null nodeRole?: NullableStringFieldUpdateOperationsInput | string | null modelName?: NullableStringFieldUpdateOperationsInput | string | null dimensionsJson?: NullableStringFieldUpdateOperationsInput | string | null retentionExpiresAt?: NullableStringFieldUpdateOperationsInput | string | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null } export type CredentialInstanceCreateInput = { instanceId: string typeId: string displayName: string sourceKind: string publicConfigJson: string secretRefJson: string tagsJson: string setupStatus: string createdAt: string updatedAt: string materialSource?: string materialRef?: string } export type CredentialInstanceUncheckedCreateInput = { instanceId: string typeId: string displayName: string sourceKind: string publicConfigJson: string secretRefJson: string tagsJson: string setupStatus: string createdAt: string updatedAt: string materialSource?: string materialRef?: string } export type CredentialInstanceUpdateInput = { instanceId?: StringFieldUpdateOperationsInput | string typeId?: StringFieldUpdateOperationsInput | string displayName?: StringFieldUpdateOperationsInput | string sourceKind?: StringFieldUpdateOperationsInput | string publicConfigJson?: StringFieldUpdateOperationsInput | string secretRefJson?: StringFieldUpdateOperationsInput | string tagsJson?: StringFieldUpdateOperationsInput | string setupStatus?: StringFieldUpdateOperationsInput | string createdAt?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string materialSource?: StringFieldUpdateOperationsInput | string materialRef?: StringFieldUpdateOperationsInput | string } export type CredentialInstanceUncheckedUpdateInput = { instanceId?: StringFieldUpdateOperationsInput | string typeId?: StringFieldUpdateOperationsInput | string displayName?: StringFieldUpdateOperationsInput | string sourceKind?: StringFieldUpdateOperationsInput | string publicConfigJson?: StringFieldUpdateOperationsInput | string secretRefJson?: StringFieldUpdateOperationsInput | string tagsJson?: StringFieldUpdateOperationsInput | string setupStatus?: StringFieldUpdateOperationsInput | string createdAt?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string materialSource?: StringFieldUpdateOperationsInput | string materialRef?: StringFieldUpdateOperationsInput | string } export type CredentialInstanceCreateManyInput = { instanceId: string typeId: string displayName: string sourceKind: string publicConfigJson: string secretRefJson: string tagsJson: string setupStatus: string createdAt: string updatedAt: string materialSource?: string materialRef?: string } export type CredentialInstanceUpdateManyMutationInput = { instanceId?: StringFieldUpdateOperationsInput | string typeId?: StringFieldUpdateOperationsInput | string displayName?: StringFieldUpdateOperationsInput | string sourceKind?: StringFieldUpdateOperationsInput | string publicConfigJson?: StringFieldUpdateOperationsInput | string secretRefJson?: StringFieldUpdateOperationsInput | string tagsJson?: StringFieldUpdateOperationsInput | string setupStatus?: StringFieldUpdateOperationsInput | string createdAt?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string materialSource?: StringFieldUpdateOperationsInput | string materialRef?: StringFieldUpdateOperationsInput | string } export type CredentialInstanceUncheckedUpdateManyInput = { instanceId?: StringFieldUpdateOperationsInput | string typeId?: StringFieldUpdateOperationsInput | string displayName?: StringFieldUpdateOperationsInput | string sourceKind?: StringFieldUpdateOperationsInput | string publicConfigJson?: StringFieldUpdateOperationsInput | string secretRefJson?: StringFieldUpdateOperationsInput | string tagsJson?: StringFieldUpdateOperationsInput | string setupStatus?: StringFieldUpdateOperationsInput | string createdAt?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string materialSource?: StringFieldUpdateOperationsInput | string materialRef?: StringFieldUpdateOperationsInput | string } export type CredentialSecretMaterialCreateInput = { instanceId: string encryptedJson: string encryptionKeyId: string schemaVersion: number updatedAt: string } export type CredentialSecretMaterialUncheckedCreateInput = { instanceId: string encryptedJson: string encryptionKeyId: string schemaVersion: number updatedAt: string } export type CredentialSecretMaterialUpdateInput = { instanceId?: StringFieldUpdateOperationsInput | string encryptedJson?: StringFieldUpdateOperationsInput | string encryptionKeyId?: StringFieldUpdateOperationsInput | string schemaVersion?: IntFieldUpdateOperationsInput | number updatedAt?: StringFieldUpdateOperationsInput | string } export type CredentialSecretMaterialUncheckedUpdateInput = { instanceId?: StringFieldUpdateOperationsInput | string encryptedJson?: StringFieldUpdateOperationsInput | string encryptionKeyId?: StringFieldUpdateOperationsInput | string schemaVersion?: IntFieldUpdateOperationsInput | number updatedAt?: StringFieldUpdateOperationsInput | string } export type CredentialSecretMaterialCreateManyInput = { instanceId: string encryptedJson: string encryptionKeyId: string schemaVersion: number updatedAt: string } export type CredentialSecretMaterialUpdateManyMutationInput = { instanceId?: StringFieldUpdateOperationsInput | string encryptedJson?: StringFieldUpdateOperationsInput | string encryptionKeyId?: StringFieldUpdateOperationsInput | string schemaVersion?: IntFieldUpdateOperationsInput | number updatedAt?: StringFieldUpdateOperationsInput | string } export type CredentialSecretMaterialUncheckedUpdateManyInput = { instanceId?: StringFieldUpdateOperationsInput | string encryptedJson?: StringFieldUpdateOperationsInput | string encryptionKeyId?: StringFieldUpdateOperationsInput | string schemaVersion?: IntFieldUpdateOperationsInput | number updatedAt?: StringFieldUpdateOperationsInput | string } export type CredentialOAuth2MaterialCreateInput = { instanceId: string encryptedJson: string encryptionKeyId: string schemaVersion: number providerId: string connectedEmail?: string | null connectedAt?: string | null scopesJson: string updatedAt: string } export type CredentialOAuth2MaterialUncheckedCreateInput = { instanceId: string encryptedJson: string encryptionKeyId: string schemaVersion: number providerId: string connectedEmail?: string | null connectedAt?: string | null scopesJson: string updatedAt: string } export type CredentialOAuth2MaterialUpdateInput = { instanceId?: StringFieldUpdateOperationsInput | string encryptedJson?: StringFieldUpdateOperationsInput | string encryptionKeyId?: StringFieldUpdateOperationsInput | string schemaVersion?: IntFieldUpdateOperationsInput | number providerId?: StringFieldUpdateOperationsInput | string connectedEmail?: NullableStringFieldUpdateOperationsInput | string | null connectedAt?: NullableStringFieldUpdateOperationsInput | string | null scopesJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string } export type CredentialOAuth2MaterialUncheckedUpdateInput = { instanceId?: StringFieldUpdateOperationsInput | string encryptedJson?: StringFieldUpdateOperationsInput | string encryptionKeyId?: StringFieldUpdateOperationsInput | string schemaVersion?: IntFieldUpdateOperationsInput | number providerId?: StringFieldUpdateOperationsInput | string connectedEmail?: NullableStringFieldUpdateOperationsInput | string | null connectedAt?: NullableStringFieldUpdateOperationsInput | string | null scopesJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string } export type CredentialOAuth2MaterialCreateManyInput = { instanceId: string encryptedJson: string encryptionKeyId: string schemaVersion: number providerId: string connectedEmail?: string | null connectedAt?: string | null scopesJson: string updatedAt: string } export type CredentialOAuth2MaterialUpdateManyMutationInput = { instanceId?: StringFieldUpdateOperationsInput | string encryptedJson?: StringFieldUpdateOperationsInput | string encryptionKeyId?: StringFieldUpdateOperationsInput | string schemaVersion?: IntFieldUpdateOperationsInput | number providerId?: StringFieldUpdateOperationsInput | string connectedEmail?: NullableStringFieldUpdateOperationsInput | string | null connectedAt?: NullableStringFieldUpdateOperationsInput | string | null scopesJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string } export type CredentialOAuth2MaterialUncheckedUpdateManyInput = { instanceId?: StringFieldUpdateOperationsInput | string encryptedJson?: StringFieldUpdateOperationsInput | string encryptionKeyId?: StringFieldUpdateOperationsInput | string schemaVersion?: IntFieldUpdateOperationsInput | number providerId?: StringFieldUpdateOperationsInput | string connectedEmail?: NullableStringFieldUpdateOperationsInput | string | null connectedAt?: NullableStringFieldUpdateOperationsInput | string | null scopesJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string } export type CredentialOAuth2StateCreateInput = { state: string instanceId: string codeVerifier?: string | null providerId?: string | null requestedScopesJson: string createdAt: string expiresAt: string } export type CredentialOAuth2StateUncheckedCreateInput = { state: string instanceId: string codeVerifier?: string | null providerId?: string | null requestedScopesJson: string createdAt: string expiresAt: string } export type CredentialOAuth2StateUpdateInput = { state?: StringFieldUpdateOperationsInput | string instanceId?: StringFieldUpdateOperationsInput | string codeVerifier?: NullableStringFieldUpdateOperationsInput | string | null providerId?: NullableStringFieldUpdateOperationsInput | string | null requestedScopesJson?: StringFieldUpdateOperationsInput | string createdAt?: StringFieldUpdateOperationsInput | string expiresAt?: StringFieldUpdateOperationsInput | string } export type CredentialOAuth2StateUncheckedUpdateInput = { state?: StringFieldUpdateOperationsInput | string instanceId?: StringFieldUpdateOperationsInput | string codeVerifier?: NullableStringFieldUpdateOperationsInput | string | null providerId?: NullableStringFieldUpdateOperationsInput | string | null requestedScopesJson?: StringFieldUpdateOperationsInput | string createdAt?: StringFieldUpdateOperationsInput | string expiresAt?: StringFieldUpdateOperationsInput | string } export type CredentialOAuth2StateCreateManyInput = { state: string instanceId: string codeVerifier?: string | null providerId?: string | null requestedScopesJson: string createdAt: string expiresAt: string } export type CredentialOAuth2StateUpdateManyMutationInput = { state?: StringFieldUpdateOperationsInput | string instanceId?: StringFieldUpdateOperationsInput | string codeVerifier?: NullableStringFieldUpdateOperationsInput | string | null providerId?: NullableStringFieldUpdateOperationsInput | string | null requestedScopesJson?: StringFieldUpdateOperationsInput | string createdAt?: StringFieldUpdateOperationsInput | string expiresAt?: StringFieldUpdateOperationsInput | string } export type CredentialOAuth2StateUncheckedUpdateManyInput = { state?: StringFieldUpdateOperationsInput | string instanceId?: StringFieldUpdateOperationsInput | string codeVerifier?: NullableStringFieldUpdateOperationsInput | string | null providerId?: NullableStringFieldUpdateOperationsInput | string | null requestedScopesJson?: StringFieldUpdateOperationsInput | string createdAt?: StringFieldUpdateOperationsInput | string expiresAt?: StringFieldUpdateOperationsInput | string } export type CredentialBindingCreateInput = { workflowId: string nodeId: string slotKey: string instanceId: string updatedAt: string } export type CredentialBindingUncheckedCreateInput = { workflowId: string nodeId: string slotKey: string instanceId: string updatedAt: string } export type CredentialBindingUpdateInput = { workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string slotKey?: StringFieldUpdateOperationsInput | string instanceId?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string } export type CredentialBindingUncheckedUpdateInput = { workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string slotKey?: StringFieldUpdateOperationsInput | string instanceId?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string } export type CredentialBindingCreateManyInput = { workflowId: string nodeId: string slotKey: string instanceId: string updatedAt: string } export type CredentialBindingUpdateManyMutationInput = { workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string slotKey?: StringFieldUpdateOperationsInput | string instanceId?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string } export type CredentialBindingUncheckedUpdateManyInput = { workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string slotKey?: StringFieldUpdateOperationsInput | string instanceId?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string } export type CredentialTestResultCreateInput = { testId: string instanceId: string status: string message?: string | null detailsJson: string testedAt: string expiresAt?: string | null } export type CredentialTestResultUncheckedCreateInput = { testId: string instanceId: string status: string message?: string | null detailsJson: string testedAt: string expiresAt?: string | null } export type CredentialTestResultUpdateInput = { testId?: StringFieldUpdateOperationsInput | string instanceId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string message?: NullableStringFieldUpdateOperationsInput | string | null detailsJson?: StringFieldUpdateOperationsInput | string testedAt?: StringFieldUpdateOperationsInput | string expiresAt?: NullableStringFieldUpdateOperationsInput | string | null } export type CredentialTestResultUncheckedUpdateInput = { testId?: StringFieldUpdateOperationsInput | string instanceId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string message?: NullableStringFieldUpdateOperationsInput | string | null detailsJson?: StringFieldUpdateOperationsInput | string testedAt?: StringFieldUpdateOperationsInput | string expiresAt?: NullableStringFieldUpdateOperationsInput | string | null } export type CredentialTestResultCreateManyInput = { testId: string instanceId: string status: string message?: string | null detailsJson: string testedAt: string expiresAt?: string | null } export type CredentialTestResultUpdateManyMutationInput = { testId?: StringFieldUpdateOperationsInput | string instanceId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string message?: NullableStringFieldUpdateOperationsInput | string | null detailsJson?: StringFieldUpdateOperationsInput | string testedAt?: StringFieldUpdateOperationsInput | string expiresAt?: NullableStringFieldUpdateOperationsInput | string | null } export type CredentialTestResultUncheckedUpdateManyInput = { testId?: StringFieldUpdateOperationsInput | string instanceId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string message?: NullableStringFieldUpdateOperationsInput | string | null detailsJson?: StringFieldUpdateOperationsInput | string testedAt?: StringFieldUpdateOperationsInput | string expiresAt?: NullableStringFieldUpdateOperationsInput | string | null } export type UserCreateInput = { id?: string name?: string | null email?: string | null emailVerified?: boolean image?: string | null passwordHash?: string | null accountStatus?: string createdAt?: Date | string updatedAt?: Date | string accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput invites?: UserInviteCreateNestedManyWithoutUserInput } export type UserUncheckedCreateInput = { id?: string name?: string | null email?: string | null emailVerified?: boolean image?: string | null passwordHash?: string | null accountStatus?: string createdAt?: Date | string updatedAt?: Date | string accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput invites?: UserInviteUncheckedCreateNestedManyWithoutUserInput } export type UserUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: BoolFieldUpdateOperationsInput | boolean image?: NullableStringFieldUpdateOperationsInput | string | null passwordHash?: NullableStringFieldUpdateOperationsInput | string | null accountStatus?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput invites?: UserInviteUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: BoolFieldUpdateOperationsInput | boolean image?: NullableStringFieldUpdateOperationsInput | string | null passwordHash?: NullableStringFieldUpdateOperationsInput | string | null accountStatus?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput invites?: UserInviteUncheckedUpdateManyWithoutUserNestedInput } export type UserCreateManyInput = { id?: string name?: string | null email?: string | null emailVerified?: boolean image?: string | null passwordHash?: string | null accountStatus?: string createdAt?: Date | string updatedAt?: Date | string } export type UserUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: BoolFieldUpdateOperationsInput | boolean image?: NullableStringFieldUpdateOperationsInput | string | null passwordHash?: NullableStringFieldUpdateOperationsInput | string | null accountStatus?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type UserUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: BoolFieldUpdateOperationsInput | boolean image?: NullableStringFieldUpdateOperationsInput | string | null passwordHash?: NullableStringFieldUpdateOperationsInput | string | null accountStatus?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type UserInviteCreateInput = { id?: string tokenHash: string expiresAt: Date | string createdAt: Date | string revokedAt?: Date | string | null user: UserCreateNestedOneWithoutInvitesInput } export type UserInviteUncheckedCreateInput = { id?: string userId: string tokenHash: string expiresAt: Date | string createdAt: Date | string revokedAt?: Date | string | null } export type UserInviteUpdateInput = { id?: StringFieldUpdateOperationsInput | string tokenHash?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string revokedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null user?: UserUpdateOneRequiredWithoutInvitesNestedInput } export type UserInviteUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string tokenHash?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string revokedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type UserInviteCreateManyInput = { id?: string userId: string tokenHash: string expiresAt: Date | string createdAt: Date | string revokedAt?: Date | string | null } export type UserInviteUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string tokenHash?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string revokedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type UserInviteUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string tokenHash?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string revokedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type AccountCreateInput = { id?: string type?: string provider: string providerAccountId: string password?: string | null refresh_token?: string | null access_token?: string | null expires_at?: number | null accessTokenExpiresAt?: Date | string | null refreshTokenExpiresAt?: Date | string | null token_type?: string | null scope?: string | null id_token?: string | null session_state?: string | null createdAt?: Date | string updatedAt?: Date | string user: UserCreateNestedOneWithoutAccountsInput } export type AccountUncheckedCreateInput = { id?: string userId: string type?: string provider: string providerAccountId: string password?: string | null refresh_token?: string | null access_token?: string | null expires_at?: number | null accessTokenExpiresAt?: Date | string | null refreshTokenExpiresAt?: Date | string | null token_type?: string | null scope?: string | null id_token?: string | null session_state?: string | null createdAt?: Date | string updatedAt?: Date | string } export type AccountUpdateInput = { id?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string providerAccountId?: StringFieldUpdateOperationsInput | string password?: NullableStringFieldUpdateOperationsInput | string | null refresh_token?: NullableStringFieldUpdateOperationsInput | string | null access_token?: NullableStringFieldUpdateOperationsInput | string | null expires_at?: NullableIntFieldUpdateOperationsInput | number | null accessTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null refreshTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null token_type?: NullableStringFieldUpdateOperationsInput | string | null scope?: NullableStringFieldUpdateOperationsInput | string | null id_token?: NullableStringFieldUpdateOperationsInput | string | null session_state?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string user?: UserUpdateOneRequiredWithoutAccountsNestedInput } export type AccountUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string providerAccountId?: StringFieldUpdateOperationsInput | string password?: NullableStringFieldUpdateOperationsInput | string | null refresh_token?: NullableStringFieldUpdateOperationsInput | string | null access_token?: NullableStringFieldUpdateOperationsInput | string | null expires_at?: NullableIntFieldUpdateOperationsInput | number | null accessTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null refreshTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null token_type?: NullableStringFieldUpdateOperationsInput | string | null scope?: NullableStringFieldUpdateOperationsInput | string | null id_token?: NullableStringFieldUpdateOperationsInput | string | null session_state?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AccountCreateManyInput = { id?: string userId: string type?: string provider: string providerAccountId: string password?: string | null refresh_token?: string | null access_token?: string | null expires_at?: number | null accessTokenExpiresAt?: Date | string | null refreshTokenExpiresAt?: Date | string | null token_type?: string | null scope?: string | null id_token?: string | null session_state?: string | null createdAt?: Date | string updatedAt?: Date | string } export type AccountUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string providerAccountId?: StringFieldUpdateOperationsInput | string password?: NullableStringFieldUpdateOperationsInput | string | null refresh_token?: NullableStringFieldUpdateOperationsInput | string | null access_token?: NullableStringFieldUpdateOperationsInput | string | null expires_at?: NullableIntFieldUpdateOperationsInput | number | null accessTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null refreshTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null token_type?: NullableStringFieldUpdateOperationsInput | string | null scope?: NullableStringFieldUpdateOperationsInput | string | null id_token?: NullableStringFieldUpdateOperationsInput | string | null session_state?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AccountUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string providerAccountId?: StringFieldUpdateOperationsInput | string password?: NullableStringFieldUpdateOperationsInput | string | null refresh_token?: NullableStringFieldUpdateOperationsInput | string | null access_token?: NullableStringFieldUpdateOperationsInput | string | null expires_at?: NullableIntFieldUpdateOperationsInput | number | null accessTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null refreshTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null token_type?: NullableStringFieldUpdateOperationsInput | string | null scope?: NullableStringFieldUpdateOperationsInput | string | null id_token?: NullableStringFieldUpdateOperationsInput | string | null session_state?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SessionCreateInput = { id?: string sessionToken: string expires: Date | string createdAt?: Date | string updatedAt?: Date | string ipAddress?: string | null userAgent?: string | null user: UserCreateNestedOneWithoutSessionsInput } export type SessionUncheckedCreateInput = { id?: string sessionToken: string userId: string expires: Date | string createdAt?: Date | string updatedAt?: Date | string ipAddress?: string | null userAgent?: string | null } export type SessionUpdateInput = { id?: StringFieldUpdateOperationsInput | string sessionToken?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string ipAddress?: NullableStringFieldUpdateOperationsInput | string | null userAgent?: NullableStringFieldUpdateOperationsInput | string | null user?: UserUpdateOneRequiredWithoutSessionsNestedInput } export type SessionUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string sessionToken?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string ipAddress?: NullableStringFieldUpdateOperationsInput | string | null userAgent?: NullableStringFieldUpdateOperationsInput | string | null } export type SessionCreateManyInput = { id?: string sessionToken: string userId: string expires: Date | string createdAt?: Date | string updatedAt?: Date | string ipAddress?: string | null userAgent?: string | null } export type SessionUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string sessionToken?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string ipAddress?: NullableStringFieldUpdateOperationsInput | string | null userAgent?: NullableStringFieldUpdateOperationsInput | string | null } export type SessionUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string sessionToken?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string ipAddress?: NullableStringFieldUpdateOperationsInput | string | null userAgent?: NullableStringFieldUpdateOperationsInput | string | null } export type VerificationTokenCreateInput = { id?: string identifier: string token: string expires: Date | string createdAt?: Date | string updatedAt?: Date | string } export type VerificationTokenUncheckedCreateInput = { id?: string identifier: string token: string expires: Date | string createdAt?: Date | string updatedAt?: Date | string } export type VerificationTokenUpdateInput = { id?: StringFieldUpdateOperationsInput | string identifier?: StringFieldUpdateOperationsInput | string token?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VerificationTokenUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string identifier?: StringFieldUpdateOperationsInput | string token?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VerificationTokenCreateManyInput = { id?: string identifier: string token: string expires: Date | string createdAt?: Date | string updatedAt?: Date | string } export type VerificationTokenUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string identifier?: StringFieldUpdateOperationsInput | string token?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type VerificationTokenUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string identifier?: StringFieldUpdateOperationsInput | string token?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type WorkflowAuditLogCreateInput = { id: string occurredAt: Date | string actorUserId?: string | null actorSessionId?: string | null action: string resourceType: string resourceId: string outcome: string errorCode?: string | null correlationId?: string | null workflowId: string runId?: string | null nodeId?: string | null } export type WorkflowAuditLogUncheckedCreateInput = { id: string occurredAt: Date | string actorUserId?: string | null actorSessionId?: string | null action: string resourceType: string resourceId: string outcome: string errorCode?: string | null correlationId?: string | null workflowId: string runId?: string | null nodeId?: string | null } export type WorkflowAuditLogUpdateInput = { id?: StringFieldUpdateOperationsInput | string occurredAt?: DateTimeFieldUpdateOperationsInput | Date | string actorUserId?: NullableStringFieldUpdateOperationsInput | string | null actorSessionId?: NullableStringFieldUpdateOperationsInput | string | null action?: StringFieldUpdateOperationsInput | string resourceType?: StringFieldUpdateOperationsInput | string resourceId?: StringFieldUpdateOperationsInput | string outcome?: StringFieldUpdateOperationsInput | string errorCode?: NullableStringFieldUpdateOperationsInput | string | null correlationId?: NullableStringFieldUpdateOperationsInput | string | null workflowId?: StringFieldUpdateOperationsInput | string runId?: NullableStringFieldUpdateOperationsInput | string | null nodeId?: NullableStringFieldUpdateOperationsInput | string | null } export type WorkflowAuditLogUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string occurredAt?: DateTimeFieldUpdateOperationsInput | Date | string actorUserId?: NullableStringFieldUpdateOperationsInput | string | null actorSessionId?: NullableStringFieldUpdateOperationsInput | string | null action?: StringFieldUpdateOperationsInput | string resourceType?: StringFieldUpdateOperationsInput | string resourceId?: StringFieldUpdateOperationsInput | string outcome?: StringFieldUpdateOperationsInput | string errorCode?: NullableStringFieldUpdateOperationsInput | string | null correlationId?: NullableStringFieldUpdateOperationsInput | string | null workflowId?: StringFieldUpdateOperationsInput | string runId?: NullableStringFieldUpdateOperationsInput | string | null nodeId?: NullableStringFieldUpdateOperationsInput | string | null } export type WorkflowAuditLogCreateManyInput = { id: string occurredAt: Date | string actorUserId?: string | null actorSessionId?: string | null action: string resourceType: string resourceId: string outcome: string errorCode?: string | null correlationId?: string | null workflowId: string runId?: string | null nodeId?: string | null } export type WorkflowAuditLogUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string occurredAt?: DateTimeFieldUpdateOperationsInput | Date | string actorUserId?: NullableStringFieldUpdateOperationsInput | string | null actorSessionId?: NullableStringFieldUpdateOperationsInput | string | null action?: StringFieldUpdateOperationsInput | string resourceType?: StringFieldUpdateOperationsInput | string resourceId?: StringFieldUpdateOperationsInput | string outcome?: StringFieldUpdateOperationsInput | string errorCode?: NullableStringFieldUpdateOperationsInput | string | null correlationId?: NullableStringFieldUpdateOperationsInput | string | null workflowId?: StringFieldUpdateOperationsInput | string runId?: NullableStringFieldUpdateOperationsInput | string | null nodeId?: NullableStringFieldUpdateOperationsInput | string | null } export type WorkflowAuditLogUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string occurredAt?: DateTimeFieldUpdateOperationsInput | Date | string actorUserId?: NullableStringFieldUpdateOperationsInput | string | null actorSessionId?: NullableStringFieldUpdateOperationsInput | string | null action?: StringFieldUpdateOperationsInput | string resourceType?: StringFieldUpdateOperationsInput | string resourceId?: StringFieldUpdateOperationsInput | string outcome?: StringFieldUpdateOperationsInput | string errorCode?: NullableStringFieldUpdateOperationsInput | string | null correlationId?: NullableStringFieldUpdateOperationsInput | string | null workflowId?: StringFieldUpdateOperationsInput | string runId?: NullableStringFieldUpdateOperationsInput | string | null nodeId?: NullableStringFieldUpdateOperationsInput | string | null } export type HmacNonceCreateInput = { nonce: string expiresAt: Date | string } export type HmacNonceUncheckedCreateInput = { nonce: string expiresAt: Date | string } export type HmacNonceUpdateInput = { nonce?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type HmacNonceUncheckedUpdateInput = { nonce?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type HmacNonceCreateManyInput = { nonce: string expiresAt: Date | string } export type HmacNonceUpdateManyMutationInput = { nonce?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type HmacNonceUncheckedUpdateManyInput = { nonce?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type HumanTaskCreateInput = { id: string runId: string workflowId: string workspaceId?: string | null nodeId: string activationId: string itemIndex: number status: string channel: string subjectJson: string metadataJson: string decisionSchemaJson: string decisionSchemaHash: string onTimeout: string deliveryRefJson?: string | null decisionJson?: string | null decidedAt?: Date | string | null decidedByJson?: string | null resumeTokenHash: string expiresAt: Date | string createdAt?: Date | string } export type HumanTaskUncheckedCreateInput = { id: string runId: string workflowId: string workspaceId?: string | null nodeId: string activationId: string itemIndex: number status: string channel: string subjectJson: string metadataJson: string decisionSchemaJson: string decisionSchemaHash: string onTimeout: string deliveryRefJson?: string | null decisionJson?: string | null decidedAt?: Date | string | null decidedByJson?: string | null resumeTokenHash: string expiresAt: Date | string createdAt?: Date | string } export type HumanTaskUpdateInput = { id?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string workspaceId?: NullableStringFieldUpdateOperationsInput | string | null nodeId?: StringFieldUpdateOperationsInput | string activationId?: StringFieldUpdateOperationsInput | string itemIndex?: IntFieldUpdateOperationsInput | number status?: StringFieldUpdateOperationsInput | string channel?: StringFieldUpdateOperationsInput | string subjectJson?: StringFieldUpdateOperationsInput | string metadataJson?: StringFieldUpdateOperationsInput | string decisionSchemaJson?: StringFieldUpdateOperationsInput | string decisionSchemaHash?: StringFieldUpdateOperationsInput | string onTimeout?: StringFieldUpdateOperationsInput | string deliveryRefJson?: NullableStringFieldUpdateOperationsInput | string | null decisionJson?: NullableStringFieldUpdateOperationsInput | string | null decidedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null decidedByJson?: NullableStringFieldUpdateOperationsInput | string | null resumeTokenHash?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type HumanTaskUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string workspaceId?: NullableStringFieldUpdateOperationsInput | string | null nodeId?: StringFieldUpdateOperationsInput | string activationId?: StringFieldUpdateOperationsInput | string itemIndex?: IntFieldUpdateOperationsInput | number status?: StringFieldUpdateOperationsInput | string channel?: StringFieldUpdateOperationsInput | string subjectJson?: StringFieldUpdateOperationsInput | string metadataJson?: StringFieldUpdateOperationsInput | string decisionSchemaJson?: StringFieldUpdateOperationsInput | string decisionSchemaHash?: StringFieldUpdateOperationsInput | string onTimeout?: StringFieldUpdateOperationsInput | string deliveryRefJson?: NullableStringFieldUpdateOperationsInput | string | null decisionJson?: NullableStringFieldUpdateOperationsInput | string | null decidedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null decidedByJson?: NullableStringFieldUpdateOperationsInput | string | null resumeTokenHash?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type HumanTaskCreateManyInput = { id: string runId: string workflowId: string workspaceId?: string | null nodeId: string activationId: string itemIndex: number status: string channel: string subjectJson: string metadataJson: string decisionSchemaJson: string decisionSchemaHash: string onTimeout: string deliveryRefJson?: string | null decisionJson?: string | null decidedAt?: Date | string | null decidedByJson?: string | null resumeTokenHash: string expiresAt: Date | string createdAt?: Date | string } export type HumanTaskUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string workspaceId?: NullableStringFieldUpdateOperationsInput | string | null nodeId?: StringFieldUpdateOperationsInput | string activationId?: StringFieldUpdateOperationsInput | string itemIndex?: IntFieldUpdateOperationsInput | number status?: StringFieldUpdateOperationsInput | string channel?: StringFieldUpdateOperationsInput | string subjectJson?: StringFieldUpdateOperationsInput | string metadataJson?: StringFieldUpdateOperationsInput | string decisionSchemaJson?: StringFieldUpdateOperationsInput | string decisionSchemaHash?: StringFieldUpdateOperationsInput | string onTimeout?: StringFieldUpdateOperationsInput | string deliveryRefJson?: NullableStringFieldUpdateOperationsInput | string | null decisionJson?: NullableStringFieldUpdateOperationsInput | string | null decidedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null decidedByJson?: NullableStringFieldUpdateOperationsInput | string | null resumeTokenHash?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type HumanTaskUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string workspaceId?: NullableStringFieldUpdateOperationsInput | string | null nodeId?: StringFieldUpdateOperationsInput | string activationId?: StringFieldUpdateOperationsInput | string itemIndex?: IntFieldUpdateOperationsInput | number status?: StringFieldUpdateOperationsInput | string channel?: StringFieldUpdateOperationsInput | string subjectJson?: StringFieldUpdateOperationsInput | string metadataJson?: StringFieldUpdateOperationsInput | string decisionSchemaJson?: StringFieldUpdateOperationsInput | string decisionSchemaHash?: StringFieldUpdateOperationsInput | string onTimeout?: StringFieldUpdateOperationsInput | string deliveryRefJson?: NullableStringFieldUpdateOperationsInput | string | null decisionJson?: NullableStringFieldUpdateOperationsInput | string | null decidedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null decidedByJson?: NullableStringFieldUpdateOperationsInput | string | null resumeTokenHash?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type StringFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> in?: string[] | ListStringFieldRefInput<$PrismaModel> notIn?: string[] | ListStringFieldRefInput<$PrismaModel> lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode not?: NestedStringFilter<$PrismaModel> | string } export type StringNullableFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> | null in?: string[] | ListStringFieldRefInput<$PrismaModel> | null notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode not?: NestedStringNullableFilter<$PrismaModel> | string | null } 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 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 RunWorkItemListRelationFilter = { every?: RunWorkItemWhereInput some?: RunWorkItemWhereInput none?: RunWorkItemWhereInput } export type ExecutionInstanceListRelationFilter = { every?: ExecutionInstanceWhereInput some?: ExecutionInstanceWhereInput none?: ExecutionInstanceWhereInput } export type RunSlotProjectionNullableScalarRelationFilter = { is?: RunSlotProjectionWhereInput | null isNot?: RunSlotProjectionWhereInput | null } export type TestSuiteRunNullableScalarRelationFilter = { is?: TestSuiteRunWhereInput | null isNot?: TestSuiteRunWhereInput | null } export type TestAssertionListRelationFilter = { every?: TestAssertionWhereInput some?: TestAssertionWhereInput none?: TestAssertionWhereInput } export type WorkflowSnapshotNullableScalarRelationFilter = { is?: WorkflowSnapshotWhereInput | null isNot?: WorkflowSnapshotWhereInput | null } export type SortOrderInput = { sort: SortOrder nulls?: NullsOrder } export type RunWorkItemOrderByRelationAggregateInput = { _count?: SortOrder } export type ExecutionInstanceOrderByRelationAggregateInput = { _count?: SortOrder } export type TestAssertionOrderByRelationAggregateInput = { _count?: SortOrder } export type RunCountOrderByAggregateInput = { runId?: SortOrder workflowId?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder status?: SortOrder revision?: SortOrder parentJson?: SortOrder executionOptionsJson?: SortOrder controlJson?: SortOrder workflowSnapshotJson?: SortOrder workflowSnapshotId?: SortOrder policySnapshotJson?: SortOrder engineCountersJson?: SortOrder mutableStateJson?: SortOrder hitlStateJson?: SortOrder outputsByNodeJson?: SortOrder updatedAt?: SortOrder testSuiteRunId?: SortOrder testCaseIndex?: SortOrder testCaseLabel?: SortOrder testCaseStatus?: SortOrder } export type RunAvgOrderByAggregateInput = { revision?: SortOrder testCaseIndex?: SortOrder } export type RunMaxOrderByAggregateInput = { runId?: SortOrder workflowId?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder status?: SortOrder revision?: SortOrder parentJson?: SortOrder executionOptionsJson?: SortOrder controlJson?: SortOrder workflowSnapshotJson?: SortOrder workflowSnapshotId?: SortOrder policySnapshotJson?: SortOrder engineCountersJson?: SortOrder mutableStateJson?: SortOrder hitlStateJson?: SortOrder outputsByNodeJson?: SortOrder updatedAt?: SortOrder testSuiteRunId?: SortOrder testCaseIndex?: SortOrder testCaseLabel?: SortOrder testCaseStatus?: SortOrder } export type RunMinOrderByAggregateInput = { runId?: SortOrder workflowId?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder status?: SortOrder revision?: SortOrder parentJson?: SortOrder executionOptionsJson?: SortOrder controlJson?: SortOrder workflowSnapshotJson?: SortOrder workflowSnapshotId?: SortOrder policySnapshotJson?: SortOrder engineCountersJson?: SortOrder mutableStateJson?: SortOrder hitlStateJson?: SortOrder outputsByNodeJson?: SortOrder updatedAt?: SortOrder testSuiteRunId?: SortOrder testCaseIndex?: SortOrder testCaseLabel?: SortOrder testCaseStatus?: SortOrder } export type RunSumOrderByAggregateInput = { revision?: SortOrder testCaseIndex?: 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 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 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 RunScalarRelationFilter = { is?: RunWhereInput isNot?: RunWhereInput } export type RunWorkItemCountOrderByAggregateInput = { workItemId?: SortOrder runId?: SortOrder workflowId?: SortOrder status?: SortOrder targetNodeId?: SortOrder batchId?: SortOrder queueName?: SortOrder claimToken?: SortOrder claimedBy?: SortOrder claimedAt?: SortOrder availableAt?: SortOrder enqueuedAt?: SortOrder completedAt?: SortOrder failedAt?: SortOrder sourceInstanceId?: SortOrder parentInstanceId?: SortOrder itemsIn?: SortOrder inputsByPortJson?: SortOrder errorJson?: SortOrder } export type RunWorkItemAvgOrderByAggregateInput = { itemsIn?: SortOrder } export type RunWorkItemMaxOrderByAggregateInput = { workItemId?: SortOrder runId?: SortOrder workflowId?: SortOrder status?: SortOrder targetNodeId?: SortOrder batchId?: SortOrder queueName?: SortOrder claimToken?: SortOrder claimedBy?: SortOrder claimedAt?: SortOrder availableAt?: SortOrder enqueuedAt?: SortOrder completedAt?: SortOrder failedAt?: SortOrder sourceInstanceId?: SortOrder parentInstanceId?: SortOrder itemsIn?: SortOrder inputsByPortJson?: SortOrder errorJson?: SortOrder } export type RunWorkItemMinOrderByAggregateInput = { workItemId?: SortOrder runId?: SortOrder workflowId?: SortOrder status?: SortOrder targetNodeId?: SortOrder batchId?: SortOrder queueName?: SortOrder claimToken?: SortOrder claimedBy?: SortOrder claimedAt?: SortOrder availableAt?: SortOrder enqueuedAt?: SortOrder completedAt?: SortOrder failedAt?: SortOrder sourceInstanceId?: SortOrder parentInstanceId?: SortOrder itemsIn?: SortOrder inputsByPortJson?: SortOrder errorJson?: SortOrder } export type RunWorkItemSumOrderByAggregateInput = { itemsIn?: SortOrder } export type BoolNullableFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null not?: NestedBoolNullableFilter<$PrismaModel> | boolean | null } export type ExecutionInstanceRunIdSlotNodeIdRunIndexCompoundUniqueInput = { runId: string slotNodeId: string runIndex: number } export type ExecutionInstanceCountOrderByAggregateInput = { instanceId?: SortOrder runId?: SortOrder workflowId?: SortOrder slotNodeId?: SortOrder workflowNodeId?: SortOrder kind?: SortOrder connectionKind?: SortOrder activationId?: SortOrder batchId?: SortOrder runIndex?: SortOrder parentInstanceId?: SortOrder parentRunId?: SortOrder workerClaimToken?: SortOrder status?: SortOrder queuedAt?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder updatedAt?: SortOrder itemCount?: SortOrder inputJson?: SortOrder outputJson?: SortOrder errorJson?: SortOrder inputItemIndicesJson?: SortOrder outputItemCount?: SortOrder successfulItemCount?: SortOrder failedItemCount?: SortOrder inputStorageKind?: SortOrder outputStorageKind?: SortOrder inputBytes?: SortOrder outputBytes?: SortOrder inputPreviewJson?: SortOrder outputPreviewJson?: SortOrder inputPayloadRef?: SortOrder outputPayloadRef?: SortOrder inputTruncated?: SortOrder outputTruncated?: SortOrder usedPinnedOutput?: SortOrder iterationId?: SortOrder itemIndex?: SortOrder parentInvocationId?: SortOrder childRunId?: SortOrder } export type ExecutionInstanceAvgOrderByAggregateInput = { runIndex?: SortOrder itemCount?: SortOrder outputItemCount?: SortOrder successfulItemCount?: SortOrder failedItemCount?: SortOrder inputBytes?: SortOrder outputBytes?: SortOrder itemIndex?: SortOrder } export type ExecutionInstanceMaxOrderByAggregateInput = { instanceId?: SortOrder runId?: SortOrder workflowId?: SortOrder slotNodeId?: SortOrder workflowNodeId?: SortOrder kind?: SortOrder connectionKind?: SortOrder activationId?: SortOrder batchId?: SortOrder runIndex?: SortOrder parentInstanceId?: SortOrder parentRunId?: SortOrder workerClaimToken?: SortOrder status?: SortOrder queuedAt?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder updatedAt?: SortOrder itemCount?: SortOrder inputJson?: SortOrder outputJson?: SortOrder errorJson?: SortOrder inputItemIndicesJson?: SortOrder outputItemCount?: SortOrder successfulItemCount?: SortOrder failedItemCount?: SortOrder inputStorageKind?: SortOrder outputStorageKind?: SortOrder inputBytes?: SortOrder outputBytes?: SortOrder inputPreviewJson?: SortOrder outputPreviewJson?: SortOrder inputPayloadRef?: SortOrder outputPayloadRef?: SortOrder inputTruncated?: SortOrder outputTruncated?: SortOrder usedPinnedOutput?: SortOrder iterationId?: SortOrder itemIndex?: SortOrder parentInvocationId?: SortOrder childRunId?: SortOrder } export type ExecutionInstanceMinOrderByAggregateInput = { instanceId?: SortOrder runId?: SortOrder workflowId?: SortOrder slotNodeId?: SortOrder workflowNodeId?: SortOrder kind?: SortOrder connectionKind?: SortOrder activationId?: SortOrder batchId?: SortOrder runIndex?: SortOrder parentInstanceId?: SortOrder parentRunId?: SortOrder workerClaimToken?: SortOrder status?: SortOrder queuedAt?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder updatedAt?: SortOrder itemCount?: SortOrder inputJson?: SortOrder outputJson?: SortOrder errorJson?: SortOrder inputItemIndicesJson?: SortOrder outputItemCount?: SortOrder successfulItemCount?: SortOrder failedItemCount?: SortOrder inputStorageKind?: SortOrder outputStorageKind?: SortOrder inputBytes?: SortOrder outputBytes?: SortOrder inputPreviewJson?: SortOrder outputPreviewJson?: SortOrder inputPayloadRef?: SortOrder outputPayloadRef?: SortOrder inputTruncated?: SortOrder outputTruncated?: SortOrder usedPinnedOutput?: SortOrder iterationId?: SortOrder itemIndex?: SortOrder parentInvocationId?: SortOrder childRunId?: SortOrder } export type ExecutionInstanceSumOrderByAggregateInput = { runIndex?: SortOrder itemCount?: SortOrder outputItemCount?: SortOrder successfulItemCount?: SortOrder failedItemCount?: SortOrder inputBytes?: SortOrder outputBytes?: SortOrder itemIndex?: 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 RunSlotProjectionCountOrderByAggregateInput = { runId?: SortOrder workflowId?: SortOrder revision?: SortOrder updatedAt?: SortOrder slotStatesJson?: SortOrder } export type RunSlotProjectionAvgOrderByAggregateInput = { revision?: SortOrder } export type RunSlotProjectionMaxOrderByAggregateInput = { runId?: SortOrder workflowId?: SortOrder revision?: SortOrder updatedAt?: SortOrder slotStatesJson?: SortOrder } export type RunSlotProjectionMinOrderByAggregateInput = { runId?: SortOrder workflowId?: SortOrder revision?: SortOrder updatedAt?: SortOrder slotStatesJson?: SortOrder } export type RunSlotProjectionSumOrderByAggregateInput = { revision?: SortOrder } export type RunListRelationFilter = { every?: RunWhereInput some?: RunWhereInput none?: RunWhereInput } export type RunOrderByRelationAggregateInput = { _count?: SortOrder } export type TestSuiteRunCountOrderByAggregateInput = { id?: SortOrder workflowId?: SortOrder triggerNodeId?: SortOrder triggerNodeName?: SortOrder status?: SortOrder concurrency?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder totalCases?: SortOrder passedCases?: SortOrder failedCases?: SortOrder nodeCoverageJson?: SortOrder errorMessage?: SortOrder updatedAt?: SortOrder } export type TestSuiteRunAvgOrderByAggregateInput = { concurrency?: SortOrder totalCases?: SortOrder passedCases?: SortOrder failedCases?: SortOrder } export type TestSuiteRunMaxOrderByAggregateInput = { id?: SortOrder workflowId?: SortOrder triggerNodeId?: SortOrder triggerNodeName?: SortOrder status?: SortOrder concurrency?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder totalCases?: SortOrder passedCases?: SortOrder failedCases?: SortOrder nodeCoverageJson?: SortOrder errorMessage?: SortOrder updatedAt?: SortOrder } export type TestSuiteRunMinOrderByAggregateInput = { id?: SortOrder workflowId?: SortOrder triggerNodeId?: SortOrder triggerNodeName?: SortOrder status?: SortOrder concurrency?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder totalCases?: SortOrder passedCases?: SortOrder failedCases?: SortOrder nodeCoverageJson?: SortOrder errorMessage?: SortOrder updatedAt?: SortOrder } export type TestSuiteRunSumOrderByAggregateInput = { concurrency?: SortOrder totalCases?: SortOrder passedCases?: SortOrder failedCases?: SortOrder } export type FloatFilter<$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 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 BoolFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolFilter<$PrismaModel> | boolean } export type TestSuiteRunScalarRelationFilter = { is?: TestSuiteRunWhereInput isNot?: TestSuiteRunWhereInput } export type TestAssertionCountOrderByAggregateInput = { id?: SortOrder runId?: SortOrder testSuiteRunId?: SortOrder workflowId?: SortOrder nodeId?: SortOrder iterationId?: SortOrder itemIndex?: SortOrder name?: SortOrder score?: SortOrder passThreshold?: SortOrder errored?: SortOrder expectedJson?: SortOrder actualJson?: SortOrder message?: SortOrder detailsJson?: SortOrder createdAt?: SortOrder } export type TestAssertionAvgOrderByAggregateInput = { itemIndex?: SortOrder score?: SortOrder passThreshold?: SortOrder } export type TestAssertionMaxOrderByAggregateInput = { id?: SortOrder runId?: SortOrder testSuiteRunId?: SortOrder workflowId?: SortOrder nodeId?: SortOrder iterationId?: SortOrder itemIndex?: SortOrder name?: SortOrder score?: SortOrder passThreshold?: SortOrder errored?: SortOrder expectedJson?: SortOrder actualJson?: SortOrder message?: SortOrder detailsJson?: SortOrder createdAt?: SortOrder } export type TestAssertionMinOrderByAggregateInput = { id?: SortOrder runId?: SortOrder testSuiteRunId?: SortOrder workflowId?: SortOrder nodeId?: SortOrder iterationId?: SortOrder itemIndex?: SortOrder name?: SortOrder score?: SortOrder passThreshold?: SortOrder errored?: SortOrder expectedJson?: SortOrder actualJson?: SortOrder message?: SortOrder detailsJson?: SortOrder createdAt?: SortOrder } export type TestAssertionSumOrderByAggregateInput = { itemIndex?: SortOrder score?: SortOrder passThreshold?: SortOrder } export type FloatWithAggregatesFilter<$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?: NestedFloatWithAggregatesFilter<$PrismaModel> | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedFloatFilter<$PrismaModel> _min?: NestedFloatFilter<$PrismaModel> _max?: NestedFloatFilter<$PrismaModel> } 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 BoolWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean _count?: NestedIntFilter<$PrismaModel> _min?: NestedBoolFilter<$PrismaModel> _max?: NestedBoolFilter<$PrismaModel> } export type WorkflowDebuggerOverlayCountOrderByAggregateInput = { workflowId?: SortOrder updatedAt?: SortOrder copiedFromRunId?: SortOrder stateJson?: SortOrder } export type WorkflowDebuggerOverlayMaxOrderByAggregateInput = { workflowId?: SortOrder updatedAt?: SortOrder copiedFromRunId?: SortOrder stateJson?: SortOrder } export type WorkflowDebuggerOverlayMinOrderByAggregateInput = { workflowId?: SortOrder updatedAt?: SortOrder copiedFromRunId?: SortOrder stateJson?: SortOrder } export type WorkflowActivationCountOrderByAggregateInput = { workflowId?: SortOrder isActive?: SortOrder updatedAt?: SortOrder } export type WorkflowActivationMaxOrderByAggregateInput = { workflowId?: SortOrder isActive?: SortOrder updatedAt?: SortOrder } export type WorkflowActivationMinOrderByAggregateInput = { workflowId?: SortOrder isActive?: SortOrder updatedAt?: SortOrder } export type TriggerSetupStateWorkflowIdNodeIdCompoundUniqueInput = { workflowId: string nodeId: string } export type TriggerSetupStateCountOrderByAggregateInput = { workflowId?: SortOrder nodeId?: SortOrder updatedAt?: SortOrder stateJson?: SortOrder } export type TriggerSetupStateMaxOrderByAggregateInput = { workflowId?: SortOrder nodeId?: SortOrder updatedAt?: SortOrder stateJson?: SortOrder } export type TriggerSetupStateMinOrderByAggregateInput = { workflowId?: SortOrder nodeId?: SortOrder updatedAt?: SortOrder stateJson?: SortOrder } export type RunTraceContextCountOrderByAggregateInput = { runId?: SortOrder workflowId?: SortOrder traceId?: SortOrder rootSpanId?: SortOrder serviceName?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder } export type RunTraceContextMaxOrderByAggregateInput = { runId?: SortOrder workflowId?: SortOrder traceId?: SortOrder rootSpanId?: SortOrder serviceName?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder } export type RunTraceContextMinOrderByAggregateInput = { runId?: SortOrder workflowId?: SortOrder traceId?: SortOrder rootSpanId?: SortOrder serviceName?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder } export type TelemetrySpanTraceIdSpanIdCompoundUniqueInput = { traceId: string spanId: string } export type TelemetrySpanCountOrderByAggregateInput = { telemetrySpanId?: SortOrder traceId?: SortOrder spanId?: SortOrder parentSpanId?: SortOrder runId?: SortOrder workflowId?: SortOrder nodeId?: SortOrder activationId?: SortOrder connectionInvocationId?: SortOrder name?: SortOrder kind?: SortOrder status?: SortOrder statusMessage?: SortOrder startTime?: SortOrder endTime?: SortOrder workflowFolder?: SortOrder nodeType?: SortOrder nodeRole?: SortOrder modelName?: SortOrder attributesJson?: SortOrder eventsJson?: SortOrder retentionExpiresAt?: SortOrder iterationId?: SortOrder itemIndex?: SortOrder parentInvocationId?: SortOrder updatedAt?: SortOrder } export type TelemetrySpanAvgOrderByAggregateInput = { itemIndex?: SortOrder } export type TelemetrySpanMaxOrderByAggregateInput = { telemetrySpanId?: SortOrder traceId?: SortOrder spanId?: SortOrder parentSpanId?: SortOrder runId?: SortOrder workflowId?: SortOrder nodeId?: SortOrder activationId?: SortOrder connectionInvocationId?: SortOrder name?: SortOrder kind?: SortOrder status?: SortOrder statusMessage?: SortOrder startTime?: SortOrder endTime?: SortOrder workflowFolder?: SortOrder nodeType?: SortOrder nodeRole?: SortOrder modelName?: SortOrder attributesJson?: SortOrder eventsJson?: SortOrder retentionExpiresAt?: SortOrder iterationId?: SortOrder itemIndex?: SortOrder parentInvocationId?: SortOrder updatedAt?: SortOrder } export type TelemetrySpanMinOrderByAggregateInput = { telemetrySpanId?: SortOrder traceId?: SortOrder spanId?: SortOrder parentSpanId?: SortOrder runId?: SortOrder workflowId?: SortOrder nodeId?: SortOrder activationId?: SortOrder connectionInvocationId?: SortOrder name?: SortOrder kind?: SortOrder status?: SortOrder statusMessage?: SortOrder startTime?: SortOrder endTime?: SortOrder workflowFolder?: SortOrder nodeType?: SortOrder nodeRole?: SortOrder modelName?: SortOrder attributesJson?: SortOrder eventsJson?: SortOrder retentionExpiresAt?: SortOrder iterationId?: SortOrder itemIndex?: SortOrder parentInvocationId?: SortOrder updatedAt?: SortOrder } export type TelemetrySpanSumOrderByAggregateInput = { itemIndex?: SortOrder } export type WorkflowSnapshotWorkflowIdSnapshotHashCompoundUniqueInput = { workflowId: string snapshotHash: string } export type WorkflowSnapshotCountOrderByAggregateInput = { id?: SortOrder workflowId?: SortOrder snapshotHash?: SortOrder snapshotJson?: SortOrder createdAt?: SortOrder } export type WorkflowSnapshotMaxOrderByAggregateInput = { id?: SortOrder workflowId?: SortOrder snapshotHash?: SortOrder snapshotJson?: SortOrder createdAt?: SortOrder } export type WorkflowSnapshotMinOrderByAggregateInput = { id?: SortOrder workflowId?: SortOrder snapshotHash?: SortOrder snapshotJson?: SortOrder createdAt?: SortOrder } export type TelemetryArtifactCountOrderByAggregateInput = { artifactId?: SortOrder traceId?: SortOrder spanId?: SortOrder runId?: SortOrder workflowId?: SortOrder nodeId?: SortOrder activationId?: SortOrder kind?: SortOrder contentType?: SortOrder previewText?: SortOrder previewJson?: SortOrder payloadText?: SortOrder payloadJson?: SortOrder payloadStorageKey?: SortOrder bytes?: SortOrder truncated?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder retentionExpiresAt?: SortOrder } export type TelemetryArtifactAvgOrderByAggregateInput = { bytes?: SortOrder } export type TelemetryArtifactMaxOrderByAggregateInput = { artifactId?: SortOrder traceId?: SortOrder spanId?: SortOrder runId?: SortOrder workflowId?: SortOrder nodeId?: SortOrder activationId?: SortOrder kind?: SortOrder contentType?: SortOrder previewText?: SortOrder previewJson?: SortOrder payloadText?: SortOrder payloadJson?: SortOrder payloadStorageKey?: SortOrder bytes?: SortOrder truncated?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder retentionExpiresAt?: SortOrder } export type TelemetryArtifactMinOrderByAggregateInput = { artifactId?: SortOrder traceId?: SortOrder spanId?: SortOrder runId?: SortOrder workflowId?: SortOrder nodeId?: SortOrder activationId?: SortOrder kind?: SortOrder contentType?: SortOrder previewText?: SortOrder previewJson?: SortOrder payloadText?: SortOrder payloadJson?: SortOrder payloadStorageKey?: SortOrder bytes?: SortOrder truncated?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder retentionExpiresAt?: SortOrder } export type TelemetryArtifactSumOrderByAggregateInput = { bytes?: SortOrder } export type TelemetryMetricPointCountOrderByAggregateInput = { metricPointId?: SortOrder traceId?: SortOrder spanId?: SortOrder runId?: SortOrder workflowId?: SortOrder nodeId?: SortOrder activationId?: SortOrder metricName?: SortOrder value?: SortOrder unit?: SortOrder observedAt?: SortOrder workflowFolder?: SortOrder nodeType?: SortOrder nodeRole?: SortOrder modelName?: SortOrder dimensionsJson?: SortOrder retentionExpiresAt?: SortOrder iterationId?: SortOrder itemIndex?: SortOrder parentInvocationId?: SortOrder } export type TelemetryMetricPointAvgOrderByAggregateInput = { value?: SortOrder itemIndex?: SortOrder } export type TelemetryMetricPointMaxOrderByAggregateInput = { metricPointId?: SortOrder traceId?: SortOrder spanId?: SortOrder runId?: SortOrder workflowId?: SortOrder nodeId?: SortOrder activationId?: SortOrder metricName?: SortOrder value?: SortOrder unit?: SortOrder observedAt?: SortOrder workflowFolder?: SortOrder nodeType?: SortOrder nodeRole?: SortOrder modelName?: SortOrder dimensionsJson?: SortOrder retentionExpiresAt?: SortOrder iterationId?: SortOrder itemIndex?: SortOrder parentInvocationId?: SortOrder } export type TelemetryMetricPointMinOrderByAggregateInput = { metricPointId?: SortOrder traceId?: SortOrder spanId?: SortOrder runId?: SortOrder workflowId?: SortOrder nodeId?: SortOrder activationId?: SortOrder metricName?: SortOrder value?: SortOrder unit?: SortOrder observedAt?: SortOrder workflowFolder?: SortOrder nodeType?: SortOrder nodeRole?: SortOrder modelName?: SortOrder dimensionsJson?: SortOrder retentionExpiresAt?: SortOrder iterationId?: SortOrder itemIndex?: SortOrder parentInvocationId?: SortOrder } export type TelemetryMetricPointSumOrderByAggregateInput = { value?: SortOrder itemIndex?: SortOrder } export type CredentialInstanceCountOrderByAggregateInput = { instanceId?: SortOrder typeId?: SortOrder displayName?: SortOrder sourceKind?: SortOrder publicConfigJson?: SortOrder secretRefJson?: SortOrder tagsJson?: SortOrder setupStatus?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder materialSource?: SortOrder materialRef?: SortOrder } export type CredentialInstanceMaxOrderByAggregateInput = { instanceId?: SortOrder typeId?: SortOrder displayName?: SortOrder sourceKind?: SortOrder publicConfigJson?: SortOrder secretRefJson?: SortOrder tagsJson?: SortOrder setupStatus?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder materialSource?: SortOrder materialRef?: SortOrder } export type CredentialInstanceMinOrderByAggregateInput = { instanceId?: SortOrder typeId?: SortOrder displayName?: SortOrder sourceKind?: SortOrder publicConfigJson?: SortOrder secretRefJson?: SortOrder tagsJson?: SortOrder setupStatus?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder materialSource?: SortOrder materialRef?: SortOrder } export type CredentialSecretMaterialCountOrderByAggregateInput = { instanceId?: SortOrder encryptedJson?: SortOrder encryptionKeyId?: SortOrder schemaVersion?: SortOrder updatedAt?: SortOrder } export type CredentialSecretMaterialAvgOrderByAggregateInput = { schemaVersion?: SortOrder } export type CredentialSecretMaterialMaxOrderByAggregateInput = { instanceId?: SortOrder encryptedJson?: SortOrder encryptionKeyId?: SortOrder schemaVersion?: SortOrder updatedAt?: SortOrder } export type CredentialSecretMaterialMinOrderByAggregateInput = { instanceId?: SortOrder encryptedJson?: SortOrder encryptionKeyId?: SortOrder schemaVersion?: SortOrder updatedAt?: SortOrder } export type CredentialSecretMaterialSumOrderByAggregateInput = { schemaVersion?: SortOrder } export type CredentialOAuth2MaterialCountOrderByAggregateInput = { instanceId?: SortOrder encryptedJson?: SortOrder encryptionKeyId?: SortOrder schemaVersion?: SortOrder providerId?: SortOrder connectedEmail?: SortOrder connectedAt?: SortOrder scopesJson?: SortOrder updatedAt?: SortOrder } export type CredentialOAuth2MaterialAvgOrderByAggregateInput = { schemaVersion?: SortOrder } export type CredentialOAuth2MaterialMaxOrderByAggregateInput = { instanceId?: SortOrder encryptedJson?: SortOrder encryptionKeyId?: SortOrder schemaVersion?: SortOrder providerId?: SortOrder connectedEmail?: SortOrder connectedAt?: SortOrder scopesJson?: SortOrder updatedAt?: SortOrder } export type CredentialOAuth2MaterialMinOrderByAggregateInput = { instanceId?: SortOrder encryptedJson?: SortOrder encryptionKeyId?: SortOrder schemaVersion?: SortOrder providerId?: SortOrder connectedEmail?: SortOrder connectedAt?: SortOrder scopesJson?: SortOrder updatedAt?: SortOrder } export type CredentialOAuth2MaterialSumOrderByAggregateInput = { schemaVersion?: SortOrder } export type CredentialOAuth2StateCountOrderByAggregateInput = { state?: SortOrder instanceId?: SortOrder codeVerifier?: SortOrder providerId?: SortOrder requestedScopesJson?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder } export type CredentialOAuth2StateMaxOrderByAggregateInput = { state?: SortOrder instanceId?: SortOrder codeVerifier?: SortOrder providerId?: SortOrder requestedScopesJson?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder } export type CredentialOAuth2StateMinOrderByAggregateInput = { state?: SortOrder instanceId?: SortOrder codeVerifier?: SortOrder providerId?: SortOrder requestedScopesJson?: SortOrder createdAt?: SortOrder expiresAt?: SortOrder } export type CredentialBindingWorkflowIdNodeIdSlotKeyCompoundUniqueInput = { workflowId: string nodeId: string slotKey: string } export type CredentialBindingCountOrderByAggregateInput = { workflowId?: SortOrder nodeId?: SortOrder slotKey?: SortOrder instanceId?: SortOrder updatedAt?: SortOrder } export type CredentialBindingMaxOrderByAggregateInput = { workflowId?: SortOrder nodeId?: SortOrder slotKey?: SortOrder instanceId?: SortOrder updatedAt?: SortOrder } export type CredentialBindingMinOrderByAggregateInput = { workflowId?: SortOrder nodeId?: SortOrder slotKey?: SortOrder instanceId?: SortOrder updatedAt?: SortOrder } export type CredentialTestResultCountOrderByAggregateInput = { testId?: SortOrder instanceId?: SortOrder status?: SortOrder message?: SortOrder detailsJson?: SortOrder testedAt?: SortOrder expiresAt?: SortOrder } export type CredentialTestResultMaxOrderByAggregateInput = { testId?: SortOrder instanceId?: SortOrder status?: SortOrder message?: SortOrder detailsJson?: SortOrder testedAt?: SortOrder expiresAt?: SortOrder } export type CredentialTestResultMinOrderByAggregateInput = { testId?: SortOrder instanceId?: SortOrder status?: SortOrder message?: SortOrder detailsJson?: SortOrder testedAt?: SortOrder expiresAt?: SortOrder } 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 AccountListRelationFilter = { every?: AccountWhereInput some?: AccountWhereInput none?: AccountWhereInput } export type SessionListRelationFilter = { every?: SessionWhereInput some?: SessionWhereInput none?: SessionWhereInput } export type UserInviteListRelationFilter = { every?: UserInviteWhereInput some?: UserInviteWhereInput none?: UserInviteWhereInput } export type AccountOrderByRelationAggregateInput = { _count?: SortOrder } export type SessionOrderByRelationAggregateInput = { _count?: SortOrder } export type UserInviteOrderByRelationAggregateInput = { _count?: SortOrder } export type UserCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder email?: SortOrder emailVerified?: SortOrder image?: SortOrder passwordHash?: SortOrder accountStatus?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type UserMaxOrderByAggregateInput = { id?: SortOrder name?: SortOrder email?: SortOrder emailVerified?: SortOrder image?: SortOrder passwordHash?: SortOrder accountStatus?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type UserMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder email?: SortOrder emailVerified?: SortOrder image?: SortOrder passwordHash?: SortOrder accountStatus?: SortOrder createdAt?: SortOrder updatedAt?: 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 UserScalarRelationFilter = { is?: UserWhereInput isNot?: UserWhereInput } export type UserInviteCountOrderByAggregateInput = { id?: SortOrder userId?: SortOrder tokenHash?: SortOrder expiresAt?: SortOrder createdAt?: SortOrder revokedAt?: SortOrder } export type UserInviteMaxOrderByAggregateInput = { id?: SortOrder userId?: SortOrder tokenHash?: SortOrder expiresAt?: SortOrder createdAt?: SortOrder revokedAt?: SortOrder } export type UserInviteMinOrderByAggregateInput = { id?: SortOrder userId?: SortOrder tokenHash?: SortOrder expiresAt?: SortOrder createdAt?: SortOrder revokedAt?: 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 AccountProviderProviderAccountIdCompoundUniqueInput = { provider: string providerAccountId: string } export type AccountCountOrderByAggregateInput = { id?: SortOrder userId?: SortOrder type?: SortOrder provider?: SortOrder providerAccountId?: SortOrder password?: SortOrder refresh_token?: SortOrder access_token?: SortOrder expires_at?: SortOrder accessTokenExpiresAt?: SortOrder refreshTokenExpiresAt?: SortOrder token_type?: SortOrder scope?: SortOrder id_token?: SortOrder session_state?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type AccountAvgOrderByAggregateInput = { expires_at?: SortOrder } export type AccountMaxOrderByAggregateInput = { id?: SortOrder userId?: SortOrder type?: SortOrder provider?: SortOrder providerAccountId?: SortOrder password?: SortOrder refresh_token?: SortOrder access_token?: SortOrder expires_at?: SortOrder accessTokenExpiresAt?: SortOrder refreshTokenExpiresAt?: SortOrder token_type?: SortOrder scope?: SortOrder id_token?: SortOrder session_state?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type AccountMinOrderByAggregateInput = { id?: SortOrder userId?: SortOrder type?: SortOrder provider?: SortOrder providerAccountId?: SortOrder password?: SortOrder refresh_token?: SortOrder access_token?: SortOrder expires_at?: SortOrder accessTokenExpiresAt?: SortOrder refreshTokenExpiresAt?: SortOrder token_type?: SortOrder scope?: SortOrder id_token?: SortOrder session_state?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type AccountSumOrderByAggregateInput = { expires_at?: SortOrder } export type SessionCountOrderByAggregateInput = { id?: SortOrder sessionToken?: SortOrder userId?: SortOrder expires?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder ipAddress?: SortOrder userAgent?: SortOrder } export type SessionMaxOrderByAggregateInput = { id?: SortOrder sessionToken?: SortOrder userId?: SortOrder expires?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder ipAddress?: SortOrder userAgent?: SortOrder } export type SessionMinOrderByAggregateInput = { id?: SortOrder sessionToken?: SortOrder userId?: SortOrder expires?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder ipAddress?: SortOrder userAgent?: SortOrder } export type VerificationTokenIdentifierTokenCompoundUniqueInput = { identifier: string token: string } export type VerificationTokenCountOrderByAggregateInput = { id?: SortOrder identifier?: SortOrder token?: SortOrder expires?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VerificationTokenMaxOrderByAggregateInput = { id?: SortOrder identifier?: SortOrder token?: SortOrder expires?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type VerificationTokenMinOrderByAggregateInput = { id?: SortOrder identifier?: SortOrder token?: SortOrder expires?: SortOrder createdAt?: SortOrder updatedAt?: SortOrder } export type WorkflowAuditLogCountOrderByAggregateInput = { id?: SortOrder occurredAt?: SortOrder actorUserId?: SortOrder actorSessionId?: SortOrder action?: SortOrder resourceType?: SortOrder resourceId?: SortOrder outcome?: SortOrder errorCode?: SortOrder correlationId?: SortOrder workflowId?: SortOrder runId?: SortOrder nodeId?: SortOrder } export type WorkflowAuditLogMaxOrderByAggregateInput = { id?: SortOrder occurredAt?: SortOrder actorUserId?: SortOrder actorSessionId?: SortOrder action?: SortOrder resourceType?: SortOrder resourceId?: SortOrder outcome?: SortOrder errorCode?: SortOrder correlationId?: SortOrder workflowId?: SortOrder runId?: SortOrder nodeId?: SortOrder } export type WorkflowAuditLogMinOrderByAggregateInput = { id?: SortOrder occurredAt?: SortOrder actorUserId?: SortOrder actorSessionId?: SortOrder action?: SortOrder resourceType?: SortOrder resourceId?: SortOrder outcome?: SortOrder errorCode?: SortOrder correlationId?: SortOrder workflowId?: SortOrder runId?: SortOrder nodeId?: SortOrder } export type HmacNonceCountOrderByAggregateInput = { nonce?: SortOrder expiresAt?: SortOrder } export type HmacNonceMaxOrderByAggregateInput = { nonce?: SortOrder expiresAt?: SortOrder } export type HmacNonceMinOrderByAggregateInput = { nonce?: SortOrder expiresAt?: SortOrder } export type HumanTaskCountOrderByAggregateInput = { id?: SortOrder runId?: SortOrder workflowId?: SortOrder workspaceId?: SortOrder nodeId?: SortOrder activationId?: SortOrder itemIndex?: SortOrder status?: SortOrder channel?: SortOrder subjectJson?: SortOrder metadataJson?: SortOrder decisionSchemaJson?: SortOrder decisionSchemaHash?: SortOrder onTimeout?: SortOrder deliveryRefJson?: SortOrder decisionJson?: SortOrder decidedAt?: SortOrder decidedByJson?: SortOrder resumeTokenHash?: SortOrder expiresAt?: SortOrder createdAt?: SortOrder } export type HumanTaskAvgOrderByAggregateInput = { itemIndex?: SortOrder } export type HumanTaskMaxOrderByAggregateInput = { id?: SortOrder runId?: SortOrder workflowId?: SortOrder workspaceId?: SortOrder nodeId?: SortOrder activationId?: SortOrder itemIndex?: SortOrder status?: SortOrder channel?: SortOrder subjectJson?: SortOrder metadataJson?: SortOrder decisionSchemaJson?: SortOrder decisionSchemaHash?: SortOrder onTimeout?: SortOrder deliveryRefJson?: SortOrder decisionJson?: SortOrder decidedAt?: SortOrder decidedByJson?: SortOrder resumeTokenHash?: SortOrder expiresAt?: SortOrder createdAt?: SortOrder } export type HumanTaskMinOrderByAggregateInput = { id?: SortOrder runId?: SortOrder workflowId?: SortOrder workspaceId?: SortOrder nodeId?: SortOrder activationId?: SortOrder itemIndex?: SortOrder status?: SortOrder channel?: SortOrder subjectJson?: SortOrder metadataJson?: SortOrder decisionSchemaJson?: SortOrder decisionSchemaHash?: SortOrder onTimeout?: SortOrder deliveryRefJson?: SortOrder decisionJson?: SortOrder decidedAt?: SortOrder decidedByJson?: SortOrder resumeTokenHash?: SortOrder expiresAt?: SortOrder createdAt?: SortOrder } export type HumanTaskSumOrderByAggregateInput = { itemIndex?: SortOrder } export type RunWorkItemCreateNestedManyWithoutRunInput = { create?: XOR | RunWorkItemCreateWithoutRunInput[] | RunWorkItemUncheckedCreateWithoutRunInput[] connectOrCreate?: RunWorkItemCreateOrConnectWithoutRunInput | RunWorkItemCreateOrConnectWithoutRunInput[] createMany?: RunWorkItemCreateManyRunInputEnvelope connect?: RunWorkItemWhereUniqueInput | RunWorkItemWhereUniqueInput[] } export type ExecutionInstanceCreateNestedManyWithoutRunInput = { create?: XOR | ExecutionInstanceCreateWithoutRunInput[] | ExecutionInstanceUncheckedCreateWithoutRunInput[] connectOrCreate?: ExecutionInstanceCreateOrConnectWithoutRunInput | ExecutionInstanceCreateOrConnectWithoutRunInput[] createMany?: ExecutionInstanceCreateManyRunInputEnvelope connect?: ExecutionInstanceWhereUniqueInput | ExecutionInstanceWhereUniqueInput[] } export type RunSlotProjectionCreateNestedOneWithoutRunInput = { create?: XOR connectOrCreate?: RunSlotProjectionCreateOrConnectWithoutRunInput connect?: RunSlotProjectionWhereUniqueInput } export type TestSuiteRunCreateNestedOneWithoutRunsInput = { create?: XOR connectOrCreate?: TestSuiteRunCreateOrConnectWithoutRunsInput connect?: TestSuiteRunWhereUniqueInput } export type TestAssertionCreateNestedManyWithoutRunInput = { create?: XOR | TestAssertionCreateWithoutRunInput[] | TestAssertionUncheckedCreateWithoutRunInput[] connectOrCreate?: TestAssertionCreateOrConnectWithoutRunInput | TestAssertionCreateOrConnectWithoutRunInput[] createMany?: TestAssertionCreateManyRunInputEnvelope connect?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] } export type WorkflowSnapshotCreateNestedOneWithoutRunsInput = { create?: XOR connectOrCreate?: WorkflowSnapshotCreateOrConnectWithoutRunsInput connect?: WorkflowSnapshotWhereUniqueInput } export type RunWorkItemUncheckedCreateNestedManyWithoutRunInput = { create?: XOR | RunWorkItemCreateWithoutRunInput[] | RunWorkItemUncheckedCreateWithoutRunInput[] connectOrCreate?: RunWorkItemCreateOrConnectWithoutRunInput | RunWorkItemCreateOrConnectWithoutRunInput[] createMany?: RunWorkItemCreateManyRunInputEnvelope connect?: RunWorkItemWhereUniqueInput | RunWorkItemWhereUniqueInput[] } export type ExecutionInstanceUncheckedCreateNestedManyWithoutRunInput = { create?: XOR | ExecutionInstanceCreateWithoutRunInput[] | ExecutionInstanceUncheckedCreateWithoutRunInput[] connectOrCreate?: ExecutionInstanceCreateOrConnectWithoutRunInput | ExecutionInstanceCreateOrConnectWithoutRunInput[] createMany?: ExecutionInstanceCreateManyRunInputEnvelope connect?: ExecutionInstanceWhereUniqueInput | ExecutionInstanceWhereUniqueInput[] } export type RunSlotProjectionUncheckedCreateNestedOneWithoutRunInput = { create?: XOR connectOrCreate?: RunSlotProjectionCreateOrConnectWithoutRunInput connect?: RunSlotProjectionWhereUniqueInput } export type TestAssertionUncheckedCreateNestedManyWithoutRunInput = { create?: XOR | TestAssertionCreateWithoutRunInput[] | TestAssertionUncheckedCreateWithoutRunInput[] connectOrCreate?: TestAssertionCreateOrConnectWithoutRunInput | TestAssertionCreateOrConnectWithoutRunInput[] createMany?: TestAssertionCreateManyRunInputEnvelope connect?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] } export type StringFieldUpdateOperationsInput = { set?: string } export type NullableStringFieldUpdateOperationsInput = { set?: string | null } export type IntFieldUpdateOperationsInput = { set?: number increment?: number decrement?: number multiply?: number divide?: number } export type NullableIntFieldUpdateOperationsInput = { set?: number | null increment?: number decrement?: number multiply?: number divide?: number } export type RunWorkItemUpdateManyWithoutRunNestedInput = { create?: XOR | RunWorkItemCreateWithoutRunInput[] | RunWorkItemUncheckedCreateWithoutRunInput[] connectOrCreate?: RunWorkItemCreateOrConnectWithoutRunInput | RunWorkItemCreateOrConnectWithoutRunInput[] upsert?: RunWorkItemUpsertWithWhereUniqueWithoutRunInput | RunWorkItemUpsertWithWhereUniqueWithoutRunInput[] createMany?: RunWorkItemCreateManyRunInputEnvelope set?: RunWorkItemWhereUniqueInput | RunWorkItemWhereUniqueInput[] disconnect?: RunWorkItemWhereUniqueInput | RunWorkItemWhereUniqueInput[] delete?: RunWorkItemWhereUniqueInput | RunWorkItemWhereUniqueInput[] connect?: RunWorkItemWhereUniqueInput | RunWorkItemWhereUniqueInput[] update?: RunWorkItemUpdateWithWhereUniqueWithoutRunInput | RunWorkItemUpdateWithWhereUniqueWithoutRunInput[] updateMany?: RunWorkItemUpdateManyWithWhereWithoutRunInput | RunWorkItemUpdateManyWithWhereWithoutRunInput[] deleteMany?: RunWorkItemScalarWhereInput | RunWorkItemScalarWhereInput[] } export type ExecutionInstanceUpdateManyWithoutRunNestedInput = { create?: XOR | ExecutionInstanceCreateWithoutRunInput[] | ExecutionInstanceUncheckedCreateWithoutRunInput[] connectOrCreate?: ExecutionInstanceCreateOrConnectWithoutRunInput | ExecutionInstanceCreateOrConnectWithoutRunInput[] upsert?: ExecutionInstanceUpsertWithWhereUniqueWithoutRunInput | ExecutionInstanceUpsertWithWhereUniqueWithoutRunInput[] createMany?: ExecutionInstanceCreateManyRunInputEnvelope set?: ExecutionInstanceWhereUniqueInput | ExecutionInstanceWhereUniqueInput[] disconnect?: ExecutionInstanceWhereUniqueInput | ExecutionInstanceWhereUniqueInput[] delete?: ExecutionInstanceWhereUniqueInput | ExecutionInstanceWhereUniqueInput[] connect?: ExecutionInstanceWhereUniqueInput | ExecutionInstanceWhereUniqueInput[] update?: ExecutionInstanceUpdateWithWhereUniqueWithoutRunInput | ExecutionInstanceUpdateWithWhereUniqueWithoutRunInput[] updateMany?: ExecutionInstanceUpdateManyWithWhereWithoutRunInput | ExecutionInstanceUpdateManyWithWhereWithoutRunInput[] deleteMany?: ExecutionInstanceScalarWhereInput | ExecutionInstanceScalarWhereInput[] } export type RunSlotProjectionUpdateOneWithoutRunNestedInput = { create?: XOR connectOrCreate?: RunSlotProjectionCreateOrConnectWithoutRunInput upsert?: RunSlotProjectionUpsertWithoutRunInput disconnect?: RunSlotProjectionWhereInput | boolean delete?: RunSlotProjectionWhereInput | boolean connect?: RunSlotProjectionWhereUniqueInput update?: XOR, RunSlotProjectionUncheckedUpdateWithoutRunInput> } export type TestSuiteRunUpdateOneWithoutRunsNestedInput = { create?: XOR connectOrCreate?: TestSuiteRunCreateOrConnectWithoutRunsInput upsert?: TestSuiteRunUpsertWithoutRunsInput disconnect?: TestSuiteRunWhereInput | boolean delete?: TestSuiteRunWhereInput | boolean connect?: TestSuiteRunWhereUniqueInput update?: XOR, TestSuiteRunUncheckedUpdateWithoutRunsInput> } export type TestAssertionUpdateManyWithoutRunNestedInput = { create?: XOR | TestAssertionCreateWithoutRunInput[] | TestAssertionUncheckedCreateWithoutRunInput[] connectOrCreate?: TestAssertionCreateOrConnectWithoutRunInput | TestAssertionCreateOrConnectWithoutRunInput[] upsert?: TestAssertionUpsertWithWhereUniqueWithoutRunInput | TestAssertionUpsertWithWhereUniqueWithoutRunInput[] createMany?: TestAssertionCreateManyRunInputEnvelope set?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] disconnect?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] delete?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] connect?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] update?: TestAssertionUpdateWithWhereUniqueWithoutRunInput | TestAssertionUpdateWithWhereUniqueWithoutRunInput[] updateMany?: TestAssertionUpdateManyWithWhereWithoutRunInput | TestAssertionUpdateManyWithWhereWithoutRunInput[] deleteMany?: TestAssertionScalarWhereInput | TestAssertionScalarWhereInput[] } export type WorkflowSnapshotUpdateOneWithoutRunsNestedInput = { create?: XOR connectOrCreate?: WorkflowSnapshotCreateOrConnectWithoutRunsInput upsert?: WorkflowSnapshotUpsertWithoutRunsInput disconnect?: WorkflowSnapshotWhereInput | boolean delete?: WorkflowSnapshotWhereInput | boolean connect?: WorkflowSnapshotWhereUniqueInput update?: XOR, WorkflowSnapshotUncheckedUpdateWithoutRunsInput> } export type RunWorkItemUncheckedUpdateManyWithoutRunNestedInput = { create?: XOR | RunWorkItemCreateWithoutRunInput[] | RunWorkItemUncheckedCreateWithoutRunInput[] connectOrCreate?: RunWorkItemCreateOrConnectWithoutRunInput | RunWorkItemCreateOrConnectWithoutRunInput[] upsert?: RunWorkItemUpsertWithWhereUniqueWithoutRunInput | RunWorkItemUpsertWithWhereUniqueWithoutRunInput[] createMany?: RunWorkItemCreateManyRunInputEnvelope set?: RunWorkItemWhereUniqueInput | RunWorkItemWhereUniqueInput[] disconnect?: RunWorkItemWhereUniqueInput | RunWorkItemWhereUniqueInput[] delete?: RunWorkItemWhereUniqueInput | RunWorkItemWhereUniqueInput[] connect?: RunWorkItemWhereUniqueInput | RunWorkItemWhereUniqueInput[] update?: RunWorkItemUpdateWithWhereUniqueWithoutRunInput | RunWorkItemUpdateWithWhereUniqueWithoutRunInput[] updateMany?: RunWorkItemUpdateManyWithWhereWithoutRunInput | RunWorkItemUpdateManyWithWhereWithoutRunInput[] deleteMany?: RunWorkItemScalarWhereInput | RunWorkItemScalarWhereInput[] } export type ExecutionInstanceUncheckedUpdateManyWithoutRunNestedInput = { create?: XOR | ExecutionInstanceCreateWithoutRunInput[] | ExecutionInstanceUncheckedCreateWithoutRunInput[] connectOrCreate?: ExecutionInstanceCreateOrConnectWithoutRunInput | ExecutionInstanceCreateOrConnectWithoutRunInput[] upsert?: ExecutionInstanceUpsertWithWhereUniqueWithoutRunInput | ExecutionInstanceUpsertWithWhereUniqueWithoutRunInput[] createMany?: ExecutionInstanceCreateManyRunInputEnvelope set?: ExecutionInstanceWhereUniqueInput | ExecutionInstanceWhereUniqueInput[] disconnect?: ExecutionInstanceWhereUniqueInput | ExecutionInstanceWhereUniqueInput[] delete?: ExecutionInstanceWhereUniqueInput | ExecutionInstanceWhereUniqueInput[] connect?: ExecutionInstanceWhereUniqueInput | ExecutionInstanceWhereUniqueInput[] update?: ExecutionInstanceUpdateWithWhereUniqueWithoutRunInput | ExecutionInstanceUpdateWithWhereUniqueWithoutRunInput[] updateMany?: ExecutionInstanceUpdateManyWithWhereWithoutRunInput | ExecutionInstanceUpdateManyWithWhereWithoutRunInput[] deleteMany?: ExecutionInstanceScalarWhereInput | ExecutionInstanceScalarWhereInput[] } export type RunSlotProjectionUncheckedUpdateOneWithoutRunNestedInput = { create?: XOR connectOrCreate?: RunSlotProjectionCreateOrConnectWithoutRunInput upsert?: RunSlotProjectionUpsertWithoutRunInput disconnect?: RunSlotProjectionWhereInput | boolean delete?: RunSlotProjectionWhereInput | boolean connect?: RunSlotProjectionWhereUniqueInput update?: XOR, RunSlotProjectionUncheckedUpdateWithoutRunInput> } export type TestAssertionUncheckedUpdateManyWithoutRunNestedInput = { create?: XOR | TestAssertionCreateWithoutRunInput[] | TestAssertionUncheckedCreateWithoutRunInput[] connectOrCreate?: TestAssertionCreateOrConnectWithoutRunInput | TestAssertionCreateOrConnectWithoutRunInput[] upsert?: TestAssertionUpsertWithWhereUniqueWithoutRunInput | TestAssertionUpsertWithWhereUniqueWithoutRunInput[] createMany?: TestAssertionCreateManyRunInputEnvelope set?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] disconnect?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] delete?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] connect?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] update?: TestAssertionUpdateWithWhereUniqueWithoutRunInput | TestAssertionUpdateWithWhereUniqueWithoutRunInput[] updateMany?: TestAssertionUpdateManyWithWhereWithoutRunInput | TestAssertionUpdateManyWithWhereWithoutRunInput[] deleteMany?: TestAssertionScalarWhereInput | TestAssertionScalarWhereInput[] } export type RunCreateNestedOneWithoutWorkItemsInput = { create?: XOR connectOrCreate?: RunCreateOrConnectWithoutWorkItemsInput connect?: RunWhereUniqueInput } export type RunUpdateOneRequiredWithoutWorkItemsNestedInput = { create?: XOR connectOrCreate?: RunCreateOrConnectWithoutWorkItemsInput upsert?: RunUpsertWithoutWorkItemsInput connect?: RunWhereUniqueInput update?: XOR, RunUncheckedUpdateWithoutWorkItemsInput> } export type RunCreateNestedOneWithoutExecutionInstancesInput = { create?: XOR connectOrCreate?: RunCreateOrConnectWithoutExecutionInstancesInput connect?: RunWhereUniqueInput } export type NullableBoolFieldUpdateOperationsInput = { set?: boolean | null } export type RunUpdateOneRequiredWithoutExecutionInstancesNestedInput = { create?: XOR connectOrCreate?: RunCreateOrConnectWithoutExecutionInstancesInput upsert?: RunUpsertWithoutExecutionInstancesInput connect?: RunWhereUniqueInput update?: XOR, RunUncheckedUpdateWithoutExecutionInstancesInput> } export type RunCreateNestedOneWithoutSlotProjectionInput = { create?: XOR connectOrCreate?: RunCreateOrConnectWithoutSlotProjectionInput connect?: RunWhereUniqueInput } export type RunUpdateOneRequiredWithoutSlotProjectionNestedInput = { create?: XOR connectOrCreate?: RunCreateOrConnectWithoutSlotProjectionInput upsert?: RunUpsertWithoutSlotProjectionInput connect?: RunWhereUniqueInput update?: XOR, RunUncheckedUpdateWithoutSlotProjectionInput> } export type RunCreateNestedManyWithoutTestSuiteRunInput = { create?: XOR | RunCreateWithoutTestSuiteRunInput[] | RunUncheckedCreateWithoutTestSuiteRunInput[] connectOrCreate?: RunCreateOrConnectWithoutTestSuiteRunInput | RunCreateOrConnectWithoutTestSuiteRunInput[] createMany?: RunCreateManyTestSuiteRunInputEnvelope connect?: RunWhereUniqueInput | RunWhereUniqueInput[] } export type TestAssertionCreateNestedManyWithoutTestSuiteRunInput = { create?: XOR | TestAssertionCreateWithoutTestSuiteRunInput[] | TestAssertionUncheckedCreateWithoutTestSuiteRunInput[] connectOrCreate?: TestAssertionCreateOrConnectWithoutTestSuiteRunInput | TestAssertionCreateOrConnectWithoutTestSuiteRunInput[] createMany?: TestAssertionCreateManyTestSuiteRunInputEnvelope connect?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] } export type RunUncheckedCreateNestedManyWithoutTestSuiteRunInput = { create?: XOR | RunCreateWithoutTestSuiteRunInput[] | RunUncheckedCreateWithoutTestSuiteRunInput[] connectOrCreate?: RunCreateOrConnectWithoutTestSuiteRunInput | RunCreateOrConnectWithoutTestSuiteRunInput[] createMany?: RunCreateManyTestSuiteRunInputEnvelope connect?: RunWhereUniqueInput | RunWhereUniqueInput[] } export type TestAssertionUncheckedCreateNestedManyWithoutTestSuiteRunInput = { create?: XOR | TestAssertionCreateWithoutTestSuiteRunInput[] | TestAssertionUncheckedCreateWithoutTestSuiteRunInput[] connectOrCreate?: TestAssertionCreateOrConnectWithoutTestSuiteRunInput | TestAssertionCreateOrConnectWithoutTestSuiteRunInput[] createMany?: TestAssertionCreateManyTestSuiteRunInputEnvelope connect?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] } export type RunUpdateManyWithoutTestSuiteRunNestedInput = { create?: XOR | RunCreateWithoutTestSuiteRunInput[] | RunUncheckedCreateWithoutTestSuiteRunInput[] connectOrCreate?: RunCreateOrConnectWithoutTestSuiteRunInput | RunCreateOrConnectWithoutTestSuiteRunInput[] upsert?: RunUpsertWithWhereUniqueWithoutTestSuiteRunInput | RunUpsertWithWhereUniqueWithoutTestSuiteRunInput[] createMany?: RunCreateManyTestSuiteRunInputEnvelope set?: RunWhereUniqueInput | RunWhereUniqueInput[] disconnect?: RunWhereUniqueInput | RunWhereUniqueInput[] delete?: RunWhereUniqueInput | RunWhereUniqueInput[] connect?: RunWhereUniqueInput | RunWhereUniqueInput[] update?: RunUpdateWithWhereUniqueWithoutTestSuiteRunInput | RunUpdateWithWhereUniqueWithoutTestSuiteRunInput[] updateMany?: RunUpdateManyWithWhereWithoutTestSuiteRunInput | RunUpdateManyWithWhereWithoutTestSuiteRunInput[] deleteMany?: RunScalarWhereInput | RunScalarWhereInput[] } export type TestAssertionUpdateManyWithoutTestSuiteRunNestedInput = { create?: XOR | TestAssertionCreateWithoutTestSuiteRunInput[] | TestAssertionUncheckedCreateWithoutTestSuiteRunInput[] connectOrCreate?: TestAssertionCreateOrConnectWithoutTestSuiteRunInput | TestAssertionCreateOrConnectWithoutTestSuiteRunInput[] upsert?: TestAssertionUpsertWithWhereUniqueWithoutTestSuiteRunInput | TestAssertionUpsertWithWhereUniqueWithoutTestSuiteRunInput[] createMany?: TestAssertionCreateManyTestSuiteRunInputEnvelope set?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] disconnect?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] delete?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] connect?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] update?: TestAssertionUpdateWithWhereUniqueWithoutTestSuiteRunInput | TestAssertionUpdateWithWhereUniqueWithoutTestSuiteRunInput[] updateMany?: TestAssertionUpdateManyWithWhereWithoutTestSuiteRunInput | TestAssertionUpdateManyWithWhereWithoutTestSuiteRunInput[] deleteMany?: TestAssertionScalarWhereInput | TestAssertionScalarWhereInput[] } export type RunUncheckedUpdateManyWithoutTestSuiteRunNestedInput = { create?: XOR | RunCreateWithoutTestSuiteRunInput[] | RunUncheckedCreateWithoutTestSuiteRunInput[] connectOrCreate?: RunCreateOrConnectWithoutTestSuiteRunInput | RunCreateOrConnectWithoutTestSuiteRunInput[] upsert?: RunUpsertWithWhereUniqueWithoutTestSuiteRunInput | RunUpsertWithWhereUniqueWithoutTestSuiteRunInput[] createMany?: RunCreateManyTestSuiteRunInputEnvelope set?: RunWhereUniqueInput | RunWhereUniqueInput[] disconnect?: RunWhereUniqueInput | RunWhereUniqueInput[] delete?: RunWhereUniqueInput | RunWhereUniqueInput[] connect?: RunWhereUniqueInput | RunWhereUniqueInput[] update?: RunUpdateWithWhereUniqueWithoutTestSuiteRunInput | RunUpdateWithWhereUniqueWithoutTestSuiteRunInput[] updateMany?: RunUpdateManyWithWhereWithoutTestSuiteRunInput | RunUpdateManyWithWhereWithoutTestSuiteRunInput[] deleteMany?: RunScalarWhereInput | RunScalarWhereInput[] } export type TestAssertionUncheckedUpdateManyWithoutTestSuiteRunNestedInput = { create?: XOR | TestAssertionCreateWithoutTestSuiteRunInput[] | TestAssertionUncheckedCreateWithoutTestSuiteRunInput[] connectOrCreate?: TestAssertionCreateOrConnectWithoutTestSuiteRunInput | TestAssertionCreateOrConnectWithoutTestSuiteRunInput[] upsert?: TestAssertionUpsertWithWhereUniqueWithoutTestSuiteRunInput | TestAssertionUpsertWithWhereUniqueWithoutTestSuiteRunInput[] createMany?: TestAssertionCreateManyTestSuiteRunInputEnvelope set?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] disconnect?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] delete?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] connect?: TestAssertionWhereUniqueInput | TestAssertionWhereUniqueInput[] update?: TestAssertionUpdateWithWhereUniqueWithoutTestSuiteRunInput | TestAssertionUpdateWithWhereUniqueWithoutTestSuiteRunInput[] updateMany?: TestAssertionUpdateManyWithWhereWithoutTestSuiteRunInput | TestAssertionUpdateManyWithWhereWithoutTestSuiteRunInput[] deleteMany?: TestAssertionScalarWhereInput | TestAssertionScalarWhereInput[] } export type RunCreateNestedOneWithoutTestAssertionsInput = { create?: XOR connectOrCreate?: RunCreateOrConnectWithoutTestAssertionsInput connect?: RunWhereUniqueInput } export type TestSuiteRunCreateNestedOneWithoutAssertionsInput = { create?: XOR connectOrCreate?: TestSuiteRunCreateOrConnectWithoutAssertionsInput connect?: TestSuiteRunWhereUniqueInput } export type FloatFieldUpdateOperationsInput = { set?: number increment?: number decrement?: number multiply?: number divide?: number } export type NullableFloatFieldUpdateOperationsInput = { set?: number | null increment?: number decrement?: number multiply?: number divide?: number } export type BoolFieldUpdateOperationsInput = { set?: boolean } export type RunUpdateOneRequiredWithoutTestAssertionsNestedInput = { create?: XOR connectOrCreate?: RunCreateOrConnectWithoutTestAssertionsInput upsert?: RunUpsertWithoutTestAssertionsInput connect?: RunWhereUniqueInput update?: XOR, RunUncheckedUpdateWithoutTestAssertionsInput> } export type TestSuiteRunUpdateOneRequiredWithoutAssertionsNestedInput = { create?: XOR connectOrCreate?: TestSuiteRunCreateOrConnectWithoutAssertionsInput upsert?: TestSuiteRunUpsertWithoutAssertionsInput connect?: TestSuiteRunWhereUniqueInput update?: XOR, TestSuiteRunUncheckedUpdateWithoutAssertionsInput> } export type RunCreateNestedManyWithoutWorkflowSnapshotInput = { create?: XOR | RunCreateWithoutWorkflowSnapshotInput[] | RunUncheckedCreateWithoutWorkflowSnapshotInput[] connectOrCreate?: RunCreateOrConnectWithoutWorkflowSnapshotInput | RunCreateOrConnectWithoutWorkflowSnapshotInput[] createMany?: RunCreateManyWorkflowSnapshotInputEnvelope connect?: RunWhereUniqueInput | RunWhereUniqueInput[] } export type RunUncheckedCreateNestedManyWithoutWorkflowSnapshotInput = { create?: XOR | RunCreateWithoutWorkflowSnapshotInput[] | RunUncheckedCreateWithoutWorkflowSnapshotInput[] connectOrCreate?: RunCreateOrConnectWithoutWorkflowSnapshotInput | RunCreateOrConnectWithoutWorkflowSnapshotInput[] createMany?: RunCreateManyWorkflowSnapshotInputEnvelope connect?: RunWhereUniqueInput | RunWhereUniqueInput[] } export type RunUpdateManyWithoutWorkflowSnapshotNestedInput = { create?: XOR | RunCreateWithoutWorkflowSnapshotInput[] | RunUncheckedCreateWithoutWorkflowSnapshotInput[] connectOrCreate?: RunCreateOrConnectWithoutWorkflowSnapshotInput | RunCreateOrConnectWithoutWorkflowSnapshotInput[] upsert?: RunUpsertWithWhereUniqueWithoutWorkflowSnapshotInput | RunUpsertWithWhereUniqueWithoutWorkflowSnapshotInput[] createMany?: RunCreateManyWorkflowSnapshotInputEnvelope set?: RunWhereUniqueInput | RunWhereUniqueInput[] disconnect?: RunWhereUniqueInput | RunWhereUniqueInput[] delete?: RunWhereUniqueInput | RunWhereUniqueInput[] connect?: RunWhereUniqueInput | RunWhereUniqueInput[] update?: RunUpdateWithWhereUniqueWithoutWorkflowSnapshotInput | RunUpdateWithWhereUniqueWithoutWorkflowSnapshotInput[] updateMany?: RunUpdateManyWithWhereWithoutWorkflowSnapshotInput | RunUpdateManyWithWhereWithoutWorkflowSnapshotInput[] deleteMany?: RunScalarWhereInput | RunScalarWhereInput[] } export type RunUncheckedUpdateManyWithoutWorkflowSnapshotNestedInput = { create?: XOR | RunCreateWithoutWorkflowSnapshotInput[] | RunUncheckedCreateWithoutWorkflowSnapshotInput[] connectOrCreate?: RunCreateOrConnectWithoutWorkflowSnapshotInput | RunCreateOrConnectWithoutWorkflowSnapshotInput[] upsert?: RunUpsertWithWhereUniqueWithoutWorkflowSnapshotInput | RunUpsertWithWhereUniqueWithoutWorkflowSnapshotInput[] createMany?: RunCreateManyWorkflowSnapshotInputEnvelope set?: RunWhereUniqueInput | RunWhereUniqueInput[] disconnect?: RunWhereUniqueInput | RunWhereUniqueInput[] delete?: RunWhereUniqueInput | RunWhereUniqueInput[] connect?: RunWhereUniqueInput | RunWhereUniqueInput[] update?: RunUpdateWithWhereUniqueWithoutWorkflowSnapshotInput | RunUpdateWithWhereUniqueWithoutWorkflowSnapshotInput[] updateMany?: RunUpdateManyWithWhereWithoutWorkflowSnapshotInput | RunUpdateManyWithWhereWithoutWorkflowSnapshotInput[] deleteMany?: RunScalarWhereInput | RunScalarWhereInput[] } 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 UserInviteCreateNestedManyWithoutUserInput = { create?: XOR | UserInviteCreateWithoutUserInput[] | UserInviteUncheckedCreateWithoutUserInput[] connectOrCreate?: UserInviteCreateOrConnectWithoutUserInput | UserInviteCreateOrConnectWithoutUserInput[] createMany?: UserInviteCreateManyUserInputEnvelope connect?: UserInviteWhereUniqueInput | UserInviteWhereUniqueInput[] } 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 UserInviteUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | UserInviteCreateWithoutUserInput[] | UserInviteUncheckedCreateWithoutUserInput[] connectOrCreate?: UserInviteCreateOrConnectWithoutUserInput | UserInviteCreateOrConnectWithoutUserInput[] createMany?: UserInviteCreateManyUserInputEnvelope connect?: UserInviteWhereUniqueInput | UserInviteWhereUniqueInput[] } export type DateTimeFieldUpdateOperationsInput = { set?: Date | 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 UserInviteUpdateManyWithoutUserNestedInput = { create?: XOR | UserInviteCreateWithoutUserInput[] | UserInviteUncheckedCreateWithoutUserInput[] connectOrCreate?: UserInviteCreateOrConnectWithoutUserInput | UserInviteCreateOrConnectWithoutUserInput[] upsert?: UserInviteUpsertWithWhereUniqueWithoutUserInput | UserInviteUpsertWithWhereUniqueWithoutUserInput[] createMany?: UserInviteCreateManyUserInputEnvelope set?: UserInviteWhereUniqueInput | UserInviteWhereUniqueInput[] disconnect?: UserInviteWhereUniqueInput | UserInviteWhereUniqueInput[] delete?: UserInviteWhereUniqueInput | UserInviteWhereUniqueInput[] connect?: UserInviteWhereUniqueInput | UserInviteWhereUniqueInput[] update?: UserInviteUpdateWithWhereUniqueWithoutUserInput | UserInviteUpdateWithWhereUniqueWithoutUserInput[] updateMany?: UserInviteUpdateManyWithWhereWithoutUserInput | UserInviteUpdateManyWithWhereWithoutUserInput[] deleteMany?: UserInviteScalarWhereInput | UserInviteScalarWhereInput[] } 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 UserInviteUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | UserInviteCreateWithoutUserInput[] | UserInviteUncheckedCreateWithoutUserInput[] connectOrCreate?: UserInviteCreateOrConnectWithoutUserInput | UserInviteCreateOrConnectWithoutUserInput[] upsert?: UserInviteUpsertWithWhereUniqueWithoutUserInput | UserInviteUpsertWithWhereUniqueWithoutUserInput[] createMany?: UserInviteCreateManyUserInputEnvelope set?: UserInviteWhereUniqueInput | UserInviteWhereUniqueInput[] disconnect?: UserInviteWhereUniqueInput | UserInviteWhereUniqueInput[] delete?: UserInviteWhereUniqueInput | UserInviteWhereUniqueInput[] connect?: UserInviteWhereUniqueInput | UserInviteWhereUniqueInput[] update?: UserInviteUpdateWithWhereUniqueWithoutUserInput | UserInviteUpdateWithWhereUniqueWithoutUserInput[] updateMany?: UserInviteUpdateManyWithWhereWithoutUserInput | UserInviteUpdateManyWithWhereWithoutUserInput[] deleteMany?: UserInviteScalarWhereInput | UserInviteScalarWhereInput[] } export type UserCreateNestedOneWithoutInvitesInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutInvitesInput connect?: UserWhereUniqueInput } export type NullableDateTimeFieldUpdateOperationsInput = { set?: Date | string | null } export type UserUpdateOneRequiredWithoutInvitesNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutInvitesInput upsert?: UserUpsertWithoutInvitesInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutInvitesInput> } export type UserCreateNestedOneWithoutAccountsInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAccountsInput connect?: UserWhereUniqueInput } 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 UserUpdateOneRequiredWithoutSessionsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutSessionsInput upsert?: UserUpsertWithoutSessionsInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutSessionsInput> } 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 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 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 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 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 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 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 NestedBoolFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolFilter<$PrismaModel> | boolean } export type NestedFloatWithAggregatesFilter<$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?: NestedFloatWithAggregatesFilter<$PrismaModel> | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedFloatFilter<$PrismaModel> _min?: NestedFloatFilter<$PrismaModel> _max?: NestedFloatFilter<$PrismaModel> } 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 NestedBoolWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean _count?: NestedIntFilter<$PrismaModel> _min?: NestedBoolFilter<$PrismaModel> _max?: NestedBoolFilter<$PrismaModel> } 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 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 RunWorkItemCreateWithoutRunInput = { workItemId: string workflowId: string status: string targetNodeId: string batchId: string queueName?: string | null claimToken?: string | null claimedBy?: string | null claimedAt?: string | null availableAt: string enqueuedAt: string completedAt?: string | null failedAt?: string | null sourceInstanceId?: string | null parentInstanceId?: string | null itemsIn: number inputsByPortJson: string errorJson?: string | null } export type RunWorkItemUncheckedCreateWithoutRunInput = { workItemId: string workflowId: string status: string targetNodeId: string batchId: string queueName?: string | null claimToken?: string | null claimedBy?: string | null claimedAt?: string | null availableAt: string enqueuedAt: string completedAt?: string | null failedAt?: string | null sourceInstanceId?: string | null parentInstanceId?: string | null itemsIn: number inputsByPortJson: string errorJson?: string | null } export type RunWorkItemCreateOrConnectWithoutRunInput = { where: RunWorkItemWhereUniqueInput create: XOR } export type RunWorkItemCreateManyRunInputEnvelope = { data: RunWorkItemCreateManyRunInput | RunWorkItemCreateManyRunInput[] skipDuplicates?: boolean } export type ExecutionInstanceCreateWithoutRunInput = { instanceId: string workflowId: string slotNodeId: string workflowNodeId: string kind: string connectionKind?: string | null activationId?: string | null batchId: string runIndex: number parentInstanceId?: string | null parentRunId?: string | null workerClaimToken?: string | null status: string queuedAt?: string | null startedAt?: string | null finishedAt?: string | null updatedAt: string itemCount: number inputJson?: string | null outputJson?: string | null errorJson?: string | null inputItemIndicesJson?: string | null outputItemCount?: number | null successfulItemCount?: number | null failedItemCount?: number | null inputStorageKind?: string | null outputStorageKind?: string | null inputBytes?: number | null outputBytes?: number | null inputPreviewJson?: string | null outputPreviewJson?: string | null inputPayloadRef?: string | null outputPayloadRef?: string | null inputTruncated?: boolean | null outputTruncated?: boolean | null usedPinnedOutput?: boolean | null iterationId?: string | null itemIndex?: number | null parentInvocationId?: string | null childRunId?: string | null } export type ExecutionInstanceUncheckedCreateWithoutRunInput = { instanceId: string workflowId: string slotNodeId: string workflowNodeId: string kind: string connectionKind?: string | null activationId?: string | null batchId: string runIndex: number parentInstanceId?: string | null parentRunId?: string | null workerClaimToken?: string | null status: string queuedAt?: string | null startedAt?: string | null finishedAt?: string | null updatedAt: string itemCount: number inputJson?: string | null outputJson?: string | null errorJson?: string | null inputItemIndicesJson?: string | null outputItemCount?: number | null successfulItemCount?: number | null failedItemCount?: number | null inputStorageKind?: string | null outputStorageKind?: string | null inputBytes?: number | null outputBytes?: number | null inputPreviewJson?: string | null outputPreviewJson?: string | null inputPayloadRef?: string | null outputPayloadRef?: string | null inputTruncated?: boolean | null outputTruncated?: boolean | null usedPinnedOutput?: boolean | null iterationId?: string | null itemIndex?: number | null parentInvocationId?: string | null childRunId?: string | null } export type ExecutionInstanceCreateOrConnectWithoutRunInput = { where: ExecutionInstanceWhereUniqueInput create: XOR } export type ExecutionInstanceCreateManyRunInputEnvelope = { data: ExecutionInstanceCreateManyRunInput | ExecutionInstanceCreateManyRunInput[] skipDuplicates?: boolean } export type RunSlotProjectionCreateWithoutRunInput = { workflowId: string revision: number updatedAt: string slotStatesJson: string } export type RunSlotProjectionUncheckedCreateWithoutRunInput = { workflowId: string revision: number updatedAt: string slotStatesJson: string } export type RunSlotProjectionCreateOrConnectWithoutRunInput = { where: RunSlotProjectionWhereUniqueInput create: XOR } export type TestSuiteRunCreateWithoutRunsInput = { id: string workflowId: string triggerNodeId: string triggerNodeName?: string | null status: string concurrency: number startedAt: string finishedAt?: string | null totalCases?: number passedCases?: number failedCases?: number nodeCoverageJson?: string | null errorMessage?: string | null updatedAt: string assertions?: TestAssertionCreateNestedManyWithoutTestSuiteRunInput } export type TestSuiteRunUncheckedCreateWithoutRunsInput = { id: string workflowId: string triggerNodeId: string triggerNodeName?: string | null status: string concurrency: number startedAt: string finishedAt?: string | null totalCases?: number passedCases?: number failedCases?: number nodeCoverageJson?: string | null errorMessage?: string | null updatedAt: string assertions?: TestAssertionUncheckedCreateNestedManyWithoutTestSuiteRunInput } export type TestSuiteRunCreateOrConnectWithoutRunsInput = { where: TestSuiteRunWhereUniqueInput create: XOR } export type TestAssertionCreateWithoutRunInput = { id: string workflowId: string nodeId: string iterationId?: string | null itemIndex?: number | null name: string score: number passThreshold?: number | null errored?: boolean expectedJson?: string | null actualJson?: string | null message?: string | null detailsJson?: string | null createdAt: string testSuiteRun: TestSuiteRunCreateNestedOneWithoutAssertionsInput } export type TestAssertionUncheckedCreateWithoutRunInput = { id: string testSuiteRunId: string workflowId: string nodeId: string iterationId?: string | null itemIndex?: number | null name: string score: number passThreshold?: number | null errored?: boolean expectedJson?: string | null actualJson?: string | null message?: string | null detailsJson?: string | null createdAt: string } export type TestAssertionCreateOrConnectWithoutRunInput = { where: TestAssertionWhereUniqueInput create: XOR } export type TestAssertionCreateManyRunInputEnvelope = { data: TestAssertionCreateManyRunInput | TestAssertionCreateManyRunInput[] skipDuplicates?: boolean } export type WorkflowSnapshotCreateWithoutRunsInput = { id: string workflowId: string snapshotHash: string snapshotJson: string createdAt: string } export type WorkflowSnapshotUncheckedCreateWithoutRunsInput = { id: string workflowId: string snapshotHash: string snapshotJson: string createdAt: string } export type WorkflowSnapshotCreateOrConnectWithoutRunsInput = { where: WorkflowSnapshotWhereUniqueInput create: XOR } export type RunWorkItemUpsertWithWhereUniqueWithoutRunInput = { where: RunWorkItemWhereUniqueInput update: XOR create: XOR } export type RunWorkItemUpdateWithWhereUniqueWithoutRunInput = { where: RunWorkItemWhereUniqueInput data: XOR } export type RunWorkItemUpdateManyWithWhereWithoutRunInput = { where: RunWorkItemScalarWhereInput data: XOR } export type RunWorkItemScalarWhereInput = { AND?: RunWorkItemScalarWhereInput | RunWorkItemScalarWhereInput[] OR?: RunWorkItemScalarWhereInput[] NOT?: RunWorkItemScalarWhereInput | RunWorkItemScalarWhereInput[] workItemId?: StringFilter<"RunWorkItem"> | string runId?: StringFilter<"RunWorkItem"> | string workflowId?: StringFilter<"RunWorkItem"> | string status?: StringFilter<"RunWorkItem"> | string targetNodeId?: StringFilter<"RunWorkItem"> | string batchId?: StringFilter<"RunWorkItem"> | string queueName?: StringNullableFilter<"RunWorkItem"> | string | null claimToken?: StringNullableFilter<"RunWorkItem"> | string | null claimedBy?: StringNullableFilter<"RunWorkItem"> | string | null claimedAt?: StringNullableFilter<"RunWorkItem"> | string | null availableAt?: StringFilter<"RunWorkItem"> | string enqueuedAt?: StringFilter<"RunWorkItem"> | string completedAt?: StringNullableFilter<"RunWorkItem"> | string | null failedAt?: StringNullableFilter<"RunWorkItem"> | string | null sourceInstanceId?: StringNullableFilter<"RunWorkItem"> | string | null parentInstanceId?: StringNullableFilter<"RunWorkItem"> | string | null itemsIn?: IntFilter<"RunWorkItem"> | number inputsByPortJson?: StringFilter<"RunWorkItem"> | string errorJson?: StringNullableFilter<"RunWorkItem"> | string | null } export type ExecutionInstanceUpsertWithWhereUniqueWithoutRunInput = { where: ExecutionInstanceWhereUniqueInput update: XOR create: XOR } export type ExecutionInstanceUpdateWithWhereUniqueWithoutRunInput = { where: ExecutionInstanceWhereUniqueInput data: XOR } export type ExecutionInstanceUpdateManyWithWhereWithoutRunInput = { where: ExecutionInstanceScalarWhereInput data: XOR } export type ExecutionInstanceScalarWhereInput = { AND?: ExecutionInstanceScalarWhereInput | ExecutionInstanceScalarWhereInput[] OR?: ExecutionInstanceScalarWhereInput[] NOT?: ExecutionInstanceScalarWhereInput | ExecutionInstanceScalarWhereInput[] instanceId?: StringFilter<"ExecutionInstance"> | string runId?: StringFilter<"ExecutionInstance"> | string workflowId?: StringFilter<"ExecutionInstance"> | string slotNodeId?: StringFilter<"ExecutionInstance"> | string workflowNodeId?: StringFilter<"ExecutionInstance"> | string kind?: StringFilter<"ExecutionInstance"> | string connectionKind?: StringNullableFilter<"ExecutionInstance"> | string | null activationId?: StringNullableFilter<"ExecutionInstance"> | string | null batchId?: StringFilter<"ExecutionInstance"> | string runIndex?: IntFilter<"ExecutionInstance"> | number parentInstanceId?: StringNullableFilter<"ExecutionInstance"> | string | null parentRunId?: StringNullableFilter<"ExecutionInstance"> | string | null workerClaimToken?: StringNullableFilter<"ExecutionInstance"> | string | null status?: StringFilter<"ExecutionInstance"> | string queuedAt?: StringNullableFilter<"ExecutionInstance"> | string | null startedAt?: StringNullableFilter<"ExecutionInstance"> | string | null finishedAt?: StringNullableFilter<"ExecutionInstance"> | string | null updatedAt?: StringFilter<"ExecutionInstance"> | string itemCount?: IntFilter<"ExecutionInstance"> | number inputJson?: StringNullableFilter<"ExecutionInstance"> | string | null outputJson?: StringNullableFilter<"ExecutionInstance"> | string | null errorJson?: StringNullableFilter<"ExecutionInstance"> | string | null inputItemIndicesJson?: StringNullableFilter<"ExecutionInstance"> | string | null outputItemCount?: IntNullableFilter<"ExecutionInstance"> | number | null successfulItemCount?: IntNullableFilter<"ExecutionInstance"> | number | null failedItemCount?: IntNullableFilter<"ExecutionInstance"> | number | null inputStorageKind?: StringNullableFilter<"ExecutionInstance"> | string | null outputStorageKind?: StringNullableFilter<"ExecutionInstance"> | string | null inputBytes?: IntNullableFilter<"ExecutionInstance"> | number | null outputBytes?: IntNullableFilter<"ExecutionInstance"> | number | null inputPreviewJson?: StringNullableFilter<"ExecutionInstance"> | string | null outputPreviewJson?: StringNullableFilter<"ExecutionInstance"> | string | null inputPayloadRef?: StringNullableFilter<"ExecutionInstance"> | string | null outputPayloadRef?: StringNullableFilter<"ExecutionInstance"> | string | null inputTruncated?: BoolNullableFilter<"ExecutionInstance"> | boolean | null outputTruncated?: BoolNullableFilter<"ExecutionInstance"> | boolean | null usedPinnedOutput?: BoolNullableFilter<"ExecutionInstance"> | boolean | null iterationId?: StringNullableFilter<"ExecutionInstance"> | string | null itemIndex?: IntNullableFilter<"ExecutionInstance"> | number | null parentInvocationId?: StringNullableFilter<"ExecutionInstance"> | string | null childRunId?: StringNullableFilter<"ExecutionInstance"> | string | null } export type RunSlotProjectionUpsertWithoutRunInput = { update: XOR create: XOR where?: RunSlotProjectionWhereInput } export type RunSlotProjectionUpdateToOneWithWhereWithoutRunInput = { where?: RunSlotProjectionWhereInput data: XOR } export type RunSlotProjectionUpdateWithoutRunInput = { workflowId?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number updatedAt?: StringFieldUpdateOperationsInput | string slotStatesJson?: StringFieldUpdateOperationsInput | string } export type RunSlotProjectionUncheckedUpdateWithoutRunInput = { workflowId?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number updatedAt?: StringFieldUpdateOperationsInput | string slotStatesJson?: StringFieldUpdateOperationsInput | string } export type TestSuiteRunUpsertWithoutRunsInput = { update: XOR create: XOR where?: TestSuiteRunWhereInput } export type TestSuiteRunUpdateToOneWithWhereWithoutRunsInput = { where?: TestSuiteRunWhereInput data: XOR } export type TestSuiteRunUpdateWithoutRunsInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string triggerNodeId?: StringFieldUpdateOperationsInput | string triggerNodeName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string concurrency?: IntFieldUpdateOperationsInput | number startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null totalCases?: IntFieldUpdateOperationsInput | number passedCases?: IntFieldUpdateOperationsInput | number failedCases?: IntFieldUpdateOperationsInput | number nodeCoverageJson?: NullableStringFieldUpdateOperationsInput | string | null errorMessage?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string assertions?: TestAssertionUpdateManyWithoutTestSuiteRunNestedInput } export type TestSuiteRunUncheckedUpdateWithoutRunsInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string triggerNodeId?: StringFieldUpdateOperationsInput | string triggerNodeName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string concurrency?: IntFieldUpdateOperationsInput | number startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null totalCases?: IntFieldUpdateOperationsInput | number passedCases?: IntFieldUpdateOperationsInput | number failedCases?: IntFieldUpdateOperationsInput | number nodeCoverageJson?: NullableStringFieldUpdateOperationsInput | string | null errorMessage?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string assertions?: TestAssertionUncheckedUpdateManyWithoutTestSuiteRunNestedInput } export type TestAssertionUpsertWithWhereUniqueWithoutRunInput = { where: TestAssertionWhereUniqueInput update: XOR create: XOR } export type TestAssertionUpdateWithWhereUniqueWithoutRunInput = { where: TestAssertionWhereUniqueInput data: XOR } export type TestAssertionUpdateManyWithWhereWithoutRunInput = { where: TestAssertionScalarWhereInput data: XOR } export type TestAssertionScalarWhereInput = { AND?: TestAssertionScalarWhereInput | TestAssertionScalarWhereInput[] OR?: TestAssertionScalarWhereInput[] NOT?: TestAssertionScalarWhereInput | TestAssertionScalarWhereInput[] id?: StringFilter<"TestAssertion"> | string runId?: StringFilter<"TestAssertion"> | string testSuiteRunId?: StringFilter<"TestAssertion"> | string workflowId?: StringFilter<"TestAssertion"> | string nodeId?: StringFilter<"TestAssertion"> | string iterationId?: StringNullableFilter<"TestAssertion"> | string | null itemIndex?: IntNullableFilter<"TestAssertion"> | number | null name?: StringFilter<"TestAssertion"> | string score?: FloatFilter<"TestAssertion"> | number passThreshold?: FloatNullableFilter<"TestAssertion"> | number | null errored?: BoolFilter<"TestAssertion"> | boolean expectedJson?: StringNullableFilter<"TestAssertion"> | string | null actualJson?: StringNullableFilter<"TestAssertion"> | string | null message?: StringNullableFilter<"TestAssertion"> | string | null detailsJson?: StringNullableFilter<"TestAssertion"> | string | null createdAt?: StringFilter<"TestAssertion"> | string } export type WorkflowSnapshotUpsertWithoutRunsInput = { update: XOR create: XOR where?: WorkflowSnapshotWhereInput } export type WorkflowSnapshotUpdateToOneWithWhereWithoutRunsInput = { where?: WorkflowSnapshotWhereInput data: XOR } export type WorkflowSnapshotUpdateWithoutRunsInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string snapshotHash?: StringFieldUpdateOperationsInput | string snapshotJson?: StringFieldUpdateOperationsInput | string createdAt?: StringFieldUpdateOperationsInput | string } export type WorkflowSnapshotUncheckedUpdateWithoutRunsInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string snapshotHash?: StringFieldUpdateOperationsInput | string snapshotJson?: StringFieldUpdateOperationsInput | string createdAt?: StringFieldUpdateOperationsInput | string } export type RunCreateWithoutWorkItemsInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null executionInstances?: ExecutionInstanceCreateNestedManyWithoutRunInput slotProjection?: RunSlotProjectionCreateNestedOneWithoutRunInput testSuiteRun?: TestSuiteRunCreateNestedOneWithoutRunsInput testAssertions?: TestAssertionCreateNestedManyWithoutRunInput workflowSnapshot?: WorkflowSnapshotCreateNestedOneWithoutRunsInput } export type RunUncheckedCreateWithoutWorkItemsInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null workflowSnapshotId?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testSuiteRunId?: string | null testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null executionInstances?: ExecutionInstanceUncheckedCreateNestedManyWithoutRunInput slotProjection?: RunSlotProjectionUncheckedCreateNestedOneWithoutRunInput testAssertions?: TestAssertionUncheckedCreateNestedManyWithoutRunInput } export type RunCreateOrConnectWithoutWorkItemsInput = { where: RunWhereUniqueInput create: XOR } export type RunUpsertWithoutWorkItemsInput = { update: XOR create: XOR where?: RunWhereInput } export type RunUpdateToOneWithWhereWithoutWorkItemsInput = { where?: RunWhereInput data: XOR } export type RunUpdateWithoutWorkItemsInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null executionInstances?: ExecutionInstanceUpdateManyWithoutRunNestedInput slotProjection?: RunSlotProjectionUpdateOneWithoutRunNestedInput testSuiteRun?: TestSuiteRunUpdateOneWithoutRunsNestedInput testAssertions?: TestAssertionUpdateManyWithoutRunNestedInput workflowSnapshot?: WorkflowSnapshotUpdateOneWithoutRunsNestedInput } export type RunUncheckedUpdateWithoutWorkItemsInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotId?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null executionInstances?: ExecutionInstanceUncheckedUpdateManyWithoutRunNestedInput slotProjection?: RunSlotProjectionUncheckedUpdateOneWithoutRunNestedInput testAssertions?: TestAssertionUncheckedUpdateManyWithoutRunNestedInput } export type RunCreateWithoutExecutionInstancesInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null workItems?: RunWorkItemCreateNestedManyWithoutRunInput slotProjection?: RunSlotProjectionCreateNestedOneWithoutRunInput testSuiteRun?: TestSuiteRunCreateNestedOneWithoutRunsInput testAssertions?: TestAssertionCreateNestedManyWithoutRunInput workflowSnapshot?: WorkflowSnapshotCreateNestedOneWithoutRunsInput } export type RunUncheckedCreateWithoutExecutionInstancesInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null workflowSnapshotId?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testSuiteRunId?: string | null testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null workItems?: RunWorkItemUncheckedCreateNestedManyWithoutRunInput slotProjection?: RunSlotProjectionUncheckedCreateNestedOneWithoutRunInput testAssertions?: TestAssertionUncheckedCreateNestedManyWithoutRunInput } export type RunCreateOrConnectWithoutExecutionInstancesInput = { where: RunWhereUniqueInput create: XOR } export type RunUpsertWithoutExecutionInstancesInput = { update: XOR create: XOR where?: RunWhereInput } export type RunUpdateToOneWithWhereWithoutExecutionInstancesInput = { where?: RunWhereInput data: XOR } export type RunUpdateWithoutExecutionInstancesInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null workItems?: RunWorkItemUpdateManyWithoutRunNestedInput slotProjection?: RunSlotProjectionUpdateOneWithoutRunNestedInput testSuiteRun?: TestSuiteRunUpdateOneWithoutRunsNestedInput testAssertions?: TestAssertionUpdateManyWithoutRunNestedInput workflowSnapshot?: WorkflowSnapshotUpdateOneWithoutRunsNestedInput } export type RunUncheckedUpdateWithoutExecutionInstancesInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotId?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null workItems?: RunWorkItemUncheckedUpdateManyWithoutRunNestedInput slotProjection?: RunSlotProjectionUncheckedUpdateOneWithoutRunNestedInput testAssertions?: TestAssertionUncheckedUpdateManyWithoutRunNestedInput } export type RunCreateWithoutSlotProjectionInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null workItems?: RunWorkItemCreateNestedManyWithoutRunInput executionInstances?: ExecutionInstanceCreateNestedManyWithoutRunInput testSuiteRun?: TestSuiteRunCreateNestedOneWithoutRunsInput testAssertions?: TestAssertionCreateNestedManyWithoutRunInput workflowSnapshot?: WorkflowSnapshotCreateNestedOneWithoutRunsInput } export type RunUncheckedCreateWithoutSlotProjectionInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null workflowSnapshotId?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testSuiteRunId?: string | null testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null workItems?: RunWorkItemUncheckedCreateNestedManyWithoutRunInput executionInstances?: ExecutionInstanceUncheckedCreateNestedManyWithoutRunInput testAssertions?: TestAssertionUncheckedCreateNestedManyWithoutRunInput } export type RunCreateOrConnectWithoutSlotProjectionInput = { where: RunWhereUniqueInput create: XOR } export type RunUpsertWithoutSlotProjectionInput = { update: XOR create: XOR where?: RunWhereInput } export type RunUpdateToOneWithWhereWithoutSlotProjectionInput = { where?: RunWhereInput data: XOR } export type RunUpdateWithoutSlotProjectionInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null workItems?: RunWorkItemUpdateManyWithoutRunNestedInput executionInstances?: ExecutionInstanceUpdateManyWithoutRunNestedInput testSuiteRun?: TestSuiteRunUpdateOneWithoutRunsNestedInput testAssertions?: TestAssertionUpdateManyWithoutRunNestedInput workflowSnapshot?: WorkflowSnapshotUpdateOneWithoutRunsNestedInput } export type RunUncheckedUpdateWithoutSlotProjectionInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotId?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null workItems?: RunWorkItemUncheckedUpdateManyWithoutRunNestedInput executionInstances?: ExecutionInstanceUncheckedUpdateManyWithoutRunNestedInput testAssertions?: TestAssertionUncheckedUpdateManyWithoutRunNestedInput } export type RunCreateWithoutTestSuiteRunInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null workItems?: RunWorkItemCreateNestedManyWithoutRunInput executionInstances?: ExecutionInstanceCreateNestedManyWithoutRunInput slotProjection?: RunSlotProjectionCreateNestedOneWithoutRunInput testAssertions?: TestAssertionCreateNestedManyWithoutRunInput workflowSnapshot?: WorkflowSnapshotCreateNestedOneWithoutRunsInput } export type RunUncheckedCreateWithoutTestSuiteRunInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null workflowSnapshotId?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null workItems?: RunWorkItemUncheckedCreateNestedManyWithoutRunInput executionInstances?: ExecutionInstanceUncheckedCreateNestedManyWithoutRunInput slotProjection?: RunSlotProjectionUncheckedCreateNestedOneWithoutRunInput testAssertions?: TestAssertionUncheckedCreateNestedManyWithoutRunInput } export type RunCreateOrConnectWithoutTestSuiteRunInput = { where: RunWhereUniqueInput create: XOR } export type RunCreateManyTestSuiteRunInputEnvelope = { data: RunCreateManyTestSuiteRunInput | RunCreateManyTestSuiteRunInput[] skipDuplicates?: boolean } export type TestAssertionCreateWithoutTestSuiteRunInput = { id: string workflowId: string nodeId: string iterationId?: string | null itemIndex?: number | null name: string score: number passThreshold?: number | null errored?: boolean expectedJson?: string | null actualJson?: string | null message?: string | null detailsJson?: string | null createdAt: string run: RunCreateNestedOneWithoutTestAssertionsInput } export type TestAssertionUncheckedCreateWithoutTestSuiteRunInput = { id: string runId: string workflowId: string nodeId: string iterationId?: string | null itemIndex?: number | null name: string score: number passThreshold?: number | null errored?: boolean expectedJson?: string | null actualJson?: string | null message?: string | null detailsJson?: string | null createdAt: string } export type TestAssertionCreateOrConnectWithoutTestSuiteRunInput = { where: TestAssertionWhereUniqueInput create: XOR } export type TestAssertionCreateManyTestSuiteRunInputEnvelope = { data: TestAssertionCreateManyTestSuiteRunInput | TestAssertionCreateManyTestSuiteRunInput[] skipDuplicates?: boolean } export type RunUpsertWithWhereUniqueWithoutTestSuiteRunInput = { where: RunWhereUniqueInput update: XOR create: XOR } export type RunUpdateWithWhereUniqueWithoutTestSuiteRunInput = { where: RunWhereUniqueInput data: XOR } export type RunUpdateManyWithWhereWithoutTestSuiteRunInput = { where: RunScalarWhereInput data: XOR } export type RunScalarWhereInput = { AND?: RunScalarWhereInput | RunScalarWhereInput[] OR?: RunScalarWhereInput[] NOT?: RunScalarWhereInput | RunScalarWhereInput[] runId?: StringFilter<"Run"> | string workflowId?: StringFilter<"Run"> | string startedAt?: StringFilter<"Run"> | string finishedAt?: StringNullableFilter<"Run"> | string | null status?: StringFilter<"Run"> | string revision?: IntFilter<"Run"> | number parentJson?: StringNullableFilter<"Run"> | string | null executionOptionsJson?: StringNullableFilter<"Run"> | string | null controlJson?: StringNullableFilter<"Run"> | string | null workflowSnapshotJson?: StringNullableFilter<"Run"> | string | null workflowSnapshotId?: StringNullableFilter<"Run"> | string | null policySnapshotJson?: StringNullableFilter<"Run"> | string | null engineCountersJson?: StringNullableFilter<"Run"> | string | null mutableStateJson?: StringNullableFilter<"Run"> | string | null hitlStateJson?: StringNullableFilter<"Run"> | string | null outputsByNodeJson?: StringFilter<"Run"> | string updatedAt?: StringFilter<"Run"> | string testSuiteRunId?: StringNullableFilter<"Run"> | string | null testCaseIndex?: IntNullableFilter<"Run"> | number | null testCaseLabel?: StringNullableFilter<"Run"> | string | null testCaseStatus?: StringNullableFilter<"Run"> | string | null } export type TestAssertionUpsertWithWhereUniqueWithoutTestSuiteRunInput = { where: TestAssertionWhereUniqueInput update: XOR create: XOR } export type TestAssertionUpdateWithWhereUniqueWithoutTestSuiteRunInput = { where: TestAssertionWhereUniqueInput data: XOR } export type TestAssertionUpdateManyWithWhereWithoutTestSuiteRunInput = { where: TestAssertionScalarWhereInput data: XOR } export type RunCreateWithoutTestAssertionsInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null workItems?: RunWorkItemCreateNestedManyWithoutRunInput executionInstances?: ExecutionInstanceCreateNestedManyWithoutRunInput slotProjection?: RunSlotProjectionCreateNestedOneWithoutRunInput testSuiteRun?: TestSuiteRunCreateNestedOneWithoutRunsInput workflowSnapshot?: WorkflowSnapshotCreateNestedOneWithoutRunsInput } export type RunUncheckedCreateWithoutTestAssertionsInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null workflowSnapshotId?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testSuiteRunId?: string | null testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null workItems?: RunWorkItemUncheckedCreateNestedManyWithoutRunInput executionInstances?: ExecutionInstanceUncheckedCreateNestedManyWithoutRunInput slotProjection?: RunSlotProjectionUncheckedCreateNestedOneWithoutRunInput } export type RunCreateOrConnectWithoutTestAssertionsInput = { where: RunWhereUniqueInput create: XOR } export type TestSuiteRunCreateWithoutAssertionsInput = { id: string workflowId: string triggerNodeId: string triggerNodeName?: string | null status: string concurrency: number startedAt: string finishedAt?: string | null totalCases?: number passedCases?: number failedCases?: number nodeCoverageJson?: string | null errorMessage?: string | null updatedAt: string runs?: RunCreateNestedManyWithoutTestSuiteRunInput } export type TestSuiteRunUncheckedCreateWithoutAssertionsInput = { id: string workflowId: string triggerNodeId: string triggerNodeName?: string | null status: string concurrency: number startedAt: string finishedAt?: string | null totalCases?: number passedCases?: number failedCases?: number nodeCoverageJson?: string | null errorMessage?: string | null updatedAt: string runs?: RunUncheckedCreateNestedManyWithoutTestSuiteRunInput } export type TestSuiteRunCreateOrConnectWithoutAssertionsInput = { where: TestSuiteRunWhereUniqueInput create: XOR } export type RunUpsertWithoutTestAssertionsInput = { update: XOR create: XOR where?: RunWhereInput } export type RunUpdateToOneWithWhereWithoutTestAssertionsInput = { where?: RunWhereInput data: XOR } export type RunUpdateWithoutTestAssertionsInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null workItems?: RunWorkItemUpdateManyWithoutRunNestedInput executionInstances?: ExecutionInstanceUpdateManyWithoutRunNestedInput slotProjection?: RunSlotProjectionUpdateOneWithoutRunNestedInput testSuiteRun?: TestSuiteRunUpdateOneWithoutRunsNestedInput workflowSnapshot?: WorkflowSnapshotUpdateOneWithoutRunsNestedInput } export type RunUncheckedUpdateWithoutTestAssertionsInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotId?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null workItems?: RunWorkItemUncheckedUpdateManyWithoutRunNestedInput executionInstances?: ExecutionInstanceUncheckedUpdateManyWithoutRunNestedInput slotProjection?: RunSlotProjectionUncheckedUpdateOneWithoutRunNestedInput } export type TestSuiteRunUpsertWithoutAssertionsInput = { update: XOR create: XOR where?: TestSuiteRunWhereInput } export type TestSuiteRunUpdateToOneWithWhereWithoutAssertionsInput = { where?: TestSuiteRunWhereInput data: XOR } export type TestSuiteRunUpdateWithoutAssertionsInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string triggerNodeId?: StringFieldUpdateOperationsInput | string triggerNodeName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string concurrency?: IntFieldUpdateOperationsInput | number startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null totalCases?: IntFieldUpdateOperationsInput | number passedCases?: IntFieldUpdateOperationsInput | number failedCases?: IntFieldUpdateOperationsInput | number nodeCoverageJson?: NullableStringFieldUpdateOperationsInput | string | null errorMessage?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string runs?: RunUpdateManyWithoutTestSuiteRunNestedInput } export type TestSuiteRunUncheckedUpdateWithoutAssertionsInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string triggerNodeId?: StringFieldUpdateOperationsInput | string triggerNodeName?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string concurrency?: IntFieldUpdateOperationsInput | number startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null totalCases?: IntFieldUpdateOperationsInput | number passedCases?: IntFieldUpdateOperationsInput | number failedCases?: IntFieldUpdateOperationsInput | number nodeCoverageJson?: NullableStringFieldUpdateOperationsInput | string | null errorMessage?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string runs?: RunUncheckedUpdateManyWithoutTestSuiteRunNestedInput } export type RunCreateWithoutWorkflowSnapshotInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null workItems?: RunWorkItemCreateNestedManyWithoutRunInput executionInstances?: ExecutionInstanceCreateNestedManyWithoutRunInput slotProjection?: RunSlotProjectionCreateNestedOneWithoutRunInput testSuiteRun?: TestSuiteRunCreateNestedOneWithoutRunsInput testAssertions?: TestAssertionCreateNestedManyWithoutRunInput } export type RunUncheckedCreateWithoutWorkflowSnapshotInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testSuiteRunId?: string | null testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null workItems?: RunWorkItemUncheckedCreateNestedManyWithoutRunInput executionInstances?: ExecutionInstanceUncheckedCreateNestedManyWithoutRunInput slotProjection?: RunSlotProjectionUncheckedCreateNestedOneWithoutRunInput testAssertions?: TestAssertionUncheckedCreateNestedManyWithoutRunInput } export type RunCreateOrConnectWithoutWorkflowSnapshotInput = { where: RunWhereUniqueInput create: XOR } export type RunCreateManyWorkflowSnapshotInputEnvelope = { data: RunCreateManyWorkflowSnapshotInput | RunCreateManyWorkflowSnapshotInput[] skipDuplicates?: boolean } export type RunUpsertWithWhereUniqueWithoutWorkflowSnapshotInput = { where: RunWhereUniqueInput update: XOR create: XOR } export type RunUpdateWithWhereUniqueWithoutWorkflowSnapshotInput = { where: RunWhereUniqueInput data: XOR } export type RunUpdateManyWithWhereWithoutWorkflowSnapshotInput = { where: RunScalarWhereInput data: XOR } export type AccountCreateWithoutUserInput = { id?: string type?: string provider: string providerAccountId: string password?: string | null refresh_token?: string | null access_token?: string | null expires_at?: number | null accessTokenExpiresAt?: Date | string | null refreshTokenExpiresAt?: Date | string | null token_type?: string | null scope?: string | null id_token?: string | null session_state?: string | null createdAt?: Date | string updatedAt?: Date | string } export type AccountUncheckedCreateWithoutUserInput = { id?: string type?: string provider: string providerAccountId: string password?: string | null refresh_token?: string | null access_token?: string | null expires_at?: number | null accessTokenExpiresAt?: Date | string | null refreshTokenExpiresAt?: Date | string | null token_type?: string | null scope?: string | null id_token?: string | null session_state?: string | null createdAt?: Date | string updatedAt?: Date | string } 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 createdAt?: Date | string updatedAt?: Date | string ipAddress?: string | null userAgent?: string | null } export type SessionUncheckedCreateWithoutUserInput = { id?: string sessionToken: string expires: Date | string createdAt?: Date | string updatedAt?: Date | string ipAddress?: string | null userAgent?: string | null } export type SessionCreateOrConnectWithoutUserInput = { where: SessionWhereUniqueInput create: XOR } export type SessionCreateManyUserInputEnvelope = { data: SessionCreateManyUserInput | SessionCreateManyUserInput[] skipDuplicates?: boolean } export type UserInviteCreateWithoutUserInput = { id?: string tokenHash: string expiresAt: Date | string createdAt: Date | string revokedAt?: Date | string | null } export type UserInviteUncheckedCreateWithoutUserInput = { id?: string tokenHash: string expiresAt: Date | string createdAt: Date | string revokedAt?: Date | string | null } export type UserInviteCreateOrConnectWithoutUserInput = { where: UserInviteWhereUniqueInput create: XOR } export type UserInviteCreateManyUserInputEnvelope = { data: UserInviteCreateManyUserInput | UserInviteCreateManyUserInput[] 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 password?: StringNullableFilter<"Account"> | string | null refresh_token?: StringNullableFilter<"Account"> | string | null access_token?: StringNullableFilter<"Account"> | string | null expires_at?: IntNullableFilter<"Account"> | number | null accessTokenExpiresAt?: DateTimeNullableFilter<"Account"> | Date | string | null refreshTokenExpiresAt?: DateTimeNullableFilter<"Account"> | Date | string | null token_type?: StringNullableFilter<"Account"> | string | null scope?: StringNullableFilter<"Account"> | string | null id_token?: StringNullableFilter<"Account"> | string | null session_state?: StringNullableFilter<"Account"> | string | null createdAt?: DateTimeFilter<"Account"> | Date | string updatedAt?: DateTimeFilter<"Account"> | Date | string } 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 createdAt?: DateTimeFilter<"Session"> | Date | string updatedAt?: DateTimeFilter<"Session"> | Date | string ipAddress?: StringNullableFilter<"Session"> | string | null userAgent?: StringNullableFilter<"Session"> | string | null } export type UserInviteUpsertWithWhereUniqueWithoutUserInput = { where: UserInviteWhereUniqueInput update: XOR create: XOR } export type UserInviteUpdateWithWhereUniqueWithoutUserInput = { where: UserInviteWhereUniqueInput data: XOR } export type UserInviteUpdateManyWithWhereWithoutUserInput = { where: UserInviteScalarWhereInput data: XOR } export type UserInviteScalarWhereInput = { AND?: UserInviteScalarWhereInput | UserInviteScalarWhereInput[] OR?: UserInviteScalarWhereInput[] NOT?: UserInviteScalarWhereInput | UserInviteScalarWhereInput[] id?: StringFilter<"UserInvite"> | string userId?: StringFilter<"UserInvite"> | string tokenHash?: StringFilter<"UserInvite"> | string expiresAt?: DateTimeFilter<"UserInvite"> | Date | string createdAt?: DateTimeFilter<"UserInvite"> | Date | string revokedAt?: DateTimeNullableFilter<"UserInvite"> | Date | string | null } export type UserCreateWithoutInvitesInput = { id?: string name?: string | null email?: string | null emailVerified?: boolean image?: string | null passwordHash?: string | null accountStatus?: string createdAt?: Date | string updatedAt?: Date | string accounts?: AccountCreateNestedManyWithoutUserInput sessions?: SessionCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutInvitesInput = { id?: string name?: string | null email?: string | null emailVerified?: boolean image?: string | null passwordHash?: string | null accountStatus?: string createdAt?: Date | string updatedAt?: Date | string accounts?: AccountUncheckedCreateNestedManyWithoutUserInput sessions?: SessionUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutInvitesInput = { where: UserWhereUniqueInput create: XOR } export type UserUpsertWithoutInvitesInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutInvitesInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutInvitesInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: BoolFieldUpdateOperationsInput | boolean image?: NullableStringFieldUpdateOperationsInput | string | null passwordHash?: NullableStringFieldUpdateOperationsInput | string | null accountStatus?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accounts?: AccountUpdateManyWithoutUserNestedInput sessions?: SessionUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutInvitesInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: BoolFieldUpdateOperationsInput | boolean image?: NullableStringFieldUpdateOperationsInput | string | null passwordHash?: NullableStringFieldUpdateOperationsInput | string | null accountStatus?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput } export type UserCreateWithoutAccountsInput = { id?: string name?: string | null email?: string | null emailVerified?: boolean image?: string | null passwordHash?: string | null accountStatus?: string createdAt?: Date | string updatedAt?: Date | string sessions?: SessionCreateNestedManyWithoutUserInput invites?: UserInviteCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutAccountsInput = { id?: string name?: string | null email?: string | null emailVerified?: boolean image?: string | null passwordHash?: string | null accountStatus?: string createdAt?: Date | string updatedAt?: Date | string sessions?: SessionUncheckedCreateNestedManyWithoutUserInput invites?: UserInviteUncheckedCreateNestedManyWithoutUserInput } 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?: BoolFieldUpdateOperationsInput | boolean image?: NullableStringFieldUpdateOperationsInput | string | null passwordHash?: NullableStringFieldUpdateOperationsInput | string | null accountStatus?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sessions?: SessionUpdateManyWithoutUserNestedInput invites?: UserInviteUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutAccountsInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: BoolFieldUpdateOperationsInput | boolean image?: NullableStringFieldUpdateOperationsInput | string | null passwordHash?: NullableStringFieldUpdateOperationsInput | string | null accountStatus?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string sessions?: SessionUncheckedUpdateManyWithoutUserNestedInput invites?: UserInviteUncheckedUpdateManyWithoutUserNestedInput } export type UserCreateWithoutSessionsInput = { id?: string name?: string | null email?: string | null emailVerified?: boolean image?: string | null passwordHash?: string | null accountStatus?: string createdAt?: Date | string updatedAt?: Date | string accounts?: AccountCreateNestedManyWithoutUserInput invites?: UserInviteCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutSessionsInput = { id?: string name?: string | null email?: string | null emailVerified?: boolean image?: string | null passwordHash?: string | null accountStatus?: string createdAt?: Date | string updatedAt?: Date | string accounts?: AccountUncheckedCreateNestedManyWithoutUserInput invites?: UserInviteUncheckedCreateNestedManyWithoutUserInput } 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?: BoolFieldUpdateOperationsInput | boolean image?: NullableStringFieldUpdateOperationsInput | string | null passwordHash?: NullableStringFieldUpdateOperationsInput | string | null accountStatus?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accounts?: AccountUpdateManyWithoutUserNestedInput invites?: UserInviteUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutSessionsInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null email?: NullableStringFieldUpdateOperationsInput | string | null emailVerified?: BoolFieldUpdateOperationsInput | boolean image?: NullableStringFieldUpdateOperationsInput | string | null passwordHash?: NullableStringFieldUpdateOperationsInput | string | null accountStatus?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput invites?: UserInviteUncheckedUpdateManyWithoutUserNestedInput } export type RunWorkItemCreateManyRunInput = { workItemId: string workflowId: string status: string targetNodeId: string batchId: string queueName?: string | null claimToken?: string | null claimedBy?: string | null claimedAt?: string | null availableAt: string enqueuedAt: string completedAt?: string | null failedAt?: string | null sourceInstanceId?: string | null parentInstanceId?: string | null itemsIn: number inputsByPortJson: string errorJson?: string | null } export type ExecutionInstanceCreateManyRunInput = { instanceId: string workflowId: string slotNodeId: string workflowNodeId: string kind: string connectionKind?: string | null activationId?: string | null batchId: string runIndex: number parentInstanceId?: string | null parentRunId?: string | null workerClaimToken?: string | null status: string queuedAt?: string | null startedAt?: string | null finishedAt?: string | null updatedAt: string itemCount: number inputJson?: string | null outputJson?: string | null errorJson?: string | null inputItemIndicesJson?: string | null outputItemCount?: number | null successfulItemCount?: number | null failedItemCount?: number | null inputStorageKind?: string | null outputStorageKind?: string | null inputBytes?: number | null outputBytes?: number | null inputPreviewJson?: string | null outputPreviewJson?: string | null inputPayloadRef?: string | null outputPayloadRef?: string | null inputTruncated?: boolean | null outputTruncated?: boolean | null usedPinnedOutput?: boolean | null iterationId?: string | null itemIndex?: number | null parentInvocationId?: string | null childRunId?: string | null } export type TestAssertionCreateManyRunInput = { id: string testSuiteRunId: string workflowId: string nodeId: string iterationId?: string | null itemIndex?: number | null name: string score: number passThreshold?: number | null errored?: boolean expectedJson?: string | null actualJson?: string | null message?: string | null detailsJson?: string | null createdAt: string } export type RunWorkItemUpdateWithoutRunInput = { workItemId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string targetNodeId?: StringFieldUpdateOperationsInput | string batchId?: StringFieldUpdateOperationsInput | string queueName?: NullableStringFieldUpdateOperationsInput | string | null claimToken?: NullableStringFieldUpdateOperationsInput | string | null claimedBy?: NullableStringFieldUpdateOperationsInput | string | null claimedAt?: NullableStringFieldUpdateOperationsInput | string | null availableAt?: StringFieldUpdateOperationsInput | string enqueuedAt?: StringFieldUpdateOperationsInput | string completedAt?: NullableStringFieldUpdateOperationsInput | string | null failedAt?: NullableStringFieldUpdateOperationsInput | string | null sourceInstanceId?: NullableStringFieldUpdateOperationsInput | string | null parentInstanceId?: NullableStringFieldUpdateOperationsInput | string | null itemsIn?: IntFieldUpdateOperationsInput | number inputsByPortJson?: StringFieldUpdateOperationsInput | string errorJson?: NullableStringFieldUpdateOperationsInput | string | null } export type RunWorkItemUncheckedUpdateWithoutRunInput = { workItemId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string targetNodeId?: StringFieldUpdateOperationsInput | string batchId?: StringFieldUpdateOperationsInput | string queueName?: NullableStringFieldUpdateOperationsInput | string | null claimToken?: NullableStringFieldUpdateOperationsInput | string | null claimedBy?: NullableStringFieldUpdateOperationsInput | string | null claimedAt?: NullableStringFieldUpdateOperationsInput | string | null availableAt?: StringFieldUpdateOperationsInput | string enqueuedAt?: StringFieldUpdateOperationsInput | string completedAt?: NullableStringFieldUpdateOperationsInput | string | null failedAt?: NullableStringFieldUpdateOperationsInput | string | null sourceInstanceId?: NullableStringFieldUpdateOperationsInput | string | null parentInstanceId?: NullableStringFieldUpdateOperationsInput | string | null itemsIn?: IntFieldUpdateOperationsInput | number inputsByPortJson?: StringFieldUpdateOperationsInput | string errorJson?: NullableStringFieldUpdateOperationsInput | string | null } export type RunWorkItemUncheckedUpdateManyWithoutRunInput = { workItemId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string status?: StringFieldUpdateOperationsInput | string targetNodeId?: StringFieldUpdateOperationsInput | string batchId?: StringFieldUpdateOperationsInput | string queueName?: NullableStringFieldUpdateOperationsInput | string | null claimToken?: NullableStringFieldUpdateOperationsInput | string | null claimedBy?: NullableStringFieldUpdateOperationsInput | string | null claimedAt?: NullableStringFieldUpdateOperationsInput | string | null availableAt?: StringFieldUpdateOperationsInput | string enqueuedAt?: StringFieldUpdateOperationsInput | string completedAt?: NullableStringFieldUpdateOperationsInput | string | null failedAt?: NullableStringFieldUpdateOperationsInput | string | null sourceInstanceId?: NullableStringFieldUpdateOperationsInput | string | null parentInstanceId?: NullableStringFieldUpdateOperationsInput | string | null itemsIn?: IntFieldUpdateOperationsInput | number inputsByPortJson?: StringFieldUpdateOperationsInput | string errorJson?: NullableStringFieldUpdateOperationsInput | string | null } export type ExecutionInstanceUpdateWithoutRunInput = { instanceId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string slotNodeId?: StringFieldUpdateOperationsInput | string workflowNodeId?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string connectionKind?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null batchId?: StringFieldUpdateOperationsInput | string runIndex?: IntFieldUpdateOperationsInput | number parentInstanceId?: NullableStringFieldUpdateOperationsInput | string | null parentRunId?: NullableStringFieldUpdateOperationsInput | string | null workerClaimToken?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string queuedAt?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: NullableStringFieldUpdateOperationsInput | string | null finishedAt?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string itemCount?: IntFieldUpdateOperationsInput | number inputJson?: NullableStringFieldUpdateOperationsInput | string | null outputJson?: NullableStringFieldUpdateOperationsInput | string | null errorJson?: NullableStringFieldUpdateOperationsInput | string | null inputItemIndicesJson?: NullableStringFieldUpdateOperationsInput | string | null outputItemCount?: NullableIntFieldUpdateOperationsInput | number | null successfulItemCount?: NullableIntFieldUpdateOperationsInput | number | null failedItemCount?: NullableIntFieldUpdateOperationsInput | number | null inputStorageKind?: NullableStringFieldUpdateOperationsInput | string | null outputStorageKind?: NullableStringFieldUpdateOperationsInput | string | null inputBytes?: NullableIntFieldUpdateOperationsInput | number | null outputBytes?: NullableIntFieldUpdateOperationsInput | number | null inputPreviewJson?: NullableStringFieldUpdateOperationsInput | string | null outputPreviewJson?: NullableStringFieldUpdateOperationsInput | string | null inputPayloadRef?: NullableStringFieldUpdateOperationsInput | string | null outputPayloadRef?: NullableStringFieldUpdateOperationsInput | string | null inputTruncated?: NullableBoolFieldUpdateOperationsInput | boolean | null outputTruncated?: NullableBoolFieldUpdateOperationsInput | boolean | null usedPinnedOutput?: NullableBoolFieldUpdateOperationsInput | boolean | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null childRunId?: NullableStringFieldUpdateOperationsInput | string | null } export type ExecutionInstanceUncheckedUpdateWithoutRunInput = { instanceId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string slotNodeId?: StringFieldUpdateOperationsInput | string workflowNodeId?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string connectionKind?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null batchId?: StringFieldUpdateOperationsInput | string runIndex?: IntFieldUpdateOperationsInput | number parentInstanceId?: NullableStringFieldUpdateOperationsInput | string | null parentRunId?: NullableStringFieldUpdateOperationsInput | string | null workerClaimToken?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string queuedAt?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: NullableStringFieldUpdateOperationsInput | string | null finishedAt?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string itemCount?: IntFieldUpdateOperationsInput | number inputJson?: NullableStringFieldUpdateOperationsInput | string | null outputJson?: NullableStringFieldUpdateOperationsInput | string | null errorJson?: NullableStringFieldUpdateOperationsInput | string | null inputItemIndicesJson?: NullableStringFieldUpdateOperationsInput | string | null outputItemCount?: NullableIntFieldUpdateOperationsInput | number | null successfulItemCount?: NullableIntFieldUpdateOperationsInput | number | null failedItemCount?: NullableIntFieldUpdateOperationsInput | number | null inputStorageKind?: NullableStringFieldUpdateOperationsInput | string | null outputStorageKind?: NullableStringFieldUpdateOperationsInput | string | null inputBytes?: NullableIntFieldUpdateOperationsInput | number | null outputBytes?: NullableIntFieldUpdateOperationsInput | number | null inputPreviewJson?: NullableStringFieldUpdateOperationsInput | string | null outputPreviewJson?: NullableStringFieldUpdateOperationsInput | string | null inputPayloadRef?: NullableStringFieldUpdateOperationsInput | string | null outputPayloadRef?: NullableStringFieldUpdateOperationsInput | string | null inputTruncated?: NullableBoolFieldUpdateOperationsInput | boolean | null outputTruncated?: NullableBoolFieldUpdateOperationsInput | boolean | null usedPinnedOutput?: NullableBoolFieldUpdateOperationsInput | boolean | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null childRunId?: NullableStringFieldUpdateOperationsInput | string | null } export type ExecutionInstanceUncheckedUpdateManyWithoutRunInput = { instanceId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string slotNodeId?: StringFieldUpdateOperationsInput | string workflowNodeId?: StringFieldUpdateOperationsInput | string kind?: StringFieldUpdateOperationsInput | string connectionKind?: NullableStringFieldUpdateOperationsInput | string | null activationId?: NullableStringFieldUpdateOperationsInput | string | null batchId?: StringFieldUpdateOperationsInput | string runIndex?: IntFieldUpdateOperationsInput | number parentInstanceId?: NullableStringFieldUpdateOperationsInput | string | null parentRunId?: NullableStringFieldUpdateOperationsInput | string | null workerClaimToken?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string queuedAt?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: NullableStringFieldUpdateOperationsInput | string | null finishedAt?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: StringFieldUpdateOperationsInput | string itemCount?: IntFieldUpdateOperationsInput | number inputJson?: NullableStringFieldUpdateOperationsInput | string | null outputJson?: NullableStringFieldUpdateOperationsInput | string | null errorJson?: NullableStringFieldUpdateOperationsInput | string | null inputItemIndicesJson?: NullableStringFieldUpdateOperationsInput | string | null outputItemCount?: NullableIntFieldUpdateOperationsInput | number | null successfulItemCount?: NullableIntFieldUpdateOperationsInput | number | null failedItemCount?: NullableIntFieldUpdateOperationsInput | number | null inputStorageKind?: NullableStringFieldUpdateOperationsInput | string | null outputStorageKind?: NullableStringFieldUpdateOperationsInput | string | null inputBytes?: NullableIntFieldUpdateOperationsInput | number | null outputBytes?: NullableIntFieldUpdateOperationsInput | number | null inputPreviewJson?: NullableStringFieldUpdateOperationsInput | string | null outputPreviewJson?: NullableStringFieldUpdateOperationsInput | string | null inputPayloadRef?: NullableStringFieldUpdateOperationsInput | string | null outputPayloadRef?: NullableStringFieldUpdateOperationsInput | string | null inputTruncated?: NullableBoolFieldUpdateOperationsInput | boolean | null outputTruncated?: NullableBoolFieldUpdateOperationsInput | boolean | null usedPinnedOutput?: NullableBoolFieldUpdateOperationsInput | boolean | null iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null parentInvocationId?: NullableStringFieldUpdateOperationsInput | string | null childRunId?: NullableStringFieldUpdateOperationsInput | string | null } export type TestAssertionUpdateWithoutRunInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null name?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number passThreshold?: NullableFloatFieldUpdateOperationsInput | number | null errored?: BoolFieldUpdateOperationsInput | boolean expectedJson?: NullableStringFieldUpdateOperationsInput | string | null actualJson?: NullableStringFieldUpdateOperationsInput | string | null message?: NullableStringFieldUpdateOperationsInput | string | null detailsJson?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: StringFieldUpdateOperationsInput | string testSuiteRun?: TestSuiteRunUpdateOneRequiredWithoutAssertionsNestedInput } export type TestAssertionUncheckedUpdateWithoutRunInput = { id?: StringFieldUpdateOperationsInput | string testSuiteRunId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null name?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number passThreshold?: NullableFloatFieldUpdateOperationsInput | number | null errored?: BoolFieldUpdateOperationsInput | boolean expectedJson?: NullableStringFieldUpdateOperationsInput | string | null actualJson?: NullableStringFieldUpdateOperationsInput | string | null message?: NullableStringFieldUpdateOperationsInput | string | null detailsJson?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: StringFieldUpdateOperationsInput | string } export type TestAssertionUncheckedUpdateManyWithoutRunInput = { id?: StringFieldUpdateOperationsInput | string testSuiteRunId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null name?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number passThreshold?: NullableFloatFieldUpdateOperationsInput | number | null errored?: BoolFieldUpdateOperationsInput | boolean expectedJson?: NullableStringFieldUpdateOperationsInput | string | null actualJson?: NullableStringFieldUpdateOperationsInput | string | null message?: NullableStringFieldUpdateOperationsInput | string | null detailsJson?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: StringFieldUpdateOperationsInput | string } export type RunCreateManyTestSuiteRunInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null workflowSnapshotId?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null } export type TestAssertionCreateManyTestSuiteRunInput = { id: string runId: string workflowId: string nodeId: string iterationId?: string | null itemIndex?: number | null name: string score: number passThreshold?: number | null errored?: boolean expectedJson?: string | null actualJson?: string | null message?: string | null detailsJson?: string | null createdAt: string } export type RunUpdateWithoutTestSuiteRunInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null workItems?: RunWorkItemUpdateManyWithoutRunNestedInput executionInstances?: ExecutionInstanceUpdateManyWithoutRunNestedInput slotProjection?: RunSlotProjectionUpdateOneWithoutRunNestedInput testAssertions?: TestAssertionUpdateManyWithoutRunNestedInput workflowSnapshot?: WorkflowSnapshotUpdateOneWithoutRunsNestedInput } export type RunUncheckedUpdateWithoutTestSuiteRunInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotId?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null workItems?: RunWorkItemUncheckedUpdateManyWithoutRunNestedInput executionInstances?: ExecutionInstanceUncheckedUpdateManyWithoutRunNestedInput slotProjection?: RunSlotProjectionUncheckedUpdateOneWithoutRunNestedInput testAssertions?: TestAssertionUncheckedUpdateManyWithoutRunNestedInput } export type RunUncheckedUpdateManyWithoutTestSuiteRunInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotId?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null } export type TestAssertionUpdateWithoutTestSuiteRunInput = { id?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null name?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number passThreshold?: NullableFloatFieldUpdateOperationsInput | number | null errored?: BoolFieldUpdateOperationsInput | boolean expectedJson?: NullableStringFieldUpdateOperationsInput | string | null actualJson?: NullableStringFieldUpdateOperationsInput | string | null message?: NullableStringFieldUpdateOperationsInput | string | null detailsJson?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: StringFieldUpdateOperationsInput | string run?: RunUpdateOneRequiredWithoutTestAssertionsNestedInput } export type TestAssertionUncheckedUpdateWithoutTestSuiteRunInput = { id?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null name?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number passThreshold?: NullableFloatFieldUpdateOperationsInput | number | null errored?: BoolFieldUpdateOperationsInput | boolean expectedJson?: NullableStringFieldUpdateOperationsInput | string | null actualJson?: NullableStringFieldUpdateOperationsInput | string | null message?: NullableStringFieldUpdateOperationsInput | string | null detailsJson?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: StringFieldUpdateOperationsInput | string } export type TestAssertionUncheckedUpdateManyWithoutTestSuiteRunInput = { id?: StringFieldUpdateOperationsInput | string runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string nodeId?: StringFieldUpdateOperationsInput | string iterationId?: NullableStringFieldUpdateOperationsInput | string | null itemIndex?: NullableIntFieldUpdateOperationsInput | number | null name?: StringFieldUpdateOperationsInput | string score?: FloatFieldUpdateOperationsInput | number passThreshold?: NullableFloatFieldUpdateOperationsInput | number | null errored?: BoolFieldUpdateOperationsInput | boolean expectedJson?: NullableStringFieldUpdateOperationsInput | string | null actualJson?: NullableStringFieldUpdateOperationsInput | string | null message?: NullableStringFieldUpdateOperationsInput | string | null detailsJson?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: StringFieldUpdateOperationsInput | string } export type RunCreateManyWorkflowSnapshotInput = { runId: string workflowId: string startedAt: string finishedAt?: string | null status: string revision?: number parentJson?: string | null executionOptionsJson?: string | null controlJson?: string | null workflowSnapshotJson?: string | null policySnapshotJson?: string | null engineCountersJson?: string | null mutableStateJson?: string | null hitlStateJson?: string | null outputsByNodeJson: string updatedAt: string testSuiteRunId?: string | null testCaseIndex?: number | null testCaseLabel?: string | null testCaseStatus?: string | null } export type RunUpdateWithoutWorkflowSnapshotInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null workItems?: RunWorkItemUpdateManyWithoutRunNestedInput executionInstances?: ExecutionInstanceUpdateManyWithoutRunNestedInput slotProjection?: RunSlotProjectionUpdateOneWithoutRunNestedInput testSuiteRun?: TestSuiteRunUpdateOneWithoutRunsNestedInput testAssertions?: TestAssertionUpdateManyWithoutRunNestedInput } export type RunUncheckedUpdateWithoutWorkflowSnapshotInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null workItems?: RunWorkItemUncheckedUpdateManyWithoutRunNestedInput executionInstances?: ExecutionInstanceUncheckedUpdateManyWithoutRunNestedInput slotProjection?: RunSlotProjectionUncheckedUpdateOneWithoutRunNestedInput testAssertions?: TestAssertionUncheckedUpdateManyWithoutRunNestedInput } export type RunUncheckedUpdateManyWithoutWorkflowSnapshotInput = { runId?: StringFieldUpdateOperationsInput | string workflowId?: StringFieldUpdateOperationsInput | string startedAt?: StringFieldUpdateOperationsInput | string finishedAt?: NullableStringFieldUpdateOperationsInput | string | null status?: StringFieldUpdateOperationsInput | string revision?: IntFieldUpdateOperationsInput | number parentJson?: NullableStringFieldUpdateOperationsInput | string | null executionOptionsJson?: NullableStringFieldUpdateOperationsInput | string | null controlJson?: NullableStringFieldUpdateOperationsInput | string | null workflowSnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null policySnapshotJson?: NullableStringFieldUpdateOperationsInput | string | null engineCountersJson?: NullableStringFieldUpdateOperationsInput | string | null mutableStateJson?: NullableStringFieldUpdateOperationsInput | string | null hitlStateJson?: NullableStringFieldUpdateOperationsInput | string | null outputsByNodeJson?: StringFieldUpdateOperationsInput | string updatedAt?: StringFieldUpdateOperationsInput | string testSuiteRunId?: NullableStringFieldUpdateOperationsInput | string | null testCaseIndex?: NullableIntFieldUpdateOperationsInput | number | null testCaseLabel?: NullableStringFieldUpdateOperationsInput | string | null testCaseStatus?: NullableStringFieldUpdateOperationsInput | string | null } export type AccountCreateManyUserInput = { id?: string type?: string provider: string providerAccountId: string password?: string | null refresh_token?: string | null access_token?: string | null expires_at?: number | null accessTokenExpiresAt?: Date | string | null refreshTokenExpiresAt?: Date | string | null token_type?: string | null scope?: string | null id_token?: string | null session_state?: string | null createdAt?: Date | string updatedAt?: Date | string } export type SessionCreateManyUserInput = { id?: string sessionToken: string expires: Date | string createdAt?: Date | string updatedAt?: Date | string ipAddress?: string | null userAgent?: string | null } export type UserInviteCreateManyUserInput = { id?: string tokenHash: string expiresAt: Date | string createdAt: Date | string revokedAt?: Date | string | null } export type AccountUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string providerAccountId?: StringFieldUpdateOperationsInput | string password?: NullableStringFieldUpdateOperationsInput | string | null refresh_token?: NullableStringFieldUpdateOperationsInput | string | null access_token?: NullableStringFieldUpdateOperationsInput | string | null expires_at?: NullableIntFieldUpdateOperationsInput | number | null accessTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null refreshTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null token_type?: NullableStringFieldUpdateOperationsInput | string | null scope?: NullableStringFieldUpdateOperationsInput | string | null id_token?: NullableStringFieldUpdateOperationsInput | string | null session_state?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AccountUncheckedUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string providerAccountId?: StringFieldUpdateOperationsInput | string password?: NullableStringFieldUpdateOperationsInput | string | null refresh_token?: NullableStringFieldUpdateOperationsInput | string | null access_token?: NullableStringFieldUpdateOperationsInput | string | null expires_at?: NullableIntFieldUpdateOperationsInput | number | null accessTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null refreshTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null token_type?: NullableStringFieldUpdateOperationsInput | string | null scope?: NullableStringFieldUpdateOperationsInput | string | null id_token?: NullableStringFieldUpdateOperationsInput | string | null session_state?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AccountUncheckedUpdateManyWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string type?: StringFieldUpdateOperationsInput | string provider?: StringFieldUpdateOperationsInput | string providerAccountId?: StringFieldUpdateOperationsInput | string password?: NullableStringFieldUpdateOperationsInput | string | null refresh_token?: NullableStringFieldUpdateOperationsInput | string | null access_token?: NullableStringFieldUpdateOperationsInput | string | null expires_at?: NullableIntFieldUpdateOperationsInput | number | null accessTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null refreshTokenExpiresAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null token_type?: NullableStringFieldUpdateOperationsInput | string | null scope?: NullableStringFieldUpdateOperationsInput | string | null id_token?: NullableStringFieldUpdateOperationsInput | string | null session_state?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SessionUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string sessionToken?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string ipAddress?: NullableStringFieldUpdateOperationsInput | string | null userAgent?: NullableStringFieldUpdateOperationsInput | string | null } export type SessionUncheckedUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string sessionToken?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string ipAddress?: NullableStringFieldUpdateOperationsInput | string | null userAgent?: NullableStringFieldUpdateOperationsInput | string | null } export type SessionUncheckedUpdateManyWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string sessionToken?: StringFieldUpdateOperationsInput | string expires?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string ipAddress?: NullableStringFieldUpdateOperationsInput | string | null userAgent?: NullableStringFieldUpdateOperationsInput | string | null } export type UserInviteUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string tokenHash?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string revokedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type UserInviteUncheckedUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string tokenHash?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string revokedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type UserInviteUncheckedUpdateManyWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string tokenHash?: StringFieldUpdateOperationsInput | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string revokedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } /** * Batch Payload for updateMany & deleteMany & createMany */ export type BatchPayload = { count: number } /** * DMMF */ export const dmmf: runtime.BaseDMMF }