Files
url_tracker_tool/node_modules/.prisma/client/index.d.ts
Andrei 58f8093689 Rebrand from 'Redirect Intelligence v2' to 'URL Tracker Tool V2' throughout UI
- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
2025-08-19 19:12:23 +00:00

22497 lines
815 KiB
TypeScript

/**
* 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<T> = $Public.PrismaPromise<T>
/**
* Model User
*
*/
export type User = $Result.DefaultSelection<Prisma.$UserPayload>
/**
* Model Organization
*
*/
export type Organization = $Result.DefaultSelection<Prisma.$OrganizationPayload>
/**
* Model OrgMembership
*
*/
export type OrgMembership = $Result.DefaultSelection<Prisma.$OrgMembershipPayload>
/**
* Model Project
*
*/
export type Project = $Result.DefaultSelection<Prisma.$ProjectPayload>
/**
* Model Check
*
*/
export type Check = $Result.DefaultSelection<Prisma.$CheckPayload>
/**
* Model Hop
*
*/
export type Hop = $Result.DefaultSelection<Prisma.$HopPayload>
/**
* Model SslInspection
*
*/
export type SslInspection = $Result.DefaultSelection<Prisma.$SslInspectionPayload>
/**
* Model SeoFlags
*
*/
export type SeoFlags = $Result.DefaultSelection<Prisma.$SeoFlagsPayload>
/**
* Model SecurityFlags
*
*/
export type SecurityFlags = $Result.DefaultSelection<Prisma.$SecurityFlagsPayload>
/**
* Model Report
*
*/
export type Report = $Result.DefaultSelection<Prisma.$ReportPayload>
/**
* Model BulkJob
*
*/
export type BulkJob = $Result.DefaultSelection<Prisma.$BulkJobPayload>
/**
* Model ApiKey
*
*/
export type ApiKey = $Result.DefaultSelection<Prisma.$ApiKeyPayload>
/**
* Model AuditLog
*
*/
export type AuditLog = $Result.DefaultSelection<Prisma.$AuditLogPayload>
/**
* 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.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never,
ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs
> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<ClientOptions, Prisma.PrismaClientOptions>);
$on<V extends U>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): void;
/**
* Connect with the database
*/
$connect(): $Utils.JsPromise<void>;
/**
* Disconnect from the database
*/
$disconnect(): $Utils.JsPromise<void>;
/**
* 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<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
/**
* 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<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
/**
* 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<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
/**
* 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<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
/**
* 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<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>
$transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => $Utils.JsPromise<R>, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<R>
$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<ExtArgs>;
/**
* `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<ExtArgs>;
/**
* `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<ExtArgs>;
/**
* `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<ExtArgs>;
/**
* `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<ExtArgs>;
/**
* `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<ExtArgs>;
/**
* `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<ExtArgs>;
/**
* `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<ExtArgs>;
/**
* `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<ExtArgs>;
/**
* `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<ExtArgs>;
/**
* `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<ExtArgs>;
/**
* `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<ExtArgs>;
/**
* `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<ExtArgs>;
}
export namespace Prisma {
export import DMMF = runtime.DMMF
export type PrismaPromise<T> = $Public.PrismaPromise<T>
/**
* 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<T> = runtime.Metric<T>
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<any>> = T extends PromiseLike<infer U> ? U : T;
/**
* Get the return type of a function which returns a Promise.
*/
export type PromiseReturnType<T extends (...args: any) => $Utils.JsPromise<any>> = PromiseType<ReturnType<T>>
/**
* From T, pick a set of properties whose keys are in the union K
*/
type Prisma__Pick<T, K extends keyof T> = {
[P in K]: T[P];
};
export type Enumerable<T> = T | Array<T>;
export type RequiredKeys<T> = {
[K in keyof T]-?: {} extends Prisma__Pick<T, K> ? never : K
}[keyof T]
export type TruthyKeys<T> = keyof {
[K in keyof T as T[K] extends false | undefined | null ? never : K]: K
}
export type TrueKeys<T> = TruthyKeys<Prisma__Pick<T, RequiredKeys<T>>>
/**
* Subset
* @desc From `T` pick properties that exist in `U`. Simple version of Intersection
*/
export type Subset<T, U> = {
[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<T, U> = {
[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<T, U, K> = {
[key in keyof T]: key extends keyof U ? T[key] : never
} &
K
type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: 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, U> =
T extends object ?
U extends object ?
(Without<T, U> & U) | (Without<U, T> & T)
: U : T
/**
* Is T a Record?
*/
type IsObject<T extends any> = T extends Array<any>
? 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 unknown> = T extends Array<infer U> ? U : T
/**
* From ts-toolbelt
*/
type __Either<O extends object, K extends Key> = Omit<O, K> &
{
// Merge all but K
[P in K]: Prisma__Pick<O, P & keyof O> // With K possibilities
}[K]
type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>
type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>
type _Either<
O extends object,
K extends Key,
strict extends Boolean
> = {
1: EitherStrict<O, K>
0: EitherLoose<O, K>
}[strict]
type Either<
O extends object,
K extends Key,
strict extends Boolean = 1
> = O extends unknown ? _Either<O, K, strict> : never
export type Union = any
type PatchUndefined<O extends object, O1 extends object> = {
[K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K]
} & {}
/** Helper Types for "Merge" **/
export type IntersectOf<U extends Union> = (
U extends unknown ? (k: U) => void : never
) extends (k: infer I) => void
? I
: never
export type Overwrite<O extends object, O1 extends object> = {
[K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
} & {};
type _Merge<U extends object> = IntersectOf<Overwrite<U, {
[K in keyof U]-?: At<U, K>;
}>>;
type Key = string | number | symbol;
type AtBasic<O extends object, K extends Key> = K extends keyof O ? O[K] : never;
type AtStrict<O extends object, K extends Key> = O[K & keyof O];
type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
export type At<O extends object, K extends Key, strict extends Boolean = 1> = {
1: AtStrict<O, K>;
0: AtLoose<O, K>;
}[strict];
export type ComputeRaw<A extends any> = A extends Function ? A : {
[K in keyof A]: A[K];
} & {};
export type OptionalFlat<O> = {
[K in keyof O]?: O[K];
} & {};
type _Record<K extends keyof any, T> = {
[P in K]: T;
};
// cause typescript not to expand types and preserve names
type NoExpand<T> = T extends unknown ? T : never;
// this type assumes the passed object is entirely optional
type AtLeast<O extends object, K extends string> = 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, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
export type Strict<U extends object> = ComputeRaw<_Strict<U>>;
/** End Helper Types for "Merge" **/
export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
/**
A [[Boolean]]
*/
export type Boolean = True | False
// /**
// 1
// */
export type True = 1
/**
0
*/
export type False = 0
export type Not<B extends Boolean> = {
0: 1
1: 0
}[B]
export type Extends<A1 extends any, A2 extends any> = [A1] extends [never]
? 0 // anything `never` is false
: A1 extends A2
? 1
: 0
export type Has<U extends Union, U1 extends Union> = Not<
Extends<Exclude<U1, U>, U1>
>
export type Or<B1 extends Boolean, B2 extends Boolean> = {
0: {
0: 0
1: 1
}
1: {
0: 1
1: 1
}
}[B1][B2]
export type Keys<U extends Union> = U extends unknown ? keyof U : never
type Cast<A, B> = A extends B ? A : B;
export const type: unique symbol;
/**
* Used by group by
*/
export type GetScalarType<T, O> = O extends object ? {
[P in keyof T]: P extends keyof O
? O[P]
: never
} : never
type FieldPaths<
T,
U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>
> = IsObject<T> extends True ? U : T
type GetHavingFields<T> = {
[K in keyof T]: Or<
Or<Extends<'OR', K>, 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<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never>
: never
: {} extends FieldPaths<T[K]>
? never
: K
}[keyof T]
/**
* Convert tuple to union
*/
type _TupleToUnion<T> = T extends (infer E)[] ? E : never
type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>
type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T
/**
* Like `Pick`, but additionally can also accept an array of keys
*/
type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>
/**
* Exclude all keys with underscores
*/
type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T
export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>
type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>
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<string, any>> {
returns: Prisma.TypeMap<this['params']['extArgs'], this['params']['clientOptions']>
}
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
meta: {
modelProps: "user" | "organization" | "orgMembership" | "project" | "check" | "hop" | "sslInspection" | "seoFlags" | "securityFlags" | "report" | "bulkJob" | "apiKey" | "auditLog"
txIsolationLevel: Prisma.TransactionIsolationLevel
}
model: {
User: {
payload: Prisma.$UserPayload<ExtArgs>
fields: Prisma.UserFieldRefs
operations: {
findUnique: {
args: Prisma.UserFindUniqueArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$UserPayload> | null
}
findUniqueOrThrow: {
args: Prisma.UserFindUniqueOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$UserPayload>
}
findFirst: {
args: Prisma.UserFindFirstArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$UserPayload> | null
}
findFirstOrThrow: {
args: Prisma.UserFindFirstOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$UserPayload>
}
findMany: {
args: Prisma.UserFindManyArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$UserPayload>[]
}
create: {
args: Prisma.UserCreateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$UserPayload>
}
createMany: {
args: Prisma.UserCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.UserCreateManyAndReturnArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$UserPayload>[]
}
delete: {
args: Prisma.UserDeleteArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$UserPayload>
}
update: {
args: Prisma.UserUpdateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$UserPayload>
}
deleteMany: {
args: Prisma.UserDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.UserUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.UserUpsertArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$UserPayload>
}
aggregate: {
args: Prisma.UserAggregateArgs<ExtArgs>
result: $Utils.Optional<AggregateUser>
}
groupBy: {
args: Prisma.UserGroupByArgs<ExtArgs>
result: $Utils.Optional<UserGroupByOutputType>[]
}
count: {
args: Prisma.UserCountArgs<ExtArgs>
result: $Utils.Optional<UserCountAggregateOutputType> | number
}
}
}
Organization: {
payload: Prisma.$OrganizationPayload<ExtArgs>
fields: Prisma.OrganizationFieldRefs
operations: {
findUnique: {
args: Prisma.OrganizationFindUniqueArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrganizationPayload> | null
}
findUniqueOrThrow: {
args: Prisma.OrganizationFindUniqueOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrganizationPayload>
}
findFirst: {
args: Prisma.OrganizationFindFirstArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrganizationPayload> | null
}
findFirstOrThrow: {
args: Prisma.OrganizationFindFirstOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrganizationPayload>
}
findMany: {
args: Prisma.OrganizationFindManyArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrganizationPayload>[]
}
create: {
args: Prisma.OrganizationCreateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrganizationPayload>
}
createMany: {
args: Prisma.OrganizationCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.OrganizationCreateManyAndReturnArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrganizationPayload>[]
}
delete: {
args: Prisma.OrganizationDeleteArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrganizationPayload>
}
update: {
args: Prisma.OrganizationUpdateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrganizationPayload>
}
deleteMany: {
args: Prisma.OrganizationDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.OrganizationUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.OrganizationUpsertArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrganizationPayload>
}
aggregate: {
args: Prisma.OrganizationAggregateArgs<ExtArgs>
result: $Utils.Optional<AggregateOrganization>
}
groupBy: {
args: Prisma.OrganizationGroupByArgs<ExtArgs>
result: $Utils.Optional<OrganizationGroupByOutputType>[]
}
count: {
args: Prisma.OrganizationCountArgs<ExtArgs>
result: $Utils.Optional<OrganizationCountAggregateOutputType> | number
}
}
}
OrgMembership: {
payload: Prisma.$OrgMembershipPayload<ExtArgs>
fields: Prisma.OrgMembershipFieldRefs
operations: {
findUnique: {
args: Prisma.OrgMembershipFindUniqueArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrgMembershipPayload> | null
}
findUniqueOrThrow: {
args: Prisma.OrgMembershipFindUniqueOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrgMembershipPayload>
}
findFirst: {
args: Prisma.OrgMembershipFindFirstArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrgMembershipPayload> | null
}
findFirstOrThrow: {
args: Prisma.OrgMembershipFindFirstOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrgMembershipPayload>
}
findMany: {
args: Prisma.OrgMembershipFindManyArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrgMembershipPayload>[]
}
create: {
args: Prisma.OrgMembershipCreateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrgMembershipPayload>
}
createMany: {
args: Prisma.OrgMembershipCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.OrgMembershipCreateManyAndReturnArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrgMembershipPayload>[]
}
delete: {
args: Prisma.OrgMembershipDeleteArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrgMembershipPayload>
}
update: {
args: Prisma.OrgMembershipUpdateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrgMembershipPayload>
}
deleteMany: {
args: Prisma.OrgMembershipDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.OrgMembershipUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.OrgMembershipUpsertArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$OrgMembershipPayload>
}
aggregate: {
args: Prisma.OrgMembershipAggregateArgs<ExtArgs>
result: $Utils.Optional<AggregateOrgMembership>
}
groupBy: {
args: Prisma.OrgMembershipGroupByArgs<ExtArgs>
result: $Utils.Optional<OrgMembershipGroupByOutputType>[]
}
count: {
args: Prisma.OrgMembershipCountArgs<ExtArgs>
result: $Utils.Optional<OrgMembershipCountAggregateOutputType> | number
}
}
}
Project: {
payload: Prisma.$ProjectPayload<ExtArgs>
fields: Prisma.ProjectFieldRefs
operations: {
findUnique: {
args: Prisma.ProjectFindUniqueArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ProjectPayload> | null
}
findUniqueOrThrow: {
args: Prisma.ProjectFindUniqueOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>
}
findFirst: {
args: Prisma.ProjectFindFirstArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ProjectPayload> | null
}
findFirstOrThrow: {
args: Prisma.ProjectFindFirstOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>
}
findMany: {
args: Prisma.ProjectFindManyArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>[]
}
create: {
args: Prisma.ProjectCreateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>
}
createMany: {
args: Prisma.ProjectCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.ProjectCreateManyAndReturnArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>[]
}
delete: {
args: Prisma.ProjectDeleteArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>
}
update: {
args: Prisma.ProjectUpdateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>
}
deleteMany: {
args: Prisma.ProjectDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.ProjectUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.ProjectUpsertArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>
}
aggregate: {
args: Prisma.ProjectAggregateArgs<ExtArgs>
result: $Utils.Optional<AggregateProject>
}
groupBy: {
args: Prisma.ProjectGroupByArgs<ExtArgs>
result: $Utils.Optional<ProjectGroupByOutputType>[]
}
count: {
args: Prisma.ProjectCountArgs<ExtArgs>
result: $Utils.Optional<ProjectCountAggregateOutputType> | number
}
}
}
Check: {
payload: Prisma.$CheckPayload<ExtArgs>
fields: Prisma.CheckFieldRefs
operations: {
findUnique: {
args: Prisma.CheckFindUniqueArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$CheckPayload> | null
}
findUniqueOrThrow: {
args: Prisma.CheckFindUniqueOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$CheckPayload>
}
findFirst: {
args: Prisma.CheckFindFirstArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$CheckPayload> | null
}
findFirstOrThrow: {
args: Prisma.CheckFindFirstOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$CheckPayload>
}
findMany: {
args: Prisma.CheckFindManyArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$CheckPayload>[]
}
create: {
args: Prisma.CheckCreateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$CheckPayload>
}
createMany: {
args: Prisma.CheckCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.CheckCreateManyAndReturnArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$CheckPayload>[]
}
delete: {
args: Prisma.CheckDeleteArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$CheckPayload>
}
update: {
args: Prisma.CheckUpdateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$CheckPayload>
}
deleteMany: {
args: Prisma.CheckDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.CheckUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.CheckUpsertArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$CheckPayload>
}
aggregate: {
args: Prisma.CheckAggregateArgs<ExtArgs>
result: $Utils.Optional<AggregateCheck>
}
groupBy: {
args: Prisma.CheckGroupByArgs<ExtArgs>
result: $Utils.Optional<CheckGroupByOutputType>[]
}
count: {
args: Prisma.CheckCountArgs<ExtArgs>
result: $Utils.Optional<CheckCountAggregateOutputType> | number
}
}
}
Hop: {
payload: Prisma.$HopPayload<ExtArgs>
fields: Prisma.HopFieldRefs
operations: {
findUnique: {
args: Prisma.HopFindUniqueArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$HopPayload> | null
}
findUniqueOrThrow: {
args: Prisma.HopFindUniqueOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$HopPayload>
}
findFirst: {
args: Prisma.HopFindFirstArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$HopPayload> | null
}
findFirstOrThrow: {
args: Prisma.HopFindFirstOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$HopPayload>
}
findMany: {
args: Prisma.HopFindManyArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$HopPayload>[]
}
create: {
args: Prisma.HopCreateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$HopPayload>
}
createMany: {
args: Prisma.HopCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.HopCreateManyAndReturnArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$HopPayload>[]
}
delete: {
args: Prisma.HopDeleteArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$HopPayload>
}
update: {
args: Prisma.HopUpdateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$HopPayload>
}
deleteMany: {
args: Prisma.HopDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.HopUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.HopUpsertArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$HopPayload>
}
aggregate: {
args: Prisma.HopAggregateArgs<ExtArgs>
result: $Utils.Optional<AggregateHop>
}
groupBy: {
args: Prisma.HopGroupByArgs<ExtArgs>
result: $Utils.Optional<HopGroupByOutputType>[]
}
count: {
args: Prisma.HopCountArgs<ExtArgs>
result: $Utils.Optional<HopCountAggregateOutputType> | number
}
}
}
SslInspection: {
payload: Prisma.$SslInspectionPayload<ExtArgs>
fields: Prisma.SslInspectionFieldRefs
operations: {
findUnique: {
args: Prisma.SslInspectionFindUniqueArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SslInspectionPayload> | null
}
findUniqueOrThrow: {
args: Prisma.SslInspectionFindUniqueOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SslInspectionPayload>
}
findFirst: {
args: Prisma.SslInspectionFindFirstArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SslInspectionPayload> | null
}
findFirstOrThrow: {
args: Prisma.SslInspectionFindFirstOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SslInspectionPayload>
}
findMany: {
args: Prisma.SslInspectionFindManyArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SslInspectionPayload>[]
}
create: {
args: Prisma.SslInspectionCreateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SslInspectionPayload>
}
createMany: {
args: Prisma.SslInspectionCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.SslInspectionCreateManyAndReturnArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SslInspectionPayload>[]
}
delete: {
args: Prisma.SslInspectionDeleteArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SslInspectionPayload>
}
update: {
args: Prisma.SslInspectionUpdateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SslInspectionPayload>
}
deleteMany: {
args: Prisma.SslInspectionDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.SslInspectionUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.SslInspectionUpsertArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SslInspectionPayload>
}
aggregate: {
args: Prisma.SslInspectionAggregateArgs<ExtArgs>
result: $Utils.Optional<AggregateSslInspection>
}
groupBy: {
args: Prisma.SslInspectionGroupByArgs<ExtArgs>
result: $Utils.Optional<SslInspectionGroupByOutputType>[]
}
count: {
args: Prisma.SslInspectionCountArgs<ExtArgs>
result: $Utils.Optional<SslInspectionCountAggregateOutputType> | number
}
}
}
SeoFlags: {
payload: Prisma.$SeoFlagsPayload<ExtArgs>
fields: Prisma.SeoFlagsFieldRefs
operations: {
findUnique: {
args: Prisma.SeoFlagsFindUniqueArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SeoFlagsPayload> | null
}
findUniqueOrThrow: {
args: Prisma.SeoFlagsFindUniqueOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SeoFlagsPayload>
}
findFirst: {
args: Prisma.SeoFlagsFindFirstArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SeoFlagsPayload> | null
}
findFirstOrThrow: {
args: Prisma.SeoFlagsFindFirstOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SeoFlagsPayload>
}
findMany: {
args: Prisma.SeoFlagsFindManyArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SeoFlagsPayload>[]
}
create: {
args: Prisma.SeoFlagsCreateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SeoFlagsPayload>
}
createMany: {
args: Prisma.SeoFlagsCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.SeoFlagsCreateManyAndReturnArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SeoFlagsPayload>[]
}
delete: {
args: Prisma.SeoFlagsDeleteArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SeoFlagsPayload>
}
update: {
args: Prisma.SeoFlagsUpdateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SeoFlagsPayload>
}
deleteMany: {
args: Prisma.SeoFlagsDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.SeoFlagsUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.SeoFlagsUpsertArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SeoFlagsPayload>
}
aggregate: {
args: Prisma.SeoFlagsAggregateArgs<ExtArgs>
result: $Utils.Optional<AggregateSeoFlags>
}
groupBy: {
args: Prisma.SeoFlagsGroupByArgs<ExtArgs>
result: $Utils.Optional<SeoFlagsGroupByOutputType>[]
}
count: {
args: Prisma.SeoFlagsCountArgs<ExtArgs>
result: $Utils.Optional<SeoFlagsCountAggregateOutputType> | number
}
}
}
SecurityFlags: {
payload: Prisma.$SecurityFlagsPayload<ExtArgs>
fields: Prisma.SecurityFlagsFieldRefs
operations: {
findUnique: {
args: Prisma.SecurityFlagsFindUniqueArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SecurityFlagsPayload> | null
}
findUniqueOrThrow: {
args: Prisma.SecurityFlagsFindUniqueOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SecurityFlagsPayload>
}
findFirst: {
args: Prisma.SecurityFlagsFindFirstArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SecurityFlagsPayload> | null
}
findFirstOrThrow: {
args: Prisma.SecurityFlagsFindFirstOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SecurityFlagsPayload>
}
findMany: {
args: Prisma.SecurityFlagsFindManyArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SecurityFlagsPayload>[]
}
create: {
args: Prisma.SecurityFlagsCreateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SecurityFlagsPayload>
}
createMany: {
args: Prisma.SecurityFlagsCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.SecurityFlagsCreateManyAndReturnArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SecurityFlagsPayload>[]
}
delete: {
args: Prisma.SecurityFlagsDeleteArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SecurityFlagsPayload>
}
update: {
args: Prisma.SecurityFlagsUpdateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SecurityFlagsPayload>
}
deleteMany: {
args: Prisma.SecurityFlagsDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.SecurityFlagsUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.SecurityFlagsUpsertArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$SecurityFlagsPayload>
}
aggregate: {
args: Prisma.SecurityFlagsAggregateArgs<ExtArgs>
result: $Utils.Optional<AggregateSecurityFlags>
}
groupBy: {
args: Prisma.SecurityFlagsGroupByArgs<ExtArgs>
result: $Utils.Optional<SecurityFlagsGroupByOutputType>[]
}
count: {
args: Prisma.SecurityFlagsCountArgs<ExtArgs>
result: $Utils.Optional<SecurityFlagsCountAggregateOutputType> | number
}
}
}
Report: {
payload: Prisma.$ReportPayload<ExtArgs>
fields: Prisma.ReportFieldRefs
operations: {
findUnique: {
args: Prisma.ReportFindUniqueArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ReportPayload> | null
}
findUniqueOrThrow: {
args: Prisma.ReportFindUniqueOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ReportPayload>
}
findFirst: {
args: Prisma.ReportFindFirstArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ReportPayload> | null
}
findFirstOrThrow: {
args: Prisma.ReportFindFirstOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ReportPayload>
}
findMany: {
args: Prisma.ReportFindManyArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ReportPayload>[]
}
create: {
args: Prisma.ReportCreateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ReportPayload>
}
createMany: {
args: Prisma.ReportCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.ReportCreateManyAndReturnArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ReportPayload>[]
}
delete: {
args: Prisma.ReportDeleteArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ReportPayload>
}
update: {
args: Prisma.ReportUpdateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ReportPayload>
}
deleteMany: {
args: Prisma.ReportDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.ReportUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.ReportUpsertArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ReportPayload>
}
aggregate: {
args: Prisma.ReportAggregateArgs<ExtArgs>
result: $Utils.Optional<AggregateReport>
}
groupBy: {
args: Prisma.ReportGroupByArgs<ExtArgs>
result: $Utils.Optional<ReportGroupByOutputType>[]
}
count: {
args: Prisma.ReportCountArgs<ExtArgs>
result: $Utils.Optional<ReportCountAggregateOutputType> | number
}
}
}
BulkJob: {
payload: Prisma.$BulkJobPayload<ExtArgs>
fields: Prisma.BulkJobFieldRefs
operations: {
findUnique: {
args: Prisma.BulkJobFindUniqueArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$BulkJobPayload> | null
}
findUniqueOrThrow: {
args: Prisma.BulkJobFindUniqueOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$BulkJobPayload>
}
findFirst: {
args: Prisma.BulkJobFindFirstArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$BulkJobPayload> | null
}
findFirstOrThrow: {
args: Prisma.BulkJobFindFirstOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$BulkJobPayload>
}
findMany: {
args: Prisma.BulkJobFindManyArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$BulkJobPayload>[]
}
create: {
args: Prisma.BulkJobCreateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$BulkJobPayload>
}
createMany: {
args: Prisma.BulkJobCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.BulkJobCreateManyAndReturnArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$BulkJobPayload>[]
}
delete: {
args: Prisma.BulkJobDeleteArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$BulkJobPayload>
}
update: {
args: Prisma.BulkJobUpdateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$BulkJobPayload>
}
deleteMany: {
args: Prisma.BulkJobDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.BulkJobUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.BulkJobUpsertArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$BulkJobPayload>
}
aggregate: {
args: Prisma.BulkJobAggregateArgs<ExtArgs>
result: $Utils.Optional<AggregateBulkJob>
}
groupBy: {
args: Prisma.BulkJobGroupByArgs<ExtArgs>
result: $Utils.Optional<BulkJobGroupByOutputType>[]
}
count: {
args: Prisma.BulkJobCountArgs<ExtArgs>
result: $Utils.Optional<BulkJobCountAggregateOutputType> | number
}
}
}
ApiKey: {
payload: Prisma.$ApiKeyPayload<ExtArgs>
fields: Prisma.ApiKeyFieldRefs
operations: {
findUnique: {
args: Prisma.ApiKeyFindUniqueArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ApiKeyPayload> | null
}
findUniqueOrThrow: {
args: Prisma.ApiKeyFindUniqueOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ApiKeyPayload>
}
findFirst: {
args: Prisma.ApiKeyFindFirstArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ApiKeyPayload> | null
}
findFirstOrThrow: {
args: Prisma.ApiKeyFindFirstOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ApiKeyPayload>
}
findMany: {
args: Prisma.ApiKeyFindManyArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ApiKeyPayload>[]
}
create: {
args: Prisma.ApiKeyCreateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ApiKeyPayload>
}
createMany: {
args: Prisma.ApiKeyCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.ApiKeyCreateManyAndReturnArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ApiKeyPayload>[]
}
delete: {
args: Prisma.ApiKeyDeleteArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ApiKeyPayload>
}
update: {
args: Prisma.ApiKeyUpdateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ApiKeyPayload>
}
deleteMany: {
args: Prisma.ApiKeyDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.ApiKeyUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.ApiKeyUpsertArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$ApiKeyPayload>
}
aggregate: {
args: Prisma.ApiKeyAggregateArgs<ExtArgs>
result: $Utils.Optional<AggregateApiKey>
}
groupBy: {
args: Prisma.ApiKeyGroupByArgs<ExtArgs>
result: $Utils.Optional<ApiKeyGroupByOutputType>[]
}
count: {
args: Prisma.ApiKeyCountArgs<ExtArgs>
result: $Utils.Optional<ApiKeyCountAggregateOutputType> | number
}
}
}
AuditLog: {
payload: Prisma.$AuditLogPayload<ExtArgs>
fields: Prisma.AuditLogFieldRefs
operations: {
findUnique: {
args: Prisma.AuditLogFindUniqueArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$AuditLogPayload> | null
}
findUniqueOrThrow: {
args: Prisma.AuditLogFindUniqueOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>
}
findFirst: {
args: Prisma.AuditLogFindFirstArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$AuditLogPayload> | null
}
findFirstOrThrow: {
args: Prisma.AuditLogFindFirstOrThrowArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>
}
findMany: {
args: Prisma.AuditLogFindManyArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>[]
}
create: {
args: Prisma.AuditLogCreateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>
}
createMany: {
args: Prisma.AuditLogCreateManyArgs<ExtArgs>
result: BatchPayload
}
createManyAndReturn: {
args: Prisma.AuditLogCreateManyAndReturnArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>[]
}
delete: {
args: Prisma.AuditLogDeleteArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>
}
update: {
args: Prisma.AuditLogUpdateArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>
}
deleteMany: {
args: Prisma.AuditLogDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.AuditLogUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.AuditLogUpsertArgs<ExtArgs>
result: $Utils.PayloadToResult<Prisma.$AuditLogPayload>
}
aggregate: {
args: Prisma.AuditLogAggregateArgs<ExtArgs>
result: $Utils.Optional<AggregateAuditLog>
}
groupBy: {
args: Prisma.AuditLogGroupByArgs<ExtArgs>
result: $Utils.Optional<AuditLogGroupByOutputType>[]
}
count: {
args: Prisma.AuditLogCountArgs<ExtArgs>
result: $Utils.Optional<AuditLogCountAggregateOutputType> | 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 LogLevel | LogDefinition> = T extends LogDefinition ? T['emit'] extends 'event' ? T['level'] : never : never
export type GetEvents<T extends any> = T extends Array<LogLevel | LogDefinition> ?
GetLogType<T[0]> | GetLogType<T[1]> | GetLogType<T[2]> | GetLogType<T[3]>
: 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<T = any> = (
params: MiddlewareParams,
next: (params: MiddlewareParams) => $Utils.JsPromise<T>,
) => $Utils.JsPromise<T>
// tested in getLogLevel.test.ts
export function getLogLevel(log: Array<LogLevel | LogDefinition>): LogLevel | undefined;
/**
* `PrismaClient` proxy available in interactive transactions.
*/
export type TransactionClient = Omit<Prisma.DefaultPrismaClient, runtime.ITXClientDenyList>
export type Datasource = {
url?: string
}
/**
* Count Types
*/
/**
* Count Type UserCountOutputType
*/
export type UserCountOutputType = {
memberships: number
auditLogs: number
bulkJobs: number
}
export type UserCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
memberships?: boolean | UserCountOutputTypeCountMembershipsArgs
auditLogs?: boolean | UserCountOutputTypeCountAuditLogsArgs
bulkJobs?: boolean | UserCountOutputTypeCountBulkJobsArgs
}
// Custom InputTypes
/**
* UserCountOutputType without action
*/
export type UserCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the UserCountOutputType
*/
select?: UserCountOutputTypeSelect<ExtArgs> | null
}
/**
* UserCountOutputType without action
*/
export type UserCountOutputTypeCountMembershipsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
where?: OrgMembershipWhereInput
}
/**
* UserCountOutputType without action
*/
export type UserCountOutputTypeCountAuditLogsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
where?: AuditLogWhereInput
}
/**
* UserCountOutputType without action
*/
export type UserCountOutputTypeCountBulkJobsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
where?: BulkJobWhereInput
}
/**
* Count Type OrganizationCountOutputType
*/
export type OrganizationCountOutputType = {
memberships: number
projects: number
apiKeys: number
auditLogs: number
bulkJobs: number
}
export type OrganizationCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
memberships?: boolean | OrganizationCountOutputTypeCountMembershipsArgs
projects?: boolean | OrganizationCountOutputTypeCountProjectsArgs
apiKeys?: boolean | OrganizationCountOutputTypeCountApiKeysArgs
auditLogs?: boolean | OrganizationCountOutputTypeCountAuditLogsArgs
bulkJobs?: boolean | OrganizationCountOutputTypeCountBulkJobsArgs
}
// Custom InputTypes
/**
* OrganizationCountOutputType without action
*/
export type OrganizationCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the OrganizationCountOutputType
*/
select?: OrganizationCountOutputTypeSelect<ExtArgs> | null
}
/**
* OrganizationCountOutputType without action
*/
export type OrganizationCountOutputTypeCountMembershipsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
where?: OrgMembershipWhereInput
}
/**
* OrganizationCountOutputType without action
*/
export type OrganizationCountOutputTypeCountProjectsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
where?: ProjectWhereInput
}
/**
* OrganizationCountOutputType without action
*/
export type OrganizationCountOutputTypeCountApiKeysArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
where?: ApiKeyWhereInput
}
/**
* OrganizationCountOutputType without action
*/
export type OrganizationCountOutputTypeCountAuditLogsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
where?: AuditLogWhereInput
}
/**
* OrganizationCountOutputType without action
*/
export type OrganizationCountOutputTypeCountBulkJobsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
where?: BulkJobWhereInput
}
/**
* Count Type ProjectCountOutputType
*/
export type ProjectCountOutputType = {
checks: number
bulkJobs: number
}
export type ProjectCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
checks?: boolean | ProjectCountOutputTypeCountChecksArgs
bulkJobs?: boolean | ProjectCountOutputTypeCountBulkJobsArgs
}
// Custom InputTypes
/**
* ProjectCountOutputType without action
*/
export type ProjectCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ProjectCountOutputType
*/
select?: ProjectCountOutputTypeSelect<ExtArgs> | null
}
/**
* ProjectCountOutputType without action
*/
export type ProjectCountOutputTypeCountChecksArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
where?: CheckWhereInput
}
/**
* ProjectCountOutputType without action
*/
export type ProjectCountOutputTypeCountBulkJobsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
where?: BulkJobWhereInput
}
/**
* Count Type CheckCountOutputType
*/
export type CheckCountOutputType = {
hops: number
sslInspections: number
reports: number
}
export type CheckCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
hops?: boolean | CheckCountOutputTypeCountHopsArgs
sslInspections?: boolean | CheckCountOutputTypeCountSslInspectionsArgs
reports?: boolean | CheckCountOutputTypeCountReportsArgs
}
// Custom InputTypes
/**
* CheckCountOutputType without action
*/
export type CheckCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the CheckCountOutputType
*/
select?: CheckCountOutputTypeSelect<ExtArgs> | null
}
/**
* CheckCountOutputType without action
*/
export type CheckCountOutputTypeCountHopsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
where?: HopWhereInput
}
/**
* CheckCountOutputType without action
*/
export type CheckCountOutputTypeCountSslInspectionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
where?: SslInspectionWhereInput
}
/**
* CheckCountOutputType without action
*/
export type CheckCountOutputTypeCountReportsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* 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<T extends UserAggregateArgs> = {
[P in keyof T & keyof AggregateUser]: P extends '_count' | 'count'
? T[P] extends true
? number
: GetScalarType<T[P], AggregateUser[P]>
: GetScalarType<T[P], AggregateUser[P]>
}
export type UserGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
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<T extends UserGroupByArgs> = Prisma.PrismaPromise<
Array<
PickEnumerable<UserGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: GetScalarType<T[P], UserGroupByOutputType[P]>
: GetScalarType<T[P], UserGroupByOutputType[P]>
}
>
>
export type UserSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
email?: boolean
name?: boolean
passwordHash?: boolean
createdAt?: boolean
lastLoginAt?: boolean
memberships?: boolean | User$membershipsArgs<ExtArgs>
auditLogs?: boolean | User$auditLogsArgs<ExtArgs>
bulkJobs?: boolean | User$bulkJobsArgs<ExtArgs>
_count?: boolean | UserCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["user"]>
export type UserSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
memberships?: boolean | User$membershipsArgs<ExtArgs>
auditLogs?: boolean | User$auditLogsArgs<ExtArgs>
bulkJobs?: boolean | User$bulkJobsArgs<ExtArgs>
_count?: boolean | UserCountOutputTypeDefaultArgs<ExtArgs>
}
export type UserIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
export type $UserPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "User"
objects: {
memberships: Prisma.$OrgMembershipPayload<ExtArgs>[]
auditLogs: Prisma.$AuditLogPayload<ExtArgs>[]
bulkJobs: Prisma.$BulkJobPayload<ExtArgs>[]
}
scalars: $Extensions.GetPayloadResult<{
id: string
email: string
name: string
passwordHash: string
createdAt: Date
lastLoginAt: Date | null
}, ExtArgs["result"]["user"]>
composites: {}
}
type UserGetPayload<S extends boolean | null | undefined | UserDefaultArgs> = $Result.GetResult<Prisma.$UserPayload, S>
type UserCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
Omit<UserFindManyArgs, 'select' | 'include' | 'distinct'> & {
select?: UserCountAggregateInputType | true
}
export interface UserDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends UserFindUniqueArgs>(args: SelectSubset<T, UserFindUniqueArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, 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<T extends UserFindUniqueOrThrowArgs>(args: SelectSubset<T, UserFindUniqueOrThrowArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, 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<T extends UserFindFirstArgs>(args?: SelectSubset<T, UserFindFirstArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, 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<T extends UserFindFirstOrThrowArgs>(args?: SelectSubset<T, UserFindFirstOrThrowArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, 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<T extends UserFindManyArgs>(args?: SelectSubset<T, UserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, 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<T extends UserCreateArgs>(args: SelectSubset<T, UserCreateArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, 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<T extends UserCreateManyArgs>(args?: SelectSubset<T, UserCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends UserCreateManyAndReturnArgs>(args?: SelectSubset<T, UserCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, 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<T extends UserDeleteArgs>(args: SelectSubset<T, UserDeleteArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, 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<T extends UserUpdateArgs>(args: SelectSubset<T, UserUpdateArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, 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<T extends UserDeleteManyArgs>(args?: SelectSubset<T, UserDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends UserUpdateManyArgs>(args: SelectSubset<T, UserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends UserUpsertArgs>(args: SelectSubset<T, UserUpsertArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, 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<T extends UserCountArgs>(
args?: Subset<T, UserCountArgs>,
): Prisma.PrismaPromise<
T extends $Utils.Record<'select', any>
? T['select'] extends true
? number
: GetScalarType<T['select'], UserCountAggregateOutputType>
: 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<T extends UserAggregateArgs>(args: Subset<T, UserAggregateArgs>): Prisma.PrismaPromise<GetUserAggregateType<T>>
/**
* 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<T>>,
Extends<'take', Keys<T>>
>,
OrderByArg extends True extends HasSelectOrTake
? { orderBy: UserGroupByArgs['orderBy'] }
: { orderBy?: UserGroupByArgs['orderBy'] },
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends MaybeTupleToUnion<T['by']>,
ByValid extends Has<ByFields, OrderFields>,
HavingFields extends GetHavingFields<T['having']>,
HavingValid extends Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Keys<T>
? 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<T>
? 'orderBy' extends Keys<T>
? 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<T, UserGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
memberships<T extends User$membershipsArgs<ExtArgs> = {}>(args?: Subset<T, User$membershipsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrgMembershipPayload<ExtArgs>, T, "findMany"> | Null>
auditLogs<T extends User$auditLogsArgs<ExtArgs> = {}>(args?: Subset<T, User$auditLogsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "findMany"> | Null>
bulkJobs<T extends User$bulkJobsArgs<ExtArgs> = {}>(args?: Subset<T, User$bulkJobsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$BulkJobPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
*/
select?: UserSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: UserInclude<ExtArgs> | null
/**
* Filter, which User to fetch.
*/
where: UserWhereUniqueInput
}
/**
* User findUniqueOrThrow
*/
export type UserFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
*/
select?: UserSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: UserInclude<ExtArgs> | null
/**
* Filter, which User to fetch.
*/
where: UserWhereUniqueInput
}
/**
* User findFirst
*/
export type UserFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
*/
select?: UserSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: UserInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
*/
select?: UserSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: UserInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
*/
select?: UserSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: UserInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
*/
select?: UserSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: UserInclude<ExtArgs> | null
/**
* The data needed to create a User.
*/
data: XOR<UserCreateInput, UserUncheckedCreateInput>
}
/**
* User createMany
*/
export type UserCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to create many Users.
*/
data: UserCreateManyInput | UserCreateManyInput[]
skipDuplicates?: boolean
}
/**
* User createManyAndReturn
*/
export type UserCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
*/
select?: UserSelectCreateManyAndReturn<ExtArgs> | null
/**
* The data used to create many Users.
*/
data: UserCreateManyInput | UserCreateManyInput[]
skipDuplicates?: boolean
}
/**
* User update
*/
export type UserUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
*/
select?: UserSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: UserInclude<ExtArgs> | null
/**
* The data needed to update a User.
*/
data: XOR<UserUpdateInput, UserUncheckedUpdateInput>
/**
* Choose, which User to update.
*/
where: UserWhereUniqueInput
}
/**
* User updateMany
*/
export type UserUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to update Users.
*/
data: XOR<UserUpdateManyMutationInput, UserUncheckedUpdateManyInput>
/**
* Filter which Users to update
*/
where?: UserWhereInput
}
/**
* User upsert
*/
export type UserUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
*/
select?: UserSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: UserInclude<ExtArgs> | 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<UserCreateInput, UserUncheckedCreateInput>
/**
* In case the User was found with the provided `where` argument, update it with this data.
*/
update: XOR<UserUpdateInput, UserUncheckedUpdateInput>
}
/**
* User delete
*/
export type UserDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
*/
select?: UserSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: UserInclude<ExtArgs> | null
/**
* Filter which User to delete.
*/
where: UserWhereUniqueInput
}
/**
* User deleteMany
*/
export type UserDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Filter which Users to delete
*/
where?: UserWhereInput
}
/**
* User.memberships
*/
export type User$membershipsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the OrgMembership
*/
select?: OrgMembershipSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrgMembershipInclude<ExtArgs> | null
where?: OrgMembershipWhereInput
orderBy?: OrgMembershipOrderByWithRelationInput | OrgMembershipOrderByWithRelationInput[]
cursor?: OrgMembershipWhereUniqueInput
take?: number
skip?: number
distinct?: OrgMembershipScalarFieldEnum | OrgMembershipScalarFieldEnum[]
}
/**
* User.auditLogs
*/
export type User$auditLogsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditLog
*/
select?: AuditLogSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: AuditLogInclude<ExtArgs> | null
where?: AuditLogWhereInput
orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[]
cursor?: AuditLogWhereUniqueInput
take?: number
skip?: number
distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[]
}
/**
* User.bulkJobs
*/
export type User$bulkJobsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the BulkJob
*/
select?: BulkJobSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: BulkJobInclude<ExtArgs> | null
where?: BulkJobWhereInput
orderBy?: BulkJobOrderByWithRelationInput | BulkJobOrderByWithRelationInput[]
cursor?: BulkJobWhereUniqueInput
take?: number
skip?: number
distinct?: BulkJobScalarFieldEnum | BulkJobScalarFieldEnum[]
}
/**
* User without action
*/
export type UserDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
*/
select?: UserSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: UserInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* 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<T extends OrganizationAggregateArgs> = {
[P in keyof T & keyof AggregateOrganization]: P extends '_count' | 'count'
? T[P] extends true
? number
: GetScalarType<T[P], AggregateOrganization[P]>
: GetScalarType<T[P], AggregateOrganization[P]>
}
export type OrganizationGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
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<T extends OrganizationGroupByArgs> = Prisma.PrismaPromise<
Array<
PickEnumerable<OrganizationGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof OrganizationGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: GetScalarType<T[P], OrganizationGroupByOutputType[P]>
: GetScalarType<T[P], OrganizationGroupByOutputType[P]>
}
>
>
export type OrganizationSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
name?: boolean
plan?: boolean
createdAt?: boolean
memberships?: boolean | Organization$membershipsArgs<ExtArgs>
projects?: boolean | Organization$projectsArgs<ExtArgs>
apiKeys?: boolean | Organization$apiKeysArgs<ExtArgs>
auditLogs?: boolean | Organization$auditLogsArgs<ExtArgs>
bulkJobs?: boolean | Organization$bulkJobsArgs<ExtArgs>
_count?: boolean | OrganizationCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["organization"]>
export type OrganizationSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
memberships?: boolean | Organization$membershipsArgs<ExtArgs>
projects?: boolean | Organization$projectsArgs<ExtArgs>
apiKeys?: boolean | Organization$apiKeysArgs<ExtArgs>
auditLogs?: boolean | Organization$auditLogsArgs<ExtArgs>
bulkJobs?: boolean | Organization$bulkJobsArgs<ExtArgs>
_count?: boolean | OrganizationCountOutputTypeDefaultArgs<ExtArgs>
}
export type OrganizationIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
export type $OrganizationPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "Organization"
objects: {
memberships: Prisma.$OrgMembershipPayload<ExtArgs>[]
projects: Prisma.$ProjectPayload<ExtArgs>[]
apiKeys: Prisma.$ApiKeyPayload<ExtArgs>[]
auditLogs: Prisma.$AuditLogPayload<ExtArgs>[]
bulkJobs: Prisma.$BulkJobPayload<ExtArgs>[]
}
scalars: $Extensions.GetPayloadResult<{
id: string
name: string
plan: string
createdAt: Date
}, ExtArgs["result"]["organization"]>
composites: {}
}
type OrganizationGetPayload<S extends boolean | null | undefined | OrganizationDefaultArgs> = $Result.GetResult<Prisma.$OrganizationPayload, S>
type OrganizationCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
Omit<OrganizationFindManyArgs, 'select' | 'include' | 'distinct'> & {
select?: OrganizationCountAggregateInputType | true
}
export interface OrganizationDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends OrganizationFindUniqueArgs>(args: SelectSubset<T, OrganizationFindUniqueArgs<ExtArgs>>): Prisma__OrganizationClient<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, 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<T extends OrganizationFindUniqueOrThrowArgs>(args: SelectSubset<T, OrganizationFindUniqueOrThrowArgs<ExtArgs>>): Prisma__OrganizationClient<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, 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<T extends OrganizationFindFirstArgs>(args?: SelectSubset<T, OrganizationFindFirstArgs<ExtArgs>>): Prisma__OrganizationClient<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, 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<T extends OrganizationFindFirstOrThrowArgs>(args?: SelectSubset<T, OrganizationFindFirstOrThrowArgs<ExtArgs>>): Prisma__OrganizationClient<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, 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<T extends OrganizationFindManyArgs>(args?: SelectSubset<T, OrganizationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, 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<T extends OrganizationCreateArgs>(args: SelectSubset<T, OrganizationCreateArgs<ExtArgs>>): Prisma__OrganizationClient<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, 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<T extends OrganizationCreateManyArgs>(args?: SelectSubset<T, OrganizationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends OrganizationCreateManyAndReturnArgs>(args?: SelectSubset<T, OrganizationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, 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<T extends OrganizationDeleteArgs>(args: SelectSubset<T, OrganizationDeleteArgs<ExtArgs>>): Prisma__OrganizationClient<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, 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<T extends OrganizationUpdateArgs>(args: SelectSubset<T, OrganizationUpdateArgs<ExtArgs>>): Prisma__OrganizationClient<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, 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<T extends OrganizationDeleteManyArgs>(args?: SelectSubset<T, OrganizationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends OrganizationUpdateManyArgs>(args: SelectSubset<T, OrganizationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends OrganizationUpsertArgs>(args: SelectSubset<T, OrganizationUpsertArgs<ExtArgs>>): Prisma__OrganizationClient<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, 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<T extends OrganizationCountArgs>(
args?: Subset<T, OrganizationCountArgs>,
): Prisma.PrismaPromise<
T extends $Utils.Record<'select', any>
? T['select'] extends true
? number
: GetScalarType<T['select'], OrganizationCountAggregateOutputType>
: 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<T extends OrganizationAggregateArgs>(args: Subset<T, OrganizationAggregateArgs>): Prisma.PrismaPromise<GetOrganizationAggregateType<T>>
/**
* 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<T>>,
Extends<'take', Keys<T>>
>,
OrderByArg extends True extends HasSelectOrTake
? { orderBy: OrganizationGroupByArgs['orderBy'] }
: { orderBy?: OrganizationGroupByArgs['orderBy'] },
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends MaybeTupleToUnion<T['by']>,
ByValid extends Has<ByFields, OrderFields>,
HavingFields extends GetHavingFields<T['having']>,
HavingValid extends Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Keys<T>
? 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<T>
? 'orderBy' extends Keys<T>
? 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<T, OrganizationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrganizationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
memberships<T extends Organization$membershipsArgs<ExtArgs> = {}>(args?: Subset<T, Organization$membershipsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrgMembershipPayload<ExtArgs>, T, "findMany"> | Null>
projects<T extends Organization$projectsArgs<ExtArgs> = {}>(args?: Subset<T, Organization$projectsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findMany"> | Null>
apiKeys<T extends Organization$apiKeysArgs<ExtArgs> = {}>(args?: Subset<T, Organization$apiKeysArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findMany"> | Null>
auditLogs<T extends Organization$auditLogsArgs<ExtArgs> = {}>(args?: Subset<T, Organization$auditLogsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "findMany"> | Null>
bulkJobs<T extends Organization$bulkJobsArgs<ExtArgs> = {}>(args?: Subset<T, Organization$bulkJobsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$BulkJobPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Organization
*/
select?: OrganizationSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrganizationInclude<ExtArgs> | null
/**
* Filter, which Organization to fetch.
*/
where: OrganizationWhereUniqueInput
}
/**
* Organization findUniqueOrThrow
*/
export type OrganizationFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Organization
*/
select?: OrganizationSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrganizationInclude<ExtArgs> | null
/**
* Filter, which Organization to fetch.
*/
where: OrganizationWhereUniqueInput
}
/**
* Organization findFirst
*/
export type OrganizationFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Organization
*/
select?: OrganizationSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrganizationInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Organization
*/
select?: OrganizationSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrganizationInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Organization
*/
select?: OrganizationSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrganizationInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Organization
*/
select?: OrganizationSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrganizationInclude<ExtArgs> | null
/**
* The data needed to create a Organization.
*/
data: XOR<OrganizationCreateInput, OrganizationUncheckedCreateInput>
}
/**
* Organization createMany
*/
export type OrganizationCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to create many Organizations.
*/
data: OrganizationCreateManyInput | OrganizationCreateManyInput[]
skipDuplicates?: boolean
}
/**
* Organization createManyAndReturn
*/
export type OrganizationCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Organization
*/
select?: OrganizationSelectCreateManyAndReturn<ExtArgs> | null
/**
* The data used to create many Organizations.
*/
data: OrganizationCreateManyInput | OrganizationCreateManyInput[]
skipDuplicates?: boolean
}
/**
* Organization update
*/
export type OrganizationUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Organization
*/
select?: OrganizationSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrganizationInclude<ExtArgs> | null
/**
* The data needed to update a Organization.
*/
data: XOR<OrganizationUpdateInput, OrganizationUncheckedUpdateInput>
/**
* Choose, which Organization to update.
*/
where: OrganizationWhereUniqueInput
}
/**
* Organization updateMany
*/
export type OrganizationUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to update Organizations.
*/
data: XOR<OrganizationUpdateManyMutationInput, OrganizationUncheckedUpdateManyInput>
/**
* Filter which Organizations to update
*/
where?: OrganizationWhereInput
}
/**
* Organization upsert
*/
export type OrganizationUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Organization
*/
select?: OrganizationSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrganizationInclude<ExtArgs> | 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<OrganizationCreateInput, OrganizationUncheckedCreateInput>
/**
* In case the Organization was found with the provided `where` argument, update it with this data.
*/
update: XOR<OrganizationUpdateInput, OrganizationUncheckedUpdateInput>
}
/**
* Organization delete
*/
export type OrganizationDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Organization
*/
select?: OrganizationSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrganizationInclude<ExtArgs> | null
/**
* Filter which Organization to delete.
*/
where: OrganizationWhereUniqueInput
}
/**
* Organization deleteMany
*/
export type OrganizationDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Filter which Organizations to delete
*/
where?: OrganizationWhereInput
}
/**
* Organization.memberships
*/
export type Organization$membershipsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the OrgMembership
*/
select?: OrgMembershipSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrgMembershipInclude<ExtArgs> | null
where?: OrgMembershipWhereInput
orderBy?: OrgMembershipOrderByWithRelationInput | OrgMembershipOrderByWithRelationInput[]
cursor?: OrgMembershipWhereUniqueInput
take?: number
skip?: number
distinct?: OrgMembershipScalarFieldEnum | OrgMembershipScalarFieldEnum[]
}
/**
* Organization.projects
*/
export type Organization$projectsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: ProjectSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ProjectInclude<ExtArgs> | null
where?: ProjectWhereInput
orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[]
cursor?: ProjectWhereUniqueInput
take?: number
skip?: number
distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[]
}
/**
* Organization.apiKeys
*/
export type Organization$apiKeysArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ApiKey
*/
select?: ApiKeySelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ApiKeyInclude<ExtArgs> | null
where?: ApiKeyWhereInput
orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[]
cursor?: ApiKeyWhereUniqueInput
take?: number
skip?: number
distinct?: ApiKeyScalarFieldEnum | ApiKeyScalarFieldEnum[]
}
/**
* Organization.auditLogs
*/
export type Organization$auditLogsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditLog
*/
select?: AuditLogSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: AuditLogInclude<ExtArgs> | null
where?: AuditLogWhereInput
orderBy?: AuditLogOrderByWithRelationInput | AuditLogOrderByWithRelationInput[]
cursor?: AuditLogWhereUniqueInput
take?: number
skip?: number
distinct?: AuditLogScalarFieldEnum | AuditLogScalarFieldEnum[]
}
/**
* Organization.bulkJobs
*/
export type Organization$bulkJobsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the BulkJob
*/
select?: BulkJobSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: BulkJobInclude<ExtArgs> | null
where?: BulkJobWhereInput
orderBy?: BulkJobOrderByWithRelationInput | BulkJobOrderByWithRelationInput[]
cursor?: BulkJobWhereUniqueInput
take?: number
skip?: number
distinct?: BulkJobScalarFieldEnum | BulkJobScalarFieldEnum[]
}
/**
* Organization without action
*/
export type OrganizationDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Organization
*/
select?: OrganizationSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrganizationInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* 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<T extends OrgMembershipAggregateArgs> = {
[P in keyof T & keyof AggregateOrgMembership]: P extends '_count' | 'count'
? T[P] extends true
? number
: GetScalarType<T[P], AggregateOrgMembership[P]>
: GetScalarType<T[P], AggregateOrgMembership[P]>
}
export type OrgMembershipGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
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<T extends OrgMembershipGroupByArgs> = Prisma.PrismaPromise<
Array<
PickEnumerable<OrgMembershipGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof OrgMembershipGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: GetScalarType<T[P], OrgMembershipGroupByOutputType[P]>
: GetScalarType<T[P], OrgMembershipGroupByOutputType[P]>
}
>
>
export type OrgMembershipSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
orgId?: boolean
userId?: boolean
role?: boolean
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
user?: boolean | UserDefaultArgs<ExtArgs>
}, ExtArgs["result"]["orgMembership"]>
export type OrgMembershipSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
orgId?: boolean
userId?: boolean
role?: boolean
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
user?: boolean | UserDefaultArgs<ExtArgs>
}, ExtArgs["result"]["orgMembership"]>
export type OrgMembershipSelectScalar = {
id?: boolean
orgId?: boolean
userId?: boolean
role?: boolean
}
export type OrgMembershipInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
user?: boolean | UserDefaultArgs<ExtArgs>
}
export type OrgMembershipIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
user?: boolean | UserDefaultArgs<ExtArgs>
}
export type $OrgMembershipPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "OrgMembership"
objects: {
organization: Prisma.$OrganizationPayload<ExtArgs>
user: Prisma.$UserPayload<ExtArgs>
}
scalars: $Extensions.GetPayloadResult<{
id: string
orgId: string
userId: string
role: $Enums.Role
}, ExtArgs["result"]["orgMembership"]>
composites: {}
}
type OrgMembershipGetPayload<S extends boolean | null | undefined | OrgMembershipDefaultArgs> = $Result.GetResult<Prisma.$OrgMembershipPayload, S>
type OrgMembershipCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
Omit<OrgMembershipFindManyArgs, 'select' | 'include' | 'distinct'> & {
select?: OrgMembershipCountAggregateInputType | true
}
export interface OrgMembershipDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends OrgMembershipFindUniqueArgs>(args: SelectSubset<T, OrgMembershipFindUniqueArgs<ExtArgs>>): Prisma__OrgMembershipClient<$Result.GetResult<Prisma.$OrgMembershipPayload<ExtArgs>, 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<T extends OrgMembershipFindUniqueOrThrowArgs>(args: SelectSubset<T, OrgMembershipFindUniqueOrThrowArgs<ExtArgs>>): Prisma__OrgMembershipClient<$Result.GetResult<Prisma.$OrgMembershipPayload<ExtArgs>, 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<T extends OrgMembershipFindFirstArgs>(args?: SelectSubset<T, OrgMembershipFindFirstArgs<ExtArgs>>): Prisma__OrgMembershipClient<$Result.GetResult<Prisma.$OrgMembershipPayload<ExtArgs>, 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<T extends OrgMembershipFindFirstOrThrowArgs>(args?: SelectSubset<T, OrgMembershipFindFirstOrThrowArgs<ExtArgs>>): Prisma__OrgMembershipClient<$Result.GetResult<Prisma.$OrgMembershipPayload<ExtArgs>, 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<T extends OrgMembershipFindManyArgs>(args?: SelectSubset<T, OrgMembershipFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrgMembershipPayload<ExtArgs>, 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<T extends OrgMembershipCreateArgs>(args: SelectSubset<T, OrgMembershipCreateArgs<ExtArgs>>): Prisma__OrgMembershipClient<$Result.GetResult<Prisma.$OrgMembershipPayload<ExtArgs>, 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<T extends OrgMembershipCreateManyArgs>(args?: SelectSubset<T, OrgMembershipCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends OrgMembershipCreateManyAndReturnArgs>(args?: SelectSubset<T, OrgMembershipCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$OrgMembershipPayload<ExtArgs>, 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<T extends OrgMembershipDeleteArgs>(args: SelectSubset<T, OrgMembershipDeleteArgs<ExtArgs>>): Prisma__OrgMembershipClient<$Result.GetResult<Prisma.$OrgMembershipPayload<ExtArgs>, 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<T extends OrgMembershipUpdateArgs>(args: SelectSubset<T, OrgMembershipUpdateArgs<ExtArgs>>): Prisma__OrgMembershipClient<$Result.GetResult<Prisma.$OrgMembershipPayload<ExtArgs>, 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<T extends OrgMembershipDeleteManyArgs>(args?: SelectSubset<T, OrgMembershipDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends OrgMembershipUpdateManyArgs>(args: SelectSubset<T, OrgMembershipUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends OrgMembershipUpsertArgs>(args: SelectSubset<T, OrgMembershipUpsertArgs<ExtArgs>>): Prisma__OrgMembershipClient<$Result.GetResult<Prisma.$OrgMembershipPayload<ExtArgs>, 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<T extends OrgMembershipCountArgs>(
args?: Subset<T, OrgMembershipCountArgs>,
): Prisma.PrismaPromise<
T extends $Utils.Record<'select', any>
? T['select'] extends true
? number
: GetScalarType<T['select'], OrgMembershipCountAggregateOutputType>
: 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<T extends OrgMembershipAggregateArgs>(args: Subset<T, OrgMembershipAggregateArgs>): Prisma.PrismaPromise<GetOrgMembershipAggregateType<T>>
/**
* 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<T>>,
Extends<'take', Keys<T>>
>,
OrderByArg extends True extends HasSelectOrTake
? { orderBy: OrgMembershipGroupByArgs['orderBy'] }
: { orderBy?: OrgMembershipGroupByArgs['orderBy'] },
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends MaybeTupleToUnion<T['by']>,
ByValid extends Has<ByFields, OrderFields>,
HavingFields extends GetHavingFields<T['having']>,
HavingValid extends Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Keys<T>
? 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<T>
? 'orderBy' extends Keys<T>
? 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<T, OrgMembershipGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrgMembershipGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
organization<T extends OrganizationDefaultArgs<ExtArgs> = {}>(args?: Subset<T, OrganizationDefaultArgs<ExtArgs>>): Prisma__OrganizationClient<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the OrgMembership
*/
select?: OrgMembershipSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrgMembershipInclude<ExtArgs> | null
/**
* Filter, which OrgMembership to fetch.
*/
where: OrgMembershipWhereUniqueInput
}
/**
* OrgMembership findUniqueOrThrow
*/
export type OrgMembershipFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the OrgMembership
*/
select?: OrgMembershipSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrgMembershipInclude<ExtArgs> | null
/**
* Filter, which OrgMembership to fetch.
*/
where: OrgMembershipWhereUniqueInput
}
/**
* OrgMembership findFirst
*/
export type OrgMembershipFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the OrgMembership
*/
select?: OrgMembershipSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrgMembershipInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the OrgMembership
*/
select?: OrgMembershipSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrgMembershipInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the OrgMembership
*/
select?: OrgMembershipSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrgMembershipInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the OrgMembership
*/
select?: OrgMembershipSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrgMembershipInclude<ExtArgs> | null
/**
* The data needed to create a OrgMembership.
*/
data: XOR<OrgMembershipCreateInput, OrgMembershipUncheckedCreateInput>
}
/**
* OrgMembership createMany
*/
export type OrgMembershipCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to create many OrgMemberships.
*/
data: OrgMembershipCreateManyInput | OrgMembershipCreateManyInput[]
skipDuplicates?: boolean
}
/**
* OrgMembership createManyAndReturn
*/
export type OrgMembershipCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the OrgMembership
*/
select?: OrgMembershipSelectCreateManyAndReturn<ExtArgs> | null
/**
* The data used to create many OrgMemberships.
*/
data: OrgMembershipCreateManyInput | OrgMembershipCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: OrgMembershipIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* OrgMembership update
*/
export type OrgMembershipUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the OrgMembership
*/
select?: OrgMembershipSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrgMembershipInclude<ExtArgs> | null
/**
* The data needed to update a OrgMembership.
*/
data: XOR<OrgMembershipUpdateInput, OrgMembershipUncheckedUpdateInput>
/**
* Choose, which OrgMembership to update.
*/
where: OrgMembershipWhereUniqueInput
}
/**
* OrgMembership updateMany
*/
export type OrgMembershipUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to update OrgMemberships.
*/
data: XOR<OrgMembershipUpdateManyMutationInput, OrgMembershipUncheckedUpdateManyInput>
/**
* Filter which OrgMemberships to update
*/
where?: OrgMembershipWhereInput
}
/**
* OrgMembership upsert
*/
export type OrgMembershipUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the OrgMembership
*/
select?: OrgMembershipSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrgMembershipInclude<ExtArgs> | 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<OrgMembershipCreateInput, OrgMembershipUncheckedCreateInput>
/**
* In case the OrgMembership was found with the provided `where` argument, update it with this data.
*/
update: XOR<OrgMembershipUpdateInput, OrgMembershipUncheckedUpdateInput>
}
/**
* OrgMembership delete
*/
export type OrgMembershipDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the OrgMembership
*/
select?: OrgMembershipSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrgMembershipInclude<ExtArgs> | null
/**
* Filter which OrgMembership to delete.
*/
where: OrgMembershipWhereUniqueInput
}
/**
* OrgMembership deleteMany
*/
export type OrgMembershipDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Filter which OrgMemberships to delete
*/
where?: OrgMembershipWhereInput
}
/**
* OrgMembership without action
*/
export type OrgMembershipDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the OrgMembership
*/
select?: OrgMembershipSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrgMembershipInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* 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<T extends ProjectAggregateArgs> = {
[P in keyof T & keyof AggregateProject]: P extends '_count' | 'count'
? T[P] extends true
? number
: GetScalarType<T[P], AggregateProject[P]>
: GetScalarType<T[P], AggregateProject[P]>
}
export type ProjectGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
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<T extends ProjectGroupByArgs> = Prisma.PrismaPromise<
Array<
PickEnumerable<ProjectGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof ProjectGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: GetScalarType<T[P], ProjectGroupByOutputType[P]>
: GetScalarType<T[P], ProjectGroupByOutputType[P]>
}
>
>
export type ProjectSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
orgId?: boolean
name?: boolean
settingsJson?: boolean
createdAt?: boolean
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
checks?: boolean | Project$checksArgs<ExtArgs>
bulkJobs?: boolean | Project$bulkJobsArgs<ExtArgs>
_count?: boolean | ProjectCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["project"]>
export type ProjectSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
orgId?: boolean
name?: boolean
settingsJson?: boolean
createdAt?: boolean
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
}, ExtArgs["result"]["project"]>
export type ProjectSelectScalar = {
id?: boolean
orgId?: boolean
name?: boolean
settingsJson?: boolean
createdAt?: boolean
}
export type ProjectInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
checks?: boolean | Project$checksArgs<ExtArgs>
bulkJobs?: boolean | Project$bulkJobsArgs<ExtArgs>
_count?: boolean | ProjectCountOutputTypeDefaultArgs<ExtArgs>
}
export type ProjectIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
}
export type $ProjectPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "Project"
objects: {
organization: Prisma.$OrganizationPayload<ExtArgs>
checks: Prisma.$CheckPayload<ExtArgs>[]
bulkJobs: Prisma.$BulkJobPayload<ExtArgs>[]
}
scalars: $Extensions.GetPayloadResult<{
id: string
orgId: string
name: string
settingsJson: Prisma.JsonValue
createdAt: Date
}, ExtArgs["result"]["project"]>
composites: {}
}
type ProjectGetPayload<S extends boolean | null | undefined | ProjectDefaultArgs> = $Result.GetResult<Prisma.$ProjectPayload, S>
type ProjectCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
Omit<ProjectFindManyArgs, 'select' | 'include' | 'distinct'> & {
select?: ProjectCountAggregateInputType | true
}
export interface ProjectDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends ProjectFindUniqueArgs>(args: SelectSubset<T, ProjectFindUniqueArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, 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<T extends ProjectFindUniqueOrThrowArgs>(args: SelectSubset<T, ProjectFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, 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<T extends ProjectFindFirstArgs>(args?: SelectSubset<T, ProjectFindFirstArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, 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<T extends ProjectFindFirstOrThrowArgs>(args?: SelectSubset<T, ProjectFindFirstOrThrowArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, 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<T extends ProjectFindManyArgs>(args?: SelectSubset<T, ProjectFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, 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<T extends ProjectCreateArgs>(args: SelectSubset<T, ProjectCreateArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, 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<T extends ProjectCreateManyArgs>(args?: SelectSubset<T, ProjectCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends ProjectCreateManyAndReturnArgs>(args?: SelectSubset<T, ProjectCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, 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<T extends ProjectDeleteArgs>(args: SelectSubset<T, ProjectDeleteArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, 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<T extends ProjectUpdateArgs>(args: SelectSubset<T, ProjectUpdateArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, 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<T extends ProjectDeleteManyArgs>(args?: SelectSubset<T, ProjectDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends ProjectUpdateManyArgs>(args: SelectSubset<T, ProjectUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends ProjectUpsertArgs>(args: SelectSubset<T, ProjectUpsertArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, 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<T extends ProjectCountArgs>(
args?: Subset<T, ProjectCountArgs>,
): Prisma.PrismaPromise<
T extends $Utils.Record<'select', any>
? T['select'] extends true
? number
: GetScalarType<T['select'], ProjectCountAggregateOutputType>
: 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<T extends ProjectAggregateArgs>(args: Subset<T, ProjectAggregateArgs>): Prisma.PrismaPromise<GetProjectAggregateType<T>>
/**
* 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<T>>,
Extends<'take', Keys<T>>
>,
OrderByArg extends True extends HasSelectOrTake
? { orderBy: ProjectGroupByArgs['orderBy'] }
: { orderBy?: ProjectGroupByArgs['orderBy'] },
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends MaybeTupleToUnion<T['by']>,
ByValid extends Has<ByFields, OrderFields>,
HavingFields extends GetHavingFields<T['having']>,
HavingValid extends Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Keys<T>
? 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<T>
? 'orderBy' extends Keys<T>
? 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<T, ProjectGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjectGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
organization<T extends OrganizationDefaultArgs<ExtArgs> = {}>(args?: Subset<T, OrganizationDefaultArgs<ExtArgs>>): Prisma__OrganizationClient<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
checks<T extends Project$checksArgs<ExtArgs> = {}>(args?: Subset<T, Project$checksArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, T, "findMany"> | Null>
bulkJobs<T extends Project$bulkJobsArgs<ExtArgs> = {}>(args?: Subset<T, Project$bulkJobsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$BulkJobPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: ProjectSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ProjectInclude<ExtArgs> | null
/**
* Filter, which Project to fetch.
*/
where: ProjectWhereUniqueInput
}
/**
* Project findUniqueOrThrow
*/
export type ProjectFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: ProjectSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ProjectInclude<ExtArgs> | null
/**
* Filter, which Project to fetch.
*/
where: ProjectWhereUniqueInput
}
/**
* Project findFirst
*/
export type ProjectFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: ProjectSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ProjectInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: ProjectSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ProjectInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: ProjectSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ProjectInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: ProjectSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ProjectInclude<ExtArgs> | null
/**
* The data needed to create a Project.
*/
data: XOR<ProjectCreateInput, ProjectUncheckedCreateInput>
}
/**
* Project createMany
*/
export type ProjectCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to create many Projects.
*/
data: ProjectCreateManyInput | ProjectCreateManyInput[]
skipDuplicates?: boolean
}
/**
* Project createManyAndReturn
*/
export type ProjectCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: ProjectSelectCreateManyAndReturn<ExtArgs> | null
/**
* The data used to create many Projects.
*/
data: ProjectCreateManyInput | ProjectCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: ProjectIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* Project update
*/
export type ProjectUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: ProjectSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ProjectInclude<ExtArgs> | null
/**
* The data needed to update a Project.
*/
data: XOR<ProjectUpdateInput, ProjectUncheckedUpdateInput>
/**
* Choose, which Project to update.
*/
where: ProjectWhereUniqueInput
}
/**
* Project updateMany
*/
export type ProjectUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to update Projects.
*/
data: XOR<ProjectUpdateManyMutationInput, ProjectUncheckedUpdateManyInput>
/**
* Filter which Projects to update
*/
where?: ProjectWhereInput
}
/**
* Project upsert
*/
export type ProjectUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: ProjectSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ProjectInclude<ExtArgs> | 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<ProjectCreateInput, ProjectUncheckedCreateInput>
/**
* In case the Project was found with the provided `where` argument, update it with this data.
*/
update: XOR<ProjectUpdateInput, ProjectUncheckedUpdateInput>
}
/**
* Project delete
*/
export type ProjectDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: ProjectSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ProjectInclude<ExtArgs> | null
/**
* Filter which Project to delete.
*/
where: ProjectWhereUniqueInput
}
/**
* Project deleteMany
*/
export type ProjectDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Filter which Projects to delete
*/
where?: ProjectWhereInput
}
/**
* Project.checks
*/
export type Project$checksArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Check
*/
select?: CheckSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: CheckInclude<ExtArgs> | null
where?: CheckWhereInput
orderBy?: CheckOrderByWithRelationInput | CheckOrderByWithRelationInput[]
cursor?: CheckWhereUniqueInput
take?: number
skip?: number
distinct?: CheckScalarFieldEnum | CheckScalarFieldEnum[]
}
/**
* Project.bulkJobs
*/
export type Project$bulkJobsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the BulkJob
*/
select?: BulkJobSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: BulkJobInclude<ExtArgs> | null
where?: BulkJobWhereInput
orderBy?: BulkJobOrderByWithRelationInput | BulkJobOrderByWithRelationInput[]
cursor?: BulkJobWhereUniqueInput
take?: number
skip?: number
distinct?: BulkJobScalarFieldEnum | BulkJobScalarFieldEnum[]
}
/**
* Project without action
*/
export type ProjectDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Project
*/
select?: ProjectSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ProjectInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* 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<T extends CheckAggregateArgs> = {
[P in keyof T & keyof AggregateCheck]: P extends '_count' | 'count'
? T[P] extends true
? number
: GetScalarType<T[P], AggregateCheck[P]>
: GetScalarType<T[P], AggregateCheck[P]>
}
export type CheckGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
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<T extends CheckGroupByArgs> = Prisma.PrismaPromise<
Array<
PickEnumerable<CheckGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof CheckGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: GetScalarType<T[P], CheckGroupByOutputType[P]>
: GetScalarType<T[P], CheckGroupByOutputType[P]>
}
>
>
export type CheckSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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>
hops?: boolean | Check$hopsArgs<ExtArgs>
sslInspections?: boolean | Check$sslInspectionsArgs<ExtArgs>
seoFlags?: boolean | Check$seoFlagsArgs<ExtArgs>
securityFlags?: boolean | Check$securityFlagsArgs<ExtArgs>
reports?: boolean | Check$reportsArgs<ExtArgs>
_count?: boolean | CheckCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["check"]>
export type CheckSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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>
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
project?: boolean | ProjectDefaultArgs<ExtArgs>
hops?: boolean | Check$hopsArgs<ExtArgs>
sslInspections?: boolean | Check$sslInspectionsArgs<ExtArgs>
seoFlags?: boolean | Check$seoFlagsArgs<ExtArgs>
securityFlags?: boolean | Check$securityFlagsArgs<ExtArgs>
reports?: boolean | Check$reportsArgs<ExtArgs>
_count?: boolean | CheckCountOutputTypeDefaultArgs<ExtArgs>
}
export type CheckIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
project?: boolean | ProjectDefaultArgs<ExtArgs>
}
export type $CheckPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "Check"
objects: {
project: Prisma.$ProjectPayload<ExtArgs>
hops: Prisma.$HopPayload<ExtArgs>[]
sslInspections: Prisma.$SslInspectionPayload<ExtArgs>[]
seoFlags: Prisma.$SeoFlagsPayload<ExtArgs> | null
securityFlags: Prisma.$SecurityFlagsPayload<ExtArgs> | null
reports: Prisma.$ReportPayload<ExtArgs>[]
}
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<S extends boolean | null | undefined | CheckDefaultArgs> = $Result.GetResult<Prisma.$CheckPayload, S>
type CheckCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
Omit<CheckFindManyArgs, 'select' | 'include' | 'distinct'> & {
select?: CheckCountAggregateInputType | true
}
export interface CheckDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends CheckFindUniqueArgs>(args: SelectSubset<T, CheckFindUniqueArgs<ExtArgs>>): Prisma__CheckClient<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<T extends CheckFindUniqueOrThrowArgs>(args: SelectSubset<T, CheckFindUniqueOrThrowArgs<ExtArgs>>): Prisma__CheckClient<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<T extends CheckFindFirstArgs>(args?: SelectSubset<T, CheckFindFirstArgs<ExtArgs>>): Prisma__CheckClient<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<T extends CheckFindFirstOrThrowArgs>(args?: SelectSubset<T, CheckFindFirstOrThrowArgs<ExtArgs>>): Prisma__CheckClient<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<T extends CheckFindManyArgs>(args?: SelectSubset<T, CheckFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<T extends CheckCreateArgs>(args: SelectSubset<T, CheckCreateArgs<ExtArgs>>): Prisma__CheckClient<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<T extends CheckCreateManyArgs>(args?: SelectSubset<T, CheckCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends CheckCreateManyAndReturnArgs>(args?: SelectSubset<T, CheckCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<T extends CheckDeleteArgs>(args: SelectSubset<T, CheckDeleteArgs<ExtArgs>>): Prisma__CheckClient<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<T extends CheckUpdateArgs>(args: SelectSubset<T, CheckUpdateArgs<ExtArgs>>): Prisma__CheckClient<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<T extends CheckDeleteManyArgs>(args?: SelectSubset<T, CheckDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends CheckUpdateManyArgs>(args: SelectSubset<T, CheckUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends CheckUpsertArgs>(args: SelectSubset<T, CheckUpsertArgs<ExtArgs>>): Prisma__CheckClient<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<T extends CheckCountArgs>(
args?: Subset<T, CheckCountArgs>,
): Prisma.PrismaPromise<
T extends $Utils.Record<'select', any>
? T['select'] extends true
? number
: GetScalarType<T['select'], CheckCountAggregateOutputType>
: 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<T extends CheckAggregateArgs>(args: Subset<T, CheckAggregateArgs>): Prisma.PrismaPromise<GetCheckAggregateType<T>>
/**
* 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<T>>,
Extends<'take', Keys<T>>
>,
OrderByArg extends True extends HasSelectOrTake
? { orderBy: CheckGroupByArgs['orderBy'] }
: { orderBy?: CheckGroupByArgs['orderBy'] },
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends MaybeTupleToUnion<T['by']>,
ByValid extends Has<ByFields, OrderFields>,
HavingFields extends GetHavingFields<T['having']>,
HavingValid extends Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Keys<T>
? 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<T>
? 'orderBy' extends Keys<T>
? 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<T, CheckGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCheckGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
project<T extends ProjectDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ProjectDefaultArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
hops<T extends Check$hopsArgs<ExtArgs> = {}>(args?: Subset<T, Check$hopsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$HopPayload<ExtArgs>, T, "findMany"> | Null>
sslInspections<T extends Check$sslInspectionsArgs<ExtArgs> = {}>(args?: Subset<T, Check$sslInspectionsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SslInspectionPayload<ExtArgs>, T, "findMany"> | Null>
seoFlags<T extends Check$seoFlagsArgs<ExtArgs> = {}>(args?: Subset<T, Check$seoFlagsArgs<ExtArgs>>): Prisma__SeoFlagsClient<$Result.GetResult<Prisma.$SeoFlagsPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
securityFlags<T extends Check$securityFlagsArgs<ExtArgs> = {}>(args?: Subset<T, Check$securityFlagsArgs<ExtArgs>>): Prisma__SecurityFlagsClient<$Result.GetResult<Prisma.$SecurityFlagsPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
reports<T extends Check$reportsArgs<ExtArgs> = {}>(args?: Subset<T, Check$reportsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ReportPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Check
*/
select?: CheckSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: CheckInclude<ExtArgs> | null
/**
* Filter, which Check to fetch.
*/
where: CheckWhereUniqueInput
}
/**
* Check findUniqueOrThrow
*/
export type CheckFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Check
*/
select?: CheckSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: CheckInclude<ExtArgs> | null
/**
* Filter, which Check to fetch.
*/
where: CheckWhereUniqueInput
}
/**
* Check findFirst
*/
export type CheckFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Check
*/
select?: CheckSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: CheckInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Check
*/
select?: CheckSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: CheckInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Check
*/
select?: CheckSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: CheckInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Check
*/
select?: CheckSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: CheckInclude<ExtArgs> | null
/**
* The data needed to create a Check.
*/
data: XOR<CheckCreateInput, CheckUncheckedCreateInput>
}
/**
* Check createMany
*/
export type CheckCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to create many Checks.
*/
data: CheckCreateManyInput | CheckCreateManyInput[]
skipDuplicates?: boolean
}
/**
* Check createManyAndReturn
*/
export type CheckCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Check
*/
select?: CheckSelectCreateManyAndReturn<ExtArgs> | null
/**
* The data used to create many Checks.
*/
data: CheckCreateManyInput | CheckCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: CheckIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* Check update
*/
export type CheckUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Check
*/
select?: CheckSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: CheckInclude<ExtArgs> | null
/**
* The data needed to update a Check.
*/
data: XOR<CheckUpdateInput, CheckUncheckedUpdateInput>
/**
* Choose, which Check to update.
*/
where: CheckWhereUniqueInput
}
/**
* Check updateMany
*/
export type CheckUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to update Checks.
*/
data: XOR<CheckUpdateManyMutationInput, CheckUncheckedUpdateManyInput>
/**
* Filter which Checks to update
*/
where?: CheckWhereInput
}
/**
* Check upsert
*/
export type CheckUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Check
*/
select?: CheckSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: CheckInclude<ExtArgs> | 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<CheckCreateInput, CheckUncheckedCreateInput>
/**
* In case the Check was found with the provided `where` argument, update it with this data.
*/
update: XOR<CheckUpdateInput, CheckUncheckedUpdateInput>
}
/**
* Check delete
*/
export type CheckDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Check
*/
select?: CheckSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: CheckInclude<ExtArgs> | null
/**
* Filter which Check to delete.
*/
where: CheckWhereUniqueInput
}
/**
* Check deleteMany
*/
export type CheckDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Filter which Checks to delete
*/
where?: CheckWhereInput
}
/**
* Check.hops
*/
export type Check$hopsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Hop
*/
select?: HopSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: HopInclude<ExtArgs> | null
where?: HopWhereInput
orderBy?: HopOrderByWithRelationInput | HopOrderByWithRelationInput[]
cursor?: HopWhereUniqueInput
take?: number
skip?: number
distinct?: HopScalarFieldEnum | HopScalarFieldEnum[]
}
/**
* Check.sslInspections
*/
export type Check$sslInspectionsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SslInspection
*/
select?: SslInspectionSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SslInspectionInclude<ExtArgs> | null
where?: SslInspectionWhereInput
orderBy?: SslInspectionOrderByWithRelationInput | SslInspectionOrderByWithRelationInput[]
cursor?: SslInspectionWhereUniqueInput
take?: number
skip?: number
distinct?: SslInspectionScalarFieldEnum | SslInspectionScalarFieldEnum[]
}
/**
* Check.seoFlags
*/
export type Check$seoFlagsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SeoFlags
*/
select?: SeoFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SeoFlagsInclude<ExtArgs> | null
where?: SeoFlagsWhereInput
}
/**
* Check.securityFlags
*/
export type Check$securityFlagsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SecurityFlags
*/
select?: SecurityFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SecurityFlagsInclude<ExtArgs> | null
where?: SecurityFlagsWhereInput
}
/**
* Check.reports
*/
export type Check$reportsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Report
*/
select?: ReportSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ReportInclude<ExtArgs> | null
where?: ReportWhereInput
orderBy?: ReportOrderByWithRelationInput | ReportOrderByWithRelationInput[]
cursor?: ReportWhereUniqueInput
take?: number
skip?: number
distinct?: ReportScalarFieldEnum | ReportScalarFieldEnum[]
}
/**
* Check without action
*/
export type CheckDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Check
*/
select?: CheckSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: CheckInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* 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<T extends HopAggregateArgs> = {
[P in keyof T & keyof AggregateHop]: P extends '_count' | 'count'
? T[P] extends true
? number
: GetScalarType<T[P], AggregateHop[P]>
: GetScalarType<T[P], AggregateHop[P]>
}
export type HopGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
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<T extends HopGroupByArgs> = Prisma.PrismaPromise<
Array<
PickEnumerable<HopGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof HopGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: GetScalarType<T[P], HopGroupByOutputType[P]>
: GetScalarType<T[P], HopGroupByOutputType[P]>
}
>
>
export type HopSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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>
}, ExtArgs["result"]["hop"]>
export type HopSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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>
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
check?: boolean | CheckDefaultArgs<ExtArgs>
}
export type HopIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
check?: boolean | CheckDefaultArgs<ExtArgs>
}
export type $HopPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "Hop"
objects: {
check: Prisma.$CheckPayload<ExtArgs>
}
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<S extends boolean | null | undefined | HopDefaultArgs> = $Result.GetResult<Prisma.$HopPayload, S>
type HopCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
Omit<HopFindManyArgs, 'select' | 'include' | 'distinct'> & {
select?: HopCountAggregateInputType | true
}
export interface HopDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends HopFindUniqueArgs>(args: SelectSubset<T, HopFindUniqueArgs<ExtArgs>>): Prisma__HopClient<$Result.GetResult<Prisma.$HopPayload<ExtArgs>, 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<T extends HopFindUniqueOrThrowArgs>(args: SelectSubset<T, HopFindUniqueOrThrowArgs<ExtArgs>>): Prisma__HopClient<$Result.GetResult<Prisma.$HopPayload<ExtArgs>, 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<T extends HopFindFirstArgs>(args?: SelectSubset<T, HopFindFirstArgs<ExtArgs>>): Prisma__HopClient<$Result.GetResult<Prisma.$HopPayload<ExtArgs>, 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<T extends HopFindFirstOrThrowArgs>(args?: SelectSubset<T, HopFindFirstOrThrowArgs<ExtArgs>>): Prisma__HopClient<$Result.GetResult<Prisma.$HopPayload<ExtArgs>, 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<T extends HopFindManyArgs>(args?: SelectSubset<T, HopFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$HopPayload<ExtArgs>, 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<T extends HopCreateArgs>(args: SelectSubset<T, HopCreateArgs<ExtArgs>>): Prisma__HopClient<$Result.GetResult<Prisma.$HopPayload<ExtArgs>, 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<T extends HopCreateManyArgs>(args?: SelectSubset<T, HopCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends HopCreateManyAndReturnArgs>(args?: SelectSubset<T, HopCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$HopPayload<ExtArgs>, 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<T extends HopDeleteArgs>(args: SelectSubset<T, HopDeleteArgs<ExtArgs>>): Prisma__HopClient<$Result.GetResult<Prisma.$HopPayload<ExtArgs>, 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<T extends HopUpdateArgs>(args: SelectSubset<T, HopUpdateArgs<ExtArgs>>): Prisma__HopClient<$Result.GetResult<Prisma.$HopPayload<ExtArgs>, 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<T extends HopDeleteManyArgs>(args?: SelectSubset<T, HopDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends HopUpdateManyArgs>(args: SelectSubset<T, HopUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends HopUpsertArgs>(args: SelectSubset<T, HopUpsertArgs<ExtArgs>>): Prisma__HopClient<$Result.GetResult<Prisma.$HopPayload<ExtArgs>, 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<T extends HopCountArgs>(
args?: Subset<T, HopCountArgs>,
): Prisma.PrismaPromise<
T extends $Utils.Record<'select', any>
? T['select'] extends true
? number
: GetScalarType<T['select'], HopCountAggregateOutputType>
: 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<T extends HopAggregateArgs>(args: Subset<T, HopAggregateArgs>): Prisma.PrismaPromise<GetHopAggregateType<T>>
/**
* 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<T>>,
Extends<'take', Keys<T>>
>,
OrderByArg extends True extends HasSelectOrTake
? { orderBy: HopGroupByArgs['orderBy'] }
: { orderBy?: HopGroupByArgs['orderBy'] },
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends MaybeTupleToUnion<T['by']>,
ByValid extends Has<ByFields, OrderFields>,
HavingFields extends GetHavingFields<T['having']>,
HavingValid extends Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Keys<T>
? 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<T>
? 'orderBy' extends Keys<T>
? 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<T, HopGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHopGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
check<T extends CheckDefaultArgs<ExtArgs> = {}>(args?: Subset<T, CheckDefaultArgs<ExtArgs>>): Prisma__CheckClient<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Hop
*/
select?: HopSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: HopInclude<ExtArgs> | null
/**
* Filter, which Hop to fetch.
*/
where: HopWhereUniqueInput
}
/**
* Hop findUniqueOrThrow
*/
export type HopFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Hop
*/
select?: HopSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: HopInclude<ExtArgs> | null
/**
* Filter, which Hop to fetch.
*/
where: HopWhereUniqueInput
}
/**
* Hop findFirst
*/
export type HopFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Hop
*/
select?: HopSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: HopInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Hop
*/
select?: HopSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: HopInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Hop
*/
select?: HopSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: HopInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Hop
*/
select?: HopSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: HopInclude<ExtArgs> | null
/**
* The data needed to create a Hop.
*/
data: XOR<HopCreateInput, HopUncheckedCreateInput>
}
/**
* Hop createMany
*/
export type HopCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to create many Hops.
*/
data: HopCreateManyInput | HopCreateManyInput[]
skipDuplicates?: boolean
}
/**
* Hop createManyAndReturn
*/
export type HopCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Hop
*/
select?: HopSelectCreateManyAndReturn<ExtArgs> | null
/**
* The data used to create many Hops.
*/
data: HopCreateManyInput | HopCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: HopIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* Hop update
*/
export type HopUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Hop
*/
select?: HopSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: HopInclude<ExtArgs> | null
/**
* The data needed to update a Hop.
*/
data: XOR<HopUpdateInput, HopUncheckedUpdateInput>
/**
* Choose, which Hop to update.
*/
where: HopWhereUniqueInput
}
/**
* Hop updateMany
*/
export type HopUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to update Hops.
*/
data: XOR<HopUpdateManyMutationInput, HopUncheckedUpdateManyInput>
/**
* Filter which Hops to update
*/
where?: HopWhereInput
}
/**
* Hop upsert
*/
export type HopUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Hop
*/
select?: HopSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: HopInclude<ExtArgs> | 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<HopCreateInput, HopUncheckedCreateInput>
/**
* In case the Hop was found with the provided `where` argument, update it with this data.
*/
update: XOR<HopUpdateInput, HopUncheckedUpdateInput>
}
/**
* Hop delete
*/
export type HopDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Hop
*/
select?: HopSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: HopInclude<ExtArgs> | null
/**
* Filter which Hop to delete.
*/
where: HopWhereUniqueInput
}
/**
* Hop deleteMany
*/
export type HopDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Filter which Hops to delete
*/
where?: HopWhereInput
}
/**
* Hop without action
*/
export type HopDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Hop
*/
select?: HopSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: HopInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* 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<T extends SslInspectionAggregateArgs> = {
[P in keyof T & keyof AggregateSslInspection]: P extends '_count' | 'count'
? T[P] extends true
? number
: GetScalarType<T[P], AggregateSslInspection[P]>
: GetScalarType<T[P], AggregateSslInspection[P]>
}
export type SslInspectionGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
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<T extends SslInspectionGroupByArgs> = Prisma.PrismaPromise<
Array<
PickEnumerable<SslInspectionGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof SslInspectionGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: GetScalarType<T[P], SslInspectionGroupByOutputType[P]>
: GetScalarType<T[P], SslInspectionGroupByOutputType[P]>
}
>
>
export type SslInspectionSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
checkId?: boolean
host?: boolean
validFrom?: boolean
validTo?: boolean
daysToExpiry?: boolean
issuer?: boolean
protocol?: boolean
warningsJson?: boolean
check?: boolean | CheckDefaultArgs<ExtArgs>
}, ExtArgs["result"]["sslInspection"]>
export type SslInspectionSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
checkId?: boolean
host?: boolean
validFrom?: boolean
validTo?: boolean
daysToExpiry?: boolean
issuer?: boolean
protocol?: boolean
warningsJson?: boolean
check?: boolean | CheckDefaultArgs<ExtArgs>
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
check?: boolean | CheckDefaultArgs<ExtArgs>
}
export type SslInspectionIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
check?: boolean | CheckDefaultArgs<ExtArgs>
}
export type $SslInspectionPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "SslInspection"
objects: {
check: Prisma.$CheckPayload<ExtArgs>
}
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<S extends boolean | null | undefined | SslInspectionDefaultArgs> = $Result.GetResult<Prisma.$SslInspectionPayload, S>
type SslInspectionCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
Omit<SslInspectionFindManyArgs, 'select' | 'include' | 'distinct'> & {
select?: SslInspectionCountAggregateInputType | true
}
export interface SslInspectionDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends SslInspectionFindUniqueArgs>(args: SelectSubset<T, SslInspectionFindUniqueArgs<ExtArgs>>): Prisma__SslInspectionClient<$Result.GetResult<Prisma.$SslInspectionPayload<ExtArgs>, 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<T extends SslInspectionFindUniqueOrThrowArgs>(args: SelectSubset<T, SslInspectionFindUniqueOrThrowArgs<ExtArgs>>): Prisma__SslInspectionClient<$Result.GetResult<Prisma.$SslInspectionPayload<ExtArgs>, 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<T extends SslInspectionFindFirstArgs>(args?: SelectSubset<T, SslInspectionFindFirstArgs<ExtArgs>>): Prisma__SslInspectionClient<$Result.GetResult<Prisma.$SslInspectionPayload<ExtArgs>, 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<T extends SslInspectionFindFirstOrThrowArgs>(args?: SelectSubset<T, SslInspectionFindFirstOrThrowArgs<ExtArgs>>): Prisma__SslInspectionClient<$Result.GetResult<Prisma.$SslInspectionPayload<ExtArgs>, 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<T extends SslInspectionFindManyArgs>(args?: SelectSubset<T, SslInspectionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SslInspectionPayload<ExtArgs>, 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<T extends SslInspectionCreateArgs>(args: SelectSubset<T, SslInspectionCreateArgs<ExtArgs>>): Prisma__SslInspectionClient<$Result.GetResult<Prisma.$SslInspectionPayload<ExtArgs>, 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<T extends SslInspectionCreateManyArgs>(args?: SelectSubset<T, SslInspectionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends SslInspectionCreateManyAndReturnArgs>(args?: SelectSubset<T, SslInspectionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SslInspectionPayload<ExtArgs>, 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<T extends SslInspectionDeleteArgs>(args: SelectSubset<T, SslInspectionDeleteArgs<ExtArgs>>): Prisma__SslInspectionClient<$Result.GetResult<Prisma.$SslInspectionPayload<ExtArgs>, 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<T extends SslInspectionUpdateArgs>(args: SelectSubset<T, SslInspectionUpdateArgs<ExtArgs>>): Prisma__SslInspectionClient<$Result.GetResult<Prisma.$SslInspectionPayload<ExtArgs>, 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<T extends SslInspectionDeleteManyArgs>(args?: SelectSubset<T, SslInspectionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends SslInspectionUpdateManyArgs>(args: SelectSubset<T, SslInspectionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends SslInspectionUpsertArgs>(args: SelectSubset<T, SslInspectionUpsertArgs<ExtArgs>>): Prisma__SslInspectionClient<$Result.GetResult<Prisma.$SslInspectionPayload<ExtArgs>, 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<T extends SslInspectionCountArgs>(
args?: Subset<T, SslInspectionCountArgs>,
): Prisma.PrismaPromise<
T extends $Utils.Record<'select', any>
? T['select'] extends true
? number
: GetScalarType<T['select'], SslInspectionCountAggregateOutputType>
: 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<T extends SslInspectionAggregateArgs>(args: Subset<T, SslInspectionAggregateArgs>): Prisma.PrismaPromise<GetSslInspectionAggregateType<T>>
/**
* 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<T>>,
Extends<'take', Keys<T>>
>,
OrderByArg extends True extends HasSelectOrTake
? { orderBy: SslInspectionGroupByArgs['orderBy'] }
: { orderBy?: SslInspectionGroupByArgs['orderBy'] },
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends MaybeTupleToUnion<T['by']>,
ByValid extends Has<ByFields, OrderFields>,
HavingFields extends GetHavingFields<T['having']>,
HavingValid extends Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Keys<T>
? 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<T>
? 'orderBy' extends Keys<T>
? 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<T, SslInspectionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSslInspectionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
check<T extends CheckDefaultArgs<ExtArgs> = {}>(args?: Subset<T, CheckDefaultArgs<ExtArgs>>): Prisma__CheckClient<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SslInspection
*/
select?: SslInspectionSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SslInspectionInclude<ExtArgs> | null
/**
* Filter, which SslInspection to fetch.
*/
where: SslInspectionWhereUniqueInput
}
/**
* SslInspection findUniqueOrThrow
*/
export type SslInspectionFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SslInspection
*/
select?: SslInspectionSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SslInspectionInclude<ExtArgs> | null
/**
* Filter, which SslInspection to fetch.
*/
where: SslInspectionWhereUniqueInput
}
/**
* SslInspection findFirst
*/
export type SslInspectionFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SslInspection
*/
select?: SslInspectionSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SslInspectionInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SslInspection
*/
select?: SslInspectionSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SslInspectionInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SslInspection
*/
select?: SslInspectionSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SslInspectionInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SslInspection
*/
select?: SslInspectionSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SslInspectionInclude<ExtArgs> | null
/**
* The data needed to create a SslInspection.
*/
data: XOR<SslInspectionCreateInput, SslInspectionUncheckedCreateInput>
}
/**
* SslInspection createMany
*/
export type SslInspectionCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to create many SslInspections.
*/
data: SslInspectionCreateManyInput | SslInspectionCreateManyInput[]
skipDuplicates?: boolean
}
/**
* SslInspection createManyAndReturn
*/
export type SslInspectionCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SslInspection
*/
select?: SslInspectionSelectCreateManyAndReturn<ExtArgs> | null
/**
* The data used to create many SslInspections.
*/
data: SslInspectionCreateManyInput | SslInspectionCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: SslInspectionIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* SslInspection update
*/
export type SslInspectionUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SslInspection
*/
select?: SslInspectionSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SslInspectionInclude<ExtArgs> | null
/**
* The data needed to update a SslInspection.
*/
data: XOR<SslInspectionUpdateInput, SslInspectionUncheckedUpdateInput>
/**
* Choose, which SslInspection to update.
*/
where: SslInspectionWhereUniqueInput
}
/**
* SslInspection updateMany
*/
export type SslInspectionUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to update SslInspections.
*/
data: XOR<SslInspectionUpdateManyMutationInput, SslInspectionUncheckedUpdateManyInput>
/**
* Filter which SslInspections to update
*/
where?: SslInspectionWhereInput
}
/**
* SslInspection upsert
*/
export type SslInspectionUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SslInspection
*/
select?: SslInspectionSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SslInspectionInclude<ExtArgs> | 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<SslInspectionCreateInput, SslInspectionUncheckedCreateInput>
/**
* In case the SslInspection was found with the provided `where` argument, update it with this data.
*/
update: XOR<SslInspectionUpdateInput, SslInspectionUncheckedUpdateInput>
}
/**
* SslInspection delete
*/
export type SslInspectionDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SslInspection
*/
select?: SslInspectionSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SslInspectionInclude<ExtArgs> | null
/**
* Filter which SslInspection to delete.
*/
where: SslInspectionWhereUniqueInput
}
/**
* SslInspection deleteMany
*/
export type SslInspectionDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Filter which SslInspections to delete
*/
where?: SslInspectionWhereInput
}
/**
* SslInspection without action
*/
export type SslInspectionDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SslInspection
*/
select?: SslInspectionSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SslInspectionInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* 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<T extends SeoFlagsAggregateArgs> = {
[P in keyof T & keyof AggregateSeoFlags]: P extends '_count' | 'count'
? T[P] extends true
? number
: GetScalarType<T[P], AggregateSeoFlags[P]>
: GetScalarType<T[P], AggregateSeoFlags[P]>
}
export type SeoFlagsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
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<T extends SeoFlagsGroupByArgs> = Prisma.PrismaPromise<
Array<
PickEnumerable<SeoFlagsGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof SeoFlagsGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: GetScalarType<T[P], SeoFlagsGroupByOutputType[P]>
: GetScalarType<T[P], SeoFlagsGroupByOutputType[P]>
}
>
>
export type SeoFlagsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
checkId?: boolean
robotsTxtStatus?: boolean
robotsTxtRulesJson?: boolean
metaRobots?: boolean
canonicalUrl?: boolean
sitemapPresent?: boolean
noindex?: boolean
nofollow?: boolean
check?: boolean | CheckDefaultArgs<ExtArgs>
}, ExtArgs["result"]["seoFlags"]>
export type SeoFlagsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
checkId?: boolean
robotsTxtStatus?: boolean
robotsTxtRulesJson?: boolean
metaRobots?: boolean
canonicalUrl?: boolean
sitemapPresent?: boolean
noindex?: boolean
nofollow?: boolean
check?: boolean | CheckDefaultArgs<ExtArgs>
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
check?: boolean | CheckDefaultArgs<ExtArgs>
}
export type SeoFlagsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
check?: boolean | CheckDefaultArgs<ExtArgs>
}
export type $SeoFlagsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "SeoFlags"
objects: {
check: Prisma.$CheckPayload<ExtArgs>
}
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<S extends boolean | null | undefined | SeoFlagsDefaultArgs> = $Result.GetResult<Prisma.$SeoFlagsPayload, S>
type SeoFlagsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
Omit<SeoFlagsFindManyArgs, 'select' | 'include' | 'distinct'> & {
select?: SeoFlagsCountAggregateInputType | true
}
export interface SeoFlagsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends SeoFlagsFindUniqueArgs>(args: SelectSubset<T, SeoFlagsFindUniqueArgs<ExtArgs>>): Prisma__SeoFlagsClient<$Result.GetResult<Prisma.$SeoFlagsPayload<ExtArgs>, 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<T extends SeoFlagsFindUniqueOrThrowArgs>(args: SelectSubset<T, SeoFlagsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__SeoFlagsClient<$Result.GetResult<Prisma.$SeoFlagsPayload<ExtArgs>, 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<T extends SeoFlagsFindFirstArgs>(args?: SelectSubset<T, SeoFlagsFindFirstArgs<ExtArgs>>): Prisma__SeoFlagsClient<$Result.GetResult<Prisma.$SeoFlagsPayload<ExtArgs>, 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<T extends SeoFlagsFindFirstOrThrowArgs>(args?: SelectSubset<T, SeoFlagsFindFirstOrThrowArgs<ExtArgs>>): Prisma__SeoFlagsClient<$Result.GetResult<Prisma.$SeoFlagsPayload<ExtArgs>, 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<T extends SeoFlagsFindManyArgs>(args?: SelectSubset<T, SeoFlagsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SeoFlagsPayload<ExtArgs>, 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<T extends SeoFlagsCreateArgs>(args: SelectSubset<T, SeoFlagsCreateArgs<ExtArgs>>): Prisma__SeoFlagsClient<$Result.GetResult<Prisma.$SeoFlagsPayload<ExtArgs>, 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<T extends SeoFlagsCreateManyArgs>(args?: SelectSubset<T, SeoFlagsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends SeoFlagsCreateManyAndReturnArgs>(args?: SelectSubset<T, SeoFlagsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SeoFlagsPayload<ExtArgs>, 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<T extends SeoFlagsDeleteArgs>(args: SelectSubset<T, SeoFlagsDeleteArgs<ExtArgs>>): Prisma__SeoFlagsClient<$Result.GetResult<Prisma.$SeoFlagsPayload<ExtArgs>, 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<T extends SeoFlagsUpdateArgs>(args: SelectSubset<T, SeoFlagsUpdateArgs<ExtArgs>>): Prisma__SeoFlagsClient<$Result.GetResult<Prisma.$SeoFlagsPayload<ExtArgs>, 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<T extends SeoFlagsDeleteManyArgs>(args?: SelectSubset<T, SeoFlagsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends SeoFlagsUpdateManyArgs>(args: SelectSubset<T, SeoFlagsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends SeoFlagsUpsertArgs>(args: SelectSubset<T, SeoFlagsUpsertArgs<ExtArgs>>): Prisma__SeoFlagsClient<$Result.GetResult<Prisma.$SeoFlagsPayload<ExtArgs>, 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<T extends SeoFlagsCountArgs>(
args?: Subset<T, SeoFlagsCountArgs>,
): Prisma.PrismaPromise<
T extends $Utils.Record<'select', any>
? T['select'] extends true
? number
: GetScalarType<T['select'], SeoFlagsCountAggregateOutputType>
: 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<T extends SeoFlagsAggregateArgs>(args: Subset<T, SeoFlagsAggregateArgs>): Prisma.PrismaPromise<GetSeoFlagsAggregateType<T>>
/**
* 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<T>>,
Extends<'take', Keys<T>>
>,
OrderByArg extends True extends HasSelectOrTake
? { orderBy: SeoFlagsGroupByArgs['orderBy'] }
: { orderBy?: SeoFlagsGroupByArgs['orderBy'] },
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends MaybeTupleToUnion<T['by']>,
ByValid extends Has<ByFields, OrderFields>,
HavingFields extends GetHavingFields<T['having']>,
HavingValid extends Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Keys<T>
? 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<T>
? 'orderBy' extends Keys<T>
? 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<T, SeoFlagsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSeoFlagsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
check<T extends CheckDefaultArgs<ExtArgs> = {}>(args?: Subset<T, CheckDefaultArgs<ExtArgs>>): Prisma__CheckClient<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SeoFlags
*/
select?: SeoFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SeoFlagsInclude<ExtArgs> | null
/**
* Filter, which SeoFlags to fetch.
*/
where: SeoFlagsWhereUniqueInput
}
/**
* SeoFlags findUniqueOrThrow
*/
export type SeoFlagsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SeoFlags
*/
select?: SeoFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SeoFlagsInclude<ExtArgs> | null
/**
* Filter, which SeoFlags to fetch.
*/
where: SeoFlagsWhereUniqueInput
}
/**
* SeoFlags findFirst
*/
export type SeoFlagsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SeoFlags
*/
select?: SeoFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SeoFlagsInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SeoFlags
*/
select?: SeoFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SeoFlagsInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SeoFlags
*/
select?: SeoFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SeoFlagsInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SeoFlags
*/
select?: SeoFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SeoFlagsInclude<ExtArgs> | null
/**
* The data needed to create a SeoFlags.
*/
data: XOR<SeoFlagsCreateInput, SeoFlagsUncheckedCreateInput>
}
/**
* SeoFlags createMany
*/
export type SeoFlagsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to create many SeoFlags.
*/
data: SeoFlagsCreateManyInput | SeoFlagsCreateManyInput[]
skipDuplicates?: boolean
}
/**
* SeoFlags createManyAndReturn
*/
export type SeoFlagsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SeoFlags
*/
select?: SeoFlagsSelectCreateManyAndReturn<ExtArgs> | null
/**
* The data used to create many SeoFlags.
*/
data: SeoFlagsCreateManyInput | SeoFlagsCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: SeoFlagsIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* SeoFlags update
*/
export type SeoFlagsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SeoFlags
*/
select?: SeoFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SeoFlagsInclude<ExtArgs> | null
/**
* The data needed to update a SeoFlags.
*/
data: XOR<SeoFlagsUpdateInput, SeoFlagsUncheckedUpdateInput>
/**
* Choose, which SeoFlags to update.
*/
where: SeoFlagsWhereUniqueInput
}
/**
* SeoFlags updateMany
*/
export type SeoFlagsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to update SeoFlags.
*/
data: XOR<SeoFlagsUpdateManyMutationInput, SeoFlagsUncheckedUpdateManyInput>
/**
* Filter which SeoFlags to update
*/
where?: SeoFlagsWhereInput
}
/**
* SeoFlags upsert
*/
export type SeoFlagsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SeoFlags
*/
select?: SeoFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SeoFlagsInclude<ExtArgs> | 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<SeoFlagsCreateInput, SeoFlagsUncheckedCreateInput>
/**
* In case the SeoFlags was found with the provided `where` argument, update it with this data.
*/
update: XOR<SeoFlagsUpdateInput, SeoFlagsUncheckedUpdateInput>
}
/**
* SeoFlags delete
*/
export type SeoFlagsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SeoFlags
*/
select?: SeoFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SeoFlagsInclude<ExtArgs> | null
/**
* Filter which SeoFlags to delete.
*/
where: SeoFlagsWhereUniqueInput
}
/**
* SeoFlags deleteMany
*/
export type SeoFlagsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Filter which SeoFlags to delete
*/
where?: SeoFlagsWhereInput
}
/**
* SeoFlags without action
*/
export type SeoFlagsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SeoFlags
*/
select?: SeoFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SeoFlagsInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* 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<T extends SecurityFlagsAggregateArgs> = {
[P in keyof T & keyof AggregateSecurityFlags]: P extends '_count' | 'count'
? T[P] extends true
? number
: GetScalarType<T[P], AggregateSecurityFlags[P]>
: GetScalarType<T[P], AggregateSecurityFlags[P]>
}
export type SecurityFlagsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
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<T extends SecurityFlagsGroupByArgs> = Prisma.PrismaPromise<
Array<
PickEnumerable<SecurityFlagsGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof SecurityFlagsGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: GetScalarType<T[P], SecurityFlagsGroupByOutputType[P]>
: GetScalarType<T[P], SecurityFlagsGroupByOutputType[P]>
}
>
>
export type SecurityFlagsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
checkId?: boolean
safeBrowsingStatus?: boolean
mixedContent?: boolean
httpsToHttp?: boolean
check?: boolean | CheckDefaultArgs<ExtArgs>
}, ExtArgs["result"]["securityFlags"]>
export type SecurityFlagsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
checkId?: boolean
safeBrowsingStatus?: boolean
mixedContent?: boolean
httpsToHttp?: boolean
check?: boolean | CheckDefaultArgs<ExtArgs>
}, ExtArgs["result"]["securityFlags"]>
export type SecurityFlagsSelectScalar = {
id?: boolean
checkId?: boolean
safeBrowsingStatus?: boolean
mixedContent?: boolean
httpsToHttp?: boolean
}
export type SecurityFlagsInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
check?: boolean | CheckDefaultArgs<ExtArgs>
}
export type SecurityFlagsIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
check?: boolean | CheckDefaultArgs<ExtArgs>
}
export type $SecurityFlagsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "SecurityFlags"
objects: {
check: Prisma.$CheckPayload<ExtArgs>
}
scalars: $Extensions.GetPayloadResult<{
id: string
checkId: string
safeBrowsingStatus: string | null
mixedContent: $Enums.MixedContent
httpsToHttp: boolean
}, ExtArgs["result"]["securityFlags"]>
composites: {}
}
type SecurityFlagsGetPayload<S extends boolean | null | undefined | SecurityFlagsDefaultArgs> = $Result.GetResult<Prisma.$SecurityFlagsPayload, S>
type SecurityFlagsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
Omit<SecurityFlagsFindManyArgs, 'select' | 'include' | 'distinct'> & {
select?: SecurityFlagsCountAggregateInputType | true
}
export interface SecurityFlagsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends SecurityFlagsFindUniqueArgs>(args: SelectSubset<T, SecurityFlagsFindUniqueArgs<ExtArgs>>): Prisma__SecurityFlagsClient<$Result.GetResult<Prisma.$SecurityFlagsPayload<ExtArgs>, 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<T extends SecurityFlagsFindUniqueOrThrowArgs>(args: SelectSubset<T, SecurityFlagsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__SecurityFlagsClient<$Result.GetResult<Prisma.$SecurityFlagsPayload<ExtArgs>, 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<T extends SecurityFlagsFindFirstArgs>(args?: SelectSubset<T, SecurityFlagsFindFirstArgs<ExtArgs>>): Prisma__SecurityFlagsClient<$Result.GetResult<Prisma.$SecurityFlagsPayload<ExtArgs>, 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<T extends SecurityFlagsFindFirstOrThrowArgs>(args?: SelectSubset<T, SecurityFlagsFindFirstOrThrowArgs<ExtArgs>>): Prisma__SecurityFlagsClient<$Result.GetResult<Prisma.$SecurityFlagsPayload<ExtArgs>, 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<T extends SecurityFlagsFindManyArgs>(args?: SelectSubset<T, SecurityFlagsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SecurityFlagsPayload<ExtArgs>, 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<T extends SecurityFlagsCreateArgs>(args: SelectSubset<T, SecurityFlagsCreateArgs<ExtArgs>>): Prisma__SecurityFlagsClient<$Result.GetResult<Prisma.$SecurityFlagsPayload<ExtArgs>, 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<T extends SecurityFlagsCreateManyArgs>(args?: SelectSubset<T, SecurityFlagsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends SecurityFlagsCreateManyAndReturnArgs>(args?: SelectSubset<T, SecurityFlagsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$SecurityFlagsPayload<ExtArgs>, 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<T extends SecurityFlagsDeleteArgs>(args: SelectSubset<T, SecurityFlagsDeleteArgs<ExtArgs>>): Prisma__SecurityFlagsClient<$Result.GetResult<Prisma.$SecurityFlagsPayload<ExtArgs>, 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<T extends SecurityFlagsUpdateArgs>(args: SelectSubset<T, SecurityFlagsUpdateArgs<ExtArgs>>): Prisma__SecurityFlagsClient<$Result.GetResult<Prisma.$SecurityFlagsPayload<ExtArgs>, 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<T extends SecurityFlagsDeleteManyArgs>(args?: SelectSubset<T, SecurityFlagsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends SecurityFlagsUpdateManyArgs>(args: SelectSubset<T, SecurityFlagsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends SecurityFlagsUpsertArgs>(args: SelectSubset<T, SecurityFlagsUpsertArgs<ExtArgs>>): Prisma__SecurityFlagsClient<$Result.GetResult<Prisma.$SecurityFlagsPayload<ExtArgs>, 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<T extends SecurityFlagsCountArgs>(
args?: Subset<T, SecurityFlagsCountArgs>,
): Prisma.PrismaPromise<
T extends $Utils.Record<'select', any>
? T['select'] extends true
? number
: GetScalarType<T['select'], SecurityFlagsCountAggregateOutputType>
: 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<T extends SecurityFlagsAggregateArgs>(args: Subset<T, SecurityFlagsAggregateArgs>): Prisma.PrismaPromise<GetSecurityFlagsAggregateType<T>>
/**
* 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<T>>,
Extends<'take', Keys<T>>
>,
OrderByArg extends True extends HasSelectOrTake
? { orderBy: SecurityFlagsGroupByArgs['orderBy'] }
: { orderBy?: SecurityFlagsGroupByArgs['orderBy'] },
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends MaybeTupleToUnion<T['by']>,
ByValid extends Has<ByFields, OrderFields>,
HavingFields extends GetHavingFields<T['having']>,
HavingValid extends Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Keys<T>
? 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<T>
? 'orderBy' extends Keys<T>
? 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<T, SecurityFlagsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSecurityFlagsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
check<T extends CheckDefaultArgs<ExtArgs> = {}>(args?: Subset<T, CheckDefaultArgs<ExtArgs>>): Prisma__CheckClient<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SecurityFlags
*/
select?: SecurityFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SecurityFlagsInclude<ExtArgs> | null
/**
* Filter, which SecurityFlags to fetch.
*/
where: SecurityFlagsWhereUniqueInput
}
/**
* SecurityFlags findUniqueOrThrow
*/
export type SecurityFlagsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SecurityFlags
*/
select?: SecurityFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SecurityFlagsInclude<ExtArgs> | null
/**
* Filter, which SecurityFlags to fetch.
*/
where: SecurityFlagsWhereUniqueInput
}
/**
* SecurityFlags findFirst
*/
export type SecurityFlagsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SecurityFlags
*/
select?: SecurityFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SecurityFlagsInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SecurityFlags
*/
select?: SecurityFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SecurityFlagsInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SecurityFlags
*/
select?: SecurityFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SecurityFlagsInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SecurityFlags
*/
select?: SecurityFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SecurityFlagsInclude<ExtArgs> | null
/**
* The data needed to create a SecurityFlags.
*/
data: XOR<SecurityFlagsCreateInput, SecurityFlagsUncheckedCreateInput>
}
/**
* SecurityFlags createMany
*/
export type SecurityFlagsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to create many SecurityFlags.
*/
data: SecurityFlagsCreateManyInput | SecurityFlagsCreateManyInput[]
skipDuplicates?: boolean
}
/**
* SecurityFlags createManyAndReturn
*/
export type SecurityFlagsCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SecurityFlags
*/
select?: SecurityFlagsSelectCreateManyAndReturn<ExtArgs> | null
/**
* The data used to create many SecurityFlags.
*/
data: SecurityFlagsCreateManyInput | SecurityFlagsCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: SecurityFlagsIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* SecurityFlags update
*/
export type SecurityFlagsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SecurityFlags
*/
select?: SecurityFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SecurityFlagsInclude<ExtArgs> | null
/**
* The data needed to update a SecurityFlags.
*/
data: XOR<SecurityFlagsUpdateInput, SecurityFlagsUncheckedUpdateInput>
/**
* Choose, which SecurityFlags to update.
*/
where: SecurityFlagsWhereUniqueInput
}
/**
* SecurityFlags updateMany
*/
export type SecurityFlagsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to update SecurityFlags.
*/
data: XOR<SecurityFlagsUpdateManyMutationInput, SecurityFlagsUncheckedUpdateManyInput>
/**
* Filter which SecurityFlags to update
*/
where?: SecurityFlagsWhereInput
}
/**
* SecurityFlags upsert
*/
export type SecurityFlagsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SecurityFlags
*/
select?: SecurityFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SecurityFlagsInclude<ExtArgs> | 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<SecurityFlagsCreateInput, SecurityFlagsUncheckedCreateInput>
/**
* In case the SecurityFlags was found with the provided `where` argument, update it with this data.
*/
update: XOR<SecurityFlagsUpdateInput, SecurityFlagsUncheckedUpdateInput>
}
/**
* SecurityFlags delete
*/
export type SecurityFlagsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SecurityFlags
*/
select?: SecurityFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SecurityFlagsInclude<ExtArgs> | null
/**
* Filter which SecurityFlags to delete.
*/
where: SecurityFlagsWhereUniqueInput
}
/**
* SecurityFlags deleteMany
*/
export type SecurityFlagsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Filter which SecurityFlags to delete
*/
where?: SecurityFlagsWhereInput
}
/**
* SecurityFlags without action
*/
export type SecurityFlagsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the SecurityFlags
*/
select?: SecurityFlagsSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: SecurityFlagsInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* 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<T extends ReportAggregateArgs> = {
[P in keyof T & keyof AggregateReport]: P extends '_count' | 'count'
? T[P] extends true
? number
: GetScalarType<T[P], AggregateReport[P]>
: GetScalarType<T[P], AggregateReport[P]>
}
export type ReportGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
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<T extends ReportGroupByArgs> = Prisma.PrismaPromise<
Array<
PickEnumerable<ReportGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof ReportGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: GetScalarType<T[P], ReportGroupByOutputType[P]>
: GetScalarType<T[P], ReportGroupByOutputType[P]>
}
>
>
export type ReportSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
checkId?: boolean
markdownPath?: boolean
pdfPath?: boolean
createdAt?: boolean
check?: boolean | CheckDefaultArgs<ExtArgs>
}, ExtArgs["result"]["report"]>
export type ReportSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
checkId?: boolean
markdownPath?: boolean
pdfPath?: boolean
createdAt?: boolean
check?: boolean | CheckDefaultArgs<ExtArgs>
}, ExtArgs["result"]["report"]>
export type ReportSelectScalar = {
id?: boolean
checkId?: boolean
markdownPath?: boolean
pdfPath?: boolean
createdAt?: boolean
}
export type ReportInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
check?: boolean | CheckDefaultArgs<ExtArgs>
}
export type ReportIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
check?: boolean | CheckDefaultArgs<ExtArgs>
}
export type $ReportPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "Report"
objects: {
check: Prisma.$CheckPayload<ExtArgs>
}
scalars: $Extensions.GetPayloadResult<{
id: string
checkId: string
markdownPath: string | null
pdfPath: string | null
createdAt: Date
}, ExtArgs["result"]["report"]>
composites: {}
}
type ReportGetPayload<S extends boolean | null | undefined | ReportDefaultArgs> = $Result.GetResult<Prisma.$ReportPayload, S>
type ReportCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
Omit<ReportFindManyArgs, 'select' | 'include' | 'distinct'> & {
select?: ReportCountAggregateInputType | true
}
export interface ReportDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends ReportFindUniqueArgs>(args: SelectSubset<T, ReportFindUniqueArgs<ExtArgs>>): Prisma__ReportClient<$Result.GetResult<Prisma.$ReportPayload<ExtArgs>, 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<T extends ReportFindUniqueOrThrowArgs>(args: SelectSubset<T, ReportFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ReportClient<$Result.GetResult<Prisma.$ReportPayload<ExtArgs>, 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<T extends ReportFindFirstArgs>(args?: SelectSubset<T, ReportFindFirstArgs<ExtArgs>>): Prisma__ReportClient<$Result.GetResult<Prisma.$ReportPayload<ExtArgs>, 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<T extends ReportFindFirstOrThrowArgs>(args?: SelectSubset<T, ReportFindFirstOrThrowArgs<ExtArgs>>): Prisma__ReportClient<$Result.GetResult<Prisma.$ReportPayload<ExtArgs>, 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<T extends ReportFindManyArgs>(args?: SelectSubset<T, ReportFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ReportPayload<ExtArgs>, 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<T extends ReportCreateArgs>(args: SelectSubset<T, ReportCreateArgs<ExtArgs>>): Prisma__ReportClient<$Result.GetResult<Prisma.$ReportPayload<ExtArgs>, 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<T extends ReportCreateManyArgs>(args?: SelectSubset<T, ReportCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends ReportCreateManyAndReturnArgs>(args?: SelectSubset<T, ReportCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ReportPayload<ExtArgs>, 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<T extends ReportDeleteArgs>(args: SelectSubset<T, ReportDeleteArgs<ExtArgs>>): Prisma__ReportClient<$Result.GetResult<Prisma.$ReportPayload<ExtArgs>, 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<T extends ReportUpdateArgs>(args: SelectSubset<T, ReportUpdateArgs<ExtArgs>>): Prisma__ReportClient<$Result.GetResult<Prisma.$ReportPayload<ExtArgs>, 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<T extends ReportDeleteManyArgs>(args?: SelectSubset<T, ReportDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends ReportUpdateManyArgs>(args: SelectSubset<T, ReportUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends ReportUpsertArgs>(args: SelectSubset<T, ReportUpsertArgs<ExtArgs>>): Prisma__ReportClient<$Result.GetResult<Prisma.$ReportPayload<ExtArgs>, 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<T extends ReportCountArgs>(
args?: Subset<T, ReportCountArgs>,
): Prisma.PrismaPromise<
T extends $Utils.Record<'select', any>
? T['select'] extends true
? number
: GetScalarType<T['select'], ReportCountAggregateOutputType>
: 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<T extends ReportAggregateArgs>(args: Subset<T, ReportAggregateArgs>): Prisma.PrismaPromise<GetReportAggregateType<T>>
/**
* 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<T>>,
Extends<'take', Keys<T>>
>,
OrderByArg extends True extends HasSelectOrTake
? { orderBy: ReportGroupByArgs['orderBy'] }
: { orderBy?: ReportGroupByArgs['orderBy'] },
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends MaybeTupleToUnion<T['by']>,
ByValid extends Has<ByFields, OrderFields>,
HavingFields extends GetHavingFields<T['having']>,
HavingValid extends Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Keys<T>
? 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<T>
? 'orderBy' extends Keys<T>
? 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<T, ReportGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetReportGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
check<T extends CheckDefaultArgs<ExtArgs> = {}>(args?: Subset<T, CheckDefaultArgs<ExtArgs>>): Prisma__CheckClient<$Result.GetResult<Prisma.$CheckPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Report
*/
select?: ReportSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ReportInclude<ExtArgs> | null
/**
* Filter, which Report to fetch.
*/
where: ReportWhereUniqueInput
}
/**
* Report findUniqueOrThrow
*/
export type ReportFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Report
*/
select?: ReportSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ReportInclude<ExtArgs> | null
/**
* Filter, which Report to fetch.
*/
where: ReportWhereUniqueInput
}
/**
* Report findFirst
*/
export type ReportFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Report
*/
select?: ReportSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ReportInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Report
*/
select?: ReportSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ReportInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Report
*/
select?: ReportSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ReportInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Report
*/
select?: ReportSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ReportInclude<ExtArgs> | null
/**
* The data needed to create a Report.
*/
data: XOR<ReportCreateInput, ReportUncheckedCreateInput>
}
/**
* Report createMany
*/
export type ReportCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to create many Reports.
*/
data: ReportCreateManyInput | ReportCreateManyInput[]
skipDuplicates?: boolean
}
/**
* Report createManyAndReturn
*/
export type ReportCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Report
*/
select?: ReportSelectCreateManyAndReturn<ExtArgs> | null
/**
* The data used to create many Reports.
*/
data: ReportCreateManyInput | ReportCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: ReportIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* Report update
*/
export type ReportUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Report
*/
select?: ReportSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ReportInclude<ExtArgs> | null
/**
* The data needed to update a Report.
*/
data: XOR<ReportUpdateInput, ReportUncheckedUpdateInput>
/**
* Choose, which Report to update.
*/
where: ReportWhereUniqueInput
}
/**
* Report updateMany
*/
export type ReportUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to update Reports.
*/
data: XOR<ReportUpdateManyMutationInput, ReportUncheckedUpdateManyInput>
/**
* Filter which Reports to update
*/
where?: ReportWhereInput
}
/**
* Report upsert
*/
export type ReportUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Report
*/
select?: ReportSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ReportInclude<ExtArgs> | 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<ReportCreateInput, ReportUncheckedCreateInput>
/**
* In case the Report was found with the provided `where` argument, update it with this data.
*/
update: XOR<ReportUpdateInput, ReportUncheckedUpdateInput>
}
/**
* Report delete
*/
export type ReportDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Report
*/
select?: ReportSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ReportInclude<ExtArgs> | null
/**
* Filter which Report to delete.
*/
where: ReportWhereUniqueInput
}
/**
* Report deleteMany
*/
export type ReportDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Filter which Reports to delete
*/
where?: ReportWhereInput
}
/**
* Report without action
*/
export type ReportDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Report
*/
select?: ReportSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ReportInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* 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<T extends BulkJobAggregateArgs> = {
[P in keyof T & keyof AggregateBulkJob]: P extends '_count' | 'count'
? T[P] extends true
? number
: GetScalarType<T[P], AggregateBulkJob[P]>
: GetScalarType<T[P], AggregateBulkJob[P]>
}
export type BulkJobGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
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<T extends BulkJobGroupByArgs> = Prisma.PrismaPromise<
Array<
PickEnumerable<BulkJobGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof BulkJobGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: GetScalarType<T[P], BulkJobGroupByOutputType[P]>
: GetScalarType<T[P], BulkJobGroupByOutputType[P]>
}
>
>
export type BulkJobSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs>
organization?: boolean | BulkJob$organizationArgs<ExtArgs>
project?: boolean | ProjectDefaultArgs<ExtArgs>
}, ExtArgs["result"]["bulkJob"]>
export type BulkJobSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs>
organization?: boolean | BulkJob$organizationArgs<ExtArgs>
project?: boolean | ProjectDefaultArgs<ExtArgs>
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
user?: boolean | UserDefaultArgs<ExtArgs>
organization?: boolean | BulkJob$organizationArgs<ExtArgs>
project?: boolean | ProjectDefaultArgs<ExtArgs>
}
export type BulkJobIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
user?: boolean | UserDefaultArgs<ExtArgs>
organization?: boolean | BulkJob$organizationArgs<ExtArgs>
project?: boolean | ProjectDefaultArgs<ExtArgs>
}
export type $BulkJobPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "BulkJob"
objects: {
user: Prisma.$UserPayload<ExtArgs>
organization: Prisma.$OrganizationPayload<ExtArgs> | null
project: Prisma.$ProjectPayload<ExtArgs>
}
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<S extends boolean | null | undefined | BulkJobDefaultArgs> = $Result.GetResult<Prisma.$BulkJobPayload, S>
type BulkJobCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
Omit<BulkJobFindManyArgs, 'select' | 'include' | 'distinct'> & {
select?: BulkJobCountAggregateInputType | true
}
export interface BulkJobDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends BulkJobFindUniqueArgs>(args: SelectSubset<T, BulkJobFindUniqueArgs<ExtArgs>>): Prisma__BulkJobClient<$Result.GetResult<Prisma.$BulkJobPayload<ExtArgs>, 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<T extends BulkJobFindUniqueOrThrowArgs>(args: SelectSubset<T, BulkJobFindUniqueOrThrowArgs<ExtArgs>>): Prisma__BulkJobClient<$Result.GetResult<Prisma.$BulkJobPayload<ExtArgs>, 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<T extends BulkJobFindFirstArgs>(args?: SelectSubset<T, BulkJobFindFirstArgs<ExtArgs>>): Prisma__BulkJobClient<$Result.GetResult<Prisma.$BulkJobPayload<ExtArgs>, 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<T extends BulkJobFindFirstOrThrowArgs>(args?: SelectSubset<T, BulkJobFindFirstOrThrowArgs<ExtArgs>>): Prisma__BulkJobClient<$Result.GetResult<Prisma.$BulkJobPayload<ExtArgs>, 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<T extends BulkJobFindManyArgs>(args?: SelectSubset<T, BulkJobFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$BulkJobPayload<ExtArgs>, 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<T extends BulkJobCreateArgs>(args: SelectSubset<T, BulkJobCreateArgs<ExtArgs>>): Prisma__BulkJobClient<$Result.GetResult<Prisma.$BulkJobPayload<ExtArgs>, 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<T extends BulkJobCreateManyArgs>(args?: SelectSubset<T, BulkJobCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends BulkJobCreateManyAndReturnArgs>(args?: SelectSubset<T, BulkJobCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$BulkJobPayload<ExtArgs>, 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<T extends BulkJobDeleteArgs>(args: SelectSubset<T, BulkJobDeleteArgs<ExtArgs>>): Prisma__BulkJobClient<$Result.GetResult<Prisma.$BulkJobPayload<ExtArgs>, 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<T extends BulkJobUpdateArgs>(args: SelectSubset<T, BulkJobUpdateArgs<ExtArgs>>): Prisma__BulkJobClient<$Result.GetResult<Prisma.$BulkJobPayload<ExtArgs>, 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<T extends BulkJobDeleteManyArgs>(args?: SelectSubset<T, BulkJobDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends BulkJobUpdateManyArgs>(args: SelectSubset<T, BulkJobUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends BulkJobUpsertArgs>(args: SelectSubset<T, BulkJobUpsertArgs<ExtArgs>>): Prisma__BulkJobClient<$Result.GetResult<Prisma.$BulkJobPayload<ExtArgs>, 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<T extends BulkJobCountArgs>(
args?: Subset<T, BulkJobCountArgs>,
): Prisma.PrismaPromise<
T extends $Utils.Record<'select', any>
? T['select'] extends true
? number
: GetScalarType<T['select'], BulkJobCountAggregateOutputType>
: 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<T extends BulkJobAggregateArgs>(args: Subset<T, BulkJobAggregateArgs>): Prisma.PrismaPromise<GetBulkJobAggregateType<T>>
/**
* 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<T>>,
Extends<'take', Keys<T>>
>,
OrderByArg extends True extends HasSelectOrTake
? { orderBy: BulkJobGroupByArgs['orderBy'] }
: { orderBy?: BulkJobGroupByArgs['orderBy'] },
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends MaybeTupleToUnion<T['by']>,
ByValid extends Has<ByFields, OrderFields>,
HavingFields extends GetHavingFields<T['having']>,
HavingValid extends Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Keys<T>
? 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<T>
? 'orderBy' extends Keys<T>
? 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<T, BulkJobGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBulkJobGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
user<T extends UserDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UserDefaultArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
organization<T extends BulkJob$organizationArgs<ExtArgs> = {}>(args?: Subset<T, BulkJob$organizationArgs<ExtArgs>>): Prisma__OrganizationClient<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow"> | null, null, ExtArgs>
project<T extends ProjectDefaultArgs<ExtArgs> = {}>(args?: Subset<T, ProjectDefaultArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the BulkJob
*/
select?: BulkJobSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: BulkJobInclude<ExtArgs> | null
/**
* Filter, which BulkJob to fetch.
*/
where: BulkJobWhereUniqueInput
}
/**
* BulkJob findUniqueOrThrow
*/
export type BulkJobFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the BulkJob
*/
select?: BulkJobSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: BulkJobInclude<ExtArgs> | null
/**
* Filter, which BulkJob to fetch.
*/
where: BulkJobWhereUniqueInput
}
/**
* BulkJob findFirst
*/
export type BulkJobFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the BulkJob
*/
select?: BulkJobSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: BulkJobInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the BulkJob
*/
select?: BulkJobSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: BulkJobInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the BulkJob
*/
select?: BulkJobSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: BulkJobInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the BulkJob
*/
select?: BulkJobSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: BulkJobInclude<ExtArgs> | null
/**
* The data needed to create a BulkJob.
*/
data: XOR<BulkJobCreateInput, BulkJobUncheckedCreateInput>
}
/**
* BulkJob createMany
*/
export type BulkJobCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to create many BulkJobs.
*/
data: BulkJobCreateManyInput | BulkJobCreateManyInput[]
skipDuplicates?: boolean
}
/**
* BulkJob createManyAndReturn
*/
export type BulkJobCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the BulkJob
*/
select?: BulkJobSelectCreateManyAndReturn<ExtArgs> | null
/**
* The data used to create many BulkJobs.
*/
data: BulkJobCreateManyInput | BulkJobCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: BulkJobIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* BulkJob update
*/
export type BulkJobUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the BulkJob
*/
select?: BulkJobSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: BulkJobInclude<ExtArgs> | null
/**
* The data needed to update a BulkJob.
*/
data: XOR<BulkJobUpdateInput, BulkJobUncheckedUpdateInput>
/**
* Choose, which BulkJob to update.
*/
where: BulkJobWhereUniqueInput
}
/**
* BulkJob updateMany
*/
export type BulkJobUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to update BulkJobs.
*/
data: XOR<BulkJobUpdateManyMutationInput, BulkJobUncheckedUpdateManyInput>
/**
* Filter which BulkJobs to update
*/
where?: BulkJobWhereInput
}
/**
* BulkJob upsert
*/
export type BulkJobUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the BulkJob
*/
select?: BulkJobSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: BulkJobInclude<ExtArgs> | 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<BulkJobCreateInput, BulkJobUncheckedCreateInput>
/**
* In case the BulkJob was found with the provided `where` argument, update it with this data.
*/
update: XOR<BulkJobUpdateInput, BulkJobUncheckedUpdateInput>
}
/**
* BulkJob delete
*/
export type BulkJobDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the BulkJob
*/
select?: BulkJobSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: BulkJobInclude<ExtArgs> | null
/**
* Filter which BulkJob to delete.
*/
where: BulkJobWhereUniqueInput
}
/**
* BulkJob deleteMany
*/
export type BulkJobDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Filter which BulkJobs to delete
*/
where?: BulkJobWhereInput
}
/**
* BulkJob.organization
*/
export type BulkJob$organizationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Organization
*/
select?: OrganizationSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: OrganizationInclude<ExtArgs> | null
where?: OrganizationWhereInput
}
/**
* BulkJob without action
*/
export type BulkJobDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the BulkJob
*/
select?: BulkJobSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: BulkJobInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* 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<T extends ApiKeyAggregateArgs> = {
[P in keyof T & keyof AggregateApiKey]: P extends '_count' | 'count'
? T[P] extends true
? number
: GetScalarType<T[P], AggregateApiKey[P]>
: GetScalarType<T[P], AggregateApiKey[P]>
}
export type ApiKeyGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
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<T extends ApiKeyGroupByArgs> = Prisma.PrismaPromise<
Array<
PickEnumerable<ApiKeyGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof ApiKeyGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: GetScalarType<T[P], ApiKeyGroupByOutputType[P]>
: GetScalarType<T[P], ApiKeyGroupByOutputType[P]>
}
>
>
export type ApiKeySelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
orgId?: boolean
name?: boolean
tokenHash?: boolean
permsJson?: boolean
rateLimitQuota?: boolean
createdAt?: boolean
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
}, ExtArgs["result"]["apiKey"]>
export type ApiKeySelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
orgId?: boolean
name?: boolean
tokenHash?: boolean
permsJson?: boolean
rateLimitQuota?: boolean
createdAt?: boolean
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
}, ExtArgs["result"]["apiKey"]>
export type ApiKeySelectScalar = {
id?: boolean
orgId?: boolean
name?: boolean
tokenHash?: boolean
permsJson?: boolean
rateLimitQuota?: boolean
createdAt?: boolean
}
export type ApiKeyInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
}
export type ApiKeyIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
}
export type $ApiKeyPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "ApiKey"
objects: {
organization: Prisma.$OrganizationPayload<ExtArgs>
}
scalars: $Extensions.GetPayloadResult<{
id: string
orgId: string
name: string
tokenHash: string
permsJson: Prisma.JsonValue
rateLimitQuota: number
createdAt: Date
}, ExtArgs["result"]["apiKey"]>
composites: {}
}
type ApiKeyGetPayload<S extends boolean | null | undefined | ApiKeyDefaultArgs> = $Result.GetResult<Prisma.$ApiKeyPayload, S>
type ApiKeyCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
Omit<ApiKeyFindManyArgs, 'select' | 'include' | 'distinct'> & {
select?: ApiKeyCountAggregateInputType | true
}
export interface ApiKeyDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends ApiKeyFindUniqueArgs>(args: SelectSubset<T, ApiKeyFindUniqueArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, 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<T extends ApiKeyFindUniqueOrThrowArgs>(args: SelectSubset<T, ApiKeyFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, 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<T extends ApiKeyFindFirstArgs>(args?: SelectSubset<T, ApiKeyFindFirstArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, 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<T extends ApiKeyFindFirstOrThrowArgs>(args?: SelectSubset<T, ApiKeyFindFirstOrThrowArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, 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<T extends ApiKeyFindManyArgs>(args?: SelectSubset<T, ApiKeyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, 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<T extends ApiKeyCreateArgs>(args: SelectSubset<T, ApiKeyCreateArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, 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<T extends ApiKeyCreateManyArgs>(args?: SelectSubset<T, ApiKeyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends ApiKeyCreateManyAndReturnArgs>(args?: SelectSubset<T, ApiKeyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, 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<T extends ApiKeyDeleteArgs>(args: SelectSubset<T, ApiKeyDeleteArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, 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<T extends ApiKeyUpdateArgs>(args: SelectSubset<T, ApiKeyUpdateArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, 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<T extends ApiKeyDeleteManyArgs>(args?: SelectSubset<T, ApiKeyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends ApiKeyUpdateManyArgs>(args: SelectSubset<T, ApiKeyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends ApiKeyUpsertArgs>(args: SelectSubset<T, ApiKeyUpsertArgs<ExtArgs>>): Prisma__ApiKeyClient<$Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, 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<T extends ApiKeyCountArgs>(
args?: Subset<T, ApiKeyCountArgs>,
): Prisma.PrismaPromise<
T extends $Utils.Record<'select', any>
? T['select'] extends true
? number
: GetScalarType<T['select'], ApiKeyCountAggregateOutputType>
: 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<T extends ApiKeyAggregateArgs>(args: Subset<T, ApiKeyAggregateArgs>): Prisma.PrismaPromise<GetApiKeyAggregateType<T>>
/**
* 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<T>>,
Extends<'take', Keys<T>>
>,
OrderByArg extends True extends HasSelectOrTake
? { orderBy: ApiKeyGroupByArgs['orderBy'] }
: { orderBy?: ApiKeyGroupByArgs['orderBy'] },
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends MaybeTupleToUnion<T['by']>,
ByValid extends Has<ByFields, OrderFields>,
HavingFields extends GetHavingFields<T['having']>,
HavingValid extends Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Keys<T>
? 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<T>
? 'orderBy' extends Keys<T>
? 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<T, ApiKeyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetApiKeyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
organization<T extends OrganizationDefaultArgs<ExtArgs> = {}>(args?: Subset<T, OrganizationDefaultArgs<ExtArgs>>): Prisma__OrganizationClient<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ApiKey
*/
select?: ApiKeySelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ApiKeyInclude<ExtArgs> | null
/**
* Filter, which ApiKey to fetch.
*/
where: ApiKeyWhereUniqueInput
}
/**
* ApiKey findUniqueOrThrow
*/
export type ApiKeyFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ApiKey
*/
select?: ApiKeySelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ApiKeyInclude<ExtArgs> | null
/**
* Filter, which ApiKey to fetch.
*/
where: ApiKeyWhereUniqueInput
}
/**
* ApiKey findFirst
*/
export type ApiKeyFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ApiKey
*/
select?: ApiKeySelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ApiKeyInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ApiKey
*/
select?: ApiKeySelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ApiKeyInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ApiKey
*/
select?: ApiKeySelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ApiKeyInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ApiKey
*/
select?: ApiKeySelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ApiKeyInclude<ExtArgs> | null
/**
* The data needed to create a ApiKey.
*/
data: XOR<ApiKeyCreateInput, ApiKeyUncheckedCreateInput>
}
/**
* ApiKey createMany
*/
export type ApiKeyCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to create many ApiKeys.
*/
data: ApiKeyCreateManyInput | ApiKeyCreateManyInput[]
skipDuplicates?: boolean
}
/**
* ApiKey createManyAndReturn
*/
export type ApiKeyCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ApiKey
*/
select?: ApiKeySelectCreateManyAndReturn<ExtArgs> | null
/**
* The data used to create many ApiKeys.
*/
data: ApiKeyCreateManyInput | ApiKeyCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: ApiKeyIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* ApiKey update
*/
export type ApiKeyUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ApiKey
*/
select?: ApiKeySelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ApiKeyInclude<ExtArgs> | null
/**
* The data needed to update a ApiKey.
*/
data: XOR<ApiKeyUpdateInput, ApiKeyUncheckedUpdateInput>
/**
* Choose, which ApiKey to update.
*/
where: ApiKeyWhereUniqueInput
}
/**
* ApiKey updateMany
*/
export type ApiKeyUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to update ApiKeys.
*/
data: XOR<ApiKeyUpdateManyMutationInput, ApiKeyUncheckedUpdateManyInput>
/**
* Filter which ApiKeys to update
*/
where?: ApiKeyWhereInput
}
/**
* ApiKey upsert
*/
export type ApiKeyUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ApiKey
*/
select?: ApiKeySelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ApiKeyInclude<ExtArgs> | 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<ApiKeyCreateInput, ApiKeyUncheckedCreateInput>
/**
* In case the ApiKey was found with the provided `where` argument, update it with this data.
*/
update: XOR<ApiKeyUpdateInput, ApiKeyUncheckedUpdateInput>
}
/**
* ApiKey delete
*/
export type ApiKeyDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ApiKey
*/
select?: ApiKeySelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ApiKeyInclude<ExtArgs> | null
/**
* Filter which ApiKey to delete.
*/
where: ApiKeyWhereUniqueInput
}
/**
* ApiKey deleteMany
*/
export type ApiKeyDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Filter which ApiKeys to delete
*/
where?: ApiKeyWhereInput
}
/**
* ApiKey without action
*/
export type ApiKeyDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the ApiKey
*/
select?: ApiKeySelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: ApiKeyInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* 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<T extends AuditLogAggregateArgs> = {
[P in keyof T & keyof AggregateAuditLog]: P extends '_count' | 'count'
? T[P] extends true
? number
: GetScalarType<T[P], AggregateAuditLog[P]>
: GetScalarType<T[P], AggregateAuditLog[P]>
}
export type AuditLogGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
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<T extends AuditLogGroupByArgs> = Prisma.PrismaPromise<
Array<
PickEnumerable<AuditLogGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AuditLogGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: GetScalarType<T[P], AuditLogGroupByOutputType[P]>
: GetScalarType<T[P], AuditLogGroupByOutputType[P]>
}
>
>
export type AuditLogSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
orgId?: boolean
actorUserId?: boolean
action?: boolean
entity?: boolean
entityId?: boolean
metaJson?: boolean
createdAt?: boolean
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
actor?: boolean | AuditLog$actorArgs<ExtArgs>
}, ExtArgs["result"]["auditLog"]>
export type AuditLogSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean
orgId?: boolean
actorUserId?: boolean
action?: boolean
entity?: boolean
entityId?: boolean
metaJson?: boolean
createdAt?: boolean
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
actor?: boolean | AuditLog$actorArgs<ExtArgs>
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
actor?: boolean | AuditLog$actorArgs<ExtArgs>
}
export type AuditLogIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
organization?: boolean | OrganizationDefaultArgs<ExtArgs>
actor?: boolean | AuditLog$actorArgs<ExtArgs>
}
export type $AuditLogPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "AuditLog"
objects: {
organization: Prisma.$OrganizationPayload<ExtArgs>
actor: Prisma.$UserPayload<ExtArgs> | 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<S extends boolean | null | undefined | AuditLogDefaultArgs> = $Result.GetResult<Prisma.$AuditLogPayload, S>
type AuditLogCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
Omit<AuditLogFindManyArgs, 'select' | 'include' | 'distinct'> & {
select?: AuditLogCountAggregateInputType | true
}
export interface AuditLogDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends AuditLogFindUniqueArgs>(args: SelectSubset<T, AuditLogFindUniqueArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, 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<T extends AuditLogFindUniqueOrThrowArgs>(args: SelectSubset<T, AuditLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, 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<T extends AuditLogFindFirstArgs>(args?: SelectSubset<T, AuditLogFindFirstArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, 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<T extends AuditLogFindFirstOrThrowArgs>(args?: SelectSubset<T, AuditLogFindFirstOrThrowArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, 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<T extends AuditLogFindManyArgs>(args?: SelectSubset<T, AuditLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, 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<T extends AuditLogCreateArgs>(args: SelectSubset<T, AuditLogCreateArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, 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<T extends AuditLogCreateManyArgs>(args?: SelectSubset<T, AuditLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends AuditLogCreateManyAndReturnArgs>(args?: SelectSubset<T, AuditLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, 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<T extends AuditLogDeleteArgs>(args: SelectSubset<T, AuditLogDeleteArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, 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<T extends AuditLogUpdateArgs>(args: SelectSubset<T, AuditLogUpdateArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, 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<T extends AuditLogDeleteManyArgs>(args?: SelectSubset<T, AuditLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends AuditLogUpdateManyArgs>(args: SelectSubset<T, AuditLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
/**
* 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<T extends AuditLogUpsertArgs>(args: SelectSubset<T, AuditLogUpsertArgs<ExtArgs>>): Prisma__AuditLogClient<$Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, 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<T extends AuditLogCountArgs>(
args?: Subset<T, AuditLogCountArgs>,
): Prisma.PrismaPromise<
T extends $Utils.Record<'select', any>
? T['select'] extends true
? number
: GetScalarType<T['select'], AuditLogCountAggregateOutputType>
: 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<T extends AuditLogAggregateArgs>(args: Subset<T, AuditLogAggregateArgs>): Prisma.PrismaPromise<GetAuditLogAggregateType<T>>
/**
* 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<T>>,
Extends<'take', Keys<T>>
>,
OrderByArg extends True extends HasSelectOrTake
? { orderBy: AuditLogGroupByArgs['orderBy'] }
: { orderBy?: AuditLogGroupByArgs['orderBy'] },
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends MaybeTupleToUnion<T['by']>,
ByValid extends Has<ByFields, OrderFields>,
HavingFields extends GetHavingFields<T['having']>,
HavingValid extends Has<ByFields, HavingFields>,
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<T>
? 'orderBy' extends Keys<T>
? 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<T>
? 'orderBy' extends Keys<T>
? 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<T, AuditLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAuditLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
organization<T extends OrganizationDefaultArgs<ExtArgs> = {}>(args?: Subset<T, OrganizationDefaultArgs<ExtArgs>>): Prisma__OrganizationClient<$Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow"> | Null, Null, ExtArgs>
actor<T extends AuditLog$actorArgs<ExtArgs> = {}>(args?: Subset<T, AuditLog$actorArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
/**
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
/**
* 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<T>
}
/**
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditLog
*/
select?: AuditLogSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: AuditLogInclude<ExtArgs> | null
/**
* Filter, which AuditLog to fetch.
*/
where: AuditLogWhereUniqueInput
}
/**
* AuditLog findUniqueOrThrow
*/
export type AuditLogFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditLog
*/
select?: AuditLogSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: AuditLogInclude<ExtArgs> | null
/**
* Filter, which AuditLog to fetch.
*/
where: AuditLogWhereUniqueInput
}
/**
* AuditLog findFirst
*/
export type AuditLogFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditLog
*/
select?: AuditLogSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: AuditLogInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditLog
*/
select?: AuditLogSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: AuditLogInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditLog
*/
select?: AuditLogSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: AuditLogInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditLog
*/
select?: AuditLogSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: AuditLogInclude<ExtArgs> | null
/**
* The data needed to create a AuditLog.
*/
data: XOR<AuditLogCreateInput, AuditLogUncheckedCreateInput>
}
/**
* AuditLog createMany
*/
export type AuditLogCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to create many AuditLogs.
*/
data: AuditLogCreateManyInput | AuditLogCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AuditLog createManyAndReturn
*/
export type AuditLogCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditLog
*/
select?: AuditLogSelectCreateManyAndReturn<ExtArgs> | null
/**
* The data used to create many AuditLogs.
*/
data: AuditLogCreateManyInput | AuditLogCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: AuditLogIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* AuditLog update
*/
export type AuditLogUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditLog
*/
select?: AuditLogSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: AuditLogInclude<ExtArgs> | null
/**
* The data needed to update a AuditLog.
*/
data: XOR<AuditLogUpdateInput, AuditLogUncheckedUpdateInput>
/**
* Choose, which AuditLog to update.
*/
where: AuditLogWhereUniqueInput
}
/**
* AuditLog updateMany
*/
export type AuditLogUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* The data used to update AuditLogs.
*/
data: XOR<AuditLogUpdateManyMutationInput, AuditLogUncheckedUpdateManyInput>
/**
* Filter which AuditLogs to update
*/
where?: AuditLogWhereInput
}
/**
* AuditLog upsert
*/
export type AuditLogUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditLog
*/
select?: AuditLogSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: AuditLogInclude<ExtArgs> | 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<AuditLogCreateInput, AuditLogUncheckedCreateInput>
/**
* In case the AuditLog was found with the provided `where` argument, update it with this data.
*/
update: XOR<AuditLogUpdateInput, AuditLogUncheckedUpdateInput>
}
/**
* AuditLog delete
*/
export type AuditLogDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditLog
*/
select?: AuditLogSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: AuditLogInclude<ExtArgs> | null
/**
* Filter which AuditLog to delete.
*/
where: AuditLogWhereUniqueInput
}
/**
* AuditLog deleteMany
*/
export type AuditLogDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Filter which AuditLogs to delete
*/
where?: AuditLogWhereInput
}
/**
* AuditLog.actor
*/
export type AuditLog$actorArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the User
*/
select?: UserSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: UserInclude<ExtArgs> | null
where?: UserWhereInput
}
/**
* AuditLog without action
*/
export type AuditLogDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AuditLog
*/
select?: AuditLogSelect<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: AuditLogInclude<ExtArgs> | 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<OrganizationRelationFilter, OrganizationWhereInput>
user?: XOR<UserRelationFilter, UserWhereInput>
}
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<OrganizationRelationFilter, OrganizationWhereInput>
user?: XOR<UserRelationFilter, UserWhereInput>
}, "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<OrganizationRelationFilter, OrganizationWhereInput>
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<OrganizationRelationFilter, OrganizationWhereInput>
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<ProjectRelationFilter, ProjectWhereInput>
hops?: HopListRelationFilter
sslInspections?: SslInspectionListRelationFilter
seoFlags?: XOR<SeoFlagsNullableRelationFilter, SeoFlagsWhereInput> | null
securityFlags?: XOR<SecurityFlagsNullableRelationFilter, SecurityFlagsWhereInput> | 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<ProjectRelationFilter, ProjectWhereInput>
hops?: HopListRelationFilter
sslInspections?: SslInspectionListRelationFilter
seoFlags?: XOR<SeoFlagsNullableRelationFilter, SeoFlagsWhereInput> | null
securityFlags?: XOR<SecurityFlagsNullableRelationFilter, SecurityFlagsWhereInput> | 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<CheckRelationFilter, CheckWhereInput>
}
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<CheckRelationFilter, CheckWhereInput>
}, "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<CheckRelationFilter, CheckWhereInput>
}
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<CheckRelationFilter, CheckWhereInput>
}, "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<CheckRelationFilter, CheckWhereInput>
}
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<CheckRelationFilter, CheckWhereInput>
}, "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<CheckRelationFilter, CheckWhereInput>
}
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<CheckRelationFilter, CheckWhereInput>
}, "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<CheckRelationFilter, CheckWhereInput>
}
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<CheckRelationFilter, CheckWhereInput>
}, "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<UserRelationFilter, UserWhereInput>
organization?: XOR<OrganizationNullableRelationFilter, OrganizationWhereInput> | null
project?: XOR<ProjectRelationFilter, ProjectWhereInput>
}
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<UserRelationFilter, UserWhereInput>
organization?: XOR<OrganizationNullableRelationFilter, OrganizationWhereInput> | null
project?: XOR<ProjectRelationFilter, ProjectWhereInput>
}, "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<OrganizationRelationFilter, OrganizationWhereInput>
}
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<OrganizationRelationFilter, OrganizationWhereInput>
}, "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<OrganizationRelationFilter, OrganizationWhereInput>
actor?: XOR<UserNullableRelationFilter, UserWhereInput> | 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<OrganizationRelationFilter, OrganizationWhereInput>
actor?: XOR<UserNullableRelationFilter, UserWhereInput> | 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<Required<JsonFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonFilterBase<$PrismaModel>>, 'path'>>,
Required<JsonFilterBase<$PrismaModel>>
>
| OptionalFlat<Omit<Required<JsonFilterBase<$PrismaModel>>, '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<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
Required<JsonWithAggregatesFilterBase<$PrismaModel>>
>
| OptionalFlat<Omit<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, '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<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>,
Required<JsonNullableFilterBase<$PrismaModel>>
>
| OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, '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<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>
>
| OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, '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> | OrgMembershipCreateWithoutUserInput[] | OrgMembershipUncheckedCreateWithoutUserInput[]
connectOrCreate?: OrgMembershipCreateOrConnectWithoutUserInput | OrgMembershipCreateOrConnectWithoutUserInput[]
createMany?: OrgMembershipCreateManyUserInputEnvelope
connect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[]
}
export type AuditLogCreateNestedManyWithoutActorInput = {
create?: XOR<AuditLogCreateWithoutActorInput, AuditLogUncheckedCreateWithoutActorInput> | AuditLogCreateWithoutActorInput[] | AuditLogUncheckedCreateWithoutActorInput[]
connectOrCreate?: AuditLogCreateOrConnectWithoutActorInput | AuditLogCreateOrConnectWithoutActorInput[]
createMany?: AuditLogCreateManyActorInputEnvelope
connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
}
export type BulkJobCreateNestedManyWithoutUserInput = {
create?: XOR<BulkJobCreateWithoutUserInput, BulkJobUncheckedCreateWithoutUserInput> | BulkJobCreateWithoutUserInput[] | BulkJobUncheckedCreateWithoutUserInput[]
connectOrCreate?: BulkJobCreateOrConnectWithoutUserInput | BulkJobCreateOrConnectWithoutUserInput[]
createMany?: BulkJobCreateManyUserInputEnvelope
connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[]
}
export type OrgMembershipUncheckedCreateNestedManyWithoutUserInput = {
create?: XOR<OrgMembershipCreateWithoutUserInput, OrgMembershipUncheckedCreateWithoutUserInput> | OrgMembershipCreateWithoutUserInput[] | OrgMembershipUncheckedCreateWithoutUserInput[]
connectOrCreate?: OrgMembershipCreateOrConnectWithoutUserInput | OrgMembershipCreateOrConnectWithoutUserInput[]
createMany?: OrgMembershipCreateManyUserInputEnvelope
connect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[]
}
export type AuditLogUncheckedCreateNestedManyWithoutActorInput = {
create?: XOR<AuditLogCreateWithoutActorInput, AuditLogUncheckedCreateWithoutActorInput> | AuditLogCreateWithoutActorInput[] | AuditLogUncheckedCreateWithoutActorInput[]
connectOrCreate?: AuditLogCreateOrConnectWithoutActorInput | AuditLogCreateOrConnectWithoutActorInput[]
createMany?: AuditLogCreateManyActorInputEnvelope
connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
}
export type BulkJobUncheckedCreateNestedManyWithoutUserInput = {
create?: XOR<BulkJobCreateWithoutUserInput, BulkJobUncheckedCreateWithoutUserInput> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | OrgMembershipCreateWithoutOrganizationInput[] | OrgMembershipUncheckedCreateWithoutOrganizationInput[]
connectOrCreate?: OrgMembershipCreateOrConnectWithoutOrganizationInput | OrgMembershipCreateOrConnectWithoutOrganizationInput[]
createMany?: OrgMembershipCreateManyOrganizationInputEnvelope
connect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[]
}
export type ProjectCreateNestedManyWithoutOrganizationInput = {
create?: XOR<ProjectCreateWithoutOrganizationInput, ProjectUncheckedCreateWithoutOrganizationInput> | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[]
connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[]
createMany?: ProjectCreateManyOrganizationInputEnvelope
connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[]
}
export type ApiKeyCreateNestedManyWithoutOrganizationInput = {
create?: XOR<ApiKeyCreateWithoutOrganizationInput, ApiKeyUncheckedCreateWithoutOrganizationInput> | ApiKeyCreateWithoutOrganizationInput[] | ApiKeyUncheckedCreateWithoutOrganizationInput[]
connectOrCreate?: ApiKeyCreateOrConnectWithoutOrganizationInput | ApiKeyCreateOrConnectWithoutOrganizationInput[]
createMany?: ApiKeyCreateManyOrganizationInputEnvelope
connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[]
}
export type AuditLogCreateNestedManyWithoutOrganizationInput = {
create?: XOR<AuditLogCreateWithoutOrganizationInput, AuditLogUncheckedCreateWithoutOrganizationInput> | AuditLogCreateWithoutOrganizationInput[] | AuditLogUncheckedCreateWithoutOrganizationInput[]
connectOrCreate?: AuditLogCreateOrConnectWithoutOrganizationInput | AuditLogCreateOrConnectWithoutOrganizationInput[]
createMany?: AuditLogCreateManyOrganizationInputEnvelope
connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
}
export type BulkJobCreateNestedManyWithoutOrganizationInput = {
create?: XOR<BulkJobCreateWithoutOrganizationInput, BulkJobUncheckedCreateWithoutOrganizationInput> | BulkJobCreateWithoutOrganizationInput[] | BulkJobUncheckedCreateWithoutOrganizationInput[]
connectOrCreate?: BulkJobCreateOrConnectWithoutOrganizationInput | BulkJobCreateOrConnectWithoutOrganizationInput[]
createMany?: BulkJobCreateManyOrganizationInputEnvelope
connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[]
}
export type OrgMembershipUncheckedCreateNestedManyWithoutOrganizationInput = {
create?: XOR<OrgMembershipCreateWithoutOrganizationInput, OrgMembershipUncheckedCreateWithoutOrganizationInput> | OrgMembershipCreateWithoutOrganizationInput[] | OrgMembershipUncheckedCreateWithoutOrganizationInput[]
connectOrCreate?: OrgMembershipCreateOrConnectWithoutOrganizationInput | OrgMembershipCreateOrConnectWithoutOrganizationInput[]
createMany?: OrgMembershipCreateManyOrganizationInputEnvelope
connect?: OrgMembershipWhereUniqueInput | OrgMembershipWhereUniqueInput[]
}
export type ProjectUncheckedCreateNestedManyWithoutOrganizationInput = {
create?: XOR<ProjectCreateWithoutOrganizationInput, ProjectUncheckedCreateWithoutOrganizationInput> | ProjectCreateWithoutOrganizationInput[] | ProjectUncheckedCreateWithoutOrganizationInput[]
connectOrCreate?: ProjectCreateOrConnectWithoutOrganizationInput | ProjectCreateOrConnectWithoutOrganizationInput[]
createMany?: ProjectCreateManyOrganizationInputEnvelope
connect?: ProjectWhereUniqueInput | ProjectWhereUniqueInput[]
}
export type ApiKeyUncheckedCreateNestedManyWithoutOrganizationInput = {
create?: XOR<ApiKeyCreateWithoutOrganizationInput, ApiKeyUncheckedCreateWithoutOrganizationInput> | ApiKeyCreateWithoutOrganizationInput[] | ApiKeyUncheckedCreateWithoutOrganizationInput[]
connectOrCreate?: ApiKeyCreateOrConnectWithoutOrganizationInput | ApiKeyCreateOrConnectWithoutOrganizationInput[]
createMany?: ApiKeyCreateManyOrganizationInputEnvelope
connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[]
}
export type AuditLogUncheckedCreateNestedManyWithoutOrganizationInput = {
create?: XOR<AuditLogCreateWithoutOrganizationInput, AuditLogUncheckedCreateWithoutOrganizationInput> | AuditLogCreateWithoutOrganizationInput[] | AuditLogUncheckedCreateWithoutOrganizationInput[]
connectOrCreate?: AuditLogCreateOrConnectWithoutOrganizationInput | AuditLogCreateOrConnectWithoutOrganizationInput[]
createMany?: AuditLogCreateManyOrganizationInputEnvelope
connect?: AuditLogWhereUniqueInput | AuditLogWhereUniqueInput[]
}
export type BulkJobUncheckedCreateNestedManyWithoutOrganizationInput = {
create?: XOR<BulkJobCreateWithoutOrganizationInput, BulkJobUncheckedCreateWithoutOrganizationInput> | BulkJobCreateWithoutOrganizationInput[] | BulkJobUncheckedCreateWithoutOrganizationInput[]
connectOrCreate?: BulkJobCreateOrConnectWithoutOrganizationInput | BulkJobCreateOrConnectWithoutOrganizationInput[]
createMany?: BulkJobCreateManyOrganizationInputEnvelope
connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[]
}
export type OrgMembershipUpdateManyWithoutOrganizationNestedInput = {
create?: XOR<OrgMembershipCreateWithoutOrganizationInput, OrgMembershipUncheckedCreateWithoutOrganizationInput> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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<OrganizationCreateWithoutMembershipsInput, OrganizationUncheckedCreateWithoutMembershipsInput>
connectOrCreate?: OrganizationCreateOrConnectWithoutMembershipsInput
connect?: OrganizationWhereUniqueInput
}
export type UserCreateNestedOneWithoutMembershipsInput = {
create?: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
connectOrCreate?: UserCreateOrConnectWithoutMembershipsInput
connect?: UserWhereUniqueInput
}
export type EnumRoleFieldUpdateOperationsInput = {
set?: $Enums.Role
}
export type OrganizationUpdateOneRequiredWithoutMembershipsNestedInput = {
create?: XOR<OrganizationCreateWithoutMembershipsInput, OrganizationUncheckedCreateWithoutMembershipsInput>
connectOrCreate?: OrganizationCreateOrConnectWithoutMembershipsInput
upsert?: OrganizationUpsertWithoutMembershipsInput
connect?: OrganizationWhereUniqueInput
update?: XOR<XOR<OrganizationUpdateToOneWithWhereWithoutMembershipsInput, OrganizationUpdateWithoutMembershipsInput>, OrganizationUncheckedUpdateWithoutMembershipsInput>
}
export type UserUpdateOneRequiredWithoutMembershipsNestedInput = {
create?: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
connectOrCreate?: UserCreateOrConnectWithoutMembershipsInput
upsert?: UserUpsertWithoutMembershipsInput
connect?: UserWhereUniqueInput
update?: XOR<XOR<UserUpdateToOneWithWhereWithoutMembershipsInput, UserUpdateWithoutMembershipsInput>, UserUncheckedUpdateWithoutMembershipsInput>
}
export type OrganizationCreateNestedOneWithoutProjectsInput = {
create?: XOR<OrganizationCreateWithoutProjectsInput, OrganizationUncheckedCreateWithoutProjectsInput>
connectOrCreate?: OrganizationCreateOrConnectWithoutProjectsInput
connect?: OrganizationWhereUniqueInput
}
export type CheckCreateNestedManyWithoutProjectInput = {
create?: XOR<CheckCreateWithoutProjectInput, CheckUncheckedCreateWithoutProjectInput> | CheckCreateWithoutProjectInput[] | CheckUncheckedCreateWithoutProjectInput[]
connectOrCreate?: CheckCreateOrConnectWithoutProjectInput | CheckCreateOrConnectWithoutProjectInput[]
createMany?: CheckCreateManyProjectInputEnvelope
connect?: CheckWhereUniqueInput | CheckWhereUniqueInput[]
}
export type BulkJobCreateNestedManyWithoutProjectInput = {
create?: XOR<BulkJobCreateWithoutProjectInput, BulkJobUncheckedCreateWithoutProjectInput> | BulkJobCreateWithoutProjectInput[] | BulkJobUncheckedCreateWithoutProjectInput[]
connectOrCreate?: BulkJobCreateOrConnectWithoutProjectInput | BulkJobCreateOrConnectWithoutProjectInput[]
createMany?: BulkJobCreateManyProjectInputEnvelope
connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[]
}
export type CheckUncheckedCreateNestedManyWithoutProjectInput = {
create?: XOR<CheckCreateWithoutProjectInput, CheckUncheckedCreateWithoutProjectInput> | CheckCreateWithoutProjectInput[] | CheckUncheckedCreateWithoutProjectInput[]
connectOrCreate?: CheckCreateOrConnectWithoutProjectInput | CheckCreateOrConnectWithoutProjectInput[]
createMany?: CheckCreateManyProjectInputEnvelope
connect?: CheckWhereUniqueInput | CheckWhereUniqueInput[]
}
export type BulkJobUncheckedCreateNestedManyWithoutProjectInput = {
create?: XOR<BulkJobCreateWithoutProjectInput, BulkJobUncheckedCreateWithoutProjectInput> | BulkJobCreateWithoutProjectInput[] | BulkJobUncheckedCreateWithoutProjectInput[]
connectOrCreate?: BulkJobCreateOrConnectWithoutProjectInput | BulkJobCreateOrConnectWithoutProjectInput[]
createMany?: BulkJobCreateManyProjectInputEnvelope
connect?: BulkJobWhereUniqueInput | BulkJobWhereUniqueInput[]
}
export type OrganizationUpdateOneRequiredWithoutProjectsNestedInput = {
create?: XOR<OrganizationCreateWithoutProjectsInput, OrganizationUncheckedCreateWithoutProjectsInput>
connectOrCreate?: OrganizationCreateOrConnectWithoutProjectsInput
upsert?: OrganizationUpsertWithoutProjectsInput
connect?: OrganizationWhereUniqueInput
update?: XOR<XOR<OrganizationUpdateToOneWithWhereWithoutProjectsInput, OrganizationUpdateWithoutProjectsInput>, OrganizationUncheckedUpdateWithoutProjectsInput>
}
export type CheckUpdateManyWithoutProjectNestedInput = {
create?: XOR<CheckCreateWithoutProjectInput, CheckUncheckedCreateWithoutProjectInput> | 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> | 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> | 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> | 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<ProjectCreateWithoutChecksInput, ProjectUncheckedCreateWithoutChecksInput>
connectOrCreate?: ProjectCreateOrConnectWithoutChecksInput
connect?: ProjectWhereUniqueInput
}
export type HopCreateNestedManyWithoutCheckInput = {
create?: XOR<HopCreateWithoutCheckInput, HopUncheckedCreateWithoutCheckInput> | HopCreateWithoutCheckInput[] | HopUncheckedCreateWithoutCheckInput[]
connectOrCreate?: HopCreateOrConnectWithoutCheckInput | HopCreateOrConnectWithoutCheckInput[]
createMany?: HopCreateManyCheckInputEnvelope
connect?: HopWhereUniqueInput | HopWhereUniqueInput[]
}
export type SslInspectionCreateNestedManyWithoutCheckInput = {
create?: XOR<SslInspectionCreateWithoutCheckInput, SslInspectionUncheckedCreateWithoutCheckInput> | SslInspectionCreateWithoutCheckInput[] | SslInspectionUncheckedCreateWithoutCheckInput[]
connectOrCreate?: SslInspectionCreateOrConnectWithoutCheckInput | SslInspectionCreateOrConnectWithoutCheckInput[]
createMany?: SslInspectionCreateManyCheckInputEnvelope
connect?: SslInspectionWhereUniqueInput | SslInspectionWhereUniqueInput[]
}
export type SeoFlagsCreateNestedOneWithoutCheckInput = {
create?: XOR<SeoFlagsCreateWithoutCheckInput, SeoFlagsUncheckedCreateWithoutCheckInput>
connectOrCreate?: SeoFlagsCreateOrConnectWithoutCheckInput
connect?: SeoFlagsWhereUniqueInput
}
export type SecurityFlagsCreateNestedOneWithoutCheckInput = {
create?: XOR<SecurityFlagsCreateWithoutCheckInput, SecurityFlagsUncheckedCreateWithoutCheckInput>
connectOrCreate?: SecurityFlagsCreateOrConnectWithoutCheckInput
connect?: SecurityFlagsWhereUniqueInput
}
export type ReportCreateNestedManyWithoutCheckInput = {
create?: XOR<ReportCreateWithoutCheckInput, ReportUncheckedCreateWithoutCheckInput> | ReportCreateWithoutCheckInput[] | ReportUncheckedCreateWithoutCheckInput[]
connectOrCreate?: ReportCreateOrConnectWithoutCheckInput | ReportCreateOrConnectWithoutCheckInput[]
createMany?: ReportCreateManyCheckInputEnvelope
connect?: ReportWhereUniqueInput | ReportWhereUniqueInput[]
}
export type HopUncheckedCreateNestedManyWithoutCheckInput = {
create?: XOR<HopCreateWithoutCheckInput, HopUncheckedCreateWithoutCheckInput> | HopCreateWithoutCheckInput[] | HopUncheckedCreateWithoutCheckInput[]
connectOrCreate?: HopCreateOrConnectWithoutCheckInput | HopCreateOrConnectWithoutCheckInput[]
createMany?: HopCreateManyCheckInputEnvelope
connect?: HopWhereUniqueInput | HopWhereUniqueInput[]
}
export type SslInspectionUncheckedCreateNestedManyWithoutCheckInput = {
create?: XOR<SslInspectionCreateWithoutCheckInput, SslInspectionUncheckedCreateWithoutCheckInput> | SslInspectionCreateWithoutCheckInput[] | SslInspectionUncheckedCreateWithoutCheckInput[]
connectOrCreate?: SslInspectionCreateOrConnectWithoutCheckInput | SslInspectionCreateOrConnectWithoutCheckInput[]
createMany?: SslInspectionCreateManyCheckInputEnvelope
connect?: SslInspectionWhereUniqueInput | SslInspectionWhereUniqueInput[]
}
export type SeoFlagsUncheckedCreateNestedOneWithoutCheckInput = {
create?: XOR<SeoFlagsCreateWithoutCheckInput, SeoFlagsUncheckedCreateWithoutCheckInput>
connectOrCreate?: SeoFlagsCreateOrConnectWithoutCheckInput
connect?: SeoFlagsWhereUniqueInput
}
export type SecurityFlagsUncheckedCreateNestedOneWithoutCheckInput = {
create?: XOR<SecurityFlagsCreateWithoutCheckInput, SecurityFlagsUncheckedCreateWithoutCheckInput>
connectOrCreate?: SecurityFlagsCreateOrConnectWithoutCheckInput
connect?: SecurityFlagsWhereUniqueInput
}
export type ReportUncheckedCreateNestedManyWithoutCheckInput = {
create?: XOR<ReportCreateWithoutCheckInput, ReportUncheckedCreateWithoutCheckInput> | 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<ProjectCreateWithoutChecksInput, ProjectUncheckedCreateWithoutChecksInput>
connectOrCreate?: ProjectCreateOrConnectWithoutChecksInput
upsert?: ProjectUpsertWithoutChecksInput
connect?: ProjectWhereUniqueInput
update?: XOR<XOR<ProjectUpdateToOneWithWhereWithoutChecksInput, ProjectUpdateWithoutChecksInput>, ProjectUncheckedUpdateWithoutChecksInput>
}
export type HopUpdateManyWithoutCheckNestedInput = {
create?: XOR<HopCreateWithoutCheckInput, HopUncheckedCreateWithoutCheckInput> | 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> | 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<SeoFlagsCreateWithoutCheckInput, SeoFlagsUncheckedCreateWithoutCheckInput>
connectOrCreate?: SeoFlagsCreateOrConnectWithoutCheckInput
upsert?: SeoFlagsUpsertWithoutCheckInput
disconnect?: SeoFlagsWhereInput | boolean
delete?: SeoFlagsWhereInput | boolean
connect?: SeoFlagsWhereUniqueInput
update?: XOR<XOR<SeoFlagsUpdateToOneWithWhereWithoutCheckInput, SeoFlagsUpdateWithoutCheckInput>, SeoFlagsUncheckedUpdateWithoutCheckInput>
}
export type SecurityFlagsUpdateOneWithoutCheckNestedInput = {
create?: XOR<SecurityFlagsCreateWithoutCheckInput, SecurityFlagsUncheckedCreateWithoutCheckInput>
connectOrCreate?: SecurityFlagsCreateOrConnectWithoutCheckInput
upsert?: SecurityFlagsUpsertWithoutCheckInput
disconnect?: SecurityFlagsWhereInput | boolean
delete?: SecurityFlagsWhereInput | boolean
connect?: SecurityFlagsWhereUniqueInput
update?: XOR<XOR<SecurityFlagsUpdateToOneWithWhereWithoutCheckInput, SecurityFlagsUpdateWithoutCheckInput>, SecurityFlagsUncheckedUpdateWithoutCheckInput>
}
export type ReportUpdateManyWithoutCheckNestedInput = {
create?: XOR<ReportCreateWithoutCheckInput, ReportUncheckedCreateWithoutCheckInput> | 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> | 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> | 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<SeoFlagsCreateWithoutCheckInput, SeoFlagsUncheckedCreateWithoutCheckInput>
connectOrCreate?: SeoFlagsCreateOrConnectWithoutCheckInput
upsert?: SeoFlagsUpsertWithoutCheckInput
disconnect?: SeoFlagsWhereInput | boolean
delete?: SeoFlagsWhereInput | boolean
connect?: SeoFlagsWhereUniqueInput
update?: XOR<XOR<SeoFlagsUpdateToOneWithWhereWithoutCheckInput, SeoFlagsUpdateWithoutCheckInput>, SeoFlagsUncheckedUpdateWithoutCheckInput>
}
export type SecurityFlagsUncheckedUpdateOneWithoutCheckNestedInput = {
create?: XOR<SecurityFlagsCreateWithoutCheckInput, SecurityFlagsUncheckedCreateWithoutCheckInput>
connectOrCreate?: SecurityFlagsCreateOrConnectWithoutCheckInput
upsert?: SecurityFlagsUpsertWithoutCheckInput
disconnect?: SecurityFlagsWhereInput | boolean
delete?: SecurityFlagsWhereInput | boolean
connect?: SecurityFlagsWhereUniqueInput
update?: XOR<XOR<SecurityFlagsUpdateToOneWithWhereWithoutCheckInput, SecurityFlagsUpdateWithoutCheckInput>, SecurityFlagsUncheckedUpdateWithoutCheckInput>
}
export type ReportUncheckedUpdateManyWithoutCheckNestedInput = {
create?: XOR<ReportCreateWithoutCheckInput, ReportUncheckedCreateWithoutCheckInput> | 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<CheckCreateWithoutHopsInput, CheckUncheckedCreateWithoutHopsInput>
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<CheckCreateWithoutHopsInput, CheckUncheckedCreateWithoutHopsInput>
connectOrCreate?: CheckCreateOrConnectWithoutHopsInput
upsert?: CheckUpsertWithoutHopsInput
connect?: CheckWhereUniqueInput
update?: XOR<XOR<CheckUpdateToOneWithWhereWithoutHopsInput, CheckUpdateWithoutHopsInput>, CheckUncheckedUpdateWithoutHopsInput>
}
export type CheckCreateNestedOneWithoutSslInspectionsInput = {
create?: XOR<CheckCreateWithoutSslInspectionsInput, CheckUncheckedCreateWithoutSslInspectionsInput>
connectOrCreate?: CheckCreateOrConnectWithoutSslInspectionsInput
connect?: CheckWhereUniqueInput
}
export type CheckUpdateOneRequiredWithoutSslInspectionsNestedInput = {
create?: XOR<CheckCreateWithoutSslInspectionsInput, CheckUncheckedCreateWithoutSslInspectionsInput>
connectOrCreate?: CheckCreateOrConnectWithoutSslInspectionsInput
upsert?: CheckUpsertWithoutSslInspectionsInput
connect?: CheckWhereUniqueInput
update?: XOR<XOR<CheckUpdateToOneWithWhereWithoutSslInspectionsInput, CheckUpdateWithoutSslInspectionsInput>, CheckUncheckedUpdateWithoutSslInspectionsInput>
}
export type CheckCreateNestedOneWithoutSeoFlagsInput = {
create?: XOR<CheckCreateWithoutSeoFlagsInput, CheckUncheckedCreateWithoutSeoFlagsInput>
connectOrCreate?: CheckCreateOrConnectWithoutSeoFlagsInput
connect?: CheckWhereUniqueInput
}
export type BoolFieldUpdateOperationsInput = {
set?: boolean
}
export type CheckUpdateOneRequiredWithoutSeoFlagsNestedInput = {
create?: XOR<CheckCreateWithoutSeoFlagsInput, CheckUncheckedCreateWithoutSeoFlagsInput>
connectOrCreate?: CheckCreateOrConnectWithoutSeoFlagsInput
upsert?: CheckUpsertWithoutSeoFlagsInput
connect?: CheckWhereUniqueInput
update?: XOR<XOR<CheckUpdateToOneWithWhereWithoutSeoFlagsInput, CheckUpdateWithoutSeoFlagsInput>, CheckUncheckedUpdateWithoutSeoFlagsInput>
}
export type CheckCreateNestedOneWithoutSecurityFlagsInput = {
create?: XOR<CheckCreateWithoutSecurityFlagsInput, CheckUncheckedCreateWithoutSecurityFlagsInput>
connectOrCreate?: CheckCreateOrConnectWithoutSecurityFlagsInput
connect?: CheckWhereUniqueInput
}
export type EnumMixedContentFieldUpdateOperationsInput = {
set?: $Enums.MixedContent
}
export type CheckUpdateOneRequiredWithoutSecurityFlagsNestedInput = {
create?: XOR<CheckCreateWithoutSecurityFlagsInput, CheckUncheckedCreateWithoutSecurityFlagsInput>
connectOrCreate?: CheckCreateOrConnectWithoutSecurityFlagsInput
upsert?: CheckUpsertWithoutSecurityFlagsInput
connect?: CheckWhereUniqueInput
update?: XOR<XOR<CheckUpdateToOneWithWhereWithoutSecurityFlagsInput, CheckUpdateWithoutSecurityFlagsInput>, CheckUncheckedUpdateWithoutSecurityFlagsInput>
}
export type CheckCreateNestedOneWithoutReportsInput = {
create?: XOR<CheckCreateWithoutReportsInput, CheckUncheckedCreateWithoutReportsInput>
connectOrCreate?: CheckCreateOrConnectWithoutReportsInput
connect?: CheckWhereUniqueInput
}
export type CheckUpdateOneRequiredWithoutReportsNestedInput = {
create?: XOR<CheckCreateWithoutReportsInput, CheckUncheckedCreateWithoutReportsInput>
connectOrCreate?: CheckCreateOrConnectWithoutReportsInput
upsert?: CheckUpsertWithoutReportsInput
connect?: CheckWhereUniqueInput
update?: XOR<XOR<CheckUpdateToOneWithWhereWithoutReportsInput, CheckUpdateWithoutReportsInput>, CheckUncheckedUpdateWithoutReportsInput>
}
export type UserCreateNestedOneWithoutBulkJobsInput = {
create?: XOR<UserCreateWithoutBulkJobsInput, UserUncheckedCreateWithoutBulkJobsInput>
connectOrCreate?: UserCreateOrConnectWithoutBulkJobsInput
connect?: UserWhereUniqueInput
}
export type OrganizationCreateNestedOneWithoutBulkJobsInput = {
create?: XOR<OrganizationCreateWithoutBulkJobsInput, OrganizationUncheckedCreateWithoutBulkJobsInput>
connectOrCreate?: OrganizationCreateOrConnectWithoutBulkJobsInput
connect?: OrganizationWhereUniqueInput
}
export type ProjectCreateNestedOneWithoutBulkJobsInput = {
create?: XOR<ProjectCreateWithoutBulkJobsInput, ProjectUncheckedCreateWithoutBulkJobsInput>
connectOrCreate?: ProjectCreateOrConnectWithoutBulkJobsInput
connect?: ProjectWhereUniqueInput
}
export type EnumJobStatusFieldUpdateOperationsInput = {
set?: $Enums.JobStatus
}
export type UserUpdateOneRequiredWithoutBulkJobsNestedInput = {
create?: XOR<UserCreateWithoutBulkJobsInput, UserUncheckedCreateWithoutBulkJobsInput>
connectOrCreate?: UserCreateOrConnectWithoutBulkJobsInput
upsert?: UserUpsertWithoutBulkJobsInput
connect?: UserWhereUniqueInput
update?: XOR<XOR<UserUpdateToOneWithWhereWithoutBulkJobsInput, UserUpdateWithoutBulkJobsInput>, UserUncheckedUpdateWithoutBulkJobsInput>
}
export type OrganizationUpdateOneWithoutBulkJobsNestedInput = {
create?: XOR<OrganizationCreateWithoutBulkJobsInput, OrganizationUncheckedCreateWithoutBulkJobsInput>
connectOrCreate?: OrganizationCreateOrConnectWithoutBulkJobsInput
upsert?: OrganizationUpsertWithoutBulkJobsInput
disconnect?: OrganizationWhereInput | boolean
delete?: OrganizationWhereInput | boolean
connect?: OrganizationWhereUniqueInput
update?: XOR<XOR<OrganizationUpdateToOneWithWhereWithoutBulkJobsInput, OrganizationUpdateWithoutBulkJobsInput>, OrganizationUncheckedUpdateWithoutBulkJobsInput>
}
export type ProjectUpdateOneRequiredWithoutBulkJobsNestedInput = {
create?: XOR<ProjectCreateWithoutBulkJobsInput, ProjectUncheckedCreateWithoutBulkJobsInput>
connectOrCreate?: ProjectCreateOrConnectWithoutBulkJobsInput
upsert?: ProjectUpsertWithoutBulkJobsInput
connect?: ProjectWhereUniqueInput
update?: XOR<XOR<ProjectUpdateToOneWithWhereWithoutBulkJobsInput, ProjectUpdateWithoutBulkJobsInput>, ProjectUncheckedUpdateWithoutBulkJobsInput>
}
export type OrganizationCreateNestedOneWithoutApiKeysInput = {
create?: XOR<OrganizationCreateWithoutApiKeysInput, OrganizationUncheckedCreateWithoutApiKeysInput>
connectOrCreate?: OrganizationCreateOrConnectWithoutApiKeysInput
connect?: OrganizationWhereUniqueInput
}
export type OrganizationUpdateOneRequiredWithoutApiKeysNestedInput = {
create?: XOR<OrganizationCreateWithoutApiKeysInput, OrganizationUncheckedCreateWithoutApiKeysInput>
connectOrCreate?: OrganizationCreateOrConnectWithoutApiKeysInput
upsert?: OrganizationUpsertWithoutApiKeysInput
connect?: OrganizationWhereUniqueInput
update?: XOR<XOR<OrganizationUpdateToOneWithWhereWithoutApiKeysInput, OrganizationUpdateWithoutApiKeysInput>, OrganizationUncheckedUpdateWithoutApiKeysInput>
}
export type OrganizationCreateNestedOneWithoutAuditLogsInput = {
create?: XOR<OrganizationCreateWithoutAuditLogsInput, OrganizationUncheckedCreateWithoutAuditLogsInput>
connectOrCreate?: OrganizationCreateOrConnectWithoutAuditLogsInput
connect?: OrganizationWhereUniqueInput
}
export type UserCreateNestedOneWithoutAuditLogsInput = {
create?: XOR<UserCreateWithoutAuditLogsInput, UserUncheckedCreateWithoutAuditLogsInput>
connectOrCreate?: UserCreateOrConnectWithoutAuditLogsInput
connect?: UserWhereUniqueInput
}
export type OrganizationUpdateOneRequiredWithoutAuditLogsNestedInput = {
create?: XOR<OrganizationCreateWithoutAuditLogsInput, OrganizationUncheckedCreateWithoutAuditLogsInput>
connectOrCreate?: OrganizationCreateOrConnectWithoutAuditLogsInput
upsert?: OrganizationUpsertWithoutAuditLogsInput
connect?: OrganizationWhereUniqueInput
update?: XOR<XOR<OrganizationUpdateToOneWithWhereWithoutAuditLogsInput, OrganizationUpdateWithoutAuditLogsInput>, OrganizationUncheckedUpdateWithoutAuditLogsInput>
}
export type UserUpdateOneWithoutAuditLogsNestedInput = {
create?: XOR<UserCreateWithoutAuditLogsInput, UserUncheckedCreateWithoutAuditLogsInput>
connectOrCreate?: UserCreateOrConnectWithoutAuditLogsInput
upsert?: UserUpsertWithoutAuditLogsInput
disconnect?: UserWhereInput | boolean
delete?: UserWhereInput | boolean
connect?: UserWhereUniqueInput
update?: XOR<XOR<UserUpdateToOneWithWhereWithoutAuditLogsInput, UserUpdateWithoutAuditLogsInput>, 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<Required<NestedJsonFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>,
Required<NestedJsonFilterBase<$PrismaModel>>
>
| OptionalFlat<Omit<Required<NestedJsonFilterBase<$PrismaModel>>, '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<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>,
Required<NestedJsonNullableFilterBase<$PrismaModel>>
>
| OptionalFlat<Omit<Required<NestedJsonNullableFilterBase<$PrismaModel>>, '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<OrgMembershipCreateWithoutUserInput, OrgMembershipUncheckedCreateWithoutUserInput>
}
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<AuditLogCreateWithoutActorInput, AuditLogUncheckedCreateWithoutActorInput>
}
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<BulkJobCreateWithoutUserInput, BulkJobUncheckedCreateWithoutUserInput>
}
export type BulkJobCreateManyUserInputEnvelope = {
data: BulkJobCreateManyUserInput | BulkJobCreateManyUserInput[]
skipDuplicates?: boolean
}
export type OrgMembershipUpsertWithWhereUniqueWithoutUserInput = {
where: OrgMembershipWhereUniqueInput
update: XOR<OrgMembershipUpdateWithoutUserInput, OrgMembershipUncheckedUpdateWithoutUserInput>
create: XOR<OrgMembershipCreateWithoutUserInput, OrgMembershipUncheckedCreateWithoutUserInput>
}
export type OrgMembershipUpdateWithWhereUniqueWithoutUserInput = {
where: OrgMembershipWhereUniqueInput
data: XOR<OrgMembershipUpdateWithoutUserInput, OrgMembershipUncheckedUpdateWithoutUserInput>
}
export type OrgMembershipUpdateManyWithWhereWithoutUserInput = {
where: OrgMembershipScalarWhereInput
data: XOR<OrgMembershipUpdateManyMutationInput, OrgMembershipUncheckedUpdateManyWithoutUserInput>
}
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<AuditLogUpdateWithoutActorInput, AuditLogUncheckedUpdateWithoutActorInput>
create: XOR<AuditLogCreateWithoutActorInput, AuditLogUncheckedCreateWithoutActorInput>
}
export type AuditLogUpdateWithWhereUniqueWithoutActorInput = {
where: AuditLogWhereUniqueInput
data: XOR<AuditLogUpdateWithoutActorInput, AuditLogUncheckedUpdateWithoutActorInput>
}
export type AuditLogUpdateManyWithWhereWithoutActorInput = {
where: AuditLogScalarWhereInput
data: XOR<AuditLogUpdateManyMutationInput, AuditLogUncheckedUpdateManyWithoutActorInput>
}
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<BulkJobUpdateWithoutUserInput, BulkJobUncheckedUpdateWithoutUserInput>
create: XOR<BulkJobCreateWithoutUserInput, BulkJobUncheckedCreateWithoutUserInput>
}
export type BulkJobUpdateWithWhereUniqueWithoutUserInput = {
where: BulkJobWhereUniqueInput
data: XOR<BulkJobUpdateWithoutUserInput, BulkJobUncheckedUpdateWithoutUserInput>
}
export type BulkJobUpdateManyWithWhereWithoutUserInput = {
where: BulkJobScalarWhereInput
data: XOR<BulkJobUpdateManyMutationInput, BulkJobUncheckedUpdateManyWithoutUserInput>
}
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<OrgMembershipCreateWithoutOrganizationInput, OrgMembershipUncheckedCreateWithoutOrganizationInput>
}
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<ProjectCreateWithoutOrganizationInput, ProjectUncheckedCreateWithoutOrganizationInput>
}
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<ApiKeyCreateWithoutOrganizationInput, ApiKeyUncheckedCreateWithoutOrganizationInput>
}
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<AuditLogCreateWithoutOrganizationInput, AuditLogUncheckedCreateWithoutOrganizationInput>
}
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<BulkJobCreateWithoutOrganizationInput, BulkJobUncheckedCreateWithoutOrganizationInput>
}
export type BulkJobCreateManyOrganizationInputEnvelope = {
data: BulkJobCreateManyOrganizationInput | BulkJobCreateManyOrganizationInput[]
skipDuplicates?: boolean
}
export type OrgMembershipUpsertWithWhereUniqueWithoutOrganizationInput = {
where: OrgMembershipWhereUniqueInput
update: XOR<OrgMembershipUpdateWithoutOrganizationInput, OrgMembershipUncheckedUpdateWithoutOrganizationInput>
create: XOR<OrgMembershipCreateWithoutOrganizationInput, OrgMembershipUncheckedCreateWithoutOrganizationInput>
}
export type OrgMembershipUpdateWithWhereUniqueWithoutOrganizationInput = {
where: OrgMembershipWhereUniqueInput
data: XOR<OrgMembershipUpdateWithoutOrganizationInput, OrgMembershipUncheckedUpdateWithoutOrganizationInput>
}
export type OrgMembershipUpdateManyWithWhereWithoutOrganizationInput = {
where: OrgMembershipScalarWhereInput
data: XOR<OrgMembershipUpdateManyMutationInput, OrgMembershipUncheckedUpdateManyWithoutOrganizationInput>
}
export type ProjectUpsertWithWhereUniqueWithoutOrganizationInput = {
where: ProjectWhereUniqueInput
update: XOR<ProjectUpdateWithoutOrganizationInput, ProjectUncheckedUpdateWithoutOrganizationInput>
create: XOR<ProjectCreateWithoutOrganizationInput, ProjectUncheckedCreateWithoutOrganizationInput>
}
export type ProjectUpdateWithWhereUniqueWithoutOrganizationInput = {
where: ProjectWhereUniqueInput
data: XOR<ProjectUpdateWithoutOrganizationInput, ProjectUncheckedUpdateWithoutOrganizationInput>
}
export type ProjectUpdateManyWithWhereWithoutOrganizationInput = {
where: ProjectScalarWhereInput
data: XOR<ProjectUpdateManyMutationInput, ProjectUncheckedUpdateManyWithoutOrganizationInput>
}
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<ApiKeyUpdateWithoutOrganizationInput, ApiKeyUncheckedUpdateWithoutOrganizationInput>
create: XOR<ApiKeyCreateWithoutOrganizationInput, ApiKeyUncheckedCreateWithoutOrganizationInput>
}
export type ApiKeyUpdateWithWhereUniqueWithoutOrganizationInput = {
where: ApiKeyWhereUniqueInput
data: XOR<ApiKeyUpdateWithoutOrganizationInput, ApiKeyUncheckedUpdateWithoutOrganizationInput>
}
export type ApiKeyUpdateManyWithWhereWithoutOrganizationInput = {
where: ApiKeyScalarWhereInput
data: XOR<ApiKeyUpdateManyMutationInput, ApiKeyUncheckedUpdateManyWithoutOrganizationInput>
}
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<AuditLogUpdateWithoutOrganizationInput, AuditLogUncheckedUpdateWithoutOrganizationInput>
create: XOR<AuditLogCreateWithoutOrganizationInput, AuditLogUncheckedCreateWithoutOrganizationInput>
}
export type AuditLogUpdateWithWhereUniqueWithoutOrganizationInput = {
where: AuditLogWhereUniqueInput
data: XOR<AuditLogUpdateWithoutOrganizationInput, AuditLogUncheckedUpdateWithoutOrganizationInput>
}
export type AuditLogUpdateManyWithWhereWithoutOrganizationInput = {
where: AuditLogScalarWhereInput
data: XOR<AuditLogUpdateManyMutationInput, AuditLogUncheckedUpdateManyWithoutOrganizationInput>
}
export type BulkJobUpsertWithWhereUniqueWithoutOrganizationInput = {
where: BulkJobWhereUniqueInput
update: XOR<BulkJobUpdateWithoutOrganizationInput, BulkJobUncheckedUpdateWithoutOrganizationInput>
create: XOR<BulkJobCreateWithoutOrganizationInput, BulkJobUncheckedCreateWithoutOrganizationInput>
}
export type BulkJobUpdateWithWhereUniqueWithoutOrganizationInput = {
where: BulkJobWhereUniqueInput
data: XOR<BulkJobUpdateWithoutOrganizationInput, BulkJobUncheckedUpdateWithoutOrganizationInput>
}
export type BulkJobUpdateManyWithWhereWithoutOrganizationInput = {
where: BulkJobScalarWhereInput
data: XOR<BulkJobUpdateManyMutationInput, BulkJobUncheckedUpdateManyWithoutOrganizationInput>
}
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<OrganizationCreateWithoutMembershipsInput, OrganizationUncheckedCreateWithoutMembershipsInput>
}
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<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
}
export type OrganizationUpsertWithoutMembershipsInput = {
update: XOR<OrganizationUpdateWithoutMembershipsInput, OrganizationUncheckedUpdateWithoutMembershipsInput>
create: XOR<OrganizationCreateWithoutMembershipsInput, OrganizationUncheckedCreateWithoutMembershipsInput>
where?: OrganizationWhereInput
}
export type OrganizationUpdateToOneWithWhereWithoutMembershipsInput = {
where?: OrganizationWhereInput
data: XOR<OrganizationUpdateWithoutMembershipsInput, OrganizationUncheckedUpdateWithoutMembershipsInput>
}
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<UserUpdateWithoutMembershipsInput, UserUncheckedUpdateWithoutMembershipsInput>
create: XOR<UserCreateWithoutMembershipsInput, UserUncheckedCreateWithoutMembershipsInput>
where?: UserWhereInput
}
export type UserUpdateToOneWithWhereWithoutMembershipsInput = {
where?: UserWhereInput
data: XOR<UserUpdateWithoutMembershipsInput, UserUncheckedUpdateWithoutMembershipsInput>
}
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<OrganizationCreateWithoutProjectsInput, OrganizationUncheckedCreateWithoutProjectsInput>
}
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<CheckCreateWithoutProjectInput, CheckUncheckedCreateWithoutProjectInput>
}
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<BulkJobCreateWithoutProjectInput, BulkJobUncheckedCreateWithoutProjectInput>
}
export type BulkJobCreateManyProjectInputEnvelope = {
data: BulkJobCreateManyProjectInput | BulkJobCreateManyProjectInput[]
skipDuplicates?: boolean
}
export type OrganizationUpsertWithoutProjectsInput = {
update: XOR<OrganizationUpdateWithoutProjectsInput, OrganizationUncheckedUpdateWithoutProjectsInput>
create: XOR<OrganizationCreateWithoutProjectsInput, OrganizationUncheckedCreateWithoutProjectsInput>
where?: OrganizationWhereInput
}
export type OrganizationUpdateToOneWithWhereWithoutProjectsInput = {
where?: OrganizationWhereInput
data: XOR<OrganizationUpdateWithoutProjectsInput, OrganizationUncheckedUpdateWithoutProjectsInput>
}
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<CheckUpdateWithoutProjectInput, CheckUncheckedUpdateWithoutProjectInput>
create: XOR<CheckCreateWithoutProjectInput, CheckUncheckedCreateWithoutProjectInput>
}
export type CheckUpdateWithWhereUniqueWithoutProjectInput = {
where: CheckWhereUniqueInput
data: XOR<CheckUpdateWithoutProjectInput, CheckUncheckedUpdateWithoutProjectInput>
}
export type CheckUpdateManyWithWhereWithoutProjectInput = {
where: CheckScalarWhereInput
data: XOR<CheckUpdateManyMutationInput, CheckUncheckedUpdateManyWithoutProjectInput>
}
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<BulkJobUpdateWithoutProjectInput, BulkJobUncheckedUpdateWithoutProjectInput>
create: XOR<BulkJobCreateWithoutProjectInput, BulkJobUncheckedCreateWithoutProjectInput>
}
export type BulkJobUpdateWithWhereUniqueWithoutProjectInput = {
where: BulkJobWhereUniqueInput
data: XOR<BulkJobUpdateWithoutProjectInput, BulkJobUncheckedUpdateWithoutProjectInput>
}
export type BulkJobUpdateManyWithWhereWithoutProjectInput = {
where: BulkJobScalarWhereInput
data: XOR<BulkJobUpdateManyMutationInput, BulkJobUncheckedUpdateManyWithoutProjectInput>
}
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<ProjectCreateWithoutChecksInput, ProjectUncheckedCreateWithoutChecksInput>
}
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<HopCreateWithoutCheckInput, HopUncheckedCreateWithoutCheckInput>
}
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<SslInspectionCreateWithoutCheckInput, SslInspectionUncheckedCreateWithoutCheckInput>
}
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<SeoFlagsCreateWithoutCheckInput, SeoFlagsUncheckedCreateWithoutCheckInput>
}
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<SecurityFlagsCreateWithoutCheckInput, SecurityFlagsUncheckedCreateWithoutCheckInput>
}
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<ReportCreateWithoutCheckInput, ReportUncheckedCreateWithoutCheckInput>
}
export type ReportCreateManyCheckInputEnvelope = {
data: ReportCreateManyCheckInput | ReportCreateManyCheckInput[]
skipDuplicates?: boolean
}
export type ProjectUpsertWithoutChecksInput = {
update: XOR<ProjectUpdateWithoutChecksInput, ProjectUncheckedUpdateWithoutChecksInput>
create: XOR<ProjectCreateWithoutChecksInput, ProjectUncheckedCreateWithoutChecksInput>
where?: ProjectWhereInput
}
export type ProjectUpdateToOneWithWhereWithoutChecksInput = {
where?: ProjectWhereInput
data: XOR<ProjectUpdateWithoutChecksInput, ProjectUncheckedUpdateWithoutChecksInput>
}
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<HopUpdateWithoutCheckInput, HopUncheckedUpdateWithoutCheckInput>
create: XOR<HopCreateWithoutCheckInput, HopUncheckedCreateWithoutCheckInput>
}
export type HopUpdateWithWhereUniqueWithoutCheckInput = {
where: HopWhereUniqueInput
data: XOR<HopUpdateWithoutCheckInput, HopUncheckedUpdateWithoutCheckInput>
}
export type HopUpdateManyWithWhereWithoutCheckInput = {
where: HopScalarWhereInput
data: XOR<HopUpdateManyMutationInput, HopUncheckedUpdateManyWithoutCheckInput>
}
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<SslInspectionUpdateWithoutCheckInput, SslInspectionUncheckedUpdateWithoutCheckInput>
create: XOR<SslInspectionCreateWithoutCheckInput, SslInspectionUncheckedCreateWithoutCheckInput>
}
export type SslInspectionUpdateWithWhereUniqueWithoutCheckInput = {
where: SslInspectionWhereUniqueInput
data: XOR<SslInspectionUpdateWithoutCheckInput, SslInspectionUncheckedUpdateWithoutCheckInput>
}
export type SslInspectionUpdateManyWithWhereWithoutCheckInput = {
where: SslInspectionScalarWhereInput
data: XOR<SslInspectionUpdateManyMutationInput, SslInspectionUncheckedUpdateManyWithoutCheckInput>
}
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<SeoFlagsUpdateWithoutCheckInput, SeoFlagsUncheckedUpdateWithoutCheckInput>
create: XOR<SeoFlagsCreateWithoutCheckInput, SeoFlagsUncheckedCreateWithoutCheckInput>
where?: SeoFlagsWhereInput
}
export type SeoFlagsUpdateToOneWithWhereWithoutCheckInput = {
where?: SeoFlagsWhereInput
data: XOR<SeoFlagsUpdateWithoutCheckInput, SeoFlagsUncheckedUpdateWithoutCheckInput>
}
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<SecurityFlagsUpdateWithoutCheckInput, SecurityFlagsUncheckedUpdateWithoutCheckInput>
create: XOR<SecurityFlagsCreateWithoutCheckInput, SecurityFlagsUncheckedCreateWithoutCheckInput>
where?: SecurityFlagsWhereInput
}
export type SecurityFlagsUpdateToOneWithWhereWithoutCheckInput = {
where?: SecurityFlagsWhereInput
data: XOR<SecurityFlagsUpdateWithoutCheckInput, SecurityFlagsUncheckedUpdateWithoutCheckInput>
}
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<ReportUpdateWithoutCheckInput, ReportUncheckedUpdateWithoutCheckInput>
create: XOR<ReportCreateWithoutCheckInput, ReportUncheckedCreateWithoutCheckInput>
}
export type ReportUpdateWithWhereUniqueWithoutCheckInput = {
where: ReportWhereUniqueInput
data: XOR<ReportUpdateWithoutCheckInput, ReportUncheckedUpdateWithoutCheckInput>
}
export type ReportUpdateManyWithWhereWithoutCheckInput = {
where: ReportScalarWhereInput
data: XOR<ReportUpdateManyMutationInput, ReportUncheckedUpdateManyWithoutCheckInput>
}
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<CheckCreateWithoutHopsInput, CheckUncheckedCreateWithoutHopsInput>
}
export type CheckUpsertWithoutHopsInput = {
update: XOR<CheckUpdateWithoutHopsInput, CheckUncheckedUpdateWithoutHopsInput>
create: XOR<CheckCreateWithoutHopsInput, CheckUncheckedCreateWithoutHopsInput>
where?: CheckWhereInput
}
export type CheckUpdateToOneWithWhereWithoutHopsInput = {
where?: CheckWhereInput
data: XOR<CheckUpdateWithoutHopsInput, CheckUncheckedUpdateWithoutHopsInput>
}
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<CheckCreateWithoutSslInspectionsInput, CheckUncheckedCreateWithoutSslInspectionsInput>
}
export type CheckUpsertWithoutSslInspectionsInput = {
update: XOR<CheckUpdateWithoutSslInspectionsInput, CheckUncheckedUpdateWithoutSslInspectionsInput>
create: XOR<CheckCreateWithoutSslInspectionsInput, CheckUncheckedCreateWithoutSslInspectionsInput>
where?: CheckWhereInput
}
export type CheckUpdateToOneWithWhereWithoutSslInspectionsInput = {
where?: CheckWhereInput
data: XOR<CheckUpdateWithoutSslInspectionsInput, CheckUncheckedUpdateWithoutSslInspectionsInput>
}
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<CheckCreateWithoutSeoFlagsInput, CheckUncheckedCreateWithoutSeoFlagsInput>
}
export type CheckUpsertWithoutSeoFlagsInput = {
update: XOR<CheckUpdateWithoutSeoFlagsInput, CheckUncheckedUpdateWithoutSeoFlagsInput>
create: XOR<CheckCreateWithoutSeoFlagsInput, CheckUncheckedCreateWithoutSeoFlagsInput>
where?: CheckWhereInput
}
export type CheckUpdateToOneWithWhereWithoutSeoFlagsInput = {
where?: CheckWhereInput
data: XOR<CheckUpdateWithoutSeoFlagsInput, CheckUncheckedUpdateWithoutSeoFlagsInput>
}
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<CheckCreateWithoutSecurityFlagsInput, CheckUncheckedCreateWithoutSecurityFlagsInput>
}
export type CheckUpsertWithoutSecurityFlagsInput = {
update: XOR<CheckUpdateWithoutSecurityFlagsInput, CheckUncheckedUpdateWithoutSecurityFlagsInput>
create: XOR<CheckCreateWithoutSecurityFlagsInput, CheckUncheckedCreateWithoutSecurityFlagsInput>
where?: CheckWhereInput
}
export type CheckUpdateToOneWithWhereWithoutSecurityFlagsInput = {
where?: CheckWhereInput
data: XOR<CheckUpdateWithoutSecurityFlagsInput, CheckUncheckedUpdateWithoutSecurityFlagsInput>
}
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<CheckCreateWithoutReportsInput, CheckUncheckedCreateWithoutReportsInput>
}
export type CheckUpsertWithoutReportsInput = {
update: XOR<CheckUpdateWithoutReportsInput, CheckUncheckedUpdateWithoutReportsInput>
create: XOR<CheckCreateWithoutReportsInput, CheckUncheckedCreateWithoutReportsInput>
where?: CheckWhereInput
}
export type CheckUpdateToOneWithWhereWithoutReportsInput = {
where?: CheckWhereInput
data: XOR<CheckUpdateWithoutReportsInput, CheckUncheckedUpdateWithoutReportsInput>
}
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<UserCreateWithoutBulkJobsInput, UserUncheckedCreateWithoutBulkJobsInput>
}
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<OrganizationCreateWithoutBulkJobsInput, OrganizationUncheckedCreateWithoutBulkJobsInput>
}
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<ProjectCreateWithoutBulkJobsInput, ProjectUncheckedCreateWithoutBulkJobsInput>
}
export type UserUpsertWithoutBulkJobsInput = {
update: XOR<UserUpdateWithoutBulkJobsInput, UserUncheckedUpdateWithoutBulkJobsInput>
create: XOR<UserCreateWithoutBulkJobsInput, UserUncheckedCreateWithoutBulkJobsInput>
where?: UserWhereInput
}
export type UserUpdateToOneWithWhereWithoutBulkJobsInput = {
where?: UserWhereInput
data: XOR<UserUpdateWithoutBulkJobsInput, UserUncheckedUpdateWithoutBulkJobsInput>
}
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<OrganizationUpdateWithoutBulkJobsInput, OrganizationUncheckedUpdateWithoutBulkJobsInput>
create: XOR<OrganizationCreateWithoutBulkJobsInput, OrganizationUncheckedCreateWithoutBulkJobsInput>
where?: OrganizationWhereInput
}
export type OrganizationUpdateToOneWithWhereWithoutBulkJobsInput = {
where?: OrganizationWhereInput
data: XOR<OrganizationUpdateWithoutBulkJobsInput, OrganizationUncheckedUpdateWithoutBulkJobsInput>
}
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<ProjectUpdateWithoutBulkJobsInput, ProjectUncheckedUpdateWithoutBulkJobsInput>
create: XOR<ProjectCreateWithoutBulkJobsInput, ProjectUncheckedCreateWithoutBulkJobsInput>
where?: ProjectWhereInput
}
export type ProjectUpdateToOneWithWhereWithoutBulkJobsInput = {
where?: ProjectWhereInput
data: XOR<ProjectUpdateWithoutBulkJobsInput, ProjectUncheckedUpdateWithoutBulkJobsInput>
}
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<OrganizationCreateWithoutApiKeysInput, OrganizationUncheckedCreateWithoutApiKeysInput>
}
export type OrganizationUpsertWithoutApiKeysInput = {
update: XOR<OrganizationUpdateWithoutApiKeysInput, OrganizationUncheckedUpdateWithoutApiKeysInput>
create: XOR<OrganizationCreateWithoutApiKeysInput, OrganizationUncheckedCreateWithoutApiKeysInput>
where?: OrganizationWhereInput
}
export type OrganizationUpdateToOneWithWhereWithoutApiKeysInput = {
where?: OrganizationWhereInput
data: XOR<OrganizationUpdateWithoutApiKeysInput, OrganizationUncheckedUpdateWithoutApiKeysInput>
}
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<OrganizationCreateWithoutAuditLogsInput, OrganizationUncheckedCreateWithoutAuditLogsInput>
}
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<UserCreateWithoutAuditLogsInput, UserUncheckedCreateWithoutAuditLogsInput>
}
export type OrganizationUpsertWithoutAuditLogsInput = {
update: XOR<OrganizationUpdateWithoutAuditLogsInput, OrganizationUncheckedUpdateWithoutAuditLogsInput>
create: XOR<OrganizationCreateWithoutAuditLogsInput, OrganizationUncheckedCreateWithoutAuditLogsInput>
where?: OrganizationWhereInput
}
export type OrganizationUpdateToOneWithWhereWithoutAuditLogsInput = {
where?: OrganizationWhereInput
data: XOR<OrganizationUpdateWithoutAuditLogsInput, OrganizationUncheckedUpdateWithoutAuditLogsInput>
}
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<UserUpdateWithoutAuditLogsInput, UserUncheckedUpdateWithoutAuditLogsInput>
create: XOR<UserCreateWithoutAuditLogsInput, UserUncheckedCreateWithoutAuditLogsInput>
where?: UserWhereInput
}
export type UserUpdateToOneWithWhereWithoutAuditLogsInput = {
where?: UserWhereInput
data: XOR<UserUpdateWithoutAuditLogsInput, UserUncheckedUpdateWithoutAuditLogsInput>
}
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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = UserCountOutputTypeDefaultArgs<ExtArgs>
/**
* @deprecated Use OrganizationCountOutputTypeDefaultArgs instead
*/
export type OrganizationCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = OrganizationCountOutputTypeDefaultArgs<ExtArgs>
/**
* @deprecated Use ProjectCountOutputTypeDefaultArgs instead
*/
export type ProjectCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ProjectCountOutputTypeDefaultArgs<ExtArgs>
/**
* @deprecated Use CheckCountOutputTypeDefaultArgs instead
*/
export type CheckCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CheckCountOutputTypeDefaultArgs<ExtArgs>
/**
* @deprecated Use UserDefaultArgs instead
*/
export type UserArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = UserDefaultArgs<ExtArgs>
/**
* @deprecated Use OrganizationDefaultArgs instead
*/
export type OrganizationArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = OrganizationDefaultArgs<ExtArgs>
/**
* @deprecated Use OrgMembershipDefaultArgs instead
*/
export type OrgMembershipArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = OrgMembershipDefaultArgs<ExtArgs>
/**
* @deprecated Use ProjectDefaultArgs instead
*/
export type ProjectArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ProjectDefaultArgs<ExtArgs>
/**
* @deprecated Use CheckDefaultArgs instead
*/
export type CheckArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = CheckDefaultArgs<ExtArgs>
/**
* @deprecated Use HopDefaultArgs instead
*/
export type HopArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = HopDefaultArgs<ExtArgs>
/**
* @deprecated Use SslInspectionDefaultArgs instead
*/
export type SslInspectionArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SslInspectionDefaultArgs<ExtArgs>
/**
* @deprecated Use SeoFlagsDefaultArgs instead
*/
export type SeoFlagsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SeoFlagsDefaultArgs<ExtArgs>
/**
* @deprecated Use SecurityFlagsDefaultArgs instead
*/
export type SecurityFlagsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SecurityFlagsDefaultArgs<ExtArgs>
/**
* @deprecated Use ReportDefaultArgs instead
*/
export type ReportArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ReportDefaultArgs<ExtArgs>
/**
* @deprecated Use BulkJobDefaultArgs instead
*/
export type BulkJobArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = BulkJobDefaultArgs<ExtArgs>
/**
* @deprecated Use ApiKeyDefaultArgs instead
*/
export type ApiKeyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ApiKeyDefaultArgs<ExtArgs>
/**
* @deprecated Use AuditLogDefaultArgs instead
*/
export type AuditLogArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = AuditLogDefaultArgs<ExtArgs>
/**
* Batch Payload for updateMany & deleteMany & createMany
*/
export type BatchPayload = {
count: number
}
/**
* DMMF
*/
export const dmmf: runtime.BaseDMMF
}