/** * Client **/ import * as runtime from './runtime/library.js'; import $Types = runtime.Types // general types import $Public = runtime.Types.Public import $Utils = runtime.Types.Utils import $Extensions = runtime.Types.Extensions import $Result = runtime.Types.Result export type PrismaPromise = $Public.PrismaPromise /** * Model User * */ export type User = $Result.DefaultSelection /** * Model Organization * */ export type Organization = $Result.DefaultSelection /** * Model OrgMembership * */ export type OrgMembership = $Result.DefaultSelection /** * Model Project * */ export type Project = $Result.DefaultSelection /** * Model Check * */ export type Check = $Result.DefaultSelection /** * Model Hop * */ export type Hop = $Result.DefaultSelection /** * Model SslInspection * */ export type SslInspection = $Result.DefaultSelection /** * Model SeoFlags * */ export type SeoFlags = $Result.DefaultSelection /** * Model SecurityFlags * */ export type SecurityFlags = $Result.DefaultSelection /** * Model Report * */ export type Report = $Result.DefaultSelection /** * Model BulkJob * */ export type BulkJob = $Result.DefaultSelection /** * Model ApiKey * */ export type ApiKey = $Result.DefaultSelection /** * Model AuditLog * */ export type AuditLog = $Result.DefaultSelection /** * Enums */ export namespace $Enums { export const Role: { OWNER: 'OWNER', ADMIN: 'ADMIN', MEMBER: 'MEMBER' }; export type Role = (typeof Role)[keyof typeof Role] export const CheckStatus: { OK: 'OK', ERROR: 'ERROR', TIMEOUT: 'TIMEOUT', LOOP: 'LOOP' }; export type CheckStatus = (typeof CheckStatus)[keyof typeof CheckStatus] export const RedirectType: { HTTP_301: 'HTTP_301', HTTP_302: 'HTTP_302', HTTP_307: 'HTTP_307', HTTP_308: 'HTTP_308', META_REFRESH: 'META_REFRESH', JS: 'JS', FINAL: 'FINAL', OTHER: 'OTHER' }; export type RedirectType = (typeof RedirectType)[keyof typeof RedirectType] export const MixedContent: { NONE: 'NONE', PRESENT: 'PRESENT', FINAL_TO_HTTP: 'FINAL_TO_HTTP' }; export type MixedContent = (typeof MixedContent)[keyof typeof MixedContent] export const JobStatus: { PENDING: 'PENDING', QUEUED: 'QUEUED', RUNNING: 'RUNNING', COMPLETED: 'COMPLETED', FAILED: 'FAILED', CANCELLED: 'CANCELLED', ERROR: 'ERROR' }; export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus] } export type Role = $Enums.Role export const Role: typeof $Enums.Role export type CheckStatus = $Enums.CheckStatus export const CheckStatus: typeof $Enums.CheckStatus export type RedirectType = $Enums.RedirectType export const RedirectType: typeof $Enums.RedirectType export type MixedContent = $Enums.MixedContent export const MixedContent: typeof $Enums.MixedContent export type JobStatus = $Enums.JobStatus export const JobStatus: typeof $Enums.JobStatus /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient() * // Fetch zero or more Users * const users = await prisma.user.findMany() * ``` * * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). */ export class PrismaClient< ClientOptions extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, U = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array ? Prisma.GetEvents : never : never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs > { [K: symbol]: { types: Prisma.TypeMap['other'] } /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient() * // Fetch zero or more Users * const users = await prisma.user.findMany() * ``` * * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). */ constructor(optionsArg ?: Prisma.Subset); $on(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): void; /** * Connect with the database */ $connect(): $Utils.JsPromise; /** * Disconnect from the database */ $disconnect(): $Utils.JsPromise; /** * Add a middleware * @deprecated since 4.16.0. For new code, prefer client extensions instead. * @see https://pris.ly/d/extensions */ $use(cb: Prisma.Middleware): void /** * Executes a prepared raw query and returns the number of affected rows. * @example * ``` * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};` * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $executeRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; /** * Executes a raw query and returns the number of affected rows. * Susceptible to SQL injections, see documentation. * @example * ``` * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com') * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $executeRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; /** * Performs a prepared raw query and returns the `SELECT` data. * @example * ``` * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};` * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $queryRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; /** * Performs a raw query and returns the `SELECT` data. * Susceptible to SQL injections, see documentation. * @example * ``` * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com') * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $queryRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; /** * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. * @example * ``` * const [george, bob, alice] = await prisma.$transaction([ * prisma.user.create({ data: { name: 'George' } }), * prisma.user.create({ data: { name: 'Bob' } }), * prisma.user.create({ data: { name: 'Alice' } }), * ]) * ``` * * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions). */ $transaction

[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise> $transaction(fn: (prisma: Omit) => $Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs> /** * `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.organization`: Exposes CRUD operations for the **Organization** model. * Example usage: * ```ts * // Fetch zero or more Organizations * const organizations = await prisma.organization.findMany() * ``` */ get organization(): Prisma.OrganizationDelegate; /** * `prisma.orgMembership`: Exposes CRUD operations for the **OrgMembership** model. * Example usage: * ```ts * // Fetch zero or more OrgMemberships * const orgMemberships = await prisma.orgMembership.findMany() * ``` */ get orgMembership(): Prisma.OrgMembershipDelegate; /** * `prisma.project`: Exposes CRUD operations for the **Project** model. * Example usage: * ```ts * // Fetch zero or more Projects * const projects = await prisma.project.findMany() * ``` */ get project(): Prisma.ProjectDelegate; /** * `prisma.check`: Exposes CRUD operations for the **Check** model. * Example usage: * ```ts * // Fetch zero or more Checks * const checks = await prisma.check.findMany() * ``` */ get check(): Prisma.CheckDelegate; /** * `prisma.hop`: Exposes CRUD operations for the **Hop** model. * Example usage: * ```ts * // Fetch zero or more Hops * const hops = await prisma.hop.findMany() * ``` */ get hop(): Prisma.HopDelegate; /** * `prisma.sslInspection`: Exposes CRUD operations for the **SslInspection** model. * Example usage: * ```ts * // Fetch zero or more SslInspections * const sslInspections = await prisma.sslInspection.findMany() * ``` */ get sslInspection(): Prisma.SslInspectionDelegate; /** * `prisma.seoFlags`: Exposes CRUD operations for the **SeoFlags** model. * Example usage: * ```ts * // Fetch zero or more SeoFlags * const seoFlags = await prisma.seoFlags.findMany() * ``` */ get seoFlags(): Prisma.SeoFlagsDelegate; /** * `prisma.securityFlags`: Exposes CRUD operations for the **SecurityFlags** model. * Example usage: * ```ts * // Fetch zero or more SecurityFlags * const securityFlags = await prisma.securityFlags.findMany() * ``` */ get securityFlags(): Prisma.SecurityFlagsDelegate; /** * `prisma.report`: Exposes CRUD operations for the **Report** model. * Example usage: * ```ts * // Fetch zero or more Reports * const reports = await prisma.report.findMany() * ``` */ get report(): Prisma.ReportDelegate; /** * `prisma.bulkJob`: Exposes CRUD operations for the **BulkJob** model. * Example usage: * ```ts * // Fetch zero or more BulkJobs * const bulkJobs = await prisma.bulkJob.findMany() * ``` */ get bulkJob(): Prisma.BulkJobDelegate; /** * `prisma.apiKey`: Exposes CRUD operations for the **ApiKey** model. * Example usage: * ```ts * // Fetch zero or more ApiKeys * const apiKeys = await prisma.apiKey.findMany() * ``` */ get apiKey(): Prisma.ApiKeyDelegate; /** * `prisma.auditLog`: Exposes CRUD operations for the **AuditLog** model. * Example usage: * ```ts * // Fetch zero or more AuditLogs * const auditLogs = await prisma.auditLog.findMany() * ``` */ get auditLog(): Prisma.AuditLogDelegate; } 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 export import NotFoundError = runtime.NotFoundError /** * Re-export of sql-template-tag */ export import sql = runtime.sqltag export import empty = runtime.empty export import join = runtime.join export import raw = runtime.raw export import Sql = runtime.Sql /** * Decimal.js */ export import Decimal = runtime.Decimal export type DecimalJsLike = runtime.DecimalJsLike /** * Metrics */ export type Metrics = runtime.Metrics export type Metric = runtime.Metric export type MetricHistogram = runtime.MetricHistogram export type MetricHistogramBucket = runtime.MetricHistogramBucket /** * Extensions */ export import Extension = $Extensions.UserArgs export import getExtensionContext = runtime.Extensions.getExtensionContext export import Args = $Public.Args export import Payload = $Public.Payload export import Result = $Public.Result export import Exact = $Public.Exact /** * Prisma Client JS version: 5.22.0 * Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2 */ export type PrismaVersion = { client: string } export const prismaVersion: PrismaVersion /** * Utility Types */ export import JsonObject = runtime.JsonObject export import JsonArray = runtime.JsonArray export import JsonValue = runtime.JsonValue export import InputJsonObject = runtime.InputJsonObject export import InputJsonArray = runtime.InputJsonArray export import InputJsonValue = runtime.InputJsonValue /** * Types of the values used to represent different kinds of `null` values when working with JSON fields. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ namespace NullTypes { /** * Type of `Prisma.DbNull`. * * You cannot use other instances of this class. Please use the `Prisma.DbNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class DbNull { private DbNull: never private constructor() } /** * Type of `Prisma.JsonNull`. * * You cannot use other instances of this class. Please use the `Prisma.JsonNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class JsonNull { private JsonNull: never private constructor() } /** * Type of `Prisma.AnyNull`. * * You cannot use other instances of this class. Please use the `Prisma.AnyNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class AnyNull { private AnyNull: never private constructor() } } /** * Helper for filtering JSON entries that have `null` on the database (empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const DbNull: NullTypes.DbNull /** * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const JsonNull: NullTypes.JsonNull /** * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const AnyNull: NullTypes.AnyNull type SelectAndInclude = { select: any include: any } type SelectAndOmit = { select: any omit: any } /** * Get the type of the value, that the Promise holds. */ export type PromiseType> = T extends PromiseLike ? U : T; /** * Get the return type of a function which returns a Promise. */ export type PromiseReturnType $Utils.JsPromise> = PromiseType> /** * From T, pick a set of properties whose keys are in the union K */ type Prisma__Pick = { [P in K]: T[P]; }; export type Enumerable = T | Array; export type RequiredKeys = { [K in keyof T]-?: {} extends Prisma__Pick ? never : K }[keyof T] export type TruthyKeys = keyof { [K in keyof T as T[K] extends false | undefined | null ? never : K]: K } export type TrueKeys = TruthyKeys>> /** * Subset * @desc From `T` pick properties that exist in `U`. Simple version of Intersection */ export type Subset = { [key in keyof T]: key extends keyof U ? T[key] : never; }; /** * SelectSubset * @desc From `T` pick properties that exist in `U`. Simple version of Intersection. * Additionally, it validates, if both select and include are present. If the case, it errors. */ export type SelectSubset = { [key in keyof T]: key extends keyof U ? T[key] : never } & (T extends SelectAndInclude ? 'Please either choose `select` or `include`.' : T extends SelectAndOmit ? 'Please either choose `select` or `omit`.' : {}) /** * Subset + Intersection * @desc From `T` pick properties that exist in `U` and intersect `K` */ export type SubsetIntersection = { [key in keyof T]: key extends keyof U ? T[key] : never } & K type Without = { [P in Exclude]?: never }; /** * XOR is needed to have a real mutually exclusive union type * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types */ type XOR = T extends object ? U extends object ? (Without & U) | (Without & T) : U : T /** * Is T a Record? */ type IsObject = T extends Array ? False : T extends Date ? False : T extends Uint8Array ? False : T extends BigInt ? False : T extends object ? True : False /** * If it's T[], return T */ export type UnEnumerate = T extends Array ? U : T /** * From ts-toolbelt */ type __Either = Omit & { // Merge all but K [P in K]: Prisma__Pick // With K possibilities }[K] type EitherStrict = Strict<__Either> type EitherLoose = ComputeRaw<__Either> type _Either< O extends object, K extends Key, strict extends Boolean > = { 1: EitherStrict 0: EitherLoose }[strict] type Either< O extends object, K extends Key, strict extends Boolean = 1 > = O extends unknown ? _Either : never export type Union = any type PatchUndefined = { [K in keyof O]: O[K] extends undefined ? At : O[K] } & {} /** Helper Types for "Merge" **/ export type IntersectOf = ( U extends unknown ? (k: U) => void : never ) extends (k: infer I) => void ? I : never export type Overwrite = { [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; } & {}; type _Merge = IntersectOf; }>>; type Key = string | number | symbol; type AtBasic = K extends keyof O ? O[K] : never; type AtStrict = O[K & keyof O]; type AtLoose = O extends unknown ? AtStrict : never; export type At = { 1: AtStrict; 0: AtLoose; }[strict]; export type ComputeRaw = A extends Function ? A : { [K in keyof A]: A[K]; } & {}; export type OptionalFlat = { [K in keyof O]?: O[K]; } & {}; type _Record = { [P in K]: T; }; // cause typescript not to expand types and preserve names type NoExpand = T extends unknown ? T : never; // this type assumes the passed object is entirely optional type AtLeast = NoExpand< O extends unknown ? | (K extends keyof O ? { [P in K]: O[P] } & O : O) | {[P in keyof O as P extends K ? K : 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: { User: 'User', Organization: 'Organization', OrgMembership: 'OrgMembership', Project: 'Project', Check: 'Check', Hop: 'Hop', SslInspection: 'SslInspection', SeoFlags: 'SeoFlags', SecurityFlags: 'SecurityFlags', Report: 'Report', BulkJob: 'BulkJob', ApiKey: 'ApiKey', AuditLog: 'AuditLog' }; export type ModelName = (typeof ModelName)[keyof typeof ModelName] export type Datasources = { db?: Datasource } interface TypeMapCb extends $Utils.Fn<{extArgs: $Extensions.InternalArgs, clientOptions: PrismaClientOptions }, $Utils.Record> { returns: Prisma.TypeMap } export type TypeMap = { meta: { modelProps: "user" | "organization" | "orgMembership" | "project" | "check" | "hop" | "sslInspection" | "seoFlags" | "securityFlags" | "report" | "bulkJob" | "apiKey" | "auditLog" txIsolationLevel: Prisma.TransactionIsolationLevel } model: { 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 } 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 } } } Organization: { payload: Prisma.$OrganizationPayload fields: Prisma.OrganizationFieldRefs operations: { findUnique: { args: Prisma.OrganizationFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.OrganizationFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.OrganizationFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.OrganizationFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.OrganizationFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.OrganizationCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.OrganizationCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.OrganizationCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.OrganizationDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.OrganizationUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.OrganizationDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.OrganizationUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.OrganizationUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.OrganizationAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.OrganizationGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.OrganizationCountArgs result: $Utils.Optional | number } } } OrgMembership: { payload: Prisma.$OrgMembershipPayload fields: Prisma.OrgMembershipFieldRefs operations: { findUnique: { args: Prisma.OrgMembershipFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.OrgMembershipFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.OrgMembershipFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.OrgMembershipFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.OrgMembershipFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.OrgMembershipCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.OrgMembershipCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.OrgMembershipCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.OrgMembershipDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.OrgMembershipUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.OrgMembershipDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.OrgMembershipUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.OrgMembershipUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.OrgMembershipAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.OrgMembershipGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.OrgMembershipCountArgs result: $Utils.Optional | number } } } Project: { payload: Prisma.$ProjectPayload fields: Prisma.ProjectFieldRefs operations: { findUnique: { args: Prisma.ProjectFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ProjectFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ProjectFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ProjectFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ProjectFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ProjectCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ProjectCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ProjectCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ProjectDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ProjectUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ProjectDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ProjectUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.ProjectUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ProjectAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ProjectGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ProjectCountArgs result: $Utils.Optional | number } } } Check: { payload: Prisma.$CheckPayload fields: Prisma.CheckFieldRefs operations: { findUnique: { args: Prisma.CheckFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CheckFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CheckFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CheckFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CheckFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CheckCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CheckCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.CheckCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.CheckDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CheckUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CheckDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CheckUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.CheckUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CheckAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CheckGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CheckCountArgs result: $Utils.Optional | number } } } Hop: { payload: Prisma.$HopPayload fields: Prisma.HopFieldRefs operations: { findUnique: { args: Prisma.HopFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.HopFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.HopFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.HopFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.HopFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.HopCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.HopCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.HopCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.HopDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.HopUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.HopDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.HopUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.HopUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.HopAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.HopGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.HopCountArgs result: $Utils.Optional | number } } } SslInspection: { payload: Prisma.$SslInspectionPayload fields: Prisma.SslInspectionFieldRefs operations: { findUnique: { args: Prisma.SslInspectionFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SslInspectionFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SslInspectionFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SslInspectionFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SslInspectionFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SslInspectionCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SslInspectionCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SslInspectionCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SslInspectionDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SslInspectionUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SslInspectionDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SslInspectionUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.SslInspectionUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SslInspectionAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SslInspectionGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SslInspectionCountArgs result: $Utils.Optional | number } } } SeoFlags: { payload: Prisma.$SeoFlagsPayload fields: Prisma.SeoFlagsFieldRefs operations: { findUnique: { args: Prisma.SeoFlagsFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SeoFlagsFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SeoFlagsFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SeoFlagsFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SeoFlagsFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SeoFlagsCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SeoFlagsCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SeoFlagsCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SeoFlagsDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SeoFlagsUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SeoFlagsDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SeoFlagsUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.SeoFlagsUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SeoFlagsAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SeoFlagsGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SeoFlagsCountArgs result: $Utils.Optional | number } } } SecurityFlags: { payload: Prisma.$SecurityFlagsPayload fields: Prisma.SecurityFlagsFieldRefs operations: { findUnique: { args: Prisma.SecurityFlagsFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SecurityFlagsFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SecurityFlagsFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SecurityFlagsFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SecurityFlagsFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SecurityFlagsCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SecurityFlagsCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SecurityFlagsCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SecurityFlagsDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SecurityFlagsUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SecurityFlagsDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SecurityFlagsUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.SecurityFlagsUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SecurityFlagsAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SecurityFlagsGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SecurityFlagsCountArgs result: $Utils.Optional | number } } } Report: { payload: Prisma.$ReportPayload fields: Prisma.ReportFieldRefs operations: { findUnique: { args: Prisma.ReportFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ReportFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ReportFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ReportFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ReportFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ReportCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ReportCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ReportCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ReportDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ReportUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ReportDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ReportUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.ReportUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ReportAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ReportGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ReportCountArgs result: $Utils.Optional | number } } } BulkJob: { payload: Prisma.$BulkJobPayload fields: Prisma.BulkJobFieldRefs operations: { findUnique: { args: Prisma.BulkJobFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.BulkJobFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.BulkJobFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.BulkJobFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.BulkJobFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.BulkJobCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.BulkJobCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.BulkJobCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.BulkJobDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.BulkJobUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.BulkJobDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.BulkJobUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.BulkJobUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.BulkJobAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.BulkJobGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.BulkJobCountArgs result: $Utils.Optional | number } } } ApiKey: { payload: Prisma.$ApiKeyPayload fields: Prisma.ApiKeyFieldRefs operations: { findUnique: { args: Prisma.ApiKeyFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ApiKeyFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ApiKeyFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ApiKeyFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ApiKeyFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ApiKeyCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ApiKeyCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ApiKeyCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ApiKeyDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ApiKeyUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ApiKeyDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ApiKeyUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.ApiKeyUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ApiKeyAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ApiKeyGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ApiKeyCountArgs result: $Utils.Optional | number } } } AuditLog: { payload: Prisma.$AuditLogPayload fields: Prisma.AuditLogFieldRefs operations: { findUnique: { args: Prisma.AuditLogFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AuditLogFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AuditLogFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AuditLogFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AuditLogFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AuditLogCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AuditLogCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.AuditLogCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.AuditLogDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AuditLogUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AuditLogDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AuditLogUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.AuditLogUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AuditLogAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AuditLogGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AuditLogCountArgs result: $Utils.Optional | number } } } } } & { other: { payload: any operations: { $executeRaw: { args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]], result: any } $executeRawUnsafe: { args: [query: string, ...values: any[]], result: any } $queryRaw: { args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]], result: any } $queryRawUnsafe: { args: [query: string, ...values: any[]], result: any } } } } export const defineExtension: $Extensions.ExtendsHook<"define", Prisma.TypeMapCb, $Extensions.DefaultArgs> export type DefaultPrismaClient = PrismaClient export type ErrorFormat = 'pretty' | 'colorless' | 'minimal' export interface PrismaClientOptions { /** * Overwrites the datasource url from your schema.prisma file */ datasources?: Datasources /** * Overwrites the datasource url from your schema.prisma file */ datasourceUrl?: string /** * @default "colorless" */ errorFormat?: ErrorFormat /** * @example * ``` * // Defaults to stdout * log: ['query', 'info', 'warn', 'error'] * * // Emit as events * log: [ * { emit: 'stdout', level: 'query' }, * { emit: 'stdout', level: 'info' }, * { emit: 'stdout', level: 'warn' } * { emit: 'stdout', level: 'error' } * ] * ``` * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option). */ log?: (LogLevel | LogDefinition)[] /** * The default values for transactionOptions * maxWait ?= 2000 * timeout ?= 5000 */ transactionOptions?: { maxWait?: number timeout?: number isolationLevel?: Prisma.TransactionIsolationLevel } } /* Types for Logging */ export type LogLevel = 'info' | 'query' | 'warn' | 'error' export type LogDefinition = { level: LogLevel emit: 'stdout' | 'event' } export type GetLogType = T extends LogDefinition ? T['emit'] extends 'event' ? T['level'] : never : never export type GetEvents = T extends Array ? GetLogType | GetLogType | GetLogType | GetLogType : never export type QueryEvent = { timestamp: Date query: string params: string duration: number target: string } export type LogEvent = { timestamp: Date message: string target: string } /* End Types for Logging */ export type PrismaAction = | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'upsert' | 'delete' | 'deleteMany' | 'executeRaw' | 'queryRaw' | 'aggregate' | 'count' | 'runCommandRaw' | 'findRaw' | 'groupBy' /** * These options are being passed into the middleware as "params" */ export type MiddlewareParams = { model?: ModelName action: PrismaAction args: any dataPath: string[] runInTransaction: boolean } /** * The `T` type makes sure, that the `return proceed` is not forgotten in the middleware implementation */ export type Middleware = ( params: MiddlewareParams, next: (params: MiddlewareParams) => $Utils.JsPromise, ) => $Utils.JsPromise // tested in getLogLevel.test.ts export function getLogLevel(log: Array): LogLevel | undefined; /** * `PrismaClient` proxy available in interactive transactions. */ export type TransactionClient = Omit export type Datasource = { url?: string } /** * Count Types */ /** * Count Type UserCountOutputType */ export type UserCountOutputType = { memberships: number auditLogs: number bulkJobs: number } export type UserCountOutputTypeSelect = { memberships?: boolean | UserCountOutputTypeCountMembershipsArgs auditLogs?: boolean | UserCountOutputTypeCountAuditLogsArgs bulkJobs?: boolean | UserCountOutputTypeCountBulkJobsArgs } // Custom InputTypes /** * UserCountOutputType without action */ export type UserCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the UserCountOutputType */ select?: UserCountOutputTypeSelect | null } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountMembershipsArgs = { where?: OrgMembershipWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountAuditLogsArgs = { where?: AuditLogWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountBulkJobsArgs = { where?: BulkJobWhereInput } /** * Count Type OrganizationCountOutputType */ export type OrganizationCountOutputType = { memberships: number projects: number apiKeys: number auditLogs: number bulkJobs: number } export type OrganizationCountOutputTypeSelect = { memberships?: boolean | OrganizationCountOutputTypeCountMembershipsArgs projects?: boolean | OrganizationCountOutputTypeCountProjectsArgs apiKeys?: boolean | OrganizationCountOutputTypeCountApiKeysArgs auditLogs?: boolean | OrganizationCountOutputTypeCountAuditLogsArgs bulkJobs?: boolean | OrganizationCountOutputTypeCountBulkJobsArgs } // Custom InputTypes /** * OrganizationCountOutputType without action */ export type OrganizationCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the OrganizationCountOutputType */ select?: OrganizationCountOutputTypeSelect | null } /** * OrganizationCountOutputType without action */ export type OrganizationCountOutputTypeCountMembershipsArgs = { where?: OrgMembershipWhereInput } /** * OrganizationCountOutputType without action */ export type OrganizationCountOutputTypeCountProjectsArgs = { where?: ProjectWhereInput } /** * OrganizationCountOutputType without action */ export type OrganizationCountOutputTypeCountApiKeysArgs = { where?: ApiKeyWhereInput } /** * OrganizationCountOutputType without action */ export type OrganizationCountOutputTypeCountAuditLogsArgs = { where?: AuditLogWhereInput } /** * OrganizationCountOutputType without action */ export type OrganizationCountOutputTypeCountBulkJobsArgs = { where?: BulkJobWhereInput } /** * Count Type ProjectCountOutputType */ export type ProjectCountOutputType = { checks: number bulkJobs: number } export type ProjectCountOutputTypeSelect = { checks?: boolean | ProjectCountOutputTypeCountChecksArgs bulkJobs?: boolean | ProjectCountOutputTypeCountBulkJobsArgs } // Custom InputTypes /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ProjectCountOutputType */ select?: ProjectCountOutputTypeSelect | null } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountChecksArgs = { where?: CheckWhereInput } /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountBulkJobsArgs = { where?: BulkJobWhereInput } /** * Count Type CheckCountOutputType */ export type CheckCountOutputType = { hops: number sslInspections: number reports: number } export type CheckCountOutputTypeSelect = { hops?: boolean | CheckCountOutputTypeCountHopsArgs sslInspections?: boolean | CheckCountOutputTypeCountSslInspectionsArgs reports?: boolean | CheckCountOutputTypeCountReportsArgs } // Custom InputTypes /** * CheckCountOutputType without action */ export type CheckCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the CheckCountOutputType */ select?: CheckCountOutputTypeSelect | null } /** * CheckCountOutputType without action */ export type CheckCountOutputTypeCountHopsArgs = { where?: HopWhereInput } /** * CheckCountOutputType without action */ export type CheckCountOutputTypeCountSslInspectionsArgs = { where?: SslInspectionWhereInput } /** * CheckCountOutputType without action */ export type CheckCountOutputTypeCountReportsArgs = { where?: ReportWhereInput } /** * Models */ /** * Model User */ export type AggregateUser = { _count: UserCountAggregateOutputType | null _min: UserMinAggregateOutputType | null _max: UserMaxAggregateOutputType | null } export type UserMinAggregateOutputType = { id: string | null email: string | null name: string | null passwordHash: string | null createdAt: Date | null lastLoginAt: Date | null } export type UserMaxAggregateOutputType = { id: string | null email: string | null name: string | null passwordHash: string | null createdAt: Date | null lastLoginAt: Date | null } export type UserCountAggregateOutputType = { id: number email: number name: number passwordHash: number createdAt: number lastLoginAt: number _all: number } export type UserMinAggregateInputType = { id?: true email?: true name?: true passwordHash?: true createdAt?: true lastLoginAt?: true } export type UserMaxAggregateInputType = { id?: true email?: true name?: true passwordHash?: true createdAt?: true lastLoginAt?: true } export type UserCountAggregateInputType = { id?: true email?: true name?: true passwordHash?: true createdAt?: true lastLoginAt?: 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 email: string name: string passwordHash: string createdAt: Date lastLoginAt: Date | null _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 email?: boolean name?: boolean passwordHash?: boolean createdAt?: boolean lastLoginAt?: boolean memberships?: boolean | User$membershipsArgs auditLogs?: boolean | User$auditLogsArgs bulkJobs?: boolean | User$bulkJobsArgs _count?: boolean | UserCountOutputTypeDefaultArgs }, ExtArgs["result"]["user"]> export type UserSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean email?: boolean name?: boolean passwordHash?: boolean createdAt?: boolean lastLoginAt?: boolean }, ExtArgs["result"]["user"]> export type UserSelectScalar = { id?: boolean email?: boolean name?: boolean passwordHash?: boolean createdAt?: boolean lastLoginAt?: boolean } export type UserInclude = { memberships?: boolean | User$membershipsArgs auditLogs?: boolean | User$auditLogsArgs bulkJobs?: boolean | User$bulkJobsArgs _count?: boolean | UserCountOutputTypeDefaultArgs } export type UserIncludeCreateManyAndReturn = {} export type $UserPayload = { name: "User" objects: { memberships: Prisma.$OrgMembershipPayload[] auditLogs: Prisma.$AuditLogPayload[] bulkJobs: Prisma.$BulkJobPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string email: string name: string passwordHash: string createdAt: Date lastLoginAt: Date | null }, 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"> | null, null, ExtArgs> /** * 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">, never, ExtArgs> /** * 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"> | null, null, ExtArgs> /** * 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">, never, ExtArgs> /** * 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">> /** * 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">, never, ExtArgs> /** * 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">> /** * 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">, never, ExtArgs> /** * 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">, never, ExtArgs> /** * 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 /** * 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">, never, ExtArgs> /** * 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" memberships = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> auditLogs = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> bulkJobs = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | 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 email: FieldRef<"User", 'String'> readonly name: FieldRef<"User", 'String'> readonly passwordHash: FieldRef<"User", 'String'> readonly createdAt: FieldRef<"User", 'DateTime'> readonly lastLoginAt: FieldRef<"User", 'DateTime'> } // Custom InputTypes /** * User findUnique */ export type UserFindUniqueArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | 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 /** * 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 /** * 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 /** * 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 /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * Filter, which Users to fetch. */ where?: UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. */ orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Users. */ cursor?: UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Users. */ skip?: number distinct?: UserScalarFieldEnum | UserScalarFieldEnum[] } /** * User create */ export type UserCreateArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | 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 /** * 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 /** * 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 } /** * User upsert */ export type UserUpsertArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | 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 /** * 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 } /** * User.memberships */ export type User$membershipsArgs = { /** * Select specific fields to fetch from the OrgMembership */ select?: OrgMembershipSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrgMembershipInclude | null where?: OrgMembershipWhereInput orderBy?: OrgMembershipOrderByWithRelationInput | OrgMembershipOrderByWithRelationInput[] cursor?: OrgMembershipWhereUniqueInput take?: number skip?: number distinct?: OrgMembershipScalarFieldEnum | OrgMembershipScalarFieldEnum[] } /** * User.auditLogs */ export type User$auditLogsArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: AuditLogInclude | null where?: AuditLogWhereInput orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[] cursor?: AuditLogWhereUniqueInput take?: number skip?: number distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[] } /** * User.bulkJobs */ export type User$bulkJobsArgs = { /** * Select specific fields to fetch from the BulkJob */ select?: BulkJobSelect | null /** * Choose, which related nodes to fetch as well */ include?: BulkJobInclude | null where?: BulkJobWhereInput orderBy?: BulkJobOrderByWithRelationInput | BulkJobOrderByWithRelationInput[] cursor?: BulkJobWhereUniqueInput take?: number skip?: number distinct?: BulkJobScalarFieldEnum | BulkJobScalarFieldEnum[] } /** * User without action */ export type UserDefaultArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null } /** * Model Organization */ export type AggregateOrganization = { _count: OrganizationCountAggregateOutputType | null _min: OrganizationMinAggregateOutputType | null _max: OrganizationMaxAggregateOutputType | null } export type OrganizationMinAggregateOutputType = { id: string | null name: string | null plan: string | null createdAt: Date | null } export type OrganizationMaxAggregateOutputType = { id: string | null name: string | null plan: string | null createdAt: Date | null } export type OrganizationCountAggregateOutputType = { id: number name: number plan: number createdAt: number _all: number } export type OrganizationMinAggregateInputType = { id?: true name?: true plan?: true createdAt?: true } export type OrganizationMaxAggregateInputType = { id?: true name?: true plan?: true createdAt?: true } export type OrganizationCountAggregateInputType = { id?: true name?: true plan?: true createdAt?: true _all?: true } export type OrganizationAggregateArgs = { /** * Filter which Organization to aggregate. */ where?: OrganizationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Organizations to fetch. */ orderBy?: OrganizationOrderByWithRelationInput | OrganizationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: OrganizationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Organizations from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Organizations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Organizations **/ _count?: true | OrganizationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: OrganizationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: OrganizationMaxAggregateInputType } export type GetOrganizationAggregateType = { [P in keyof T & keyof AggregateOrganization]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type OrganizationGroupByArgs = { where?: OrganizationWhereInput orderBy?: OrganizationOrderByWithAggregationInput | OrganizationOrderByWithAggregationInput[] by: OrganizationScalarFieldEnum[] | OrganizationScalarFieldEnum having?: OrganizationScalarWhereWithAggregatesInput take?: number skip?: number _count?: OrganizationCountAggregateInputType | true _min?: OrganizationMinAggregateInputType _max?: OrganizationMaxAggregateInputType } export type OrganizationGroupByOutputType = { id: string name: string plan: string createdAt: Date _count: OrganizationCountAggregateOutputType | null _min: OrganizationMinAggregateOutputType | null _max: OrganizationMaxAggregateOutputType | null } type GetOrganizationGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof OrganizationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type OrganizationSelect = $Extensions.GetSelect<{ id?: boolean name?: boolean plan?: boolean createdAt?: boolean memberships?: boolean | Organization$membershipsArgs projects?: boolean | Organization$projectsArgs apiKeys?: boolean | Organization$apiKeysArgs auditLogs?: boolean | Organization$auditLogsArgs bulkJobs?: boolean | Organization$bulkJobsArgs _count?: boolean | OrganizationCountOutputTypeDefaultArgs }, ExtArgs["result"]["organization"]> export type OrganizationSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean plan?: boolean createdAt?: boolean }, ExtArgs["result"]["organization"]> export type OrganizationSelectScalar = { id?: boolean name?: boolean plan?: boolean createdAt?: boolean } export type OrganizationInclude = { memberships?: boolean | Organization$membershipsArgs projects?: boolean | Organization$projectsArgs apiKeys?: boolean | Organization$apiKeysArgs auditLogs?: boolean | Organization$auditLogsArgs bulkJobs?: boolean | Organization$bulkJobsArgs _count?: boolean | OrganizationCountOutputTypeDefaultArgs } export type OrganizationIncludeCreateManyAndReturn = {} export type $OrganizationPayload = { name: "Organization" objects: { memberships: Prisma.$OrgMembershipPayload[] projects: Prisma.$ProjectPayload[] apiKeys: Prisma.$ApiKeyPayload[] auditLogs: Prisma.$AuditLogPayload[] bulkJobs: Prisma.$BulkJobPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string name: string plan: string createdAt: Date }, ExtArgs["result"]["organization"]> composites: {} } type OrganizationGetPayload = $Result.GetResult type OrganizationCountArgs = Omit & { select?: OrganizationCountAggregateInputType | true } export interface OrganizationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Organization'], meta: { name: 'Organization' } } /** * Find zero or one Organization that matches the filter. * @param {OrganizationFindUniqueArgs} args - Arguments to find a Organization * @example * // Get one Organization * const organization = await prisma.organization.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one Organization that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {OrganizationFindUniqueOrThrowArgs} args - Arguments to find a Organization * @example * // Get one Organization * const organization = await prisma.organization.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first Organization that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationFindFirstArgs} args - Arguments to find a Organization * @example * // Get one Organization * const organization = await prisma.organization.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first Organization that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationFindFirstOrThrowArgs} args - Arguments to find a Organization * @example * // Get one Organization * const organization = await prisma.organization.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more Organizations that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Organizations * const organizations = await prisma.organization.findMany() * * // Get first 10 Organizations * const organizations = await prisma.organization.findMany({ take: 10 }) * * // Only select the `id` * const organizationWithIdOnly = await prisma.organization.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a Organization. * @param {OrganizationCreateArgs} args - Arguments to create a Organization. * @example * // Create one Organization * const Organization = await prisma.organization.create({ * data: { * // ... data to create a Organization * } * }) * */ create(args: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many Organizations. * @param {OrganizationCreateManyArgs} args - Arguments to create many Organizations. * @example * // Create many Organizations * const organization = await prisma.organization.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Organizations and returns the data saved in the database. * @param {OrganizationCreateManyAndReturnArgs} args - Arguments to create many Organizations. * @example * // Create many Organizations * const organization = await prisma.organization.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Organizations and only return the `id` * const organizationWithIdOnly = await prisma.organization.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> /** * Delete a Organization. * @param {OrganizationDeleteArgs} args - Arguments to delete one Organization. * @example * // Delete one Organization * const Organization = await prisma.organization.delete({ * where: { * // ... filter to delete one Organization * } * }) * */ delete(args: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one Organization. * @param {OrganizationUpdateArgs} args - Arguments to update one Organization. * @example * // Update one Organization * const organization = await prisma.organization.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more Organizations. * @param {OrganizationDeleteManyArgs} args - Arguments to filter Organizations to delete. * @example * // Delete a few Organizations * const { count } = await prisma.organization.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Organizations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Organizations * const organization = await prisma.organization.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one Organization. * @param {OrganizationUpsertArgs} args - Arguments to update or create a Organization. * @example * // Update or create a Organization * const organization = await prisma.organization.upsert({ * create: { * // ... data to create a Organization * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Organization we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__OrganizationClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of Organizations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationCountArgs} args - Arguments to filter Organizations to count. * @example * // Count the number of Organizations * const count = await prisma.organization.count({ * where: { * // ... the filter for the Organizations we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Organization. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Organization. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrganizationGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends OrganizationGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: OrganizationGroupByArgs['orderBy'] } : { orderBy?: OrganizationGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetOrganizationGroupByPayload : Prisma.PrismaPromise /** * Fields of the Organization model */ readonly fields: OrganizationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Organization. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__OrganizationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" memberships = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> projects = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> apiKeys = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> auditLogs = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> bulkJobs = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the Organization model */ interface OrganizationFieldRefs { readonly id: FieldRef<"Organization", 'String'> readonly name: FieldRef<"Organization", 'String'> readonly plan: FieldRef<"Organization", 'String'> readonly createdAt: FieldRef<"Organization", 'DateTime'> } // Custom InputTypes /** * Organization findUnique */ export type OrganizationFindUniqueArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * Filter, which Organization to fetch. */ where: OrganizationWhereUniqueInput } /** * Organization findUniqueOrThrow */ export type OrganizationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * Filter, which Organization to fetch. */ where: OrganizationWhereUniqueInput } /** * Organization findFirst */ export type OrganizationFindFirstArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * Filter, which Organization to fetch. */ where?: OrganizationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Organizations to fetch. */ orderBy?: OrganizationOrderByWithRelationInput | OrganizationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Organizations. */ cursor?: OrganizationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Organizations from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Organizations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Organizations. */ distinct?: OrganizationScalarFieldEnum | OrganizationScalarFieldEnum[] } /** * Organization findFirstOrThrow */ export type OrganizationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * Filter, which Organization to fetch. */ where?: OrganizationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Organizations to fetch. */ orderBy?: OrganizationOrderByWithRelationInput | OrganizationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Organizations. */ cursor?: OrganizationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Organizations from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Organizations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Organizations. */ distinct?: OrganizationScalarFieldEnum | OrganizationScalarFieldEnum[] } /** * Organization findMany */ export type OrganizationFindManyArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * Filter, which Organizations to fetch. */ where?: OrganizationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Organizations to fetch. */ orderBy?: OrganizationOrderByWithRelationInput | OrganizationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Organizations. */ cursor?: OrganizationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Organizations from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Organizations. */ skip?: number distinct?: OrganizationScalarFieldEnum | OrganizationScalarFieldEnum[] } /** * Organization create */ export type OrganizationCreateArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * The data needed to create a Organization. */ data: XOR } /** * Organization createMany */ export type OrganizationCreateManyArgs = { /** * The data used to create many Organizations. */ data: OrganizationCreateManyInput | OrganizationCreateManyInput[] skipDuplicates?: boolean } /** * Organization createManyAndReturn */ export type OrganizationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelectCreateManyAndReturn | null /** * The data used to create many Organizations. */ data: OrganizationCreateManyInput | OrganizationCreateManyInput[] skipDuplicates?: boolean } /** * Organization update */ export type OrganizationUpdateArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * The data needed to update a Organization. */ data: XOR /** * Choose, which Organization to update. */ where: OrganizationWhereUniqueInput } /** * Organization updateMany */ export type OrganizationUpdateManyArgs = { /** * The data used to update Organizations. */ data: XOR /** * Filter which Organizations to update */ where?: OrganizationWhereInput } /** * Organization upsert */ export type OrganizationUpsertArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * The filter to search for the Organization to update in case it exists. */ where: OrganizationWhereUniqueInput /** * In case the Organization found by the `where` argument doesn't exist, create a new Organization with this data. */ create: XOR /** * In case the Organization was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Organization delete */ export type OrganizationDeleteArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null /** * Filter which Organization to delete. */ where: OrganizationWhereUniqueInput } /** * Organization deleteMany */ export type OrganizationDeleteManyArgs = { /** * Filter which Organizations to delete */ where?: OrganizationWhereInput } /** * Organization.memberships */ export type Organization$membershipsArgs = { /** * Select specific fields to fetch from the OrgMembership */ select?: OrgMembershipSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrgMembershipInclude | null where?: OrgMembershipWhereInput orderBy?: OrgMembershipOrderByWithRelationInput | OrgMembershipOrderByWithRelationInput[] cursor?: OrgMembershipWhereUniqueInput take?: number skip?: number distinct?: OrgMembershipScalarFieldEnum | OrgMembershipScalarFieldEnum[] } /** * Organization.projects */ export type Organization$projectsArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null where?: ProjectWhereInput orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[] cursor?: ProjectWhereUniqueInput take?: number skip?: number distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[] } /** * Organization.apiKeys */ export type Organization$apiKeysArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null where?: ApiKeyWhereInput orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] cursor?: ApiKeyWhereUniqueInput take?: number skip?: number distinct?: ApiKeyScalarFieldEnum | ApiKeyScalarFieldEnum[] } /** * Organization.auditLogs */ export type Organization$auditLogsArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: AuditLogInclude | null where?: AuditLogWhereInput orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[] cursor?: AuditLogWhereUniqueInput take?: number skip?: number distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[] } /** * Organization.bulkJobs */ export type Organization$bulkJobsArgs = { /** * Select specific fields to fetch from the BulkJob */ select?: BulkJobSelect | null /** * Choose, which related nodes to fetch as well */ include?: BulkJobInclude | null where?: BulkJobWhereInput orderBy?: BulkJobOrderByWithRelationInput | BulkJobOrderByWithRelationInput[] cursor?: BulkJobWhereUniqueInput take?: number skip?: number distinct?: BulkJobScalarFieldEnum | BulkJobScalarFieldEnum[] } /** * Organization without action */ export type OrganizationDefaultArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null } /** * Model OrgMembership */ export type AggregateOrgMembership = { _count: OrgMembershipCountAggregateOutputType | null _min: OrgMembershipMinAggregateOutputType | null _max: OrgMembershipMaxAggregateOutputType | null } export type OrgMembershipMinAggregateOutputType = { id: string | null orgId: string | null userId: string | null role: $Enums.Role | null } export type OrgMembershipMaxAggregateOutputType = { id: string | null orgId: string | null userId: string | null role: $Enums.Role | null } export type OrgMembershipCountAggregateOutputType = { id: number orgId: number userId: number role: number _all: number } export type OrgMembershipMinAggregateInputType = { id?: true orgId?: true userId?: true role?: true } export type OrgMembershipMaxAggregateInputType = { id?: true orgId?: true userId?: true role?: true } export type OrgMembershipCountAggregateInputType = { id?: true orgId?: true userId?: true role?: true _all?: true } export type OrgMembershipAggregateArgs = { /** * Filter which OrgMembership to aggregate. */ where?: OrgMembershipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of OrgMemberships to fetch. */ orderBy?: OrgMembershipOrderByWithRelationInput | OrgMembershipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: OrgMembershipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` OrgMemberships from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` OrgMemberships. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned OrgMemberships **/ _count?: true | OrgMembershipCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: OrgMembershipMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: OrgMembershipMaxAggregateInputType } export type GetOrgMembershipAggregateType = { [P in keyof T & keyof AggregateOrgMembership]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type OrgMembershipGroupByArgs = { where?: OrgMembershipWhereInput orderBy?: OrgMembershipOrderByWithAggregationInput | OrgMembershipOrderByWithAggregationInput[] by: OrgMembershipScalarFieldEnum[] | OrgMembershipScalarFieldEnum having?: OrgMembershipScalarWhereWithAggregatesInput take?: number skip?: number _count?: OrgMembershipCountAggregateInputType | true _min?: OrgMembershipMinAggregateInputType _max?: OrgMembershipMaxAggregateInputType } export type OrgMembershipGroupByOutputType = { id: string orgId: string userId: string role: $Enums.Role _count: OrgMembershipCountAggregateOutputType | null _min: OrgMembershipMinAggregateOutputType | null _max: OrgMembershipMaxAggregateOutputType | null } type GetOrgMembershipGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof OrgMembershipGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type OrgMembershipSelect = $Extensions.GetSelect<{ id?: boolean orgId?: boolean userId?: boolean role?: boolean organization?: boolean | OrganizationDefaultArgs user?: boolean | UserDefaultArgs }, ExtArgs["result"]["orgMembership"]> export type OrgMembershipSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean orgId?: boolean userId?: boolean role?: boolean organization?: boolean | OrganizationDefaultArgs user?: boolean | UserDefaultArgs }, ExtArgs["result"]["orgMembership"]> export type OrgMembershipSelectScalar = { id?: boolean orgId?: boolean userId?: boolean role?: boolean } export type OrgMembershipInclude = { organization?: boolean | OrganizationDefaultArgs user?: boolean | UserDefaultArgs } export type OrgMembershipIncludeCreateManyAndReturn = { organization?: boolean | OrganizationDefaultArgs user?: boolean | UserDefaultArgs } export type $OrgMembershipPayload = { name: "OrgMembership" objects: { organization: Prisma.$OrganizationPayload user: Prisma.$UserPayload } scalars: $Extensions.GetPayloadResult<{ id: string orgId: string userId: string role: $Enums.Role }, ExtArgs["result"]["orgMembership"]> composites: {} } type OrgMembershipGetPayload = $Result.GetResult type OrgMembershipCountArgs = Omit & { select?: OrgMembershipCountAggregateInputType | true } export interface OrgMembershipDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['OrgMembership'], meta: { name: 'OrgMembership' } } /** * Find zero or one OrgMembership that matches the filter. * @param {OrgMembershipFindUniqueArgs} args - Arguments to find a OrgMembership * @example * // Get one OrgMembership * const orgMembership = await prisma.orgMembership.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__OrgMembershipClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one OrgMembership that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {OrgMembershipFindUniqueOrThrowArgs} args - Arguments to find a OrgMembership * @example * // Get one OrgMembership * const orgMembership = await prisma.orgMembership.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__OrgMembershipClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first OrgMembership 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 {OrgMembershipFindFirstArgs} args - Arguments to find a OrgMembership * @example * // Get one OrgMembership * const orgMembership = await prisma.orgMembership.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__OrgMembershipClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first OrgMembership 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 {OrgMembershipFindFirstOrThrowArgs} args - Arguments to find a OrgMembership * @example * // Get one OrgMembership * const orgMembership = await prisma.orgMembership.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__OrgMembershipClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more OrgMemberships 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 {OrgMembershipFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all OrgMemberships * const orgMemberships = await prisma.orgMembership.findMany() * * // Get first 10 OrgMemberships * const orgMemberships = await prisma.orgMembership.findMany({ take: 10 }) * * // Only select the `id` * const orgMembershipWithIdOnly = await prisma.orgMembership.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a OrgMembership. * @param {OrgMembershipCreateArgs} args - Arguments to create a OrgMembership. * @example * // Create one OrgMembership * const OrgMembership = await prisma.orgMembership.create({ * data: { * // ... data to create a OrgMembership * } * }) * */ create(args: SelectSubset>): Prisma__OrgMembershipClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many OrgMemberships. * @param {OrgMembershipCreateManyArgs} args - Arguments to create many OrgMemberships. * @example * // Create many OrgMemberships * const orgMembership = await prisma.orgMembership.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many OrgMemberships and returns the data saved in the database. * @param {OrgMembershipCreateManyAndReturnArgs} args - Arguments to create many OrgMemberships. * @example * // Create many OrgMemberships * const orgMembership = await prisma.orgMembership.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many OrgMemberships and only return the `id` * const orgMembershipWithIdOnly = await prisma.orgMembership.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">> /** * Delete a OrgMembership. * @param {OrgMembershipDeleteArgs} args - Arguments to delete one OrgMembership. * @example * // Delete one OrgMembership * const OrgMembership = await prisma.orgMembership.delete({ * where: { * // ... filter to delete one OrgMembership * } * }) * */ delete(args: SelectSubset>): Prisma__OrgMembershipClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one OrgMembership. * @param {OrgMembershipUpdateArgs} args - Arguments to update one OrgMembership. * @example * // Update one OrgMembership * const orgMembership = await prisma.orgMembership.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__OrgMembershipClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more OrgMemberships. * @param {OrgMembershipDeleteManyArgs} args - Arguments to filter OrgMemberships to delete. * @example * // Delete a few OrgMemberships * const { count } = await prisma.orgMembership.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more OrgMemberships. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrgMembershipUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many OrgMemberships * const orgMembership = await prisma.orgMembership.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one OrgMembership. * @param {OrgMembershipUpsertArgs} args - Arguments to update or create a OrgMembership. * @example * // Update or create a OrgMembership * const orgMembership = await prisma.orgMembership.upsert({ * create: { * // ... data to create a OrgMembership * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the OrgMembership we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__OrgMembershipClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of OrgMemberships. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrgMembershipCountArgs} args - Arguments to filter OrgMemberships to count. * @example * // Count the number of OrgMemberships * const count = await prisma.orgMembership.count({ * where: { * // ... the filter for the OrgMemberships 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 OrgMembership. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrgMembershipAggregateArgs} 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 OrgMembership. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrgMembershipGroupByArgs} 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 OrgMembershipGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: OrgMembershipGroupByArgs['orderBy'] } : { orderBy?: OrgMembershipGroupByArgs['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 ? GetOrgMembershipGroupByPayload : Prisma.PrismaPromise /** * Fields of the OrgMembership model */ readonly fields: OrgMembershipFieldRefs; } /** * The delegate class that acts as a "Promise-like" for OrgMembership. * 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__OrgMembershipClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" organization = {}>(args?: Subset>): Prisma__OrganizationClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> /** * 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 OrgMembership model */ interface OrgMembershipFieldRefs { readonly id: FieldRef<"OrgMembership", 'String'> readonly orgId: FieldRef<"OrgMembership", 'String'> readonly userId: FieldRef<"OrgMembership", 'String'> readonly role: FieldRef<"OrgMembership", 'Role'> } // Custom InputTypes /** * OrgMembership findUnique */ export type OrgMembershipFindUniqueArgs = { /** * Select specific fields to fetch from the OrgMembership */ select?: OrgMembershipSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrgMembershipInclude | null /** * Filter, which OrgMembership to fetch. */ where: OrgMembershipWhereUniqueInput } /** * OrgMembership findUniqueOrThrow */ export type OrgMembershipFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the OrgMembership */ select?: OrgMembershipSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrgMembershipInclude | null /** * Filter, which OrgMembership to fetch. */ where: OrgMembershipWhereUniqueInput } /** * OrgMembership findFirst */ export type OrgMembershipFindFirstArgs = { /** * Select specific fields to fetch from the OrgMembership */ select?: OrgMembershipSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrgMembershipInclude | null /** * Filter, which OrgMembership to fetch. */ where?: OrgMembershipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of OrgMemberships to fetch. */ orderBy?: OrgMembershipOrderByWithRelationInput | OrgMembershipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for OrgMemberships. */ cursor?: OrgMembershipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` OrgMemberships from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` OrgMemberships. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of OrgMemberships. */ distinct?: OrgMembershipScalarFieldEnum | OrgMembershipScalarFieldEnum[] } /** * OrgMembership findFirstOrThrow */ export type OrgMembershipFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the OrgMembership */ select?: OrgMembershipSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrgMembershipInclude | null /** * Filter, which OrgMembership to fetch. */ where?: OrgMembershipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of OrgMemberships to fetch. */ orderBy?: OrgMembershipOrderByWithRelationInput | OrgMembershipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for OrgMemberships. */ cursor?: OrgMembershipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` OrgMemberships from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` OrgMemberships. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of OrgMemberships. */ distinct?: OrgMembershipScalarFieldEnum | OrgMembershipScalarFieldEnum[] } /** * OrgMembership findMany */ export type OrgMembershipFindManyArgs = { /** * Select specific fields to fetch from the OrgMembership */ select?: OrgMembershipSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrgMembershipInclude | null /** * Filter, which OrgMemberships to fetch. */ where?: OrgMembershipWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of OrgMemberships to fetch. */ orderBy?: OrgMembershipOrderByWithRelationInput | OrgMembershipOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing OrgMemberships. */ cursor?: OrgMembershipWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` OrgMemberships from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` OrgMemberships. */ skip?: number distinct?: OrgMembershipScalarFieldEnum | OrgMembershipScalarFieldEnum[] } /** * OrgMembership create */ export type OrgMembershipCreateArgs = { /** * Select specific fields to fetch from the OrgMembership */ select?: OrgMembershipSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrgMembershipInclude | null /** * The data needed to create a OrgMembership. */ data: XOR } /** * OrgMembership createMany */ export type OrgMembershipCreateManyArgs = { /** * The data used to create many OrgMemberships. */ data: OrgMembershipCreateManyInput | OrgMembershipCreateManyInput[] skipDuplicates?: boolean } /** * OrgMembership createManyAndReturn */ export type OrgMembershipCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the OrgMembership */ select?: OrgMembershipSelectCreateManyAndReturn | null /** * The data used to create many OrgMemberships. */ data: OrgMembershipCreateManyInput | OrgMembershipCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: OrgMembershipIncludeCreateManyAndReturn | null } /** * OrgMembership update */ export type OrgMembershipUpdateArgs = { /** * Select specific fields to fetch from the OrgMembership */ select?: OrgMembershipSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrgMembershipInclude | null /** * The data needed to update a OrgMembership. */ data: XOR /** * Choose, which OrgMembership to update. */ where: OrgMembershipWhereUniqueInput } /** * OrgMembership updateMany */ export type OrgMembershipUpdateManyArgs = { /** * The data used to update OrgMemberships. */ data: XOR /** * Filter which OrgMemberships to update */ where?: OrgMembershipWhereInput } /** * OrgMembership upsert */ export type OrgMembershipUpsertArgs = { /** * Select specific fields to fetch from the OrgMembership */ select?: OrgMembershipSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrgMembershipInclude | null /** * The filter to search for the OrgMembership to update in case it exists. */ where: OrgMembershipWhereUniqueInput /** * In case the OrgMembership found by the `where` argument doesn't exist, create a new OrgMembership with this data. */ create: XOR /** * In case the OrgMembership was found with the provided `where` argument, update it with this data. */ update: XOR } /** * OrgMembership delete */ export type OrgMembershipDeleteArgs = { /** * Select specific fields to fetch from the OrgMembership */ select?: OrgMembershipSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrgMembershipInclude | null /** * Filter which OrgMembership to delete. */ where: OrgMembershipWhereUniqueInput } /** * OrgMembership deleteMany */ export type OrgMembershipDeleteManyArgs = { /** * Filter which OrgMemberships to delete */ where?: OrgMembershipWhereInput } /** * OrgMembership without action */ export type OrgMembershipDefaultArgs = { /** * Select specific fields to fetch from the OrgMembership */ select?: OrgMembershipSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrgMembershipInclude | null } /** * Model Project */ export type AggregateProject = { _count: ProjectCountAggregateOutputType | null _min: ProjectMinAggregateOutputType | null _max: ProjectMaxAggregateOutputType | null } export type ProjectMinAggregateOutputType = { id: string | null orgId: string | null name: string | null createdAt: Date | null } export type ProjectMaxAggregateOutputType = { id: string | null orgId: string | null name: string | null createdAt: Date | null } export type ProjectCountAggregateOutputType = { id: number orgId: number name: number settingsJson: number createdAt: number _all: number } export type ProjectMinAggregateInputType = { id?: true orgId?: true name?: true createdAt?: true } export type ProjectMaxAggregateInputType = { id?: true orgId?: true name?: true createdAt?: true } export type ProjectCountAggregateInputType = { id?: true orgId?: true name?: true settingsJson?: true createdAt?: true _all?: true } export type ProjectAggregateArgs = { /** * Filter which Project to aggregate. */ where?: ProjectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ProjectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Projects. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Projects **/ _count?: true | ProjectCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ProjectMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ProjectMaxAggregateInputType } export type GetProjectAggregateType = { [P in keyof T & keyof AggregateProject]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ProjectGroupByArgs = { where?: ProjectWhereInput orderBy?: ProjectOrderByWithAggregationInput | ProjectOrderByWithAggregationInput[] by: ProjectScalarFieldEnum[] | ProjectScalarFieldEnum having?: ProjectScalarWhereWithAggregatesInput take?: number skip?: number _count?: ProjectCountAggregateInputType | true _min?: ProjectMinAggregateInputType _max?: ProjectMaxAggregateInputType } export type ProjectGroupByOutputType = { id: string orgId: string name: string settingsJson: JsonValue createdAt: Date _count: ProjectCountAggregateOutputType | null _min: ProjectMinAggregateOutputType | null _max: ProjectMaxAggregateOutputType | null } type GetProjectGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ProjectGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ProjectSelect = $Extensions.GetSelect<{ id?: boolean orgId?: boolean name?: boolean settingsJson?: boolean createdAt?: boolean organization?: boolean | OrganizationDefaultArgs checks?: boolean | Project$checksArgs bulkJobs?: boolean | Project$bulkJobsArgs _count?: boolean | ProjectCountOutputTypeDefaultArgs }, ExtArgs["result"]["project"]> export type ProjectSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean orgId?: boolean name?: boolean settingsJson?: boolean createdAt?: boolean organization?: boolean | OrganizationDefaultArgs }, ExtArgs["result"]["project"]> export type ProjectSelectScalar = { id?: boolean orgId?: boolean name?: boolean settingsJson?: boolean createdAt?: boolean } export type ProjectInclude = { organization?: boolean | OrganizationDefaultArgs checks?: boolean | Project$checksArgs bulkJobs?: boolean | Project$bulkJobsArgs _count?: boolean | ProjectCountOutputTypeDefaultArgs } export type ProjectIncludeCreateManyAndReturn = { organization?: boolean | OrganizationDefaultArgs } export type $ProjectPayload = { name: "Project" objects: { organization: Prisma.$OrganizationPayload checks: Prisma.$CheckPayload[] bulkJobs: Prisma.$BulkJobPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string orgId: string name: string settingsJson: Prisma.JsonValue createdAt: Date }, ExtArgs["result"]["project"]> composites: {} } type ProjectGetPayload = $Result.GetResult type ProjectCountArgs = Omit & { select?: ProjectCountAggregateInputType | true } export interface ProjectDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Project'], meta: { name: 'Project' } } /** * Find zero or one Project that matches the filter. * @param {ProjectFindUniqueArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one Project that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ProjectFindUniqueOrThrowArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first Project that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectFindFirstArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first Project that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectFindFirstOrThrowArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more Projects that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Projects * const projects = await prisma.project.findMany() * * // Get first 10 Projects * const projects = await prisma.project.findMany({ take: 10 }) * * // Only select the `id` * const projectWithIdOnly = await prisma.project.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a Project. * @param {ProjectCreateArgs} args - Arguments to create a Project. * @example * // Create one Project * const Project = await prisma.project.create({ * data: { * // ... data to create a Project * } * }) * */ create(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many Projects. * @param {ProjectCreateManyArgs} args - Arguments to create many Projects. * @example * // Create many Projects * const project = await prisma.project.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Projects and returns the data saved in the database. * @param {ProjectCreateManyAndReturnArgs} args - Arguments to create many Projects. * @example * // Create many Projects * const project = await prisma.project.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Projects and only return the `id` * const projectWithIdOnly = await prisma.project.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> /** * Delete a Project. * @param {ProjectDeleteArgs} args - Arguments to delete one Project. * @example * // Delete one Project * const Project = await prisma.project.delete({ * where: { * // ... filter to delete one Project * } * }) * */ delete(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one Project. * @param {ProjectUpdateArgs} args - Arguments to update one Project. * @example * // Update one Project * const project = await prisma.project.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more Projects. * @param {ProjectDeleteManyArgs} args - Arguments to filter Projects to delete. * @example * // Delete a few Projects * const { count } = await prisma.project.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Projects. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Projects * const project = await prisma.project.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one Project. * @param {ProjectUpsertArgs} args - Arguments to update or create a Project. * @example * // Update or create a Project * const project = await prisma.project.upsert({ * create: { * // ... data to create a Project * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Project we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ProjectClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of Projects. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectCountArgs} args - Arguments to filter Projects to count. * @example * // Count the number of Projects * const count = await prisma.project.count({ * where: { * // ... the filter for the Projects we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Project. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Project. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends ProjectGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ProjectGroupByArgs['orderBy'] } : { orderBy?: ProjectGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetProjectGroupByPayload : Prisma.PrismaPromise /** * Fields of the Project model */ readonly fields: ProjectFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Project. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__ProjectClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" organization = {}>(args?: Subset>): Prisma__OrganizationClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> checks = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> bulkJobs = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the Project model */ interface ProjectFieldRefs { readonly id: FieldRef<"Project", 'String'> readonly orgId: FieldRef<"Project", 'String'> readonly name: FieldRef<"Project", 'String'> readonly settingsJson: FieldRef<"Project", 'Json'> readonly createdAt: FieldRef<"Project", 'DateTime'> } // Custom InputTypes /** * Project findUnique */ export type ProjectFindUniqueArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Project to fetch. */ where: ProjectWhereUniqueInput } /** * Project findUniqueOrThrow */ export type ProjectFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Project to fetch. */ where: ProjectWhereUniqueInput } /** * Project findFirst */ export type ProjectFindFirstArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Project to fetch. */ where?: ProjectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Projects. */ cursor?: ProjectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Projects. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Projects. */ distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[] } /** * Project findFirstOrThrow */ export type ProjectFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Project to fetch. */ where?: ProjectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Projects. */ cursor?: ProjectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Projects. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Projects. */ distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[] } /** * Project findMany */ export type ProjectFindManyArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter, which Projects to fetch. */ where?: ProjectWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Projects. */ cursor?: ProjectWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Projects. */ skip?: number distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[] } /** * Project create */ export type ProjectCreateArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * The data needed to create a Project. */ data: XOR } /** * Project createMany */ export type ProjectCreateManyArgs = { /** * The data used to create many Projects. */ data: ProjectCreateManyInput | ProjectCreateManyInput[] skipDuplicates?: boolean } /** * Project createManyAndReturn */ export type ProjectCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelectCreateManyAndReturn | null /** * The data used to create many Projects. */ data: ProjectCreateManyInput | ProjectCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: ProjectIncludeCreateManyAndReturn | null } /** * Project update */ export type ProjectUpdateArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * The data needed to update a Project. */ data: XOR /** * Choose, which Project to update. */ where: ProjectWhereUniqueInput } /** * Project updateMany */ export type ProjectUpdateManyArgs = { /** * The data used to update Projects. */ data: XOR /** * Filter which Projects to update */ where?: ProjectWhereInput } /** * Project upsert */ export type ProjectUpsertArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * The filter to search for the Project to update in case it exists. */ where: ProjectWhereUniqueInput /** * In case the Project found by the `where` argument doesn't exist, create a new Project with this data. */ create: XOR /** * In case the Project was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Project delete */ export type ProjectDeleteArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null /** * Filter which Project to delete. */ where: ProjectWhereUniqueInput } /** * Project deleteMany */ export type ProjectDeleteManyArgs = { /** * Filter which Projects to delete */ where?: ProjectWhereInput } /** * Project.checks */ export type Project$checksArgs = { /** * Select specific fields to fetch from the Check */ select?: CheckSelect | null /** * Choose, which related nodes to fetch as well */ include?: CheckInclude | null where?: CheckWhereInput orderBy?: CheckOrderByWithRelationInput | CheckOrderByWithRelationInput[] cursor?: CheckWhereUniqueInput take?: number skip?: number distinct?: CheckScalarFieldEnum | CheckScalarFieldEnum[] } /** * Project.bulkJobs */ export type Project$bulkJobsArgs = { /** * Select specific fields to fetch from the BulkJob */ select?: BulkJobSelect | null /** * Choose, which related nodes to fetch as well */ include?: BulkJobInclude | null where?: BulkJobWhereInput orderBy?: BulkJobOrderByWithRelationInput | BulkJobOrderByWithRelationInput[] cursor?: BulkJobWhereUniqueInput take?: number skip?: number distinct?: BulkJobScalarFieldEnum | BulkJobScalarFieldEnum[] } /** * Project without action */ export type ProjectDefaultArgs = { /** * Select specific fields to fetch from the Project */ select?: ProjectSelect | null /** * Choose, which related nodes to fetch as well */ include?: ProjectInclude | null } /** * Model Check */ export type AggregateCheck = { _count: CheckCountAggregateOutputType | null _avg: CheckAvgAggregateOutputType | null _sum: CheckSumAggregateOutputType | null _min: CheckMinAggregateOutputType | null _max: CheckMaxAggregateOutputType | null } export type CheckAvgAggregateOutputType = { totalTimeMs: number | null } export type CheckSumAggregateOutputType = { totalTimeMs: number | null } export type CheckMinAggregateOutputType = { id: string | null projectId: string | null inputUrl: string | null method: string | null userAgent: string | null startedAt: Date | null finishedAt: Date | null status: $Enums.CheckStatus | null finalUrl: string | null totalTimeMs: number | null reportId: string | null } export type CheckMaxAggregateOutputType = { id: string | null projectId: string | null inputUrl: string | null method: string | null userAgent: string | null startedAt: Date | null finishedAt: Date | null status: $Enums.CheckStatus | null finalUrl: string | null totalTimeMs: number | null reportId: string | null } export type CheckCountAggregateOutputType = { id: number projectId: number inputUrl: number method: number headersJson: number userAgent: number startedAt: number finishedAt: number status: number finalUrl: number totalTimeMs: number reportId: number _all: number } export type CheckAvgAggregateInputType = { totalTimeMs?: true } export type CheckSumAggregateInputType = { totalTimeMs?: true } export type CheckMinAggregateInputType = { id?: true projectId?: true inputUrl?: true method?: true userAgent?: true startedAt?: true finishedAt?: true status?: true finalUrl?: true totalTimeMs?: true reportId?: true } export type CheckMaxAggregateInputType = { id?: true projectId?: true inputUrl?: true method?: true userAgent?: true startedAt?: true finishedAt?: true status?: true finalUrl?: true totalTimeMs?: true reportId?: true } export type CheckCountAggregateInputType = { id?: true projectId?: true inputUrl?: true method?: true headersJson?: true userAgent?: true startedAt?: true finishedAt?: true status?: true finalUrl?: true totalTimeMs?: true reportId?: true _all?: true } export type CheckAggregateArgs = { /** * Filter which Check to aggregate. */ where?: CheckWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Checks to fetch. */ orderBy?: CheckOrderByWithRelationInput | CheckOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CheckWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Checks from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Checks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Checks **/ _count?: true | CheckCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: CheckAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: CheckSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CheckMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CheckMaxAggregateInputType } export type GetCheckAggregateType = { [P in keyof T & keyof AggregateCheck]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CheckGroupByArgs = { where?: CheckWhereInput orderBy?: CheckOrderByWithAggregationInput | CheckOrderByWithAggregationInput[] by: CheckScalarFieldEnum[] | CheckScalarFieldEnum having?: CheckScalarWhereWithAggregatesInput take?: number skip?: number _count?: CheckCountAggregateInputType | true _avg?: CheckAvgAggregateInputType _sum?: CheckSumAggregateInputType _min?: CheckMinAggregateInputType _max?: CheckMaxAggregateInputType } export type CheckGroupByOutputType = { id: string projectId: string inputUrl: string method: string headersJson: JsonValue userAgent: string | null startedAt: Date finishedAt: Date | null status: $Enums.CheckStatus finalUrl: string | null totalTimeMs: number | null reportId: string | null _count: CheckCountAggregateOutputType | null _avg: CheckAvgAggregateOutputType | null _sum: CheckSumAggregateOutputType | null _min: CheckMinAggregateOutputType | null _max: CheckMaxAggregateOutputType | null } type GetCheckGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CheckGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CheckSelect = $Extensions.GetSelect<{ id?: boolean projectId?: boolean inputUrl?: boolean method?: boolean headersJson?: boolean userAgent?: boolean startedAt?: boolean finishedAt?: boolean status?: boolean finalUrl?: boolean totalTimeMs?: boolean reportId?: boolean project?: boolean | ProjectDefaultArgs hops?: boolean | Check$hopsArgs sslInspections?: boolean | Check$sslInspectionsArgs seoFlags?: boolean | Check$seoFlagsArgs securityFlags?: boolean | Check$securityFlagsArgs reports?: boolean | Check$reportsArgs _count?: boolean | CheckCountOutputTypeDefaultArgs }, ExtArgs["result"]["check"]> export type CheckSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean projectId?: boolean inputUrl?: boolean method?: boolean headersJson?: boolean userAgent?: boolean startedAt?: boolean finishedAt?: boolean status?: boolean finalUrl?: boolean totalTimeMs?: boolean reportId?: boolean project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["check"]> export type CheckSelectScalar = { id?: boolean projectId?: boolean inputUrl?: boolean method?: boolean headersJson?: boolean userAgent?: boolean startedAt?: boolean finishedAt?: boolean status?: boolean finalUrl?: boolean totalTimeMs?: boolean reportId?: boolean } export type CheckInclude = { project?: boolean | ProjectDefaultArgs hops?: boolean | Check$hopsArgs sslInspections?: boolean | Check$sslInspectionsArgs seoFlags?: boolean | Check$seoFlagsArgs securityFlags?: boolean | Check$securityFlagsArgs reports?: boolean | Check$reportsArgs _count?: boolean | CheckCountOutputTypeDefaultArgs } export type CheckIncludeCreateManyAndReturn = { project?: boolean | ProjectDefaultArgs } export type $CheckPayload = { name: "Check" objects: { project: Prisma.$ProjectPayload hops: Prisma.$HopPayload[] sslInspections: Prisma.$SslInspectionPayload[] seoFlags: Prisma.$SeoFlagsPayload | null securityFlags: Prisma.$SecurityFlagsPayload | null reports: Prisma.$ReportPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string projectId: string inputUrl: string method: string headersJson: Prisma.JsonValue userAgent: string | null startedAt: Date finishedAt: Date | null status: $Enums.CheckStatus finalUrl: string | null totalTimeMs: number | null reportId: string | null }, ExtArgs["result"]["check"]> composites: {} } type CheckGetPayload = $Result.GetResult type CheckCountArgs = Omit & { select?: CheckCountAggregateInputType | true } export interface CheckDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Check'], meta: { name: 'Check' } } /** * Find zero or one Check that matches the filter. * @param {CheckFindUniqueArgs} args - Arguments to find a Check * @example * // Get one Check * const check = await prisma.check.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CheckClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one Check that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CheckFindUniqueOrThrowArgs} args - Arguments to find a Check * @example * // Get one Check * const check = await prisma.check.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CheckClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first Check 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 {CheckFindFirstArgs} args - Arguments to find a Check * @example * // Get one Check * const check = await prisma.check.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CheckClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first Check 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 {CheckFindFirstOrThrowArgs} args - Arguments to find a Check * @example * // Get one Check * const check = await prisma.check.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CheckClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more Checks 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 {CheckFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Checks * const checks = await prisma.check.findMany() * * // Get first 10 Checks * const checks = await prisma.check.findMany({ take: 10 }) * * // Only select the `id` * const checkWithIdOnly = await prisma.check.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a Check. * @param {CheckCreateArgs} args - Arguments to create a Check. * @example * // Create one Check * const Check = await prisma.check.create({ * data: { * // ... data to create a Check * } * }) * */ create(args: SelectSubset>): Prisma__CheckClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many Checks. * @param {CheckCreateManyArgs} args - Arguments to create many Checks. * @example * // Create many Checks * const check = await prisma.check.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Checks and returns the data saved in the database. * @param {CheckCreateManyAndReturnArgs} args - Arguments to create many Checks. * @example * // Create many Checks * const check = await prisma.check.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Checks and only return the `id` * const checkWithIdOnly = await prisma.check.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">> /** * Delete a Check. * @param {CheckDeleteArgs} args - Arguments to delete one Check. * @example * // Delete one Check * const Check = await prisma.check.delete({ * where: { * // ... filter to delete one Check * } * }) * */ delete(args: SelectSubset>): Prisma__CheckClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one Check. * @param {CheckUpdateArgs} args - Arguments to update one Check. * @example * // Update one Check * const check = await prisma.check.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CheckClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more Checks. * @param {CheckDeleteManyArgs} args - Arguments to filter Checks to delete. * @example * // Delete a few Checks * const { count } = await prisma.check.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Checks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CheckUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Checks * const check = await prisma.check.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one Check. * @param {CheckUpsertArgs} args - Arguments to update or create a Check. * @example * // Update or create a Check * const check = await prisma.check.upsert({ * create: { * // ... data to create a Check * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Check we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CheckClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of Checks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CheckCountArgs} args - Arguments to filter Checks to count. * @example * // Count the number of Checks * const count = await prisma.check.count({ * where: { * // ... the filter for the Checks 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 Check. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CheckAggregateArgs} 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 Check. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CheckGroupByArgs} 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 CheckGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CheckGroupByArgs['orderBy'] } : { orderBy?: CheckGroupByArgs['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 ? GetCheckGroupByPayload : Prisma.PrismaPromise /** * Fields of the Check model */ readonly fields: CheckFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Check. * 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__CheckClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> hops = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> sslInspections = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | Null> seoFlags = {}>(args?: Subset>): Prisma__SeoFlagsClient<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> securityFlags = {}>(args?: Subset>): Prisma__SecurityFlagsClient<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> reports = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany"> | 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 Check model */ interface CheckFieldRefs { readonly id: FieldRef<"Check", 'String'> readonly projectId: FieldRef<"Check", 'String'> readonly inputUrl: FieldRef<"Check", 'String'> readonly method: FieldRef<"Check", 'String'> readonly headersJson: FieldRef<"Check", 'Json'> readonly userAgent: FieldRef<"Check", 'String'> readonly startedAt: FieldRef<"Check", 'DateTime'> readonly finishedAt: FieldRef<"Check", 'DateTime'> readonly status: FieldRef<"Check", 'CheckStatus'> readonly finalUrl: FieldRef<"Check", 'String'> readonly totalTimeMs: FieldRef<"Check", 'Int'> readonly reportId: FieldRef<"Check", 'String'> } // Custom InputTypes /** * Check findUnique */ export type CheckFindUniqueArgs = { /** * Select specific fields to fetch from the Check */ select?: CheckSelect | null /** * Choose, which related nodes to fetch as well */ include?: CheckInclude | null /** * Filter, which Check to fetch. */ where: CheckWhereUniqueInput } /** * Check findUniqueOrThrow */ export type CheckFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Check */ select?: CheckSelect | null /** * Choose, which related nodes to fetch as well */ include?: CheckInclude | null /** * Filter, which Check to fetch. */ where: CheckWhereUniqueInput } /** * Check findFirst */ export type CheckFindFirstArgs = { /** * Select specific fields to fetch from the Check */ select?: CheckSelect | null /** * Choose, which related nodes to fetch as well */ include?: CheckInclude | null /** * Filter, which Check to fetch. */ where?: CheckWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Checks to fetch. */ orderBy?: CheckOrderByWithRelationInput | CheckOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Checks. */ cursor?: CheckWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Checks from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Checks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Checks. */ distinct?: CheckScalarFieldEnum | CheckScalarFieldEnum[] } /** * Check findFirstOrThrow */ export type CheckFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Check */ select?: CheckSelect | null /** * Choose, which related nodes to fetch as well */ include?: CheckInclude | null /** * Filter, which Check to fetch. */ where?: CheckWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Checks to fetch. */ orderBy?: CheckOrderByWithRelationInput | CheckOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Checks. */ cursor?: CheckWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Checks from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Checks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Checks. */ distinct?: CheckScalarFieldEnum | CheckScalarFieldEnum[] } /** * Check findMany */ export type CheckFindManyArgs = { /** * Select specific fields to fetch from the Check */ select?: CheckSelect | null /** * Choose, which related nodes to fetch as well */ include?: CheckInclude | null /** * Filter, which Checks to fetch. */ where?: CheckWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Checks to fetch. */ orderBy?: CheckOrderByWithRelationInput | CheckOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Checks. */ cursor?: CheckWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Checks from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Checks. */ skip?: number distinct?: CheckScalarFieldEnum | CheckScalarFieldEnum[] } /** * Check create */ export type CheckCreateArgs = { /** * Select specific fields to fetch from the Check */ select?: CheckSelect | null /** * Choose, which related nodes to fetch as well */ include?: CheckInclude | null /** * The data needed to create a Check. */ data: XOR } /** * Check createMany */ export type CheckCreateManyArgs = { /** * The data used to create many Checks. */ data: CheckCreateManyInput | CheckCreateManyInput[] skipDuplicates?: boolean } /** * Check createManyAndReturn */ export type CheckCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Check */ select?: CheckSelectCreateManyAndReturn | null /** * The data used to create many Checks. */ data: CheckCreateManyInput | CheckCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: CheckIncludeCreateManyAndReturn | null } /** * Check update */ export type CheckUpdateArgs = { /** * Select specific fields to fetch from the Check */ select?: CheckSelect | null /** * Choose, which related nodes to fetch as well */ include?: CheckInclude | null /** * The data needed to update a Check. */ data: XOR /** * Choose, which Check to update. */ where: CheckWhereUniqueInput } /** * Check updateMany */ export type CheckUpdateManyArgs = { /** * The data used to update Checks. */ data: XOR /** * Filter which Checks to update */ where?: CheckWhereInput } /** * Check upsert */ export type CheckUpsertArgs = { /** * Select specific fields to fetch from the Check */ select?: CheckSelect | null /** * Choose, which related nodes to fetch as well */ include?: CheckInclude | null /** * The filter to search for the Check to update in case it exists. */ where: CheckWhereUniqueInput /** * In case the Check found by the `where` argument doesn't exist, create a new Check with this data. */ create: XOR /** * In case the Check was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Check delete */ export type CheckDeleteArgs = { /** * Select specific fields to fetch from the Check */ select?: CheckSelect | null /** * Choose, which related nodes to fetch as well */ include?: CheckInclude | null /** * Filter which Check to delete. */ where: CheckWhereUniqueInput } /** * Check deleteMany */ export type CheckDeleteManyArgs = { /** * Filter which Checks to delete */ where?: CheckWhereInput } /** * Check.hops */ export type Check$hopsArgs = { /** * Select specific fields to fetch from the Hop */ select?: HopSelect | null /** * Choose, which related nodes to fetch as well */ include?: HopInclude | null where?: HopWhereInput orderBy?: HopOrderByWithRelationInput | HopOrderByWithRelationInput[] cursor?: HopWhereUniqueInput take?: number skip?: number distinct?: HopScalarFieldEnum | HopScalarFieldEnum[] } /** * Check.sslInspections */ export type Check$sslInspectionsArgs = { /** * Select specific fields to fetch from the SslInspection */ select?: SslInspectionSelect | null /** * Choose, which related nodes to fetch as well */ include?: SslInspectionInclude | null where?: SslInspectionWhereInput orderBy?: SslInspectionOrderByWithRelationInput | SslInspectionOrderByWithRelationInput[] cursor?: SslInspectionWhereUniqueInput take?: number skip?: number distinct?: SslInspectionScalarFieldEnum | SslInspectionScalarFieldEnum[] } /** * Check.seoFlags */ export type Check$seoFlagsArgs = { /** * Select specific fields to fetch from the SeoFlags */ select?: SeoFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SeoFlagsInclude | null where?: SeoFlagsWhereInput } /** * Check.securityFlags */ export type Check$securityFlagsArgs = { /** * Select specific fields to fetch from the SecurityFlags */ select?: SecurityFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SecurityFlagsInclude | null where?: SecurityFlagsWhereInput } /** * Check.reports */ export type Check$reportsArgs = { /** * Select specific fields to fetch from the Report */ select?: ReportSelect | null /** * Choose, which related nodes to fetch as well */ include?: ReportInclude | null where?: ReportWhereInput orderBy?: ReportOrderByWithRelationInput | ReportOrderByWithRelationInput[] cursor?: ReportWhereUniqueInput take?: number skip?: number distinct?: ReportScalarFieldEnum | ReportScalarFieldEnum[] } /** * Check without action */ export type CheckDefaultArgs = { /** * Select specific fields to fetch from the Check */ select?: CheckSelect | null /** * Choose, which related nodes to fetch as well */ include?: CheckInclude | null } /** * Model Hop */ export type AggregateHop = { _count: HopCountAggregateOutputType | null _avg: HopAvgAggregateOutputType | null _sum: HopSumAggregateOutputType | null _min: HopMinAggregateOutputType | null _max: HopMaxAggregateOutputType | null } export type HopAvgAggregateOutputType = { hopIndex: number | null statusCode: number | null latencyMs: number | null } export type HopSumAggregateOutputType = { hopIndex: number | null statusCode: number | null latencyMs: number | null } export type HopMinAggregateOutputType = { id: string | null checkId: string | null hopIndex: number | null url: string | null scheme: string | null statusCode: number | null redirectType: $Enums.RedirectType | null latencyMs: number | null contentType: string | null reason: string | null } export type HopMaxAggregateOutputType = { id: string | null checkId: string | null hopIndex: number | null url: string | null scheme: string | null statusCode: number | null redirectType: $Enums.RedirectType | null latencyMs: number | null contentType: string | null reason: string | null } export type HopCountAggregateOutputType = { id: number checkId: number hopIndex: number url: number scheme: number statusCode: number redirectType: number latencyMs: number contentType: number reason: number responseHeadersJson: number _all: number } export type HopAvgAggregateInputType = { hopIndex?: true statusCode?: true latencyMs?: true } export type HopSumAggregateInputType = { hopIndex?: true statusCode?: true latencyMs?: true } export type HopMinAggregateInputType = { id?: true checkId?: true hopIndex?: true url?: true scheme?: true statusCode?: true redirectType?: true latencyMs?: true contentType?: true reason?: true } export type HopMaxAggregateInputType = { id?: true checkId?: true hopIndex?: true url?: true scheme?: true statusCode?: true redirectType?: true latencyMs?: true contentType?: true reason?: true } export type HopCountAggregateInputType = { id?: true checkId?: true hopIndex?: true url?: true scheme?: true statusCode?: true redirectType?: true latencyMs?: true contentType?: true reason?: true responseHeadersJson?: true _all?: true } export type HopAggregateArgs = { /** * Filter which Hop to aggregate. */ where?: HopWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Hops to fetch. */ orderBy?: HopOrderByWithRelationInput | HopOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: HopWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Hops from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Hops. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Hops **/ _count?: true | HopCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: HopAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: HopSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: HopMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: HopMaxAggregateInputType } export type GetHopAggregateType = { [P in keyof T & keyof AggregateHop]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type HopGroupByArgs = { where?: HopWhereInput orderBy?: HopOrderByWithAggregationInput | HopOrderByWithAggregationInput[] by: HopScalarFieldEnum[] | HopScalarFieldEnum having?: HopScalarWhereWithAggregatesInput take?: number skip?: number _count?: HopCountAggregateInputType | true _avg?: HopAvgAggregateInputType _sum?: HopSumAggregateInputType _min?: HopMinAggregateInputType _max?: HopMaxAggregateInputType } export type HopGroupByOutputType = { id: string checkId: string hopIndex: number url: string scheme: string | null statusCode: number | null redirectType: $Enums.RedirectType latencyMs: number | null contentType: string | null reason: string | null responseHeadersJson: JsonValue _count: HopCountAggregateOutputType | null _avg: HopAvgAggregateOutputType | null _sum: HopSumAggregateOutputType | null _min: HopMinAggregateOutputType | null _max: HopMaxAggregateOutputType | null } type GetHopGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof HopGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type HopSelect = $Extensions.GetSelect<{ id?: boolean checkId?: boolean hopIndex?: boolean url?: boolean scheme?: boolean statusCode?: boolean redirectType?: boolean latencyMs?: boolean contentType?: boolean reason?: boolean responseHeadersJson?: boolean check?: boolean | CheckDefaultArgs }, ExtArgs["result"]["hop"]> export type HopSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean checkId?: boolean hopIndex?: boolean url?: boolean scheme?: boolean statusCode?: boolean redirectType?: boolean latencyMs?: boolean contentType?: boolean reason?: boolean responseHeadersJson?: boolean check?: boolean | CheckDefaultArgs }, ExtArgs["result"]["hop"]> export type HopSelectScalar = { id?: boolean checkId?: boolean hopIndex?: boolean url?: boolean scheme?: boolean statusCode?: boolean redirectType?: boolean latencyMs?: boolean contentType?: boolean reason?: boolean responseHeadersJson?: boolean } export type HopInclude = { check?: boolean | CheckDefaultArgs } export type HopIncludeCreateManyAndReturn = { check?: boolean | CheckDefaultArgs } export type $HopPayload = { name: "Hop" objects: { check: Prisma.$CheckPayload } scalars: $Extensions.GetPayloadResult<{ id: string checkId: string hopIndex: number url: string scheme: string | null statusCode: number | null redirectType: $Enums.RedirectType latencyMs: number | null contentType: string | null reason: string | null responseHeadersJson: Prisma.JsonValue }, ExtArgs["result"]["hop"]> composites: {} } type HopGetPayload = $Result.GetResult type HopCountArgs = Omit & { select?: HopCountAggregateInputType | true } export interface HopDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Hop'], meta: { name: 'Hop' } } /** * Find zero or one Hop that matches the filter. * @param {HopFindUniqueArgs} args - Arguments to find a Hop * @example * // Get one Hop * const hop = await prisma.hop.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__HopClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one Hop that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {HopFindUniqueOrThrowArgs} args - Arguments to find a Hop * @example * // Get one Hop * const hop = await prisma.hop.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__HopClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first Hop 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 {HopFindFirstArgs} args - Arguments to find a Hop * @example * // Get one Hop * const hop = await prisma.hop.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__HopClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first Hop 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 {HopFindFirstOrThrowArgs} args - Arguments to find a Hop * @example * // Get one Hop * const hop = await prisma.hop.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__HopClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more Hops 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 {HopFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Hops * const hops = await prisma.hop.findMany() * * // Get first 10 Hops * const hops = await prisma.hop.findMany({ take: 10 }) * * // Only select the `id` * const hopWithIdOnly = await prisma.hop.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a Hop. * @param {HopCreateArgs} args - Arguments to create a Hop. * @example * // Create one Hop * const Hop = await prisma.hop.create({ * data: { * // ... data to create a Hop * } * }) * */ create(args: SelectSubset>): Prisma__HopClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many Hops. * @param {HopCreateManyArgs} args - Arguments to create many Hops. * @example * // Create many Hops * const hop = await prisma.hop.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Hops and returns the data saved in the database. * @param {HopCreateManyAndReturnArgs} args - Arguments to create many Hops. * @example * // Create many Hops * const hop = await prisma.hop.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Hops and only return the `id` * const hopWithIdOnly = await prisma.hop.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">> /** * Delete a Hop. * @param {HopDeleteArgs} args - Arguments to delete one Hop. * @example * // Delete one Hop * const Hop = await prisma.hop.delete({ * where: { * // ... filter to delete one Hop * } * }) * */ delete(args: SelectSubset>): Prisma__HopClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one Hop. * @param {HopUpdateArgs} args - Arguments to update one Hop. * @example * // Update one Hop * const hop = await prisma.hop.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__HopClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more Hops. * @param {HopDeleteManyArgs} args - Arguments to filter Hops to delete. * @example * // Delete a few Hops * const { count } = await prisma.hop.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Hops. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HopUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Hops * const hop = await prisma.hop.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one Hop. * @param {HopUpsertArgs} args - Arguments to update or create a Hop. * @example * // Update or create a Hop * const hop = await prisma.hop.upsert({ * create: { * // ... data to create a Hop * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Hop we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__HopClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of Hops. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HopCountArgs} args - Arguments to filter Hops to count. * @example * // Count the number of Hops * const count = await prisma.hop.count({ * where: { * // ... the filter for the Hops 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 Hop. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HopAggregateArgs} 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 Hop. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HopGroupByArgs} 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 HopGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: HopGroupByArgs['orderBy'] } : { orderBy?: HopGroupByArgs['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 ? GetHopGroupByPayload : Prisma.PrismaPromise /** * Fields of the Hop model */ readonly fields: HopFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Hop. * 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__HopClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" check = {}>(args?: Subset>): Prisma__CheckClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> /** * 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 Hop model */ interface HopFieldRefs { readonly id: FieldRef<"Hop", 'String'> readonly checkId: FieldRef<"Hop", 'String'> readonly hopIndex: FieldRef<"Hop", 'Int'> readonly url: FieldRef<"Hop", 'String'> readonly scheme: FieldRef<"Hop", 'String'> readonly statusCode: FieldRef<"Hop", 'Int'> readonly redirectType: FieldRef<"Hop", 'RedirectType'> readonly latencyMs: FieldRef<"Hop", 'Int'> readonly contentType: FieldRef<"Hop", 'String'> readonly reason: FieldRef<"Hop", 'String'> readonly responseHeadersJson: FieldRef<"Hop", 'Json'> } // Custom InputTypes /** * Hop findUnique */ export type HopFindUniqueArgs = { /** * Select specific fields to fetch from the Hop */ select?: HopSelect | null /** * Choose, which related nodes to fetch as well */ include?: HopInclude | null /** * Filter, which Hop to fetch. */ where: HopWhereUniqueInput } /** * Hop findUniqueOrThrow */ export type HopFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Hop */ select?: HopSelect | null /** * Choose, which related nodes to fetch as well */ include?: HopInclude | null /** * Filter, which Hop to fetch. */ where: HopWhereUniqueInput } /** * Hop findFirst */ export type HopFindFirstArgs = { /** * Select specific fields to fetch from the Hop */ select?: HopSelect | null /** * Choose, which related nodes to fetch as well */ include?: HopInclude | null /** * Filter, which Hop to fetch. */ where?: HopWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Hops to fetch. */ orderBy?: HopOrderByWithRelationInput | HopOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Hops. */ cursor?: HopWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Hops from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Hops. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Hops. */ distinct?: HopScalarFieldEnum | HopScalarFieldEnum[] } /** * Hop findFirstOrThrow */ export type HopFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Hop */ select?: HopSelect | null /** * Choose, which related nodes to fetch as well */ include?: HopInclude | null /** * Filter, which Hop to fetch. */ where?: HopWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Hops to fetch. */ orderBy?: HopOrderByWithRelationInput | HopOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Hops. */ cursor?: HopWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Hops from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Hops. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Hops. */ distinct?: HopScalarFieldEnum | HopScalarFieldEnum[] } /** * Hop findMany */ export type HopFindManyArgs = { /** * Select specific fields to fetch from the Hop */ select?: HopSelect | null /** * Choose, which related nodes to fetch as well */ include?: HopInclude | null /** * Filter, which Hops to fetch. */ where?: HopWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Hops to fetch. */ orderBy?: HopOrderByWithRelationInput | HopOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Hops. */ cursor?: HopWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Hops from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Hops. */ skip?: number distinct?: HopScalarFieldEnum | HopScalarFieldEnum[] } /** * Hop create */ export type HopCreateArgs = { /** * Select specific fields to fetch from the Hop */ select?: HopSelect | null /** * Choose, which related nodes to fetch as well */ include?: HopInclude | null /** * The data needed to create a Hop. */ data: XOR } /** * Hop createMany */ export type HopCreateManyArgs = { /** * The data used to create many Hops. */ data: HopCreateManyInput | HopCreateManyInput[] skipDuplicates?: boolean } /** * Hop createManyAndReturn */ export type HopCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Hop */ select?: HopSelectCreateManyAndReturn | null /** * The data used to create many Hops. */ data: HopCreateManyInput | HopCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: HopIncludeCreateManyAndReturn | null } /** * Hop update */ export type HopUpdateArgs = { /** * Select specific fields to fetch from the Hop */ select?: HopSelect | null /** * Choose, which related nodes to fetch as well */ include?: HopInclude | null /** * The data needed to update a Hop. */ data: XOR /** * Choose, which Hop to update. */ where: HopWhereUniqueInput } /** * Hop updateMany */ export type HopUpdateManyArgs = { /** * The data used to update Hops. */ data: XOR /** * Filter which Hops to update */ where?: HopWhereInput } /** * Hop upsert */ export type HopUpsertArgs = { /** * Select specific fields to fetch from the Hop */ select?: HopSelect | null /** * Choose, which related nodes to fetch as well */ include?: HopInclude | null /** * The filter to search for the Hop to update in case it exists. */ where: HopWhereUniqueInput /** * In case the Hop found by the `where` argument doesn't exist, create a new Hop with this data. */ create: XOR /** * In case the Hop was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Hop delete */ export type HopDeleteArgs = { /** * Select specific fields to fetch from the Hop */ select?: HopSelect | null /** * Choose, which related nodes to fetch as well */ include?: HopInclude | null /** * Filter which Hop to delete. */ where: HopWhereUniqueInput } /** * Hop deleteMany */ export type HopDeleteManyArgs = { /** * Filter which Hops to delete */ where?: HopWhereInput } /** * Hop without action */ export type HopDefaultArgs = { /** * Select specific fields to fetch from the Hop */ select?: HopSelect | null /** * Choose, which related nodes to fetch as well */ include?: HopInclude | null } /** * Model SslInspection */ export type AggregateSslInspection = { _count: SslInspectionCountAggregateOutputType | null _avg: SslInspectionAvgAggregateOutputType | null _sum: SslInspectionSumAggregateOutputType | null _min: SslInspectionMinAggregateOutputType | null _max: SslInspectionMaxAggregateOutputType | null } export type SslInspectionAvgAggregateOutputType = { daysToExpiry: number | null } export type SslInspectionSumAggregateOutputType = { daysToExpiry: number | null } export type SslInspectionMinAggregateOutputType = { id: string | null checkId: string | null host: string | null validFrom: Date | null validTo: Date | null daysToExpiry: number | null issuer: string | null protocol: string | null } export type SslInspectionMaxAggregateOutputType = { id: string | null checkId: string | null host: string | null validFrom: Date | null validTo: Date | null daysToExpiry: number | null issuer: string | null protocol: string | null } export type SslInspectionCountAggregateOutputType = { id: number checkId: number host: number validFrom: number validTo: number daysToExpiry: number issuer: number protocol: number warningsJson: number _all: number } export type SslInspectionAvgAggregateInputType = { daysToExpiry?: true } export type SslInspectionSumAggregateInputType = { daysToExpiry?: true } export type SslInspectionMinAggregateInputType = { id?: true checkId?: true host?: true validFrom?: true validTo?: true daysToExpiry?: true issuer?: true protocol?: true } export type SslInspectionMaxAggregateInputType = { id?: true checkId?: true host?: true validFrom?: true validTo?: true daysToExpiry?: true issuer?: true protocol?: true } export type SslInspectionCountAggregateInputType = { id?: true checkId?: true host?: true validFrom?: true validTo?: true daysToExpiry?: true issuer?: true protocol?: true warningsJson?: true _all?: true } export type SslInspectionAggregateArgs = { /** * Filter which SslInspection to aggregate. */ where?: SslInspectionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SslInspections to fetch. */ orderBy?: SslInspectionOrderByWithRelationInput | SslInspectionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SslInspectionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SslInspections from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SslInspections. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SslInspections **/ _count?: true | SslInspectionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SslInspectionAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SslInspectionSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SslInspectionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SslInspectionMaxAggregateInputType } export type GetSslInspectionAggregateType = { [P in keyof T & keyof AggregateSslInspection]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SslInspectionGroupByArgs = { where?: SslInspectionWhereInput orderBy?: SslInspectionOrderByWithAggregationInput | SslInspectionOrderByWithAggregationInput[] by: SslInspectionScalarFieldEnum[] | SslInspectionScalarFieldEnum having?: SslInspectionScalarWhereWithAggregatesInput take?: number skip?: number _count?: SslInspectionCountAggregateInputType | true _avg?: SslInspectionAvgAggregateInputType _sum?: SslInspectionSumAggregateInputType _min?: SslInspectionMinAggregateInputType _max?: SslInspectionMaxAggregateInputType } export type SslInspectionGroupByOutputType = { id: string checkId: string host: string validFrom: Date | null validTo: Date | null daysToExpiry: number | null issuer: string | null protocol: string | null warningsJson: JsonValue _count: SslInspectionCountAggregateOutputType | null _avg: SslInspectionAvgAggregateOutputType | null _sum: SslInspectionSumAggregateOutputType | null _min: SslInspectionMinAggregateOutputType | null _max: SslInspectionMaxAggregateOutputType | null } type GetSslInspectionGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SslInspectionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SslInspectionSelect = $Extensions.GetSelect<{ id?: boolean checkId?: boolean host?: boolean validFrom?: boolean validTo?: boolean daysToExpiry?: boolean issuer?: boolean protocol?: boolean warningsJson?: boolean check?: boolean | CheckDefaultArgs }, ExtArgs["result"]["sslInspection"]> export type SslInspectionSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean checkId?: boolean host?: boolean validFrom?: boolean validTo?: boolean daysToExpiry?: boolean issuer?: boolean protocol?: boolean warningsJson?: boolean check?: boolean | CheckDefaultArgs }, ExtArgs["result"]["sslInspection"]> export type SslInspectionSelectScalar = { id?: boolean checkId?: boolean host?: boolean validFrom?: boolean validTo?: boolean daysToExpiry?: boolean issuer?: boolean protocol?: boolean warningsJson?: boolean } export type SslInspectionInclude = { check?: boolean | CheckDefaultArgs } export type SslInspectionIncludeCreateManyAndReturn = { check?: boolean | CheckDefaultArgs } export type $SslInspectionPayload = { name: "SslInspection" objects: { check: Prisma.$CheckPayload } scalars: $Extensions.GetPayloadResult<{ id: string checkId: string host: string validFrom: Date | null validTo: Date | null daysToExpiry: number | null issuer: string | null protocol: string | null warningsJson: Prisma.JsonValue }, ExtArgs["result"]["sslInspection"]> composites: {} } type SslInspectionGetPayload = $Result.GetResult type SslInspectionCountArgs = Omit & { select?: SslInspectionCountAggregateInputType | true } export interface SslInspectionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SslInspection'], meta: { name: 'SslInspection' } } /** * Find zero or one SslInspection that matches the filter. * @param {SslInspectionFindUniqueArgs} args - Arguments to find a SslInspection * @example * // Get one SslInspection * const sslInspection = await prisma.sslInspection.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SslInspectionClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one SslInspection that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SslInspectionFindUniqueOrThrowArgs} args - Arguments to find a SslInspection * @example * // Get one SslInspection * const sslInspection = await prisma.sslInspection.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SslInspectionClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first SslInspection 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 {SslInspectionFindFirstArgs} args - Arguments to find a SslInspection * @example * // Get one SslInspection * const sslInspection = await prisma.sslInspection.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SslInspectionClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first SslInspection 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 {SslInspectionFindFirstOrThrowArgs} args - Arguments to find a SslInspection * @example * // Get one SslInspection * const sslInspection = await prisma.sslInspection.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SslInspectionClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more SslInspections 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 {SslInspectionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SslInspections * const sslInspections = await prisma.sslInspection.findMany() * * // Get first 10 SslInspections * const sslInspections = await prisma.sslInspection.findMany({ take: 10 }) * * // Only select the `id` * const sslInspectionWithIdOnly = await prisma.sslInspection.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a SslInspection. * @param {SslInspectionCreateArgs} args - Arguments to create a SslInspection. * @example * // Create one SslInspection * const SslInspection = await prisma.sslInspection.create({ * data: { * // ... data to create a SslInspection * } * }) * */ create(args: SelectSubset>): Prisma__SslInspectionClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many SslInspections. * @param {SslInspectionCreateManyArgs} args - Arguments to create many SslInspections. * @example * // Create many SslInspections * const sslInspection = await prisma.sslInspection.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SslInspections and returns the data saved in the database. * @param {SslInspectionCreateManyAndReturnArgs} args - Arguments to create many SslInspections. * @example * // Create many SslInspections * const sslInspection = await prisma.sslInspection.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SslInspections and only return the `id` * const sslInspectionWithIdOnly = await prisma.sslInspection.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">> /** * Delete a SslInspection. * @param {SslInspectionDeleteArgs} args - Arguments to delete one SslInspection. * @example * // Delete one SslInspection * const SslInspection = await prisma.sslInspection.delete({ * where: { * // ... filter to delete one SslInspection * } * }) * */ delete(args: SelectSubset>): Prisma__SslInspectionClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one SslInspection. * @param {SslInspectionUpdateArgs} args - Arguments to update one SslInspection. * @example * // Update one SslInspection * const sslInspection = await prisma.sslInspection.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SslInspectionClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more SslInspections. * @param {SslInspectionDeleteManyArgs} args - Arguments to filter SslInspections to delete. * @example * // Delete a few SslInspections * const { count } = await prisma.sslInspection.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SslInspections. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SslInspectionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SslInspections * const sslInspection = await prisma.sslInspection.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one SslInspection. * @param {SslInspectionUpsertArgs} args - Arguments to update or create a SslInspection. * @example * // Update or create a SslInspection * const sslInspection = await prisma.sslInspection.upsert({ * create: { * // ... data to create a SslInspection * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SslInspection we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SslInspectionClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of SslInspections. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SslInspectionCountArgs} args - Arguments to filter SslInspections to count. * @example * // Count the number of SslInspections * const count = await prisma.sslInspection.count({ * where: { * // ... the filter for the SslInspections 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 SslInspection. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SslInspectionAggregateArgs} 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 SslInspection. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SslInspectionGroupByArgs} 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 SslInspectionGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SslInspectionGroupByArgs['orderBy'] } : { orderBy?: SslInspectionGroupByArgs['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 ? GetSslInspectionGroupByPayload : Prisma.PrismaPromise /** * Fields of the SslInspection model */ readonly fields: SslInspectionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SslInspection. * 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__SslInspectionClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" check = {}>(args?: Subset>): Prisma__CheckClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> /** * 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 SslInspection model */ interface SslInspectionFieldRefs { readonly id: FieldRef<"SslInspection", 'String'> readonly checkId: FieldRef<"SslInspection", 'String'> readonly host: FieldRef<"SslInspection", 'String'> readonly validFrom: FieldRef<"SslInspection", 'DateTime'> readonly validTo: FieldRef<"SslInspection", 'DateTime'> readonly daysToExpiry: FieldRef<"SslInspection", 'Int'> readonly issuer: FieldRef<"SslInspection", 'String'> readonly protocol: FieldRef<"SslInspection", 'String'> readonly warningsJson: FieldRef<"SslInspection", 'Json'> } // Custom InputTypes /** * SslInspection findUnique */ export type SslInspectionFindUniqueArgs = { /** * Select specific fields to fetch from the SslInspection */ select?: SslInspectionSelect | null /** * Choose, which related nodes to fetch as well */ include?: SslInspectionInclude | null /** * Filter, which SslInspection to fetch. */ where: SslInspectionWhereUniqueInput } /** * SslInspection findUniqueOrThrow */ export type SslInspectionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SslInspection */ select?: SslInspectionSelect | null /** * Choose, which related nodes to fetch as well */ include?: SslInspectionInclude | null /** * Filter, which SslInspection to fetch. */ where: SslInspectionWhereUniqueInput } /** * SslInspection findFirst */ export type SslInspectionFindFirstArgs = { /** * Select specific fields to fetch from the SslInspection */ select?: SslInspectionSelect | null /** * Choose, which related nodes to fetch as well */ include?: SslInspectionInclude | null /** * Filter, which SslInspection to fetch. */ where?: SslInspectionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SslInspections to fetch. */ orderBy?: SslInspectionOrderByWithRelationInput | SslInspectionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SslInspections. */ cursor?: SslInspectionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SslInspections from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SslInspections. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SslInspections. */ distinct?: SslInspectionScalarFieldEnum | SslInspectionScalarFieldEnum[] } /** * SslInspection findFirstOrThrow */ export type SslInspectionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SslInspection */ select?: SslInspectionSelect | null /** * Choose, which related nodes to fetch as well */ include?: SslInspectionInclude | null /** * Filter, which SslInspection to fetch. */ where?: SslInspectionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SslInspections to fetch. */ orderBy?: SslInspectionOrderByWithRelationInput | SslInspectionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SslInspections. */ cursor?: SslInspectionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SslInspections from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SslInspections. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SslInspections. */ distinct?: SslInspectionScalarFieldEnum | SslInspectionScalarFieldEnum[] } /** * SslInspection findMany */ export type SslInspectionFindManyArgs = { /** * Select specific fields to fetch from the SslInspection */ select?: SslInspectionSelect | null /** * Choose, which related nodes to fetch as well */ include?: SslInspectionInclude | null /** * Filter, which SslInspections to fetch. */ where?: SslInspectionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SslInspections to fetch. */ orderBy?: SslInspectionOrderByWithRelationInput | SslInspectionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SslInspections. */ cursor?: SslInspectionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SslInspections from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SslInspections. */ skip?: number distinct?: SslInspectionScalarFieldEnum | SslInspectionScalarFieldEnum[] } /** * SslInspection create */ export type SslInspectionCreateArgs = { /** * Select specific fields to fetch from the SslInspection */ select?: SslInspectionSelect | null /** * Choose, which related nodes to fetch as well */ include?: SslInspectionInclude | null /** * The data needed to create a SslInspection. */ data: XOR } /** * SslInspection createMany */ export type SslInspectionCreateManyArgs = { /** * The data used to create many SslInspections. */ data: SslInspectionCreateManyInput | SslInspectionCreateManyInput[] skipDuplicates?: boolean } /** * SslInspection createManyAndReturn */ export type SslInspectionCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SslInspection */ select?: SslInspectionSelectCreateManyAndReturn | null /** * The data used to create many SslInspections. */ data: SslInspectionCreateManyInput | SslInspectionCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SslInspectionIncludeCreateManyAndReturn | null } /** * SslInspection update */ export type SslInspectionUpdateArgs = { /** * Select specific fields to fetch from the SslInspection */ select?: SslInspectionSelect | null /** * Choose, which related nodes to fetch as well */ include?: SslInspectionInclude | null /** * The data needed to update a SslInspection. */ data: XOR /** * Choose, which SslInspection to update. */ where: SslInspectionWhereUniqueInput } /** * SslInspection updateMany */ export type SslInspectionUpdateManyArgs = { /** * The data used to update SslInspections. */ data: XOR /** * Filter which SslInspections to update */ where?: SslInspectionWhereInput } /** * SslInspection upsert */ export type SslInspectionUpsertArgs = { /** * Select specific fields to fetch from the SslInspection */ select?: SslInspectionSelect | null /** * Choose, which related nodes to fetch as well */ include?: SslInspectionInclude | null /** * The filter to search for the SslInspection to update in case it exists. */ where: SslInspectionWhereUniqueInput /** * In case the SslInspection found by the `where` argument doesn't exist, create a new SslInspection with this data. */ create: XOR /** * In case the SslInspection was found with the provided `where` argument, update it with this data. */ update: XOR } /** * SslInspection delete */ export type SslInspectionDeleteArgs = { /** * Select specific fields to fetch from the SslInspection */ select?: SslInspectionSelect | null /** * Choose, which related nodes to fetch as well */ include?: SslInspectionInclude | null /** * Filter which SslInspection to delete. */ where: SslInspectionWhereUniqueInput } /** * SslInspection deleteMany */ export type SslInspectionDeleteManyArgs = { /** * Filter which SslInspections to delete */ where?: SslInspectionWhereInput } /** * SslInspection without action */ export type SslInspectionDefaultArgs = { /** * Select specific fields to fetch from the SslInspection */ select?: SslInspectionSelect | null /** * Choose, which related nodes to fetch as well */ include?: SslInspectionInclude | null } /** * Model SeoFlags */ export type AggregateSeoFlags = { _count: SeoFlagsCountAggregateOutputType | null _min: SeoFlagsMinAggregateOutputType | null _max: SeoFlagsMaxAggregateOutputType | null } export type SeoFlagsMinAggregateOutputType = { id: string | null checkId: string | null robotsTxtStatus: string | null metaRobots: string | null canonicalUrl: string | null sitemapPresent: boolean | null noindex: boolean | null nofollow: boolean | null } export type SeoFlagsMaxAggregateOutputType = { id: string | null checkId: string | null robotsTxtStatus: string | null metaRobots: string | null canonicalUrl: string | null sitemapPresent: boolean | null noindex: boolean | null nofollow: boolean | null } export type SeoFlagsCountAggregateOutputType = { id: number checkId: number robotsTxtStatus: number robotsTxtRulesJson: number metaRobots: number canonicalUrl: number sitemapPresent: number noindex: number nofollow: number _all: number } export type SeoFlagsMinAggregateInputType = { id?: true checkId?: true robotsTxtStatus?: true metaRobots?: true canonicalUrl?: true sitemapPresent?: true noindex?: true nofollow?: true } export type SeoFlagsMaxAggregateInputType = { id?: true checkId?: true robotsTxtStatus?: true metaRobots?: true canonicalUrl?: true sitemapPresent?: true noindex?: true nofollow?: true } export type SeoFlagsCountAggregateInputType = { id?: true checkId?: true robotsTxtStatus?: true robotsTxtRulesJson?: true metaRobots?: true canonicalUrl?: true sitemapPresent?: true noindex?: true nofollow?: true _all?: true } export type SeoFlagsAggregateArgs = { /** * Filter which SeoFlags to aggregate. */ where?: SeoFlagsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SeoFlags to fetch. */ orderBy?: SeoFlagsOrderByWithRelationInput | SeoFlagsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SeoFlagsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SeoFlags from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SeoFlags. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SeoFlags **/ _count?: true | SeoFlagsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SeoFlagsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SeoFlagsMaxAggregateInputType } export type GetSeoFlagsAggregateType = { [P in keyof T & keyof AggregateSeoFlags]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SeoFlagsGroupByArgs = { where?: SeoFlagsWhereInput orderBy?: SeoFlagsOrderByWithAggregationInput | SeoFlagsOrderByWithAggregationInput[] by: SeoFlagsScalarFieldEnum[] | SeoFlagsScalarFieldEnum having?: SeoFlagsScalarWhereWithAggregatesInput take?: number skip?: number _count?: SeoFlagsCountAggregateInputType | true _min?: SeoFlagsMinAggregateInputType _max?: SeoFlagsMaxAggregateInputType } export type SeoFlagsGroupByOutputType = { id: string checkId: string robotsTxtStatus: string | null robotsTxtRulesJson: JsonValue metaRobots: string | null canonicalUrl: string | null sitemapPresent: boolean noindex: boolean nofollow: boolean _count: SeoFlagsCountAggregateOutputType | null _min: SeoFlagsMinAggregateOutputType | null _max: SeoFlagsMaxAggregateOutputType | null } type GetSeoFlagsGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SeoFlagsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SeoFlagsSelect = $Extensions.GetSelect<{ id?: boolean checkId?: boolean robotsTxtStatus?: boolean robotsTxtRulesJson?: boolean metaRobots?: boolean canonicalUrl?: boolean sitemapPresent?: boolean noindex?: boolean nofollow?: boolean check?: boolean | CheckDefaultArgs }, ExtArgs["result"]["seoFlags"]> export type SeoFlagsSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean checkId?: boolean robotsTxtStatus?: boolean robotsTxtRulesJson?: boolean metaRobots?: boolean canonicalUrl?: boolean sitemapPresent?: boolean noindex?: boolean nofollow?: boolean check?: boolean | CheckDefaultArgs }, ExtArgs["result"]["seoFlags"]> export type SeoFlagsSelectScalar = { id?: boolean checkId?: boolean robotsTxtStatus?: boolean robotsTxtRulesJson?: boolean metaRobots?: boolean canonicalUrl?: boolean sitemapPresent?: boolean noindex?: boolean nofollow?: boolean } export type SeoFlagsInclude = { check?: boolean | CheckDefaultArgs } export type SeoFlagsIncludeCreateManyAndReturn = { check?: boolean | CheckDefaultArgs } export type $SeoFlagsPayload = { name: "SeoFlags" objects: { check: Prisma.$CheckPayload } scalars: $Extensions.GetPayloadResult<{ id: string checkId: string robotsTxtStatus: string | null robotsTxtRulesJson: Prisma.JsonValue metaRobots: string | null canonicalUrl: string | null sitemapPresent: boolean noindex: boolean nofollow: boolean }, ExtArgs["result"]["seoFlags"]> composites: {} } type SeoFlagsGetPayload = $Result.GetResult type SeoFlagsCountArgs = Omit & { select?: SeoFlagsCountAggregateInputType | true } export interface SeoFlagsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SeoFlags'], meta: { name: 'SeoFlags' } } /** * Find zero or one SeoFlags that matches the filter. * @param {SeoFlagsFindUniqueArgs} args - Arguments to find a SeoFlags * @example * // Get one SeoFlags * const seoFlags = await prisma.seoFlags.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SeoFlagsClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one SeoFlags that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SeoFlagsFindUniqueOrThrowArgs} args - Arguments to find a SeoFlags * @example * // Get one SeoFlags * const seoFlags = await prisma.seoFlags.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SeoFlagsClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first SeoFlags 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 {SeoFlagsFindFirstArgs} args - Arguments to find a SeoFlags * @example * // Get one SeoFlags * const seoFlags = await prisma.seoFlags.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SeoFlagsClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first SeoFlags 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 {SeoFlagsFindFirstOrThrowArgs} args - Arguments to find a SeoFlags * @example * // Get one SeoFlags * const seoFlags = await prisma.seoFlags.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SeoFlagsClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more SeoFlags 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 {SeoFlagsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SeoFlags * const seoFlags = await prisma.seoFlags.findMany() * * // Get first 10 SeoFlags * const seoFlags = await prisma.seoFlags.findMany({ take: 10 }) * * // Only select the `id` * const seoFlagsWithIdOnly = await prisma.seoFlags.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a SeoFlags. * @param {SeoFlagsCreateArgs} args - Arguments to create a SeoFlags. * @example * // Create one SeoFlags * const SeoFlags = await prisma.seoFlags.create({ * data: { * // ... data to create a SeoFlags * } * }) * */ create(args: SelectSubset>): Prisma__SeoFlagsClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many SeoFlags. * @param {SeoFlagsCreateManyArgs} args - Arguments to create many SeoFlags. * @example * // Create many SeoFlags * const seoFlags = await prisma.seoFlags.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SeoFlags and returns the data saved in the database. * @param {SeoFlagsCreateManyAndReturnArgs} args - Arguments to create many SeoFlags. * @example * // Create many SeoFlags * const seoFlags = await prisma.seoFlags.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SeoFlags and only return the `id` * const seoFlagsWithIdOnly = await prisma.seoFlags.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">> /** * Delete a SeoFlags. * @param {SeoFlagsDeleteArgs} args - Arguments to delete one SeoFlags. * @example * // Delete one SeoFlags * const SeoFlags = await prisma.seoFlags.delete({ * where: { * // ... filter to delete one SeoFlags * } * }) * */ delete(args: SelectSubset>): Prisma__SeoFlagsClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one SeoFlags. * @param {SeoFlagsUpdateArgs} args - Arguments to update one SeoFlags. * @example * // Update one SeoFlags * const seoFlags = await prisma.seoFlags.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SeoFlagsClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more SeoFlags. * @param {SeoFlagsDeleteManyArgs} args - Arguments to filter SeoFlags to delete. * @example * // Delete a few SeoFlags * const { count } = await prisma.seoFlags.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SeoFlags. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SeoFlagsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SeoFlags * const seoFlags = await prisma.seoFlags.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one SeoFlags. * @param {SeoFlagsUpsertArgs} args - Arguments to update or create a SeoFlags. * @example * // Update or create a SeoFlags * const seoFlags = await prisma.seoFlags.upsert({ * create: { * // ... data to create a SeoFlags * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SeoFlags we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SeoFlagsClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of SeoFlags. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SeoFlagsCountArgs} args - Arguments to filter SeoFlags to count. * @example * // Count the number of SeoFlags * const count = await prisma.seoFlags.count({ * where: { * // ... the filter for the SeoFlags 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 SeoFlags. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SeoFlagsAggregateArgs} 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 SeoFlags. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SeoFlagsGroupByArgs} 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 SeoFlagsGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SeoFlagsGroupByArgs['orderBy'] } : { orderBy?: SeoFlagsGroupByArgs['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 ? GetSeoFlagsGroupByPayload : Prisma.PrismaPromise /** * Fields of the SeoFlags model */ readonly fields: SeoFlagsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SeoFlags. * 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__SeoFlagsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" check = {}>(args?: Subset>): Prisma__CheckClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> /** * 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 SeoFlags model */ interface SeoFlagsFieldRefs { readonly id: FieldRef<"SeoFlags", 'String'> readonly checkId: FieldRef<"SeoFlags", 'String'> readonly robotsTxtStatus: FieldRef<"SeoFlags", 'String'> readonly robotsTxtRulesJson: FieldRef<"SeoFlags", 'Json'> readonly metaRobots: FieldRef<"SeoFlags", 'String'> readonly canonicalUrl: FieldRef<"SeoFlags", 'String'> readonly sitemapPresent: FieldRef<"SeoFlags", 'Boolean'> readonly noindex: FieldRef<"SeoFlags", 'Boolean'> readonly nofollow: FieldRef<"SeoFlags", 'Boolean'> } // Custom InputTypes /** * SeoFlags findUnique */ export type SeoFlagsFindUniqueArgs = { /** * Select specific fields to fetch from the SeoFlags */ select?: SeoFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SeoFlagsInclude | null /** * Filter, which SeoFlags to fetch. */ where: SeoFlagsWhereUniqueInput } /** * SeoFlags findUniqueOrThrow */ export type SeoFlagsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SeoFlags */ select?: SeoFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SeoFlagsInclude | null /** * Filter, which SeoFlags to fetch. */ where: SeoFlagsWhereUniqueInput } /** * SeoFlags findFirst */ export type SeoFlagsFindFirstArgs = { /** * Select specific fields to fetch from the SeoFlags */ select?: SeoFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SeoFlagsInclude | null /** * Filter, which SeoFlags to fetch. */ where?: SeoFlagsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SeoFlags to fetch. */ orderBy?: SeoFlagsOrderByWithRelationInput | SeoFlagsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SeoFlags. */ cursor?: SeoFlagsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SeoFlags from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SeoFlags. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SeoFlags. */ distinct?: SeoFlagsScalarFieldEnum | SeoFlagsScalarFieldEnum[] } /** * SeoFlags findFirstOrThrow */ export type SeoFlagsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SeoFlags */ select?: SeoFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SeoFlagsInclude | null /** * Filter, which SeoFlags to fetch. */ where?: SeoFlagsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SeoFlags to fetch. */ orderBy?: SeoFlagsOrderByWithRelationInput | SeoFlagsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SeoFlags. */ cursor?: SeoFlagsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SeoFlags from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SeoFlags. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SeoFlags. */ distinct?: SeoFlagsScalarFieldEnum | SeoFlagsScalarFieldEnum[] } /** * SeoFlags findMany */ export type SeoFlagsFindManyArgs = { /** * Select specific fields to fetch from the SeoFlags */ select?: SeoFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SeoFlagsInclude | null /** * Filter, which SeoFlags to fetch. */ where?: SeoFlagsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SeoFlags to fetch. */ orderBy?: SeoFlagsOrderByWithRelationInput | SeoFlagsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SeoFlags. */ cursor?: SeoFlagsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SeoFlags from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SeoFlags. */ skip?: number distinct?: SeoFlagsScalarFieldEnum | SeoFlagsScalarFieldEnum[] } /** * SeoFlags create */ export type SeoFlagsCreateArgs = { /** * Select specific fields to fetch from the SeoFlags */ select?: SeoFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SeoFlagsInclude | null /** * The data needed to create a SeoFlags. */ data: XOR } /** * SeoFlags createMany */ export type SeoFlagsCreateManyArgs = { /** * The data used to create many SeoFlags. */ data: SeoFlagsCreateManyInput | SeoFlagsCreateManyInput[] skipDuplicates?: boolean } /** * SeoFlags createManyAndReturn */ export type SeoFlagsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SeoFlags */ select?: SeoFlagsSelectCreateManyAndReturn | null /** * The data used to create many SeoFlags. */ data: SeoFlagsCreateManyInput | SeoFlagsCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SeoFlagsIncludeCreateManyAndReturn | null } /** * SeoFlags update */ export type SeoFlagsUpdateArgs = { /** * Select specific fields to fetch from the SeoFlags */ select?: SeoFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SeoFlagsInclude | null /** * The data needed to update a SeoFlags. */ data: XOR /** * Choose, which SeoFlags to update. */ where: SeoFlagsWhereUniqueInput } /** * SeoFlags updateMany */ export type SeoFlagsUpdateManyArgs = { /** * The data used to update SeoFlags. */ data: XOR /** * Filter which SeoFlags to update */ where?: SeoFlagsWhereInput } /** * SeoFlags upsert */ export type SeoFlagsUpsertArgs = { /** * Select specific fields to fetch from the SeoFlags */ select?: SeoFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SeoFlagsInclude | null /** * The filter to search for the SeoFlags to update in case it exists. */ where: SeoFlagsWhereUniqueInput /** * In case the SeoFlags found by the `where` argument doesn't exist, create a new SeoFlags with this data. */ create: XOR /** * In case the SeoFlags was found with the provided `where` argument, update it with this data. */ update: XOR } /** * SeoFlags delete */ export type SeoFlagsDeleteArgs = { /** * Select specific fields to fetch from the SeoFlags */ select?: SeoFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SeoFlagsInclude | null /** * Filter which SeoFlags to delete. */ where: SeoFlagsWhereUniqueInput } /** * SeoFlags deleteMany */ export type SeoFlagsDeleteManyArgs = { /** * Filter which SeoFlags to delete */ where?: SeoFlagsWhereInput } /** * SeoFlags without action */ export type SeoFlagsDefaultArgs = { /** * Select specific fields to fetch from the SeoFlags */ select?: SeoFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SeoFlagsInclude | null } /** * Model SecurityFlags */ export type AggregateSecurityFlags = { _count: SecurityFlagsCountAggregateOutputType | null _min: SecurityFlagsMinAggregateOutputType | null _max: SecurityFlagsMaxAggregateOutputType | null } export type SecurityFlagsMinAggregateOutputType = { id: string | null checkId: string | null safeBrowsingStatus: string | null mixedContent: $Enums.MixedContent | null httpsToHttp: boolean | null } export type SecurityFlagsMaxAggregateOutputType = { id: string | null checkId: string | null safeBrowsingStatus: string | null mixedContent: $Enums.MixedContent | null httpsToHttp: boolean | null } export type SecurityFlagsCountAggregateOutputType = { id: number checkId: number safeBrowsingStatus: number mixedContent: number httpsToHttp: number _all: number } export type SecurityFlagsMinAggregateInputType = { id?: true checkId?: true safeBrowsingStatus?: true mixedContent?: true httpsToHttp?: true } export type SecurityFlagsMaxAggregateInputType = { id?: true checkId?: true safeBrowsingStatus?: true mixedContent?: true httpsToHttp?: true } export type SecurityFlagsCountAggregateInputType = { id?: true checkId?: true safeBrowsingStatus?: true mixedContent?: true httpsToHttp?: true _all?: true } export type SecurityFlagsAggregateArgs = { /** * Filter which SecurityFlags to aggregate. */ where?: SecurityFlagsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SecurityFlags to fetch. */ orderBy?: SecurityFlagsOrderByWithRelationInput | SecurityFlagsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SecurityFlagsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SecurityFlags from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SecurityFlags. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SecurityFlags **/ _count?: true | SecurityFlagsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SecurityFlagsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SecurityFlagsMaxAggregateInputType } export type GetSecurityFlagsAggregateType = { [P in keyof T & keyof AggregateSecurityFlags]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SecurityFlagsGroupByArgs = { where?: SecurityFlagsWhereInput orderBy?: SecurityFlagsOrderByWithAggregationInput | SecurityFlagsOrderByWithAggregationInput[] by: SecurityFlagsScalarFieldEnum[] | SecurityFlagsScalarFieldEnum having?: SecurityFlagsScalarWhereWithAggregatesInput take?: number skip?: number _count?: SecurityFlagsCountAggregateInputType | true _min?: SecurityFlagsMinAggregateInputType _max?: SecurityFlagsMaxAggregateInputType } export type SecurityFlagsGroupByOutputType = { id: string checkId: string safeBrowsingStatus: string | null mixedContent: $Enums.MixedContent httpsToHttp: boolean _count: SecurityFlagsCountAggregateOutputType | null _min: SecurityFlagsMinAggregateOutputType | null _max: SecurityFlagsMaxAggregateOutputType | null } type GetSecurityFlagsGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SecurityFlagsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SecurityFlagsSelect = $Extensions.GetSelect<{ id?: boolean checkId?: boolean safeBrowsingStatus?: boolean mixedContent?: boolean httpsToHttp?: boolean check?: boolean | CheckDefaultArgs }, ExtArgs["result"]["securityFlags"]> export type SecurityFlagsSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean checkId?: boolean safeBrowsingStatus?: boolean mixedContent?: boolean httpsToHttp?: boolean check?: boolean | CheckDefaultArgs }, ExtArgs["result"]["securityFlags"]> export type SecurityFlagsSelectScalar = { id?: boolean checkId?: boolean safeBrowsingStatus?: boolean mixedContent?: boolean httpsToHttp?: boolean } export type SecurityFlagsInclude = { check?: boolean | CheckDefaultArgs } export type SecurityFlagsIncludeCreateManyAndReturn = { check?: boolean | CheckDefaultArgs } export type $SecurityFlagsPayload = { name: "SecurityFlags" objects: { check: Prisma.$CheckPayload } scalars: $Extensions.GetPayloadResult<{ id: string checkId: string safeBrowsingStatus: string | null mixedContent: $Enums.MixedContent httpsToHttp: boolean }, ExtArgs["result"]["securityFlags"]> composites: {} } type SecurityFlagsGetPayload = $Result.GetResult type SecurityFlagsCountArgs = Omit & { select?: SecurityFlagsCountAggregateInputType | true } export interface SecurityFlagsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SecurityFlags'], meta: { name: 'SecurityFlags' } } /** * Find zero or one SecurityFlags that matches the filter. * @param {SecurityFlagsFindUniqueArgs} args - Arguments to find a SecurityFlags * @example * // Get one SecurityFlags * const securityFlags = await prisma.securityFlags.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SecurityFlagsClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one SecurityFlags that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SecurityFlagsFindUniqueOrThrowArgs} args - Arguments to find a SecurityFlags * @example * // Get one SecurityFlags * const securityFlags = await prisma.securityFlags.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SecurityFlagsClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first SecurityFlags 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 {SecurityFlagsFindFirstArgs} args - Arguments to find a SecurityFlags * @example * // Get one SecurityFlags * const securityFlags = await prisma.securityFlags.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SecurityFlagsClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first SecurityFlags 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 {SecurityFlagsFindFirstOrThrowArgs} args - Arguments to find a SecurityFlags * @example * // Get one SecurityFlags * const securityFlags = await prisma.securityFlags.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SecurityFlagsClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more SecurityFlags 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 {SecurityFlagsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SecurityFlags * const securityFlags = await prisma.securityFlags.findMany() * * // Get first 10 SecurityFlags * const securityFlags = await prisma.securityFlags.findMany({ take: 10 }) * * // Only select the `id` * const securityFlagsWithIdOnly = await prisma.securityFlags.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a SecurityFlags. * @param {SecurityFlagsCreateArgs} args - Arguments to create a SecurityFlags. * @example * // Create one SecurityFlags * const SecurityFlags = await prisma.securityFlags.create({ * data: { * // ... data to create a SecurityFlags * } * }) * */ create(args: SelectSubset>): Prisma__SecurityFlagsClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many SecurityFlags. * @param {SecurityFlagsCreateManyArgs} args - Arguments to create many SecurityFlags. * @example * // Create many SecurityFlags * const securityFlags = await prisma.securityFlags.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SecurityFlags and returns the data saved in the database. * @param {SecurityFlagsCreateManyAndReturnArgs} args - Arguments to create many SecurityFlags. * @example * // Create many SecurityFlags * const securityFlags = await prisma.securityFlags.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SecurityFlags and only return the `id` * const securityFlagsWithIdOnly = await prisma.securityFlags.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">> /** * Delete a SecurityFlags. * @param {SecurityFlagsDeleteArgs} args - Arguments to delete one SecurityFlags. * @example * // Delete one SecurityFlags * const SecurityFlags = await prisma.securityFlags.delete({ * where: { * // ... filter to delete one SecurityFlags * } * }) * */ delete(args: SelectSubset>): Prisma__SecurityFlagsClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one SecurityFlags. * @param {SecurityFlagsUpdateArgs} args - Arguments to update one SecurityFlags. * @example * // Update one SecurityFlags * const securityFlags = await prisma.securityFlags.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SecurityFlagsClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more SecurityFlags. * @param {SecurityFlagsDeleteManyArgs} args - Arguments to filter SecurityFlags to delete. * @example * // Delete a few SecurityFlags * const { count } = await prisma.securityFlags.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SecurityFlags. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SecurityFlagsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SecurityFlags * const securityFlags = await prisma.securityFlags.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one SecurityFlags. * @param {SecurityFlagsUpsertArgs} args - Arguments to update or create a SecurityFlags. * @example * // Update or create a SecurityFlags * const securityFlags = await prisma.securityFlags.upsert({ * create: { * // ... data to create a SecurityFlags * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SecurityFlags we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SecurityFlagsClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of SecurityFlags. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SecurityFlagsCountArgs} args - Arguments to filter SecurityFlags to count. * @example * // Count the number of SecurityFlags * const count = await prisma.securityFlags.count({ * where: { * // ... the filter for the SecurityFlags 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 SecurityFlags. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SecurityFlagsAggregateArgs} 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 SecurityFlags. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SecurityFlagsGroupByArgs} 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 SecurityFlagsGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SecurityFlagsGroupByArgs['orderBy'] } : { orderBy?: SecurityFlagsGroupByArgs['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 ? GetSecurityFlagsGroupByPayload : Prisma.PrismaPromise /** * Fields of the SecurityFlags model */ readonly fields: SecurityFlagsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SecurityFlags. * 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__SecurityFlagsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" check = {}>(args?: Subset>): Prisma__CheckClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> /** * 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 SecurityFlags model */ interface SecurityFlagsFieldRefs { readonly id: FieldRef<"SecurityFlags", 'String'> readonly checkId: FieldRef<"SecurityFlags", 'String'> readonly safeBrowsingStatus: FieldRef<"SecurityFlags", 'String'> readonly mixedContent: FieldRef<"SecurityFlags", 'MixedContent'> readonly httpsToHttp: FieldRef<"SecurityFlags", 'Boolean'> } // Custom InputTypes /** * SecurityFlags findUnique */ export type SecurityFlagsFindUniqueArgs = { /** * Select specific fields to fetch from the SecurityFlags */ select?: SecurityFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SecurityFlagsInclude | null /** * Filter, which SecurityFlags to fetch. */ where: SecurityFlagsWhereUniqueInput } /** * SecurityFlags findUniqueOrThrow */ export type SecurityFlagsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SecurityFlags */ select?: SecurityFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SecurityFlagsInclude | null /** * Filter, which SecurityFlags to fetch. */ where: SecurityFlagsWhereUniqueInput } /** * SecurityFlags findFirst */ export type SecurityFlagsFindFirstArgs = { /** * Select specific fields to fetch from the SecurityFlags */ select?: SecurityFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SecurityFlagsInclude | null /** * Filter, which SecurityFlags to fetch. */ where?: SecurityFlagsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SecurityFlags to fetch. */ orderBy?: SecurityFlagsOrderByWithRelationInput | SecurityFlagsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SecurityFlags. */ cursor?: SecurityFlagsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SecurityFlags from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SecurityFlags. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SecurityFlags. */ distinct?: SecurityFlagsScalarFieldEnum | SecurityFlagsScalarFieldEnum[] } /** * SecurityFlags findFirstOrThrow */ export type SecurityFlagsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SecurityFlags */ select?: SecurityFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SecurityFlagsInclude | null /** * Filter, which SecurityFlags to fetch. */ where?: SecurityFlagsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SecurityFlags to fetch. */ orderBy?: SecurityFlagsOrderByWithRelationInput | SecurityFlagsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SecurityFlags. */ cursor?: SecurityFlagsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SecurityFlags from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SecurityFlags. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SecurityFlags. */ distinct?: SecurityFlagsScalarFieldEnum | SecurityFlagsScalarFieldEnum[] } /** * SecurityFlags findMany */ export type SecurityFlagsFindManyArgs = { /** * Select specific fields to fetch from the SecurityFlags */ select?: SecurityFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SecurityFlagsInclude | null /** * Filter, which SecurityFlags to fetch. */ where?: SecurityFlagsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SecurityFlags to fetch. */ orderBy?: SecurityFlagsOrderByWithRelationInput | SecurityFlagsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SecurityFlags. */ cursor?: SecurityFlagsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SecurityFlags from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SecurityFlags. */ skip?: number distinct?: SecurityFlagsScalarFieldEnum | SecurityFlagsScalarFieldEnum[] } /** * SecurityFlags create */ export type SecurityFlagsCreateArgs = { /** * Select specific fields to fetch from the SecurityFlags */ select?: SecurityFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SecurityFlagsInclude | null /** * The data needed to create a SecurityFlags. */ data: XOR } /** * SecurityFlags createMany */ export type SecurityFlagsCreateManyArgs = { /** * The data used to create many SecurityFlags. */ data: SecurityFlagsCreateManyInput | SecurityFlagsCreateManyInput[] skipDuplicates?: boolean } /** * SecurityFlags createManyAndReturn */ export type SecurityFlagsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SecurityFlags */ select?: SecurityFlagsSelectCreateManyAndReturn | null /** * The data used to create many SecurityFlags. */ data: SecurityFlagsCreateManyInput | SecurityFlagsCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SecurityFlagsIncludeCreateManyAndReturn | null } /** * SecurityFlags update */ export type SecurityFlagsUpdateArgs = { /** * Select specific fields to fetch from the SecurityFlags */ select?: SecurityFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SecurityFlagsInclude | null /** * The data needed to update a SecurityFlags. */ data: XOR /** * Choose, which SecurityFlags to update. */ where: SecurityFlagsWhereUniqueInput } /** * SecurityFlags updateMany */ export type SecurityFlagsUpdateManyArgs = { /** * The data used to update SecurityFlags. */ data: XOR /** * Filter which SecurityFlags to update */ where?: SecurityFlagsWhereInput } /** * SecurityFlags upsert */ export type SecurityFlagsUpsertArgs = { /** * Select specific fields to fetch from the SecurityFlags */ select?: SecurityFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SecurityFlagsInclude | null /** * The filter to search for the SecurityFlags to update in case it exists. */ where: SecurityFlagsWhereUniqueInput /** * In case the SecurityFlags found by the `where` argument doesn't exist, create a new SecurityFlags with this data. */ create: XOR /** * In case the SecurityFlags was found with the provided `where` argument, update it with this data. */ update: XOR } /** * SecurityFlags delete */ export type SecurityFlagsDeleteArgs = { /** * Select specific fields to fetch from the SecurityFlags */ select?: SecurityFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SecurityFlagsInclude | null /** * Filter which SecurityFlags to delete. */ where: SecurityFlagsWhereUniqueInput } /** * SecurityFlags deleteMany */ export type SecurityFlagsDeleteManyArgs = { /** * Filter which SecurityFlags to delete */ where?: SecurityFlagsWhereInput } /** * SecurityFlags without action */ export type SecurityFlagsDefaultArgs = { /** * Select specific fields to fetch from the SecurityFlags */ select?: SecurityFlagsSelect | null /** * Choose, which related nodes to fetch as well */ include?: SecurityFlagsInclude | null } /** * Model Report */ export type AggregateReport = { _count: ReportCountAggregateOutputType | null _min: ReportMinAggregateOutputType | null _max: ReportMaxAggregateOutputType | null } export type ReportMinAggregateOutputType = { id: string | null checkId: string | null markdownPath: string | null pdfPath: string | null createdAt: Date | null } export type ReportMaxAggregateOutputType = { id: string | null checkId: string | null markdownPath: string | null pdfPath: string | null createdAt: Date | null } export type ReportCountAggregateOutputType = { id: number checkId: number markdownPath: number pdfPath: number createdAt: number _all: number } export type ReportMinAggregateInputType = { id?: true checkId?: true markdownPath?: true pdfPath?: true createdAt?: true } export type ReportMaxAggregateInputType = { id?: true checkId?: true markdownPath?: true pdfPath?: true createdAt?: true } export type ReportCountAggregateInputType = { id?: true checkId?: true markdownPath?: true pdfPath?: true createdAt?: true _all?: true } export type ReportAggregateArgs = { /** * Filter which Report to aggregate. */ where?: ReportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Reports to fetch. */ orderBy?: ReportOrderByWithRelationInput | ReportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ReportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Reports from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Reports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Reports **/ _count?: true | ReportCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ReportMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ReportMaxAggregateInputType } export type GetReportAggregateType = { [P in keyof T & keyof AggregateReport]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ReportGroupByArgs = { where?: ReportWhereInput orderBy?: ReportOrderByWithAggregationInput | ReportOrderByWithAggregationInput[] by: ReportScalarFieldEnum[] | ReportScalarFieldEnum having?: ReportScalarWhereWithAggregatesInput take?: number skip?: number _count?: ReportCountAggregateInputType | true _min?: ReportMinAggregateInputType _max?: ReportMaxAggregateInputType } export type ReportGroupByOutputType = { id: string checkId: string markdownPath: string | null pdfPath: string | null createdAt: Date _count: ReportCountAggregateOutputType | null _min: ReportMinAggregateOutputType | null _max: ReportMaxAggregateOutputType | null } type GetReportGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ReportGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ReportSelect = $Extensions.GetSelect<{ id?: boolean checkId?: boolean markdownPath?: boolean pdfPath?: boolean createdAt?: boolean check?: boolean | CheckDefaultArgs }, ExtArgs["result"]["report"]> export type ReportSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean checkId?: boolean markdownPath?: boolean pdfPath?: boolean createdAt?: boolean check?: boolean | CheckDefaultArgs }, ExtArgs["result"]["report"]> export type ReportSelectScalar = { id?: boolean checkId?: boolean markdownPath?: boolean pdfPath?: boolean createdAt?: boolean } export type ReportInclude = { check?: boolean | CheckDefaultArgs } export type ReportIncludeCreateManyAndReturn = { check?: boolean | CheckDefaultArgs } export type $ReportPayload = { name: "Report" objects: { check: Prisma.$CheckPayload } scalars: $Extensions.GetPayloadResult<{ id: string checkId: string markdownPath: string | null pdfPath: string | null createdAt: Date }, ExtArgs["result"]["report"]> composites: {} } type ReportGetPayload = $Result.GetResult type ReportCountArgs = Omit & { select?: ReportCountAggregateInputType | true } export interface ReportDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Report'], meta: { name: 'Report' } } /** * Find zero or one Report that matches the filter. * @param {ReportFindUniqueArgs} args - Arguments to find a Report * @example * // Get one Report * const report = await prisma.report.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ReportClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one Report that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ReportFindUniqueOrThrowArgs} args - Arguments to find a Report * @example * // Get one Report * const report = await prisma.report.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ReportClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first Report 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 {ReportFindFirstArgs} args - Arguments to find a Report * @example * // Get one Report * const report = await prisma.report.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ReportClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first Report 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 {ReportFindFirstOrThrowArgs} args - Arguments to find a Report * @example * // Get one Report * const report = await prisma.report.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ReportClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more Reports 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 {ReportFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Reports * const reports = await prisma.report.findMany() * * // Get first 10 Reports * const reports = await prisma.report.findMany({ take: 10 }) * * // Only select the `id` * const reportWithIdOnly = await prisma.report.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a Report. * @param {ReportCreateArgs} args - Arguments to create a Report. * @example * // Create one Report * const Report = await prisma.report.create({ * data: { * // ... data to create a Report * } * }) * */ create(args: SelectSubset>): Prisma__ReportClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many Reports. * @param {ReportCreateManyArgs} args - Arguments to create many Reports. * @example * // Create many Reports * const report = await prisma.report.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Reports and returns the data saved in the database. * @param {ReportCreateManyAndReturnArgs} args - Arguments to create many Reports. * @example * // Create many Reports * const report = await prisma.report.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Reports and only return the `id` * const reportWithIdOnly = await prisma.report.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">> /** * Delete a Report. * @param {ReportDeleteArgs} args - Arguments to delete one Report. * @example * // Delete one Report * const Report = await prisma.report.delete({ * where: { * // ... filter to delete one Report * } * }) * */ delete(args: SelectSubset>): Prisma__ReportClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one Report. * @param {ReportUpdateArgs} args - Arguments to update one Report. * @example * // Update one Report * const report = await prisma.report.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ReportClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more Reports. * @param {ReportDeleteManyArgs} args - Arguments to filter Reports to delete. * @example * // Delete a few Reports * const { count } = await prisma.report.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Reports. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ReportUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Reports * const report = await prisma.report.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one Report. * @param {ReportUpsertArgs} args - Arguments to update or create a Report. * @example * // Update or create a Report * const report = await prisma.report.upsert({ * create: { * // ... data to create a Report * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Report we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ReportClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of Reports. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ReportCountArgs} args - Arguments to filter Reports to count. * @example * // Count the number of Reports * const count = await prisma.report.count({ * where: { * // ... the filter for the Reports 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 Report. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ReportAggregateArgs} 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 Report. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ReportGroupByArgs} 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 ReportGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ReportGroupByArgs['orderBy'] } : { orderBy?: ReportGroupByArgs['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 ? GetReportGroupByPayload : Prisma.PrismaPromise /** * Fields of the Report model */ readonly fields: ReportFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Report. * 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__ReportClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" check = {}>(args?: Subset>): Prisma__CheckClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> /** * 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 Report model */ interface ReportFieldRefs { readonly id: FieldRef<"Report", 'String'> readonly checkId: FieldRef<"Report", 'String'> readonly markdownPath: FieldRef<"Report", 'String'> readonly pdfPath: FieldRef<"Report", 'String'> readonly createdAt: FieldRef<"Report", 'DateTime'> } // Custom InputTypes /** * Report findUnique */ export type ReportFindUniqueArgs = { /** * Select specific fields to fetch from the Report */ select?: ReportSelect | null /** * Choose, which related nodes to fetch as well */ include?: ReportInclude | null /** * Filter, which Report to fetch. */ where: ReportWhereUniqueInput } /** * Report findUniqueOrThrow */ export type ReportFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Report */ select?: ReportSelect | null /** * Choose, which related nodes to fetch as well */ include?: ReportInclude | null /** * Filter, which Report to fetch. */ where: ReportWhereUniqueInput } /** * Report findFirst */ export type ReportFindFirstArgs = { /** * Select specific fields to fetch from the Report */ select?: ReportSelect | null /** * Choose, which related nodes to fetch as well */ include?: ReportInclude | null /** * Filter, which Report to fetch. */ where?: ReportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Reports to fetch. */ orderBy?: ReportOrderByWithRelationInput | ReportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Reports. */ cursor?: ReportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Reports from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Reports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Reports. */ distinct?: ReportScalarFieldEnum | ReportScalarFieldEnum[] } /** * Report findFirstOrThrow */ export type ReportFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Report */ select?: ReportSelect | null /** * Choose, which related nodes to fetch as well */ include?: ReportInclude | null /** * Filter, which Report to fetch. */ where?: ReportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Reports to fetch. */ orderBy?: ReportOrderByWithRelationInput | ReportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Reports. */ cursor?: ReportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Reports from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Reports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Reports. */ distinct?: ReportScalarFieldEnum | ReportScalarFieldEnum[] } /** * Report findMany */ export type ReportFindManyArgs = { /** * Select specific fields to fetch from the Report */ select?: ReportSelect | null /** * Choose, which related nodes to fetch as well */ include?: ReportInclude | null /** * Filter, which Reports to fetch. */ where?: ReportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Reports to fetch. */ orderBy?: ReportOrderByWithRelationInput | ReportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Reports. */ cursor?: ReportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Reports from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Reports. */ skip?: number distinct?: ReportScalarFieldEnum | ReportScalarFieldEnum[] } /** * Report create */ export type ReportCreateArgs = { /** * Select specific fields to fetch from the Report */ select?: ReportSelect | null /** * Choose, which related nodes to fetch as well */ include?: ReportInclude | null /** * The data needed to create a Report. */ data: XOR } /** * Report createMany */ export type ReportCreateManyArgs = { /** * The data used to create many Reports. */ data: ReportCreateManyInput | ReportCreateManyInput[] skipDuplicates?: boolean } /** * Report createManyAndReturn */ export type ReportCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Report */ select?: ReportSelectCreateManyAndReturn | null /** * The data used to create many Reports. */ data: ReportCreateManyInput | ReportCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: ReportIncludeCreateManyAndReturn | null } /** * Report update */ export type ReportUpdateArgs = { /** * Select specific fields to fetch from the Report */ select?: ReportSelect | null /** * Choose, which related nodes to fetch as well */ include?: ReportInclude | null /** * The data needed to update a Report. */ data: XOR /** * Choose, which Report to update. */ where: ReportWhereUniqueInput } /** * Report updateMany */ export type ReportUpdateManyArgs = { /** * The data used to update Reports. */ data: XOR /** * Filter which Reports to update */ where?: ReportWhereInput } /** * Report upsert */ export type ReportUpsertArgs = { /** * Select specific fields to fetch from the Report */ select?: ReportSelect | null /** * Choose, which related nodes to fetch as well */ include?: ReportInclude | null /** * The filter to search for the Report to update in case it exists. */ where: ReportWhereUniqueInput /** * In case the Report found by the `where` argument doesn't exist, create a new Report with this data. */ create: XOR /** * In case the Report was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Report delete */ export type ReportDeleteArgs = { /** * Select specific fields to fetch from the Report */ select?: ReportSelect | null /** * Choose, which related nodes to fetch as well */ include?: ReportInclude | null /** * Filter which Report to delete. */ where: ReportWhereUniqueInput } /** * Report deleteMany */ export type ReportDeleteManyArgs = { /** * Filter which Reports to delete */ where?: ReportWhereInput } /** * Report without action */ export type ReportDefaultArgs = { /** * Select specific fields to fetch from the Report */ select?: ReportSelect | null /** * Choose, which related nodes to fetch as well */ include?: ReportInclude | null } /** * Model BulkJob */ export type AggregateBulkJob = { _count: BulkJobCountAggregateOutputType | null _avg: BulkJobAvgAggregateOutputType | null _sum: BulkJobSumAggregateOutputType | null _min: BulkJobMinAggregateOutputType | null _max: BulkJobMaxAggregateOutputType | null } export type BulkJobAvgAggregateOutputType = { totalUrls: number | null processedUrls: number | null successfulUrls: number | null failedUrls: number | null } export type BulkJobSumAggregateOutputType = { totalUrls: number | null processedUrls: number | null successfulUrls: number | null failedUrls: number | null } export type BulkJobMinAggregateOutputType = { id: string | null userId: string | null organizationId: string | null projectId: string | null uploadPath: string | null status: $Enums.JobStatus | null totalUrls: number | null processedUrls: number | null successfulUrls: number | null failedUrls: number | null createdAt: Date | null startedAt: Date | null finishedAt: Date | null completedAt: Date | null } export type BulkJobMaxAggregateOutputType = { id: string | null userId: string | null organizationId: string | null projectId: string | null uploadPath: string | null status: $Enums.JobStatus | null totalUrls: number | null processedUrls: number | null successfulUrls: number | null failedUrls: number | null createdAt: Date | null startedAt: Date | null finishedAt: Date | null completedAt: Date | null } export type BulkJobCountAggregateOutputType = { id: number userId: number organizationId: number projectId: number uploadPath: number status: number totalUrls: number processedUrls: number successfulUrls: number failedUrls: number configJson: number urlsJson: number resultsJson: number progressJson: number createdAt: number startedAt: number finishedAt: number completedAt: number _all: number } export type BulkJobAvgAggregateInputType = { totalUrls?: true processedUrls?: true successfulUrls?: true failedUrls?: true } export type BulkJobSumAggregateInputType = { totalUrls?: true processedUrls?: true successfulUrls?: true failedUrls?: true } export type BulkJobMinAggregateInputType = { id?: true userId?: true organizationId?: true projectId?: true uploadPath?: true status?: true totalUrls?: true processedUrls?: true successfulUrls?: true failedUrls?: true createdAt?: true startedAt?: true finishedAt?: true completedAt?: true } export type BulkJobMaxAggregateInputType = { id?: true userId?: true organizationId?: true projectId?: true uploadPath?: true status?: true totalUrls?: true processedUrls?: true successfulUrls?: true failedUrls?: true createdAt?: true startedAt?: true finishedAt?: true completedAt?: true } export type BulkJobCountAggregateInputType = { id?: true userId?: true organizationId?: true projectId?: true uploadPath?: true status?: true totalUrls?: true processedUrls?: true successfulUrls?: true failedUrls?: true configJson?: true urlsJson?: true resultsJson?: true progressJson?: true createdAt?: true startedAt?: true finishedAt?: true completedAt?: true _all?: true } export type BulkJobAggregateArgs = { /** * Filter which BulkJob to aggregate. */ where?: BulkJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BulkJobs to fetch. */ orderBy?: BulkJobOrderByWithRelationInput | BulkJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: BulkJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BulkJobs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` BulkJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned BulkJobs **/ _count?: true | BulkJobCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: BulkJobAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: BulkJobSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: BulkJobMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: BulkJobMaxAggregateInputType } export type GetBulkJobAggregateType = { [P in keyof T & keyof AggregateBulkJob]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type BulkJobGroupByArgs = { where?: BulkJobWhereInput orderBy?: BulkJobOrderByWithAggregationInput | BulkJobOrderByWithAggregationInput[] by: BulkJobScalarFieldEnum[] | BulkJobScalarFieldEnum having?: BulkJobScalarWhereWithAggregatesInput take?: number skip?: number _count?: BulkJobCountAggregateInputType | true _avg?: BulkJobAvgAggregateInputType _sum?: BulkJobSumAggregateInputType _min?: BulkJobMinAggregateInputType _max?: BulkJobMaxAggregateInputType } export type BulkJobGroupByOutputType = { id: string userId: string organizationId: string | null projectId: string uploadPath: string status: $Enums.JobStatus totalUrls: number processedUrls: number successfulUrls: number failedUrls: number configJson: JsonValue urlsJson: JsonValue | null resultsJson: JsonValue | null progressJson: JsonValue createdAt: Date startedAt: Date | null finishedAt: Date | null completedAt: Date | null _count: BulkJobCountAggregateOutputType | null _avg: BulkJobAvgAggregateOutputType | null _sum: BulkJobSumAggregateOutputType | null _min: BulkJobMinAggregateOutputType | null _max: BulkJobMaxAggregateOutputType | null } type GetBulkJobGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof BulkJobGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type BulkJobSelect = $Extensions.GetSelect<{ id?: boolean userId?: boolean organizationId?: boolean projectId?: boolean uploadPath?: boolean status?: boolean totalUrls?: boolean processedUrls?: boolean successfulUrls?: boolean failedUrls?: boolean configJson?: boolean urlsJson?: boolean resultsJson?: boolean progressJson?: boolean createdAt?: boolean startedAt?: boolean finishedAt?: boolean completedAt?: boolean user?: boolean | UserDefaultArgs organization?: boolean | BulkJob$organizationArgs project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["bulkJob"]> export type BulkJobSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean userId?: boolean organizationId?: boolean projectId?: boolean uploadPath?: boolean status?: boolean totalUrls?: boolean processedUrls?: boolean successfulUrls?: boolean failedUrls?: boolean configJson?: boolean urlsJson?: boolean resultsJson?: boolean progressJson?: boolean createdAt?: boolean startedAt?: boolean finishedAt?: boolean completedAt?: boolean user?: boolean | UserDefaultArgs organization?: boolean | BulkJob$organizationArgs project?: boolean | ProjectDefaultArgs }, ExtArgs["result"]["bulkJob"]> export type BulkJobSelectScalar = { id?: boolean userId?: boolean organizationId?: boolean projectId?: boolean uploadPath?: boolean status?: boolean totalUrls?: boolean processedUrls?: boolean successfulUrls?: boolean failedUrls?: boolean configJson?: boolean urlsJson?: boolean resultsJson?: boolean progressJson?: boolean createdAt?: boolean startedAt?: boolean finishedAt?: boolean completedAt?: boolean } export type BulkJobInclude = { user?: boolean | UserDefaultArgs organization?: boolean | BulkJob$organizationArgs project?: boolean | ProjectDefaultArgs } export type BulkJobIncludeCreateManyAndReturn = { user?: boolean | UserDefaultArgs organization?: boolean | BulkJob$organizationArgs project?: boolean | ProjectDefaultArgs } export type $BulkJobPayload = { name: "BulkJob" objects: { user: Prisma.$UserPayload organization: Prisma.$OrganizationPayload | null project: Prisma.$ProjectPayload } scalars: $Extensions.GetPayloadResult<{ id: string userId: string organizationId: string | null projectId: string uploadPath: string status: $Enums.JobStatus totalUrls: number processedUrls: number successfulUrls: number failedUrls: number configJson: Prisma.JsonValue urlsJson: Prisma.JsonValue | null resultsJson: Prisma.JsonValue | null progressJson: Prisma.JsonValue createdAt: Date startedAt: Date | null finishedAt: Date | null completedAt: Date | null }, ExtArgs["result"]["bulkJob"]> composites: {} } type BulkJobGetPayload = $Result.GetResult type BulkJobCountArgs = Omit & { select?: BulkJobCountAggregateInputType | true } export interface BulkJobDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['BulkJob'], meta: { name: 'BulkJob' } } /** * Find zero or one BulkJob that matches the filter. * @param {BulkJobFindUniqueArgs} args - Arguments to find a BulkJob * @example * // Get one BulkJob * const bulkJob = await prisma.bulkJob.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__BulkJobClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one BulkJob that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {BulkJobFindUniqueOrThrowArgs} args - Arguments to find a BulkJob * @example * // Get one BulkJob * const bulkJob = await prisma.bulkJob.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__BulkJobClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first BulkJob 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 {BulkJobFindFirstArgs} args - Arguments to find a BulkJob * @example * // Get one BulkJob * const bulkJob = await prisma.bulkJob.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__BulkJobClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first BulkJob 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 {BulkJobFindFirstOrThrowArgs} args - Arguments to find a BulkJob * @example * // Get one BulkJob * const bulkJob = await prisma.bulkJob.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__BulkJobClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more BulkJobs 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 {BulkJobFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all BulkJobs * const bulkJobs = await prisma.bulkJob.findMany() * * // Get first 10 BulkJobs * const bulkJobs = await prisma.bulkJob.findMany({ take: 10 }) * * // Only select the `id` * const bulkJobWithIdOnly = await prisma.bulkJob.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a BulkJob. * @param {BulkJobCreateArgs} args - Arguments to create a BulkJob. * @example * // Create one BulkJob * const BulkJob = await prisma.bulkJob.create({ * data: { * // ... data to create a BulkJob * } * }) * */ create(args: SelectSubset>): Prisma__BulkJobClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many BulkJobs. * @param {BulkJobCreateManyArgs} args - Arguments to create many BulkJobs. * @example * // Create many BulkJobs * const bulkJob = await prisma.bulkJob.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many BulkJobs and returns the data saved in the database. * @param {BulkJobCreateManyAndReturnArgs} args - Arguments to create many BulkJobs. * @example * // Create many BulkJobs * const bulkJob = await prisma.bulkJob.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many BulkJobs and only return the `id` * const bulkJobWithIdOnly = await prisma.bulkJob.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">> /** * Delete a BulkJob. * @param {BulkJobDeleteArgs} args - Arguments to delete one BulkJob. * @example * // Delete one BulkJob * const BulkJob = await prisma.bulkJob.delete({ * where: { * // ... filter to delete one BulkJob * } * }) * */ delete(args: SelectSubset>): Prisma__BulkJobClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one BulkJob. * @param {BulkJobUpdateArgs} args - Arguments to update one BulkJob. * @example * // Update one BulkJob * const bulkJob = await prisma.bulkJob.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__BulkJobClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more BulkJobs. * @param {BulkJobDeleteManyArgs} args - Arguments to filter BulkJobs to delete. * @example * // Delete a few BulkJobs * const { count } = await prisma.bulkJob.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more BulkJobs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BulkJobUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many BulkJobs * const bulkJob = await prisma.bulkJob.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one BulkJob. * @param {BulkJobUpsertArgs} args - Arguments to update or create a BulkJob. * @example * // Update or create a BulkJob * const bulkJob = await prisma.bulkJob.upsert({ * create: { * // ... data to create a BulkJob * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the BulkJob we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__BulkJobClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of BulkJobs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BulkJobCountArgs} args - Arguments to filter BulkJobs to count. * @example * // Count the number of BulkJobs * const count = await prisma.bulkJob.count({ * where: { * // ... the filter for the BulkJobs 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 BulkJob. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BulkJobAggregateArgs} 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 BulkJob. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BulkJobGroupByArgs} 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 BulkJobGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: BulkJobGroupByArgs['orderBy'] } : { orderBy?: BulkJobGroupByArgs['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 ? GetBulkJobGroupByPayload : Prisma.PrismaPromise /** * Fields of the BulkJob model */ readonly fields: BulkJobFieldRefs; } /** * The delegate class that acts as a "Promise-like" for BulkJob. * 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__BulkJobClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> organization = {}>(args?: Subset>): Prisma__OrganizationClient<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> project = {}>(args?: Subset>): Prisma__ProjectClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> /** * 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 BulkJob model */ interface BulkJobFieldRefs { readonly id: FieldRef<"BulkJob", 'String'> readonly userId: FieldRef<"BulkJob", 'String'> readonly organizationId: FieldRef<"BulkJob", 'String'> readonly projectId: FieldRef<"BulkJob", 'String'> readonly uploadPath: FieldRef<"BulkJob", 'String'> readonly status: FieldRef<"BulkJob", 'JobStatus'> readonly totalUrls: FieldRef<"BulkJob", 'Int'> readonly processedUrls: FieldRef<"BulkJob", 'Int'> readonly successfulUrls: FieldRef<"BulkJob", 'Int'> readonly failedUrls: FieldRef<"BulkJob", 'Int'> readonly configJson: FieldRef<"BulkJob", 'Json'> readonly urlsJson: FieldRef<"BulkJob", 'Json'> readonly resultsJson: FieldRef<"BulkJob", 'Json'> readonly progressJson: FieldRef<"BulkJob", 'Json'> readonly createdAt: FieldRef<"BulkJob", 'DateTime'> readonly startedAt: FieldRef<"BulkJob", 'DateTime'> readonly finishedAt: FieldRef<"BulkJob", 'DateTime'> readonly completedAt: FieldRef<"BulkJob", 'DateTime'> } // Custom InputTypes /** * BulkJob findUnique */ export type BulkJobFindUniqueArgs = { /** * Select specific fields to fetch from the BulkJob */ select?: BulkJobSelect | null /** * Choose, which related nodes to fetch as well */ include?: BulkJobInclude | null /** * Filter, which BulkJob to fetch. */ where: BulkJobWhereUniqueInput } /** * BulkJob findUniqueOrThrow */ export type BulkJobFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the BulkJob */ select?: BulkJobSelect | null /** * Choose, which related nodes to fetch as well */ include?: BulkJobInclude | null /** * Filter, which BulkJob to fetch. */ where: BulkJobWhereUniqueInput } /** * BulkJob findFirst */ export type BulkJobFindFirstArgs = { /** * Select specific fields to fetch from the BulkJob */ select?: BulkJobSelect | null /** * Choose, which related nodes to fetch as well */ include?: BulkJobInclude | null /** * Filter, which BulkJob to fetch. */ where?: BulkJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BulkJobs to fetch. */ orderBy?: BulkJobOrderByWithRelationInput | BulkJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BulkJobs. */ cursor?: BulkJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BulkJobs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` BulkJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BulkJobs. */ distinct?: BulkJobScalarFieldEnum | BulkJobScalarFieldEnum[] } /** * BulkJob findFirstOrThrow */ export type BulkJobFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the BulkJob */ select?: BulkJobSelect | null /** * Choose, which related nodes to fetch as well */ include?: BulkJobInclude | null /** * Filter, which BulkJob to fetch. */ where?: BulkJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BulkJobs to fetch. */ orderBy?: BulkJobOrderByWithRelationInput | BulkJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BulkJobs. */ cursor?: BulkJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BulkJobs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` BulkJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BulkJobs. */ distinct?: BulkJobScalarFieldEnum | BulkJobScalarFieldEnum[] } /** * BulkJob findMany */ export type BulkJobFindManyArgs = { /** * Select specific fields to fetch from the BulkJob */ select?: BulkJobSelect | null /** * Choose, which related nodes to fetch as well */ include?: BulkJobInclude | null /** * Filter, which BulkJobs to fetch. */ where?: BulkJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BulkJobs to fetch. */ orderBy?: BulkJobOrderByWithRelationInput | BulkJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing BulkJobs. */ cursor?: BulkJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BulkJobs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` BulkJobs. */ skip?: number distinct?: BulkJobScalarFieldEnum | BulkJobScalarFieldEnum[] } /** * BulkJob create */ export type BulkJobCreateArgs = { /** * Select specific fields to fetch from the BulkJob */ select?: BulkJobSelect | null /** * Choose, which related nodes to fetch as well */ include?: BulkJobInclude | null /** * The data needed to create a BulkJob. */ data: XOR } /** * BulkJob createMany */ export type BulkJobCreateManyArgs = { /** * The data used to create many BulkJobs. */ data: BulkJobCreateManyInput | BulkJobCreateManyInput[] skipDuplicates?: boolean } /** * BulkJob createManyAndReturn */ export type BulkJobCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the BulkJob */ select?: BulkJobSelectCreateManyAndReturn | null /** * The data used to create many BulkJobs. */ data: BulkJobCreateManyInput | BulkJobCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: BulkJobIncludeCreateManyAndReturn | null } /** * BulkJob update */ export type BulkJobUpdateArgs = { /** * Select specific fields to fetch from the BulkJob */ select?: BulkJobSelect | null /** * Choose, which related nodes to fetch as well */ include?: BulkJobInclude | null /** * The data needed to update a BulkJob. */ data: XOR /** * Choose, which BulkJob to update. */ where: BulkJobWhereUniqueInput } /** * BulkJob updateMany */ export type BulkJobUpdateManyArgs = { /** * The data used to update BulkJobs. */ data: XOR /** * Filter which BulkJobs to update */ where?: BulkJobWhereInput } /** * BulkJob upsert */ export type BulkJobUpsertArgs = { /** * Select specific fields to fetch from the BulkJob */ select?: BulkJobSelect | null /** * Choose, which related nodes to fetch as well */ include?: BulkJobInclude | null /** * The filter to search for the BulkJob to update in case it exists. */ where: BulkJobWhereUniqueInput /** * In case the BulkJob found by the `where` argument doesn't exist, create a new BulkJob with this data. */ create: XOR /** * In case the BulkJob was found with the provided `where` argument, update it with this data. */ update: XOR } /** * BulkJob delete */ export type BulkJobDeleteArgs = { /** * Select specific fields to fetch from the BulkJob */ select?: BulkJobSelect | null /** * Choose, which related nodes to fetch as well */ include?: BulkJobInclude | null /** * Filter which BulkJob to delete. */ where: BulkJobWhereUniqueInput } /** * BulkJob deleteMany */ export type BulkJobDeleteManyArgs = { /** * Filter which BulkJobs to delete */ where?: BulkJobWhereInput } /** * BulkJob.organization */ export type BulkJob$organizationArgs = { /** * Select specific fields to fetch from the Organization */ select?: OrganizationSelect | null /** * Choose, which related nodes to fetch as well */ include?: OrganizationInclude | null where?: OrganizationWhereInput } /** * BulkJob without action */ export type BulkJobDefaultArgs = { /** * Select specific fields to fetch from the BulkJob */ select?: BulkJobSelect | null /** * Choose, which related nodes to fetch as well */ include?: BulkJobInclude | null } /** * Model ApiKey */ export type AggregateApiKey = { _count: ApiKeyCountAggregateOutputType | null _avg: ApiKeyAvgAggregateOutputType | null _sum: ApiKeySumAggregateOutputType | null _min: ApiKeyMinAggregateOutputType | null _max: ApiKeyMaxAggregateOutputType | null } export type ApiKeyAvgAggregateOutputType = { rateLimitQuota: number | null } export type ApiKeySumAggregateOutputType = { rateLimitQuota: number | null } export type ApiKeyMinAggregateOutputType = { id: string | null orgId: string | null name: string | null tokenHash: string | null rateLimitQuota: number | null createdAt: Date | null } export type ApiKeyMaxAggregateOutputType = { id: string | null orgId: string | null name: string | null tokenHash: string | null rateLimitQuota: number | null createdAt: Date | null } export type ApiKeyCountAggregateOutputType = { id: number orgId: number name: number tokenHash: number permsJson: number rateLimitQuota: number createdAt: number _all: number } export type ApiKeyAvgAggregateInputType = { rateLimitQuota?: true } export type ApiKeySumAggregateInputType = { rateLimitQuota?: true } export type ApiKeyMinAggregateInputType = { id?: true orgId?: true name?: true tokenHash?: true rateLimitQuota?: true createdAt?: true } export type ApiKeyMaxAggregateInputType = { id?: true orgId?: true name?: true tokenHash?: true rateLimitQuota?: true createdAt?: true } export type ApiKeyCountAggregateInputType = { id?: true orgId?: true name?: true tokenHash?: true permsJson?: true rateLimitQuota?: true createdAt?: true _all?: true } export type ApiKeyAggregateArgs = { /** * Filter which ApiKey to aggregate. */ where?: ApiKeyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ApiKeys to fetch. */ orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ApiKeyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ApiKeys from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` ApiKeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ApiKeys **/ _count?: true | ApiKeyCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ApiKeyAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ApiKeySumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ApiKeyMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ApiKeyMaxAggregateInputType } export type GetApiKeyAggregateType = { [P in keyof T & keyof AggregateApiKey]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ApiKeyGroupByArgs = { where?: ApiKeyWhereInput orderBy?: ApiKeyOrderByWithAggregationInput | ApiKeyOrderByWithAggregationInput[] by: ApiKeyScalarFieldEnum[] | ApiKeyScalarFieldEnum having?: ApiKeyScalarWhereWithAggregatesInput take?: number skip?: number _count?: ApiKeyCountAggregateInputType | true _avg?: ApiKeyAvgAggregateInputType _sum?: ApiKeySumAggregateInputType _min?: ApiKeyMinAggregateInputType _max?: ApiKeyMaxAggregateInputType } export type ApiKeyGroupByOutputType = { id: string orgId: string name: string tokenHash: string permsJson: JsonValue rateLimitQuota: number createdAt: Date _count: ApiKeyCountAggregateOutputType | null _avg: ApiKeyAvgAggregateOutputType | null _sum: ApiKeySumAggregateOutputType | null _min: ApiKeyMinAggregateOutputType | null _max: ApiKeyMaxAggregateOutputType | null } type GetApiKeyGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ApiKeyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ApiKeySelect = $Extensions.GetSelect<{ id?: boolean orgId?: boolean name?: boolean tokenHash?: boolean permsJson?: boolean rateLimitQuota?: boolean createdAt?: boolean organization?: boolean | OrganizationDefaultArgs }, ExtArgs["result"]["apiKey"]> export type ApiKeySelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean orgId?: boolean name?: boolean tokenHash?: boolean permsJson?: boolean rateLimitQuota?: boolean createdAt?: boolean organization?: boolean | OrganizationDefaultArgs }, ExtArgs["result"]["apiKey"]> export type ApiKeySelectScalar = { id?: boolean orgId?: boolean name?: boolean tokenHash?: boolean permsJson?: boolean rateLimitQuota?: boolean createdAt?: boolean } export type ApiKeyInclude = { organization?: boolean | OrganizationDefaultArgs } export type ApiKeyIncludeCreateManyAndReturn = { organization?: boolean | OrganizationDefaultArgs } export type $ApiKeyPayload = { name: "ApiKey" objects: { organization: Prisma.$OrganizationPayload } scalars: $Extensions.GetPayloadResult<{ id: string orgId: string name: string tokenHash: string permsJson: Prisma.JsonValue rateLimitQuota: number createdAt: Date }, ExtArgs["result"]["apiKey"]> composites: {} } type ApiKeyGetPayload = $Result.GetResult type ApiKeyCountArgs = Omit & { select?: ApiKeyCountAggregateInputType | true } export interface ApiKeyDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ApiKey'], meta: { name: 'ApiKey' } } /** * Find zero or one ApiKey that matches the filter. * @param {ApiKeyFindUniqueArgs} args - Arguments to find a ApiKey * @example * // Get one ApiKey * const apiKey = await prisma.apiKey.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one ApiKey that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ApiKeyFindUniqueOrThrowArgs} args - Arguments to find a ApiKey * @example * // Get one ApiKey * const apiKey = await prisma.apiKey.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first ApiKey that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyFindFirstArgs} args - Arguments to find a ApiKey * @example * // Get one ApiKey * const apiKey = await prisma.apiKey.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first ApiKey that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyFindFirstOrThrowArgs} args - Arguments to find a ApiKey * @example * // Get one ApiKey * const apiKey = await prisma.apiKey.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more ApiKeys that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ApiKeys * const apiKeys = await prisma.apiKey.findMany() * * // Get first 10 ApiKeys * const apiKeys = await prisma.apiKey.findMany({ take: 10 }) * * // Only select the `id` * const apiKeyWithIdOnly = await prisma.apiKey.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a ApiKey. * @param {ApiKeyCreateArgs} args - Arguments to create a ApiKey. * @example * // Create one ApiKey * const ApiKey = await prisma.apiKey.create({ * data: { * // ... data to create a ApiKey * } * }) * */ create(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many ApiKeys. * @param {ApiKeyCreateManyArgs} args - Arguments to create many ApiKeys. * @example * // Create many ApiKeys * const apiKey = await prisma.apiKey.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many ApiKeys and returns the data saved in the database. * @param {ApiKeyCreateManyAndReturnArgs} args - Arguments to create many ApiKeys. * @example * // Create many ApiKeys * const apiKey = await prisma.apiKey.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ApiKeys and only return the `id` * const apiKeyWithIdOnly = await prisma.apiKey.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> /** * Delete a ApiKey. * @param {ApiKeyDeleteArgs} args - Arguments to delete one ApiKey. * @example * // Delete one ApiKey * const ApiKey = await prisma.apiKey.delete({ * where: { * // ... filter to delete one ApiKey * } * }) * */ delete(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one ApiKey. * @param {ApiKeyUpdateArgs} args - Arguments to update one ApiKey. * @example * // Update one ApiKey * const apiKey = await prisma.apiKey.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more ApiKeys. * @param {ApiKeyDeleteManyArgs} args - Arguments to filter ApiKeys to delete. * @example * // Delete a few ApiKeys * const { count } = await prisma.apiKey.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ApiKeys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ApiKeys * const apiKey = await prisma.apiKey.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one ApiKey. * @param {ApiKeyUpsertArgs} args - Arguments to update or create a ApiKey. * @example * // Update or create a ApiKey * const apiKey = await prisma.apiKey.upsert({ * create: { * // ... data to create a ApiKey * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ApiKey we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of ApiKeys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyCountArgs} args - Arguments to filter ApiKeys to count. * @example * // Count the number of ApiKeys * const count = await prisma.apiKey.count({ * where: { * // ... the filter for the ApiKeys we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a ApiKey. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by ApiKey. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends ApiKeyGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ApiKeyGroupByArgs['orderBy'] } : { orderBy?: ApiKeyGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetApiKeyGroupByPayload : Prisma.PrismaPromise /** * Fields of the ApiKey model */ readonly fields: ApiKeyFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ApiKey. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__ApiKeyClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" organization = {}>(args?: Subset>): Prisma__OrganizationClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the ApiKey model */ interface ApiKeyFieldRefs { readonly id: FieldRef<"ApiKey", 'String'> readonly orgId: FieldRef<"ApiKey", 'String'> readonly name: FieldRef<"ApiKey", 'String'> readonly tokenHash: FieldRef<"ApiKey", 'String'> readonly permsJson: FieldRef<"ApiKey", 'Json'> readonly rateLimitQuota: FieldRef<"ApiKey", 'Int'> readonly createdAt: FieldRef<"ApiKey", 'DateTime'> } // Custom InputTypes /** * ApiKey findUnique */ export type ApiKeyFindUniqueArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKey to fetch. */ where: ApiKeyWhereUniqueInput } /** * ApiKey findUniqueOrThrow */ export type ApiKeyFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKey to fetch. */ where: ApiKeyWhereUniqueInput } /** * ApiKey findFirst */ export type ApiKeyFindFirstArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKey to fetch. */ where?: ApiKeyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ApiKeys to fetch. */ orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ApiKeys. */ cursor?: ApiKeyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ApiKeys from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` ApiKeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ApiKeys. */ distinct?: ApiKeyScalarFieldEnum | ApiKeyScalarFieldEnum[] } /** * ApiKey findFirstOrThrow */ export type ApiKeyFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKey to fetch. */ where?: ApiKeyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ApiKeys to fetch. */ orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ApiKeys. */ cursor?: ApiKeyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ApiKeys from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` ApiKeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ApiKeys. */ distinct?: ApiKeyScalarFieldEnum | ApiKeyScalarFieldEnum[] } /** * ApiKey findMany */ export type ApiKeyFindManyArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKeys to fetch. */ where?: ApiKeyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ApiKeys to fetch. */ orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ApiKeys. */ cursor?: ApiKeyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ApiKeys from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` ApiKeys. */ skip?: number distinct?: ApiKeyScalarFieldEnum | ApiKeyScalarFieldEnum[] } /** * ApiKey create */ export type ApiKeyCreateArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * The data needed to create a ApiKey. */ data: XOR } /** * ApiKey createMany */ export type ApiKeyCreateManyArgs = { /** * The data used to create many ApiKeys. */ data: ApiKeyCreateManyInput | ApiKeyCreateManyInput[] skipDuplicates?: boolean } /** * ApiKey createManyAndReturn */ export type ApiKeyCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelectCreateManyAndReturn | null /** * The data used to create many ApiKeys. */ data: ApiKeyCreateManyInput | ApiKeyCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: ApiKeyIncludeCreateManyAndReturn | null } /** * ApiKey update */ export type ApiKeyUpdateArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * The data needed to update a ApiKey. */ data: XOR /** * Choose, which ApiKey to update. */ where: ApiKeyWhereUniqueInput } /** * ApiKey updateMany */ export type ApiKeyUpdateManyArgs = { /** * The data used to update ApiKeys. */ data: XOR /** * Filter which ApiKeys to update */ where?: ApiKeyWhereInput } /** * ApiKey upsert */ export type ApiKeyUpsertArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * The filter to search for the ApiKey to update in case it exists. */ where: ApiKeyWhereUniqueInput /** * In case the ApiKey found by the `where` argument doesn't exist, create a new ApiKey with this data. */ create: XOR /** * In case the ApiKey was found with the provided `where` argument, update it with this data. */ update: XOR } /** * ApiKey delete */ export type ApiKeyDeleteArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter which ApiKey to delete. */ where: ApiKeyWhereUniqueInput } /** * ApiKey deleteMany */ export type ApiKeyDeleteManyArgs = { /** * Filter which ApiKeys to delete */ where?: ApiKeyWhereInput } /** * ApiKey without action */ export type ApiKeyDefaultArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null } /** * Model AuditLog */ export type AggregateAuditLog = { _count: AuditLogCountAggregateOutputType | null _min: AuditLogMinAggregateOutputType | null _max: AuditLogMaxAggregateOutputType | null } export type AuditLogMinAggregateOutputType = { id: string | null orgId: string | null actorUserId: string | null action: string | null entity: string | null entityId: string | null createdAt: Date | null } export type AuditLogMaxAggregateOutputType = { id: string | null orgId: string | null actorUserId: string | null action: string | null entity: string | null entityId: string | null createdAt: Date | null } export type AuditLogCountAggregateOutputType = { id: number orgId: number actorUserId: number action: number entity: number entityId: number metaJson: number createdAt: number _all: number } export type AuditLogMinAggregateInputType = { id?: true orgId?: true actorUserId?: true action?: true entity?: true entityId?: true createdAt?: true } export type AuditLogMaxAggregateInputType = { id?: true orgId?: true actorUserId?: true action?: true entity?: true entityId?: true createdAt?: true } export type AuditLogCountAggregateInputType = { id?: true orgId?: true actorUserId?: true action?: true entity?: true entityId?: true metaJson?: true createdAt?: true _all?: true } export type AuditLogAggregateArgs = { /** * Filter which AuditLog to aggregate. */ where?: AuditLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuditLogs to fetch. */ orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AuditLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuditLogs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AuditLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AuditLogs **/ _count?: true | AuditLogCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AuditLogMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AuditLogMaxAggregateInputType } export type GetAuditLogAggregateType = { [P in keyof T & keyof AggregateAuditLog]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AuditLogGroupByArgs = { where?: AuditLogWhereInput orderBy?: AuditLogOrderByWithAggregationInput | AuditLogOrderByWithAggregationInput[] by: AuditLogScalarFieldEnum[] | AuditLogScalarFieldEnum having?: AuditLogScalarWhereWithAggregatesInput take?: number skip?: number _count?: AuditLogCountAggregateInputType | true _min?: AuditLogMinAggregateInputType _max?: AuditLogMaxAggregateInputType } export type AuditLogGroupByOutputType = { id: string orgId: string actorUserId: string | null action: string entity: string entityId: string metaJson: JsonValue createdAt: Date _count: AuditLogCountAggregateOutputType | null _min: AuditLogMinAggregateOutputType | null _max: AuditLogMaxAggregateOutputType | null } type GetAuditLogGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AuditLogGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AuditLogSelect = $Extensions.GetSelect<{ id?: boolean orgId?: boolean actorUserId?: boolean action?: boolean entity?: boolean entityId?: boolean metaJson?: boolean createdAt?: boolean organization?: boolean | OrganizationDefaultArgs actor?: boolean | AuditLog$actorArgs }, ExtArgs["result"]["auditLog"]> export type AuditLogSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean orgId?: boolean actorUserId?: boolean action?: boolean entity?: boolean entityId?: boolean metaJson?: boolean createdAt?: boolean organization?: boolean | OrganizationDefaultArgs actor?: boolean | AuditLog$actorArgs }, ExtArgs["result"]["auditLog"]> export type AuditLogSelectScalar = { id?: boolean orgId?: boolean actorUserId?: boolean action?: boolean entity?: boolean entityId?: boolean metaJson?: boolean createdAt?: boolean } export type AuditLogInclude = { organization?: boolean | OrganizationDefaultArgs actor?: boolean | AuditLog$actorArgs } export type AuditLogIncludeCreateManyAndReturn = { organization?: boolean | OrganizationDefaultArgs actor?: boolean | AuditLog$actorArgs } export type $AuditLogPayload = { name: "AuditLog" objects: { organization: Prisma.$OrganizationPayload actor: Prisma.$UserPayload | null } scalars: $Extensions.GetPayloadResult<{ id: string orgId: string actorUserId: string | null action: string entity: string entityId: string metaJson: Prisma.JsonValue createdAt: Date }, ExtArgs["result"]["auditLog"]> composites: {} } type AuditLogGetPayload = $Result.GetResult type AuditLogCountArgs = Omit & { select?: AuditLogCountAggregateInputType | true } export interface AuditLogDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AuditLog'], meta: { name: 'AuditLog' } } /** * Find zero or one AuditLog that matches the filter. * @param {AuditLogFindUniqueArgs} args - Arguments to find a AuditLog * @example * // Get one AuditLog * const auditLog = await prisma.auditLog.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "findUnique"> | null, null, ExtArgs> /** * Find one AuditLog that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AuditLogFindUniqueOrThrowArgs} args - Arguments to find a AuditLog * @example * // Get one AuditLog * const auditLog = await prisma.auditLog.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "findUniqueOrThrow">, never, ExtArgs> /** * Find the first AuditLog that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuditLogFindFirstArgs} args - Arguments to find a AuditLog * @example * // Get one AuditLog * const auditLog = await prisma.auditLog.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "findFirst"> | null, null, ExtArgs> /** * Find the first AuditLog that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuditLogFindFirstOrThrowArgs} args - Arguments to find a AuditLog * @example * // Get one AuditLog * const auditLog = await prisma.auditLog.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "findFirstOrThrow">, never, ExtArgs> /** * Find zero or more AuditLogs that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuditLogFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AuditLogs * const auditLogs = await prisma.auditLog.findMany() * * // Get first 10 AuditLogs * const auditLogs = await prisma.auditLog.findMany({ take: 10 }) * * // Only select the `id` * const auditLogWithIdOnly = await prisma.auditLog.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany">> /** * Create a AuditLog. * @param {AuditLogCreateArgs} args - Arguments to create a AuditLog. * @example * // Create one AuditLog * const AuditLog = await prisma.auditLog.create({ * data: { * // ... data to create a AuditLog * } * }) * */ create(args: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "create">, never, ExtArgs> /** * Create many AuditLogs. * @param {AuditLogCreateManyArgs} args - Arguments to create many AuditLogs. * @example * // Create many AuditLogs * const auditLog = await prisma.auditLog.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many AuditLogs and returns the data saved in the database. * @param {AuditLogCreateManyAndReturnArgs} args - Arguments to create many AuditLogs. * @example * // Create many AuditLogs * const auditLog = await prisma.auditLog.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AuditLogs and only return the `id` * const auditLogWithIdOnly = await prisma.auditLog.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn">> /** * Delete a AuditLog. * @param {AuditLogDeleteArgs} args - Arguments to delete one AuditLog. * @example * // Delete one AuditLog * const AuditLog = await prisma.auditLog.delete({ * where: { * // ... filter to delete one AuditLog * } * }) * */ delete(args: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "delete">, never, ExtArgs> /** * Update one AuditLog. * @param {AuditLogUpdateArgs} args - Arguments to update one AuditLog. * @example * // Update one AuditLog * const auditLog = await prisma.auditLog.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "update">, never, ExtArgs> /** * Delete zero or more AuditLogs. * @param {AuditLogDeleteManyArgs} args - Arguments to filter AuditLogs to delete. * @example * // Delete a few AuditLogs * const { count } = await prisma.auditLog.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AuditLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuditLogUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AuditLogs * const auditLog = await prisma.auditLog.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one AuditLog. * @param {AuditLogUpsertArgs} args - Arguments to update or create a AuditLog. * @example * // Update or create a AuditLog * const auditLog = await prisma.auditLog.upsert({ * create: { * // ... data to create a AuditLog * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AuditLog we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AuditLogClient<$Result.GetResult, T, "upsert">, never, ExtArgs> /** * Count the number of AuditLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuditLogCountArgs} args - Arguments to filter AuditLogs to count. * @example * // Count the number of AuditLogs * const count = await prisma.auditLog.count({ * where: { * // ... the filter for the AuditLogs we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a AuditLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuditLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by AuditLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuditLogGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends AuditLogGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AuditLogGroupByArgs['orderBy'] } : { orderBy?: AuditLogGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetAuditLogGroupByPayload : Prisma.PrismaPromise /** * Fields of the AuditLog model */ readonly fields: AuditLogFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AuditLog. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__AuditLogClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" organization = {}>(args?: Subset>): Prisma__OrganizationClient<$Result.GetResult, T, "findUniqueOrThrow"> | Null, Null, ExtArgs> actor = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow"> | null, null, ExtArgs> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the AuditLog model */ interface AuditLogFieldRefs { readonly id: FieldRef<"AuditLog", 'String'> readonly orgId: FieldRef<"AuditLog", 'String'> readonly actorUserId: FieldRef<"AuditLog", 'String'> readonly action: FieldRef<"AuditLog", 'String'> readonly entity: FieldRef<"AuditLog", 'String'> readonly entityId: FieldRef<"AuditLog", 'String'> readonly metaJson: FieldRef<"AuditLog", 'Json'> readonly createdAt: FieldRef<"AuditLog", 'DateTime'> } // Custom InputTypes /** * AuditLog findUnique */ export type AuditLogFindUniqueArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: AuditLogInclude | null /** * Filter, which AuditLog to fetch. */ where: AuditLogWhereUniqueInput } /** * AuditLog findUniqueOrThrow */ export type AuditLogFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: AuditLogInclude | null /** * Filter, which AuditLog to fetch. */ where: AuditLogWhereUniqueInput } /** * AuditLog findFirst */ export type AuditLogFindFirstArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: AuditLogInclude | null /** * Filter, which AuditLog to fetch. */ where?: AuditLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuditLogs to fetch. */ orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AuditLogs. */ cursor?: AuditLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuditLogs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AuditLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AuditLogs. */ distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[] } /** * AuditLog findFirstOrThrow */ export type AuditLogFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: AuditLogInclude | null /** * Filter, which AuditLog to fetch. */ where?: AuditLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuditLogs to fetch. */ orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AuditLogs. */ cursor?: AuditLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuditLogs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AuditLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AuditLogs. */ distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[] } /** * AuditLog findMany */ export type AuditLogFindManyArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: AuditLogInclude | null /** * Filter, which AuditLogs to fetch. */ where?: AuditLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuditLogs to fetch. */ orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AuditLogs. */ cursor?: AuditLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuditLogs from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AuditLogs. */ skip?: number distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[] } /** * AuditLog create */ export type AuditLogCreateArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: AuditLogInclude | null /** * The data needed to create a AuditLog. */ data: XOR } /** * AuditLog createMany */ export type AuditLogCreateManyArgs = { /** * The data used to create many AuditLogs. */ data: AuditLogCreateManyInput | AuditLogCreateManyInput[] skipDuplicates?: boolean } /** * AuditLog createManyAndReturn */ export type AuditLogCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelectCreateManyAndReturn | null /** * The data used to create many AuditLogs. */ data: AuditLogCreateManyInput | AuditLogCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: AuditLogIncludeCreateManyAndReturn | null } /** * AuditLog update */ export type AuditLogUpdateArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: AuditLogInclude | null /** * The data needed to update a AuditLog. */ data: XOR /** * Choose, which AuditLog to update. */ where: AuditLogWhereUniqueInput } /** * AuditLog updateMany */ export type AuditLogUpdateManyArgs = { /** * The data used to update AuditLogs. */ data: XOR /** * Filter which AuditLogs to update */ where?: AuditLogWhereInput } /** * AuditLog upsert */ export type AuditLogUpsertArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: AuditLogInclude | null /** * The filter to search for the AuditLog to update in case it exists. */ where: AuditLogWhereUniqueInput /** * In case the AuditLog found by the `where` argument doesn't exist, create a new AuditLog with this data. */ create: XOR /** * In case the AuditLog was found with the provided `where` argument, update it with this data. */ update: XOR } /** * AuditLog delete */ export type AuditLogDeleteArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: AuditLogInclude | null /** * Filter which AuditLog to delete. */ where: AuditLogWhereUniqueInput } /** * AuditLog deleteMany */ export type AuditLogDeleteManyArgs = { /** * Filter which AuditLogs to delete */ where?: AuditLogWhereInput } /** * AuditLog.actor */ export type AuditLog$actorArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput } /** * AuditLog without action */ export type AuditLogDefaultArgs = { /** * Select specific fields to fetch from the AuditLog */ select?: AuditLogSelect | null /** * Choose, which related nodes to fetch as well */ include?: AuditLogInclude | null } /** * Enums */ export const TransactionIsolationLevel: { ReadUncommitted: 'ReadUncommitted', ReadCommitted: 'ReadCommitted', RepeatableRead: 'RepeatableRead', Serializable: 'Serializable' }; export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] export const UserScalarFieldEnum: { id: 'id', email: 'email', name: 'name', passwordHash: 'passwordHash', createdAt: 'createdAt', lastLoginAt: 'lastLoginAt' }; export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] export const OrganizationScalarFieldEnum: { id: 'id', name: 'name', plan: 'plan', createdAt: 'createdAt' }; export type OrganizationScalarFieldEnum = (typeof OrganizationScalarFieldEnum)[keyof typeof OrganizationScalarFieldEnum] export const OrgMembershipScalarFieldEnum: { id: 'id', orgId: 'orgId', userId: 'userId', role: 'role' }; export type OrgMembershipScalarFieldEnum = (typeof OrgMembershipScalarFieldEnum)[keyof typeof OrgMembershipScalarFieldEnum] export const ProjectScalarFieldEnum: { id: 'id', orgId: 'orgId', name: 'name', settingsJson: 'settingsJson', createdAt: 'createdAt' }; export type ProjectScalarFieldEnum = (typeof ProjectScalarFieldEnum)[keyof typeof ProjectScalarFieldEnum] export const CheckScalarFieldEnum: { id: 'id', projectId: 'projectId', inputUrl: 'inputUrl', method: 'method', headersJson: 'headersJson', userAgent: 'userAgent', startedAt: 'startedAt', finishedAt: 'finishedAt', status: 'status', finalUrl: 'finalUrl', totalTimeMs: 'totalTimeMs', reportId: 'reportId' }; export type CheckScalarFieldEnum = (typeof CheckScalarFieldEnum)[keyof typeof CheckScalarFieldEnum] export const HopScalarFieldEnum: { id: 'id', checkId: 'checkId', hopIndex: 'hopIndex', url: 'url', scheme: 'scheme', statusCode: 'statusCode', redirectType: 'redirectType', latencyMs: 'latencyMs', contentType: 'contentType', reason: 'reason', responseHeadersJson: 'responseHeadersJson' }; export type HopScalarFieldEnum = (typeof HopScalarFieldEnum)[keyof typeof HopScalarFieldEnum] export const SslInspectionScalarFieldEnum: { id: 'id', checkId: 'checkId', host: 'host', validFrom: 'validFrom', validTo: 'validTo', daysToExpiry: 'daysToExpiry', issuer: 'issuer', protocol: 'protocol', warningsJson: 'warningsJson' }; export type SslInspectionScalarFieldEnum = (typeof SslInspectionScalarFieldEnum)[keyof typeof SslInspectionScalarFieldEnum] export const SeoFlagsScalarFieldEnum: { id: 'id', checkId: 'checkId', robotsTxtStatus: 'robotsTxtStatus', robotsTxtRulesJson: 'robotsTxtRulesJson', metaRobots: 'metaRobots', canonicalUrl: 'canonicalUrl', sitemapPresent: 'sitemapPresent', noindex: 'noindex', nofollow: 'nofollow' }; export type SeoFlagsScalarFieldEnum = (typeof SeoFlagsScalarFieldEnum)[keyof typeof SeoFlagsScalarFieldEnum] export const SecurityFlagsScalarFieldEnum: { id: 'id', checkId: 'checkId', safeBrowsingStatus: 'safeBrowsingStatus', mixedContent: 'mixedContent', httpsToHttp: 'httpsToHttp' }; export type SecurityFlagsScalarFieldEnum = (typeof SecurityFlagsScalarFieldEnum)[keyof typeof SecurityFlagsScalarFieldEnum] export const ReportScalarFieldEnum: { id: 'id', checkId: 'checkId', markdownPath: 'markdownPath', pdfPath: 'pdfPath', createdAt: 'createdAt' }; export type ReportScalarFieldEnum = (typeof ReportScalarFieldEnum)[keyof typeof ReportScalarFieldEnum] export const BulkJobScalarFieldEnum: { id: 'id', userId: 'userId', organizationId: 'organizationId', projectId: 'projectId', uploadPath: 'uploadPath', status: 'status', totalUrls: 'totalUrls', processedUrls: 'processedUrls', successfulUrls: 'successfulUrls', failedUrls: 'failedUrls', configJson: 'configJson', urlsJson: 'urlsJson', resultsJson: 'resultsJson', progressJson: 'progressJson', createdAt: 'createdAt', startedAt: 'startedAt', finishedAt: 'finishedAt', completedAt: 'completedAt' }; export type BulkJobScalarFieldEnum = (typeof BulkJobScalarFieldEnum)[keyof typeof BulkJobScalarFieldEnum] export const ApiKeyScalarFieldEnum: { id: 'id', orgId: 'orgId', name: 'name', tokenHash: 'tokenHash', permsJson: 'permsJson', rateLimitQuota: 'rateLimitQuota', createdAt: 'createdAt' }; export type ApiKeyScalarFieldEnum = (typeof ApiKeyScalarFieldEnum)[keyof typeof ApiKeyScalarFieldEnum] export const AuditLogScalarFieldEnum: { id: 'id', orgId: 'orgId', actorUserId: 'actorUserId', action: 'action', entity: 'entity', entityId: 'entityId', metaJson: 'metaJson', createdAt: 'createdAt' }; export type AuditLogScalarFieldEnum = (typeof AuditLogScalarFieldEnum)[keyof typeof AuditLogScalarFieldEnum] export const SortOrder: { asc: 'asc', desc: 'desc' }; export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] export const JsonNullValueInput: { JsonNull: typeof JsonNull }; export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput] export const NullableJsonNullValueInput: { DbNull: typeof DbNull, JsonNull: typeof JsonNull }; export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput] export const QueryMode: { default: 'default', insensitive: 'insensitive' }; export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] export const NullsOrder: { first: 'first', last: 'last' }; export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] export const JsonNullValueFilter: { DbNull: typeof DbNull, JsonNull: typeof JsonNull, AnyNull: typeof AnyNull }; export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] /** * Field references */ /** * Reference to a field of type 'String' */ export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'> /** * Reference to a field of type 'String[]' */ export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'> /** * Reference to a field of type 'DateTime' */ export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'> /** * Reference to a field of type 'DateTime[]' */ export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'> /** * Reference to a field of type 'Role' */ export type EnumRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Role'> /** * Reference to a field of type 'Role[]' */ export type ListEnumRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Role[]'> /** * Reference to a field of type 'Json' */ export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'> /** * Reference to a field of type 'CheckStatus' */ export type EnumCheckStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'CheckStatus'> /** * Reference to a field of type 'CheckStatus[]' */ export type ListEnumCheckStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'CheckStatus[]'> /** * 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 'RedirectType' */ export type EnumRedirectTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RedirectType'> /** * Reference to a field of type 'RedirectType[]' */ export type ListEnumRedirectTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RedirectType[]'> /** * Reference to a field of type 'Boolean' */ export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'> /** * Reference to a field of type 'MixedContent' */ export type EnumMixedContentFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'MixedContent'> /** * Reference to a field of type 'MixedContent[]' */ export type ListEnumMixedContentFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'MixedContent[]'> /** * Reference to a field of type 'JobStatus' */ export type EnumJobStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'JobStatus'> /** * Reference to a field of type 'JobStatus[]' */ export type ListEnumJobStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'JobStatus[]'> /** * 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[]'> /** * Deep Input Types */ export type UserWhereInput = { AND?: UserWhereInput | UserWhereInput[] OR?: UserWhereInput[] NOT?: UserWhereInput | UserWhereInput[] id?: StringFilter<"User"> | string email?: StringFilter<"User"> | string name?: StringFilter<"User"> | string passwordHash?: StringFilter<"User"> | string createdAt?: DateTimeFilter<"User"> | Date | string lastLoginAt?: DateTimeNullableFilter<"User"> | Date | string | null memberships?: OrgMembershipListRelationFilter auditLogs?: AuditLogListRelationFilter bulkJobs?: BulkJobListRelationFilter } export type UserOrderByWithRelationInput = { id?: SortOrder email?: SortOrder name?: SortOrder passwordHash?: SortOrder createdAt?: SortOrder lastLoginAt?: SortOrderInput | SortOrder memberships?: OrgMembershipOrderByRelationAggregateInput auditLogs?: AuditLogOrderByRelationAggregateInput bulkJobs?: BulkJobOrderByRelationAggregateInput } export type UserWhereUniqueInput = Prisma.AtLeast<{ id?: string email?: string AND?: UserWhereInput | UserWhereInput[] OR?: UserWhereInput[] NOT?: UserWhereInput | UserWhereInput[] name?: StringFilter<"User"> | string passwordHash?: StringFilter<"User"> | string createdAt?: DateTimeFilter<"User"> | Date | string lastLoginAt?: DateTimeNullableFilter<"User"> | Date | string | null memberships?: OrgMembershipListRelationFilter auditLogs?: AuditLogListRelationFilter bulkJobs?: BulkJobListRelationFilter }, "id" | "email"> export type UserOrderByWithAggregationInput = { id?: SortOrder email?: SortOrder name?: SortOrder passwordHash?: SortOrder createdAt?: SortOrder lastLoginAt?: SortOrderInput | SortOrder _count?: UserCountOrderByAggregateInput _max?: UserMaxOrderByAggregateInput _min?: UserMinOrderByAggregateInput } export type UserScalarWhereWithAggregatesInput = { AND?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[] OR?: UserScalarWhereWithAggregatesInput[] NOT?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"User"> | string email?: StringWithAggregatesFilter<"User"> | string name?: StringWithAggregatesFilter<"User"> | string passwordHash?: StringWithAggregatesFilter<"User"> | string createdAt?: DateTimeWithAggregatesFilter<"User"> | Date | string lastLoginAt?: DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null } export type OrganizationWhereInput = { AND?: OrganizationWhereInput | OrganizationWhereInput[] OR?: OrganizationWhereInput[] NOT?: OrganizationWhereInput | OrganizationWhereInput[] id?: StringFilter<"Organization"> | string name?: StringFilter<"Organization"> | string plan?: StringFilter<"Organization"> | string createdAt?: DateTimeFilter<"Organization"> | Date | string memberships?: OrgMembershipListRelationFilter projects?: ProjectListRelationFilter apiKeys?: ApiKeyListRelationFilter auditLogs?: AuditLogListRelationFilter bulkJobs?: BulkJobListRelationFilter } export type OrganizationOrderByWithRelationInput = { id?: SortOrder name?: SortOrder plan?: SortOrder createdAt?: SortOrder memberships?: OrgMembershipOrderByRelationAggregateInput projects?: ProjectOrderByRelationAggregateInput apiKeys?: ApiKeyOrderByRelationAggregateInput auditLogs?: AuditLogOrderByRelationAggregateInput bulkJobs?: BulkJobOrderByRelationAggregateInput } export type OrganizationWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: OrganizationWhereInput | OrganizationWhereInput[] OR?: OrganizationWhereInput[] NOT?: OrganizationWhereInput | OrganizationWhereInput[] name?: StringFilter<"Organization"> | string plan?: StringFilter<"Organization"> | string createdAt?: DateTimeFilter<"Organization"> | Date | string memberships?: OrgMembershipListRelationFilter projects?: ProjectListRelationFilter apiKeys?: ApiKeyListRelationFilter auditLogs?: AuditLogListRelationFilter bulkJobs?: BulkJobListRelationFilter }, "id"> export type OrganizationOrderByWithAggregationInput = { id?: SortOrder name?: SortOrder plan?: SortOrder createdAt?: SortOrder _count?: OrganizationCountOrderByAggregateInput _max?: OrganizationMaxOrderByAggregateInput _min?: OrganizationMinOrderByAggregateInput } export type OrganizationScalarWhereWithAggregatesInput = { AND?: OrganizationScalarWhereWithAggregatesInput | OrganizationScalarWhereWithAggregatesInput[] OR?: OrganizationScalarWhereWithAggregatesInput[] NOT?: OrganizationScalarWhereWithAggregatesInput | OrganizationScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Organization"> | string name?: StringWithAggregatesFilter<"Organization"> | string plan?: StringWithAggregatesFilter<"Organization"> | string createdAt?: DateTimeWithAggregatesFilter<"Organization"> | Date | string } export type OrgMembershipWhereInput = { AND?: OrgMembershipWhereInput | OrgMembershipWhereInput[] OR?: OrgMembershipWhereInput[] NOT?: OrgMembershipWhereInput | OrgMembershipWhereInput[] id?: StringFilter<"OrgMembership"> | string orgId?: StringFilter<"OrgMembership"> | string userId?: StringFilter<"OrgMembership"> | string role?: EnumRoleFilter<"OrgMembership"> | $Enums.Role organization?: XOR user?: XOR } export type OrgMembershipOrderByWithRelationInput = { id?: SortOrder orgId?: SortOrder userId?: SortOrder role?: SortOrder organization?: OrganizationOrderByWithRelationInput user?: UserOrderByWithRelationInput } export type OrgMembershipWhereUniqueInput = Prisma.AtLeast<{ id?: string orgId_userId?: OrgMembershipOrgIdUserIdCompoundUniqueInput AND?: OrgMembershipWhereInput | OrgMembershipWhereInput[] OR?: OrgMembershipWhereInput[] NOT?: OrgMembershipWhereInput | OrgMembershipWhereInput[] orgId?: StringFilter<"OrgMembership"> | string userId?: StringFilter<"OrgMembership"> | string role?: EnumRoleFilter<"OrgMembership"> | $Enums.Role organization?: XOR user?: XOR }, "id" | "orgId_userId"> export type OrgMembershipOrderByWithAggregationInput = { id?: SortOrder orgId?: SortOrder userId?: SortOrder role?: SortOrder _count?: OrgMembershipCountOrderByAggregateInput _max?: OrgMembershipMaxOrderByAggregateInput _min?: OrgMembershipMinOrderByAggregateInput } export type OrgMembershipScalarWhereWithAggregatesInput = { AND?: OrgMembershipScalarWhereWithAggregatesInput | OrgMembershipScalarWhereWithAggregatesInput[] OR?: OrgMembershipScalarWhereWithAggregatesInput[] NOT?: OrgMembershipScalarWhereWithAggregatesInput | OrgMembershipScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"OrgMembership"> | string orgId?: StringWithAggregatesFilter<"OrgMembership"> | string userId?: StringWithAggregatesFilter<"OrgMembership"> | string role?: EnumRoleWithAggregatesFilter<"OrgMembership"> | $Enums.Role } export type ProjectWhereInput = { AND?: ProjectWhereInput | ProjectWhereInput[] OR?: ProjectWhereInput[] NOT?: ProjectWhereInput | ProjectWhereInput[] id?: StringFilter<"Project"> | string orgId?: StringFilter<"Project"> | string name?: StringFilter<"Project"> | string settingsJson?: JsonFilter<"Project"> createdAt?: DateTimeFilter<"Project"> | Date | string organization?: XOR checks?: CheckListRelationFilter bulkJobs?: BulkJobListRelationFilter } export type ProjectOrderByWithRelationInput = { id?: SortOrder orgId?: SortOrder name?: SortOrder settingsJson?: SortOrder createdAt?: SortOrder organization?: OrganizationOrderByWithRelationInput checks?: CheckOrderByRelationAggregateInput bulkJobs?: BulkJobOrderByRelationAggregateInput } export type ProjectWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: ProjectWhereInput | ProjectWhereInput[] OR?: ProjectWhereInput[] NOT?: ProjectWhereInput | ProjectWhereInput[] orgId?: StringFilter<"Project"> | string name?: StringFilter<"Project"> | string settingsJson?: JsonFilter<"Project"> createdAt?: DateTimeFilter<"Project"> | Date | string organization?: XOR checks?: CheckListRelationFilter bulkJobs?: BulkJobListRelationFilter }, "id"> export type ProjectOrderByWithAggregationInput = { id?: SortOrder orgId?: SortOrder name?: SortOrder settingsJson?: SortOrder createdAt?: SortOrder _count?: ProjectCountOrderByAggregateInput _max?: ProjectMaxOrderByAggregateInput _min?: ProjectMinOrderByAggregateInput } export type ProjectScalarWhereWithAggregatesInput = { AND?: ProjectScalarWhereWithAggregatesInput | ProjectScalarWhereWithAggregatesInput[] OR?: ProjectScalarWhereWithAggregatesInput[] NOT?: ProjectScalarWhereWithAggregatesInput | ProjectScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Project"> | string orgId?: StringWithAggregatesFilter<"Project"> | string name?: StringWithAggregatesFilter<"Project"> | string settingsJson?: JsonWithAggregatesFilter<"Project"> createdAt?: DateTimeWithAggregatesFilter<"Project"> | Date | string } export type CheckWhereInput = { AND?: CheckWhereInput | CheckWhereInput[] OR?: CheckWhereInput[] NOT?: CheckWhereInput | CheckWhereInput[] id?: StringFilter<"Check"> | string projectId?: StringFilter<"Check"> | string inputUrl?: StringFilter<"Check"> | string method?: StringFilter<"Check"> | string headersJson?: JsonFilter<"Check"> userAgent?: StringNullableFilter<"Check"> | string | null startedAt?: DateTimeFilter<"Check"> | Date | string finishedAt?: DateTimeNullableFilter<"Check"> | Date | string | null status?: EnumCheckStatusFilter<"Check"> | $Enums.CheckStatus finalUrl?: StringNullableFilter<"Check"> | string | null totalTimeMs?: IntNullableFilter<"Check"> | number | null reportId?: StringNullableFilter<"Check"> | string | null project?: XOR hops?: HopListRelationFilter sslInspections?: SslInspectionListRelationFilter seoFlags?: XOR | null securityFlags?: XOR | null reports?: ReportListRelationFilter } export type CheckOrderByWithRelationInput = { id?: SortOrder projectId?: SortOrder inputUrl?: SortOrder method?: SortOrder headersJson?: SortOrder userAgent?: SortOrderInput | SortOrder startedAt?: SortOrder finishedAt?: SortOrderInput | SortOrder status?: SortOrder finalUrl?: SortOrderInput | SortOrder totalTimeMs?: SortOrderInput | SortOrder reportId?: SortOrderInput | SortOrder project?: ProjectOrderByWithRelationInput hops?: HopOrderByRelationAggregateInput sslInspections?: SslInspectionOrderByRelationAggregateInput seoFlags?: SeoFlagsOrderByWithRelationInput securityFlags?: SecurityFlagsOrderByWithRelationInput reports?: ReportOrderByRelationAggregateInput } export type CheckWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: CheckWhereInput | CheckWhereInput[] OR?: CheckWhereInput[] NOT?: CheckWhereInput | CheckWhereInput[] projectId?: StringFilter<"Check"> | string inputUrl?: StringFilter<"Check"> | string method?: StringFilter<"Check"> | string headersJson?: JsonFilter<"Check"> userAgent?: StringNullableFilter<"Check"> | string | null startedAt?: DateTimeFilter<"Check"> | Date | string finishedAt?: DateTimeNullableFilter<"Check"> | Date | string | null status?: EnumCheckStatusFilter<"Check"> | $Enums.CheckStatus finalUrl?: StringNullableFilter<"Check"> | string | null totalTimeMs?: IntNullableFilter<"Check"> | number | null reportId?: StringNullableFilter<"Check"> | string | null project?: XOR hops?: HopListRelationFilter sslInspections?: SslInspectionListRelationFilter seoFlags?: XOR | null securityFlags?: XOR | null reports?: ReportListRelationFilter }, "id"> export type CheckOrderByWithAggregationInput = { id?: SortOrder projectId?: SortOrder inputUrl?: SortOrder method?: SortOrder headersJson?: SortOrder userAgent?: SortOrderInput | SortOrder startedAt?: SortOrder finishedAt?: SortOrderInput | SortOrder status?: SortOrder finalUrl?: SortOrderInput | SortOrder totalTimeMs?: SortOrderInput | SortOrder reportId?: SortOrderInput | SortOrder _count?: CheckCountOrderByAggregateInput _avg?: CheckAvgOrderByAggregateInput _max?: CheckMaxOrderByAggregateInput _min?: CheckMinOrderByAggregateInput _sum?: CheckSumOrderByAggregateInput } export type CheckScalarWhereWithAggregatesInput = { AND?: CheckScalarWhereWithAggregatesInput | CheckScalarWhereWithAggregatesInput[] OR?: CheckScalarWhereWithAggregatesInput[] NOT?: CheckScalarWhereWithAggregatesInput | CheckScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Check"> | string projectId?: StringWithAggregatesFilter<"Check"> | string inputUrl?: StringWithAggregatesFilter<"Check"> | string method?: StringWithAggregatesFilter<"Check"> | string headersJson?: JsonWithAggregatesFilter<"Check"> userAgent?: StringNullableWithAggregatesFilter<"Check"> | string | null startedAt?: DateTimeWithAggregatesFilter<"Check"> | Date | string finishedAt?: DateTimeNullableWithAggregatesFilter<"Check"> | Date | string | null status?: EnumCheckStatusWithAggregatesFilter<"Check"> | $Enums.CheckStatus finalUrl?: StringNullableWithAggregatesFilter<"Check"> | string | null totalTimeMs?: IntNullableWithAggregatesFilter<"Check"> | number | null reportId?: StringNullableWithAggregatesFilter<"Check"> | string | null } export type HopWhereInput = { AND?: HopWhereInput | HopWhereInput[] OR?: HopWhereInput[] NOT?: HopWhereInput | HopWhereInput[] id?: StringFilter<"Hop"> | string checkId?: StringFilter<"Hop"> | string hopIndex?: IntFilter<"Hop"> | number url?: StringFilter<"Hop"> | string scheme?: StringNullableFilter<"Hop"> | string | null statusCode?: IntNullableFilter<"Hop"> | number | null redirectType?: EnumRedirectTypeFilter<"Hop"> | $Enums.RedirectType latencyMs?: IntNullableFilter<"Hop"> | number | null contentType?: StringNullableFilter<"Hop"> | string | null reason?: StringNullableFilter<"Hop"> | string | null responseHeadersJson?: JsonFilter<"Hop"> check?: XOR } export type HopOrderByWithRelationInput = { id?: SortOrder checkId?: SortOrder hopIndex?: SortOrder url?: SortOrder scheme?: SortOrderInput | SortOrder statusCode?: SortOrderInput | SortOrder redirectType?: SortOrder latencyMs?: SortOrderInput | SortOrder contentType?: SortOrderInput | SortOrder reason?: SortOrderInput | SortOrder responseHeadersJson?: SortOrder check?: CheckOrderByWithRelationInput } export type HopWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: HopWhereInput | HopWhereInput[] OR?: HopWhereInput[] NOT?: HopWhereInput | HopWhereInput[] checkId?: StringFilter<"Hop"> | string hopIndex?: IntFilter<"Hop"> | number url?: StringFilter<"Hop"> | string scheme?: StringNullableFilter<"Hop"> | string | null statusCode?: IntNullableFilter<"Hop"> | number | null redirectType?: EnumRedirectTypeFilter<"Hop"> | $Enums.RedirectType latencyMs?: IntNullableFilter<"Hop"> | number | null contentType?: StringNullableFilter<"Hop"> | string | null reason?: StringNullableFilter<"Hop"> | string | null responseHeadersJson?: JsonFilter<"Hop"> check?: XOR }, "id"> export type HopOrderByWithAggregationInput = { id?: SortOrder checkId?: SortOrder hopIndex?: SortOrder url?: SortOrder scheme?: SortOrderInput | SortOrder statusCode?: SortOrderInput | SortOrder redirectType?: SortOrder latencyMs?: SortOrderInput | SortOrder contentType?: SortOrderInput | SortOrder reason?: SortOrderInput | SortOrder responseHeadersJson?: SortOrder _count?: HopCountOrderByAggregateInput _avg?: HopAvgOrderByAggregateInput _max?: HopMaxOrderByAggregateInput _min?: HopMinOrderByAggregateInput _sum?: HopSumOrderByAggregateInput } export type HopScalarWhereWithAggregatesInput = { AND?: HopScalarWhereWithAggregatesInput | HopScalarWhereWithAggregatesInput[] OR?: HopScalarWhereWithAggregatesInput[] NOT?: HopScalarWhereWithAggregatesInput | HopScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Hop"> | string checkId?: StringWithAggregatesFilter<"Hop"> | string hopIndex?: IntWithAggregatesFilter<"Hop"> | number url?: StringWithAggregatesFilter<"Hop"> | string scheme?: StringNullableWithAggregatesFilter<"Hop"> | string | null statusCode?: IntNullableWithAggregatesFilter<"Hop"> | number | null redirectType?: EnumRedirectTypeWithAggregatesFilter<"Hop"> | $Enums.RedirectType latencyMs?: IntNullableWithAggregatesFilter<"Hop"> | number | null contentType?: StringNullableWithAggregatesFilter<"Hop"> | string | null reason?: StringNullableWithAggregatesFilter<"Hop"> | string | null responseHeadersJson?: JsonWithAggregatesFilter<"Hop"> } export type SslInspectionWhereInput = { AND?: SslInspectionWhereInput | SslInspectionWhereInput[] OR?: SslInspectionWhereInput[] NOT?: SslInspectionWhereInput | SslInspectionWhereInput[] id?: StringFilter<"SslInspection"> | string checkId?: StringFilter<"SslInspection"> | string host?: StringFilter<"SslInspection"> | string validFrom?: DateTimeNullableFilter<"SslInspection"> | Date | string | null validTo?: DateTimeNullableFilter<"SslInspection"> | Date | string | null daysToExpiry?: IntNullableFilter<"SslInspection"> | number | null issuer?: StringNullableFilter<"SslInspection"> | string | null protocol?: StringNullableFilter<"SslInspection"> | string | null warningsJson?: JsonFilter<"SslInspection"> check?: XOR } export type SslInspectionOrderByWithRelationInput = { id?: SortOrder checkId?: SortOrder host?: SortOrder validFrom?: SortOrderInput | SortOrder validTo?: SortOrderInput | SortOrder daysToExpiry?: SortOrderInput | SortOrder issuer?: SortOrderInput | SortOrder protocol?: SortOrderInput | SortOrder warningsJson?: SortOrder check?: CheckOrderByWithRelationInput } export type SslInspectionWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: SslInspectionWhereInput | SslInspectionWhereInput[] OR?: SslInspectionWhereInput[] NOT?: SslInspectionWhereInput | SslInspectionWhereInput[] checkId?: StringFilter<"SslInspection"> | string host?: StringFilter<"SslInspection"> | string validFrom?: DateTimeNullableFilter<"SslInspection"> | Date | string | null validTo?: DateTimeNullableFilter<"SslInspection"> | Date | string | null daysToExpiry?: IntNullableFilter<"SslInspection"> | number | null issuer?: StringNullableFilter<"SslInspection"> | string | null protocol?: StringNullableFilter<"SslInspection"> | string | null warningsJson?: JsonFilter<"SslInspection"> check?: XOR }, "id"> export type SslInspectionOrderByWithAggregationInput = { id?: SortOrder checkId?: SortOrder host?: SortOrder validFrom?: SortOrderInput | SortOrder validTo?: SortOrderInput | SortOrder daysToExpiry?: SortOrderInput | SortOrder issuer?: SortOrderInput | SortOrder protocol?: SortOrderInput | SortOrder warningsJson?: SortOrder _count?: SslInspectionCountOrderByAggregateInput _avg?: SslInspectionAvgOrderByAggregateInput _max?: SslInspectionMaxOrderByAggregateInput _min?: SslInspectionMinOrderByAggregateInput _sum?: SslInspectionSumOrderByAggregateInput } export type SslInspectionScalarWhereWithAggregatesInput = { AND?: SslInspectionScalarWhereWithAggregatesInput | SslInspectionScalarWhereWithAggregatesInput[] OR?: SslInspectionScalarWhereWithAggregatesInput[] NOT?: SslInspectionScalarWhereWithAggregatesInput | SslInspectionScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"SslInspection"> | string checkId?: StringWithAggregatesFilter<"SslInspection"> | string host?: StringWithAggregatesFilter<"SslInspection"> | string validFrom?: DateTimeNullableWithAggregatesFilter<"SslInspection"> | Date | string | null validTo?: DateTimeNullableWithAggregatesFilter<"SslInspection"> | Date | string | null daysToExpiry?: IntNullableWithAggregatesFilter<"SslInspection"> | number | null issuer?: StringNullableWithAggregatesFilter<"SslInspection"> | string | null protocol?: StringNullableWithAggregatesFilter<"SslInspection"> | string | null warningsJson?: JsonWithAggregatesFilter<"SslInspection"> } export type SeoFlagsWhereInput = { AND?: SeoFlagsWhereInput | SeoFlagsWhereInput[] OR?: SeoFlagsWhereInput[] NOT?: SeoFlagsWhereInput | SeoFlagsWhereInput[] id?: StringFilter<"SeoFlags"> | string checkId?: StringFilter<"SeoFlags"> | string robotsTxtStatus?: StringNullableFilter<"SeoFlags"> | string | null robotsTxtRulesJson?: JsonFilter<"SeoFlags"> metaRobots?: StringNullableFilter<"SeoFlags"> | string | null canonicalUrl?: StringNullableFilter<"SeoFlags"> | string | null sitemapPresent?: BoolFilter<"SeoFlags"> | boolean noindex?: BoolFilter<"SeoFlags"> | boolean nofollow?: BoolFilter<"SeoFlags"> | boolean check?: XOR } export type SeoFlagsOrderByWithRelationInput = { id?: SortOrder checkId?: SortOrder robotsTxtStatus?: SortOrderInput | SortOrder robotsTxtRulesJson?: SortOrder metaRobots?: SortOrderInput | SortOrder canonicalUrl?: SortOrderInput | SortOrder sitemapPresent?: SortOrder noindex?: SortOrder nofollow?: SortOrder check?: CheckOrderByWithRelationInput } export type SeoFlagsWhereUniqueInput = Prisma.AtLeast<{ id?: string checkId?: string AND?: SeoFlagsWhereInput | SeoFlagsWhereInput[] OR?: SeoFlagsWhereInput[] NOT?: SeoFlagsWhereInput | SeoFlagsWhereInput[] robotsTxtStatus?: StringNullableFilter<"SeoFlags"> | string | null robotsTxtRulesJson?: JsonFilter<"SeoFlags"> metaRobots?: StringNullableFilter<"SeoFlags"> | string | null canonicalUrl?: StringNullableFilter<"SeoFlags"> | string | null sitemapPresent?: BoolFilter<"SeoFlags"> | boolean noindex?: BoolFilter<"SeoFlags"> | boolean nofollow?: BoolFilter<"SeoFlags"> | boolean check?: XOR }, "id" | "checkId"> export type SeoFlagsOrderByWithAggregationInput = { id?: SortOrder checkId?: SortOrder robotsTxtStatus?: SortOrderInput | SortOrder robotsTxtRulesJson?: SortOrder metaRobots?: SortOrderInput | SortOrder canonicalUrl?: SortOrderInput | SortOrder sitemapPresent?: SortOrder noindex?: SortOrder nofollow?: SortOrder _count?: SeoFlagsCountOrderByAggregateInput _max?: SeoFlagsMaxOrderByAggregateInput _min?: SeoFlagsMinOrderByAggregateInput } export type SeoFlagsScalarWhereWithAggregatesInput = { AND?: SeoFlagsScalarWhereWithAggregatesInput | SeoFlagsScalarWhereWithAggregatesInput[] OR?: SeoFlagsScalarWhereWithAggregatesInput[] NOT?: SeoFlagsScalarWhereWithAggregatesInput | SeoFlagsScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"SeoFlags"> | string checkId?: StringWithAggregatesFilter<"SeoFlags"> | string robotsTxtStatus?: StringNullableWithAggregatesFilter<"SeoFlags"> | string | null robotsTxtRulesJson?: JsonWithAggregatesFilter<"SeoFlags"> metaRobots?: StringNullableWithAggregatesFilter<"SeoFlags"> | string | null canonicalUrl?: StringNullableWithAggregatesFilter<"SeoFlags"> | string | null sitemapPresent?: BoolWithAggregatesFilter<"SeoFlags"> | boolean noindex?: BoolWithAggregatesFilter<"SeoFlags"> | boolean nofollow?: BoolWithAggregatesFilter<"SeoFlags"> | boolean } export type SecurityFlagsWhereInput = { AND?: SecurityFlagsWhereInput | SecurityFlagsWhereInput[] OR?: SecurityFlagsWhereInput[] NOT?: SecurityFlagsWhereInput | SecurityFlagsWhereInput[] id?: StringFilter<"SecurityFlags"> | string checkId?: StringFilter<"SecurityFlags"> | string safeBrowsingStatus?: StringNullableFilter<"SecurityFlags"> | string | null mixedContent?: EnumMixedContentFilter<"SecurityFlags"> | $Enums.MixedContent httpsToHttp?: BoolFilter<"SecurityFlags"> | boolean check?: XOR } export type SecurityFlagsOrderByWithRelationInput = { id?: SortOrder checkId?: SortOrder safeBrowsingStatus?: SortOrderInput | SortOrder mixedContent?: SortOrder httpsToHttp?: SortOrder check?: CheckOrderByWithRelationInput } export type SecurityFlagsWhereUniqueInput = Prisma.AtLeast<{ id?: string checkId?: string AND?: SecurityFlagsWhereInput | SecurityFlagsWhereInput[] OR?: SecurityFlagsWhereInput[] NOT?: SecurityFlagsWhereInput | SecurityFlagsWhereInput[] safeBrowsingStatus?: StringNullableFilter<"SecurityFlags"> | string | null mixedContent?: EnumMixedContentFilter<"SecurityFlags"> | $Enums.MixedContent httpsToHttp?: BoolFilter<"SecurityFlags"> | boolean check?: XOR }, "id" | "checkId"> export type SecurityFlagsOrderByWithAggregationInput = { id?: SortOrder checkId?: SortOrder safeBrowsingStatus?: SortOrderInput | SortOrder mixedContent?: SortOrder httpsToHttp?: SortOrder _count?: SecurityFlagsCountOrderByAggregateInput _max?: SecurityFlagsMaxOrderByAggregateInput _min?: SecurityFlagsMinOrderByAggregateInput } export type SecurityFlagsScalarWhereWithAggregatesInput = { AND?: SecurityFlagsScalarWhereWithAggregatesInput | SecurityFlagsScalarWhereWithAggregatesInput[] OR?: SecurityFlagsScalarWhereWithAggregatesInput[] NOT?: SecurityFlagsScalarWhereWithAggregatesInput | SecurityFlagsScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"SecurityFlags"> | string checkId?: StringWithAggregatesFilter<"SecurityFlags"> | string safeBrowsingStatus?: StringNullableWithAggregatesFilter<"SecurityFlags"> | string | null mixedContent?: EnumMixedContentWithAggregatesFilter<"SecurityFlags"> | $Enums.MixedContent httpsToHttp?: BoolWithAggregatesFilter<"SecurityFlags"> | boolean } export type ReportWhereInput = { AND?: ReportWhereInput | ReportWhereInput[] OR?: ReportWhereInput[] NOT?: ReportWhereInput | ReportWhereInput[] id?: StringFilter<"Report"> | string checkId?: StringFilter<"Report"> | string markdownPath?: StringNullableFilter<"Report"> | string | null pdfPath?: StringNullableFilter<"Report"> | string | null createdAt?: DateTimeFilter<"Report"> | Date | string check?: XOR } export type ReportOrderByWithRelationInput = { id?: SortOrder checkId?: SortOrder markdownPath?: SortOrderInput | SortOrder pdfPath?: SortOrderInput | SortOrder createdAt?: SortOrder check?: CheckOrderByWithRelationInput } export type ReportWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: ReportWhereInput | ReportWhereInput[] OR?: ReportWhereInput[] NOT?: ReportWhereInput | ReportWhereInput[] checkId?: StringFilter<"Report"> | string markdownPath?: StringNullableFilter<"Report"> | string | null pdfPath?: StringNullableFilter<"Report"> | string | null createdAt?: DateTimeFilter<"Report"> | Date | string check?: XOR }, "id"> export type ReportOrderByWithAggregationInput = { id?: SortOrder checkId?: SortOrder markdownPath?: SortOrderInput | SortOrder pdfPath?: SortOrderInput | SortOrder createdAt?: SortOrder _count?: ReportCountOrderByAggregateInput _max?: ReportMaxOrderByAggregateInput _min?: ReportMinOrderByAggregateInput } export type ReportScalarWhereWithAggregatesInput = { AND?: ReportScalarWhereWithAggregatesInput | ReportScalarWhereWithAggregatesInput[] OR?: ReportScalarWhereWithAggregatesInput[] NOT?: ReportScalarWhereWithAggregatesInput | ReportScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Report"> | string checkId?: StringWithAggregatesFilter<"Report"> | string markdownPath?: StringNullableWithAggregatesFilter<"Report"> | string | null pdfPath?: StringNullableWithAggregatesFilter<"Report"> | string | null createdAt?: DateTimeWithAggregatesFilter<"Report"> | Date | string } export type BulkJobWhereInput = { AND?: BulkJobWhereInput | BulkJobWhereInput[] OR?: BulkJobWhereInput[] NOT?: BulkJobWhereInput | BulkJobWhereInput[] id?: StringFilter<"BulkJob"> | string userId?: StringFilter<"BulkJob"> | string organizationId?: StringNullableFilter<"BulkJob"> | string | null projectId?: StringFilter<"BulkJob"> | string uploadPath?: StringFilter<"BulkJob"> | string status?: EnumJobStatusFilter<"BulkJob"> | $Enums.JobStatus totalUrls?: IntFilter<"BulkJob"> | number processedUrls?: IntFilter<"BulkJob"> | number successfulUrls?: IntFilter<"BulkJob"> | number failedUrls?: IntFilter<"BulkJob"> | number configJson?: JsonFilter<"BulkJob"> urlsJson?: JsonNullableFilter<"BulkJob"> resultsJson?: JsonNullableFilter<"BulkJob"> progressJson?: JsonFilter<"BulkJob"> createdAt?: DateTimeFilter<"BulkJob"> | Date | string startedAt?: DateTimeNullableFilter<"BulkJob"> | Date | string | null finishedAt?: DateTimeNullableFilter<"BulkJob"> | Date | string | null completedAt?: DateTimeNullableFilter<"BulkJob"> | Date | string | null user?: XOR organization?: XOR | null project?: XOR } export type BulkJobOrderByWithRelationInput = { id?: SortOrder userId?: SortOrder organizationId?: SortOrderInput | SortOrder projectId?: SortOrder uploadPath?: SortOrder status?: SortOrder totalUrls?: SortOrder processedUrls?: SortOrder successfulUrls?: SortOrder failedUrls?: SortOrder configJson?: SortOrder urlsJson?: SortOrderInput | SortOrder resultsJson?: SortOrderInput | SortOrder progressJson?: SortOrder createdAt?: SortOrder startedAt?: SortOrderInput | SortOrder finishedAt?: SortOrderInput | SortOrder completedAt?: SortOrderInput | SortOrder user?: UserOrderByWithRelationInput organization?: OrganizationOrderByWithRelationInput project?: ProjectOrderByWithRelationInput } export type BulkJobWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: BulkJobWhereInput | BulkJobWhereInput[] OR?: BulkJobWhereInput[] NOT?: BulkJobWhereInput | BulkJobWhereInput[] userId?: StringFilter<"BulkJob"> | string organizationId?: StringNullableFilter<"BulkJob"> | string | null projectId?: StringFilter<"BulkJob"> | string uploadPath?: StringFilter<"BulkJob"> | string status?: EnumJobStatusFilter<"BulkJob"> | $Enums.JobStatus totalUrls?: IntFilter<"BulkJob"> | number processedUrls?: IntFilter<"BulkJob"> | number successfulUrls?: IntFilter<"BulkJob"> | number failedUrls?: IntFilter<"BulkJob"> | number configJson?: JsonFilter<"BulkJob"> urlsJson?: JsonNullableFilter<"BulkJob"> resultsJson?: JsonNullableFilter<"BulkJob"> progressJson?: JsonFilter<"BulkJob"> createdAt?: DateTimeFilter<"BulkJob"> | Date | string startedAt?: DateTimeNullableFilter<"BulkJob"> | Date | string | null finishedAt?: DateTimeNullableFilter<"BulkJob"> | Date | string | null completedAt?: DateTimeNullableFilter<"BulkJob"> | Date | string | null user?: XOR organization?: XOR | null project?: XOR }, "id"> export type BulkJobOrderByWithAggregationInput = { id?: SortOrder userId?: SortOrder organizationId?: SortOrderInput | SortOrder projectId?: SortOrder uploadPath?: SortOrder status?: SortOrder totalUrls?: SortOrder processedUrls?: SortOrder successfulUrls?: SortOrder failedUrls?: SortOrder configJson?: SortOrder urlsJson?: SortOrderInput | SortOrder resultsJson?: SortOrderInput | SortOrder progressJson?: SortOrder createdAt?: SortOrder startedAt?: SortOrderInput | SortOrder finishedAt?: SortOrderInput | SortOrder completedAt?: SortOrderInput | SortOrder _count?: BulkJobCountOrderByAggregateInput _avg?: BulkJobAvgOrderByAggregateInput _max?: BulkJobMaxOrderByAggregateInput _min?: BulkJobMinOrderByAggregateInput _sum?: BulkJobSumOrderByAggregateInput } export type BulkJobScalarWhereWithAggregatesInput = { AND?: BulkJobScalarWhereWithAggregatesInput | BulkJobScalarWhereWithAggregatesInput[] OR?: BulkJobScalarWhereWithAggregatesInput[] NOT?: BulkJobScalarWhereWithAggregatesInput | BulkJobScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"BulkJob"> | string userId?: StringWithAggregatesFilter<"BulkJob"> | string organizationId?: StringNullableWithAggregatesFilter<"BulkJob"> | string | null projectId?: StringWithAggregatesFilter<"BulkJob"> | string uploadPath?: StringWithAggregatesFilter<"BulkJob"> | string status?: EnumJobStatusWithAggregatesFilter<"BulkJob"> | $Enums.JobStatus totalUrls?: IntWithAggregatesFilter<"BulkJob"> | number processedUrls?: IntWithAggregatesFilter<"BulkJob"> | number successfulUrls?: IntWithAggregatesFilter<"BulkJob"> | number failedUrls?: IntWithAggregatesFilter<"BulkJob"> | number configJson?: JsonWithAggregatesFilter<"BulkJob"> urlsJson?: JsonNullableWithAggregatesFilter<"BulkJob"> resultsJson?: JsonNullableWithAggregatesFilter<"BulkJob"> progressJson?: JsonWithAggregatesFilter<"BulkJob"> createdAt?: DateTimeWithAggregatesFilter<"BulkJob"> | Date | string startedAt?: DateTimeNullableWithAggregatesFilter<"BulkJob"> | Date | string | null finishedAt?: DateTimeNullableWithAggregatesFilter<"BulkJob"> | Date | string | null completedAt?: DateTimeNullableWithAggregatesFilter<"BulkJob"> | Date | string | null } export type ApiKeyWhereInput = { AND?: ApiKeyWhereInput | ApiKeyWhereInput[] OR?: ApiKeyWhereInput[] NOT?: ApiKeyWhereInput | ApiKeyWhereInput[] id?: StringFilter<"ApiKey"> | string orgId?: StringFilter<"ApiKey"> | string name?: StringFilter<"ApiKey"> | string tokenHash?: StringFilter<"ApiKey"> | string permsJson?: JsonFilter<"ApiKey"> rateLimitQuota?: IntFilter<"ApiKey"> | number createdAt?: DateTimeFilter<"ApiKey"> | Date | string organization?: XOR } export type ApiKeyOrderByWithRelationInput = { id?: SortOrder orgId?: SortOrder name?: SortOrder tokenHash?: SortOrder permsJson?: SortOrder rateLimitQuota?: SortOrder createdAt?: SortOrder organization?: OrganizationOrderByWithRelationInput } export type ApiKeyWhereUniqueInput = Prisma.AtLeast<{ id?: string tokenHash?: string AND?: ApiKeyWhereInput | ApiKeyWhereInput[] OR?: ApiKeyWhereInput[] NOT?: ApiKeyWhereInput | ApiKeyWhereInput[] orgId?: StringFilter<"ApiKey"> | string name?: StringFilter<"ApiKey"> | string permsJson?: JsonFilter<"ApiKey"> rateLimitQuota?: IntFilter<"ApiKey"> | number createdAt?: DateTimeFilter<"ApiKey"> | Date | string organization?: XOR }, "id" | "tokenHash"> export type ApiKeyOrderByWithAggregationInput = { id?: SortOrder orgId?: SortOrder name?: SortOrder tokenHash?: SortOrder permsJson?: SortOrder rateLimitQuota?: SortOrder createdAt?: SortOrder _count?: ApiKeyCountOrderByAggregateInput _avg?: ApiKeyAvgOrderByAggregateInput _max?: ApiKeyMaxOrderByAggregateInput _min?: ApiKeyMinOrderByAggregateInput _sum?: ApiKeySumOrderByAggregateInput } export type ApiKeyScalarWhereWithAggregatesInput = { AND?: ApiKeyScalarWhereWithAggregatesInput | ApiKeyScalarWhereWithAggregatesInput[] OR?: ApiKeyScalarWhereWithAggregatesInput[] NOT?: ApiKeyScalarWhereWithAggregatesInput | ApiKeyScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"ApiKey"> | string orgId?: StringWithAggregatesFilter<"ApiKey"> | string name?: StringWithAggregatesFilter<"ApiKey"> | string tokenHash?: StringWithAggregatesFilter<"ApiKey"> | string permsJson?: JsonWithAggregatesFilter<"ApiKey"> rateLimitQuota?: IntWithAggregatesFilter<"ApiKey"> | number createdAt?: DateTimeWithAggregatesFilter<"ApiKey"> | Date | string } export type AuditLogWhereInput = { AND?: AuditLogWhereInput | AuditLogWhereInput[] OR?: AuditLogWhereInput[] NOT?: AuditLogWhereInput | AuditLogWhereInput[] id?: StringFilter<"AuditLog"> | string orgId?: StringFilter<"AuditLog"> | string actorUserId?: StringNullableFilter<"AuditLog"> | string | null action?: StringFilter<"AuditLog"> | string entity?: StringFilter<"AuditLog"> | string entityId?: StringFilter<"AuditLog"> | string metaJson?: JsonFilter<"AuditLog"> createdAt?: DateTimeFilter<"AuditLog"> | Date | string organization?: XOR actor?: XOR | null } export type AuditLogOrderByWithRelationInput = { id?: SortOrder orgId?: SortOrder actorUserId?: SortOrderInput | SortOrder action?: SortOrder entity?: SortOrder entityId?: SortOrder metaJson?: SortOrder createdAt?: SortOrder organization?: OrganizationOrderByWithRelationInput actor?: UserOrderByWithRelationInput } export type AuditLogWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: AuditLogWhereInput | AuditLogWhereInput[] OR?: AuditLogWhereInput[] NOT?: AuditLogWhereInput | AuditLogWhereInput[] orgId?: StringFilter<"AuditLog"> | string actorUserId?: StringNullableFilter<"AuditLog"> | string | null action?: StringFilter<"AuditLog"> | string entity?: StringFilter<"AuditLog"> | string entityId?: StringFilter<"AuditLog"> | string metaJson?: JsonFilter<"AuditLog"> createdAt?: DateTimeFilter<"AuditLog"> | Date | string organization?: XOR actor?: XOR | null }, "id"> export type AuditLogOrderByWithAggregationInput = { id?: SortOrder orgId?: SortOrder actorUserId?: SortOrderInput | SortOrder action?: SortOrder entity?: SortOrder entityId?: SortOrder metaJson?: SortOrder createdAt?: SortOrder _count?: AuditLogCountOrderByAggregateInput _max?: AuditLogMaxOrderByAggregateInput _min?: AuditLogMinOrderByAggregateInput } export type AuditLogScalarWhereWithAggregatesInput = { AND?: AuditLogScalarWhereWithAggregatesInput | AuditLogScalarWhereWithAggregatesInput[] OR?: AuditLogScalarWhereWithAggregatesInput[] NOT?: AuditLogScalarWhereWithAggregatesInput | AuditLogScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"AuditLog"> | string orgId?: StringWithAggregatesFilter<"AuditLog"> | string actorUserId?: StringNullableWithAggregatesFilter<"AuditLog"> | string | null action?: StringWithAggregatesFilter<"AuditLog"> | string entity?: StringWithAggregatesFilter<"AuditLog"> | string entityId?: StringWithAggregatesFilter<"AuditLog"> | string metaJson?: JsonWithAggregatesFilter<"AuditLog"> createdAt?: DateTimeWithAggregatesFilter<"AuditLog"> | Date | string } export type UserCreateInput = { id?: string email: string name: string passwordHash: string createdAt?: Date | string lastLoginAt?: Date | string | null memberships?: OrgMembershipCreateNestedManyWithoutUserInput auditLogs?: AuditLogCreateNestedManyWithoutActorInput bulkJobs?: BulkJobCreateNestedManyWithoutUserInput } export type UserUncheckedCreateInput = { id?: string email: string name: string passwordHash: string createdAt?: Date | string lastLoginAt?: Date | string | null memberships?: OrgMembershipUncheckedCreateNestedManyWithoutUserInput auditLogs?: AuditLogUncheckedCreateNestedManyWithoutActorInput bulkJobs?: BulkJobUncheckedCreateNestedManyWithoutUserInput } export type UserUpdateInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string passwordHash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string lastLoginAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null memberships?: OrgMembershipUpdateManyWithoutUserNestedInput auditLogs?: AuditLogUpdateManyWithoutActorNestedInput bulkJobs?: BulkJobUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string passwordHash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string lastLoginAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null memberships?: OrgMembershipUncheckedUpdateManyWithoutUserNestedInput auditLogs?: AuditLogUncheckedUpdateManyWithoutActorNestedInput bulkJobs?: BulkJobUncheckedUpdateManyWithoutUserNestedInput } export type UserCreateManyInput = { id?: string email: string name: string passwordHash: string createdAt?: Date | string lastLoginAt?: Date | string | null } export type UserUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string passwordHash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string lastLoginAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type UserUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string passwordHash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string lastLoginAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type OrganizationCreateInput = { id?: string name: string plan?: string createdAt?: Date | string memberships?: OrgMembershipCreateNestedManyWithoutOrganizationInput projects?: ProjectCreateNestedManyWithoutOrganizationInput apiKeys?: ApiKeyCreateNestedManyWithoutOrganizationInput auditLogs?: AuditLogCreateNestedManyWithoutOrganizationInput bulkJobs?: BulkJobCreateNestedManyWithoutOrganizationInput } export type OrganizationUncheckedCreateInput = { id?: string name: string plan?: string createdAt?: Date | string memberships?: OrgMembershipUncheckedCreateNestedManyWithoutOrganizationInput projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutOrganizationInput auditLogs?: AuditLogUncheckedCreateNestedManyWithoutOrganizationInput bulkJobs?: BulkJobUncheckedCreateNestedManyWithoutOrganizationInput } export type OrganizationUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string plan?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string memberships?: OrgMembershipUpdateManyWithoutOrganizationNestedInput projects?: ProjectUpdateManyWithoutOrganizationNestedInput apiKeys?: ApiKeyUpdateManyWithoutOrganizationNestedInput auditLogs?: AuditLogUpdateManyWithoutOrganizationNestedInput bulkJobs?: BulkJobUpdateManyWithoutOrganizationNestedInput } export type OrganizationUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string plan?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string memberships?: OrgMembershipUncheckedUpdateManyWithoutOrganizationNestedInput projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutOrganizationNestedInput auditLogs?: AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput bulkJobs?: BulkJobUncheckedUpdateManyWithoutOrganizationNestedInput } export type OrganizationCreateManyInput = { id?: string name: string plan?: string createdAt?: Date | string } export type OrganizationUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string plan?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type OrganizationUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string plan?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type OrgMembershipCreateInput = { id?: string role: $Enums.Role organization: OrganizationCreateNestedOneWithoutMembershipsInput user: UserCreateNestedOneWithoutMembershipsInput } export type OrgMembershipUncheckedCreateInput = { id?: string orgId: string userId: string role: $Enums.Role } export type OrgMembershipUpdateInput = { id?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role organization?: OrganizationUpdateOneRequiredWithoutMembershipsNestedInput user?: UserUpdateOneRequiredWithoutMembershipsNestedInput } export type OrgMembershipUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role } export type OrgMembershipCreateManyInput = { id?: string orgId: string userId: string role: $Enums.Role } export type OrgMembershipUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role } export type OrgMembershipUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role } export type ProjectCreateInput = { id?: string name: string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string organization: OrganizationCreateNestedOneWithoutProjectsInput checks?: CheckCreateNestedManyWithoutProjectInput bulkJobs?: BulkJobCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateInput = { id?: string orgId: string name: string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string checks?: CheckUncheckedCreateNestedManyWithoutProjectInput bulkJobs?: BulkJobUncheckedCreateNestedManyWithoutProjectInput } export type ProjectUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput checks?: CheckUpdateManyWithoutProjectNestedInput bulkJobs?: BulkJobUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string checks?: CheckUncheckedUpdateManyWithoutProjectNestedInput bulkJobs?: BulkJobUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectCreateManyInput = { id?: string orgId: string name: string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string } export type ProjectUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ProjectUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type CheckCreateInput = { id?: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null project: ProjectCreateNestedOneWithoutChecksInput hops?: HopCreateNestedManyWithoutCheckInput sslInspections?: SslInspectionCreateNestedManyWithoutCheckInput seoFlags?: SeoFlagsCreateNestedOneWithoutCheckInput securityFlags?: SecurityFlagsCreateNestedOneWithoutCheckInput reports?: ReportCreateNestedManyWithoutCheckInput } export type CheckUncheckedCreateInput = { id?: string projectId: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null hops?: HopUncheckedCreateNestedManyWithoutCheckInput sslInspections?: SslInspectionUncheckedCreateNestedManyWithoutCheckInput seoFlags?: SeoFlagsUncheckedCreateNestedOneWithoutCheckInput securityFlags?: SecurityFlagsUncheckedCreateNestedOneWithoutCheckInput reports?: ReportUncheckedCreateNestedManyWithoutCheckInput } export type CheckUpdateInput = { id?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutChecksNestedInput hops?: HopUpdateManyWithoutCheckNestedInput sslInspections?: SslInspectionUpdateManyWithoutCheckNestedInput seoFlags?: SeoFlagsUpdateOneWithoutCheckNestedInput securityFlags?: SecurityFlagsUpdateOneWithoutCheckNestedInput reports?: ReportUpdateManyWithoutCheckNestedInput } export type CheckUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null hops?: HopUncheckedUpdateManyWithoutCheckNestedInput sslInspections?: SslInspectionUncheckedUpdateManyWithoutCheckNestedInput seoFlags?: SeoFlagsUncheckedUpdateOneWithoutCheckNestedInput securityFlags?: SecurityFlagsUncheckedUpdateOneWithoutCheckNestedInput reports?: ReportUncheckedUpdateManyWithoutCheckNestedInput } export type CheckCreateManyInput = { id?: string projectId: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null } export type CheckUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null } export type CheckUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null } export type HopCreateInput = { id?: string hopIndex: number url: string scheme?: string | null statusCode?: number | null redirectType: $Enums.RedirectType latencyMs?: number | null contentType?: string | null reason?: string | null responseHeadersJson?: JsonNullValueInput | InputJsonValue check: CheckCreateNestedOneWithoutHopsInput } export type HopUncheckedCreateInput = { id?: string checkId: string hopIndex: number url: string scheme?: string | null statusCode?: number | null redirectType: $Enums.RedirectType latencyMs?: number | null contentType?: string | null reason?: string | null responseHeadersJson?: JsonNullValueInput | InputJsonValue } export type HopUpdateInput = { id?: StringFieldUpdateOperationsInput | string hopIndex?: IntFieldUpdateOperationsInput | number url?: StringFieldUpdateOperationsInput | string scheme?: NullableStringFieldUpdateOperationsInput | string | null statusCode?: NullableIntFieldUpdateOperationsInput | number | null redirectType?: EnumRedirectTypeFieldUpdateOperationsInput | $Enums.RedirectType latencyMs?: NullableIntFieldUpdateOperationsInput | number | null contentType?: NullableStringFieldUpdateOperationsInput | string | null reason?: NullableStringFieldUpdateOperationsInput | string | null responseHeadersJson?: JsonNullValueInput | InputJsonValue check?: CheckUpdateOneRequiredWithoutHopsNestedInput } export type HopUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string checkId?: StringFieldUpdateOperationsInput | string hopIndex?: IntFieldUpdateOperationsInput | number url?: StringFieldUpdateOperationsInput | string scheme?: NullableStringFieldUpdateOperationsInput | string | null statusCode?: NullableIntFieldUpdateOperationsInput | number | null redirectType?: EnumRedirectTypeFieldUpdateOperationsInput | $Enums.RedirectType latencyMs?: NullableIntFieldUpdateOperationsInput | number | null contentType?: NullableStringFieldUpdateOperationsInput | string | null reason?: NullableStringFieldUpdateOperationsInput | string | null responseHeadersJson?: JsonNullValueInput | InputJsonValue } export type HopCreateManyInput = { id?: string checkId: string hopIndex: number url: string scheme?: string | null statusCode?: number | null redirectType: $Enums.RedirectType latencyMs?: number | null contentType?: string | null reason?: string | null responseHeadersJson?: JsonNullValueInput | InputJsonValue } export type HopUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string hopIndex?: IntFieldUpdateOperationsInput | number url?: StringFieldUpdateOperationsInput | string scheme?: NullableStringFieldUpdateOperationsInput | string | null statusCode?: NullableIntFieldUpdateOperationsInput | number | null redirectType?: EnumRedirectTypeFieldUpdateOperationsInput | $Enums.RedirectType latencyMs?: NullableIntFieldUpdateOperationsInput | number | null contentType?: NullableStringFieldUpdateOperationsInput | string | null reason?: NullableStringFieldUpdateOperationsInput | string | null responseHeadersJson?: JsonNullValueInput | InputJsonValue } export type HopUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string checkId?: StringFieldUpdateOperationsInput | string hopIndex?: IntFieldUpdateOperationsInput | number url?: StringFieldUpdateOperationsInput | string scheme?: NullableStringFieldUpdateOperationsInput | string | null statusCode?: NullableIntFieldUpdateOperationsInput | number | null redirectType?: EnumRedirectTypeFieldUpdateOperationsInput | $Enums.RedirectType latencyMs?: NullableIntFieldUpdateOperationsInput | number | null contentType?: NullableStringFieldUpdateOperationsInput | string | null reason?: NullableStringFieldUpdateOperationsInput | string | null responseHeadersJson?: JsonNullValueInput | InputJsonValue } export type SslInspectionCreateInput = { id?: string host: string validFrom?: Date | string | null validTo?: Date | string | null daysToExpiry?: number | null issuer?: string | null protocol?: string | null warningsJson?: JsonNullValueInput | InputJsonValue check: CheckCreateNestedOneWithoutSslInspectionsInput } export type SslInspectionUncheckedCreateInput = { id?: string checkId: string host: string validFrom?: Date | string | null validTo?: Date | string | null daysToExpiry?: number | null issuer?: string | null protocol?: string | null warningsJson?: JsonNullValueInput | InputJsonValue } export type SslInspectionUpdateInput = { id?: StringFieldUpdateOperationsInput | string host?: StringFieldUpdateOperationsInput | string validFrom?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null validTo?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null daysToExpiry?: NullableIntFieldUpdateOperationsInput | number | null issuer?: NullableStringFieldUpdateOperationsInput | string | null protocol?: NullableStringFieldUpdateOperationsInput | string | null warningsJson?: JsonNullValueInput | InputJsonValue check?: CheckUpdateOneRequiredWithoutSslInspectionsNestedInput } export type SslInspectionUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string checkId?: StringFieldUpdateOperationsInput | string host?: StringFieldUpdateOperationsInput | string validFrom?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null validTo?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null daysToExpiry?: NullableIntFieldUpdateOperationsInput | number | null issuer?: NullableStringFieldUpdateOperationsInput | string | null protocol?: NullableStringFieldUpdateOperationsInput | string | null warningsJson?: JsonNullValueInput | InputJsonValue } export type SslInspectionCreateManyInput = { id?: string checkId: string host: string validFrom?: Date | string | null validTo?: Date | string | null daysToExpiry?: number | null issuer?: string | null protocol?: string | null warningsJson?: JsonNullValueInput | InputJsonValue } export type SslInspectionUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string host?: StringFieldUpdateOperationsInput | string validFrom?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null validTo?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null daysToExpiry?: NullableIntFieldUpdateOperationsInput | number | null issuer?: NullableStringFieldUpdateOperationsInput | string | null protocol?: NullableStringFieldUpdateOperationsInput | string | null warningsJson?: JsonNullValueInput | InputJsonValue } export type SslInspectionUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string checkId?: StringFieldUpdateOperationsInput | string host?: StringFieldUpdateOperationsInput | string validFrom?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null validTo?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null daysToExpiry?: NullableIntFieldUpdateOperationsInput | number | null issuer?: NullableStringFieldUpdateOperationsInput | string | null protocol?: NullableStringFieldUpdateOperationsInput | string | null warningsJson?: JsonNullValueInput | InputJsonValue } export type SeoFlagsCreateInput = { id?: string robotsTxtStatus?: string | null robotsTxtRulesJson?: JsonNullValueInput | InputJsonValue metaRobots?: string | null canonicalUrl?: string | null sitemapPresent?: boolean noindex?: boolean nofollow?: boolean check: CheckCreateNestedOneWithoutSeoFlagsInput } export type SeoFlagsUncheckedCreateInput = { id?: string checkId: string robotsTxtStatus?: string | null robotsTxtRulesJson?: JsonNullValueInput | InputJsonValue metaRobots?: string | null canonicalUrl?: string | null sitemapPresent?: boolean noindex?: boolean nofollow?: boolean } export type SeoFlagsUpdateInput = { id?: StringFieldUpdateOperationsInput | string robotsTxtStatus?: NullableStringFieldUpdateOperationsInput | string | null robotsTxtRulesJson?: JsonNullValueInput | InputJsonValue metaRobots?: NullableStringFieldUpdateOperationsInput | string | null canonicalUrl?: NullableStringFieldUpdateOperationsInput | string | null sitemapPresent?: BoolFieldUpdateOperationsInput | boolean noindex?: BoolFieldUpdateOperationsInput | boolean nofollow?: BoolFieldUpdateOperationsInput | boolean check?: CheckUpdateOneRequiredWithoutSeoFlagsNestedInput } export type SeoFlagsUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string checkId?: StringFieldUpdateOperationsInput | string robotsTxtStatus?: NullableStringFieldUpdateOperationsInput | string | null robotsTxtRulesJson?: JsonNullValueInput | InputJsonValue metaRobots?: NullableStringFieldUpdateOperationsInput | string | null canonicalUrl?: NullableStringFieldUpdateOperationsInput | string | null sitemapPresent?: BoolFieldUpdateOperationsInput | boolean noindex?: BoolFieldUpdateOperationsInput | boolean nofollow?: BoolFieldUpdateOperationsInput | boolean } export type SeoFlagsCreateManyInput = { id?: string checkId: string robotsTxtStatus?: string | null robotsTxtRulesJson?: JsonNullValueInput | InputJsonValue metaRobots?: string | null canonicalUrl?: string | null sitemapPresent?: boolean noindex?: boolean nofollow?: boolean } export type SeoFlagsUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string robotsTxtStatus?: NullableStringFieldUpdateOperationsInput | string | null robotsTxtRulesJson?: JsonNullValueInput | InputJsonValue metaRobots?: NullableStringFieldUpdateOperationsInput | string | null canonicalUrl?: NullableStringFieldUpdateOperationsInput | string | null sitemapPresent?: BoolFieldUpdateOperationsInput | boolean noindex?: BoolFieldUpdateOperationsInput | boolean nofollow?: BoolFieldUpdateOperationsInput | boolean } export type SeoFlagsUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string checkId?: StringFieldUpdateOperationsInput | string robotsTxtStatus?: NullableStringFieldUpdateOperationsInput | string | null robotsTxtRulesJson?: JsonNullValueInput | InputJsonValue metaRobots?: NullableStringFieldUpdateOperationsInput | string | null canonicalUrl?: NullableStringFieldUpdateOperationsInput | string | null sitemapPresent?: BoolFieldUpdateOperationsInput | boolean noindex?: BoolFieldUpdateOperationsInput | boolean nofollow?: BoolFieldUpdateOperationsInput | boolean } export type SecurityFlagsCreateInput = { id?: string safeBrowsingStatus?: string | null mixedContent?: $Enums.MixedContent httpsToHttp?: boolean check: CheckCreateNestedOneWithoutSecurityFlagsInput } export type SecurityFlagsUncheckedCreateInput = { id?: string checkId: string safeBrowsingStatus?: string | null mixedContent?: $Enums.MixedContent httpsToHttp?: boolean } export type SecurityFlagsUpdateInput = { id?: StringFieldUpdateOperationsInput | string safeBrowsingStatus?: NullableStringFieldUpdateOperationsInput | string | null mixedContent?: EnumMixedContentFieldUpdateOperationsInput | $Enums.MixedContent httpsToHttp?: BoolFieldUpdateOperationsInput | boolean check?: CheckUpdateOneRequiredWithoutSecurityFlagsNestedInput } export type SecurityFlagsUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string checkId?: StringFieldUpdateOperationsInput | string safeBrowsingStatus?: NullableStringFieldUpdateOperationsInput | string | null mixedContent?: EnumMixedContentFieldUpdateOperationsInput | $Enums.MixedContent httpsToHttp?: BoolFieldUpdateOperationsInput | boolean } export type SecurityFlagsCreateManyInput = { id?: string checkId: string safeBrowsingStatus?: string | null mixedContent?: $Enums.MixedContent httpsToHttp?: boolean } export type SecurityFlagsUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string safeBrowsingStatus?: NullableStringFieldUpdateOperationsInput | string | null mixedContent?: EnumMixedContentFieldUpdateOperationsInput | $Enums.MixedContent httpsToHttp?: BoolFieldUpdateOperationsInput | boolean } export type SecurityFlagsUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string checkId?: StringFieldUpdateOperationsInput | string safeBrowsingStatus?: NullableStringFieldUpdateOperationsInput | string | null mixedContent?: EnumMixedContentFieldUpdateOperationsInput | $Enums.MixedContent httpsToHttp?: BoolFieldUpdateOperationsInput | boolean } export type ReportCreateInput = { id?: string markdownPath?: string | null pdfPath?: string | null createdAt?: Date | string check: CheckCreateNestedOneWithoutReportsInput } export type ReportUncheckedCreateInput = { id?: string checkId: string markdownPath?: string | null pdfPath?: string | null createdAt?: Date | string } export type ReportUpdateInput = { id?: StringFieldUpdateOperationsInput | string markdownPath?: NullableStringFieldUpdateOperationsInput | string | null pdfPath?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string check?: CheckUpdateOneRequiredWithoutReportsNestedInput } export type ReportUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string checkId?: StringFieldUpdateOperationsInput | string markdownPath?: NullableStringFieldUpdateOperationsInput | string | null pdfPath?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ReportCreateManyInput = { id?: string checkId: string markdownPath?: string | null pdfPath?: string | null createdAt?: Date | string } export type ReportUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string markdownPath?: NullableStringFieldUpdateOperationsInput | string | null pdfPath?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ReportUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string checkId?: StringFieldUpdateOperationsInput | string markdownPath?: NullableStringFieldUpdateOperationsInput | string | null pdfPath?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type BulkJobCreateInput = { id?: string uploadPath: string status: $Enums.JobStatus totalUrls?: number processedUrls?: number successfulUrls?: number failedUrls?: number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string startedAt?: Date | string | null finishedAt?: Date | string | null completedAt?: Date | string | null user: UserCreateNestedOneWithoutBulkJobsInput organization?: OrganizationCreateNestedOneWithoutBulkJobsInput project: ProjectCreateNestedOneWithoutBulkJobsInput } export type BulkJobUncheckedCreateInput = { id?: string userId: string organizationId?: string | null projectId: string uploadPath: string status: $Enums.JobStatus totalUrls?: number processedUrls?: number successfulUrls?: number failedUrls?: number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string startedAt?: Date | string | null finishedAt?: Date | string | null completedAt?: Date | string | null } export type BulkJobUpdateInput = { id?: StringFieldUpdateOperationsInput | string uploadPath?: StringFieldUpdateOperationsInput | string status?: EnumJobStatusFieldUpdateOperationsInput | $Enums.JobStatus totalUrls?: IntFieldUpdateOperationsInput | number processedUrls?: IntFieldUpdateOperationsInput | number successfulUrls?: IntFieldUpdateOperationsInput | number failedUrls?: IntFieldUpdateOperationsInput | number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null user?: UserUpdateOneRequiredWithoutBulkJobsNestedInput organization?: OrganizationUpdateOneWithoutBulkJobsNestedInput project?: ProjectUpdateOneRequiredWithoutBulkJobsNestedInput } export type BulkJobUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string organizationId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: StringFieldUpdateOperationsInput | string uploadPath?: StringFieldUpdateOperationsInput | string status?: EnumJobStatusFieldUpdateOperationsInput | $Enums.JobStatus totalUrls?: IntFieldUpdateOperationsInput | number processedUrls?: IntFieldUpdateOperationsInput | number successfulUrls?: IntFieldUpdateOperationsInput | number failedUrls?: IntFieldUpdateOperationsInput | number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type BulkJobCreateManyInput = { id?: string userId: string organizationId?: string | null projectId: string uploadPath: string status: $Enums.JobStatus totalUrls?: number processedUrls?: number successfulUrls?: number failedUrls?: number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string startedAt?: Date | string | null finishedAt?: Date | string | null completedAt?: Date | string | null } export type BulkJobUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string uploadPath?: StringFieldUpdateOperationsInput | string status?: EnumJobStatusFieldUpdateOperationsInput | $Enums.JobStatus totalUrls?: IntFieldUpdateOperationsInput | number processedUrls?: IntFieldUpdateOperationsInput | number successfulUrls?: IntFieldUpdateOperationsInput | number failedUrls?: IntFieldUpdateOperationsInput | number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type BulkJobUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string organizationId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: StringFieldUpdateOperationsInput | string uploadPath?: StringFieldUpdateOperationsInput | string status?: EnumJobStatusFieldUpdateOperationsInput | $Enums.JobStatus totalUrls?: IntFieldUpdateOperationsInput | number processedUrls?: IntFieldUpdateOperationsInput | number successfulUrls?: IntFieldUpdateOperationsInput | number failedUrls?: IntFieldUpdateOperationsInput | number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type ApiKeyCreateInput = { id?: string name: string tokenHash: string permsJson?: JsonNullValueInput | InputJsonValue rateLimitQuota?: number createdAt?: Date | string organization: OrganizationCreateNestedOneWithoutApiKeysInput } export type ApiKeyUncheckedCreateInput = { id?: string orgId: string name: string tokenHash: string permsJson?: JsonNullValueInput | InputJsonValue rateLimitQuota?: number createdAt?: Date | string } export type ApiKeyUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string tokenHash?: StringFieldUpdateOperationsInput | string permsJson?: JsonNullValueInput | InputJsonValue rateLimitQuota?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string organization?: OrganizationUpdateOneRequiredWithoutApiKeysNestedInput } export type ApiKeyUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string tokenHash?: StringFieldUpdateOperationsInput | string permsJson?: JsonNullValueInput | InputJsonValue rateLimitQuota?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ApiKeyCreateManyInput = { id?: string orgId: string name: string tokenHash: string permsJson?: JsonNullValueInput | InputJsonValue rateLimitQuota?: number createdAt?: Date | string } export type ApiKeyUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string tokenHash?: StringFieldUpdateOperationsInput | string permsJson?: JsonNullValueInput | InputJsonValue rateLimitQuota?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ApiKeyUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string tokenHash?: StringFieldUpdateOperationsInput | string permsJson?: JsonNullValueInput | InputJsonValue rateLimitQuota?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AuditLogCreateInput = { id?: string action: string entity: string entityId: string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string organization: OrganizationCreateNestedOneWithoutAuditLogsInput actor?: UserCreateNestedOneWithoutAuditLogsInput } export type AuditLogUncheckedCreateInput = { id?: string orgId: string actorUserId?: string | null action: string entity: string entityId: string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string } export type AuditLogUpdateInput = { id?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string entity?: StringFieldUpdateOperationsInput | string entityId?: StringFieldUpdateOperationsInput | string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string organization?: OrganizationUpdateOneRequiredWithoutAuditLogsNestedInput actor?: UserUpdateOneWithoutAuditLogsNestedInput } export type AuditLogUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string actorUserId?: NullableStringFieldUpdateOperationsInput | string | null action?: StringFieldUpdateOperationsInput | string entity?: StringFieldUpdateOperationsInput | string entityId?: StringFieldUpdateOperationsInput | string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AuditLogCreateManyInput = { id?: string orgId: string actorUserId?: string | null action: string entity: string entityId: string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string } export type AuditLogUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string entity?: StringFieldUpdateOperationsInput | string entityId?: StringFieldUpdateOperationsInput | string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AuditLogUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string actorUserId?: NullableStringFieldUpdateOperationsInput | string | null action?: StringFieldUpdateOperationsInput | string entity?: StringFieldUpdateOperationsInput | string entityId?: StringFieldUpdateOperationsInput | string metaJson?: JsonNullValueInput | InputJsonValue 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 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 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 OrgMembershipListRelationFilter = { every?: OrgMembershipWhereInput some?: OrgMembershipWhereInput none?: OrgMembershipWhereInput } export type AuditLogListRelationFilter = { every?: AuditLogWhereInput some?: AuditLogWhereInput none?: AuditLogWhereInput } export type BulkJobListRelationFilter = { every?: BulkJobWhereInput some?: BulkJobWhereInput none?: BulkJobWhereInput } export type SortOrderInput = { sort: SortOrder nulls?: NullsOrder } export type OrgMembershipOrderByRelationAggregateInput = { _count?: SortOrder } export type AuditLogOrderByRelationAggregateInput = { _count?: SortOrder } export type BulkJobOrderByRelationAggregateInput = { _count?: SortOrder } export type UserCountOrderByAggregateInput = { id?: SortOrder email?: SortOrder name?: SortOrder passwordHash?: SortOrder createdAt?: SortOrder lastLoginAt?: SortOrder } export type UserMaxOrderByAggregateInput = { id?: SortOrder email?: SortOrder name?: SortOrder passwordHash?: SortOrder createdAt?: SortOrder lastLoginAt?: SortOrder } export type UserMinOrderByAggregateInput = { id?: SortOrder email?: SortOrder name?: SortOrder passwordHash?: SortOrder createdAt?: SortOrder lastLoginAt?: 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 DateTimeWithAggregatesFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string _count?: NestedIntFilter<$PrismaModel> _min?: NestedDateTimeFilter<$PrismaModel> _max?: NestedDateTimeFilter<$PrismaModel> } export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel> | null lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedDateTimeNullableFilter<$PrismaModel> _max?: NestedDateTimeNullableFilter<$PrismaModel> } export type ProjectListRelationFilter = { every?: ProjectWhereInput some?: ProjectWhereInput none?: ProjectWhereInput } export type ApiKeyListRelationFilter = { every?: ApiKeyWhereInput some?: ApiKeyWhereInput none?: ApiKeyWhereInput } export type ProjectOrderByRelationAggregateInput = { _count?: SortOrder } export type ApiKeyOrderByRelationAggregateInput = { _count?: SortOrder } export type OrganizationCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder plan?: SortOrder createdAt?: SortOrder } export type OrganizationMaxOrderByAggregateInput = { id?: SortOrder name?: SortOrder plan?: SortOrder createdAt?: SortOrder } export type OrganizationMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder plan?: SortOrder createdAt?: SortOrder } export type EnumRoleFilter<$PrismaModel = never> = { equals?: $Enums.Role | EnumRoleFieldRefInput<$PrismaModel> in?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> notIn?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> not?: NestedEnumRoleFilter<$PrismaModel> | $Enums.Role } export type OrganizationRelationFilter = { is?: OrganizationWhereInput isNot?: OrganizationWhereInput } export type UserRelationFilter = { is?: UserWhereInput isNot?: UserWhereInput } export type OrgMembershipOrgIdUserIdCompoundUniqueInput = { orgId: string userId: string } export type OrgMembershipCountOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder userId?: SortOrder role?: SortOrder } export type OrgMembershipMaxOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder userId?: SortOrder role?: SortOrder } export type OrgMembershipMinOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder userId?: SortOrder role?: SortOrder } export type EnumRoleWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.Role | EnumRoleFieldRefInput<$PrismaModel> in?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> notIn?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> not?: NestedEnumRoleWithAggregatesFilter<$PrismaModel> | $Enums.Role _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumRoleFilter<$PrismaModel> _max?: NestedEnumRoleFilter<$PrismaModel> } export type JsonFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type JsonFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } export type CheckListRelationFilter = { every?: CheckWhereInput some?: CheckWhereInput none?: CheckWhereInput } export type CheckOrderByRelationAggregateInput = { _count?: SortOrder } export type ProjectCountOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder name?: SortOrder settingsJson?: SortOrder createdAt?: SortOrder } export type ProjectMaxOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder name?: SortOrder createdAt?: SortOrder } export type ProjectMinOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder name?: SortOrder createdAt?: SortOrder } export type JsonWithAggregatesFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type JsonWithAggregatesFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter _count?: NestedIntFilter<$PrismaModel> _min?: NestedJsonFilter<$PrismaModel> _max?: NestedJsonFilter<$PrismaModel> } export type 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 EnumCheckStatusFilter<$PrismaModel = never> = { equals?: $Enums.CheckStatus | EnumCheckStatusFieldRefInput<$PrismaModel> in?: $Enums.CheckStatus[] | ListEnumCheckStatusFieldRefInput<$PrismaModel> notIn?: $Enums.CheckStatus[] | ListEnumCheckStatusFieldRefInput<$PrismaModel> not?: NestedEnumCheckStatusFilter<$PrismaModel> | $Enums.CheckStatus } 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 ProjectRelationFilter = { is?: ProjectWhereInput isNot?: ProjectWhereInput } export type HopListRelationFilter = { every?: HopWhereInput some?: HopWhereInput none?: HopWhereInput } export type SslInspectionListRelationFilter = { every?: SslInspectionWhereInput some?: SslInspectionWhereInput none?: SslInspectionWhereInput } export type SeoFlagsNullableRelationFilter = { is?: SeoFlagsWhereInput | null isNot?: SeoFlagsWhereInput | null } export type SecurityFlagsNullableRelationFilter = { is?: SecurityFlagsWhereInput | null isNot?: SecurityFlagsWhereInput | null } export type ReportListRelationFilter = { every?: ReportWhereInput some?: ReportWhereInput none?: ReportWhereInput } export type HopOrderByRelationAggregateInput = { _count?: SortOrder } export type SslInspectionOrderByRelationAggregateInput = { _count?: SortOrder } export type ReportOrderByRelationAggregateInput = { _count?: SortOrder } export type CheckCountOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder inputUrl?: SortOrder method?: SortOrder headersJson?: SortOrder userAgent?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder status?: SortOrder finalUrl?: SortOrder totalTimeMs?: SortOrder reportId?: SortOrder } export type CheckAvgOrderByAggregateInput = { totalTimeMs?: SortOrder } export type CheckMaxOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder inputUrl?: SortOrder method?: SortOrder userAgent?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder status?: SortOrder finalUrl?: SortOrder totalTimeMs?: SortOrder reportId?: SortOrder } export type CheckMinOrderByAggregateInput = { id?: SortOrder projectId?: SortOrder inputUrl?: SortOrder method?: SortOrder userAgent?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder status?: SortOrder finalUrl?: SortOrder totalTimeMs?: SortOrder reportId?: SortOrder } export type CheckSumOrderByAggregateInput = { totalTimeMs?: SortOrder } 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 EnumCheckStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.CheckStatus | EnumCheckStatusFieldRefInput<$PrismaModel> in?: $Enums.CheckStatus[] | ListEnumCheckStatusFieldRefInput<$PrismaModel> notIn?: $Enums.CheckStatus[] | ListEnumCheckStatusFieldRefInput<$PrismaModel> not?: NestedEnumCheckStatusWithAggregatesFilter<$PrismaModel> | $Enums.CheckStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumCheckStatusFilter<$PrismaModel> _max?: NestedEnumCheckStatusFilter<$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 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 EnumRedirectTypeFilter<$PrismaModel = never> = { equals?: $Enums.RedirectType | EnumRedirectTypeFieldRefInput<$PrismaModel> in?: $Enums.RedirectType[] | ListEnumRedirectTypeFieldRefInput<$PrismaModel> notIn?: $Enums.RedirectType[] | ListEnumRedirectTypeFieldRefInput<$PrismaModel> not?: NestedEnumRedirectTypeFilter<$PrismaModel> | $Enums.RedirectType } export type CheckRelationFilter = { is?: CheckWhereInput isNot?: CheckWhereInput } export type HopCountOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder hopIndex?: SortOrder url?: SortOrder scheme?: SortOrder statusCode?: SortOrder redirectType?: SortOrder latencyMs?: SortOrder contentType?: SortOrder reason?: SortOrder responseHeadersJson?: SortOrder } export type HopAvgOrderByAggregateInput = { hopIndex?: SortOrder statusCode?: SortOrder latencyMs?: SortOrder } export type HopMaxOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder hopIndex?: SortOrder url?: SortOrder scheme?: SortOrder statusCode?: SortOrder redirectType?: SortOrder latencyMs?: SortOrder contentType?: SortOrder reason?: SortOrder } export type HopMinOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder hopIndex?: SortOrder url?: SortOrder scheme?: SortOrder statusCode?: SortOrder redirectType?: SortOrder latencyMs?: SortOrder contentType?: SortOrder reason?: SortOrder } export type HopSumOrderByAggregateInput = { hopIndex?: SortOrder statusCode?: SortOrder latencyMs?: SortOrder } 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 EnumRedirectTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.RedirectType | EnumRedirectTypeFieldRefInput<$PrismaModel> in?: $Enums.RedirectType[] | ListEnumRedirectTypeFieldRefInput<$PrismaModel> notIn?: $Enums.RedirectType[] | ListEnumRedirectTypeFieldRefInput<$PrismaModel> not?: NestedEnumRedirectTypeWithAggregatesFilter<$PrismaModel> | $Enums.RedirectType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumRedirectTypeFilter<$PrismaModel> _max?: NestedEnumRedirectTypeFilter<$PrismaModel> } export type SslInspectionCountOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder host?: SortOrder validFrom?: SortOrder validTo?: SortOrder daysToExpiry?: SortOrder issuer?: SortOrder protocol?: SortOrder warningsJson?: SortOrder } export type SslInspectionAvgOrderByAggregateInput = { daysToExpiry?: SortOrder } export type SslInspectionMaxOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder host?: SortOrder validFrom?: SortOrder validTo?: SortOrder daysToExpiry?: SortOrder issuer?: SortOrder protocol?: SortOrder } export type SslInspectionMinOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder host?: SortOrder validFrom?: SortOrder validTo?: SortOrder daysToExpiry?: SortOrder issuer?: SortOrder protocol?: SortOrder } export type SslInspectionSumOrderByAggregateInput = { daysToExpiry?: SortOrder } export type BoolFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolFilter<$PrismaModel> | boolean } export type SeoFlagsCountOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder robotsTxtStatus?: SortOrder robotsTxtRulesJson?: SortOrder metaRobots?: SortOrder canonicalUrl?: SortOrder sitemapPresent?: SortOrder noindex?: SortOrder nofollow?: SortOrder } export type SeoFlagsMaxOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder robotsTxtStatus?: SortOrder metaRobots?: SortOrder canonicalUrl?: SortOrder sitemapPresent?: SortOrder noindex?: SortOrder nofollow?: SortOrder } export type SeoFlagsMinOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder robotsTxtStatus?: SortOrder metaRobots?: SortOrder canonicalUrl?: SortOrder sitemapPresent?: SortOrder noindex?: SortOrder nofollow?: SortOrder } export type BoolWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean _count?: NestedIntFilter<$PrismaModel> _min?: NestedBoolFilter<$PrismaModel> _max?: NestedBoolFilter<$PrismaModel> } export type EnumMixedContentFilter<$PrismaModel = never> = { equals?: $Enums.MixedContent | EnumMixedContentFieldRefInput<$PrismaModel> in?: $Enums.MixedContent[] | ListEnumMixedContentFieldRefInput<$PrismaModel> notIn?: $Enums.MixedContent[] | ListEnumMixedContentFieldRefInput<$PrismaModel> not?: NestedEnumMixedContentFilter<$PrismaModel> | $Enums.MixedContent } export type SecurityFlagsCountOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder safeBrowsingStatus?: SortOrder mixedContent?: SortOrder httpsToHttp?: SortOrder } export type SecurityFlagsMaxOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder safeBrowsingStatus?: SortOrder mixedContent?: SortOrder httpsToHttp?: SortOrder } export type SecurityFlagsMinOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder safeBrowsingStatus?: SortOrder mixedContent?: SortOrder httpsToHttp?: SortOrder } export type EnumMixedContentWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.MixedContent | EnumMixedContentFieldRefInput<$PrismaModel> in?: $Enums.MixedContent[] | ListEnumMixedContentFieldRefInput<$PrismaModel> notIn?: $Enums.MixedContent[] | ListEnumMixedContentFieldRefInput<$PrismaModel> not?: NestedEnumMixedContentWithAggregatesFilter<$PrismaModel> | $Enums.MixedContent _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumMixedContentFilter<$PrismaModel> _max?: NestedEnumMixedContentFilter<$PrismaModel> } export type ReportCountOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder markdownPath?: SortOrder pdfPath?: SortOrder createdAt?: SortOrder } export type ReportMaxOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder markdownPath?: SortOrder pdfPath?: SortOrder createdAt?: SortOrder } export type ReportMinOrderByAggregateInput = { id?: SortOrder checkId?: SortOrder markdownPath?: SortOrder pdfPath?: SortOrder createdAt?: SortOrder } export type EnumJobStatusFilter<$PrismaModel = never> = { equals?: $Enums.JobStatus | EnumJobStatusFieldRefInput<$PrismaModel> in?: $Enums.JobStatus[] | ListEnumJobStatusFieldRefInput<$PrismaModel> notIn?: $Enums.JobStatus[] | ListEnumJobStatusFieldRefInput<$PrismaModel> not?: NestedEnumJobStatusFilter<$PrismaModel> | $Enums.JobStatus } export type JsonNullableFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type JsonNullableFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } export type OrganizationNullableRelationFilter = { is?: OrganizationWhereInput | null isNot?: OrganizationWhereInput | null } export type BulkJobCountOrderByAggregateInput = { id?: SortOrder userId?: SortOrder organizationId?: SortOrder projectId?: SortOrder uploadPath?: SortOrder status?: SortOrder totalUrls?: SortOrder processedUrls?: SortOrder successfulUrls?: SortOrder failedUrls?: SortOrder configJson?: SortOrder urlsJson?: SortOrder resultsJson?: SortOrder progressJson?: SortOrder createdAt?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder completedAt?: SortOrder } export type BulkJobAvgOrderByAggregateInput = { totalUrls?: SortOrder processedUrls?: SortOrder successfulUrls?: SortOrder failedUrls?: SortOrder } export type BulkJobMaxOrderByAggregateInput = { id?: SortOrder userId?: SortOrder organizationId?: SortOrder projectId?: SortOrder uploadPath?: SortOrder status?: SortOrder totalUrls?: SortOrder processedUrls?: SortOrder successfulUrls?: SortOrder failedUrls?: SortOrder createdAt?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder completedAt?: SortOrder } export type BulkJobMinOrderByAggregateInput = { id?: SortOrder userId?: SortOrder organizationId?: SortOrder projectId?: SortOrder uploadPath?: SortOrder status?: SortOrder totalUrls?: SortOrder processedUrls?: SortOrder successfulUrls?: SortOrder failedUrls?: SortOrder createdAt?: SortOrder startedAt?: SortOrder finishedAt?: SortOrder completedAt?: SortOrder } export type BulkJobSumOrderByAggregateInput = { totalUrls?: SortOrder processedUrls?: SortOrder successfulUrls?: SortOrder failedUrls?: SortOrder } export type EnumJobStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.JobStatus | EnumJobStatusFieldRefInput<$PrismaModel> in?: $Enums.JobStatus[] | ListEnumJobStatusFieldRefInput<$PrismaModel> notIn?: $Enums.JobStatus[] | ListEnumJobStatusFieldRefInput<$PrismaModel> not?: NestedEnumJobStatusWithAggregatesFilter<$PrismaModel> | $Enums.JobStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumJobStatusFilter<$PrismaModel> _max?: NestedEnumJobStatusFilter<$PrismaModel> } export type JsonNullableWithAggregatesFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedJsonNullableFilter<$PrismaModel> _max?: NestedJsonNullableFilter<$PrismaModel> } export type ApiKeyCountOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder name?: SortOrder tokenHash?: SortOrder permsJson?: SortOrder rateLimitQuota?: SortOrder createdAt?: SortOrder } export type ApiKeyAvgOrderByAggregateInput = { rateLimitQuota?: SortOrder } export type ApiKeyMaxOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder name?: SortOrder tokenHash?: SortOrder rateLimitQuota?: SortOrder createdAt?: SortOrder } export type ApiKeyMinOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder name?: SortOrder tokenHash?: SortOrder rateLimitQuota?: SortOrder createdAt?: SortOrder } export type ApiKeySumOrderByAggregateInput = { rateLimitQuota?: SortOrder } export type UserNullableRelationFilter = { is?: UserWhereInput | null isNot?: UserWhereInput | null } export type AuditLogCountOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder actorUserId?: SortOrder action?: SortOrder entity?: SortOrder entityId?: SortOrder metaJson?: SortOrder createdAt?: SortOrder } export type AuditLogMaxOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder actorUserId?: SortOrder action?: SortOrder entity?: SortOrder entityId?: SortOrder createdAt?: SortOrder } export type AuditLogMinOrderByAggregateInput = { id?: SortOrder orgId?: SortOrder actorUserId?: SortOrder action?: SortOrder entity?: SortOrder entityId?: SortOrder createdAt?: SortOrder } export type OrgMembershipCreateNestedManyWithoutUserInput = { create?: XOR | OrgMembershipCreateWithoutUserInput[] | OrgMembershipUncheckedCreateWithoutUserInput[] connectOrCreate?: OrgMembershipCreateOrConnectWithoutUserInput | OrgMembershipCreateOrConnectWithoutUserInput[] createMany?: OrgMembershipCreateManyUserInputEnvelope connect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] } export type AuditLogCreateNestedManyWithoutActorInput = { create?: XOR | AuditLogCreateWithoutActorInput[] | AuditLogUncheckedCreateWithoutActorInput[] connectOrCreate?: AuditLogCreateOrConnectWithoutActorInput | AuditLogCreateOrConnectWithoutActorInput[] createMany?: AuditLogCreateManyActorInputEnvelope connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] } export type BulkJobCreateNestedManyWithoutUserInput = { create?: XOR | BulkJobCreateWithoutUserInput[] | BulkJobUncheckedCreateWithoutUserInput[] connectOrCreate?: BulkJobCreateOrConnectWithoutUserInput | BulkJobCreateOrConnectWithoutUserInput[] createMany?: BulkJobCreateManyUserInputEnvelope connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] } export type OrgMembershipUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | OrgMembershipCreateWithoutUserInput[] | OrgMembershipUncheckedCreateWithoutUserInput[] connectOrCreate?: OrgMembershipCreateOrConnectWithoutUserInput | OrgMembershipCreateOrConnectWithoutUserInput[] createMany?: OrgMembershipCreateManyUserInputEnvelope connect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] } export type AuditLogUncheckedCreateNestedManyWithoutActorInput = { create?: XOR | AuditLogCreateWithoutActorInput[] | AuditLogUncheckedCreateWithoutActorInput[] connectOrCreate?: AuditLogCreateOrConnectWithoutActorInput | AuditLogCreateOrConnectWithoutActorInput[] createMany?: AuditLogCreateManyActorInputEnvelope connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] } export type BulkJobUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | BulkJobCreateWithoutUserInput[] | BulkJobUncheckedCreateWithoutUserInput[] connectOrCreate?: BulkJobCreateOrConnectWithoutUserInput | BulkJobCreateOrConnectWithoutUserInput[] createMany?: BulkJobCreateManyUserInputEnvelope connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] } export type StringFieldUpdateOperationsInput = { set?: string } export type DateTimeFieldUpdateOperationsInput = { set?: Date | string } export type NullableDateTimeFieldUpdateOperationsInput = { set?: Date | string | null } export type OrgMembershipUpdateManyWithoutUserNestedInput = { create?: XOR | OrgMembershipCreateWithoutUserInput[] | OrgMembershipUncheckedCreateWithoutUserInput[] connectOrCreate?: OrgMembershipCreateOrConnectWithoutUserInput | OrgMembershipCreateOrConnectWithoutUserInput[] upsert?: OrgMembershipUpsertWithWhereUniqueWithoutUserInput | OrgMembershipUpsertWithWhereUniqueWithoutUserInput[] createMany?: OrgMembershipCreateManyUserInputEnvelope set?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] disconnect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] delete?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] connect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] update?: OrgMembershipUpdateWithWhereUniqueWithoutUserInput | OrgMembershipUpdateWithWhereUniqueWithoutUserInput[] updateMany?: OrgMembershipUpdateManyWithWhereWithoutUserInput | OrgMembershipUpdateManyWithWhereWithoutUserInput[] deleteMany?: OrgMembershipScalarWhereInput | OrgMembershipScalarWhereInput[] } export type AuditLogUpdateManyWithoutActorNestedInput = { create?: XOR | AuditLogCreateWithoutActorInput[] | AuditLogUncheckedCreateWithoutActorInput[] connectOrCreate?: AuditLogCreateOrConnectWithoutActorInput | AuditLogCreateOrConnectWithoutActorInput[] upsert?: AuditLogUpsertWithWhereUniqueWithoutActorInput | AuditLogUpsertWithWhereUniqueWithoutActorInput[] createMany?: AuditLogCreateManyActorInputEnvelope set?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] disconnect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] delete?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] update?: AuditLogUpdateWithWhereUniqueWithoutActorInput | AuditLogUpdateWithWhereUniqueWithoutActorInput[] updateMany?: AuditLogUpdateManyWithWhereWithoutActorInput | AuditLogUpdateManyWithWhereWithoutActorInput[] deleteMany?: AuditLogScalarWhereInput | AuditLogScalarWhereInput[] } export type BulkJobUpdateManyWithoutUserNestedInput = { create?: XOR | BulkJobCreateWithoutUserInput[] | BulkJobUncheckedCreateWithoutUserInput[] connectOrCreate?: BulkJobCreateOrConnectWithoutUserInput | BulkJobCreateOrConnectWithoutUserInput[] upsert?: BulkJobUpsertWithWhereUniqueWithoutUserInput | BulkJobUpsertWithWhereUniqueWithoutUserInput[] createMany?: BulkJobCreateManyUserInputEnvelope set?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] disconnect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] delete?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] update?: BulkJobUpdateWithWhereUniqueWithoutUserInput | BulkJobUpdateWithWhereUniqueWithoutUserInput[] updateMany?: BulkJobUpdateManyWithWhereWithoutUserInput | BulkJobUpdateManyWithWhereWithoutUserInput[] deleteMany?: BulkJobScalarWhereInput | BulkJobScalarWhereInput[] } export type OrgMembershipUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | OrgMembershipCreateWithoutUserInput[] | OrgMembershipUncheckedCreateWithoutUserInput[] connectOrCreate?: OrgMembershipCreateOrConnectWithoutUserInput | OrgMembershipCreateOrConnectWithoutUserInput[] upsert?: OrgMembershipUpsertWithWhereUniqueWithoutUserInput | OrgMembershipUpsertWithWhereUniqueWithoutUserInput[] createMany?: OrgMembershipCreateManyUserInputEnvelope set?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] disconnect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] delete?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] connect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] update?: OrgMembershipUpdateWithWhereUniqueWithoutUserInput | OrgMembershipUpdateWithWhereUniqueWithoutUserInput[] updateMany?: OrgMembershipUpdateManyWithWhereWithoutUserInput | OrgMembershipUpdateManyWithWhereWithoutUserInput[] deleteMany?: OrgMembershipScalarWhereInput | OrgMembershipScalarWhereInput[] } export type AuditLogUncheckedUpdateManyWithoutActorNestedInput = { create?: XOR | AuditLogCreateWithoutActorInput[] | AuditLogUncheckedCreateWithoutActorInput[] connectOrCreate?: AuditLogCreateOrConnectWithoutActorInput | AuditLogCreateOrConnectWithoutActorInput[] upsert?: AuditLogUpsertWithWhereUniqueWithoutActorInput | AuditLogUpsertWithWhereUniqueWithoutActorInput[] createMany?: AuditLogCreateManyActorInputEnvelope set?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] disconnect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] delete?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] update?: AuditLogUpdateWithWhereUniqueWithoutActorInput | AuditLogUpdateWithWhereUniqueWithoutActorInput[] updateMany?: AuditLogUpdateManyWithWhereWithoutActorInput | AuditLogUpdateManyWithWhereWithoutActorInput[] deleteMany?: AuditLogScalarWhereInput | AuditLogScalarWhereInput[] } export type BulkJobUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | BulkJobCreateWithoutUserInput[] | BulkJobUncheckedCreateWithoutUserInput[] connectOrCreate?: BulkJobCreateOrConnectWithoutUserInput | BulkJobCreateOrConnectWithoutUserInput[] upsert?: BulkJobUpsertWithWhereUniqueWithoutUserInput | BulkJobUpsertWithWhereUniqueWithoutUserInput[] createMany?: BulkJobCreateManyUserInputEnvelope set?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] disconnect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] delete?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] update?: BulkJobUpdateWithWhereUniqueWithoutUserInput | BulkJobUpdateWithWhereUniqueWithoutUserInput[] updateMany?: BulkJobUpdateManyWithWhereWithoutUserInput | BulkJobUpdateManyWithWhereWithoutUserInput[] deleteMany?: BulkJobScalarWhereInput | BulkJobScalarWhereInput[] } export type OrgMembershipCreateNestedManyWithoutOrganizationInput = { create?: XOR | OrgMembershipCreateWithoutOrganizationInput[] | OrgMembershipUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: OrgMembershipCreateOrConnectWithoutOrganizationInput | OrgMembershipCreateOrConnectWithoutOrganizationInput[] createMany?: OrgMembershipCreateManyOrganizationInputEnvelope connect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] } export type ProjectCreateNestedManyWithoutOrganizationInput = { create?: XOR | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[] createMany?: ProjectCreateManyOrganizationInputEnvelope connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] } export type ApiKeyCreateNestedManyWithoutOrganizationInput = { create?: XOR | ApiKeyCreateWithoutOrganizationInput[] | ApiKeyUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutOrganizationInput | ApiKeyCreateOrConnectWithoutOrganizationInput[] createMany?: ApiKeyCreateManyOrganizationInputEnvelope connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] } export type AuditLogCreateNestedManyWithoutOrganizationInput = { create?: XOR | AuditLogCreateWithoutOrganizationInput[] | AuditLogUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: AuditLogCreateOrConnectWithoutOrganizationInput | AuditLogCreateOrConnectWithoutOrganizationInput[] createMany?: AuditLogCreateManyOrganizationInputEnvelope connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] } export type BulkJobCreateNestedManyWithoutOrganizationInput = { create?: XOR | BulkJobCreateWithoutOrganizationInput[] | BulkJobUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: BulkJobCreateOrConnectWithoutOrganizationInput | BulkJobCreateOrConnectWithoutOrganizationInput[] createMany?: BulkJobCreateManyOrganizationInputEnvelope connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] } export type OrgMembershipUncheckedCreateNestedManyWithoutOrganizationInput = { create?: XOR | OrgMembershipCreateWithoutOrganizationInput[] | OrgMembershipUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: OrgMembershipCreateOrConnectWithoutOrganizationInput | OrgMembershipCreateOrConnectWithoutOrganizationInput[] createMany?: OrgMembershipCreateManyOrganizationInputEnvelope connect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] } export type ProjectUncheckedCreateNestedManyWithoutOrganizationInput = { create?: XOR | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[] createMany?: ProjectCreateManyOrganizationInputEnvelope connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] } export type ApiKeyUncheckedCreateNestedManyWithoutOrganizationInput = { create?: XOR | ApiKeyCreateWithoutOrganizationInput[] | ApiKeyUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutOrganizationInput | ApiKeyCreateOrConnectWithoutOrganizationInput[] createMany?: ApiKeyCreateManyOrganizationInputEnvelope connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] } export type AuditLogUncheckedCreateNestedManyWithoutOrganizationInput = { create?: XOR | AuditLogCreateWithoutOrganizationInput[] | AuditLogUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: AuditLogCreateOrConnectWithoutOrganizationInput | AuditLogCreateOrConnectWithoutOrganizationInput[] createMany?: AuditLogCreateManyOrganizationInputEnvelope connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] } export type BulkJobUncheckedCreateNestedManyWithoutOrganizationInput = { create?: XOR | BulkJobCreateWithoutOrganizationInput[] | BulkJobUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: BulkJobCreateOrConnectWithoutOrganizationInput | BulkJobCreateOrConnectWithoutOrganizationInput[] createMany?: BulkJobCreateManyOrganizationInputEnvelope connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] } export type OrgMembershipUpdateManyWithoutOrganizationNestedInput = { create?: XOR | OrgMembershipCreateWithoutOrganizationInput[] | OrgMembershipUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: OrgMembershipCreateOrConnectWithoutOrganizationInput | OrgMembershipCreateOrConnectWithoutOrganizationInput[] upsert?: OrgMembershipUpsertWithWhereUniqueWithoutOrganizationInput | OrgMembershipUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: OrgMembershipCreateManyOrganizationInputEnvelope set?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] disconnect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] delete?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] connect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] update?: OrgMembershipUpdateWithWhereUniqueWithoutOrganizationInput | OrgMembershipUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: OrgMembershipUpdateManyWithWhereWithoutOrganizationInput | OrgMembershipUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: OrgMembershipScalarWhereInput | OrgMembershipScalarWhereInput[] } export type ProjectUpdateManyWithoutOrganizationNestedInput = { create?: XOR | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[] upsert?: ProjectUpsertWithWhereUniqueWithoutOrganizationInput | ProjectUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: ProjectCreateManyOrganizationInputEnvelope set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] update?: ProjectUpdateWithWhereUniqueWithoutOrganizationInput | ProjectUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: ProjectUpdateManyWithWhereWithoutOrganizationInput | ProjectUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] } export type ApiKeyUpdateManyWithoutOrganizationNestedInput = { create?: XOR | ApiKeyCreateWithoutOrganizationInput[] | ApiKeyUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutOrganizationInput | ApiKeyCreateOrConnectWithoutOrganizationInput[] upsert?: ApiKeyUpsertWithWhereUniqueWithoutOrganizationInput | ApiKeyUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: ApiKeyCreateManyOrganizationInputEnvelope set?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] disconnect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] delete?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] update?: ApiKeyUpdateWithWhereUniqueWithoutOrganizationInput | ApiKeyUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: ApiKeyUpdateManyWithWhereWithoutOrganizationInput | ApiKeyUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: ApiKeyScalarWhereInput | ApiKeyScalarWhereInput[] } export type AuditLogUpdateManyWithoutOrganizationNestedInput = { create?: XOR | AuditLogCreateWithoutOrganizationInput[] | AuditLogUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: AuditLogCreateOrConnectWithoutOrganizationInput | AuditLogCreateOrConnectWithoutOrganizationInput[] upsert?: AuditLogUpsertWithWhereUniqueWithoutOrganizationInput | AuditLogUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: AuditLogCreateManyOrganizationInputEnvelope set?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] disconnect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] delete?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] update?: AuditLogUpdateWithWhereUniqueWithoutOrganizationInput | AuditLogUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: AuditLogUpdateManyWithWhereWithoutOrganizationInput | AuditLogUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: AuditLogScalarWhereInput | AuditLogScalarWhereInput[] } export type BulkJobUpdateManyWithoutOrganizationNestedInput = { create?: XOR | BulkJobCreateWithoutOrganizationInput[] | BulkJobUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: BulkJobCreateOrConnectWithoutOrganizationInput | BulkJobCreateOrConnectWithoutOrganizationInput[] upsert?: BulkJobUpsertWithWhereUniqueWithoutOrganizationInput | BulkJobUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: BulkJobCreateManyOrganizationInputEnvelope set?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] disconnect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] delete?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] update?: BulkJobUpdateWithWhereUniqueWithoutOrganizationInput | BulkJobUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: BulkJobUpdateManyWithWhereWithoutOrganizationInput | BulkJobUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: BulkJobScalarWhereInput | BulkJobScalarWhereInput[] } export type OrgMembershipUncheckedUpdateManyWithoutOrganizationNestedInput = { create?: XOR | OrgMembershipCreateWithoutOrganizationInput[] | OrgMembershipUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: OrgMembershipCreateOrConnectWithoutOrganizationInput | OrgMembershipCreateOrConnectWithoutOrganizationInput[] upsert?: OrgMembershipUpsertWithWhereUniqueWithoutOrganizationInput | OrgMembershipUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: OrgMembershipCreateManyOrganizationInputEnvelope set?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] disconnect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] delete?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] connect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[] update?: OrgMembershipUpdateWithWhereUniqueWithoutOrganizationInput | OrgMembershipUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: OrgMembershipUpdateManyWithWhereWithoutOrganizationInput | OrgMembershipUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: OrgMembershipScalarWhereInput | OrgMembershipScalarWhereInput[] } export type ProjectUncheckedUpdateManyWithoutOrganizationNestedInput = { create?: XOR | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[] upsert?: ProjectUpsertWithWhereUniqueWithoutOrganizationInput | ProjectUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: ProjectCreateManyOrganizationInputEnvelope set?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] disconnect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] delete?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[] update?: ProjectUpdateWithWhereUniqueWithoutOrganizationInput | ProjectUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: ProjectUpdateManyWithWhereWithoutOrganizationInput | ProjectUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: ProjectScalarWhereInput | ProjectScalarWhereInput[] } export type ApiKeyUncheckedUpdateManyWithoutOrganizationNestedInput = { create?: XOR | ApiKeyCreateWithoutOrganizationInput[] | ApiKeyUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutOrganizationInput | ApiKeyCreateOrConnectWithoutOrganizationInput[] upsert?: ApiKeyUpsertWithWhereUniqueWithoutOrganizationInput | ApiKeyUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: ApiKeyCreateManyOrganizationInputEnvelope set?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] disconnect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] delete?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] update?: ApiKeyUpdateWithWhereUniqueWithoutOrganizationInput | ApiKeyUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: ApiKeyUpdateManyWithWhereWithoutOrganizationInput | ApiKeyUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: ApiKeyScalarWhereInput | ApiKeyScalarWhereInput[] } export type AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput = { create?: XOR | AuditLogCreateWithoutOrganizationInput[] | AuditLogUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: AuditLogCreateOrConnectWithoutOrganizationInput | AuditLogCreateOrConnectWithoutOrganizationInput[] upsert?: AuditLogUpsertWithWhereUniqueWithoutOrganizationInput | AuditLogUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: AuditLogCreateManyOrganizationInputEnvelope set?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] disconnect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] delete?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[] update?: AuditLogUpdateWithWhereUniqueWithoutOrganizationInput | AuditLogUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: AuditLogUpdateManyWithWhereWithoutOrganizationInput | AuditLogUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: AuditLogScalarWhereInput | AuditLogScalarWhereInput[] } export type BulkJobUncheckedUpdateManyWithoutOrganizationNestedInput = { create?: XOR | BulkJobCreateWithoutOrganizationInput[] | BulkJobUncheckedCreateWithoutOrganizationInput[] connectOrCreate?: BulkJobCreateOrConnectWithoutOrganizationInput | BulkJobCreateOrConnectWithoutOrganizationInput[] upsert?: BulkJobUpsertWithWhereUniqueWithoutOrganizationInput | BulkJobUpsertWithWhereUniqueWithoutOrganizationInput[] createMany?: BulkJobCreateManyOrganizationInputEnvelope set?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] disconnect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] delete?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] update?: BulkJobUpdateWithWhereUniqueWithoutOrganizationInput | BulkJobUpdateWithWhereUniqueWithoutOrganizationInput[] updateMany?: BulkJobUpdateManyWithWhereWithoutOrganizationInput | BulkJobUpdateManyWithWhereWithoutOrganizationInput[] deleteMany?: BulkJobScalarWhereInput | BulkJobScalarWhereInput[] } export type OrganizationCreateNestedOneWithoutMembershipsInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutMembershipsInput connect?: OrganizationWhereUniqueInput } export type UserCreateNestedOneWithoutMembershipsInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutMembershipsInput connect?: UserWhereUniqueInput } export type EnumRoleFieldUpdateOperationsInput = { set?: $Enums.Role } export type OrganizationUpdateOneRequiredWithoutMembershipsNestedInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutMembershipsInput upsert?: OrganizationUpsertWithoutMembershipsInput connect?: OrganizationWhereUniqueInput update?: XOR, OrganizationUncheckedUpdateWithoutMembershipsInput> } export type UserUpdateOneRequiredWithoutMembershipsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutMembershipsInput upsert?: UserUpsertWithoutMembershipsInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutMembershipsInput> } export type OrganizationCreateNestedOneWithoutProjectsInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutProjectsInput connect?: OrganizationWhereUniqueInput } export type CheckCreateNestedManyWithoutProjectInput = { create?: XOR | CheckCreateWithoutProjectInput[] | CheckUncheckedCreateWithoutProjectInput[] connectOrCreate?: CheckCreateOrConnectWithoutProjectInput | CheckCreateOrConnectWithoutProjectInput[] createMany?: CheckCreateManyProjectInputEnvelope connect?: CheckWhereUniqueInput | CheckWhereUniqueInput[] } export type BulkJobCreateNestedManyWithoutProjectInput = { create?: XOR | BulkJobCreateWithoutProjectInput[] | BulkJobUncheckedCreateWithoutProjectInput[] connectOrCreate?: BulkJobCreateOrConnectWithoutProjectInput | BulkJobCreateOrConnectWithoutProjectInput[] createMany?: BulkJobCreateManyProjectInputEnvelope connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] } export type CheckUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | CheckCreateWithoutProjectInput[] | CheckUncheckedCreateWithoutProjectInput[] connectOrCreate?: CheckCreateOrConnectWithoutProjectInput | CheckCreateOrConnectWithoutProjectInput[] createMany?: CheckCreateManyProjectInputEnvelope connect?: CheckWhereUniqueInput | CheckWhereUniqueInput[] } export type BulkJobUncheckedCreateNestedManyWithoutProjectInput = { create?: XOR | BulkJobCreateWithoutProjectInput[] | BulkJobUncheckedCreateWithoutProjectInput[] connectOrCreate?: BulkJobCreateOrConnectWithoutProjectInput | BulkJobCreateOrConnectWithoutProjectInput[] createMany?: BulkJobCreateManyProjectInputEnvelope connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] } export type OrganizationUpdateOneRequiredWithoutProjectsNestedInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutProjectsInput upsert?: OrganizationUpsertWithoutProjectsInput connect?: OrganizationWhereUniqueInput update?: XOR, OrganizationUncheckedUpdateWithoutProjectsInput> } export type CheckUpdateManyWithoutProjectNestedInput = { create?: XOR | CheckCreateWithoutProjectInput[] | CheckUncheckedCreateWithoutProjectInput[] connectOrCreate?: CheckCreateOrConnectWithoutProjectInput | CheckCreateOrConnectWithoutProjectInput[] upsert?: CheckUpsertWithWhereUniqueWithoutProjectInput | CheckUpsertWithWhereUniqueWithoutProjectInput[] createMany?: CheckCreateManyProjectInputEnvelope set?: CheckWhereUniqueInput | CheckWhereUniqueInput[] disconnect?: CheckWhereUniqueInput | CheckWhereUniqueInput[] delete?: CheckWhereUniqueInput | CheckWhereUniqueInput[] connect?: CheckWhereUniqueInput | CheckWhereUniqueInput[] update?: CheckUpdateWithWhereUniqueWithoutProjectInput | CheckUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: CheckUpdateManyWithWhereWithoutProjectInput | CheckUpdateManyWithWhereWithoutProjectInput[] deleteMany?: CheckScalarWhereInput | CheckScalarWhereInput[] } export type BulkJobUpdateManyWithoutProjectNestedInput = { create?: XOR | BulkJobCreateWithoutProjectInput[] | BulkJobUncheckedCreateWithoutProjectInput[] connectOrCreate?: BulkJobCreateOrConnectWithoutProjectInput | BulkJobCreateOrConnectWithoutProjectInput[] upsert?: BulkJobUpsertWithWhereUniqueWithoutProjectInput | BulkJobUpsertWithWhereUniqueWithoutProjectInput[] createMany?: BulkJobCreateManyProjectInputEnvelope set?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] disconnect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] delete?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] update?: BulkJobUpdateWithWhereUniqueWithoutProjectInput | BulkJobUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: BulkJobUpdateManyWithWhereWithoutProjectInput | BulkJobUpdateManyWithWhereWithoutProjectInput[] deleteMany?: BulkJobScalarWhereInput | BulkJobScalarWhereInput[] } export type CheckUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | CheckCreateWithoutProjectInput[] | CheckUncheckedCreateWithoutProjectInput[] connectOrCreate?: CheckCreateOrConnectWithoutProjectInput | CheckCreateOrConnectWithoutProjectInput[] upsert?: CheckUpsertWithWhereUniqueWithoutProjectInput | CheckUpsertWithWhereUniqueWithoutProjectInput[] createMany?: CheckCreateManyProjectInputEnvelope set?: CheckWhereUniqueInput | CheckWhereUniqueInput[] disconnect?: CheckWhereUniqueInput | CheckWhereUniqueInput[] delete?: CheckWhereUniqueInput | CheckWhereUniqueInput[] connect?: CheckWhereUniqueInput | CheckWhereUniqueInput[] update?: CheckUpdateWithWhereUniqueWithoutProjectInput | CheckUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: CheckUpdateManyWithWhereWithoutProjectInput | CheckUpdateManyWithWhereWithoutProjectInput[] deleteMany?: CheckScalarWhereInput | CheckScalarWhereInput[] } export type BulkJobUncheckedUpdateManyWithoutProjectNestedInput = { create?: XOR | BulkJobCreateWithoutProjectInput[] | BulkJobUncheckedCreateWithoutProjectInput[] connectOrCreate?: BulkJobCreateOrConnectWithoutProjectInput | BulkJobCreateOrConnectWithoutProjectInput[] upsert?: BulkJobUpsertWithWhereUniqueWithoutProjectInput | BulkJobUpsertWithWhereUniqueWithoutProjectInput[] createMany?: BulkJobCreateManyProjectInputEnvelope set?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] disconnect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] delete?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[] update?: BulkJobUpdateWithWhereUniqueWithoutProjectInput | BulkJobUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: BulkJobUpdateManyWithWhereWithoutProjectInput | BulkJobUpdateManyWithWhereWithoutProjectInput[] deleteMany?: BulkJobScalarWhereInput | BulkJobScalarWhereInput[] } export type ProjectCreateNestedOneWithoutChecksInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutChecksInput connect?: ProjectWhereUniqueInput } export type HopCreateNestedManyWithoutCheckInput = { create?: XOR | HopCreateWithoutCheckInput[] | HopUncheckedCreateWithoutCheckInput[] connectOrCreate?: HopCreateOrConnectWithoutCheckInput | HopCreateOrConnectWithoutCheckInput[] createMany?: HopCreateManyCheckInputEnvelope connect?: HopWhereUniqueInput | HopWhereUniqueInput[] } export type SslInspectionCreateNestedManyWithoutCheckInput = { create?: XOR | SslInspectionCreateWithoutCheckInput[] | SslInspectionUncheckedCreateWithoutCheckInput[] connectOrCreate?: SslInspectionCreateOrConnectWithoutCheckInput | SslInspectionCreateOrConnectWithoutCheckInput[] createMany?: SslInspectionCreateManyCheckInputEnvelope connect?: SslInspectionWhereUniqueInput | SslInspectionWhereUniqueInput[] } export type SeoFlagsCreateNestedOneWithoutCheckInput = { create?: XOR connectOrCreate?: SeoFlagsCreateOrConnectWithoutCheckInput connect?: SeoFlagsWhereUniqueInput } export type SecurityFlagsCreateNestedOneWithoutCheckInput = { create?: XOR connectOrCreate?: SecurityFlagsCreateOrConnectWithoutCheckInput connect?: SecurityFlagsWhereUniqueInput } export type ReportCreateNestedManyWithoutCheckInput = { create?: XOR | ReportCreateWithoutCheckInput[] | ReportUncheckedCreateWithoutCheckInput[] connectOrCreate?: ReportCreateOrConnectWithoutCheckInput | ReportCreateOrConnectWithoutCheckInput[] createMany?: ReportCreateManyCheckInputEnvelope connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } export type HopUncheckedCreateNestedManyWithoutCheckInput = { create?: XOR | HopCreateWithoutCheckInput[] | HopUncheckedCreateWithoutCheckInput[] connectOrCreate?: HopCreateOrConnectWithoutCheckInput | HopCreateOrConnectWithoutCheckInput[] createMany?: HopCreateManyCheckInputEnvelope connect?: HopWhereUniqueInput | HopWhereUniqueInput[] } export type SslInspectionUncheckedCreateNestedManyWithoutCheckInput = { create?: XOR | SslInspectionCreateWithoutCheckInput[] | SslInspectionUncheckedCreateWithoutCheckInput[] connectOrCreate?: SslInspectionCreateOrConnectWithoutCheckInput | SslInspectionCreateOrConnectWithoutCheckInput[] createMany?: SslInspectionCreateManyCheckInputEnvelope connect?: SslInspectionWhereUniqueInput | SslInspectionWhereUniqueInput[] } export type SeoFlagsUncheckedCreateNestedOneWithoutCheckInput = { create?: XOR connectOrCreate?: SeoFlagsCreateOrConnectWithoutCheckInput connect?: SeoFlagsWhereUniqueInput } export type SecurityFlagsUncheckedCreateNestedOneWithoutCheckInput = { create?: XOR connectOrCreate?: SecurityFlagsCreateOrConnectWithoutCheckInput connect?: SecurityFlagsWhereUniqueInput } export type ReportUncheckedCreateNestedManyWithoutCheckInput = { create?: XOR | ReportCreateWithoutCheckInput[] | ReportUncheckedCreateWithoutCheckInput[] connectOrCreate?: ReportCreateOrConnectWithoutCheckInput | ReportCreateOrConnectWithoutCheckInput[] createMany?: ReportCreateManyCheckInputEnvelope connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] } export type NullableStringFieldUpdateOperationsInput = { set?: string | null } export type EnumCheckStatusFieldUpdateOperationsInput = { set?: $Enums.CheckStatus } export type NullableIntFieldUpdateOperationsInput = { set?: number | null increment?: number decrement?: number multiply?: number divide?: number } export type ProjectUpdateOneRequiredWithoutChecksNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutChecksInput upsert?: ProjectUpsertWithoutChecksInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutChecksInput> } export type HopUpdateManyWithoutCheckNestedInput = { create?: XOR | HopCreateWithoutCheckInput[] | HopUncheckedCreateWithoutCheckInput[] connectOrCreate?: HopCreateOrConnectWithoutCheckInput | HopCreateOrConnectWithoutCheckInput[] upsert?: HopUpsertWithWhereUniqueWithoutCheckInput | HopUpsertWithWhereUniqueWithoutCheckInput[] createMany?: HopCreateManyCheckInputEnvelope set?: HopWhereUniqueInput | HopWhereUniqueInput[] disconnect?: HopWhereUniqueInput | HopWhereUniqueInput[] delete?: HopWhereUniqueInput | HopWhereUniqueInput[] connect?: HopWhereUniqueInput | HopWhereUniqueInput[] update?: HopUpdateWithWhereUniqueWithoutCheckInput | HopUpdateWithWhereUniqueWithoutCheckInput[] updateMany?: HopUpdateManyWithWhereWithoutCheckInput | HopUpdateManyWithWhereWithoutCheckInput[] deleteMany?: HopScalarWhereInput | HopScalarWhereInput[] } export type SslInspectionUpdateManyWithoutCheckNestedInput = { create?: XOR | SslInspectionCreateWithoutCheckInput[] | SslInspectionUncheckedCreateWithoutCheckInput[] connectOrCreate?: SslInspectionCreateOrConnectWithoutCheckInput | SslInspectionCreateOrConnectWithoutCheckInput[] upsert?: SslInspectionUpsertWithWhereUniqueWithoutCheckInput | SslInspectionUpsertWithWhereUniqueWithoutCheckInput[] createMany?: SslInspectionCreateManyCheckInputEnvelope set?: SslInspectionWhereUniqueInput | SslInspectionWhereUniqueInput[] disconnect?: SslInspectionWhereUniqueInput | SslInspectionWhereUniqueInput[] delete?: SslInspectionWhereUniqueInput | SslInspectionWhereUniqueInput[] connect?: SslInspectionWhereUniqueInput | SslInspectionWhereUniqueInput[] update?: SslInspectionUpdateWithWhereUniqueWithoutCheckInput | SslInspectionUpdateWithWhereUniqueWithoutCheckInput[] updateMany?: SslInspectionUpdateManyWithWhereWithoutCheckInput | SslInspectionUpdateManyWithWhereWithoutCheckInput[] deleteMany?: SslInspectionScalarWhereInput | SslInspectionScalarWhereInput[] } export type SeoFlagsUpdateOneWithoutCheckNestedInput = { create?: XOR connectOrCreate?: SeoFlagsCreateOrConnectWithoutCheckInput upsert?: SeoFlagsUpsertWithoutCheckInput disconnect?: SeoFlagsWhereInput | boolean delete?: SeoFlagsWhereInput | boolean connect?: SeoFlagsWhereUniqueInput update?: XOR, SeoFlagsUncheckedUpdateWithoutCheckInput> } export type SecurityFlagsUpdateOneWithoutCheckNestedInput = { create?: XOR connectOrCreate?: SecurityFlagsCreateOrConnectWithoutCheckInput upsert?: SecurityFlagsUpsertWithoutCheckInput disconnect?: SecurityFlagsWhereInput | boolean delete?: SecurityFlagsWhereInput | boolean connect?: SecurityFlagsWhereUniqueInput update?: XOR, SecurityFlagsUncheckedUpdateWithoutCheckInput> } export type ReportUpdateManyWithoutCheckNestedInput = { create?: XOR | ReportCreateWithoutCheckInput[] | ReportUncheckedCreateWithoutCheckInput[] connectOrCreate?: ReportCreateOrConnectWithoutCheckInput | ReportCreateOrConnectWithoutCheckInput[] upsert?: ReportUpsertWithWhereUniqueWithoutCheckInput | ReportUpsertWithWhereUniqueWithoutCheckInput[] createMany?: ReportCreateManyCheckInputEnvelope set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] update?: ReportUpdateWithWhereUniqueWithoutCheckInput | ReportUpdateWithWhereUniqueWithoutCheckInput[] updateMany?: ReportUpdateManyWithWhereWithoutCheckInput | ReportUpdateManyWithWhereWithoutCheckInput[] deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } export type HopUncheckedUpdateManyWithoutCheckNestedInput = { create?: XOR | HopCreateWithoutCheckInput[] | HopUncheckedCreateWithoutCheckInput[] connectOrCreate?: HopCreateOrConnectWithoutCheckInput | HopCreateOrConnectWithoutCheckInput[] upsert?: HopUpsertWithWhereUniqueWithoutCheckInput | HopUpsertWithWhereUniqueWithoutCheckInput[] createMany?: HopCreateManyCheckInputEnvelope set?: HopWhereUniqueInput | HopWhereUniqueInput[] disconnect?: HopWhereUniqueInput | HopWhereUniqueInput[] delete?: HopWhereUniqueInput | HopWhereUniqueInput[] connect?: HopWhereUniqueInput | HopWhereUniqueInput[] update?: HopUpdateWithWhereUniqueWithoutCheckInput | HopUpdateWithWhereUniqueWithoutCheckInput[] updateMany?: HopUpdateManyWithWhereWithoutCheckInput | HopUpdateManyWithWhereWithoutCheckInput[] deleteMany?: HopScalarWhereInput | HopScalarWhereInput[] } export type SslInspectionUncheckedUpdateManyWithoutCheckNestedInput = { create?: XOR | SslInspectionCreateWithoutCheckInput[] | SslInspectionUncheckedCreateWithoutCheckInput[] connectOrCreate?: SslInspectionCreateOrConnectWithoutCheckInput | SslInspectionCreateOrConnectWithoutCheckInput[] upsert?: SslInspectionUpsertWithWhereUniqueWithoutCheckInput | SslInspectionUpsertWithWhereUniqueWithoutCheckInput[] createMany?: SslInspectionCreateManyCheckInputEnvelope set?: SslInspectionWhereUniqueInput | SslInspectionWhereUniqueInput[] disconnect?: SslInspectionWhereUniqueInput | SslInspectionWhereUniqueInput[] delete?: SslInspectionWhereUniqueInput | SslInspectionWhereUniqueInput[] connect?: SslInspectionWhereUniqueInput | SslInspectionWhereUniqueInput[] update?: SslInspectionUpdateWithWhereUniqueWithoutCheckInput | SslInspectionUpdateWithWhereUniqueWithoutCheckInput[] updateMany?: SslInspectionUpdateManyWithWhereWithoutCheckInput | SslInspectionUpdateManyWithWhereWithoutCheckInput[] deleteMany?: SslInspectionScalarWhereInput | SslInspectionScalarWhereInput[] } export type SeoFlagsUncheckedUpdateOneWithoutCheckNestedInput = { create?: XOR connectOrCreate?: SeoFlagsCreateOrConnectWithoutCheckInput upsert?: SeoFlagsUpsertWithoutCheckInput disconnect?: SeoFlagsWhereInput | boolean delete?: SeoFlagsWhereInput | boolean connect?: SeoFlagsWhereUniqueInput update?: XOR, SeoFlagsUncheckedUpdateWithoutCheckInput> } export type SecurityFlagsUncheckedUpdateOneWithoutCheckNestedInput = { create?: XOR connectOrCreate?: SecurityFlagsCreateOrConnectWithoutCheckInput upsert?: SecurityFlagsUpsertWithoutCheckInput disconnect?: SecurityFlagsWhereInput | boolean delete?: SecurityFlagsWhereInput | boolean connect?: SecurityFlagsWhereUniqueInput update?: XOR, SecurityFlagsUncheckedUpdateWithoutCheckInput> } export type ReportUncheckedUpdateManyWithoutCheckNestedInput = { create?: XOR | ReportCreateWithoutCheckInput[] | ReportUncheckedCreateWithoutCheckInput[] connectOrCreate?: ReportCreateOrConnectWithoutCheckInput | ReportCreateOrConnectWithoutCheckInput[] upsert?: ReportUpsertWithWhereUniqueWithoutCheckInput | ReportUpsertWithWhereUniqueWithoutCheckInput[] createMany?: ReportCreateManyCheckInputEnvelope set?: ReportWhereUniqueInput | ReportWhereUniqueInput[] disconnect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] delete?: ReportWhereUniqueInput | ReportWhereUniqueInput[] connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[] update?: ReportUpdateWithWhereUniqueWithoutCheckInput | ReportUpdateWithWhereUniqueWithoutCheckInput[] updateMany?: ReportUpdateManyWithWhereWithoutCheckInput | ReportUpdateManyWithWhereWithoutCheckInput[] deleteMany?: ReportScalarWhereInput | ReportScalarWhereInput[] } export type CheckCreateNestedOneWithoutHopsInput = { create?: XOR connectOrCreate?: CheckCreateOrConnectWithoutHopsInput connect?: CheckWhereUniqueInput } export type IntFieldUpdateOperationsInput = { set?: number increment?: number decrement?: number multiply?: number divide?: number } export type EnumRedirectTypeFieldUpdateOperationsInput = { set?: $Enums.RedirectType } export type CheckUpdateOneRequiredWithoutHopsNestedInput = { create?: XOR connectOrCreate?: CheckCreateOrConnectWithoutHopsInput upsert?: CheckUpsertWithoutHopsInput connect?: CheckWhereUniqueInput update?: XOR, CheckUncheckedUpdateWithoutHopsInput> } export type CheckCreateNestedOneWithoutSslInspectionsInput = { create?: XOR connectOrCreate?: CheckCreateOrConnectWithoutSslInspectionsInput connect?: CheckWhereUniqueInput } export type CheckUpdateOneRequiredWithoutSslInspectionsNestedInput = { create?: XOR connectOrCreate?: CheckCreateOrConnectWithoutSslInspectionsInput upsert?: CheckUpsertWithoutSslInspectionsInput connect?: CheckWhereUniqueInput update?: XOR, CheckUncheckedUpdateWithoutSslInspectionsInput> } export type CheckCreateNestedOneWithoutSeoFlagsInput = { create?: XOR connectOrCreate?: CheckCreateOrConnectWithoutSeoFlagsInput connect?: CheckWhereUniqueInput } export type BoolFieldUpdateOperationsInput = { set?: boolean } export type CheckUpdateOneRequiredWithoutSeoFlagsNestedInput = { create?: XOR connectOrCreate?: CheckCreateOrConnectWithoutSeoFlagsInput upsert?: CheckUpsertWithoutSeoFlagsInput connect?: CheckWhereUniqueInput update?: XOR, CheckUncheckedUpdateWithoutSeoFlagsInput> } export type CheckCreateNestedOneWithoutSecurityFlagsInput = { create?: XOR connectOrCreate?: CheckCreateOrConnectWithoutSecurityFlagsInput connect?: CheckWhereUniqueInput } export type EnumMixedContentFieldUpdateOperationsInput = { set?: $Enums.MixedContent } export type CheckUpdateOneRequiredWithoutSecurityFlagsNestedInput = { create?: XOR connectOrCreate?: CheckCreateOrConnectWithoutSecurityFlagsInput upsert?: CheckUpsertWithoutSecurityFlagsInput connect?: CheckWhereUniqueInput update?: XOR, CheckUncheckedUpdateWithoutSecurityFlagsInput> } export type CheckCreateNestedOneWithoutReportsInput = { create?: XOR connectOrCreate?: CheckCreateOrConnectWithoutReportsInput connect?: CheckWhereUniqueInput } export type CheckUpdateOneRequiredWithoutReportsNestedInput = { create?: XOR connectOrCreate?: CheckCreateOrConnectWithoutReportsInput upsert?: CheckUpsertWithoutReportsInput connect?: CheckWhereUniqueInput update?: XOR, CheckUncheckedUpdateWithoutReportsInput> } export type UserCreateNestedOneWithoutBulkJobsInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutBulkJobsInput connect?: UserWhereUniqueInput } export type OrganizationCreateNestedOneWithoutBulkJobsInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutBulkJobsInput connect?: OrganizationWhereUniqueInput } export type ProjectCreateNestedOneWithoutBulkJobsInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutBulkJobsInput connect?: ProjectWhereUniqueInput } export type EnumJobStatusFieldUpdateOperationsInput = { set?: $Enums.JobStatus } export type UserUpdateOneRequiredWithoutBulkJobsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutBulkJobsInput upsert?: UserUpsertWithoutBulkJobsInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutBulkJobsInput> } export type OrganizationUpdateOneWithoutBulkJobsNestedInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutBulkJobsInput upsert?: OrganizationUpsertWithoutBulkJobsInput disconnect?: OrganizationWhereInput | boolean delete?: OrganizationWhereInput | boolean connect?: OrganizationWhereUniqueInput update?: XOR, OrganizationUncheckedUpdateWithoutBulkJobsInput> } export type ProjectUpdateOneRequiredWithoutBulkJobsNestedInput = { create?: XOR connectOrCreate?: ProjectCreateOrConnectWithoutBulkJobsInput upsert?: ProjectUpsertWithoutBulkJobsInput connect?: ProjectWhereUniqueInput update?: XOR, ProjectUncheckedUpdateWithoutBulkJobsInput> } export type OrganizationCreateNestedOneWithoutApiKeysInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutApiKeysInput connect?: OrganizationWhereUniqueInput } export type OrganizationUpdateOneRequiredWithoutApiKeysNestedInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutApiKeysInput upsert?: OrganizationUpsertWithoutApiKeysInput connect?: OrganizationWhereUniqueInput update?: XOR, OrganizationUncheckedUpdateWithoutApiKeysInput> } export type OrganizationCreateNestedOneWithoutAuditLogsInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutAuditLogsInput connect?: OrganizationWhereUniqueInput } export type UserCreateNestedOneWithoutAuditLogsInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAuditLogsInput connect?: UserWhereUniqueInput } export type OrganizationUpdateOneRequiredWithoutAuditLogsNestedInput = { create?: XOR connectOrCreate?: OrganizationCreateOrConnectWithoutAuditLogsInput upsert?: OrganizationUpsertWithoutAuditLogsInput connect?: OrganizationWhereUniqueInput update?: XOR, OrganizationUncheckedUpdateWithoutAuditLogsInput> } export type UserUpdateOneWithoutAuditLogsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAuditLogsInput upsert?: UserUpsertWithoutAuditLogsInput disconnect?: UserWhereInput | boolean delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutAuditLogsInput> } 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 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 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 NestedStringWithAggregatesFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> in?: string[] | ListStringFieldRefInput<$PrismaModel> notIn?: string[] | ListStringFieldRefInput<$PrismaModel> lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> not?: NestedStringWithAggregatesFilter<$PrismaModel> | string _count?: NestedIntFilter<$PrismaModel> _min?: NestedStringFilter<$PrismaModel> _max?: NestedStringFilter<$PrismaModel> } export type NestedIntFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> in?: number[] | ListIntFieldRefInput<$PrismaModel> notIn?: number[] | ListIntFieldRefInput<$PrismaModel> lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntFilter<$PrismaModel> | number } export type 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 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 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 NestedEnumRoleFilter<$PrismaModel = never> = { equals?: $Enums.Role | EnumRoleFieldRefInput<$PrismaModel> in?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> notIn?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> not?: NestedEnumRoleFilter<$PrismaModel> | $Enums.Role } export type NestedEnumRoleWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.Role | EnumRoleFieldRefInput<$PrismaModel> in?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> notIn?: $Enums.Role[] | ListEnumRoleFieldRefInput<$PrismaModel> not?: NestedEnumRoleWithAggregatesFilter<$PrismaModel> | $Enums.Role _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumRoleFilter<$PrismaModel> _max?: NestedEnumRoleFilter<$PrismaModel> } export type NestedJsonFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type NestedJsonFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } export type 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 NestedEnumCheckStatusFilter<$PrismaModel = never> = { equals?: $Enums.CheckStatus | EnumCheckStatusFieldRefInput<$PrismaModel> in?: $Enums.CheckStatus[] | ListEnumCheckStatusFieldRefInput<$PrismaModel> notIn?: $Enums.CheckStatus[] | ListEnumCheckStatusFieldRefInput<$PrismaModel> not?: NestedEnumCheckStatusFilter<$PrismaModel> | $Enums.CheckStatus } 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 NestedEnumCheckStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.CheckStatus | EnumCheckStatusFieldRefInput<$PrismaModel> in?: $Enums.CheckStatus[] | ListEnumCheckStatusFieldRefInput<$PrismaModel> notIn?: $Enums.CheckStatus[] | ListEnumCheckStatusFieldRefInput<$PrismaModel> not?: NestedEnumCheckStatusWithAggregatesFilter<$PrismaModel> | $Enums.CheckStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumCheckStatusFilter<$PrismaModel> _max?: NestedEnumCheckStatusFilter<$PrismaModel> } export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> | null in?: number[] | ListIntFieldRefInput<$PrismaModel> | null notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedIntNullableFilter<$PrismaModel> _min?: NestedIntNullableFilter<$PrismaModel> _max?: NestedIntNullableFilter<$PrismaModel> } export type NestedFloatNullableFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> | null in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null lt?: number | FloatFieldRefInput<$PrismaModel> lte?: number | FloatFieldRefInput<$PrismaModel> gt?: number | FloatFieldRefInput<$PrismaModel> gte?: number | FloatFieldRefInput<$PrismaModel> not?: NestedFloatNullableFilter<$PrismaModel> | number | null } export type NestedEnumRedirectTypeFilter<$PrismaModel = never> = { equals?: $Enums.RedirectType | EnumRedirectTypeFieldRefInput<$PrismaModel> in?: $Enums.RedirectType[] | ListEnumRedirectTypeFieldRefInput<$PrismaModel> notIn?: $Enums.RedirectType[] | ListEnumRedirectTypeFieldRefInput<$PrismaModel> not?: NestedEnumRedirectTypeFilter<$PrismaModel> | $Enums.RedirectType } 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 NestedEnumRedirectTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.RedirectType | EnumRedirectTypeFieldRefInput<$PrismaModel> in?: $Enums.RedirectType[] | ListEnumRedirectTypeFieldRefInput<$PrismaModel> notIn?: $Enums.RedirectType[] | ListEnumRedirectTypeFieldRefInput<$PrismaModel> not?: NestedEnumRedirectTypeWithAggregatesFilter<$PrismaModel> | $Enums.RedirectType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumRedirectTypeFilter<$PrismaModel> _max?: NestedEnumRedirectTypeFilter<$PrismaModel> } export type NestedBoolFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolFilter<$PrismaModel> | boolean } export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean _count?: NestedIntFilter<$PrismaModel> _min?: NestedBoolFilter<$PrismaModel> _max?: NestedBoolFilter<$PrismaModel> } export type NestedEnumMixedContentFilter<$PrismaModel = never> = { equals?: $Enums.MixedContent | EnumMixedContentFieldRefInput<$PrismaModel> in?: $Enums.MixedContent[] | ListEnumMixedContentFieldRefInput<$PrismaModel> notIn?: $Enums.MixedContent[] | ListEnumMixedContentFieldRefInput<$PrismaModel> not?: NestedEnumMixedContentFilter<$PrismaModel> | $Enums.MixedContent } export type NestedEnumMixedContentWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.MixedContent | EnumMixedContentFieldRefInput<$PrismaModel> in?: $Enums.MixedContent[] | ListEnumMixedContentFieldRefInput<$PrismaModel> notIn?: $Enums.MixedContent[] | ListEnumMixedContentFieldRefInput<$PrismaModel> not?: NestedEnumMixedContentWithAggregatesFilter<$PrismaModel> | $Enums.MixedContent _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumMixedContentFilter<$PrismaModel> _max?: NestedEnumMixedContentFilter<$PrismaModel> } export type NestedEnumJobStatusFilter<$PrismaModel = never> = { equals?: $Enums.JobStatus | EnumJobStatusFieldRefInput<$PrismaModel> in?: $Enums.JobStatus[] | ListEnumJobStatusFieldRefInput<$PrismaModel> notIn?: $Enums.JobStatus[] | ListEnumJobStatusFieldRefInput<$PrismaModel> not?: NestedEnumJobStatusFilter<$PrismaModel> | $Enums.JobStatus } export type NestedEnumJobStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.JobStatus | EnumJobStatusFieldRefInput<$PrismaModel> in?: $Enums.JobStatus[] | ListEnumJobStatusFieldRefInput<$PrismaModel> notIn?: $Enums.JobStatus[] | ListEnumJobStatusFieldRefInput<$PrismaModel> not?: NestedEnumJobStatusWithAggregatesFilter<$PrismaModel> | $Enums.JobStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumJobStatusFilter<$PrismaModel> _max?: NestedEnumJobStatusFilter<$PrismaModel> } export type NestedJsonNullableFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type NestedJsonNullableFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } export type OrgMembershipCreateWithoutUserInput = { id?: string role: $Enums.Role organization: OrganizationCreateNestedOneWithoutMembershipsInput } export type OrgMembershipUncheckedCreateWithoutUserInput = { id?: string orgId: string role: $Enums.Role } export type OrgMembershipCreateOrConnectWithoutUserInput = { where: OrgMembershipWhereUniqueInput create: XOR } export type OrgMembershipCreateManyUserInputEnvelope = { data: OrgMembershipCreateManyUserInput | OrgMembershipCreateManyUserInput[] skipDuplicates?: boolean } export type AuditLogCreateWithoutActorInput = { id?: string action: string entity: string entityId: string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string organization: OrganizationCreateNestedOneWithoutAuditLogsInput } export type AuditLogUncheckedCreateWithoutActorInput = { id?: string orgId: string action: string entity: string entityId: string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string } export type AuditLogCreateOrConnectWithoutActorInput = { where: AuditLogWhereUniqueInput create: XOR } export type AuditLogCreateManyActorInputEnvelope = { data: AuditLogCreateManyActorInput | AuditLogCreateManyActorInput[] skipDuplicates?: boolean } export type BulkJobCreateWithoutUserInput = { id?: string uploadPath: string status: $Enums.JobStatus totalUrls?: number processedUrls?: number successfulUrls?: number failedUrls?: number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string startedAt?: Date | string | null finishedAt?: Date | string | null completedAt?: Date | string | null organization?: OrganizationCreateNestedOneWithoutBulkJobsInput project: ProjectCreateNestedOneWithoutBulkJobsInput } export type BulkJobUncheckedCreateWithoutUserInput = { id?: string organizationId?: string | null projectId: string uploadPath: string status: $Enums.JobStatus totalUrls?: number processedUrls?: number successfulUrls?: number failedUrls?: number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string startedAt?: Date | string | null finishedAt?: Date | string | null completedAt?: Date | string | null } export type BulkJobCreateOrConnectWithoutUserInput = { where: BulkJobWhereUniqueInput create: XOR } export type BulkJobCreateManyUserInputEnvelope = { data: BulkJobCreateManyUserInput | BulkJobCreateManyUserInput[] skipDuplicates?: boolean } export type OrgMembershipUpsertWithWhereUniqueWithoutUserInput = { where: OrgMembershipWhereUniqueInput update: XOR create: XOR } export type OrgMembershipUpdateWithWhereUniqueWithoutUserInput = { where: OrgMembershipWhereUniqueInput data: XOR } export type OrgMembershipUpdateManyWithWhereWithoutUserInput = { where: OrgMembershipScalarWhereInput data: XOR } export type OrgMembershipScalarWhereInput = { AND?: OrgMembershipScalarWhereInput | OrgMembershipScalarWhereInput[] OR?: OrgMembershipScalarWhereInput[] NOT?: OrgMembershipScalarWhereInput | OrgMembershipScalarWhereInput[] id?: StringFilter<"OrgMembership"> | string orgId?: StringFilter<"OrgMembership"> | string userId?: StringFilter<"OrgMembership"> | string role?: EnumRoleFilter<"OrgMembership"> | $Enums.Role } export type AuditLogUpsertWithWhereUniqueWithoutActorInput = { where: AuditLogWhereUniqueInput update: XOR create: XOR } export type AuditLogUpdateWithWhereUniqueWithoutActorInput = { where: AuditLogWhereUniqueInput data: XOR } export type AuditLogUpdateManyWithWhereWithoutActorInput = { where: AuditLogScalarWhereInput data: XOR } export type AuditLogScalarWhereInput = { AND?: AuditLogScalarWhereInput | AuditLogScalarWhereInput[] OR?: AuditLogScalarWhereInput[] NOT?: AuditLogScalarWhereInput | AuditLogScalarWhereInput[] id?: StringFilter<"AuditLog"> | string orgId?: StringFilter<"AuditLog"> | string actorUserId?: StringNullableFilter<"AuditLog"> | string | null action?: StringFilter<"AuditLog"> | string entity?: StringFilter<"AuditLog"> | string entityId?: StringFilter<"AuditLog"> | string metaJson?: JsonFilter<"AuditLog"> createdAt?: DateTimeFilter<"AuditLog"> | Date | string } export type BulkJobUpsertWithWhereUniqueWithoutUserInput = { where: BulkJobWhereUniqueInput update: XOR create: XOR } export type BulkJobUpdateWithWhereUniqueWithoutUserInput = { where: BulkJobWhereUniqueInput data: XOR } export type BulkJobUpdateManyWithWhereWithoutUserInput = { where: BulkJobScalarWhereInput data: XOR } export type BulkJobScalarWhereInput = { AND?: BulkJobScalarWhereInput | BulkJobScalarWhereInput[] OR?: BulkJobScalarWhereInput[] NOT?: BulkJobScalarWhereInput | BulkJobScalarWhereInput[] id?: StringFilter<"BulkJob"> | string userId?: StringFilter<"BulkJob"> | string organizationId?: StringNullableFilter<"BulkJob"> | string | null projectId?: StringFilter<"BulkJob"> | string uploadPath?: StringFilter<"BulkJob"> | string status?: EnumJobStatusFilter<"BulkJob"> | $Enums.JobStatus totalUrls?: IntFilter<"BulkJob"> | number processedUrls?: IntFilter<"BulkJob"> | number successfulUrls?: IntFilter<"BulkJob"> | number failedUrls?: IntFilter<"BulkJob"> | number configJson?: JsonFilter<"BulkJob"> urlsJson?: JsonNullableFilter<"BulkJob"> resultsJson?: JsonNullableFilter<"BulkJob"> progressJson?: JsonFilter<"BulkJob"> createdAt?: DateTimeFilter<"BulkJob"> | Date | string startedAt?: DateTimeNullableFilter<"BulkJob"> | Date | string | null finishedAt?: DateTimeNullableFilter<"BulkJob"> | Date | string | null completedAt?: DateTimeNullableFilter<"BulkJob"> | Date | string | null } export type OrgMembershipCreateWithoutOrganizationInput = { id?: string role: $Enums.Role user: UserCreateNestedOneWithoutMembershipsInput } export type OrgMembershipUncheckedCreateWithoutOrganizationInput = { id?: string userId: string role: $Enums.Role } export type OrgMembershipCreateOrConnectWithoutOrganizationInput = { where: OrgMembershipWhereUniqueInput create: XOR } export type OrgMembershipCreateManyOrganizationInputEnvelope = { data: OrgMembershipCreateManyOrganizationInput | OrgMembershipCreateManyOrganizationInput[] skipDuplicates?: boolean } export type ProjectCreateWithoutOrganizationInput = { id?: string name: string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string checks?: CheckCreateNestedManyWithoutProjectInput bulkJobs?: BulkJobCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutOrganizationInput = { id?: string name: string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string checks?: CheckUncheckedCreateNestedManyWithoutProjectInput bulkJobs?: BulkJobUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutOrganizationInput = { where: ProjectWhereUniqueInput create: XOR } export type ProjectCreateManyOrganizationInputEnvelope = { data: ProjectCreateManyOrganizationInput | ProjectCreateManyOrganizationInput[] skipDuplicates?: boolean } export type ApiKeyCreateWithoutOrganizationInput = { id?: string name: string tokenHash: string permsJson?: JsonNullValueInput | InputJsonValue rateLimitQuota?: number createdAt?: Date | string } export type ApiKeyUncheckedCreateWithoutOrganizationInput = { id?: string name: string tokenHash: string permsJson?: JsonNullValueInput | InputJsonValue rateLimitQuota?: number createdAt?: Date | string } export type ApiKeyCreateOrConnectWithoutOrganizationInput = { where: ApiKeyWhereUniqueInput create: XOR } export type ApiKeyCreateManyOrganizationInputEnvelope = { data: ApiKeyCreateManyOrganizationInput | ApiKeyCreateManyOrganizationInput[] skipDuplicates?: boolean } export type AuditLogCreateWithoutOrganizationInput = { id?: string action: string entity: string entityId: string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string actor?: UserCreateNestedOneWithoutAuditLogsInput } export type AuditLogUncheckedCreateWithoutOrganizationInput = { id?: string actorUserId?: string | null action: string entity: string entityId: string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string } export type AuditLogCreateOrConnectWithoutOrganizationInput = { where: AuditLogWhereUniqueInput create: XOR } export type AuditLogCreateManyOrganizationInputEnvelope = { data: AuditLogCreateManyOrganizationInput | AuditLogCreateManyOrganizationInput[] skipDuplicates?: boolean } export type BulkJobCreateWithoutOrganizationInput = { id?: string uploadPath: string status: $Enums.JobStatus totalUrls?: number processedUrls?: number successfulUrls?: number failedUrls?: number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string startedAt?: Date | string | null finishedAt?: Date | string | null completedAt?: Date | string | null user: UserCreateNestedOneWithoutBulkJobsInput project: ProjectCreateNestedOneWithoutBulkJobsInput } export type BulkJobUncheckedCreateWithoutOrganizationInput = { id?: string userId: string projectId: string uploadPath: string status: $Enums.JobStatus totalUrls?: number processedUrls?: number successfulUrls?: number failedUrls?: number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string startedAt?: Date | string | null finishedAt?: Date | string | null completedAt?: Date | string | null } export type BulkJobCreateOrConnectWithoutOrganizationInput = { where: BulkJobWhereUniqueInput create: XOR } export type BulkJobCreateManyOrganizationInputEnvelope = { data: BulkJobCreateManyOrganizationInput | BulkJobCreateManyOrganizationInput[] skipDuplicates?: boolean } export type OrgMembershipUpsertWithWhereUniqueWithoutOrganizationInput = { where: OrgMembershipWhereUniqueInput update: XOR create: XOR } export type OrgMembershipUpdateWithWhereUniqueWithoutOrganizationInput = { where: OrgMembershipWhereUniqueInput data: XOR } export type OrgMembershipUpdateManyWithWhereWithoutOrganizationInput = { where: OrgMembershipScalarWhereInput data: XOR } export type ProjectUpsertWithWhereUniqueWithoutOrganizationInput = { where: ProjectWhereUniqueInput update: XOR create: XOR } export type ProjectUpdateWithWhereUniqueWithoutOrganizationInput = { where: ProjectWhereUniqueInput data: XOR } export type ProjectUpdateManyWithWhereWithoutOrganizationInput = { where: ProjectScalarWhereInput data: XOR } export type ProjectScalarWhereInput = { AND?: ProjectScalarWhereInput | ProjectScalarWhereInput[] OR?: ProjectScalarWhereInput[] NOT?: ProjectScalarWhereInput | ProjectScalarWhereInput[] id?: StringFilter<"Project"> | string orgId?: StringFilter<"Project"> | string name?: StringFilter<"Project"> | string settingsJson?: JsonFilter<"Project"> createdAt?: DateTimeFilter<"Project"> | Date | string } export type ApiKeyUpsertWithWhereUniqueWithoutOrganizationInput = { where: ApiKeyWhereUniqueInput update: XOR create: XOR } export type ApiKeyUpdateWithWhereUniqueWithoutOrganizationInput = { where: ApiKeyWhereUniqueInput data: XOR } export type ApiKeyUpdateManyWithWhereWithoutOrganizationInput = { where: ApiKeyScalarWhereInput data: XOR } export type ApiKeyScalarWhereInput = { AND?: ApiKeyScalarWhereInput | ApiKeyScalarWhereInput[] OR?: ApiKeyScalarWhereInput[] NOT?: ApiKeyScalarWhereInput | ApiKeyScalarWhereInput[] id?: StringFilter<"ApiKey"> | string orgId?: StringFilter<"ApiKey"> | string name?: StringFilter<"ApiKey"> | string tokenHash?: StringFilter<"ApiKey"> | string permsJson?: JsonFilter<"ApiKey"> rateLimitQuota?: IntFilter<"ApiKey"> | number createdAt?: DateTimeFilter<"ApiKey"> | Date | string } export type AuditLogUpsertWithWhereUniqueWithoutOrganizationInput = { where: AuditLogWhereUniqueInput update: XOR create: XOR } export type AuditLogUpdateWithWhereUniqueWithoutOrganizationInput = { where: AuditLogWhereUniqueInput data: XOR } export type AuditLogUpdateManyWithWhereWithoutOrganizationInput = { where: AuditLogScalarWhereInput data: XOR } export type BulkJobUpsertWithWhereUniqueWithoutOrganizationInput = { where: BulkJobWhereUniqueInput update: XOR create: XOR } export type BulkJobUpdateWithWhereUniqueWithoutOrganizationInput = { where: BulkJobWhereUniqueInput data: XOR } export type BulkJobUpdateManyWithWhereWithoutOrganizationInput = { where: BulkJobScalarWhereInput data: XOR } export type OrganizationCreateWithoutMembershipsInput = { id?: string name: string plan?: string createdAt?: Date | string projects?: ProjectCreateNestedManyWithoutOrganizationInput apiKeys?: ApiKeyCreateNestedManyWithoutOrganizationInput auditLogs?: AuditLogCreateNestedManyWithoutOrganizationInput bulkJobs?: BulkJobCreateNestedManyWithoutOrganizationInput } export type OrganizationUncheckedCreateWithoutMembershipsInput = { id?: string name: string plan?: string createdAt?: Date | string projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutOrganizationInput auditLogs?: AuditLogUncheckedCreateNestedManyWithoutOrganizationInput bulkJobs?: BulkJobUncheckedCreateNestedManyWithoutOrganizationInput } export type OrganizationCreateOrConnectWithoutMembershipsInput = { where: OrganizationWhereUniqueInput create: XOR } export type UserCreateWithoutMembershipsInput = { id?: string email: string name: string passwordHash: string createdAt?: Date | string lastLoginAt?: Date | string | null auditLogs?: AuditLogCreateNestedManyWithoutActorInput bulkJobs?: BulkJobCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutMembershipsInput = { id?: string email: string name: string passwordHash: string createdAt?: Date | string lastLoginAt?: Date | string | null auditLogs?: AuditLogUncheckedCreateNestedManyWithoutActorInput bulkJobs?: BulkJobUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutMembershipsInput = { where: UserWhereUniqueInput create: XOR } export type OrganizationUpsertWithoutMembershipsInput = { update: XOR create: XOR where?: OrganizationWhereInput } export type OrganizationUpdateToOneWithWhereWithoutMembershipsInput = { where?: OrganizationWhereInput data: XOR } export type OrganizationUpdateWithoutMembershipsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string plan?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string projects?: ProjectUpdateManyWithoutOrganizationNestedInput apiKeys?: ApiKeyUpdateManyWithoutOrganizationNestedInput auditLogs?: AuditLogUpdateManyWithoutOrganizationNestedInput bulkJobs?: BulkJobUpdateManyWithoutOrganizationNestedInput } export type OrganizationUncheckedUpdateWithoutMembershipsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string plan?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutOrganizationNestedInput auditLogs?: AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput bulkJobs?: BulkJobUncheckedUpdateManyWithoutOrganizationNestedInput } export type UserUpsertWithoutMembershipsInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutMembershipsInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutMembershipsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string passwordHash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string lastLoginAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null auditLogs?: AuditLogUpdateManyWithoutActorNestedInput bulkJobs?: BulkJobUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutMembershipsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string passwordHash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string lastLoginAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null auditLogs?: AuditLogUncheckedUpdateManyWithoutActorNestedInput bulkJobs?: BulkJobUncheckedUpdateManyWithoutUserNestedInput } export type OrganizationCreateWithoutProjectsInput = { id?: string name: string plan?: string createdAt?: Date | string memberships?: OrgMembershipCreateNestedManyWithoutOrganizationInput apiKeys?: ApiKeyCreateNestedManyWithoutOrganizationInput auditLogs?: AuditLogCreateNestedManyWithoutOrganizationInput bulkJobs?: BulkJobCreateNestedManyWithoutOrganizationInput } export type OrganizationUncheckedCreateWithoutProjectsInput = { id?: string name: string plan?: string createdAt?: Date | string memberships?: OrgMembershipUncheckedCreateNestedManyWithoutOrganizationInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutOrganizationInput auditLogs?: AuditLogUncheckedCreateNestedManyWithoutOrganizationInput bulkJobs?: BulkJobUncheckedCreateNestedManyWithoutOrganizationInput } export type OrganizationCreateOrConnectWithoutProjectsInput = { where: OrganizationWhereUniqueInput create: XOR } export type CheckCreateWithoutProjectInput = { id?: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null hops?: HopCreateNestedManyWithoutCheckInput sslInspections?: SslInspectionCreateNestedManyWithoutCheckInput seoFlags?: SeoFlagsCreateNestedOneWithoutCheckInput securityFlags?: SecurityFlagsCreateNestedOneWithoutCheckInput reports?: ReportCreateNestedManyWithoutCheckInput } export type CheckUncheckedCreateWithoutProjectInput = { id?: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null hops?: HopUncheckedCreateNestedManyWithoutCheckInput sslInspections?: SslInspectionUncheckedCreateNestedManyWithoutCheckInput seoFlags?: SeoFlagsUncheckedCreateNestedOneWithoutCheckInput securityFlags?: SecurityFlagsUncheckedCreateNestedOneWithoutCheckInput reports?: ReportUncheckedCreateNestedManyWithoutCheckInput } export type CheckCreateOrConnectWithoutProjectInput = { where: CheckWhereUniqueInput create: XOR } export type CheckCreateManyProjectInputEnvelope = { data: CheckCreateManyProjectInput | CheckCreateManyProjectInput[] skipDuplicates?: boolean } export type BulkJobCreateWithoutProjectInput = { id?: string uploadPath: string status: $Enums.JobStatus totalUrls?: number processedUrls?: number successfulUrls?: number failedUrls?: number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string startedAt?: Date | string | null finishedAt?: Date | string | null completedAt?: Date | string | null user: UserCreateNestedOneWithoutBulkJobsInput organization?: OrganizationCreateNestedOneWithoutBulkJobsInput } export type BulkJobUncheckedCreateWithoutProjectInput = { id?: string userId: string organizationId?: string | null uploadPath: string status: $Enums.JobStatus totalUrls?: number processedUrls?: number successfulUrls?: number failedUrls?: number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string startedAt?: Date | string | null finishedAt?: Date | string | null completedAt?: Date | string | null } export type BulkJobCreateOrConnectWithoutProjectInput = { where: BulkJobWhereUniqueInput create: XOR } export type BulkJobCreateManyProjectInputEnvelope = { data: BulkJobCreateManyProjectInput | BulkJobCreateManyProjectInput[] skipDuplicates?: boolean } export type OrganizationUpsertWithoutProjectsInput = { update: XOR create: XOR where?: OrganizationWhereInput } export type OrganizationUpdateToOneWithWhereWithoutProjectsInput = { where?: OrganizationWhereInput data: XOR } export type OrganizationUpdateWithoutProjectsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string plan?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string memberships?: OrgMembershipUpdateManyWithoutOrganizationNestedInput apiKeys?: ApiKeyUpdateManyWithoutOrganizationNestedInput auditLogs?: AuditLogUpdateManyWithoutOrganizationNestedInput bulkJobs?: BulkJobUpdateManyWithoutOrganizationNestedInput } export type OrganizationUncheckedUpdateWithoutProjectsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string plan?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string memberships?: OrgMembershipUncheckedUpdateManyWithoutOrganizationNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutOrganizationNestedInput auditLogs?: AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput bulkJobs?: BulkJobUncheckedUpdateManyWithoutOrganizationNestedInput } export type CheckUpsertWithWhereUniqueWithoutProjectInput = { where: CheckWhereUniqueInput update: XOR create: XOR } export type CheckUpdateWithWhereUniqueWithoutProjectInput = { where: CheckWhereUniqueInput data: XOR } export type CheckUpdateManyWithWhereWithoutProjectInput = { where: CheckScalarWhereInput data: XOR } export type CheckScalarWhereInput = { AND?: CheckScalarWhereInput | CheckScalarWhereInput[] OR?: CheckScalarWhereInput[] NOT?: CheckScalarWhereInput | CheckScalarWhereInput[] id?: StringFilter<"Check"> | string projectId?: StringFilter<"Check"> | string inputUrl?: StringFilter<"Check"> | string method?: StringFilter<"Check"> | string headersJson?: JsonFilter<"Check"> userAgent?: StringNullableFilter<"Check"> | string | null startedAt?: DateTimeFilter<"Check"> | Date | string finishedAt?: DateTimeNullableFilter<"Check"> | Date | string | null status?: EnumCheckStatusFilter<"Check"> | $Enums.CheckStatus finalUrl?: StringNullableFilter<"Check"> | string | null totalTimeMs?: IntNullableFilter<"Check"> | number | null reportId?: StringNullableFilter<"Check"> | string | null } export type BulkJobUpsertWithWhereUniqueWithoutProjectInput = { where: BulkJobWhereUniqueInput update: XOR create: XOR } export type BulkJobUpdateWithWhereUniqueWithoutProjectInput = { where: BulkJobWhereUniqueInput data: XOR } export type BulkJobUpdateManyWithWhereWithoutProjectInput = { where: BulkJobScalarWhereInput data: XOR } export type ProjectCreateWithoutChecksInput = { id?: string name: string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string organization: OrganizationCreateNestedOneWithoutProjectsInput bulkJobs?: BulkJobCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutChecksInput = { id?: string orgId: string name: string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string bulkJobs?: BulkJobUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutChecksInput = { where: ProjectWhereUniqueInput create: XOR } export type HopCreateWithoutCheckInput = { id?: string hopIndex: number url: string scheme?: string | null statusCode?: number | null redirectType: $Enums.RedirectType latencyMs?: number | null contentType?: string | null reason?: string | null responseHeadersJson?: JsonNullValueInput | InputJsonValue } export type HopUncheckedCreateWithoutCheckInput = { id?: string hopIndex: number url: string scheme?: string | null statusCode?: number | null redirectType: $Enums.RedirectType latencyMs?: number | null contentType?: string | null reason?: string | null responseHeadersJson?: JsonNullValueInput | InputJsonValue } export type HopCreateOrConnectWithoutCheckInput = { where: HopWhereUniqueInput create: XOR } export type HopCreateManyCheckInputEnvelope = { data: HopCreateManyCheckInput | HopCreateManyCheckInput[] skipDuplicates?: boolean } export type SslInspectionCreateWithoutCheckInput = { id?: string host: string validFrom?: Date | string | null validTo?: Date | string | null daysToExpiry?: number | null issuer?: string | null protocol?: string | null warningsJson?: JsonNullValueInput | InputJsonValue } export type SslInspectionUncheckedCreateWithoutCheckInput = { id?: string host: string validFrom?: Date | string | null validTo?: Date | string | null daysToExpiry?: number | null issuer?: string | null protocol?: string | null warningsJson?: JsonNullValueInput | InputJsonValue } export type SslInspectionCreateOrConnectWithoutCheckInput = { where: SslInspectionWhereUniqueInput create: XOR } export type SslInspectionCreateManyCheckInputEnvelope = { data: SslInspectionCreateManyCheckInput | SslInspectionCreateManyCheckInput[] skipDuplicates?: boolean } export type SeoFlagsCreateWithoutCheckInput = { id?: string robotsTxtStatus?: string | null robotsTxtRulesJson?: JsonNullValueInput | InputJsonValue metaRobots?: string | null canonicalUrl?: string | null sitemapPresent?: boolean noindex?: boolean nofollow?: boolean } export type SeoFlagsUncheckedCreateWithoutCheckInput = { id?: string robotsTxtStatus?: string | null robotsTxtRulesJson?: JsonNullValueInput | InputJsonValue metaRobots?: string | null canonicalUrl?: string | null sitemapPresent?: boolean noindex?: boolean nofollow?: boolean } export type SeoFlagsCreateOrConnectWithoutCheckInput = { where: SeoFlagsWhereUniqueInput create: XOR } export type SecurityFlagsCreateWithoutCheckInput = { id?: string safeBrowsingStatus?: string | null mixedContent?: $Enums.MixedContent httpsToHttp?: boolean } export type SecurityFlagsUncheckedCreateWithoutCheckInput = { id?: string safeBrowsingStatus?: string | null mixedContent?: $Enums.MixedContent httpsToHttp?: boolean } export type SecurityFlagsCreateOrConnectWithoutCheckInput = { where: SecurityFlagsWhereUniqueInput create: XOR } export type ReportCreateWithoutCheckInput = { id?: string markdownPath?: string | null pdfPath?: string | null createdAt?: Date | string } export type ReportUncheckedCreateWithoutCheckInput = { id?: string markdownPath?: string | null pdfPath?: string | null createdAt?: Date | string } export type ReportCreateOrConnectWithoutCheckInput = { where: ReportWhereUniqueInput create: XOR } export type ReportCreateManyCheckInputEnvelope = { data: ReportCreateManyCheckInput | ReportCreateManyCheckInput[] skipDuplicates?: boolean } export type ProjectUpsertWithoutChecksInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutChecksInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutChecksInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput bulkJobs?: BulkJobUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutChecksInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string bulkJobs?: BulkJobUncheckedUpdateManyWithoutProjectNestedInput } export type HopUpsertWithWhereUniqueWithoutCheckInput = { where: HopWhereUniqueInput update: XOR create: XOR } export type HopUpdateWithWhereUniqueWithoutCheckInput = { where: HopWhereUniqueInput data: XOR } export type HopUpdateManyWithWhereWithoutCheckInput = { where: HopScalarWhereInput data: XOR } export type HopScalarWhereInput = { AND?: HopScalarWhereInput | HopScalarWhereInput[] OR?: HopScalarWhereInput[] NOT?: HopScalarWhereInput | HopScalarWhereInput[] id?: StringFilter<"Hop"> | string checkId?: StringFilter<"Hop"> | string hopIndex?: IntFilter<"Hop"> | number url?: StringFilter<"Hop"> | string scheme?: StringNullableFilter<"Hop"> | string | null statusCode?: IntNullableFilter<"Hop"> | number | null redirectType?: EnumRedirectTypeFilter<"Hop"> | $Enums.RedirectType latencyMs?: IntNullableFilter<"Hop"> | number | null contentType?: StringNullableFilter<"Hop"> | string | null reason?: StringNullableFilter<"Hop"> | string | null responseHeadersJson?: JsonFilter<"Hop"> } export type SslInspectionUpsertWithWhereUniqueWithoutCheckInput = { where: SslInspectionWhereUniqueInput update: XOR create: XOR } export type SslInspectionUpdateWithWhereUniqueWithoutCheckInput = { where: SslInspectionWhereUniqueInput data: XOR } export type SslInspectionUpdateManyWithWhereWithoutCheckInput = { where: SslInspectionScalarWhereInput data: XOR } export type SslInspectionScalarWhereInput = { AND?: SslInspectionScalarWhereInput | SslInspectionScalarWhereInput[] OR?: SslInspectionScalarWhereInput[] NOT?: SslInspectionScalarWhereInput | SslInspectionScalarWhereInput[] id?: StringFilter<"SslInspection"> | string checkId?: StringFilter<"SslInspection"> | string host?: StringFilter<"SslInspection"> | string validFrom?: DateTimeNullableFilter<"SslInspection"> | Date | string | null validTo?: DateTimeNullableFilter<"SslInspection"> | Date | string | null daysToExpiry?: IntNullableFilter<"SslInspection"> | number | null issuer?: StringNullableFilter<"SslInspection"> | string | null protocol?: StringNullableFilter<"SslInspection"> | string | null warningsJson?: JsonFilter<"SslInspection"> } export type SeoFlagsUpsertWithoutCheckInput = { update: XOR create: XOR where?: SeoFlagsWhereInput } export type SeoFlagsUpdateToOneWithWhereWithoutCheckInput = { where?: SeoFlagsWhereInput data: XOR } export type SeoFlagsUpdateWithoutCheckInput = { id?: StringFieldUpdateOperationsInput | string robotsTxtStatus?: NullableStringFieldUpdateOperationsInput | string | null robotsTxtRulesJson?: JsonNullValueInput | InputJsonValue metaRobots?: NullableStringFieldUpdateOperationsInput | string | null canonicalUrl?: NullableStringFieldUpdateOperationsInput | string | null sitemapPresent?: BoolFieldUpdateOperationsInput | boolean noindex?: BoolFieldUpdateOperationsInput | boolean nofollow?: BoolFieldUpdateOperationsInput | boolean } export type SeoFlagsUncheckedUpdateWithoutCheckInput = { id?: StringFieldUpdateOperationsInput | string robotsTxtStatus?: NullableStringFieldUpdateOperationsInput | string | null robotsTxtRulesJson?: JsonNullValueInput | InputJsonValue metaRobots?: NullableStringFieldUpdateOperationsInput | string | null canonicalUrl?: NullableStringFieldUpdateOperationsInput | string | null sitemapPresent?: BoolFieldUpdateOperationsInput | boolean noindex?: BoolFieldUpdateOperationsInput | boolean nofollow?: BoolFieldUpdateOperationsInput | boolean } export type SecurityFlagsUpsertWithoutCheckInput = { update: XOR create: XOR where?: SecurityFlagsWhereInput } export type SecurityFlagsUpdateToOneWithWhereWithoutCheckInput = { where?: SecurityFlagsWhereInput data: XOR } export type SecurityFlagsUpdateWithoutCheckInput = { id?: StringFieldUpdateOperationsInput | string safeBrowsingStatus?: NullableStringFieldUpdateOperationsInput | string | null mixedContent?: EnumMixedContentFieldUpdateOperationsInput | $Enums.MixedContent httpsToHttp?: BoolFieldUpdateOperationsInput | boolean } export type SecurityFlagsUncheckedUpdateWithoutCheckInput = { id?: StringFieldUpdateOperationsInput | string safeBrowsingStatus?: NullableStringFieldUpdateOperationsInput | string | null mixedContent?: EnumMixedContentFieldUpdateOperationsInput | $Enums.MixedContent httpsToHttp?: BoolFieldUpdateOperationsInput | boolean } export type ReportUpsertWithWhereUniqueWithoutCheckInput = { where: ReportWhereUniqueInput update: XOR create: XOR } export type ReportUpdateWithWhereUniqueWithoutCheckInput = { where: ReportWhereUniqueInput data: XOR } export type ReportUpdateManyWithWhereWithoutCheckInput = { where: ReportScalarWhereInput data: XOR } export type ReportScalarWhereInput = { AND?: ReportScalarWhereInput | ReportScalarWhereInput[] OR?: ReportScalarWhereInput[] NOT?: ReportScalarWhereInput | ReportScalarWhereInput[] id?: StringFilter<"Report"> | string checkId?: StringFilter<"Report"> | string markdownPath?: StringNullableFilter<"Report"> | string | null pdfPath?: StringNullableFilter<"Report"> | string | null createdAt?: DateTimeFilter<"Report"> | Date | string } export type CheckCreateWithoutHopsInput = { id?: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null project: ProjectCreateNestedOneWithoutChecksInput sslInspections?: SslInspectionCreateNestedManyWithoutCheckInput seoFlags?: SeoFlagsCreateNestedOneWithoutCheckInput securityFlags?: SecurityFlagsCreateNestedOneWithoutCheckInput reports?: ReportCreateNestedManyWithoutCheckInput } export type CheckUncheckedCreateWithoutHopsInput = { id?: string projectId: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null sslInspections?: SslInspectionUncheckedCreateNestedManyWithoutCheckInput seoFlags?: SeoFlagsUncheckedCreateNestedOneWithoutCheckInput securityFlags?: SecurityFlagsUncheckedCreateNestedOneWithoutCheckInput reports?: ReportUncheckedCreateNestedManyWithoutCheckInput } export type CheckCreateOrConnectWithoutHopsInput = { where: CheckWhereUniqueInput create: XOR } export type CheckUpsertWithoutHopsInput = { update: XOR create: XOR where?: CheckWhereInput } export type CheckUpdateToOneWithWhereWithoutHopsInput = { where?: CheckWhereInput data: XOR } export type CheckUpdateWithoutHopsInput = { id?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutChecksNestedInput sslInspections?: SslInspectionUpdateManyWithoutCheckNestedInput seoFlags?: SeoFlagsUpdateOneWithoutCheckNestedInput securityFlags?: SecurityFlagsUpdateOneWithoutCheckNestedInput reports?: ReportUpdateManyWithoutCheckNestedInput } export type CheckUncheckedUpdateWithoutHopsInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null sslInspections?: SslInspectionUncheckedUpdateManyWithoutCheckNestedInput seoFlags?: SeoFlagsUncheckedUpdateOneWithoutCheckNestedInput securityFlags?: SecurityFlagsUncheckedUpdateOneWithoutCheckNestedInput reports?: ReportUncheckedUpdateManyWithoutCheckNestedInput } export type CheckCreateWithoutSslInspectionsInput = { id?: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null project: ProjectCreateNestedOneWithoutChecksInput hops?: HopCreateNestedManyWithoutCheckInput seoFlags?: SeoFlagsCreateNestedOneWithoutCheckInput securityFlags?: SecurityFlagsCreateNestedOneWithoutCheckInput reports?: ReportCreateNestedManyWithoutCheckInput } export type CheckUncheckedCreateWithoutSslInspectionsInput = { id?: string projectId: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null hops?: HopUncheckedCreateNestedManyWithoutCheckInput seoFlags?: SeoFlagsUncheckedCreateNestedOneWithoutCheckInput securityFlags?: SecurityFlagsUncheckedCreateNestedOneWithoutCheckInput reports?: ReportUncheckedCreateNestedManyWithoutCheckInput } export type CheckCreateOrConnectWithoutSslInspectionsInput = { where: CheckWhereUniqueInput create: XOR } export type CheckUpsertWithoutSslInspectionsInput = { update: XOR create: XOR where?: CheckWhereInput } export type CheckUpdateToOneWithWhereWithoutSslInspectionsInput = { where?: CheckWhereInput data: XOR } export type CheckUpdateWithoutSslInspectionsInput = { id?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutChecksNestedInput hops?: HopUpdateManyWithoutCheckNestedInput seoFlags?: SeoFlagsUpdateOneWithoutCheckNestedInput securityFlags?: SecurityFlagsUpdateOneWithoutCheckNestedInput reports?: ReportUpdateManyWithoutCheckNestedInput } export type CheckUncheckedUpdateWithoutSslInspectionsInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null hops?: HopUncheckedUpdateManyWithoutCheckNestedInput seoFlags?: SeoFlagsUncheckedUpdateOneWithoutCheckNestedInput securityFlags?: SecurityFlagsUncheckedUpdateOneWithoutCheckNestedInput reports?: ReportUncheckedUpdateManyWithoutCheckNestedInput } export type CheckCreateWithoutSeoFlagsInput = { id?: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null project: ProjectCreateNestedOneWithoutChecksInput hops?: HopCreateNestedManyWithoutCheckInput sslInspections?: SslInspectionCreateNestedManyWithoutCheckInput securityFlags?: SecurityFlagsCreateNestedOneWithoutCheckInput reports?: ReportCreateNestedManyWithoutCheckInput } export type CheckUncheckedCreateWithoutSeoFlagsInput = { id?: string projectId: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null hops?: HopUncheckedCreateNestedManyWithoutCheckInput sslInspections?: SslInspectionUncheckedCreateNestedManyWithoutCheckInput securityFlags?: SecurityFlagsUncheckedCreateNestedOneWithoutCheckInput reports?: ReportUncheckedCreateNestedManyWithoutCheckInput } export type CheckCreateOrConnectWithoutSeoFlagsInput = { where: CheckWhereUniqueInput create: XOR } export type CheckUpsertWithoutSeoFlagsInput = { update: XOR create: XOR where?: CheckWhereInput } export type CheckUpdateToOneWithWhereWithoutSeoFlagsInput = { where?: CheckWhereInput data: XOR } export type CheckUpdateWithoutSeoFlagsInput = { id?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutChecksNestedInput hops?: HopUpdateManyWithoutCheckNestedInput sslInspections?: SslInspectionUpdateManyWithoutCheckNestedInput securityFlags?: SecurityFlagsUpdateOneWithoutCheckNestedInput reports?: ReportUpdateManyWithoutCheckNestedInput } export type CheckUncheckedUpdateWithoutSeoFlagsInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null hops?: HopUncheckedUpdateManyWithoutCheckNestedInput sslInspections?: SslInspectionUncheckedUpdateManyWithoutCheckNestedInput securityFlags?: SecurityFlagsUncheckedUpdateOneWithoutCheckNestedInput reports?: ReportUncheckedUpdateManyWithoutCheckNestedInput } export type CheckCreateWithoutSecurityFlagsInput = { id?: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null project: ProjectCreateNestedOneWithoutChecksInput hops?: HopCreateNestedManyWithoutCheckInput sslInspections?: SslInspectionCreateNestedManyWithoutCheckInput seoFlags?: SeoFlagsCreateNestedOneWithoutCheckInput reports?: ReportCreateNestedManyWithoutCheckInput } export type CheckUncheckedCreateWithoutSecurityFlagsInput = { id?: string projectId: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null hops?: HopUncheckedCreateNestedManyWithoutCheckInput sslInspections?: SslInspectionUncheckedCreateNestedManyWithoutCheckInput seoFlags?: SeoFlagsUncheckedCreateNestedOneWithoutCheckInput reports?: ReportUncheckedCreateNestedManyWithoutCheckInput } export type CheckCreateOrConnectWithoutSecurityFlagsInput = { where: CheckWhereUniqueInput create: XOR } export type CheckUpsertWithoutSecurityFlagsInput = { update: XOR create: XOR where?: CheckWhereInput } export type CheckUpdateToOneWithWhereWithoutSecurityFlagsInput = { where?: CheckWhereInput data: XOR } export type CheckUpdateWithoutSecurityFlagsInput = { id?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutChecksNestedInput hops?: HopUpdateManyWithoutCheckNestedInput sslInspections?: SslInspectionUpdateManyWithoutCheckNestedInput seoFlags?: SeoFlagsUpdateOneWithoutCheckNestedInput reports?: ReportUpdateManyWithoutCheckNestedInput } export type CheckUncheckedUpdateWithoutSecurityFlagsInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null hops?: HopUncheckedUpdateManyWithoutCheckNestedInput sslInspections?: SslInspectionUncheckedUpdateManyWithoutCheckNestedInput seoFlags?: SeoFlagsUncheckedUpdateOneWithoutCheckNestedInput reports?: ReportUncheckedUpdateManyWithoutCheckNestedInput } export type CheckCreateWithoutReportsInput = { id?: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null project: ProjectCreateNestedOneWithoutChecksInput hops?: HopCreateNestedManyWithoutCheckInput sslInspections?: SslInspectionCreateNestedManyWithoutCheckInput seoFlags?: SeoFlagsCreateNestedOneWithoutCheckInput securityFlags?: SecurityFlagsCreateNestedOneWithoutCheckInput } export type CheckUncheckedCreateWithoutReportsInput = { id?: string projectId: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null hops?: HopUncheckedCreateNestedManyWithoutCheckInput sslInspections?: SslInspectionUncheckedCreateNestedManyWithoutCheckInput seoFlags?: SeoFlagsUncheckedCreateNestedOneWithoutCheckInput securityFlags?: SecurityFlagsUncheckedCreateNestedOneWithoutCheckInput } export type CheckCreateOrConnectWithoutReportsInput = { where: CheckWhereUniqueInput create: XOR } export type CheckUpsertWithoutReportsInput = { update: XOR create: XOR where?: CheckWhereInput } export type CheckUpdateToOneWithWhereWithoutReportsInput = { where?: CheckWhereInput data: XOR } export type CheckUpdateWithoutReportsInput = { id?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null project?: ProjectUpdateOneRequiredWithoutChecksNestedInput hops?: HopUpdateManyWithoutCheckNestedInput sslInspections?: SslInspectionUpdateManyWithoutCheckNestedInput seoFlags?: SeoFlagsUpdateOneWithoutCheckNestedInput securityFlags?: SecurityFlagsUpdateOneWithoutCheckNestedInput } export type CheckUncheckedUpdateWithoutReportsInput = { id?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null hops?: HopUncheckedUpdateManyWithoutCheckNestedInput sslInspections?: SslInspectionUncheckedUpdateManyWithoutCheckNestedInput seoFlags?: SeoFlagsUncheckedUpdateOneWithoutCheckNestedInput securityFlags?: SecurityFlagsUncheckedUpdateOneWithoutCheckNestedInput } export type UserCreateWithoutBulkJobsInput = { id?: string email: string name: string passwordHash: string createdAt?: Date | string lastLoginAt?: Date | string | null memberships?: OrgMembershipCreateNestedManyWithoutUserInput auditLogs?: AuditLogCreateNestedManyWithoutActorInput } export type UserUncheckedCreateWithoutBulkJobsInput = { id?: string email: string name: string passwordHash: string createdAt?: Date | string lastLoginAt?: Date | string | null memberships?: OrgMembershipUncheckedCreateNestedManyWithoutUserInput auditLogs?: AuditLogUncheckedCreateNestedManyWithoutActorInput } export type UserCreateOrConnectWithoutBulkJobsInput = { where: UserWhereUniqueInput create: XOR } export type OrganizationCreateWithoutBulkJobsInput = { id?: string name: string plan?: string createdAt?: Date | string memberships?: OrgMembershipCreateNestedManyWithoutOrganizationInput projects?: ProjectCreateNestedManyWithoutOrganizationInput apiKeys?: ApiKeyCreateNestedManyWithoutOrganizationInput auditLogs?: AuditLogCreateNestedManyWithoutOrganizationInput } export type OrganizationUncheckedCreateWithoutBulkJobsInput = { id?: string name: string plan?: string createdAt?: Date | string memberships?: OrgMembershipUncheckedCreateNestedManyWithoutOrganizationInput projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutOrganizationInput auditLogs?: AuditLogUncheckedCreateNestedManyWithoutOrganizationInput } export type OrganizationCreateOrConnectWithoutBulkJobsInput = { where: OrganizationWhereUniqueInput create: XOR } export type ProjectCreateWithoutBulkJobsInput = { id?: string name: string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string organization: OrganizationCreateNestedOneWithoutProjectsInput checks?: CheckCreateNestedManyWithoutProjectInput } export type ProjectUncheckedCreateWithoutBulkJobsInput = { id?: string orgId: string name: string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string checks?: CheckUncheckedCreateNestedManyWithoutProjectInput } export type ProjectCreateOrConnectWithoutBulkJobsInput = { where: ProjectWhereUniqueInput create: XOR } export type UserUpsertWithoutBulkJobsInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutBulkJobsInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutBulkJobsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string passwordHash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string lastLoginAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null memberships?: OrgMembershipUpdateManyWithoutUserNestedInput auditLogs?: AuditLogUpdateManyWithoutActorNestedInput } export type UserUncheckedUpdateWithoutBulkJobsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string passwordHash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string lastLoginAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null memberships?: OrgMembershipUncheckedUpdateManyWithoutUserNestedInput auditLogs?: AuditLogUncheckedUpdateManyWithoutActorNestedInput } export type OrganizationUpsertWithoutBulkJobsInput = { update: XOR create: XOR where?: OrganizationWhereInput } export type OrganizationUpdateToOneWithWhereWithoutBulkJobsInput = { where?: OrganizationWhereInput data: XOR } export type OrganizationUpdateWithoutBulkJobsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string plan?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string memberships?: OrgMembershipUpdateManyWithoutOrganizationNestedInput projects?: ProjectUpdateManyWithoutOrganizationNestedInput apiKeys?: ApiKeyUpdateManyWithoutOrganizationNestedInput auditLogs?: AuditLogUpdateManyWithoutOrganizationNestedInput } export type OrganizationUncheckedUpdateWithoutBulkJobsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string plan?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string memberships?: OrgMembershipUncheckedUpdateManyWithoutOrganizationNestedInput projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutOrganizationNestedInput auditLogs?: AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput } export type ProjectUpsertWithoutBulkJobsInput = { update: XOR create: XOR where?: ProjectWhereInput } export type ProjectUpdateToOneWithWhereWithoutBulkJobsInput = { where?: ProjectWhereInput data: XOR } export type ProjectUpdateWithoutBulkJobsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string organization?: OrganizationUpdateOneRequiredWithoutProjectsNestedInput checks?: CheckUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutBulkJobsInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string checks?: CheckUncheckedUpdateManyWithoutProjectNestedInput } export type OrganizationCreateWithoutApiKeysInput = { id?: string name: string plan?: string createdAt?: Date | string memberships?: OrgMembershipCreateNestedManyWithoutOrganizationInput projects?: ProjectCreateNestedManyWithoutOrganizationInput auditLogs?: AuditLogCreateNestedManyWithoutOrganizationInput bulkJobs?: BulkJobCreateNestedManyWithoutOrganizationInput } export type OrganizationUncheckedCreateWithoutApiKeysInput = { id?: string name: string plan?: string createdAt?: Date | string memberships?: OrgMembershipUncheckedCreateNestedManyWithoutOrganizationInput projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput auditLogs?: AuditLogUncheckedCreateNestedManyWithoutOrganizationInput bulkJobs?: BulkJobUncheckedCreateNestedManyWithoutOrganizationInput } export type OrganizationCreateOrConnectWithoutApiKeysInput = { where: OrganizationWhereUniqueInput create: XOR } export type OrganizationUpsertWithoutApiKeysInput = { update: XOR create: XOR where?: OrganizationWhereInput } export type OrganizationUpdateToOneWithWhereWithoutApiKeysInput = { where?: OrganizationWhereInput data: XOR } export type OrganizationUpdateWithoutApiKeysInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string plan?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string memberships?: OrgMembershipUpdateManyWithoutOrganizationNestedInput projects?: ProjectUpdateManyWithoutOrganizationNestedInput auditLogs?: AuditLogUpdateManyWithoutOrganizationNestedInput bulkJobs?: BulkJobUpdateManyWithoutOrganizationNestedInput } export type OrganizationUncheckedUpdateWithoutApiKeysInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string plan?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string memberships?: OrgMembershipUncheckedUpdateManyWithoutOrganizationNestedInput projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput auditLogs?: AuditLogUncheckedUpdateManyWithoutOrganizationNestedInput bulkJobs?: BulkJobUncheckedUpdateManyWithoutOrganizationNestedInput } export type OrganizationCreateWithoutAuditLogsInput = { id?: string name: string plan?: string createdAt?: Date | string memberships?: OrgMembershipCreateNestedManyWithoutOrganizationInput projects?: ProjectCreateNestedManyWithoutOrganizationInput apiKeys?: ApiKeyCreateNestedManyWithoutOrganizationInput bulkJobs?: BulkJobCreateNestedManyWithoutOrganizationInput } export type OrganizationUncheckedCreateWithoutAuditLogsInput = { id?: string name: string plan?: string createdAt?: Date | string memberships?: OrgMembershipUncheckedCreateNestedManyWithoutOrganizationInput projects?: ProjectUncheckedCreateNestedManyWithoutOrganizationInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutOrganizationInput bulkJobs?: BulkJobUncheckedCreateNestedManyWithoutOrganizationInput } export type OrganizationCreateOrConnectWithoutAuditLogsInput = { where: OrganizationWhereUniqueInput create: XOR } export type UserCreateWithoutAuditLogsInput = { id?: string email: string name: string passwordHash: string createdAt?: Date | string lastLoginAt?: Date | string | null memberships?: OrgMembershipCreateNestedManyWithoutUserInput bulkJobs?: BulkJobCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutAuditLogsInput = { id?: string email: string name: string passwordHash: string createdAt?: Date | string lastLoginAt?: Date | string | null memberships?: OrgMembershipUncheckedCreateNestedManyWithoutUserInput bulkJobs?: BulkJobUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutAuditLogsInput = { where: UserWhereUniqueInput create: XOR } export type OrganizationUpsertWithoutAuditLogsInput = { update: XOR create: XOR where?: OrganizationWhereInput } export type OrganizationUpdateToOneWithWhereWithoutAuditLogsInput = { where?: OrganizationWhereInput data: XOR } export type OrganizationUpdateWithoutAuditLogsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string plan?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string memberships?: OrgMembershipUpdateManyWithoutOrganizationNestedInput projects?: ProjectUpdateManyWithoutOrganizationNestedInput apiKeys?: ApiKeyUpdateManyWithoutOrganizationNestedInput bulkJobs?: BulkJobUpdateManyWithoutOrganizationNestedInput } export type OrganizationUncheckedUpdateWithoutAuditLogsInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string plan?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string memberships?: OrgMembershipUncheckedUpdateManyWithoutOrganizationNestedInput projects?: ProjectUncheckedUpdateManyWithoutOrganizationNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutOrganizationNestedInput bulkJobs?: BulkJobUncheckedUpdateManyWithoutOrganizationNestedInput } export type UserUpsertWithoutAuditLogsInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutAuditLogsInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutAuditLogsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string passwordHash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string lastLoginAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null memberships?: OrgMembershipUpdateManyWithoutUserNestedInput bulkJobs?: BulkJobUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutAuditLogsInput = { id?: StringFieldUpdateOperationsInput | string email?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string passwordHash?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string lastLoginAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null memberships?: OrgMembershipUncheckedUpdateManyWithoutUserNestedInput bulkJobs?: BulkJobUncheckedUpdateManyWithoutUserNestedInput } export type OrgMembershipCreateManyUserInput = { id?: string orgId: string role: $Enums.Role } export type AuditLogCreateManyActorInput = { id?: string orgId: string action: string entity: string entityId: string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string } export type BulkJobCreateManyUserInput = { id?: string organizationId?: string | null projectId: string uploadPath: string status: $Enums.JobStatus totalUrls?: number processedUrls?: number successfulUrls?: number failedUrls?: number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string startedAt?: Date | string | null finishedAt?: Date | string | null completedAt?: Date | string | null } export type OrgMembershipUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role organization?: OrganizationUpdateOneRequiredWithoutMembershipsNestedInput } export type OrgMembershipUncheckedUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role } export type OrgMembershipUncheckedUpdateManyWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role } export type AuditLogUpdateWithoutActorInput = { id?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string entity?: StringFieldUpdateOperationsInput | string entityId?: StringFieldUpdateOperationsInput | string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string organization?: OrganizationUpdateOneRequiredWithoutAuditLogsNestedInput } export type AuditLogUncheckedUpdateWithoutActorInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string entity?: StringFieldUpdateOperationsInput | string entityId?: StringFieldUpdateOperationsInput | string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AuditLogUncheckedUpdateManyWithoutActorInput = { id?: StringFieldUpdateOperationsInput | string orgId?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string entity?: StringFieldUpdateOperationsInput | string entityId?: StringFieldUpdateOperationsInput | string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type BulkJobUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string uploadPath?: StringFieldUpdateOperationsInput | string status?: EnumJobStatusFieldUpdateOperationsInput | $Enums.JobStatus totalUrls?: IntFieldUpdateOperationsInput | number processedUrls?: IntFieldUpdateOperationsInput | number successfulUrls?: IntFieldUpdateOperationsInput | number failedUrls?: IntFieldUpdateOperationsInput | number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null organization?: OrganizationUpdateOneWithoutBulkJobsNestedInput project?: ProjectUpdateOneRequiredWithoutBulkJobsNestedInput } export type BulkJobUncheckedUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string organizationId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: StringFieldUpdateOperationsInput | string uploadPath?: StringFieldUpdateOperationsInput | string status?: EnumJobStatusFieldUpdateOperationsInput | $Enums.JobStatus totalUrls?: IntFieldUpdateOperationsInput | number processedUrls?: IntFieldUpdateOperationsInput | number successfulUrls?: IntFieldUpdateOperationsInput | number failedUrls?: IntFieldUpdateOperationsInput | number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type BulkJobUncheckedUpdateManyWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string organizationId?: NullableStringFieldUpdateOperationsInput | string | null projectId?: StringFieldUpdateOperationsInput | string uploadPath?: StringFieldUpdateOperationsInput | string status?: EnumJobStatusFieldUpdateOperationsInput | $Enums.JobStatus totalUrls?: IntFieldUpdateOperationsInput | number processedUrls?: IntFieldUpdateOperationsInput | number successfulUrls?: IntFieldUpdateOperationsInput | number failedUrls?: IntFieldUpdateOperationsInput | number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type OrgMembershipCreateManyOrganizationInput = { id?: string userId: string role: $Enums.Role } export type ProjectCreateManyOrganizationInput = { id?: string name: string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string } export type ApiKeyCreateManyOrganizationInput = { id?: string name: string tokenHash: string permsJson?: JsonNullValueInput | InputJsonValue rateLimitQuota?: number createdAt?: Date | string } export type AuditLogCreateManyOrganizationInput = { id?: string actorUserId?: string | null action: string entity: string entityId: string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string } export type BulkJobCreateManyOrganizationInput = { id?: string userId: string projectId: string uploadPath: string status: $Enums.JobStatus totalUrls?: number processedUrls?: number successfulUrls?: number failedUrls?: number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string startedAt?: Date | string | null finishedAt?: Date | string | null completedAt?: Date | string | null } export type OrgMembershipUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role user?: UserUpdateOneRequiredWithoutMembershipsNestedInput } export type OrgMembershipUncheckedUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role } export type OrgMembershipUncheckedUpdateManyWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role } export type ProjectUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string checks?: CheckUpdateManyWithoutProjectNestedInput bulkJobs?: BulkJobUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string checks?: CheckUncheckedUpdateManyWithoutProjectNestedInput bulkJobs?: BulkJobUncheckedUpdateManyWithoutProjectNestedInput } export type ProjectUncheckedUpdateManyWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string settingsJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ApiKeyUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string tokenHash?: StringFieldUpdateOperationsInput | string permsJson?: JsonNullValueInput | InputJsonValue rateLimitQuota?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ApiKeyUncheckedUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string tokenHash?: StringFieldUpdateOperationsInput | string permsJson?: JsonNullValueInput | InputJsonValue rateLimitQuota?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ApiKeyUncheckedUpdateManyWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string tokenHash?: StringFieldUpdateOperationsInput | string permsJson?: JsonNullValueInput | InputJsonValue rateLimitQuota?: IntFieldUpdateOperationsInput | number createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AuditLogUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string action?: StringFieldUpdateOperationsInput | string entity?: StringFieldUpdateOperationsInput | string entityId?: StringFieldUpdateOperationsInput | string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string actor?: UserUpdateOneWithoutAuditLogsNestedInput } export type AuditLogUncheckedUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string actorUserId?: NullableStringFieldUpdateOperationsInput | string | null action?: StringFieldUpdateOperationsInput | string entity?: StringFieldUpdateOperationsInput | string entityId?: StringFieldUpdateOperationsInput | string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AuditLogUncheckedUpdateManyWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string actorUserId?: NullableStringFieldUpdateOperationsInput | string | null action?: StringFieldUpdateOperationsInput | string entity?: StringFieldUpdateOperationsInput | string entityId?: StringFieldUpdateOperationsInput | string metaJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type BulkJobUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string uploadPath?: StringFieldUpdateOperationsInput | string status?: EnumJobStatusFieldUpdateOperationsInput | $Enums.JobStatus totalUrls?: IntFieldUpdateOperationsInput | number processedUrls?: IntFieldUpdateOperationsInput | number successfulUrls?: IntFieldUpdateOperationsInput | number failedUrls?: IntFieldUpdateOperationsInput | number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null user?: UserUpdateOneRequiredWithoutBulkJobsNestedInput project?: ProjectUpdateOneRequiredWithoutBulkJobsNestedInput } export type BulkJobUncheckedUpdateWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string uploadPath?: StringFieldUpdateOperationsInput | string status?: EnumJobStatusFieldUpdateOperationsInput | $Enums.JobStatus totalUrls?: IntFieldUpdateOperationsInput | number processedUrls?: IntFieldUpdateOperationsInput | number successfulUrls?: IntFieldUpdateOperationsInput | number failedUrls?: IntFieldUpdateOperationsInput | number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type BulkJobUncheckedUpdateManyWithoutOrganizationInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string projectId?: StringFieldUpdateOperationsInput | string uploadPath?: StringFieldUpdateOperationsInput | string status?: EnumJobStatusFieldUpdateOperationsInput | $Enums.JobStatus totalUrls?: IntFieldUpdateOperationsInput | number processedUrls?: IntFieldUpdateOperationsInput | number successfulUrls?: IntFieldUpdateOperationsInput | number failedUrls?: IntFieldUpdateOperationsInput | number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type CheckCreateManyProjectInput = { id?: string inputUrl: string method?: string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: string | null startedAt: Date | string finishedAt?: Date | string | null status: $Enums.CheckStatus finalUrl?: string | null totalTimeMs?: number | null reportId?: string | null } export type BulkJobCreateManyProjectInput = { id?: string userId: string organizationId?: string | null uploadPath: string status: $Enums.JobStatus totalUrls?: number processedUrls?: number successfulUrls?: number failedUrls?: number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: Date | string startedAt?: Date | string | null finishedAt?: Date | string | null completedAt?: Date | string | null } export type CheckUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null hops?: HopUpdateManyWithoutCheckNestedInput sslInspections?: SslInspectionUpdateManyWithoutCheckNestedInput seoFlags?: SeoFlagsUpdateOneWithoutCheckNestedInput securityFlags?: SecurityFlagsUpdateOneWithoutCheckNestedInput reports?: ReportUpdateManyWithoutCheckNestedInput } export type CheckUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null hops?: HopUncheckedUpdateManyWithoutCheckNestedInput sslInspections?: SslInspectionUncheckedUpdateManyWithoutCheckNestedInput seoFlags?: SeoFlagsUncheckedUpdateOneWithoutCheckNestedInput securityFlags?: SecurityFlagsUncheckedUpdateOneWithoutCheckNestedInput reports?: ReportUncheckedUpdateManyWithoutCheckNestedInput } export type CheckUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string inputUrl?: StringFieldUpdateOperationsInput | string method?: StringFieldUpdateOperationsInput | string headersJson?: JsonNullValueInput | InputJsonValue userAgent?: NullableStringFieldUpdateOperationsInput | string | null startedAt?: DateTimeFieldUpdateOperationsInput | Date | string finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null status?: EnumCheckStatusFieldUpdateOperationsInput | $Enums.CheckStatus finalUrl?: NullableStringFieldUpdateOperationsInput | string | null totalTimeMs?: NullableIntFieldUpdateOperationsInput | number | null reportId?: NullableStringFieldUpdateOperationsInput | string | null } export type BulkJobUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string uploadPath?: StringFieldUpdateOperationsInput | string status?: EnumJobStatusFieldUpdateOperationsInput | $Enums.JobStatus totalUrls?: IntFieldUpdateOperationsInput | number processedUrls?: IntFieldUpdateOperationsInput | number successfulUrls?: IntFieldUpdateOperationsInput | number failedUrls?: IntFieldUpdateOperationsInput | number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null user?: UserUpdateOneRequiredWithoutBulkJobsNestedInput organization?: OrganizationUpdateOneWithoutBulkJobsNestedInput } export type BulkJobUncheckedUpdateWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string organizationId?: NullableStringFieldUpdateOperationsInput | string | null uploadPath?: StringFieldUpdateOperationsInput | string status?: EnumJobStatusFieldUpdateOperationsInput | $Enums.JobStatus totalUrls?: IntFieldUpdateOperationsInput | number processedUrls?: IntFieldUpdateOperationsInput | number successfulUrls?: IntFieldUpdateOperationsInput | number failedUrls?: IntFieldUpdateOperationsInput | number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type BulkJobUncheckedUpdateManyWithoutProjectInput = { id?: StringFieldUpdateOperationsInput | string userId?: StringFieldUpdateOperationsInput | string organizationId?: NullableStringFieldUpdateOperationsInput | string | null uploadPath?: StringFieldUpdateOperationsInput | string status?: EnumJobStatusFieldUpdateOperationsInput | $Enums.JobStatus totalUrls?: IntFieldUpdateOperationsInput | number processedUrls?: IntFieldUpdateOperationsInput | number successfulUrls?: IntFieldUpdateOperationsInput | number failedUrls?: IntFieldUpdateOperationsInput | number configJson?: JsonNullValueInput | InputJsonValue urlsJson?: NullableJsonNullValueInput | InputJsonValue resultsJson?: NullableJsonNullValueInput | InputJsonValue progressJson?: JsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string startedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null completedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type HopCreateManyCheckInput = { id?: string hopIndex: number url: string scheme?: string | null statusCode?: number | null redirectType: $Enums.RedirectType latencyMs?: number | null contentType?: string | null reason?: string | null responseHeadersJson?: JsonNullValueInput | InputJsonValue } export type SslInspectionCreateManyCheckInput = { id?: string host: string validFrom?: Date | string | null validTo?: Date | string | null daysToExpiry?: number | null issuer?: string | null protocol?: string | null warningsJson?: JsonNullValueInput | InputJsonValue } export type ReportCreateManyCheckInput = { id?: string markdownPath?: string | null pdfPath?: string | null createdAt?: Date | string } export type HopUpdateWithoutCheckInput = { id?: StringFieldUpdateOperationsInput | string hopIndex?: IntFieldUpdateOperationsInput | number url?: StringFieldUpdateOperationsInput | string scheme?: NullableStringFieldUpdateOperationsInput | string | null statusCode?: NullableIntFieldUpdateOperationsInput | number | null redirectType?: EnumRedirectTypeFieldUpdateOperationsInput | $Enums.RedirectType latencyMs?: NullableIntFieldUpdateOperationsInput | number | null contentType?: NullableStringFieldUpdateOperationsInput | string | null reason?: NullableStringFieldUpdateOperationsInput | string | null responseHeadersJson?: JsonNullValueInput | InputJsonValue } export type HopUncheckedUpdateWithoutCheckInput = { id?: StringFieldUpdateOperationsInput | string hopIndex?: IntFieldUpdateOperationsInput | number url?: StringFieldUpdateOperationsInput | string scheme?: NullableStringFieldUpdateOperationsInput | string | null statusCode?: NullableIntFieldUpdateOperationsInput | number | null redirectType?: EnumRedirectTypeFieldUpdateOperationsInput | $Enums.RedirectType latencyMs?: NullableIntFieldUpdateOperationsInput | number | null contentType?: NullableStringFieldUpdateOperationsInput | string | null reason?: NullableStringFieldUpdateOperationsInput | string | null responseHeadersJson?: JsonNullValueInput | InputJsonValue } export type HopUncheckedUpdateManyWithoutCheckInput = { id?: StringFieldUpdateOperationsInput | string hopIndex?: IntFieldUpdateOperationsInput | number url?: StringFieldUpdateOperationsInput | string scheme?: NullableStringFieldUpdateOperationsInput | string | null statusCode?: NullableIntFieldUpdateOperationsInput | number | null redirectType?: EnumRedirectTypeFieldUpdateOperationsInput | $Enums.RedirectType latencyMs?: NullableIntFieldUpdateOperationsInput | number | null contentType?: NullableStringFieldUpdateOperationsInput | string | null reason?: NullableStringFieldUpdateOperationsInput | string | null responseHeadersJson?: JsonNullValueInput | InputJsonValue } export type SslInspectionUpdateWithoutCheckInput = { id?: StringFieldUpdateOperationsInput | string host?: StringFieldUpdateOperationsInput | string validFrom?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null validTo?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null daysToExpiry?: NullableIntFieldUpdateOperationsInput | number | null issuer?: NullableStringFieldUpdateOperationsInput | string | null protocol?: NullableStringFieldUpdateOperationsInput | string | null warningsJson?: JsonNullValueInput | InputJsonValue } export type SslInspectionUncheckedUpdateWithoutCheckInput = { id?: StringFieldUpdateOperationsInput | string host?: StringFieldUpdateOperationsInput | string validFrom?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null validTo?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null daysToExpiry?: NullableIntFieldUpdateOperationsInput | number | null issuer?: NullableStringFieldUpdateOperationsInput | string | null protocol?: NullableStringFieldUpdateOperationsInput | string | null warningsJson?: JsonNullValueInput | InputJsonValue } export type SslInspectionUncheckedUpdateManyWithoutCheckInput = { id?: StringFieldUpdateOperationsInput | string host?: StringFieldUpdateOperationsInput | string validFrom?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null validTo?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null daysToExpiry?: NullableIntFieldUpdateOperationsInput | number | null issuer?: NullableStringFieldUpdateOperationsInput | string | null protocol?: NullableStringFieldUpdateOperationsInput | string | null warningsJson?: JsonNullValueInput | InputJsonValue } export type ReportUpdateWithoutCheckInput = { id?: StringFieldUpdateOperationsInput | string markdownPath?: NullableStringFieldUpdateOperationsInput | string | null pdfPath?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ReportUncheckedUpdateWithoutCheckInput = { id?: StringFieldUpdateOperationsInput | string markdownPath?: NullableStringFieldUpdateOperationsInput | string | null pdfPath?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ReportUncheckedUpdateManyWithoutCheckInput = { id?: StringFieldUpdateOperationsInput | string markdownPath?: NullableStringFieldUpdateOperationsInput | string | null pdfPath?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string } /** * Aliases for legacy arg types */ /** * @deprecated Use UserCountOutputTypeDefaultArgs instead */ export type UserCountOutputTypeArgs = UserCountOutputTypeDefaultArgs /** * @deprecated Use OrganizationCountOutputTypeDefaultArgs instead */ export type OrganizationCountOutputTypeArgs = OrganizationCountOutputTypeDefaultArgs /** * @deprecated Use ProjectCountOutputTypeDefaultArgs instead */ export type ProjectCountOutputTypeArgs = ProjectCountOutputTypeDefaultArgs /** * @deprecated Use CheckCountOutputTypeDefaultArgs instead */ export type CheckCountOutputTypeArgs = CheckCountOutputTypeDefaultArgs /** * @deprecated Use UserDefaultArgs instead */ export type UserArgs = UserDefaultArgs /** * @deprecated Use OrganizationDefaultArgs instead */ export type OrganizationArgs = OrganizationDefaultArgs /** * @deprecated Use OrgMembershipDefaultArgs instead */ export type OrgMembershipArgs = OrgMembershipDefaultArgs /** * @deprecated Use ProjectDefaultArgs instead */ export type ProjectArgs = ProjectDefaultArgs /** * @deprecated Use CheckDefaultArgs instead */ export type CheckArgs = CheckDefaultArgs /** * @deprecated Use HopDefaultArgs instead */ export type HopArgs = HopDefaultArgs /** * @deprecated Use SslInspectionDefaultArgs instead */ export type SslInspectionArgs = SslInspectionDefaultArgs /** * @deprecated Use SeoFlagsDefaultArgs instead */ export type SeoFlagsArgs = SeoFlagsDefaultArgs /** * @deprecated Use SecurityFlagsDefaultArgs instead */ export type SecurityFlagsArgs = SecurityFlagsDefaultArgs /** * @deprecated Use ReportDefaultArgs instead */ export type ReportArgs = ReportDefaultArgs /** * @deprecated Use BulkJobDefaultArgs instead */ export type BulkJobArgs = BulkJobDefaultArgs /** * @deprecated Use ApiKeyDefaultArgs instead */ export type ApiKeyArgs = ApiKeyDefaultArgs /** * @deprecated Use AuditLogDefaultArgs instead */ export type AuditLogArgs = AuditLogDefaultArgs /** * Batch Payload for updateMany & deleteMany & createMany */ export type BatchPayload = { count: number } /** * DMMF */ export const dmmf: runtime.BaseDMMF }