/** * Client **/ import * as runtime from '@prisma/client/runtime/library.js'; import $Types = runtime.Types // general types import $Public = runtime.Types.Public import $Utils = runtime.Types.Utils import $Extensions = runtime.Types.Extensions import $Result = runtime.Types.Result export type PrismaPromise = $Public.PrismaPromise /** * Model Access * */ export type Access = $Result.DefaultSelection /** * Model Account * */ export type Account = $Result.DefaultSelection /** * Model AccountBalance * */ export type AccountBalance = $Result.DefaultSelection /** * Model Analytics * */ export type Analytics = $Result.DefaultSelection /** * Model ApiKey * */ export type ApiKey = $Result.DefaultSelection /** * Model AssetProfileResolution * */ export type AssetProfileResolution = $Result.DefaultSelection /** * Model AuthDevice * */ export type AuthDevice = $Result.DefaultSelection /** * Model MarketData * */ export type MarketData = $Result.DefaultSelection /** * Model Order * */ export type Order = $Result.DefaultSelection /** * Model Platform * */ export type Platform = $Result.DefaultSelection /** * Model Property * */ export type Property = $Result.DefaultSelection /** * Model Settings * */ export type Settings = $Result.DefaultSelection /** * Model SymbolProfile * */ export type SymbolProfile = $Result.DefaultSelection /** * Model SymbolProfileOverrides * */ export type SymbolProfileOverrides = $Result.DefaultSelection /** * Model Subscription * */ export type Subscription = $Result.DefaultSelection /** * Model Tag * */ export type Tag = $Result.DefaultSelection /** * Model User * */ export type User = $Result.DefaultSelection /** * Enums */ export namespace $Enums { export const AccessPermission: { READ: 'READ', READ_RESTRICTED: 'READ_RESTRICTED' }; export type AccessPermission = (typeof AccessPermission)[keyof typeof AccessPermission] export const AssetClass: { ALTERNATIVE_INVESTMENT: 'ALTERNATIVE_INVESTMENT', COMMODITY: 'COMMODITY', EQUITY: 'EQUITY', FIXED_INCOME: 'FIXED_INCOME', LIQUIDITY: 'LIQUIDITY', REAL_ESTATE: 'REAL_ESTATE' }; export type AssetClass = (typeof AssetClass)[keyof typeof AssetClass] export const AssetSubClass: { BOND: 'BOND', CASH: 'CASH', COLLECTIBLE: 'COLLECTIBLE', COMMODITY: 'COMMODITY', CRYPTOCURRENCY: 'CRYPTOCURRENCY', ETF: 'ETF', MUTUALFUND: 'MUTUALFUND', PRECIOUS_METAL: 'PRECIOUS_METAL', PRIVATE_EQUITY: 'PRIVATE_EQUITY', STOCK: 'STOCK' }; export type AssetSubClass = (typeof AssetSubClass)[keyof typeof AssetSubClass] export const DataSource: { ALPHA_VANTAGE: 'ALPHA_VANTAGE', COINGECKO: 'COINGECKO', EOD_HISTORICAL_DATA: 'EOD_HISTORICAL_DATA', FINANCIAL_MODELING_PREP: 'FINANCIAL_MODELING_PREP', GHOSTFOLIO: 'GHOSTFOLIO', GOOGLE_SHEETS: 'GOOGLE_SHEETS', MANUAL: 'MANUAL', RAPID_API: 'RAPID_API', YAHOO: 'YAHOO' }; export type DataSource = (typeof DataSource)[keyof typeof DataSource] export const MarketDataState: { CLOSE: 'CLOSE', INTRADAY: 'INTRADAY' }; export type MarketDataState = (typeof MarketDataState)[keyof typeof MarketDataState] export const Provider: { ANONYMOUS: 'ANONYMOUS', GOOGLE: 'GOOGLE', INTERNET_IDENTITY: 'INTERNET_IDENTITY', OIDC: 'OIDC' }; export type Provider = (typeof Provider)[keyof typeof Provider] export const Role: { ADMIN: 'ADMIN', DEMO: 'DEMO', INACTIVE: 'INACTIVE', USER: 'USER' }; export type Role = (typeof Role)[keyof typeof Role] export const Type: { BUY: 'BUY', DIVIDEND: 'DIVIDEND', FEE: 'FEE', INTEREST: 'INTEREST', LIABILITY: 'LIABILITY', SELL: 'SELL' }; export type Type = (typeof Type)[keyof typeof Type] export const ViewMode: { DEFAULT: 'DEFAULT', ZEN: 'ZEN' }; export type ViewMode = (typeof ViewMode)[keyof typeof ViewMode] } export type AccessPermission = $Enums.AccessPermission export const AccessPermission: typeof $Enums.AccessPermission export type AssetClass = $Enums.AssetClass export const AssetClass: typeof $Enums.AssetClass export type AssetSubClass = $Enums.AssetSubClass export const AssetSubClass: typeof $Enums.AssetSubClass export type DataSource = $Enums.DataSource export const DataSource: typeof $Enums.DataSource export type MarketDataState = $Enums.MarketDataState export const MarketDataState: typeof $Enums.MarketDataState export type Provider = $Enums.Provider export const Provider: typeof $Enums.Provider export type Role = $Enums.Role export const Role: typeof $Enums.Role export type Type = $Enums.Type export const Type: typeof $Enums.Type export type ViewMode = $Enums.ViewMode export const ViewMode: typeof $Enums.ViewMode /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient() * // Fetch zero or more Accesses * const accesses = await prisma.access.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, const U = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array ? Prisma.GetEvents : never : never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs > { [K: symbol]: { types: Prisma.TypeMap['other'] } /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient() * // Fetch zero or more Accesses * const accesses = await prisma.access.findMany() * ``` * * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). */ constructor(optionsArg ?: Prisma.Subset); $on(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient; /** * Connect with the database */ $connect(): $Utils.JsPromise; /** * Disconnect from the database */ $disconnect(): $Utils.JsPromise; /** * Executes a prepared raw query and returns the number of affected rows. * @example * ``` * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};` * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $executeRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; /** * Executes a raw query and returns the number of affected rows. * Susceptible to SQL injections, see documentation. * @example * ``` * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com') * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $executeRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; /** * Performs a prepared raw query and returns the `SELECT` data. * @example * ``` * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};` * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $queryRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; /** * Performs a raw query and returns the `SELECT` data. * Susceptible to SQL injections, see documentation. * @example * ``` * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com') * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $queryRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; /** * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. * @example * ``` * const [george, bob, alice] = await prisma.$transaction([ * prisma.user.create({ data: { name: 'George' } }), * prisma.user.create({ data: { name: 'Bob' } }), * prisma.user.create({ data: { name: 'Alice' } }), * ]) * ``` * * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions). */ $transaction

[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise> $transaction(fn: (prisma: Omit) => $Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, $Utils.Call, { extArgs: ExtArgs }>> /** * `prisma.access`: Exposes CRUD operations for the **Access** model. * Example usage: * ```ts * // Fetch zero or more Accesses * const accesses = await prisma.access.findMany() * ``` */ get access(): Prisma.AccessDelegate; /** * `prisma.account`: Exposes CRUD operations for the **Account** model. * Example usage: * ```ts * // Fetch zero or more Accounts * const accounts = await prisma.account.findMany() * ``` */ get account(): Prisma.AccountDelegate; /** * `prisma.accountBalance`: Exposes CRUD operations for the **AccountBalance** model. * Example usage: * ```ts * // Fetch zero or more AccountBalances * const accountBalances = await prisma.accountBalance.findMany() * ``` */ get accountBalance(): Prisma.AccountBalanceDelegate; /** * `prisma.analytics`: Exposes CRUD operations for the **Analytics** model. * Example usage: * ```ts * // Fetch zero or more Analytics * const analytics = await prisma.analytics.findMany() * ``` */ get analytics(): Prisma.AnalyticsDelegate; /** * `prisma.apiKey`: Exposes CRUD operations for the **ApiKey** model. * Example usage: * ```ts * // Fetch zero or more ApiKeys * const apiKeys = await prisma.apiKey.findMany() * ``` */ get apiKey(): Prisma.ApiKeyDelegate; /** * `prisma.assetProfileResolution`: Exposes CRUD operations for the **AssetProfileResolution** model. * Example usage: * ```ts * // Fetch zero or more AssetProfileResolutions * const assetProfileResolutions = await prisma.assetProfileResolution.findMany() * ``` */ get assetProfileResolution(): Prisma.AssetProfileResolutionDelegate; /** * `prisma.authDevice`: Exposes CRUD operations for the **AuthDevice** model. * Example usage: * ```ts * // Fetch zero or more AuthDevices * const authDevices = await prisma.authDevice.findMany() * ``` */ get authDevice(): Prisma.AuthDeviceDelegate; /** * `prisma.marketData`: Exposes CRUD operations for the **MarketData** model. * Example usage: * ```ts * // Fetch zero or more MarketData * const marketData = await prisma.marketData.findMany() * ``` */ get marketData(): Prisma.MarketDataDelegate; /** * `prisma.order`: Exposes CRUD operations for the **Order** model. * Example usage: * ```ts * // Fetch zero or more Orders * const orders = await prisma.order.findMany() * ``` */ get order(): Prisma.OrderDelegate; /** * `prisma.platform`: Exposes CRUD operations for the **Platform** model. * Example usage: * ```ts * // Fetch zero or more Platforms * const platforms = await prisma.platform.findMany() * ``` */ get platform(): Prisma.PlatformDelegate; /** * `prisma.property`: Exposes CRUD operations for the **Property** model. * Example usage: * ```ts * // Fetch zero or more Properties * const properties = await prisma.property.findMany() * ``` */ get property(): Prisma.PropertyDelegate; /** * `prisma.settings`: Exposes CRUD operations for the **Settings** model. * Example usage: * ```ts * // Fetch zero or more Settings * const settings = await prisma.settings.findMany() * ``` */ get settings(): Prisma.SettingsDelegate; /** * `prisma.symbolProfile`: Exposes CRUD operations for the **SymbolProfile** model. * Example usage: * ```ts * // Fetch zero or more SymbolProfiles * const symbolProfiles = await prisma.symbolProfile.findMany() * ``` */ get symbolProfile(): Prisma.SymbolProfileDelegate; /** * `prisma.symbolProfileOverrides`: Exposes CRUD operations for the **SymbolProfileOverrides** model. * Example usage: * ```ts * // Fetch zero or more SymbolProfileOverrides * const symbolProfileOverrides = await prisma.symbolProfileOverrides.findMany() * ``` */ get symbolProfileOverrides(): Prisma.SymbolProfileOverridesDelegate; /** * `prisma.subscription`: Exposes CRUD operations for the **Subscription** model. * Example usage: * ```ts * // Fetch zero or more Subscriptions * const subscriptions = await prisma.subscription.findMany() * ``` */ get subscription(): Prisma.SubscriptionDelegate; /** * `prisma.tag`: Exposes CRUD operations for the **Tag** model. * Example usage: * ```ts * // Fetch zero or more Tags * const tags = await prisma.tag.findMany() * ``` */ get tag(): Prisma.TagDelegate; /** * `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; } export namespace Prisma { export import DMMF = runtime.DMMF export type PrismaPromise = $Public.PrismaPromise /** * Validator */ export import validator = runtime.Public.validator /** * Prisma Errors */ export import PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError export import PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError export import PrismaClientRustPanicError = runtime.PrismaClientRustPanicError export import PrismaClientInitializationError = runtime.PrismaClientInitializationError export import PrismaClientValidationError = runtime.PrismaClientValidationError /** * Re-export of sql-template-tag */ export import sql = runtime.sqltag export import empty = runtime.empty export import join = runtime.join export import raw = runtime.raw export import Sql = runtime.Sql /** * Decimal.js */ export import Decimal = runtime.Decimal export type DecimalJsLike = runtime.DecimalJsLike /** * Metrics */ export type Metrics = runtime.Metrics export type Metric = runtime.Metric export type MetricHistogram = runtime.MetricHistogram export type MetricHistogramBucket = runtime.MetricHistogramBucket /** * Extensions */ export import Extension = $Extensions.UserArgs export import getExtensionContext = runtime.Extensions.getExtensionContext export import Args = $Public.Args export import Payload = $Public.Payload export import Result = $Public.Result export import Exact = $Public.Exact /** * Prisma Client JS version: 6.19.0 * Query Engine version: 2ba551f319ab1df4bc874a89965d8b3641056773 */ export type PrismaVersion = { client: string } export const prismaVersion: PrismaVersion /** * Utility Types */ export import Bytes = runtime.Bytes export import JsonObject = runtime.JsonObject export import JsonArray = runtime.JsonArray export import JsonValue = runtime.JsonValue export import InputJsonObject = runtime.InputJsonObject export import InputJsonArray = runtime.InputJsonArray export import InputJsonValue = runtime.InputJsonValue /** * Types of the values used to represent different kinds of `null` values when working with JSON fields. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ namespace NullTypes { /** * Type of `Prisma.DbNull`. * * You cannot use other instances of this class. Please use the `Prisma.DbNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class DbNull { private DbNull: never private constructor() } /** * Type of `Prisma.JsonNull`. * * You cannot use other instances of this class. Please use the `Prisma.JsonNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class JsonNull { private JsonNull: never private constructor() } /** * Type of `Prisma.AnyNull`. * * You cannot use other instances of this class. Please use the `Prisma.AnyNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class AnyNull { private AnyNull: never private constructor() } } /** * Helper for filtering JSON entries that have `null` on the database (empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const DbNull: NullTypes.DbNull /** * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const JsonNull: NullTypes.JsonNull /** * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const AnyNull: NullTypes.AnyNull type SelectAndInclude = { select: any include: any } type SelectAndOmit = { select: any omit: any } /** * Get the type of the value, that the Promise holds. */ export type PromiseType> = T extends PromiseLike ? U : T; /** * Get the return type of a function which returns a Promise. */ export type PromiseReturnType $Utils.JsPromise> = PromiseType> /** * From T, pick a set of properties whose keys are in the union K */ type Prisma__Pick = { [P in K]: T[P]; }; export type Enumerable = T | Array; export type RequiredKeys = { [K in keyof T]-?: {} extends Prisma__Pick ? never : K }[keyof T] export type TruthyKeys = keyof { [K in keyof T as T[K] extends false | undefined | null ? never : K]: K } export type TrueKeys = TruthyKeys>> /** * Subset * @desc From `T` pick properties that exist in `U`. Simple version of Intersection */ export type Subset = { [key in keyof T]: key extends keyof U ? T[key] : never; }; /** * SelectSubset * @desc From `T` pick properties that exist in `U`. Simple version of Intersection. * Additionally, it validates, if both select and include are present. If the case, it errors. */ export type SelectSubset = { [key in keyof T]: key extends keyof U ? T[key] : never } & (T extends SelectAndInclude ? 'Please either choose `select` or `include`.' : T extends SelectAndOmit ? 'Please either choose `select` or `omit`.' : {}) /** * Subset + Intersection * @desc From `T` pick properties that exist in `U` and intersect `K` */ export type SubsetIntersection = { [key in keyof T]: key extends keyof U ? T[key] : never } & K type Without = { [P in Exclude]?: never }; /** * XOR is needed to have a real mutually exclusive union type * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types */ type XOR = T extends object ? U extends object ? (Without & U) | (Without & T) : U : T /** * Is T a Record? */ type IsObject = T extends Array ? False : T extends Date ? False : T extends Uint8Array ? False : T extends BigInt ? False : T extends object ? True : False /** * If it's T[], return T */ export type UnEnumerate = T extends Array ? U : T /** * From ts-toolbelt */ type __Either = Omit & { // Merge all but K [P in K]: Prisma__Pick // With K possibilities }[K] type EitherStrict = Strict<__Either> type EitherLoose = ComputeRaw<__Either> type _Either< O extends object, K extends Key, strict extends Boolean > = { 1: EitherStrict 0: EitherLoose }[strict] type Either< O extends object, K extends Key, strict extends Boolean = 1 > = O extends unknown ? _Either : never export type Union = any type PatchUndefined = { [K in keyof O]: O[K] extends undefined ? At : O[K] } & {} /** Helper Types for "Merge" **/ export type IntersectOf = ( U extends unknown ? (k: U) => void : never ) extends (k: infer I) => void ? I : never export type Overwrite = { [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; } & {}; type _Merge = IntersectOf; }>>; type Key = string | number | symbol; type AtBasic = K extends keyof O ? O[K] : never; type AtStrict = O[K & keyof O]; type AtLoose = O extends unknown ? AtStrict : never; export type At = { 1: AtStrict; 0: AtLoose; }[strict]; export type ComputeRaw = A extends Function ? A : { [K in keyof A]: A[K]; } & {}; export type OptionalFlat = { [K in keyof O]?: O[K]; } & {}; type _Record = { [P in K]: T; }; // cause typescript not to expand types and preserve names type NoExpand = T extends unknown ? T : never; // this type assumes the passed object is entirely optional type AtLeast = NoExpand< O extends unknown ? | (K extends keyof O ? { [P in K]: O[P] } & O : O) | {[P in keyof O as P extends K ? P : never]-?: O[P]} & O : never>; type _Strict = U extends unknown ? U & OptionalFlat<_Record, keyof U>, never>> : never; export type Strict = ComputeRaw<_Strict>; /** End Helper Types for "Merge" **/ export type Merge = ComputeRaw<_Merge>>; /** A [[Boolean]] */ export type Boolean = True | False // /** // 1 // */ export type True = 1 /** 0 */ export type False = 0 export type Not = { 0: 1 1: 0 }[B] export type Extends = [A1] extends [never] ? 0 // anything `never` is false : A1 extends A2 ? 1 : 0 export type Has = Not< Extends, U1> > export type Or = { 0: { 0: 0 1: 1 } 1: { 0: 1 1: 1 } }[B1][B2] export type Keys = U extends unknown ? keyof U : never type Cast = A extends B ? A : B; export const type: unique symbol; /** * Used by group by */ export type GetScalarType = O extends object ? { [P in keyof T]: P extends keyof O ? O[P] : never } : never type FieldPaths< T, U = Omit > = IsObject extends True ? U : T type GetHavingFields = { [K in keyof T]: Or< Or, Extends<'AND', K>>, Extends<'NOT', K> > extends True ? // infer is only needed to not hit TS limit // based on the brilliant idea of Pierre-Antoine Mills // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437 T[K] extends infer TK ? GetHavingFields extends object ? Merge> : never> : never : {} extends FieldPaths ? never : K }[keyof T] /** * Convert tuple to union */ type _TupleToUnion = T extends (infer E)[] ? E : never type TupleToUnion = _TupleToUnion type MaybeTupleToUnion = T extends any[] ? TupleToUnion : T /** * Like `Pick`, but additionally can also accept an array of keys */ type PickEnumerable | keyof T> = Prisma__Pick> /** * Exclude all keys with underscores */ type ExcludeUnderscoreKeys = T extends `_${string}` ? never : T export type FieldRef = runtime.FieldRef type FieldRefInputType = Model extends never ? never : FieldRef export const ModelName: { Access: 'Access', Account: 'Account', AccountBalance: 'AccountBalance', Analytics: 'Analytics', ApiKey: 'ApiKey', AssetProfileResolution: 'AssetProfileResolution', AuthDevice: 'AuthDevice', MarketData: 'MarketData', Order: 'Order', Platform: 'Platform', Property: 'Property', Settings: 'Settings', SymbolProfile: 'SymbolProfile', SymbolProfileOverrides: 'SymbolProfileOverrides', Subscription: 'Subscription', Tag: 'Tag', User: 'User' }; export type ModelName = (typeof ModelName)[keyof typeof ModelName] export type Datasources = { db?: Datasource } interface TypeMapCb extends $Utils.Fn<{extArgs: $Extensions.InternalArgs }, $Utils.Record> { returns: Prisma.TypeMap } export type TypeMap = { globalOmitOptions: { omit: GlobalOmitOptions } meta: { modelProps: "access" | "account" | "accountBalance" | "analytics" | "apiKey" | "assetProfileResolution" | "authDevice" | "marketData" | "order" | "platform" | "property" | "settings" | "symbolProfile" | "symbolProfileOverrides" | "subscription" | "tag" | "user" txIsolationLevel: Prisma.TransactionIsolationLevel } model: { Access: { payload: Prisma.$AccessPayload fields: Prisma.AccessFieldRefs operations: { findUnique: { args: Prisma.AccessFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AccessFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AccessFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AccessFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AccessFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AccessCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AccessCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.AccessCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.AccessDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AccessUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AccessDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AccessUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.AccessUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.AccessUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AccessAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AccessGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AccessCountArgs result: $Utils.Optional | number } } } Account: { payload: Prisma.$AccountPayload fields: Prisma.AccountFieldRefs operations: { findUnique: { args: Prisma.AccountFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AccountFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AccountFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AccountFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AccountFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AccountCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AccountCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.AccountCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.AccountDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AccountUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AccountDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AccountUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.AccountUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.AccountUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AccountAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AccountGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AccountCountArgs result: $Utils.Optional | number } } } AccountBalance: { payload: Prisma.$AccountBalancePayload fields: Prisma.AccountBalanceFieldRefs operations: { findUnique: { args: Prisma.AccountBalanceFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AccountBalanceFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AccountBalanceFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AccountBalanceFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AccountBalanceFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AccountBalanceCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AccountBalanceCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.AccountBalanceCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.AccountBalanceDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AccountBalanceUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AccountBalanceDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AccountBalanceUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.AccountBalanceUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.AccountBalanceUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AccountBalanceAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AccountBalanceGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AccountBalanceCountArgs result: $Utils.Optional | number } } } Analytics: { payload: Prisma.$AnalyticsPayload fields: Prisma.AnalyticsFieldRefs operations: { findUnique: { args: Prisma.AnalyticsFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AnalyticsFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AnalyticsFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AnalyticsFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AnalyticsFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AnalyticsCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AnalyticsCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.AnalyticsCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.AnalyticsDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AnalyticsUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AnalyticsDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AnalyticsUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.AnalyticsUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.AnalyticsUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AnalyticsAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AnalyticsGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AnalyticsCountArgs result: $Utils.Optional | number } } } ApiKey: { payload: Prisma.$ApiKeyPayload fields: Prisma.ApiKeyFieldRefs operations: { findUnique: { args: Prisma.ApiKeyFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.ApiKeyFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.ApiKeyFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.ApiKeyFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.ApiKeyFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.ApiKeyCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.ApiKeyCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.ApiKeyCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.ApiKeyDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.ApiKeyUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.ApiKeyDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.ApiKeyUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.ApiKeyUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.ApiKeyUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.ApiKeyAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.ApiKeyGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.ApiKeyCountArgs result: $Utils.Optional | number } } } AssetProfileResolution: { payload: Prisma.$AssetProfileResolutionPayload fields: Prisma.AssetProfileResolutionFieldRefs operations: { findUnique: { args: Prisma.AssetProfileResolutionFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AssetProfileResolutionFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AssetProfileResolutionFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AssetProfileResolutionFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AssetProfileResolutionFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AssetProfileResolutionCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AssetProfileResolutionCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.AssetProfileResolutionCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.AssetProfileResolutionDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AssetProfileResolutionUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AssetProfileResolutionDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AssetProfileResolutionUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.AssetProfileResolutionUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.AssetProfileResolutionUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AssetProfileResolutionAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AssetProfileResolutionGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AssetProfileResolutionCountArgs result: $Utils.Optional | number } } } AuthDevice: { payload: Prisma.$AuthDevicePayload fields: Prisma.AuthDeviceFieldRefs operations: { findUnique: { args: Prisma.AuthDeviceFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AuthDeviceFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AuthDeviceFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AuthDeviceFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AuthDeviceFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AuthDeviceCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AuthDeviceCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.AuthDeviceCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.AuthDeviceDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AuthDeviceUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AuthDeviceDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AuthDeviceUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.AuthDeviceUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.AuthDeviceUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AuthDeviceAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AuthDeviceGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AuthDeviceCountArgs result: $Utils.Optional | number } } } MarketData: { payload: Prisma.$MarketDataPayload fields: Prisma.MarketDataFieldRefs operations: { findUnique: { args: Prisma.MarketDataFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.MarketDataFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.MarketDataFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.MarketDataFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.MarketDataFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.MarketDataCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.MarketDataCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.MarketDataCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.MarketDataDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.MarketDataUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.MarketDataDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.MarketDataUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.MarketDataUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.MarketDataUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.MarketDataAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.MarketDataGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.MarketDataCountArgs result: $Utils.Optional | number } } } Order: { payload: Prisma.$OrderPayload fields: Prisma.OrderFieldRefs operations: { findUnique: { args: Prisma.OrderFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.OrderFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.OrderFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.OrderFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.OrderFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.OrderCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.OrderCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.OrderCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.OrderDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.OrderUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.OrderDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.OrderUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.OrderUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.OrderUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.OrderAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.OrderGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.OrderCountArgs result: $Utils.Optional | number } } } Platform: { payload: Prisma.$PlatformPayload fields: Prisma.PlatformFieldRefs operations: { findUnique: { args: Prisma.PlatformFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.PlatformFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.PlatformFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.PlatformFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.PlatformFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.PlatformCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.PlatformCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.PlatformCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.PlatformDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.PlatformUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.PlatformDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.PlatformUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.PlatformUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.PlatformUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.PlatformAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.PlatformGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.PlatformCountArgs result: $Utils.Optional | number } } } Property: { payload: Prisma.$PropertyPayload fields: Prisma.PropertyFieldRefs operations: { findUnique: { args: Prisma.PropertyFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.PropertyFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.PropertyFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.PropertyFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.PropertyFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.PropertyCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.PropertyCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.PropertyCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.PropertyDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.PropertyUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.PropertyDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.PropertyUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.PropertyUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.PropertyUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.PropertyAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.PropertyGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.PropertyCountArgs result: $Utils.Optional | number } } } Settings: { payload: Prisma.$SettingsPayload fields: Prisma.SettingsFieldRefs operations: { findUnique: { args: Prisma.SettingsFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SettingsFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SettingsFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SettingsFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SettingsFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SettingsCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SettingsCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SettingsCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SettingsDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SettingsUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SettingsDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SettingsUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SettingsUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SettingsUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SettingsAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SettingsGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SettingsCountArgs result: $Utils.Optional | number } } } SymbolProfile: { payload: Prisma.$SymbolProfilePayload fields: Prisma.SymbolProfileFieldRefs operations: { findUnique: { args: Prisma.SymbolProfileFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SymbolProfileFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SymbolProfileFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SymbolProfileFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SymbolProfileFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SymbolProfileCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SymbolProfileCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SymbolProfileCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SymbolProfileDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SymbolProfileUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SymbolProfileDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SymbolProfileUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SymbolProfileUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SymbolProfileUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SymbolProfileAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SymbolProfileGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SymbolProfileCountArgs result: $Utils.Optional | number } } } SymbolProfileOverrides: { payload: Prisma.$SymbolProfileOverridesPayload fields: Prisma.SymbolProfileOverridesFieldRefs operations: { findUnique: { args: Prisma.SymbolProfileOverridesFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SymbolProfileOverridesFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SymbolProfileOverridesFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SymbolProfileOverridesFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SymbolProfileOverridesFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SymbolProfileOverridesCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SymbolProfileOverridesCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SymbolProfileOverridesCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SymbolProfileOverridesDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SymbolProfileOverridesUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SymbolProfileOverridesDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SymbolProfileOverridesUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SymbolProfileOverridesUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SymbolProfileOverridesUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SymbolProfileOverridesAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SymbolProfileOverridesGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SymbolProfileOverridesCountArgs result: $Utils.Optional | number } } } Subscription: { payload: Prisma.$SubscriptionPayload fields: Prisma.SubscriptionFieldRefs operations: { findUnique: { args: Prisma.SubscriptionFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.SubscriptionFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.SubscriptionFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.SubscriptionFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.SubscriptionFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.SubscriptionCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.SubscriptionCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.SubscriptionCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.SubscriptionDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.SubscriptionUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.SubscriptionDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.SubscriptionUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.SubscriptionUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.SubscriptionUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.SubscriptionAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.SubscriptionGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.SubscriptionCountArgs result: $Utils.Optional | number } } } Tag: { payload: Prisma.$TagPayload fields: Prisma.TagFieldRefs operations: { findUnique: { args: Prisma.TagFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.TagFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.TagFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.TagFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.TagFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.TagCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.TagCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.TagCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.TagDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.TagUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.TagDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.TagUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.TagUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.TagUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.TagAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.TagGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.TagCountArgs result: $Utils.Optional | number } } } User: { payload: Prisma.$UserPayload fields: Prisma.UserFieldRefs operations: { findUnique: { args: Prisma.UserFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.UserFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.UserFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.UserFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.UserFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.UserCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.UserCreateManyArgs result: BatchPayload } createManyAndReturn: { args: Prisma.UserCreateManyAndReturnArgs result: $Utils.PayloadToResult[] } delete: { args: Prisma.UserDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.UserUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.UserDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.UserUpdateManyArgs result: BatchPayload } updateManyAndReturn: { args: Prisma.UserUpdateManyAndReturnArgs result: $Utils.PayloadToResult[] } upsert: { args: Prisma.UserUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.UserAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.UserGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.UserCountArgs result: $Utils.Optional | number } } } } } & { 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 * ``` * // Shorthand for `emit: 'stdout'` * log: ['query', 'info', 'warn', 'error'] * * // Emit as events only * log: [ * { emit: 'event', level: 'query' }, * { emit: 'event', level: 'info' }, * { emit: 'event', level: 'warn' } * { emit: 'event', level: 'error' } * ] * * / Emit as events and log to stdout * og: [ * { emit: 'stdout', level: 'query' }, * { emit: 'stdout', level: 'info' }, * { emit: 'stdout', level: 'warn' } * { emit: 'stdout', level: 'error' } * * ``` * Read more in our [docs](https://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 } /** * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale` */ adapter?: runtime.SqlDriverAdapterFactory | null /** * Global configuration for omitting model fields by default. * * @example * ``` * const prisma = new PrismaClient({ * omit: { * user: { * password: true * } * } * }) * ``` */ omit?: Prisma.GlobalOmitConfig } export type GlobalOmitConfig = { access?: AccessOmit account?: AccountOmit accountBalance?: AccountBalanceOmit analytics?: AnalyticsOmit apiKey?: ApiKeyOmit assetProfileResolution?: AssetProfileResolutionOmit authDevice?: AuthDeviceOmit marketData?: MarketDataOmit order?: OrderOmit platform?: PlatformOmit property?: PropertyOmit settings?: SettingsOmit symbolProfile?: SymbolProfileOmit symbolProfileOverrides?: SymbolProfileOverridesOmit subscription?: SubscriptionOmit tag?: TagOmit user?: UserOmit } /* Types for Logging */ export type LogLevel = 'info' | 'query' | 'warn' | 'error' export type LogDefinition = { level: LogLevel emit: 'stdout' | 'event' } export type CheckIsLogLevel = T extends LogLevel ? T : never; export type GetLogType = CheckIsLogLevel< T extends LogDefinition ? T['level'] : T >; export type GetEvents = T extends Array ? GetLogType : never; export type QueryEvent = { timestamp: Date query: string params: string duration: number target: string } export type LogEvent = { timestamp: Date message: string target: string } /* End Types for Logging */ export type PrismaAction = | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'executeRaw' | 'queryRaw' | 'aggregate' | 'count' | 'runCommandRaw' | 'findRaw' | 'groupBy' // tested in getLogLevel.test.ts export function getLogLevel(log: Array): LogLevel | undefined; /** * `PrismaClient` proxy available in interactive transactions. */ export type TransactionClient = Omit export type Datasource = { url?: string } /** * Count Types */ /** * Count Type AccountCountOutputType */ export type AccountCountOutputType = { activities: number balances: number } export type AccountCountOutputTypeSelect = { activities?: boolean | AccountCountOutputTypeCountActivitiesArgs balances?: boolean | AccountCountOutputTypeCountBalancesArgs } // Custom InputTypes /** * AccountCountOutputType without action */ export type AccountCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the AccountCountOutputType */ select?: AccountCountOutputTypeSelect | null } /** * AccountCountOutputType without action */ export type AccountCountOutputTypeCountActivitiesArgs = { where?: OrderWhereInput } /** * AccountCountOutputType without action */ export type AccountCountOutputTypeCountBalancesArgs = { where?: AccountBalanceWhereInput } /** * Count Type OrderCountOutputType */ export type OrderCountOutputType = { tags: number } export type OrderCountOutputTypeSelect = { tags?: boolean | OrderCountOutputTypeCountTagsArgs } // Custom InputTypes /** * OrderCountOutputType without action */ export type OrderCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the OrderCountOutputType */ select?: OrderCountOutputTypeSelect | null } /** * OrderCountOutputType without action */ export type OrderCountOutputTypeCountTagsArgs = { where?: TagWhereInput } /** * Count Type PlatformCountOutputType */ export type PlatformCountOutputType = { accounts: number } export type PlatformCountOutputTypeSelect = { accounts?: boolean | PlatformCountOutputTypeCountAccountsArgs } // Custom InputTypes /** * PlatformCountOutputType without action */ export type PlatformCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the PlatformCountOutputType */ select?: PlatformCountOutputTypeSelect | null } /** * PlatformCountOutputType without action */ export type PlatformCountOutputTypeCountAccountsArgs = { where?: AccountWhereInput } /** * Count Type SymbolProfileCountOutputType */ export type SymbolProfileCountOutputType = { activities: number watchedBy: number } export type SymbolProfileCountOutputTypeSelect = { activities?: boolean | SymbolProfileCountOutputTypeCountActivitiesArgs watchedBy?: boolean | SymbolProfileCountOutputTypeCountWatchedByArgs } // Custom InputTypes /** * SymbolProfileCountOutputType without action */ export type SymbolProfileCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the SymbolProfileCountOutputType */ select?: SymbolProfileCountOutputTypeSelect | null } /** * SymbolProfileCountOutputType without action */ export type SymbolProfileCountOutputTypeCountActivitiesArgs = { where?: OrderWhereInput } /** * SymbolProfileCountOutputType without action */ export type SymbolProfileCountOutputTypeCountWatchedByArgs = { where?: UserWhereInput } /** * Count Type TagCountOutputType */ export type TagCountOutputType = { activities: number } export type TagCountOutputTypeSelect = { activities?: boolean | TagCountOutputTypeCountActivitiesArgs } // Custom InputTypes /** * TagCountOutputType without action */ export type TagCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the TagCountOutputType */ select?: TagCountOutputTypeSelect | null } /** * TagCountOutputType without action */ export type TagCountOutputTypeCountActivitiesArgs = { where?: OrderWhereInput } /** * Count Type UserCountOutputType */ export type UserCountOutputType = { accessesGet: number accessesGive: number accounts: number activities: number apiKeys: number authDevices: number subscriptions: number tags: number watchlist: number SymbolProfile: number } export type UserCountOutputTypeSelect = { accessesGet?: boolean | UserCountOutputTypeCountAccessesGetArgs accessesGive?: boolean | UserCountOutputTypeCountAccessesGiveArgs accounts?: boolean | UserCountOutputTypeCountAccountsArgs activities?: boolean | UserCountOutputTypeCountActivitiesArgs apiKeys?: boolean | UserCountOutputTypeCountApiKeysArgs authDevices?: boolean | UserCountOutputTypeCountAuthDevicesArgs subscriptions?: boolean | UserCountOutputTypeCountSubscriptionsArgs tags?: boolean | UserCountOutputTypeCountTagsArgs watchlist?: boolean | UserCountOutputTypeCountWatchlistArgs SymbolProfile?: boolean | UserCountOutputTypeCountSymbolProfileArgs } // Custom InputTypes /** * UserCountOutputType without action */ export type UserCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the UserCountOutputType */ select?: UserCountOutputTypeSelect | null } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountAccessesGetArgs = { where?: AccessWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountAccessesGiveArgs = { where?: AccessWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountAccountsArgs = { where?: AccountWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountActivitiesArgs = { where?: OrderWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountApiKeysArgs = { where?: ApiKeyWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountAuthDevicesArgs = { where?: AuthDeviceWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountSubscriptionsArgs = { where?: SubscriptionWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountTagsArgs = { where?: TagWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountWatchlistArgs = { where?: SymbolProfileWhereInput } /** * UserCountOutputType without action */ export type UserCountOutputTypeCountSymbolProfileArgs = { where?: SymbolProfileWhereInput } /** * Models */ /** * Model Access */ export type AggregateAccess = { _count: AccessCountAggregateOutputType | null _min: AccessMinAggregateOutputType | null _max: AccessMaxAggregateOutputType | null } export type AccessMinAggregateOutputType = { alias: string | null createdAt: Date | null granteeUserId: string | null id: string | null updatedAt: Date | null userId: string | null } export type AccessMaxAggregateOutputType = { alias: string | null createdAt: Date | null granteeUserId: string | null id: string | null updatedAt: Date | null userId: string | null } export type AccessCountAggregateOutputType = { alias: number createdAt: number granteeUserId: number id: number permissions: number settings: number updatedAt: number userId: number _all: number } export type AccessMinAggregateInputType = { alias?: true createdAt?: true granteeUserId?: true id?: true updatedAt?: true userId?: true } export type AccessMaxAggregateInputType = { alias?: true createdAt?: true granteeUserId?: true id?: true updatedAt?: true userId?: true } export type AccessCountAggregateInputType = { alias?: true createdAt?: true granteeUserId?: true id?: true permissions?: true settings?: true updatedAt?: true userId?: true _all?: true } export type AccessAggregateArgs = { /** * Filter which Access to aggregate. */ where?: AccessWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accesses to fetch. */ orderBy?: AccessOrderByWithRelationInput | AccessOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AccessWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accesses from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Accesses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Accesses **/ _count?: true | AccessCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AccessMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AccessMaxAggregateInputType } export type GetAccessAggregateType = { [P in keyof T & keyof AggregateAccess]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AccessGroupByArgs = { where?: AccessWhereInput orderBy?: AccessOrderByWithAggregationInput | AccessOrderByWithAggregationInput[] by: AccessScalarFieldEnum[] | AccessScalarFieldEnum having?: AccessScalarWhereWithAggregatesInput take?: number skip?: number _count?: AccessCountAggregateInputType | true _min?: AccessMinAggregateInputType _max?: AccessMaxAggregateInputType } export type AccessGroupByOutputType = { alias: string | null createdAt: Date granteeUserId: string | null id: string permissions: $Enums.AccessPermission[] settings: JsonValue updatedAt: Date userId: string _count: AccessCountAggregateOutputType | null _min: AccessMinAggregateOutputType | null _max: AccessMaxAggregateOutputType | null } type GetAccessGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AccessGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AccessSelect = $Extensions.GetSelect<{ alias?: boolean createdAt?: boolean granteeUserId?: boolean id?: boolean permissions?: boolean settings?: boolean updatedAt?: boolean userId?: boolean granteeUser?: boolean | Access$granteeUserArgs user?: boolean | UserDefaultArgs }, ExtArgs["result"]["access"]> export type AccessSelectCreateManyAndReturn = $Extensions.GetSelect<{ alias?: boolean createdAt?: boolean granteeUserId?: boolean id?: boolean permissions?: boolean settings?: boolean updatedAt?: boolean userId?: boolean granteeUser?: boolean | Access$granteeUserArgs user?: boolean | UserDefaultArgs }, ExtArgs["result"]["access"]> export type AccessSelectUpdateManyAndReturn = $Extensions.GetSelect<{ alias?: boolean createdAt?: boolean granteeUserId?: boolean id?: boolean permissions?: boolean settings?: boolean updatedAt?: boolean userId?: boolean granteeUser?: boolean | Access$granteeUserArgs user?: boolean | UserDefaultArgs }, ExtArgs["result"]["access"]> export type AccessSelectScalar = { alias?: boolean createdAt?: boolean granteeUserId?: boolean id?: boolean permissions?: boolean settings?: boolean updatedAt?: boolean userId?: boolean } export type AccessOmit = $Extensions.GetOmit<"alias" | "createdAt" | "granteeUserId" | "id" | "permissions" | "settings" | "updatedAt" | "userId", ExtArgs["result"]["access"]> export type AccessInclude = { granteeUser?: boolean | Access$granteeUserArgs user?: boolean | UserDefaultArgs } export type AccessIncludeCreateManyAndReturn = { granteeUser?: boolean | Access$granteeUserArgs user?: boolean | UserDefaultArgs } export type AccessIncludeUpdateManyAndReturn = { granteeUser?: boolean | Access$granteeUserArgs user?: boolean | UserDefaultArgs } export type $AccessPayload = { name: "Access" objects: { granteeUser: Prisma.$UserPayload | null user: Prisma.$UserPayload } scalars: $Extensions.GetPayloadResult<{ alias: string | null createdAt: Date granteeUserId: string | null id: string permissions: $Enums.AccessPermission[] settings: Prisma.JsonValue updatedAt: Date userId: string }, ExtArgs["result"]["access"]> composites: {} } type AccessGetPayload = $Result.GetResult type AccessCountArgs = Omit & { select?: AccessCountAggregateInputType | true } export interface AccessDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Access'], meta: { name: 'Access' } } /** * Find zero or one Access that matches the filter. * @param {AccessFindUniqueArgs} args - Arguments to find a Access * @example * // Get one Access * const access = await prisma.access.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AccessClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Access that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AccessFindUniqueOrThrowArgs} args - Arguments to find a Access * @example * // Get one Access * const access = await prisma.access.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AccessClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Access 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 {AccessFindFirstArgs} args - Arguments to find a Access * @example * // Get one Access * const access = await prisma.access.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AccessClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Access 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 {AccessFindFirstOrThrowArgs} args - Arguments to find a Access * @example * // Get one Access * const access = await prisma.access.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AccessClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Accesses 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 {AccessFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Accesses * const accesses = await prisma.access.findMany() * * // Get first 10 Accesses * const accesses = await prisma.access.findMany({ take: 10 }) * * // Only select the `alias` * const accessWithAliasOnly = await prisma.access.findMany({ select: { alias: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Access. * @param {AccessCreateArgs} args - Arguments to create a Access. * @example * // Create one Access * const Access = await prisma.access.create({ * data: { * // ... data to create a Access * } * }) * */ create(args: SelectSubset>): Prisma__AccessClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Accesses. * @param {AccessCreateManyArgs} args - Arguments to create many Accesses. * @example * // Create many Accesses * const access = await prisma.access.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Accesses and returns the data saved in the database. * @param {AccessCreateManyAndReturnArgs} args - Arguments to create many Accesses. * @example * // Create many Accesses * const access = await prisma.access.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Accesses and only return the `alias` * const accessWithAliasOnly = await prisma.access.createManyAndReturn({ * select: { alias: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Access. * @param {AccessDeleteArgs} args - Arguments to delete one Access. * @example * // Delete one Access * const Access = await prisma.access.delete({ * where: { * // ... filter to delete one Access * } * }) * */ delete(args: SelectSubset>): Prisma__AccessClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Access. * @param {AccessUpdateArgs} args - Arguments to update one Access. * @example * // Update one Access * const access = await prisma.access.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AccessClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Accesses. * @param {AccessDeleteManyArgs} args - Arguments to filter Accesses to delete. * @example * // Delete a few Accesses * const { count } = await prisma.access.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Accesses. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccessUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Accesses * const access = await prisma.access.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Accesses and returns the data updated in the database. * @param {AccessUpdateManyAndReturnArgs} args - Arguments to update many Accesses. * @example * // Update many Accesses * const access = await prisma.access.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Accesses and only return the `alias` * const accessWithAliasOnly = await prisma.access.updateManyAndReturn({ * select: { alias: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Access. * @param {AccessUpsertArgs} args - Arguments to update or create a Access. * @example * // Update or create a Access * const access = await prisma.access.upsert({ * create: { * // ... data to create a Access * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Access we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AccessClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Accesses. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccessCountArgs} args - Arguments to filter Accesses to count. * @example * // Count the number of Accesses * const count = await prisma.access.count({ * where: { * // ... the filter for the Accesses we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Access. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccessAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Access. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccessGroupByArgs} 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 AccessGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AccessGroupByArgs['orderBy'] } : { orderBy?: AccessGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetAccessGroupByPayload : Prisma.PrismaPromise /** * Fields of the Access model */ readonly fields: AccessFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Access. * 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__AccessClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" granteeUser = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the Access model */ interface AccessFieldRefs { readonly alias: FieldRef<"Access", 'String'> readonly createdAt: FieldRef<"Access", 'DateTime'> readonly granteeUserId: FieldRef<"Access", 'String'> readonly id: FieldRef<"Access", 'String'> readonly permissions: FieldRef<"Access", 'AccessPermission[]'> readonly settings: FieldRef<"Access", 'Json'> readonly updatedAt: FieldRef<"Access", 'DateTime'> readonly userId: FieldRef<"Access", 'String'> } // Custom InputTypes /** * Access findUnique */ export type AccessFindUniqueArgs = { /** * Select specific fields to fetch from the Access */ select?: AccessSelect | null /** * Omit specific fields from the Access */ omit?: AccessOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccessInclude | null /** * Filter, which Access to fetch. */ where: AccessWhereUniqueInput } /** * Access findUniqueOrThrow */ export type AccessFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Access */ select?: AccessSelect | null /** * Omit specific fields from the Access */ omit?: AccessOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccessInclude | null /** * Filter, which Access to fetch. */ where: AccessWhereUniqueInput } /** * Access findFirst */ export type AccessFindFirstArgs = { /** * Select specific fields to fetch from the Access */ select?: AccessSelect | null /** * Omit specific fields from the Access */ omit?: AccessOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccessInclude | null /** * Filter, which Access to fetch. */ where?: AccessWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accesses to fetch. */ orderBy?: AccessOrderByWithRelationInput | AccessOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Accesses. */ cursor?: AccessWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accesses from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Accesses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Accesses. */ distinct?: AccessScalarFieldEnum | AccessScalarFieldEnum[] } /** * Access findFirstOrThrow */ export type AccessFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Access */ select?: AccessSelect | null /** * Omit specific fields from the Access */ omit?: AccessOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccessInclude | null /** * Filter, which Access to fetch. */ where?: AccessWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accesses to fetch. */ orderBy?: AccessOrderByWithRelationInput | AccessOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Accesses. */ cursor?: AccessWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accesses from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Accesses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Accesses. */ distinct?: AccessScalarFieldEnum | AccessScalarFieldEnum[] } /** * Access findMany */ export type AccessFindManyArgs = { /** * Select specific fields to fetch from the Access */ select?: AccessSelect | null /** * Omit specific fields from the Access */ omit?: AccessOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccessInclude | null /** * Filter, which Accesses to fetch. */ where?: AccessWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accesses to fetch. */ orderBy?: AccessOrderByWithRelationInput | AccessOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Accesses. */ cursor?: AccessWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accesses from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Accesses. */ skip?: number distinct?: AccessScalarFieldEnum | AccessScalarFieldEnum[] } /** * Access create */ export type AccessCreateArgs = { /** * Select specific fields to fetch from the Access */ select?: AccessSelect | null /** * Omit specific fields from the Access */ omit?: AccessOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccessInclude | null /** * The data needed to create a Access. */ data: XOR } /** * Access createMany */ export type AccessCreateManyArgs = { /** * The data used to create many Accesses. */ data: AccessCreateManyInput | AccessCreateManyInput[] skipDuplicates?: boolean } /** * Access createManyAndReturn */ export type AccessCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Access */ select?: AccessSelectCreateManyAndReturn | null /** * Omit specific fields from the Access */ omit?: AccessOmit | null /** * The data used to create many Accesses. */ data: AccessCreateManyInput | AccessCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: AccessIncludeCreateManyAndReturn | null } /** * Access update */ export type AccessUpdateArgs = { /** * Select specific fields to fetch from the Access */ select?: AccessSelect | null /** * Omit specific fields from the Access */ omit?: AccessOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccessInclude | null /** * The data needed to update a Access. */ data: XOR /** * Choose, which Access to update. */ where: AccessWhereUniqueInput } /** * Access updateMany */ export type AccessUpdateManyArgs = { /** * The data used to update Accesses. */ data: XOR /** * Filter which Accesses to update */ where?: AccessWhereInput /** * Limit how many Accesses to update. */ limit?: number } /** * Access updateManyAndReturn */ export type AccessUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Access */ select?: AccessSelectUpdateManyAndReturn | null /** * Omit specific fields from the Access */ omit?: AccessOmit | null /** * The data used to update Accesses. */ data: XOR /** * Filter which Accesses to update */ where?: AccessWhereInput /** * Limit how many Accesses to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: AccessIncludeUpdateManyAndReturn | null } /** * Access upsert */ export type AccessUpsertArgs = { /** * Select specific fields to fetch from the Access */ select?: AccessSelect | null /** * Omit specific fields from the Access */ omit?: AccessOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccessInclude | null /** * The filter to search for the Access to update in case it exists. */ where: AccessWhereUniqueInput /** * In case the Access found by the `where` argument doesn't exist, create a new Access with this data. */ create: XOR /** * In case the Access was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Access delete */ export type AccessDeleteArgs = { /** * Select specific fields to fetch from the Access */ select?: AccessSelect | null /** * Omit specific fields from the Access */ omit?: AccessOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccessInclude | null /** * Filter which Access to delete. */ where: AccessWhereUniqueInput } /** * Access deleteMany */ export type AccessDeleteManyArgs = { /** * Filter which Accesses to delete */ where?: AccessWhereInput /** * Limit how many Accesses to delete. */ limit?: number } /** * Access.granteeUser */ export type Access$granteeUserArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput } /** * Access without action */ export type AccessDefaultArgs = { /** * Select specific fields to fetch from the Access */ select?: AccessSelect | null /** * Omit specific fields from the Access */ omit?: AccessOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccessInclude | null } /** * Model Account */ export type AggregateAccount = { _count: AccountCountAggregateOutputType | null _avg: AccountAvgAggregateOutputType | null _sum: AccountSumAggregateOutputType | null _min: AccountMinAggregateOutputType | null _max: AccountMaxAggregateOutputType | null } export type AccountAvgAggregateOutputType = { balance: number | null } export type AccountSumAggregateOutputType = { balance: number | null } export type AccountMinAggregateOutputType = { balance: number | null comment: string | null createdAt: Date | null currency: string | null id: string | null isExcluded: boolean | null name: string | null platformId: string | null updatedAt: Date | null userId: string | null } export type AccountMaxAggregateOutputType = { balance: number | null comment: string | null createdAt: Date | null currency: string | null id: string | null isExcluded: boolean | null name: string | null platformId: string | null updatedAt: Date | null userId: string | null } export type AccountCountAggregateOutputType = { balance: number comment: number createdAt: number currency: number id: number isExcluded: number name: number platformId: number updatedAt: number userId: number _all: number } export type AccountAvgAggregateInputType = { balance?: true } export type AccountSumAggregateInputType = { balance?: true } export type AccountMinAggregateInputType = { balance?: true comment?: true createdAt?: true currency?: true id?: true isExcluded?: true name?: true platformId?: true updatedAt?: true userId?: true } export type AccountMaxAggregateInputType = { balance?: true comment?: true createdAt?: true currency?: true id?: true isExcluded?: true name?: true platformId?: true updatedAt?: true userId?: true } export type AccountCountAggregateInputType = { balance?: true comment?: true createdAt?: true currency?: true id?: true isExcluded?: true name?: true platformId?: true updatedAt?: true userId?: true _all?: true } export type AccountAggregateArgs = { /** * Filter which Account to aggregate. */ where?: AccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accounts to fetch. */ orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accounts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Accounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Accounts **/ _count?: true | AccountCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AccountAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AccountSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AccountMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AccountMaxAggregateInputType } export type GetAccountAggregateType = { [P in keyof T & keyof AggregateAccount]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AccountGroupByArgs = { where?: AccountWhereInput orderBy?: AccountOrderByWithAggregationInput | AccountOrderByWithAggregationInput[] by: AccountScalarFieldEnum[] | AccountScalarFieldEnum having?: AccountScalarWhereWithAggregatesInput take?: number skip?: number _count?: AccountCountAggregateInputType | true _avg?: AccountAvgAggregateInputType _sum?: AccountSumAggregateInputType _min?: AccountMinAggregateInputType _max?: AccountMaxAggregateInputType } export type AccountGroupByOutputType = { balance: number comment: string | null createdAt: Date currency: string | null id: string isExcluded: boolean name: string | null platformId: string | null updatedAt: Date userId: string _count: AccountCountAggregateOutputType | null _avg: AccountAvgAggregateOutputType | null _sum: AccountSumAggregateOutputType | null _min: AccountMinAggregateOutputType | null _max: AccountMaxAggregateOutputType | null } type GetAccountGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AccountGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AccountSelect = $Extensions.GetSelect<{ balance?: boolean comment?: boolean createdAt?: boolean currency?: boolean id?: boolean isExcluded?: boolean name?: boolean platformId?: boolean updatedAt?: boolean userId?: boolean activities?: boolean | Account$activitiesArgs balances?: boolean | Account$balancesArgs platform?: boolean | Account$platformArgs user?: boolean | UserDefaultArgs _count?: boolean | AccountCountOutputTypeDefaultArgs }, ExtArgs["result"]["account"]> export type AccountSelectCreateManyAndReturn = $Extensions.GetSelect<{ balance?: boolean comment?: boolean createdAt?: boolean currency?: boolean id?: boolean isExcluded?: boolean name?: boolean platformId?: boolean updatedAt?: boolean userId?: boolean platform?: boolean | Account$platformArgs user?: boolean | UserDefaultArgs }, ExtArgs["result"]["account"]> export type AccountSelectUpdateManyAndReturn = $Extensions.GetSelect<{ balance?: boolean comment?: boolean createdAt?: boolean currency?: boolean id?: boolean isExcluded?: boolean name?: boolean platformId?: boolean updatedAt?: boolean userId?: boolean platform?: boolean | Account$platformArgs user?: boolean | UserDefaultArgs }, ExtArgs["result"]["account"]> export type AccountSelectScalar = { balance?: boolean comment?: boolean createdAt?: boolean currency?: boolean id?: boolean isExcluded?: boolean name?: boolean platformId?: boolean updatedAt?: boolean userId?: boolean } export type AccountOmit = $Extensions.GetOmit<"balance" | "comment" | "createdAt" | "currency" | "id" | "isExcluded" | "name" | "platformId" | "updatedAt" | "userId", ExtArgs["result"]["account"]> export type AccountInclude = { activities?: boolean | Account$activitiesArgs balances?: boolean | Account$balancesArgs platform?: boolean | Account$platformArgs user?: boolean | UserDefaultArgs _count?: boolean | AccountCountOutputTypeDefaultArgs } export type AccountIncludeCreateManyAndReturn = { platform?: boolean | Account$platformArgs user?: boolean | UserDefaultArgs } export type AccountIncludeUpdateManyAndReturn = { platform?: boolean | Account$platformArgs user?: boolean | UserDefaultArgs } export type $AccountPayload = { name: "Account" objects: { activities: Prisma.$OrderPayload[] balances: Prisma.$AccountBalancePayload[] platform: Prisma.$PlatformPayload | null user: Prisma.$UserPayload } scalars: $Extensions.GetPayloadResult<{ balance: number comment: string | null createdAt: Date currency: string | null id: string isExcluded: boolean name: string | null platformId: string | null updatedAt: Date userId: string }, ExtArgs["result"]["account"]> composites: {} } type AccountGetPayload = $Result.GetResult type AccountCountArgs = Omit & { select?: AccountCountAggregateInputType | true } export interface AccountDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Account'], meta: { name: 'Account' } } /** * Find zero or one Account that matches the filter. * @param {AccountFindUniqueArgs} args - Arguments to find a Account * @example * // Get one Account * const account = await prisma.account.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Account that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AccountFindUniqueOrThrowArgs} args - Arguments to find a Account * @example * // Get one Account * const account = await prisma.account.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Account that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountFindFirstArgs} args - Arguments to find a Account * @example * // Get one Account * const account = await prisma.account.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Account that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountFindFirstOrThrowArgs} args - Arguments to find a Account * @example * // Get one Account * const account = await prisma.account.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Accounts that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Accounts * const accounts = await prisma.account.findMany() * * // Get first 10 Accounts * const accounts = await prisma.account.findMany({ take: 10 }) * * // Only select the `balance` * const accountWithBalanceOnly = await prisma.account.findMany({ select: { balance: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Account. * @param {AccountCreateArgs} args - Arguments to create a Account. * @example * // Create one Account * const Account = await prisma.account.create({ * data: { * // ... data to create a Account * } * }) * */ create(args: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Accounts. * @param {AccountCreateManyArgs} args - Arguments to create many Accounts. * @example * // Create many Accounts * const account = await prisma.account.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Accounts and returns the data saved in the database. * @param {AccountCreateManyAndReturnArgs} args - Arguments to create many Accounts. * @example * // Create many Accounts * const account = await prisma.account.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Accounts and only return the `balance` * const accountWithBalanceOnly = await prisma.account.createManyAndReturn({ * select: { balance: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Account. * @param {AccountDeleteArgs} args - Arguments to delete one Account. * @example * // Delete one Account * const Account = await prisma.account.delete({ * where: { * // ... filter to delete one Account * } * }) * */ delete(args: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Account. * @param {AccountUpdateArgs} args - Arguments to update one Account. * @example * // Update one Account * const account = await prisma.account.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Accounts. * @param {AccountDeleteManyArgs} args - Arguments to filter Accounts to delete. * @example * // Delete a few Accounts * const { count } = await prisma.account.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Accounts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Accounts * const account = await prisma.account.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Accounts and returns the data updated in the database. * @param {AccountUpdateManyAndReturnArgs} args - Arguments to update many Accounts. * @example * // Update many Accounts * const account = await prisma.account.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Accounts and only return the `balance` * const accountWithBalanceOnly = await prisma.account.updateManyAndReturn({ * select: { balance: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Account. * @param {AccountUpsertArgs} args - Arguments to update or create a Account. * @example * // Update or create a Account * const account = await prisma.account.upsert({ * create: { * // ... data to create a Account * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Account we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AccountClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Accounts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountCountArgs} args - Arguments to filter Accounts to count. * @example * // Count the number of Accounts * const count = await prisma.account.count({ * where: { * // ... the filter for the Accounts we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Account. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Account. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends AccountGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AccountGroupByArgs['orderBy'] } : { orderBy?: AccountGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetAccountGroupByPayload : Prisma.PrismaPromise /** * Fields of the Account model */ readonly fields: AccountFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Account. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__AccountClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" activities = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> balances = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> platform = {}>(args?: Subset>): Prisma__PlatformClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the Account model */ interface AccountFieldRefs { readonly balance: FieldRef<"Account", 'Float'> readonly comment: FieldRef<"Account", 'String'> readonly createdAt: FieldRef<"Account", 'DateTime'> readonly currency: FieldRef<"Account", 'String'> readonly id: FieldRef<"Account", 'String'> readonly isExcluded: FieldRef<"Account", 'Boolean'> readonly name: FieldRef<"Account", 'String'> readonly platformId: FieldRef<"Account", 'String'> readonly updatedAt: FieldRef<"Account", 'DateTime'> readonly userId: FieldRef<"Account", 'String'> } // Custom InputTypes /** * Account findUnique */ export type AccountFindUniqueArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * Filter, which Account to fetch. */ where: AccountWhereUniqueInput } /** * Account findUniqueOrThrow */ export type AccountFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * Filter, which Account to fetch. */ where: AccountWhereUniqueInput } /** * Account findFirst */ export type AccountFindFirstArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * Filter, which Account to fetch. */ where?: AccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accounts to fetch. */ orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Accounts. */ cursor?: AccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accounts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Accounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Accounts. */ distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[] } /** * Account findFirstOrThrow */ export type AccountFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * Filter, which Account to fetch. */ where?: AccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accounts to fetch. */ orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Accounts. */ cursor?: AccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accounts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Accounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Accounts. */ distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[] } /** * Account findMany */ export type AccountFindManyArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * Filter, which Accounts to fetch. */ where?: AccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accounts to fetch. */ orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Accounts. */ cursor?: AccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accounts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Accounts. */ skip?: number distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[] } /** * Account create */ export type AccountCreateArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * The data needed to create a Account. */ data: XOR } /** * Account createMany */ export type AccountCreateManyArgs = { /** * The data used to create many Accounts. */ data: AccountCreateManyInput | AccountCreateManyInput[] skipDuplicates?: boolean } /** * Account createManyAndReturn */ export type AccountCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelectCreateManyAndReturn | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * The data used to create many Accounts. */ data: AccountCreateManyInput | AccountCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: AccountIncludeCreateManyAndReturn | null } /** * Account update */ export type AccountUpdateArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * The data needed to update a Account. */ data: XOR /** * Choose, which Account to update. */ where: AccountWhereUniqueInput } /** * Account updateMany */ export type AccountUpdateManyArgs = { /** * The data used to update Accounts. */ data: XOR /** * Filter which Accounts to update */ where?: AccountWhereInput /** * Limit how many Accounts to update. */ limit?: number } /** * Account updateManyAndReturn */ export type AccountUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelectUpdateManyAndReturn | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * The data used to update Accounts. */ data: XOR /** * Filter which Accounts to update */ where?: AccountWhereInput /** * Limit how many Accounts to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: AccountIncludeUpdateManyAndReturn | null } /** * Account upsert */ export type AccountUpsertArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * The filter to search for the Account to update in case it exists. */ where: AccountWhereUniqueInput /** * In case the Account found by the `where` argument doesn't exist, create a new Account with this data. */ create: XOR /** * In case the Account was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Account delete */ export type AccountDeleteArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null /** * Filter which Account to delete. */ where: AccountWhereUniqueInput } /** * Account deleteMany */ export type AccountDeleteManyArgs = { /** * Filter which Accounts to delete */ where?: AccountWhereInput /** * Limit how many Accounts to delete. */ limit?: number } /** * Account.activities */ export type Account$activitiesArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelect | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrderInclude | null where?: OrderWhereInput orderBy?: OrderOrderByWithRelationInput | OrderOrderByWithRelationInput[] cursor?: OrderWhereUniqueInput take?: number skip?: number distinct?: OrderScalarFieldEnum | OrderScalarFieldEnum[] } /** * Account.balances */ export type Account$balancesArgs = { /** * Select specific fields to fetch from the AccountBalance */ select?: AccountBalanceSelect | null /** * Omit specific fields from the AccountBalance */ omit?: AccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountBalanceInclude | null where?: AccountBalanceWhereInput orderBy?: AccountBalanceOrderByWithRelationInput | AccountBalanceOrderByWithRelationInput[] cursor?: AccountBalanceWhereUniqueInput take?: number skip?: number distinct?: AccountBalanceScalarFieldEnum | AccountBalanceScalarFieldEnum[] } /** * Account.platform */ export type Account$platformArgs = { /** * Select specific fields to fetch from the Platform */ select?: PlatformSelect | null /** * Omit specific fields from the Platform */ omit?: PlatformOmit | null /** * Choose, which related nodes to fetch as well */ include?: PlatformInclude | null where?: PlatformWhereInput } /** * Account without action */ export type AccountDefaultArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null } /** * Model AccountBalance */ export type AggregateAccountBalance = { _count: AccountBalanceCountAggregateOutputType | null _avg: AccountBalanceAvgAggregateOutputType | null _sum: AccountBalanceSumAggregateOutputType | null _min: AccountBalanceMinAggregateOutputType | null _max: AccountBalanceMaxAggregateOutputType | null } export type AccountBalanceAvgAggregateOutputType = { value: number | null } export type AccountBalanceSumAggregateOutputType = { value: number | null } export type AccountBalanceMinAggregateOutputType = { accountId: string | null createdAt: Date | null date: Date | null id: string | null updatedAt: Date | null userId: string | null value: number | null } export type AccountBalanceMaxAggregateOutputType = { accountId: string | null createdAt: Date | null date: Date | null id: string | null updatedAt: Date | null userId: string | null value: number | null } export type AccountBalanceCountAggregateOutputType = { accountId: number createdAt: number date: number id: number updatedAt: number userId: number value: number _all: number } export type AccountBalanceAvgAggregateInputType = { value?: true } export type AccountBalanceSumAggregateInputType = { value?: true } export type AccountBalanceMinAggregateInputType = { accountId?: true createdAt?: true date?: true id?: true updatedAt?: true userId?: true value?: true } export type AccountBalanceMaxAggregateInputType = { accountId?: true createdAt?: true date?: true id?: true updatedAt?: true userId?: true value?: true } export type AccountBalanceCountAggregateInputType = { accountId?: true createdAt?: true date?: true id?: true updatedAt?: true userId?: true value?: true _all?: true } export type AccountBalanceAggregateArgs = { /** * Filter which AccountBalance to aggregate. */ where?: AccountBalanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AccountBalances to fetch. */ orderBy?: AccountBalanceOrderByWithRelationInput | AccountBalanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AccountBalanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AccountBalances from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AccountBalances. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AccountBalances **/ _count?: true | AccountBalanceCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AccountBalanceAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AccountBalanceSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AccountBalanceMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AccountBalanceMaxAggregateInputType } export type GetAccountBalanceAggregateType = { [P in keyof T & keyof AggregateAccountBalance]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AccountBalanceGroupByArgs = { where?: AccountBalanceWhereInput orderBy?: AccountBalanceOrderByWithAggregationInput | AccountBalanceOrderByWithAggregationInput[] by: AccountBalanceScalarFieldEnum[] | AccountBalanceScalarFieldEnum having?: AccountBalanceScalarWhereWithAggregatesInput take?: number skip?: number _count?: AccountBalanceCountAggregateInputType | true _avg?: AccountBalanceAvgAggregateInputType _sum?: AccountBalanceSumAggregateInputType _min?: AccountBalanceMinAggregateInputType _max?: AccountBalanceMaxAggregateInputType } export type AccountBalanceGroupByOutputType = { accountId: string createdAt: Date date: Date id: string updatedAt: Date userId: string value: number _count: AccountBalanceCountAggregateOutputType | null _avg: AccountBalanceAvgAggregateOutputType | null _sum: AccountBalanceSumAggregateOutputType | null _min: AccountBalanceMinAggregateOutputType | null _max: AccountBalanceMaxAggregateOutputType | null } type GetAccountBalanceGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AccountBalanceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AccountBalanceSelect = $Extensions.GetSelect<{ accountId?: boolean createdAt?: boolean date?: boolean id?: boolean updatedAt?: boolean userId?: boolean value?: boolean account?: boolean | AccountDefaultArgs }, ExtArgs["result"]["accountBalance"]> export type AccountBalanceSelectCreateManyAndReturn = $Extensions.GetSelect<{ accountId?: boolean createdAt?: boolean date?: boolean id?: boolean updatedAt?: boolean userId?: boolean value?: boolean account?: boolean | AccountDefaultArgs }, ExtArgs["result"]["accountBalance"]> export type AccountBalanceSelectUpdateManyAndReturn = $Extensions.GetSelect<{ accountId?: boolean createdAt?: boolean date?: boolean id?: boolean updatedAt?: boolean userId?: boolean value?: boolean account?: boolean | AccountDefaultArgs }, ExtArgs["result"]["accountBalance"]> export type AccountBalanceSelectScalar = { accountId?: boolean createdAt?: boolean date?: boolean id?: boolean updatedAt?: boolean userId?: boolean value?: boolean } export type AccountBalanceOmit = $Extensions.GetOmit<"accountId" | "createdAt" | "date" | "id" | "updatedAt" | "userId" | "value", ExtArgs["result"]["accountBalance"]> export type AccountBalanceInclude = { account?: boolean | AccountDefaultArgs } export type AccountBalanceIncludeCreateManyAndReturn = { account?: boolean | AccountDefaultArgs } export type AccountBalanceIncludeUpdateManyAndReturn = { account?: boolean | AccountDefaultArgs } export type $AccountBalancePayload = { name: "AccountBalance" objects: { account: Prisma.$AccountPayload } scalars: $Extensions.GetPayloadResult<{ accountId: string createdAt: Date date: Date id: string updatedAt: Date userId: string value: number }, ExtArgs["result"]["accountBalance"]> composites: {} } type AccountBalanceGetPayload = $Result.GetResult type AccountBalanceCountArgs = Omit & { select?: AccountBalanceCountAggregateInputType | true } export interface AccountBalanceDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AccountBalance'], meta: { name: 'AccountBalance' } } /** * Find zero or one AccountBalance that matches the filter. * @param {AccountBalanceFindUniqueArgs} args - Arguments to find a AccountBalance * @example * // Get one AccountBalance * const accountBalance = await prisma.accountBalance.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AccountBalanceClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AccountBalance that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AccountBalanceFindUniqueOrThrowArgs} args - Arguments to find a AccountBalance * @example * // Get one AccountBalance * const accountBalance = await prisma.accountBalance.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AccountBalanceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AccountBalance 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 {AccountBalanceFindFirstArgs} args - Arguments to find a AccountBalance * @example * // Get one AccountBalance * const accountBalance = await prisma.accountBalance.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AccountBalanceClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AccountBalance 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 {AccountBalanceFindFirstOrThrowArgs} args - Arguments to find a AccountBalance * @example * // Get one AccountBalance * const accountBalance = await prisma.accountBalance.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AccountBalanceClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AccountBalances 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 {AccountBalanceFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AccountBalances * const accountBalances = await prisma.accountBalance.findMany() * * // Get first 10 AccountBalances * const accountBalances = await prisma.accountBalance.findMany({ take: 10 }) * * // Only select the `accountId` * const accountBalanceWithAccountIdOnly = await prisma.accountBalance.findMany({ select: { accountId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AccountBalance. * @param {AccountBalanceCreateArgs} args - Arguments to create a AccountBalance. * @example * // Create one AccountBalance * const AccountBalance = await prisma.accountBalance.create({ * data: { * // ... data to create a AccountBalance * } * }) * */ create(args: SelectSubset>): Prisma__AccountBalanceClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AccountBalances. * @param {AccountBalanceCreateManyArgs} args - Arguments to create many AccountBalances. * @example * // Create many AccountBalances * const accountBalance = await prisma.accountBalance.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many AccountBalances and returns the data saved in the database. * @param {AccountBalanceCreateManyAndReturnArgs} args - Arguments to create many AccountBalances. * @example * // Create many AccountBalances * const accountBalance = await prisma.accountBalance.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AccountBalances and only return the `accountId` * const accountBalanceWithAccountIdOnly = await prisma.accountBalance.createManyAndReturn({ * select: { accountId: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a AccountBalance. * @param {AccountBalanceDeleteArgs} args - Arguments to delete one AccountBalance. * @example * // Delete one AccountBalance * const AccountBalance = await prisma.accountBalance.delete({ * where: { * // ... filter to delete one AccountBalance * } * }) * */ delete(args: SelectSubset>): Prisma__AccountBalanceClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AccountBalance. * @param {AccountBalanceUpdateArgs} args - Arguments to update one AccountBalance. * @example * // Update one AccountBalance * const accountBalance = await prisma.accountBalance.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AccountBalanceClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AccountBalances. * @param {AccountBalanceDeleteManyArgs} args - Arguments to filter AccountBalances to delete. * @example * // Delete a few AccountBalances * const { count } = await prisma.accountBalance.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AccountBalances. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountBalanceUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AccountBalances * const accountBalance = await prisma.accountBalance.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AccountBalances and returns the data updated in the database. * @param {AccountBalanceUpdateManyAndReturnArgs} args - Arguments to update many AccountBalances. * @example * // Update many AccountBalances * const accountBalance = await prisma.accountBalance.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AccountBalances and only return the `accountId` * const accountBalanceWithAccountIdOnly = await prisma.accountBalance.updateManyAndReturn({ * select: { accountId: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one AccountBalance. * @param {AccountBalanceUpsertArgs} args - Arguments to update or create a AccountBalance. * @example * // Update or create a AccountBalance * const accountBalance = await prisma.accountBalance.upsert({ * create: { * // ... data to create a AccountBalance * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AccountBalance we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AccountBalanceClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AccountBalances. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountBalanceCountArgs} args - Arguments to filter AccountBalances to count. * @example * // Count the number of AccountBalances * const count = await prisma.accountBalance.count({ * where: { * // ... the filter for the AccountBalances we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a AccountBalance. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountBalanceAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by AccountBalance. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountBalanceGroupByArgs} 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 AccountBalanceGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AccountBalanceGroupByArgs['orderBy'] } : { orderBy?: AccountBalanceGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetAccountBalanceGroupByPayload : Prisma.PrismaPromise /** * Fields of the AccountBalance model */ readonly fields: AccountBalanceFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AccountBalance. * 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__AccountBalanceClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" account = {}>(args?: Subset>): Prisma__AccountClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the AccountBalance model */ interface AccountBalanceFieldRefs { readonly accountId: FieldRef<"AccountBalance", 'String'> readonly createdAt: FieldRef<"AccountBalance", 'DateTime'> readonly date: FieldRef<"AccountBalance", 'DateTime'> readonly id: FieldRef<"AccountBalance", 'String'> readonly updatedAt: FieldRef<"AccountBalance", 'DateTime'> readonly userId: FieldRef<"AccountBalance", 'String'> readonly value: FieldRef<"AccountBalance", 'Float'> } // Custom InputTypes /** * AccountBalance findUnique */ export type AccountBalanceFindUniqueArgs = { /** * Select specific fields to fetch from the AccountBalance */ select?: AccountBalanceSelect | null /** * Omit specific fields from the AccountBalance */ omit?: AccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountBalanceInclude | null /** * Filter, which AccountBalance to fetch. */ where: AccountBalanceWhereUniqueInput } /** * AccountBalance findUniqueOrThrow */ export type AccountBalanceFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AccountBalance */ select?: AccountBalanceSelect | null /** * Omit specific fields from the AccountBalance */ omit?: AccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountBalanceInclude | null /** * Filter, which AccountBalance to fetch. */ where: AccountBalanceWhereUniqueInput } /** * AccountBalance findFirst */ export type AccountBalanceFindFirstArgs = { /** * Select specific fields to fetch from the AccountBalance */ select?: AccountBalanceSelect | null /** * Omit specific fields from the AccountBalance */ omit?: AccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountBalanceInclude | null /** * Filter, which AccountBalance to fetch. */ where?: AccountBalanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AccountBalances to fetch. */ orderBy?: AccountBalanceOrderByWithRelationInput | AccountBalanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AccountBalances. */ cursor?: AccountBalanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AccountBalances from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AccountBalances. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AccountBalances. */ distinct?: AccountBalanceScalarFieldEnum | AccountBalanceScalarFieldEnum[] } /** * AccountBalance findFirstOrThrow */ export type AccountBalanceFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AccountBalance */ select?: AccountBalanceSelect | null /** * Omit specific fields from the AccountBalance */ omit?: AccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountBalanceInclude | null /** * Filter, which AccountBalance to fetch. */ where?: AccountBalanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AccountBalances to fetch. */ orderBy?: AccountBalanceOrderByWithRelationInput | AccountBalanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AccountBalances. */ cursor?: AccountBalanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AccountBalances from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AccountBalances. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AccountBalances. */ distinct?: AccountBalanceScalarFieldEnum | AccountBalanceScalarFieldEnum[] } /** * AccountBalance findMany */ export type AccountBalanceFindManyArgs = { /** * Select specific fields to fetch from the AccountBalance */ select?: AccountBalanceSelect | null /** * Omit specific fields from the AccountBalance */ omit?: AccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountBalanceInclude | null /** * Filter, which AccountBalances to fetch. */ where?: AccountBalanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AccountBalances to fetch. */ orderBy?: AccountBalanceOrderByWithRelationInput | AccountBalanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AccountBalances. */ cursor?: AccountBalanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AccountBalances from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AccountBalances. */ skip?: number distinct?: AccountBalanceScalarFieldEnum | AccountBalanceScalarFieldEnum[] } /** * AccountBalance create */ export type AccountBalanceCreateArgs = { /** * Select specific fields to fetch from the AccountBalance */ select?: AccountBalanceSelect | null /** * Omit specific fields from the AccountBalance */ omit?: AccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountBalanceInclude | null /** * The data needed to create a AccountBalance. */ data: XOR } /** * AccountBalance createMany */ export type AccountBalanceCreateManyArgs = { /** * The data used to create many AccountBalances. */ data: AccountBalanceCreateManyInput | AccountBalanceCreateManyInput[] skipDuplicates?: boolean } /** * AccountBalance createManyAndReturn */ export type AccountBalanceCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AccountBalance */ select?: AccountBalanceSelectCreateManyAndReturn | null /** * Omit specific fields from the AccountBalance */ omit?: AccountBalanceOmit | null /** * The data used to create many AccountBalances. */ data: AccountBalanceCreateManyInput | AccountBalanceCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: AccountBalanceIncludeCreateManyAndReturn | null } /** * AccountBalance update */ export type AccountBalanceUpdateArgs = { /** * Select specific fields to fetch from the AccountBalance */ select?: AccountBalanceSelect | null /** * Omit specific fields from the AccountBalance */ omit?: AccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountBalanceInclude | null /** * The data needed to update a AccountBalance. */ data: XOR /** * Choose, which AccountBalance to update. */ where: AccountBalanceWhereUniqueInput } /** * AccountBalance updateMany */ export type AccountBalanceUpdateManyArgs = { /** * The data used to update AccountBalances. */ data: XOR /** * Filter which AccountBalances to update */ where?: AccountBalanceWhereInput /** * Limit how many AccountBalances to update. */ limit?: number } /** * AccountBalance updateManyAndReturn */ export type AccountBalanceUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AccountBalance */ select?: AccountBalanceSelectUpdateManyAndReturn | null /** * Omit specific fields from the AccountBalance */ omit?: AccountBalanceOmit | null /** * The data used to update AccountBalances. */ data: XOR /** * Filter which AccountBalances to update */ where?: AccountBalanceWhereInput /** * Limit how many AccountBalances to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: AccountBalanceIncludeUpdateManyAndReturn | null } /** * AccountBalance upsert */ export type AccountBalanceUpsertArgs = { /** * Select specific fields to fetch from the AccountBalance */ select?: AccountBalanceSelect | null /** * Omit specific fields from the AccountBalance */ omit?: AccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountBalanceInclude | null /** * The filter to search for the AccountBalance to update in case it exists. */ where: AccountBalanceWhereUniqueInput /** * In case the AccountBalance found by the `where` argument doesn't exist, create a new AccountBalance with this data. */ create: XOR /** * In case the AccountBalance was found with the provided `where` argument, update it with this data. */ update: XOR } /** * AccountBalance delete */ export type AccountBalanceDeleteArgs = { /** * Select specific fields to fetch from the AccountBalance */ select?: AccountBalanceSelect | null /** * Omit specific fields from the AccountBalance */ omit?: AccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountBalanceInclude | null /** * Filter which AccountBalance to delete. */ where: AccountBalanceWhereUniqueInput } /** * AccountBalance deleteMany */ export type AccountBalanceDeleteManyArgs = { /** * Filter which AccountBalances to delete */ where?: AccountBalanceWhereInput /** * Limit how many AccountBalances to delete. */ limit?: number } /** * AccountBalance without action */ export type AccountBalanceDefaultArgs = { /** * Select specific fields to fetch from the AccountBalance */ select?: AccountBalanceSelect | null /** * Omit specific fields from the AccountBalance */ omit?: AccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountBalanceInclude | null } /** * Model Analytics */ export type AggregateAnalytics = { _count: AnalyticsCountAggregateOutputType | null _avg: AnalyticsAvgAggregateOutputType | null _sum: AnalyticsSumAggregateOutputType | null _min: AnalyticsMinAggregateOutputType | null _max: AnalyticsMaxAggregateOutputType | null } export type AnalyticsAvgAggregateOutputType = { activityCount: number | null dataProviderGhostfolioDailyRequests: number | null } export type AnalyticsSumAggregateOutputType = { activityCount: number | null dataProviderGhostfolioDailyRequests: number | null } export type AnalyticsMinAggregateOutputType = { activityCount: number | null country: string | null dataProviderGhostfolioDailyRequests: number | null lastRequestAt: Date | null updatedAt: Date | null userId: string | null } export type AnalyticsMaxAggregateOutputType = { activityCount: number | null country: string | null dataProviderGhostfolioDailyRequests: number | null lastRequestAt: Date | null updatedAt: Date | null userId: string | null } export type AnalyticsCountAggregateOutputType = { activityCount: number country: number dataProviderGhostfolioDailyRequests: number lastRequestAt: number updatedAt: number userId: number _all: number } export type AnalyticsAvgAggregateInputType = { activityCount?: true dataProviderGhostfolioDailyRequests?: true } export type AnalyticsSumAggregateInputType = { activityCount?: true dataProviderGhostfolioDailyRequests?: true } export type AnalyticsMinAggregateInputType = { activityCount?: true country?: true dataProviderGhostfolioDailyRequests?: true lastRequestAt?: true updatedAt?: true userId?: true } export type AnalyticsMaxAggregateInputType = { activityCount?: true country?: true dataProviderGhostfolioDailyRequests?: true lastRequestAt?: true updatedAt?: true userId?: true } export type AnalyticsCountAggregateInputType = { activityCount?: true country?: true dataProviderGhostfolioDailyRequests?: true lastRequestAt?: true updatedAt?: true userId?: true _all?: true } export type AnalyticsAggregateArgs = { /** * Filter which Analytics to aggregate. */ where?: AnalyticsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Analytics to fetch. */ orderBy?: AnalyticsOrderByWithRelationInput | AnalyticsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AnalyticsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Analytics from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Analytics. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Analytics **/ _count?: true | AnalyticsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AnalyticsAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AnalyticsSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AnalyticsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AnalyticsMaxAggregateInputType } export type GetAnalyticsAggregateType = { [P in keyof T & keyof AggregateAnalytics]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AnalyticsGroupByArgs = { where?: AnalyticsWhereInput orderBy?: AnalyticsOrderByWithAggregationInput | AnalyticsOrderByWithAggregationInput[] by: AnalyticsScalarFieldEnum[] | AnalyticsScalarFieldEnum having?: AnalyticsScalarWhereWithAggregatesInput take?: number skip?: number _count?: AnalyticsCountAggregateInputType | true _avg?: AnalyticsAvgAggregateInputType _sum?: AnalyticsSumAggregateInputType _min?: AnalyticsMinAggregateInputType _max?: AnalyticsMaxAggregateInputType } export type AnalyticsGroupByOutputType = { activityCount: number country: string | null dataProviderGhostfolioDailyRequests: number lastRequestAt: Date updatedAt: Date userId: string _count: AnalyticsCountAggregateOutputType | null _avg: AnalyticsAvgAggregateOutputType | null _sum: AnalyticsSumAggregateOutputType | null _min: AnalyticsMinAggregateOutputType | null _max: AnalyticsMaxAggregateOutputType | null } type GetAnalyticsGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AnalyticsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AnalyticsSelect = $Extensions.GetSelect<{ activityCount?: boolean country?: boolean dataProviderGhostfolioDailyRequests?: boolean lastRequestAt?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["analytics"]> export type AnalyticsSelectCreateManyAndReturn = $Extensions.GetSelect<{ activityCount?: boolean country?: boolean dataProviderGhostfolioDailyRequests?: boolean lastRequestAt?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["analytics"]> export type AnalyticsSelectUpdateManyAndReturn = $Extensions.GetSelect<{ activityCount?: boolean country?: boolean dataProviderGhostfolioDailyRequests?: boolean lastRequestAt?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["analytics"]> export type AnalyticsSelectScalar = { activityCount?: boolean country?: boolean dataProviderGhostfolioDailyRequests?: boolean lastRequestAt?: boolean updatedAt?: boolean userId?: boolean } export type AnalyticsOmit = $Extensions.GetOmit<"activityCount" | "country" | "dataProviderGhostfolioDailyRequests" | "lastRequestAt" | "updatedAt" | "userId", ExtArgs["result"]["analytics"]> export type AnalyticsInclude = { user?: boolean | UserDefaultArgs } export type AnalyticsIncludeCreateManyAndReturn = { user?: boolean | UserDefaultArgs } export type AnalyticsIncludeUpdateManyAndReturn = { user?: boolean | UserDefaultArgs } export type $AnalyticsPayload = { name: "Analytics" objects: { user: Prisma.$UserPayload } scalars: $Extensions.GetPayloadResult<{ activityCount: number country: string | null dataProviderGhostfolioDailyRequests: number lastRequestAt: Date updatedAt: Date userId: string }, ExtArgs["result"]["analytics"]> composites: {} } type AnalyticsGetPayload = $Result.GetResult type AnalyticsCountArgs = Omit & { select?: AnalyticsCountAggregateInputType | true } export interface AnalyticsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Analytics'], meta: { name: 'Analytics' } } /** * Find zero or one Analytics that matches the filter. * @param {AnalyticsFindUniqueArgs} args - Arguments to find a Analytics * @example * // Get one Analytics * const analytics = await prisma.analytics.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AnalyticsClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Analytics that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AnalyticsFindUniqueOrThrowArgs} args - Arguments to find a Analytics * @example * // Get one Analytics * const analytics = await prisma.analytics.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AnalyticsClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Analytics 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 {AnalyticsFindFirstArgs} args - Arguments to find a Analytics * @example * // Get one Analytics * const analytics = await prisma.analytics.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AnalyticsClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Analytics 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 {AnalyticsFindFirstOrThrowArgs} args - Arguments to find a Analytics * @example * // Get one Analytics * const analytics = await prisma.analytics.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AnalyticsClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Analytics 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 {AnalyticsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Analytics * const analytics = await prisma.analytics.findMany() * * // Get first 10 Analytics * const analytics = await prisma.analytics.findMany({ take: 10 }) * * // Only select the `activityCount` * const analyticsWithActivityCountOnly = await prisma.analytics.findMany({ select: { activityCount: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Analytics. * @param {AnalyticsCreateArgs} args - Arguments to create a Analytics. * @example * // Create one Analytics * const Analytics = await prisma.analytics.create({ * data: { * // ... data to create a Analytics * } * }) * */ create(args: SelectSubset>): Prisma__AnalyticsClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Analytics. * @param {AnalyticsCreateManyArgs} args - Arguments to create many Analytics. * @example * // Create many Analytics * const analytics = await prisma.analytics.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Analytics and returns the data saved in the database. * @param {AnalyticsCreateManyAndReturnArgs} args - Arguments to create many Analytics. * @example * // Create many Analytics * const analytics = await prisma.analytics.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Analytics and only return the `activityCount` * const analyticsWithActivityCountOnly = await prisma.analytics.createManyAndReturn({ * select: { activityCount: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Analytics. * @param {AnalyticsDeleteArgs} args - Arguments to delete one Analytics. * @example * // Delete one Analytics * const Analytics = await prisma.analytics.delete({ * where: { * // ... filter to delete one Analytics * } * }) * */ delete(args: SelectSubset>): Prisma__AnalyticsClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Analytics. * @param {AnalyticsUpdateArgs} args - Arguments to update one Analytics. * @example * // Update one Analytics * const analytics = await prisma.analytics.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AnalyticsClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Analytics. * @param {AnalyticsDeleteManyArgs} args - Arguments to filter Analytics to delete. * @example * // Delete a few Analytics * const { count } = await prisma.analytics.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Analytics. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnalyticsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Analytics * const analytics = await prisma.analytics.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Analytics and returns the data updated in the database. * @param {AnalyticsUpdateManyAndReturnArgs} args - Arguments to update many Analytics. * @example * // Update many Analytics * const analytics = await prisma.analytics.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Analytics and only return the `activityCount` * const analyticsWithActivityCountOnly = await prisma.analytics.updateManyAndReturn({ * select: { activityCount: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Analytics. * @param {AnalyticsUpsertArgs} args - Arguments to update or create a Analytics. * @example * // Update or create a Analytics * const analytics = await prisma.analytics.upsert({ * create: { * // ... data to create a Analytics * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Analytics we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AnalyticsClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Analytics. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnalyticsCountArgs} args - Arguments to filter Analytics to count. * @example * // Count the number of Analytics * const count = await prisma.analytics.count({ * where: { * // ... the filter for the Analytics we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Analytics. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnalyticsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Analytics. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnalyticsGroupByArgs} 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 AnalyticsGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AnalyticsGroupByArgs['orderBy'] } : { orderBy?: AnalyticsGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetAnalyticsGroupByPayload : Prisma.PrismaPromise /** * Fields of the Analytics model */ readonly fields: AnalyticsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Analytics. * 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__AnalyticsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the Analytics model */ interface AnalyticsFieldRefs { readonly activityCount: FieldRef<"Analytics", 'Int'> readonly country: FieldRef<"Analytics", 'String'> readonly dataProviderGhostfolioDailyRequests: FieldRef<"Analytics", 'Int'> readonly lastRequestAt: FieldRef<"Analytics", 'DateTime'> readonly updatedAt: FieldRef<"Analytics", 'DateTime'> readonly userId: FieldRef<"Analytics", 'String'> } // Custom InputTypes /** * Analytics findUnique */ export type AnalyticsFindUniqueArgs = { /** * Select specific fields to fetch from the Analytics */ select?: AnalyticsSelect | null /** * Omit specific fields from the Analytics */ omit?: AnalyticsOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnalyticsInclude | null /** * Filter, which Analytics to fetch. */ where: AnalyticsWhereUniqueInput } /** * Analytics findUniqueOrThrow */ export type AnalyticsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Analytics */ select?: AnalyticsSelect | null /** * Omit specific fields from the Analytics */ omit?: AnalyticsOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnalyticsInclude | null /** * Filter, which Analytics to fetch. */ where: AnalyticsWhereUniqueInput } /** * Analytics findFirst */ export type AnalyticsFindFirstArgs = { /** * Select specific fields to fetch from the Analytics */ select?: AnalyticsSelect | null /** * Omit specific fields from the Analytics */ omit?: AnalyticsOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnalyticsInclude | null /** * Filter, which Analytics to fetch. */ where?: AnalyticsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Analytics to fetch. */ orderBy?: AnalyticsOrderByWithRelationInput | AnalyticsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Analytics. */ cursor?: AnalyticsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Analytics from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Analytics. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Analytics. */ distinct?: AnalyticsScalarFieldEnum | AnalyticsScalarFieldEnum[] } /** * Analytics findFirstOrThrow */ export type AnalyticsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Analytics */ select?: AnalyticsSelect | null /** * Omit specific fields from the Analytics */ omit?: AnalyticsOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnalyticsInclude | null /** * Filter, which Analytics to fetch. */ where?: AnalyticsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Analytics to fetch. */ orderBy?: AnalyticsOrderByWithRelationInput | AnalyticsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Analytics. */ cursor?: AnalyticsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Analytics from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Analytics. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Analytics. */ distinct?: AnalyticsScalarFieldEnum | AnalyticsScalarFieldEnum[] } /** * Analytics findMany */ export type AnalyticsFindManyArgs = { /** * Select specific fields to fetch from the Analytics */ select?: AnalyticsSelect | null /** * Omit specific fields from the Analytics */ omit?: AnalyticsOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnalyticsInclude | null /** * Filter, which Analytics to fetch. */ where?: AnalyticsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Analytics to fetch. */ orderBy?: AnalyticsOrderByWithRelationInput | AnalyticsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Analytics. */ cursor?: AnalyticsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Analytics from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Analytics. */ skip?: number distinct?: AnalyticsScalarFieldEnum | AnalyticsScalarFieldEnum[] } /** * Analytics create */ export type AnalyticsCreateArgs = { /** * Select specific fields to fetch from the Analytics */ select?: AnalyticsSelect | null /** * Omit specific fields from the Analytics */ omit?: AnalyticsOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnalyticsInclude | null /** * The data needed to create a Analytics. */ data: XOR } /** * Analytics createMany */ export type AnalyticsCreateManyArgs = { /** * The data used to create many Analytics. */ data: AnalyticsCreateManyInput | AnalyticsCreateManyInput[] skipDuplicates?: boolean } /** * Analytics createManyAndReturn */ export type AnalyticsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Analytics */ select?: AnalyticsSelectCreateManyAndReturn | null /** * Omit specific fields from the Analytics */ omit?: AnalyticsOmit | null /** * The data used to create many Analytics. */ data: AnalyticsCreateManyInput | AnalyticsCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: AnalyticsIncludeCreateManyAndReturn | null } /** * Analytics update */ export type AnalyticsUpdateArgs = { /** * Select specific fields to fetch from the Analytics */ select?: AnalyticsSelect | null /** * Omit specific fields from the Analytics */ omit?: AnalyticsOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnalyticsInclude | null /** * The data needed to update a Analytics. */ data: XOR /** * Choose, which Analytics to update. */ where: AnalyticsWhereUniqueInput } /** * Analytics updateMany */ export type AnalyticsUpdateManyArgs = { /** * The data used to update Analytics. */ data: XOR /** * Filter which Analytics to update */ where?: AnalyticsWhereInput /** * Limit how many Analytics to update. */ limit?: number } /** * Analytics updateManyAndReturn */ export type AnalyticsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Analytics */ select?: AnalyticsSelectUpdateManyAndReturn | null /** * Omit specific fields from the Analytics */ omit?: AnalyticsOmit | null /** * The data used to update Analytics. */ data: XOR /** * Filter which Analytics to update */ where?: AnalyticsWhereInput /** * Limit how many Analytics to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: AnalyticsIncludeUpdateManyAndReturn | null } /** * Analytics upsert */ export type AnalyticsUpsertArgs = { /** * Select specific fields to fetch from the Analytics */ select?: AnalyticsSelect | null /** * Omit specific fields from the Analytics */ omit?: AnalyticsOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnalyticsInclude | null /** * The filter to search for the Analytics to update in case it exists. */ where: AnalyticsWhereUniqueInput /** * In case the Analytics found by the `where` argument doesn't exist, create a new Analytics with this data. */ create: XOR /** * In case the Analytics was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Analytics delete */ export type AnalyticsDeleteArgs = { /** * Select specific fields to fetch from the Analytics */ select?: AnalyticsSelect | null /** * Omit specific fields from the Analytics */ omit?: AnalyticsOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnalyticsInclude | null /** * Filter which Analytics to delete. */ where: AnalyticsWhereUniqueInput } /** * Analytics deleteMany */ export type AnalyticsDeleteManyArgs = { /** * Filter which Analytics to delete */ where?: AnalyticsWhereInput /** * Limit how many Analytics to delete. */ limit?: number } /** * Analytics without action */ export type AnalyticsDefaultArgs = { /** * Select specific fields to fetch from the Analytics */ select?: AnalyticsSelect | null /** * Omit specific fields from the Analytics */ omit?: AnalyticsOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnalyticsInclude | null } /** * Model ApiKey */ export type AggregateApiKey = { _count: ApiKeyCountAggregateOutputType | null _min: ApiKeyMinAggregateOutputType | null _max: ApiKeyMaxAggregateOutputType | null } export type ApiKeyMinAggregateOutputType = { createdAt: Date | null hashedKey: string | null id: string | null updatedAt: Date | null userId: string | null } export type ApiKeyMaxAggregateOutputType = { createdAt: Date | null hashedKey: string | null id: string | null updatedAt: Date | null userId: string | null } export type ApiKeyCountAggregateOutputType = { createdAt: number hashedKey: number id: number updatedAt: number userId: number _all: number } export type ApiKeyMinAggregateInputType = { createdAt?: true hashedKey?: true id?: true updatedAt?: true userId?: true } export type ApiKeyMaxAggregateInputType = { createdAt?: true hashedKey?: true id?: true updatedAt?: true userId?: true } export type ApiKeyCountAggregateInputType = { createdAt?: true hashedKey?: true id?: true updatedAt?: true userId?: true _all?: true } export type ApiKeyAggregateArgs = { /** * Filter which ApiKey to aggregate. */ where?: ApiKeyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ApiKeys to fetch. */ orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: ApiKeyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ApiKeys from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` ApiKeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ApiKeys **/ _count?: true | ApiKeyCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ApiKeyMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ApiKeyMaxAggregateInputType } export type GetApiKeyAggregateType = { [P in keyof T & keyof AggregateApiKey]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type ApiKeyGroupByArgs = { where?: ApiKeyWhereInput orderBy?: ApiKeyOrderByWithAggregationInput | ApiKeyOrderByWithAggregationInput[] by: ApiKeyScalarFieldEnum[] | ApiKeyScalarFieldEnum having?: ApiKeyScalarWhereWithAggregatesInput take?: number skip?: number _count?: ApiKeyCountAggregateInputType | true _min?: ApiKeyMinAggregateInputType _max?: ApiKeyMaxAggregateInputType } export type ApiKeyGroupByOutputType = { createdAt: Date hashedKey: string id: string updatedAt: Date userId: string _count: ApiKeyCountAggregateOutputType | null _min: ApiKeyMinAggregateOutputType | null _max: ApiKeyMaxAggregateOutputType | null } type GetApiKeyGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof ApiKeyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type ApiKeySelect = $Extensions.GetSelect<{ createdAt?: boolean hashedKey?: boolean id?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["apiKey"]> export type ApiKeySelectCreateManyAndReturn = $Extensions.GetSelect<{ createdAt?: boolean hashedKey?: boolean id?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["apiKey"]> export type ApiKeySelectUpdateManyAndReturn = $Extensions.GetSelect<{ createdAt?: boolean hashedKey?: boolean id?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["apiKey"]> export type ApiKeySelectScalar = { createdAt?: boolean hashedKey?: boolean id?: boolean updatedAt?: boolean userId?: boolean } export type ApiKeyOmit = $Extensions.GetOmit<"createdAt" | "hashedKey" | "id" | "updatedAt" | "userId", ExtArgs["result"]["apiKey"]> export type ApiKeyInclude = { user?: boolean | UserDefaultArgs } export type ApiKeyIncludeCreateManyAndReturn = { user?: boolean | UserDefaultArgs } export type ApiKeyIncludeUpdateManyAndReturn = { user?: boolean | UserDefaultArgs } export type $ApiKeyPayload = { name: "ApiKey" objects: { user: Prisma.$UserPayload } scalars: $Extensions.GetPayloadResult<{ createdAt: Date hashedKey: string id: string updatedAt: Date userId: string }, ExtArgs["result"]["apiKey"]> composites: {} } type ApiKeyGetPayload = $Result.GetResult type ApiKeyCountArgs = Omit & { select?: ApiKeyCountAggregateInputType | true } export interface ApiKeyDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ApiKey'], meta: { name: 'ApiKey' } } /** * Find zero or one ApiKey that matches the filter. * @param {ApiKeyFindUniqueArgs} args - Arguments to find a ApiKey * @example * // Get one ApiKey * const apiKey = await prisma.apiKey.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ApiKey that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ApiKeyFindUniqueOrThrowArgs} args - Arguments to find a ApiKey * @example * // Get one ApiKey * const apiKey = await prisma.apiKey.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ApiKey that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyFindFirstArgs} args - Arguments to find a ApiKey * @example * // Get one ApiKey * const apiKey = await prisma.apiKey.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ApiKey that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyFindFirstOrThrowArgs} args - Arguments to find a ApiKey * @example * // Get one ApiKey * const apiKey = await prisma.apiKey.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ApiKeys that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ApiKeys * const apiKeys = await prisma.apiKey.findMany() * * // Get first 10 ApiKeys * const apiKeys = await prisma.apiKey.findMany({ take: 10 }) * * // Only select the `createdAt` * const apiKeyWithCreatedAtOnly = await prisma.apiKey.findMany({ select: { createdAt: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a ApiKey. * @param {ApiKeyCreateArgs} args - Arguments to create a ApiKey. * @example * // Create one ApiKey * const ApiKey = await prisma.apiKey.create({ * data: { * // ... data to create a ApiKey * } * }) * */ create(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ApiKeys. * @param {ApiKeyCreateManyArgs} args - Arguments to create many ApiKeys. * @example * // Create many ApiKeys * const apiKey = await prisma.apiKey.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many ApiKeys and returns the data saved in the database. * @param {ApiKeyCreateManyAndReturnArgs} args - Arguments to create many ApiKeys. * @example * // Create many ApiKeys * const apiKey = await prisma.apiKey.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ApiKeys and only return the `createdAt` * const apiKeyWithCreatedAtOnly = await prisma.apiKey.createManyAndReturn({ * select: { createdAt: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a ApiKey. * @param {ApiKeyDeleteArgs} args - Arguments to delete one ApiKey. * @example * // Delete one ApiKey * const ApiKey = await prisma.apiKey.delete({ * where: { * // ... filter to delete one ApiKey * } * }) * */ delete(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ApiKey. * @param {ApiKeyUpdateArgs} args - Arguments to update one ApiKey. * @example * // Update one ApiKey * const apiKey = await prisma.apiKey.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ApiKeys. * @param {ApiKeyDeleteManyArgs} args - Arguments to filter ApiKeys to delete. * @example * // Delete a few ApiKeys * const { count } = await prisma.apiKey.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ApiKeys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ApiKeys * const apiKey = await prisma.apiKey.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ApiKeys and returns the data updated in the database. * @param {ApiKeyUpdateManyAndReturnArgs} args - Arguments to update many ApiKeys. * @example * // Update many ApiKeys * const apiKey = await prisma.apiKey.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ApiKeys and only return the `createdAt` * const apiKeyWithCreatedAtOnly = await prisma.apiKey.updateManyAndReturn({ * select: { createdAt: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one ApiKey. * @param {ApiKeyUpsertArgs} args - Arguments to update or create a ApiKey. * @example * // Update or create a ApiKey * const apiKey = await prisma.apiKey.upsert({ * create: { * // ... data to create a ApiKey * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ApiKey we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__ApiKeyClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ApiKeys. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyCountArgs} args - Arguments to filter ApiKeys to count. * @example * // Count the number of ApiKeys * const count = await prisma.apiKey.count({ * where: { * // ... the filter for the ApiKeys we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a ApiKey. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by ApiKey. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ApiKeyGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends ApiKeyGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: ApiKeyGroupByArgs['orderBy'] } : { orderBy?: ApiKeyGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetApiKeyGroupByPayload : Prisma.PrismaPromise /** * Fields of the ApiKey model */ readonly fields: ApiKeyFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ApiKey. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__ApiKeyClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the ApiKey model */ interface ApiKeyFieldRefs { readonly createdAt: FieldRef<"ApiKey", 'DateTime'> readonly hashedKey: FieldRef<"ApiKey", 'String'> readonly id: FieldRef<"ApiKey", 'String'> readonly updatedAt: FieldRef<"ApiKey", 'DateTime'> readonly userId: FieldRef<"ApiKey", 'String'> } // Custom InputTypes /** * ApiKey findUnique */ export type ApiKeyFindUniqueArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKey to fetch. */ where: ApiKeyWhereUniqueInput } /** * ApiKey findUniqueOrThrow */ export type ApiKeyFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKey to fetch. */ where: ApiKeyWhereUniqueInput } /** * ApiKey findFirst */ export type ApiKeyFindFirstArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKey to fetch. */ where?: ApiKeyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ApiKeys to fetch. */ orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ApiKeys. */ cursor?: ApiKeyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ApiKeys from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` ApiKeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ApiKeys. */ distinct?: ApiKeyScalarFieldEnum | ApiKeyScalarFieldEnum[] } /** * ApiKey findFirstOrThrow */ export type ApiKeyFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKey to fetch. */ where?: ApiKeyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ApiKeys to fetch. */ orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ApiKeys. */ cursor?: ApiKeyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ApiKeys from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` ApiKeys. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ApiKeys. */ distinct?: ApiKeyScalarFieldEnum | ApiKeyScalarFieldEnum[] } /** * ApiKey findMany */ export type ApiKeyFindManyArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter, which ApiKeys to fetch. */ where?: ApiKeyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ApiKeys to fetch. */ orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ApiKeys. */ cursor?: ApiKeyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ApiKeys from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` ApiKeys. */ skip?: number distinct?: ApiKeyScalarFieldEnum | ApiKeyScalarFieldEnum[] } /** * ApiKey create */ export type ApiKeyCreateArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * The data needed to create a ApiKey. */ data: XOR } /** * ApiKey createMany */ export type ApiKeyCreateManyArgs = { /** * The data used to create many ApiKeys. */ data: ApiKeyCreateManyInput | ApiKeyCreateManyInput[] skipDuplicates?: boolean } /** * ApiKey createManyAndReturn */ export type ApiKeyCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelectCreateManyAndReturn | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * The data used to create many ApiKeys. */ data: ApiKeyCreateManyInput | ApiKeyCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: ApiKeyIncludeCreateManyAndReturn | null } /** * ApiKey update */ export type ApiKeyUpdateArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * The data needed to update a ApiKey. */ data: XOR /** * Choose, which ApiKey to update. */ where: ApiKeyWhereUniqueInput } /** * ApiKey updateMany */ export type ApiKeyUpdateManyArgs = { /** * The data used to update ApiKeys. */ data: XOR /** * Filter which ApiKeys to update */ where?: ApiKeyWhereInput /** * Limit how many ApiKeys to update. */ limit?: number } /** * ApiKey updateManyAndReturn */ export type ApiKeyUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelectUpdateManyAndReturn | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * The data used to update ApiKeys. */ data: XOR /** * Filter which ApiKeys to update */ where?: ApiKeyWhereInput /** * Limit how many ApiKeys to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: ApiKeyIncludeUpdateManyAndReturn | null } /** * ApiKey upsert */ export type ApiKeyUpsertArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * The filter to search for the ApiKey to update in case it exists. */ where: ApiKeyWhereUniqueInput /** * In case the ApiKey found by the `where` argument doesn't exist, create a new ApiKey with this data. */ create: XOR /** * In case the ApiKey was found with the provided `where` argument, update it with this data. */ update: XOR } /** * ApiKey delete */ export type ApiKeyDeleteArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null /** * Filter which ApiKey to delete. */ where: ApiKeyWhereUniqueInput } /** * ApiKey deleteMany */ export type ApiKeyDeleteManyArgs = { /** * Filter which ApiKeys to delete */ where?: ApiKeyWhereInput /** * Limit how many ApiKeys to delete. */ limit?: number } /** * ApiKey without action */ export type ApiKeyDefaultArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null } /** * Model AssetProfileResolution */ export type AggregateAssetProfileResolution = { _count: AssetProfileResolutionCountAggregateOutputType | null _avg: AssetProfileResolutionAvgAggregateOutputType | null _sum: AssetProfileResolutionSumAggregateOutputType | null _min: AssetProfileResolutionMinAggregateOutputType | null _max: AssetProfileResolutionMaxAggregateOutputType | null } export type AssetProfileResolutionAvgAggregateOutputType = { requestCount: number | null } export type AssetProfileResolutionSumAggregateOutputType = { requestCount: number | null } export type AssetProfileResolutionMinAggregateOutputType = { createdAt: Date | null currency: string | null dataSourceOrigin: $Enums.DataSource | null dataSourceTarget: $Enums.DataSource | null id: string | null requestCount: number | null symbolOrigin: string | null symbolTarget: string | null updatedAt: Date | null } export type AssetProfileResolutionMaxAggregateOutputType = { createdAt: Date | null currency: string | null dataSourceOrigin: $Enums.DataSource | null dataSourceTarget: $Enums.DataSource | null id: string | null requestCount: number | null symbolOrigin: string | null symbolTarget: string | null updatedAt: Date | null } export type AssetProfileResolutionCountAggregateOutputType = { createdAt: number currency: number dataSourceOrigin: number dataSourceTarget: number id: number requestCount: number symbolOrigin: number symbolTarget: number updatedAt: number _all: number } export type AssetProfileResolutionAvgAggregateInputType = { requestCount?: true } export type AssetProfileResolutionSumAggregateInputType = { requestCount?: true } export type AssetProfileResolutionMinAggregateInputType = { createdAt?: true currency?: true dataSourceOrigin?: true dataSourceTarget?: true id?: true requestCount?: true symbolOrigin?: true symbolTarget?: true updatedAt?: true } export type AssetProfileResolutionMaxAggregateInputType = { createdAt?: true currency?: true dataSourceOrigin?: true dataSourceTarget?: true id?: true requestCount?: true symbolOrigin?: true symbolTarget?: true updatedAt?: true } export type AssetProfileResolutionCountAggregateInputType = { createdAt?: true currency?: true dataSourceOrigin?: true dataSourceTarget?: true id?: true requestCount?: true symbolOrigin?: true symbolTarget?: true updatedAt?: true _all?: true } export type AssetProfileResolutionAggregateArgs = { /** * Filter which AssetProfileResolution to aggregate. */ where?: AssetProfileResolutionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AssetProfileResolutions to fetch. */ orderBy?: AssetProfileResolutionOrderByWithRelationInput | AssetProfileResolutionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AssetProfileResolutionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AssetProfileResolutions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AssetProfileResolutions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AssetProfileResolutions **/ _count?: true | AssetProfileResolutionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AssetProfileResolutionAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AssetProfileResolutionSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AssetProfileResolutionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AssetProfileResolutionMaxAggregateInputType } export type GetAssetProfileResolutionAggregateType = { [P in keyof T & keyof AggregateAssetProfileResolution]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AssetProfileResolutionGroupByArgs = { where?: AssetProfileResolutionWhereInput orderBy?: AssetProfileResolutionOrderByWithAggregationInput | AssetProfileResolutionOrderByWithAggregationInput[] by: AssetProfileResolutionScalarFieldEnum[] | AssetProfileResolutionScalarFieldEnum having?: AssetProfileResolutionScalarWhereWithAggregatesInput take?: number skip?: number _count?: AssetProfileResolutionCountAggregateInputType | true _avg?: AssetProfileResolutionAvgAggregateInputType _sum?: AssetProfileResolutionSumAggregateInputType _min?: AssetProfileResolutionMinAggregateInputType _max?: AssetProfileResolutionMaxAggregateInputType } export type AssetProfileResolutionGroupByOutputType = { createdAt: Date currency: string dataSourceOrigin: $Enums.DataSource dataSourceTarget: $Enums.DataSource id: string requestCount: number symbolOrigin: string symbolTarget: string updatedAt: Date _count: AssetProfileResolutionCountAggregateOutputType | null _avg: AssetProfileResolutionAvgAggregateOutputType | null _sum: AssetProfileResolutionSumAggregateOutputType | null _min: AssetProfileResolutionMinAggregateOutputType | null _max: AssetProfileResolutionMaxAggregateOutputType | null } type GetAssetProfileResolutionGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AssetProfileResolutionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AssetProfileResolutionSelect = $Extensions.GetSelect<{ createdAt?: boolean currency?: boolean dataSourceOrigin?: boolean dataSourceTarget?: boolean id?: boolean requestCount?: boolean symbolOrigin?: boolean symbolTarget?: boolean updatedAt?: boolean }, ExtArgs["result"]["assetProfileResolution"]> export type AssetProfileResolutionSelectCreateManyAndReturn = $Extensions.GetSelect<{ createdAt?: boolean currency?: boolean dataSourceOrigin?: boolean dataSourceTarget?: boolean id?: boolean requestCount?: boolean symbolOrigin?: boolean symbolTarget?: boolean updatedAt?: boolean }, ExtArgs["result"]["assetProfileResolution"]> export type AssetProfileResolutionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ createdAt?: boolean currency?: boolean dataSourceOrigin?: boolean dataSourceTarget?: boolean id?: boolean requestCount?: boolean symbolOrigin?: boolean symbolTarget?: boolean updatedAt?: boolean }, ExtArgs["result"]["assetProfileResolution"]> export type AssetProfileResolutionSelectScalar = { createdAt?: boolean currency?: boolean dataSourceOrigin?: boolean dataSourceTarget?: boolean id?: boolean requestCount?: boolean symbolOrigin?: boolean symbolTarget?: boolean updatedAt?: boolean } export type AssetProfileResolutionOmit = $Extensions.GetOmit<"createdAt" | "currency" | "dataSourceOrigin" | "dataSourceTarget" | "id" | "requestCount" | "symbolOrigin" | "symbolTarget" | "updatedAt", ExtArgs["result"]["assetProfileResolution"]> export type $AssetProfileResolutionPayload = { name: "AssetProfileResolution" objects: {} scalars: $Extensions.GetPayloadResult<{ createdAt: Date currency: string dataSourceOrigin: $Enums.DataSource dataSourceTarget: $Enums.DataSource id: string requestCount: number symbolOrigin: string symbolTarget: string updatedAt: Date }, ExtArgs["result"]["assetProfileResolution"]> composites: {} } type AssetProfileResolutionGetPayload = $Result.GetResult type AssetProfileResolutionCountArgs = Omit & { select?: AssetProfileResolutionCountAggregateInputType | true } export interface AssetProfileResolutionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AssetProfileResolution'], meta: { name: 'AssetProfileResolution' } } /** * Find zero or one AssetProfileResolution that matches the filter. * @param {AssetProfileResolutionFindUniqueArgs} args - Arguments to find a AssetProfileResolution * @example * // Get one AssetProfileResolution * const assetProfileResolution = await prisma.assetProfileResolution.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AssetProfileResolutionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AssetProfileResolution that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AssetProfileResolutionFindUniqueOrThrowArgs} args - Arguments to find a AssetProfileResolution * @example * // Get one AssetProfileResolution * const assetProfileResolution = await prisma.assetProfileResolution.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AssetProfileResolutionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AssetProfileResolution 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 {AssetProfileResolutionFindFirstArgs} args - Arguments to find a AssetProfileResolution * @example * // Get one AssetProfileResolution * const assetProfileResolution = await prisma.assetProfileResolution.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AssetProfileResolutionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AssetProfileResolution 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 {AssetProfileResolutionFindFirstOrThrowArgs} args - Arguments to find a AssetProfileResolution * @example * // Get one AssetProfileResolution * const assetProfileResolution = await prisma.assetProfileResolution.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AssetProfileResolutionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AssetProfileResolutions 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 {AssetProfileResolutionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AssetProfileResolutions * const assetProfileResolutions = await prisma.assetProfileResolution.findMany() * * // Get first 10 AssetProfileResolutions * const assetProfileResolutions = await prisma.assetProfileResolution.findMany({ take: 10 }) * * // Only select the `createdAt` * const assetProfileResolutionWithCreatedAtOnly = await prisma.assetProfileResolution.findMany({ select: { createdAt: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AssetProfileResolution. * @param {AssetProfileResolutionCreateArgs} args - Arguments to create a AssetProfileResolution. * @example * // Create one AssetProfileResolution * const AssetProfileResolution = await prisma.assetProfileResolution.create({ * data: { * // ... data to create a AssetProfileResolution * } * }) * */ create(args: SelectSubset>): Prisma__AssetProfileResolutionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AssetProfileResolutions. * @param {AssetProfileResolutionCreateManyArgs} args - Arguments to create many AssetProfileResolutions. * @example * // Create many AssetProfileResolutions * const assetProfileResolution = await prisma.assetProfileResolution.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many AssetProfileResolutions and returns the data saved in the database. * @param {AssetProfileResolutionCreateManyAndReturnArgs} args - Arguments to create many AssetProfileResolutions. * @example * // Create many AssetProfileResolutions * const assetProfileResolution = await prisma.assetProfileResolution.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AssetProfileResolutions and only return the `createdAt` * const assetProfileResolutionWithCreatedAtOnly = await prisma.assetProfileResolution.createManyAndReturn({ * select: { createdAt: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a AssetProfileResolution. * @param {AssetProfileResolutionDeleteArgs} args - Arguments to delete one AssetProfileResolution. * @example * // Delete one AssetProfileResolution * const AssetProfileResolution = await prisma.assetProfileResolution.delete({ * where: { * // ... filter to delete one AssetProfileResolution * } * }) * */ delete(args: SelectSubset>): Prisma__AssetProfileResolutionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AssetProfileResolution. * @param {AssetProfileResolutionUpdateArgs} args - Arguments to update one AssetProfileResolution. * @example * // Update one AssetProfileResolution * const assetProfileResolution = await prisma.assetProfileResolution.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AssetProfileResolutionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AssetProfileResolutions. * @param {AssetProfileResolutionDeleteManyArgs} args - Arguments to filter AssetProfileResolutions to delete. * @example * // Delete a few AssetProfileResolutions * const { count } = await prisma.assetProfileResolution.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AssetProfileResolutions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AssetProfileResolutionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AssetProfileResolutions * const assetProfileResolution = await prisma.assetProfileResolution.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AssetProfileResolutions and returns the data updated in the database. * @param {AssetProfileResolutionUpdateManyAndReturnArgs} args - Arguments to update many AssetProfileResolutions. * @example * // Update many AssetProfileResolutions * const assetProfileResolution = await prisma.assetProfileResolution.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AssetProfileResolutions and only return the `createdAt` * const assetProfileResolutionWithCreatedAtOnly = await prisma.assetProfileResolution.updateManyAndReturn({ * select: { createdAt: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one AssetProfileResolution. * @param {AssetProfileResolutionUpsertArgs} args - Arguments to update or create a AssetProfileResolution. * @example * // Update or create a AssetProfileResolution * const assetProfileResolution = await prisma.assetProfileResolution.upsert({ * create: { * // ... data to create a AssetProfileResolution * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AssetProfileResolution we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AssetProfileResolutionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AssetProfileResolutions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AssetProfileResolutionCountArgs} args - Arguments to filter AssetProfileResolutions to count. * @example * // Count the number of AssetProfileResolutions * const count = await prisma.assetProfileResolution.count({ * where: { * // ... the filter for the AssetProfileResolutions we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a AssetProfileResolution. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AssetProfileResolutionAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by AssetProfileResolution. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AssetProfileResolutionGroupByArgs} 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 AssetProfileResolutionGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AssetProfileResolutionGroupByArgs['orderBy'] } : { orderBy?: AssetProfileResolutionGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetAssetProfileResolutionGroupByPayload : Prisma.PrismaPromise /** * Fields of the AssetProfileResolution model */ readonly fields: AssetProfileResolutionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AssetProfileResolution. * 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__AssetProfileResolutionClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the AssetProfileResolution model */ interface AssetProfileResolutionFieldRefs { readonly createdAt: FieldRef<"AssetProfileResolution", 'DateTime'> readonly currency: FieldRef<"AssetProfileResolution", 'String'> readonly dataSourceOrigin: FieldRef<"AssetProfileResolution", 'DataSource'> readonly dataSourceTarget: FieldRef<"AssetProfileResolution", 'DataSource'> readonly id: FieldRef<"AssetProfileResolution", 'String'> readonly requestCount: FieldRef<"AssetProfileResolution", 'Int'> readonly symbolOrigin: FieldRef<"AssetProfileResolution", 'String'> readonly symbolTarget: FieldRef<"AssetProfileResolution", 'String'> readonly updatedAt: FieldRef<"AssetProfileResolution", 'DateTime'> } // Custom InputTypes /** * AssetProfileResolution findUnique */ export type AssetProfileResolutionFindUniqueArgs = { /** * Select specific fields to fetch from the AssetProfileResolution */ select?: AssetProfileResolutionSelect | null /** * Omit specific fields from the AssetProfileResolution */ omit?: AssetProfileResolutionOmit | null /** * Filter, which AssetProfileResolution to fetch. */ where: AssetProfileResolutionWhereUniqueInput } /** * AssetProfileResolution findUniqueOrThrow */ export type AssetProfileResolutionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AssetProfileResolution */ select?: AssetProfileResolutionSelect | null /** * Omit specific fields from the AssetProfileResolution */ omit?: AssetProfileResolutionOmit | null /** * Filter, which AssetProfileResolution to fetch. */ where: AssetProfileResolutionWhereUniqueInput } /** * AssetProfileResolution findFirst */ export type AssetProfileResolutionFindFirstArgs = { /** * Select specific fields to fetch from the AssetProfileResolution */ select?: AssetProfileResolutionSelect | null /** * Omit specific fields from the AssetProfileResolution */ omit?: AssetProfileResolutionOmit | null /** * Filter, which AssetProfileResolution to fetch. */ where?: AssetProfileResolutionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AssetProfileResolutions to fetch. */ orderBy?: AssetProfileResolutionOrderByWithRelationInput | AssetProfileResolutionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AssetProfileResolutions. */ cursor?: AssetProfileResolutionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AssetProfileResolutions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AssetProfileResolutions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AssetProfileResolutions. */ distinct?: AssetProfileResolutionScalarFieldEnum | AssetProfileResolutionScalarFieldEnum[] } /** * AssetProfileResolution findFirstOrThrow */ export type AssetProfileResolutionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AssetProfileResolution */ select?: AssetProfileResolutionSelect | null /** * Omit specific fields from the AssetProfileResolution */ omit?: AssetProfileResolutionOmit | null /** * Filter, which AssetProfileResolution to fetch. */ where?: AssetProfileResolutionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AssetProfileResolutions to fetch. */ orderBy?: AssetProfileResolutionOrderByWithRelationInput | AssetProfileResolutionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AssetProfileResolutions. */ cursor?: AssetProfileResolutionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AssetProfileResolutions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AssetProfileResolutions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AssetProfileResolutions. */ distinct?: AssetProfileResolutionScalarFieldEnum | AssetProfileResolutionScalarFieldEnum[] } /** * AssetProfileResolution findMany */ export type AssetProfileResolutionFindManyArgs = { /** * Select specific fields to fetch from the AssetProfileResolution */ select?: AssetProfileResolutionSelect | null /** * Omit specific fields from the AssetProfileResolution */ omit?: AssetProfileResolutionOmit | null /** * Filter, which AssetProfileResolutions to fetch. */ where?: AssetProfileResolutionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AssetProfileResolutions to fetch. */ orderBy?: AssetProfileResolutionOrderByWithRelationInput | AssetProfileResolutionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AssetProfileResolutions. */ cursor?: AssetProfileResolutionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AssetProfileResolutions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AssetProfileResolutions. */ skip?: number distinct?: AssetProfileResolutionScalarFieldEnum | AssetProfileResolutionScalarFieldEnum[] } /** * AssetProfileResolution create */ export type AssetProfileResolutionCreateArgs = { /** * Select specific fields to fetch from the AssetProfileResolution */ select?: AssetProfileResolutionSelect | null /** * Omit specific fields from the AssetProfileResolution */ omit?: AssetProfileResolutionOmit | null /** * The data needed to create a AssetProfileResolution. */ data: XOR } /** * AssetProfileResolution createMany */ export type AssetProfileResolutionCreateManyArgs = { /** * The data used to create many AssetProfileResolutions. */ data: AssetProfileResolutionCreateManyInput | AssetProfileResolutionCreateManyInput[] skipDuplicates?: boolean } /** * AssetProfileResolution createManyAndReturn */ export type AssetProfileResolutionCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AssetProfileResolution */ select?: AssetProfileResolutionSelectCreateManyAndReturn | null /** * Omit specific fields from the AssetProfileResolution */ omit?: AssetProfileResolutionOmit | null /** * The data used to create many AssetProfileResolutions. */ data: AssetProfileResolutionCreateManyInput | AssetProfileResolutionCreateManyInput[] skipDuplicates?: boolean } /** * AssetProfileResolution update */ export type AssetProfileResolutionUpdateArgs = { /** * Select specific fields to fetch from the AssetProfileResolution */ select?: AssetProfileResolutionSelect | null /** * Omit specific fields from the AssetProfileResolution */ omit?: AssetProfileResolutionOmit | null /** * The data needed to update a AssetProfileResolution. */ data: XOR /** * Choose, which AssetProfileResolution to update. */ where: AssetProfileResolutionWhereUniqueInput } /** * AssetProfileResolution updateMany */ export type AssetProfileResolutionUpdateManyArgs = { /** * The data used to update AssetProfileResolutions. */ data: XOR /** * Filter which AssetProfileResolutions to update */ where?: AssetProfileResolutionWhereInput /** * Limit how many AssetProfileResolutions to update. */ limit?: number } /** * AssetProfileResolution updateManyAndReturn */ export type AssetProfileResolutionUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AssetProfileResolution */ select?: AssetProfileResolutionSelectUpdateManyAndReturn | null /** * Omit specific fields from the AssetProfileResolution */ omit?: AssetProfileResolutionOmit | null /** * The data used to update AssetProfileResolutions. */ data: XOR /** * Filter which AssetProfileResolutions to update */ where?: AssetProfileResolutionWhereInput /** * Limit how many AssetProfileResolutions to update. */ limit?: number } /** * AssetProfileResolution upsert */ export type AssetProfileResolutionUpsertArgs = { /** * Select specific fields to fetch from the AssetProfileResolution */ select?: AssetProfileResolutionSelect | null /** * Omit specific fields from the AssetProfileResolution */ omit?: AssetProfileResolutionOmit | null /** * The filter to search for the AssetProfileResolution to update in case it exists. */ where: AssetProfileResolutionWhereUniqueInput /** * In case the AssetProfileResolution found by the `where` argument doesn't exist, create a new AssetProfileResolution with this data. */ create: XOR /** * In case the AssetProfileResolution was found with the provided `where` argument, update it with this data. */ update: XOR } /** * AssetProfileResolution delete */ export type AssetProfileResolutionDeleteArgs = { /** * Select specific fields to fetch from the AssetProfileResolution */ select?: AssetProfileResolutionSelect | null /** * Omit specific fields from the AssetProfileResolution */ omit?: AssetProfileResolutionOmit | null /** * Filter which AssetProfileResolution to delete. */ where: AssetProfileResolutionWhereUniqueInput } /** * AssetProfileResolution deleteMany */ export type AssetProfileResolutionDeleteManyArgs = { /** * Filter which AssetProfileResolutions to delete */ where?: AssetProfileResolutionWhereInput /** * Limit how many AssetProfileResolutions to delete. */ limit?: number } /** * AssetProfileResolution without action */ export type AssetProfileResolutionDefaultArgs = { /** * Select specific fields to fetch from the AssetProfileResolution */ select?: AssetProfileResolutionSelect | null /** * Omit specific fields from the AssetProfileResolution */ omit?: AssetProfileResolutionOmit | null } /** * Model AuthDevice */ export type AggregateAuthDevice = { _count: AuthDeviceCountAggregateOutputType | null _avg: AuthDeviceAvgAggregateOutputType | null _sum: AuthDeviceSumAggregateOutputType | null _min: AuthDeviceMinAggregateOutputType | null _max: AuthDeviceMaxAggregateOutputType | null } export type AuthDeviceAvgAggregateOutputType = { counter: number | null } export type AuthDeviceSumAggregateOutputType = { counter: number | null } export type AuthDeviceMinAggregateOutputType = { createdAt: Date | null credentialId: Bytes | null credentialPublicKey: Bytes | null counter: number | null id: string | null updatedAt: Date | null userId: string | null } export type AuthDeviceMaxAggregateOutputType = { createdAt: Date | null credentialId: Bytes | null credentialPublicKey: Bytes | null counter: number | null id: string | null updatedAt: Date | null userId: string | null } export type AuthDeviceCountAggregateOutputType = { createdAt: number credentialId: number credentialPublicKey: number counter: number id: number updatedAt: number userId: number _all: number } export type AuthDeviceAvgAggregateInputType = { counter?: true } export type AuthDeviceSumAggregateInputType = { counter?: true } export type AuthDeviceMinAggregateInputType = { createdAt?: true credentialId?: true credentialPublicKey?: true counter?: true id?: true updatedAt?: true userId?: true } export type AuthDeviceMaxAggregateInputType = { createdAt?: true credentialId?: true credentialPublicKey?: true counter?: true id?: true updatedAt?: true userId?: true } export type AuthDeviceCountAggregateInputType = { createdAt?: true credentialId?: true credentialPublicKey?: true counter?: true id?: true updatedAt?: true userId?: true _all?: true } export type AuthDeviceAggregateArgs = { /** * Filter which AuthDevice to aggregate. */ where?: AuthDeviceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuthDevices to fetch. */ orderBy?: AuthDeviceOrderByWithRelationInput | AuthDeviceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AuthDeviceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuthDevices from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AuthDevices. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AuthDevices **/ _count?: true | AuthDeviceCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AuthDeviceAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AuthDeviceSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AuthDeviceMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AuthDeviceMaxAggregateInputType } export type GetAuthDeviceAggregateType = { [P in keyof T & keyof AggregateAuthDevice]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AuthDeviceGroupByArgs = { where?: AuthDeviceWhereInput orderBy?: AuthDeviceOrderByWithAggregationInput | AuthDeviceOrderByWithAggregationInput[] by: AuthDeviceScalarFieldEnum[] | AuthDeviceScalarFieldEnum having?: AuthDeviceScalarWhereWithAggregatesInput take?: number skip?: number _count?: AuthDeviceCountAggregateInputType | true _avg?: AuthDeviceAvgAggregateInputType _sum?: AuthDeviceSumAggregateInputType _min?: AuthDeviceMinAggregateInputType _max?: AuthDeviceMaxAggregateInputType } export type AuthDeviceGroupByOutputType = { createdAt: Date credentialId: Bytes credentialPublicKey: Bytes counter: number id: string updatedAt: Date userId: string _count: AuthDeviceCountAggregateOutputType | null _avg: AuthDeviceAvgAggregateOutputType | null _sum: AuthDeviceSumAggregateOutputType | null _min: AuthDeviceMinAggregateOutputType | null _max: AuthDeviceMaxAggregateOutputType | null } type GetAuthDeviceGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AuthDeviceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AuthDeviceSelect = $Extensions.GetSelect<{ createdAt?: boolean credentialId?: boolean credentialPublicKey?: boolean counter?: boolean id?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["authDevice"]> export type AuthDeviceSelectCreateManyAndReturn = $Extensions.GetSelect<{ createdAt?: boolean credentialId?: boolean credentialPublicKey?: boolean counter?: boolean id?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["authDevice"]> export type AuthDeviceSelectUpdateManyAndReturn = $Extensions.GetSelect<{ createdAt?: boolean credentialId?: boolean credentialPublicKey?: boolean counter?: boolean id?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["authDevice"]> export type AuthDeviceSelectScalar = { createdAt?: boolean credentialId?: boolean credentialPublicKey?: boolean counter?: boolean id?: boolean updatedAt?: boolean userId?: boolean } export type AuthDeviceOmit = $Extensions.GetOmit<"createdAt" | "credentialId" | "credentialPublicKey" | "counter" | "id" | "updatedAt" | "userId", ExtArgs["result"]["authDevice"]> export type AuthDeviceInclude = { user?: boolean | UserDefaultArgs } export type AuthDeviceIncludeCreateManyAndReturn = { user?: boolean | UserDefaultArgs } export type AuthDeviceIncludeUpdateManyAndReturn = { user?: boolean | UserDefaultArgs } export type $AuthDevicePayload = { name: "AuthDevice" objects: { user: Prisma.$UserPayload } scalars: $Extensions.GetPayloadResult<{ createdAt: Date credentialId: Prisma.Bytes credentialPublicKey: Prisma.Bytes counter: number id: string updatedAt: Date userId: string }, ExtArgs["result"]["authDevice"]> composites: {} } type AuthDeviceGetPayload = $Result.GetResult type AuthDeviceCountArgs = Omit & { select?: AuthDeviceCountAggregateInputType | true } export interface AuthDeviceDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AuthDevice'], meta: { name: 'AuthDevice' } } /** * Find zero or one AuthDevice that matches the filter. * @param {AuthDeviceFindUniqueArgs} args - Arguments to find a AuthDevice * @example * // Get one AuthDevice * const authDevice = await prisma.authDevice.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AuthDeviceClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AuthDevice that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AuthDeviceFindUniqueOrThrowArgs} args - Arguments to find a AuthDevice * @example * // Get one AuthDevice * const authDevice = await prisma.authDevice.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AuthDeviceClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AuthDevice 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 {AuthDeviceFindFirstArgs} args - Arguments to find a AuthDevice * @example * // Get one AuthDevice * const authDevice = await prisma.authDevice.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AuthDeviceClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AuthDevice 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 {AuthDeviceFindFirstOrThrowArgs} args - Arguments to find a AuthDevice * @example * // Get one AuthDevice * const authDevice = await prisma.authDevice.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AuthDeviceClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AuthDevices 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 {AuthDeviceFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AuthDevices * const authDevices = await prisma.authDevice.findMany() * * // Get first 10 AuthDevices * const authDevices = await prisma.authDevice.findMany({ take: 10 }) * * // Only select the `createdAt` * const authDeviceWithCreatedAtOnly = await prisma.authDevice.findMany({ select: { createdAt: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AuthDevice. * @param {AuthDeviceCreateArgs} args - Arguments to create a AuthDevice. * @example * // Create one AuthDevice * const AuthDevice = await prisma.authDevice.create({ * data: { * // ... data to create a AuthDevice * } * }) * */ create(args: SelectSubset>): Prisma__AuthDeviceClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AuthDevices. * @param {AuthDeviceCreateManyArgs} args - Arguments to create many AuthDevices. * @example * // Create many AuthDevices * const authDevice = await prisma.authDevice.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many AuthDevices and returns the data saved in the database. * @param {AuthDeviceCreateManyAndReturnArgs} args - Arguments to create many AuthDevices. * @example * // Create many AuthDevices * const authDevice = await prisma.authDevice.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AuthDevices and only return the `createdAt` * const authDeviceWithCreatedAtOnly = await prisma.authDevice.createManyAndReturn({ * select: { createdAt: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a AuthDevice. * @param {AuthDeviceDeleteArgs} args - Arguments to delete one AuthDevice. * @example * // Delete one AuthDevice * const AuthDevice = await prisma.authDevice.delete({ * where: { * // ... filter to delete one AuthDevice * } * }) * */ delete(args: SelectSubset>): Prisma__AuthDeviceClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AuthDevice. * @param {AuthDeviceUpdateArgs} args - Arguments to update one AuthDevice. * @example * // Update one AuthDevice * const authDevice = await prisma.authDevice.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AuthDeviceClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AuthDevices. * @param {AuthDeviceDeleteManyArgs} args - Arguments to filter AuthDevices to delete. * @example * // Delete a few AuthDevices * const { count } = await prisma.authDevice.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AuthDevices. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuthDeviceUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AuthDevices * const authDevice = await prisma.authDevice.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AuthDevices and returns the data updated in the database. * @param {AuthDeviceUpdateManyAndReturnArgs} args - Arguments to update many AuthDevices. * @example * // Update many AuthDevices * const authDevice = await prisma.authDevice.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AuthDevices and only return the `createdAt` * const authDeviceWithCreatedAtOnly = await prisma.authDevice.updateManyAndReturn({ * select: { createdAt: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one AuthDevice. * @param {AuthDeviceUpsertArgs} args - Arguments to update or create a AuthDevice. * @example * // Update or create a AuthDevice * const authDevice = await prisma.authDevice.upsert({ * create: { * // ... data to create a AuthDevice * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AuthDevice we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AuthDeviceClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AuthDevices. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuthDeviceCountArgs} args - Arguments to filter AuthDevices to count. * @example * // Count the number of AuthDevices * const count = await prisma.authDevice.count({ * where: { * // ... the filter for the AuthDevices we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a AuthDevice. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuthDeviceAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by AuthDevice. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuthDeviceGroupByArgs} 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 AuthDeviceGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AuthDeviceGroupByArgs['orderBy'] } : { orderBy?: AuthDeviceGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetAuthDeviceGroupByPayload : Prisma.PrismaPromise /** * Fields of the AuthDevice model */ readonly fields: AuthDeviceFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AuthDevice. * 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__AuthDeviceClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the AuthDevice model */ interface AuthDeviceFieldRefs { readonly createdAt: FieldRef<"AuthDevice", 'DateTime'> readonly credentialId: FieldRef<"AuthDevice", 'Bytes'> readonly credentialPublicKey: FieldRef<"AuthDevice", 'Bytes'> readonly counter: FieldRef<"AuthDevice", 'Int'> readonly id: FieldRef<"AuthDevice", 'String'> readonly updatedAt: FieldRef<"AuthDevice", 'DateTime'> readonly userId: FieldRef<"AuthDevice", 'String'> } // Custom InputTypes /** * AuthDevice findUnique */ export type AuthDeviceFindUniqueArgs = { /** * Select specific fields to fetch from the AuthDevice */ select?: AuthDeviceSelect | null /** * Omit specific fields from the AuthDevice */ omit?: AuthDeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AuthDeviceInclude | null /** * Filter, which AuthDevice to fetch. */ where: AuthDeviceWhereUniqueInput } /** * AuthDevice findUniqueOrThrow */ export type AuthDeviceFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AuthDevice */ select?: AuthDeviceSelect | null /** * Omit specific fields from the AuthDevice */ omit?: AuthDeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AuthDeviceInclude | null /** * Filter, which AuthDevice to fetch. */ where: AuthDeviceWhereUniqueInput } /** * AuthDevice findFirst */ export type AuthDeviceFindFirstArgs = { /** * Select specific fields to fetch from the AuthDevice */ select?: AuthDeviceSelect | null /** * Omit specific fields from the AuthDevice */ omit?: AuthDeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AuthDeviceInclude | null /** * Filter, which AuthDevice to fetch. */ where?: AuthDeviceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuthDevices to fetch. */ orderBy?: AuthDeviceOrderByWithRelationInput | AuthDeviceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AuthDevices. */ cursor?: AuthDeviceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuthDevices from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AuthDevices. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AuthDevices. */ distinct?: AuthDeviceScalarFieldEnum | AuthDeviceScalarFieldEnum[] } /** * AuthDevice findFirstOrThrow */ export type AuthDeviceFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AuthDevice */ select?: AuthDeviceSelect | null /** * Omit specific fields from the AuthDevice */ omit?: AuthDeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AuthDeviceInclude | null /** * Filter, which AuthDevice to fetch. */ where?: AuthDeviceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuthDevices to fetch. */ orderBy?: AuthDeviceOrderByWithRelationInput | AuthDeviceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AuthDevices. */ cursor?: AuthDeviceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuthDevices from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AuthDevices. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AuthDevices. */ distinct?: AuthDeviceScalarFieldEnum | AuthDeviceScalarFieldEnum[] } /** * AuthDevice findMany */ export type AuthDeviceFindManyArgs = { /** * Select specific fields to fetch from the AuthDevice */ select?: AuthDeviceSelect | null /** * Omit specific fields from the AuthDevice */ omit?: AuthDeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AuthDeviceInclude | null /** * Filter, which AuthDevices to fetch. */ where?: AuthDeviceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuthDevices to fetch. */ orderBy?: AuthDeviceOrderByWithRelationInput | AuthDeviceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AuthDevices. */ cursor?: AuthDeviceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuthDevices from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AuthDevices. */ skip?: number distinct?: AuthDeviceScalarFieldEnum | AuthDeviceScalarFieldEnum[] } /** * AuthDevice create */ export type AuthDeviceCreateArgs = { /** * Select specific fields to fetch from the AuthDevice */ select?: AuthDeviceSelect | null /** * Omit specific fields from the AuthDevice */ omit?: AuthDeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AuthDeviceInclude | null /** * The data needed to create a AuthDevice. */ data: XOR } /** * AuthDevice createMany */ export type AuthDeviceCreateManyArgs = { /** * The data used to create many AuthDevices. */ data: AuthDeviceCreateManyInput | AuthDeviceCreateManyInput[] skipDuplicates?: boolean } /** * AuthDevice createManyAndReturn */ export type AuthDeviceCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AuthDevice */ select?: AuthDeviceSelectCreateManyAndReturn | null /** * Omit specific fields from the AuthDevice */ omit?: AuthDeviceOmit | null /** * The data used to create many AuthDevices. */ data: AuthDeviceCreateManyInput | AuthDeviceCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: AuthDeviceIncludeCreateManyAndReturn | null } /** * AuthDevice update */ export type AuthDeviceUpdateArgs = { /** * Select specific fields to fetch from the AuthDevice */ select?: AuthDeviceSelect | null /** * Omit specific fields from the AuthDevice */ omit?: AuthDeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AuthDeviceInclude | null /** * The data needed to update a AuthDevice. */ data: XOR /** * Choose, which AuthDevice to update. */ where: AuthDeviceWhereUniqueInput } /** * AuthDevice updateMany */ export type AuthDeviceUpdateManyArgs = { /** * The data used to update AuthDevices. */ data: XOR /** * Filter which AuthDevices to update */ where?: AuthDeviceWhereInput /** * Limit how many AuthDevices to update. */ limit?: number } /** * AuthDevice updateManyAndReturn */ export type AuthDeviceUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AuthDevice */ select?: AuthDeviceSelectUpdateManyAndReturn | null /** * Omit specific fields from the AuthDevice */ omit?: AuthDeviceOmit | null /** * The data used to update AuthDevices. */ data: XOR /** * Filter which AuthDevices to update */ where?: AuthDeviceWhereInput /** * Limit how many AuthDevices to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: AuthDeviceIncludeUpdateManyAndReturn | null } /** * AuthDevice upsert */ export type AuthDeviceUpsertArgs = { /** * Select specific fields to fetch from the AuthDevice */ select?: AuthDeviceSelect | null /** * Omit specific fields from the AuthDevice */ omit?: AuthDeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AuthDeviceInclude | null /** * The filter to search for the AuthDevice to update in case it exists. */ where: AuthDeviceWhereUniqueInput /** * In case the AuthDevice found by the `where` argument doesn't exist, create a new AuthDevice with this data. */ create: XOR /** * In case the AuthDevice was found with the provided `where` argument, update it with this data. */ update: XOR } /** * AuthDevice delete */ export type AuthDeviceDeleteArgs = { /** * Select specific fields to fetch from the AuthDevice */ select?: AuthDeviceSelect | null /** * Omit specific fields from the AuthDevice */ omit?: AuthDeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AuthDeviceInclude | null /** * Filter which AuthDevice to delete. */ where: AuthDeviceWhereUniqueInput } /** * AuthDevice deleteMany */ export type AuthDeviceDeleteManyArgs = { /** * Filter which AuthDevices to delete */ where?: AuthDeviceWhereInput /** * Limit how many AuthDevices to delete. */ limit?: number } /** * AuthDevice without action */ export type AuthDeviceDefaultArgs = { /** * Select specific fields to fetch from the AuthDevice */ select?: AuthDeviceSelect | null /** * Omit specific fields from the AuthDevice */ omit?: AuthDeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AuthDeviceInclude | null } /** * Model MarketData */ export type AggregateMarketData = { _count: MarketDataCountAggregateOutputType | null _avg: MarketDataAvgAggregateOutputType | null _sum: MarketDataSumAggregateOutputType | null _min: MarketDataMinAggregateOutputType | null _max: MarketDataMaxAggregateOutputType | null } export type MarketDataAvgAggregateOutputType = { marketPrice: number | null } export type MarketDataSumAggregateOutputType = { marketPrice: number | null } export type MarketDataMinAggregateOutputType = { createdAt: Date | null dataSource: $Enums.DataSource | null date: Date | null id: string | null marketPrice: number | null state: $Enums.MarketDataState | null symbol: string | null } export type MarketDataMaxAggregateOutputType = { createdAt: Date | null dataSource: $Enums.DataSource | null date: Date | null id: string | null marketPrice: number | null state: $Enums.MarketDataState | null symbol: string | null } export type MarketDataCountAggregateOutputType = { createdAt: number dataSource: number date: number id: number marketPrice: number state: number symbol: number _all: number } export type MarketDataAvgAggregateInputType = { marketPrice?: true } export type MarketDataSumAggregateInputType = { marketPrice?: true } export type MarketDataMinAggregateInputType = { createdAt?: true dataSource?: true date?: true id?: true marketPrice?: true state?: true symbol?: true } export type MarketDataMaxAggregateInputType = { createdAt?: true dataSource?: true date?: true id?: true marketPrice?: true state?: true symbol?: true } export type MarketDataCountAggregateInputType = { createdAt?: true dataSource?: true date?: true id?: true marketPrice?: true state?: true symbol?: true _all?: true } export type MarketDataAggregateArgs = { /** * Filter which MarketData to aggregate. */ where?: MarketDataWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MarketData to fetch. */ orderBy?: MarketDataOrderByWithRelationInput | MarketDataOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: MarketDataWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MarketData from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` MarketData. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned MarketData **/ _count?: true | MarketDataCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: MarketDataAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: MarketDataSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: MarketDataMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: MarketDataMaxAggregateInputType } export type GetMarketDataAggregateType = { [P in keyof T & keyof AggregateMarketData]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type MarketDataGroupByArgs = { where?: MarketDataWhereInput orderBy?: MarketDataOrderByWithAggregationInput | MarketDataOrderByWithAggregationInput[] by: MarketDataScalarFieldEnum[] | MarketDataScalarFieldEnum having?: MarketDataScalarWhereWithAggregatesInput take?: number skip?: number _count?: MarketDataCountAggregateInputType | true _avg?: MarketDataAvgAggregateInputType _sum?: MarketDataSumAggregateInputType _min?: MarketDataMinAggregateInputType _max?: MarketDataMaxAggregateInputType } export type MarketDataGroupByOutputType = { createdAt: Date dataSource: $Enums.DataSource date: Date id: string marketPrice: number state: $Enums.MarketDataState symbol: string _count: MarketDataCountAggregateOutputType | null _avg: MarketDataAvgAggregateOutputType | null _sum: MarketDataSumAggregateOutputType | null _min: MarketDataMinAggregateOutputType | null _max: MarketDataMaxAggregateOutputType | null } type GetMarketDataGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof MarketDataGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type MarketDataSelect = $Extensions.GetSelect<{ createdAt?: boolean dataSource?: boolean date?: boolean id?: boolean marketPrice?: boolean state?: boolean symbol?: boolean }, ExtArgs["result"]["marketData"]> export type MarketDataSelectCreateManyAndReturn = $Extensions.GetSelect<{ createdAt?: boolean dataSource?: boolean date?: boolean id?: boolean marketPrice?: boolean state?: boolean symbol?: boolean }, ExtArgs["result"]["marketData"]> export type MarketDataSelectUpdateManyAndReturn = $Extensions.GetSelect<{ createdAt?: boolean dataSource?: boolean date?: boolean id?: boolean marketPrice?: boolean state?: boolean symbol?: boolean }, ExtArgs["result"]["marketData"]> export type MarketDataSelectScalar = { createdAt?: boolean dataSource?: boolean date?: boolean id?: boolean marketPrice?: boolean state?: boolean symbol?: boolean } export type MarketDataOmit = $Extensions.GetOmit<"createdAt" | "dataSource" | "date" | "id" | "marketPrice" | "state" | "symbol", ExtArgs["result"]["marketData"]> export type $MarketDataPayload = { name: "MarketData" objects: {} scalars: $Extensions.GetPayloadResult<{ createdAt: Date dataSource: $Enums.DataSource date: Date id: string marketPrice: number state: $Enums.MarketDataState symbol: string }, ExtArgs["result"]["marketData"]> composites: {} } type MarketDataGetPayload = $Result.GetResult type MarketDataCountArgs = Omit & { select?: MarketDataCountAggregateInputType | true } export interface MarketDataDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['MarketData'], meta: { name: 'MarketData' } } /** * Find zero or one MarketData that matches the filter. * @param {MarketDataFindUniqueArgs} args - Arguments to find a MarketData * @example * // Get one MarketData * const marketData = await prisma.marketData.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__MarketDataClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one MarketData that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {MarketDataFindUniqueOrThrowArgs} args - Arguments to find a MarketData * @example * // Get one MarketData * const marketData = await prisma.marketData.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__MarketDataClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first MarketData 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 {MarketDataFindFirstArgs} args - Arguments to find a MarketData * @example * // Get one MarketData * const marketData = await prisma.marketData.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__MarketDataClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first MarketData 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 {MarketDataFindFirstOrThrowArgs} args - Arguments to find a MarketData * @example * // Get one MarketData * const marketData = await prisma.marketData.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__MarketDataClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more MarketData 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 {MarketDataFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all MarketData * const marketData = await prisma.marketData.findMany() * * // Get first 10 MarketData * const marketData = await prisma.marketData.findMany({ take: 10 }) * * // Only select the `createdAt` * const marketDataWithCreatedAtOnly = await prisma.marketData.findMany({ select: { createdAt: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a MarketData. * @param {MarketDataCreateArgs} args - Arguments to create a MarketData. * @example * // Create one MarketData * const MarketData = await prisma.marketData.create({ * data: { * // ... data to create a MarketData * } * }) * */ create(args: SelectSubset>): Prisma__MarketDataClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many MarketData. * @param {MarketDataCreateManyArgs} args - Arguments to create many MarketData. * @example * // Create many MarketData * const marketData = await prisma.marketData.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many MarketData and returns the data saved in the database. * @param {MarketDataCreateManyAndReturnArgs} args - Arguments to create many MarketData. * @example * // Create many MarketData * const marketData = await prisma.marketData.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many MarketData and only return the `createdAt` * const marketDataWithCreatedAtOnly = await prisma.marketData.createManyAndReturn({ * select: { createdAt: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a MarketData. * @param {MarketDataDeleteArgs} args - Arguments to delete one MarketData. * @example * // Delete one MarketData * const MarketData = await prisma.marketData.delete({ * where: { * // ... filter to delete one MarketData * } * }) * */ delete(args: SelectSubset>): Prisma__MarketDataClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one MarketData. * @param {MarketDataUpdateArgs} args - Arguments to update one MarketData. * @example * // Update one MarketData * const marketData = await prisma.marketData.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__MarketDataClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more MarketData. * @param {MarketDataDeleteManyArgs} args - Arguments to filter MarketData to delete. * @example * // Delete a few MarketData * const { count } = await prisma.marketData.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more MarketData. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MarketDataUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many MarketData * const marketData = await prisma.marketData.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more MarketData and returns the data updated in the database. * @param {MarketDataUpdateManyAndReturnArgs} args - Arguments to update many MarketData. * @example * // Update many MarketData * const marketData = await prisma.marketData.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more MarketData and only return the `createdAt` * const marketDataWithCreatedAtOnly = await prisma.marketData.updateManyAndReturn({ * select: { createdAt: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one MarketData. * @param {MarketDataUpsertArgs} args - Arguments to update or create a MarketData. * @example * // Update or create a MarketData * const marketData = await prisma.marketData.upsert({ * create: { * // ... data to create a MarketData * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the MarketData we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__MarketDataClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of MarketData. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MarketDataCountArgs} args - Arguments to filter MarketData to count. * @example * // Count the number of MarketData * const count = await prisma.marketData.count({ * where: { * // ... the filter for the MarketData we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a MarketData. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MarketDataAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by MarketData. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {MarketDataGroupByArgs} 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 MarketDataGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: MarketDataGroupByArgs['orderBy'] } : { orderBy?: MarketDataGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetMarketDataGroupByPayload : Prisma.PrismaPromise /** * Fields of the MarketData model */ readonly fields: MarketDataFieldRefs; } /** * The delegate class that acts as a "Promise-like" for MarketData. * 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__MarketDataClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the MarketData model */ interface MarketDataFieldRefs { readonly createdAt: FieldRef<"MarketData", 'DateTime'> readonly dataSource: FieldRef<"MarketData", 'DataSource'> readonly date: FieldRef<"MarketData", 'DateTime'> readonly id: FieldRef<"MarketData", 'String'> readonly marketPrice: FieldRef<"MarketData", 'Float'> readonly state: FieldRef<"MarketData", 'MarketDataState'> readonly symbol: FieldRef<"MarketData", 'String'> } // Custom InputTypes /** * MarketData findUnique */ export type MarketDataFindUniqueArgs = { /** * Select specific fields to fetch from the MarketData */ select?: MarketDataSelect | null /** * Omit specific fields from the MarketData */ omit?: MarketDataOmit | null /** * Filter, which MarketData to fetch. */ where: MarketDataWhereUniqueInput } /** * MarketData findUniqueOrThrow */ export type MarketDataFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the MarketData */ select?: MarketDataSelect | null /** * Omit specific fields from the MarketData */ omit?: MarketDataOmit | null /** * Filter, which MarketData to fetch. */ where: MarketDataWhereUniqueInput } /** * MarketData findFirst */ export type MarketDataFindFirstArgs = { /** * Select specific fields to fetch from the MarketData */ select?: MarketDataSelect | null /** * Omit specific fields from the MarketData */ omit?: MarketDataOmit | null /** * Filter, which MarketData to fetch. */ where?: MarketDataWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MarketData to fetch. */ orderBy?: MarketDataOrderByWithRelationInput | MarketDataOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for MarketData. */ cursor?: MarketDataWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MarketData from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` MarketData. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of MarketData. */ distinct?: MarketDataScalarFieldEnum | MarketDataScalarFieldEnum[] } /** * MarketData findFirstOrThrow */ export type MarketDataFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the MarketData */ select?: MarketDataSelect | null /** * Omit specific fields from the MarketData */ omit?: MarketDataOmit | null /** * Filter, which MarketData to fetch. */ where?: MarketDataWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MarketData to fetch. */ orderBy?: MarketDataOrderByWithRelationInput | MarketDataOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for MarketData. */ cursor?: MarketDataWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MarketData from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` MarketData. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of MarketData. */ distinct?: MarketDataScalarFieldEnum | MarketDataScalarFieldEnum[] } /** * MarketData findMany */ export type MarketDataFindManyArgs = { /** * Select specific fields to fetch from the MarketData */ select?: MarketDataSelect | null /** * Omit specific fields from the MarketData */ omit?: MarketDataOmit | null /** * Filter, which MarketData to fetch. */ where?: MarketDataWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of MarketData to fetch. */ orderBy?: MarketDataOrderByWithRelationInput | MarketDataOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing MarketData. */ cursor?: MarketDataWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` MarketData from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` MarketData. */ skip?: number distinct?: MarketDataScalarFieldEnum | MarketDataScalarFieldEnum[] } /** * MarketData create */ export type MarketDataCreateArgs = { /** * Select specific fields to fetch from the MarketData */ select?: MarketDataSelect | null /** * Omit specific fields from the MarketData */ omit?: MarketDataOmit | null /** * The data needed to create a MarketData. */ data: XOR } /** * MarketData createMany */ export type MarketDataCreateManyArgs = { /** * The data used to create many MarketData. */ data: MarketDataCreateManyInput | MarketDataCreateManyInput[] skipDuplicates?: boolean } /** * MarketData createManyAndReturn */ export type MarketDataCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the MarketData */ select?: MarketDataSelectCreateManyAndReturn | null /** * Omit specific fields from the MarketData */ omit?: MarketDataOmit | null /** * The data used to create many MarketData. */ data: MarketDataCreateManyInput | MarketDataCreateManyInput[] skipDuplicates?: boolean } /** * MarketData update */ export type MarketDataUpdateArgs = { /** * Select specific fields to fetch from the MarketData */ select?: MarketDataSelect | null /** * Omit specific fields from the MarketData */ omit?: MarketDataOmit | null /** * The data needed to update a MarketData. */ data: XOR /** * Choose, which MarketData to update. */ where: MarketDataWhereUniqueInput } /** * MarketData updateMany */ export type MarketDataUpdateManyArgs = { /** * The data used to update MarketData. */ data: XOR /** * Filter which MarketData to update */ where?: MarketDataWhereInput /** * Limit how many MarketData to update. */ limit?: number } /** * MarketData updateManyAndReturn */ export type MarketDataUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the MarketData */ select?: MarketDataSelectUpdateManyAndReturn | null /** * Omit specific fields from the MarketData */ omit?: MarketDataOmit | null /** * The data used to update MarketData. */ data: XOR /** * Filter which MarketData to update */ where?: MarketDataWhereInput /** * Limit how many MarketData to update. */ limit?: number } /** * MarketData upsert */ export type MarketDataUpsertArgs = { /** * Select specific fields to fetch from the MarketData */ select?: MarketDataSelect | null /** * Omit specific fields from the MarketData */ omit?: MarketDataOmit | null /** * The filter to search for the MarketData to update in case it exists. */ where: MarketDataWhereUniqueInput /** * In case the MarketData found by the `where` argument doesn't exist, create a new MarketData with this data. */ create: XOR /** * In case the MarketData was found with the provided `where` argument, update it with this data. */ update: XOR } /** * MarketData delete */ export type MarketDataDeleteArgs = { /** * Select specific fields to fetch from the MarketData */ select?: MarketDataSelect | null /** * Omit specific fields from the MarketData */ omit?: MarketDataOmit | null /** * Filter which MarketData to delete. */ where: MarketDataWhereUniqueInput } /** * MarketData deleteMany */ export type MarketDataDeleteManyArgs = { /** * Filter which MarketData to delete */ where?: MarketDataWhereInput /** * Limit how many MarketData to delete. */ limit?: number } /** * MarketData without action */ export type MarketDataDefaultArgs = { /** * Select specific fields to fetch from the MarketData */ select?: MarketDataSelect | null /** * Omit specific fields from the MarketData */ omit?: MarketDataOmit | null } /** * Model Order */ export type AggregateOrder = { _count: OrderCountAggregateOutputType | null _avg: OrderAvgAggregateOutputType | null _sum: OrderSumAggregateOutputType | null _min: OrderMinAggregateOutputType | null _max: OrderMaxAggregateOutputType | null } export type OrderAvgAggregateOutputType = { fee: number | null quantity: number | null unitPrice: number | null } export type OrderSumAggregateOutputType = { fee: number | null quantity: number | null unitPrice: number | null } export type OrderMinAggregateOutputType = { accountId: string | null accountUserId: string | null comment: string | null createdAt: Date | null currency: string | null date: Date | null fee: number | null id: string | null isDraft: boolean | null quantity: number | null symbolProfileId: string | null type: $Enums.Type | null unitPrice: number | null updatedAt: Date | null userId: string | null } export type OrderMaxAggregateOutputType = { accountId: string | null accountUserId: string | null comment: string | null createdAt: Date | null currency: string | null date: Date | null fee: number | null id: string | null isDraft: boolean | null quantity: number | null symbolProfileId: string | null type: $Enums.Type | null unitPrice: number | null updatedAt: Date | null userId: string | null } export type OrderCountAggregateOutputType = { accountId: number accountUserId: number comment: number createdAt: number currency: number date: number fee: number id: number isDraft: number quantity: number symbolProfileId: number type: number unitPrice: number updatedAt: number userId: number _all: number } export type OrderAvgAggregateInputType = { fee?: true quantity?: true unitPrice?: true } export type OrderSumAggregateInputType = { fee?: true quantity?: true unitPrice?: true } export type OrderMinAggregateInputType = { accountId?: true accountUserId?: true comment?: true createdAt?: true currency?: true date?: true fee?: true id?: true isDraft?: true quantity?: true symbolProfileId?: true type?: true unitPrice?: true updatedAt?: true userId?: true } export type OrderMaxAggregateInputType = { accountId?: true accountUserId?: true comment?: true createdAt?: true currency?: true date?: true fee?: true id?: true isDraft?: true quantity?: true symbolProfileId?: true type?: true unitPrice?: true updatedAt?: true userId?: true } export type OrderCountAggregateInputType = { accountId?: true accountUserId?: true comment?: true createdAt?: true currency?: true date?: true fee?: true id?: true isDraft?: true quantity?: true symbolProfileId?: true type?: true unitPrice?: true updatedAt?: true userId?: true _all?: true } export type OrderAggregateArgs = { /** * Filter which Order to aggregate. */ where?: OrderWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Orders to fetch. */ orderBy?: OrderOrderByWithRelationInput | OrderOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: OrderWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Orders from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Orders. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Orders **/ _count?: true | OrderCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: OrderAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: OrderSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: OrderMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: OrderMaxAggregateInputType } export type GetOrderAggregateType = { [P in keyof T & keyof AggregateOrder]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type OrderGroupByArgs = { where?: OrderWhereInput orderBy?: OrderOrderByWithAggregationInput | OrderOrderByWithAggregationInput[] by: OrderScalarFieldEnum[] | OrderScalarFieldEnum having?: OrderScalarWhereWithAggregatesInput take?: number skip?: number _count?: OrderCountAggregateInputType | true _avg?: OrderAvgAggregateInputType _sum?: OrderSumAggregateInputType _min?: OrderMinAggregateInputType _max?: OrderMaxAggregateInputType } export type OrderGroupByOutputType = { accountId: string | null accountUserId: string | null comment: string | null createdAt: Date currency: string | null date: Date fee: number id: string isDraft: boolean quantity: number symbolProfileId: string type: $Enums.Type unitPrice: number updatedAt: Date userId: string _count: OrderCountAggregateOutputType | null _avg: OrderAvgAggregateOutputType | null _sum: OrderSumAggregateOutputType | null _min: OrderMinAggregateOutputType | null _max: OrderMaxAggregateOutputType | null } type GetOrderGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof OrderGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type OrderSelect = $Extensions.GetSelect<{ accountId?: boolean accountUserId?: boolean comment?: boolean createdAt?: boolean currency?: boolean date?: boolean fee?: boolean id?: boolean isDraft?: boolean quantity?: boolean symbolProfileId?: boolean type?: boolean unitPrice?: boolean updatedAt?: boolean userId?: boolean account?: boolean | Order$accountArgs tags?: boolean | Order$tagsArgs user?: boolean | UserDefaultArgs SymbolProfile?: boolean | SymbolProfileDefaultArgs _count?: boolean | OrderCountOutputTypeDefaultArgs }, ExtArgs["result"]["order"]> export type OrderSelectCreateManyAndReturn = $Extensions.GetSelect<{ accountId?: boolean accountUserId?: boolean comment?: boolean createdAt?: boolean currency?: boolean date?: boolean fee?: boolean id?: boolean isDraft?: boolean quantity?: boolean symbolProfileId?: boolean type?: boolean unitPrice?: boolean updatedAt?: boolean userId?: boolean account?: boolean | Order$accountArgs user?: boolean | UserDefaultArgs SymbolProfile?: boolean | SymbolProfileDefaultArgs }, ExtArgs["result"]["order"]> export type OrderSelectUpdateManyAndReturn = $Extensions.GetSelect<{ accountId?: boolean accountUserId?: boolean comment?: boolean createdAt?: boolean currency?: boolean date?: boolean fee?: boolean id?: boolean isDraft?: boolean quantity?: boolean symbolProfileId?: boolean type?: boolean unitPrice?: boolean updatedAt?: boolean userId?: boolean account?: boolean | Order$accountArgs user?: boolean | UserDefaultArgs SymbolProfile?: boolean | SymbolProfileDefaultArgs }, ExtArgs["result"]["order"]> export type OrderSelectScalar = { accountId?: boolean accountUserId?: boolean comment?: boolean createdAt?: boolean currency?: boolean date?: boolean fee?: boolean id?: boolean isDraft?: boolean quantity?: boolean symbolProfileId?: boolean type?: boolean unitPrice?: boolean updatedAt?: boolean userId?: boolean } export type OrderOmit = $Extensions.GetOmit<"accountId" | "accountUserId" | "comment" | "createdAt" | "currency" | "date" | "fee" | "id" | "isDraft" | "quantity" | "symbolProfileId" | "type" | "unitPrice" | "updatedAt" | "userId", ExtArgs["result"]["order"]> export type OrderInclude = { account?: boolean | Order$accountArgs tags?: boolean | Order$tagsArgs user?: boolean | UserDefaultArgs SymbolProfile?: boolean | SymbolProfileDefaultArgs _count?: boolean | OrderCountOutputTypeDefaultArgs } export type OrderIncludeCreateManyAndReturn = { account?: boolean | Order$accountArgs user?: boolean | UserDefaultArgs SymbolProfile?: boolean | SymbolProfileDefaultArgs } export type OrderIncludeUpdateManyAndReturn = { account?: boolean | Order$accountArgs user?: boolean | UserDefaultArgs SymbolProfile?: boolean | SymbolProfileDefaultArgs } export type $OrderPayload = { name: "Order" objects: { account: Prisma.$AccountPayload | null tags: Prisma.$TagPayload[] user: Prisma.$UserPayload SymbolProfile: Prisma.$SymbolProfilePayload } scalars: $Extensions.GetPayloadResult<{ accountId: string | null accountUserId: string | null comment: string | null createdAt: Date currency: string | null date: Date fee: number id: string isDraft: boolean quantity: number symbolProfileId: string type: $Enums.Type unitPrice: number updatedAt: Date userId: string }, ExtArgs["result"]["order"]> composites: {} } type OrderGetPayload = $Result.GetResult type OrderCountArgs = Omit & { select?: OrderCountAggregateInputType | true } export interface OrderDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Order'], meta: { name: 'Order' } } /** * Find zero or one Order that matches the filter. * @param {OrderFindUniqueArgs} args - Arguments to find a Order * @example * // Get one Order * const order = await prisma.order.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__OrderClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Order that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {OrderFindUniqueOrThrowArgs} args - Arguments to find a Order * @example * // Get one Order * const order = await prisma.order.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__OrderClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Order 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 {OrderFindFirstArgs} args - Arguments to find a Order * @example * // Get one Order * const order = await prisma.order.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__OrderClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Order 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 {OrderFindFirstOrThrowArgs} args - Arguments to find a Order * @example * // Get one Order * const order = await prisma.order.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__OrderClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Orders 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 {OrderFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Orders * const orders = await prisma.order.findMany() * * // Get first 10 Orders * const orders = await prisma.order.findMany({ take: 10 }) * * // Only select the `accountId` * const orderWithAccountIdOnly = await prisma.order.findMany({ select: { accountId: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Order. * @param {OrderCreateArgs} args - Arguments to create a Order. * @example * // Create one Order * const Order = await prisma.order.create({ * data: { * // ... data to create a Order * } * }) * */ create(args: SelectSubset>): Prisma__OrderClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Orders. * @param {OrderCreateManyArgs} args - Arguments to create many Orders. * @example * // Create many Orders * const order = await prisma.order.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Orders and returns the data saved in the database. * @param {OrderCreateManyAndReturnArgs} args - Arguments to create many Orders. * @example * // Create many Orders * const order = await prisma.order.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Orders and only return the `accountId` * const orderWithAccountIdOnly = await prisma.order.createManyAndReturn({ * select: { accountId: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Order. * @param {OrderDeleteArgs} args - Arguments to delete one Order. * @example * // Delete one Order * const Order = await prisma.order.delete({ * where: { * // ... filter to delete one Order * } * }) * */ delete(args: SelectSubset>): Prisma__OrderClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Order. * @param {OrderUpdateArgs} args - Arguments to update one Order. * @example * // Update one Order * const order = await prisma.order.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__OrderClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Orders. * @param {OrderDeleteManyArgs} args - Arguments to filter Orders to delete. * @example * // Delete a few Orders * const { count } = await prisma.order.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Orders. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrderUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Orders * const order = await prisma.order.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Orders and returns the data updated in the database. * @param {OrderUpdateManyAndReturnArgs} args - Arguments to update many Orders. * @example * // Update many Orders * const order = await prisma.order.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Orders and only return the `accountId` * const orderWithAccountIdOnly = await prisma.order.updateManyAndReturn({ * select: { accountId: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Order. * @param {OrderUpsertArgs} args - Arguments to update or create a Order. * @example * // Update or create a Order * const order = await prisma.order.upsert({ * create: { * // ... data to create a Order * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Order we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__OrderClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Orders. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrderCountArgs} args - Arguments to filter Orders to count. * @example * // Count the number of Orders * const count = await prisma.order.count({ * where: { * // ... the filter for the Orders we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Order. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrderAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Order. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {OrderGroupByArgs} 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 OrderGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: OrderGroupByArgs['orderBy'] } : { orderBy?: OrderGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetOrderGroupByPayload : Prisma.PrismaPromise /** * Fields of the Order model */ readonly fields: OrderFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Order. * 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__OrderClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" account = {}>(args?: Subset>): Prisma__AccountClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> tags = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> SymbolProfile = {}>(args?: Subset>): Prisma__SymbolProfileClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the Order model */ interface OrderFieldRefs { readonly accountId: FieldRef<"Order", 'String'> readonly accountUserId: FieldRef<"Order", 'String'> readonly comment: FieldRef<"Order", 'String'> readonly createdAt: FieldRef<"Order", 'DateTime'> readonly currency: FieldRef<"Order", 'String'> readonly date: FieldRef<"Order", 'DateTime'> readonly fee: FieldRef<"Order", 'Float'> readonly id: FieldRef<"Order", 'String'> readonly isDraft: FieldRef<"Order", 'Boolean'> readonly quantity: FieldRef<"Order", 'Float'> readonly symbolProfileId: FieldRef<"Order", 'String'> readonly type: FieldRef<"Order", 'Type'> readonly unitPrice: FieldRef<"Order", 'Float'> readonly updatedAt: FieldRef<"Order", 'DateTime'> readonly userId: FieldRef<"Order", 'String'> } // Custom InputTypes /** * Order findUnique */ export type OrderFindUniqueArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelect | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrderInclude | null /** * Filter, which Order to fetch. */ where: OrderWhereUniqueInput } /** * Order findUniqueOrThrow */ export type OrderFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelect | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrderInclude | null /** * Filter, which Order to fetch. */ where: OrderWhereUniqueInput } /** * Order findFirst */ export type OrderFindFirstArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelect | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrderInclude | null /** * Filter, which Order to fetch. */ where?: OrderWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Orders to fetch. */ orderBy?: OrderOrderByWithRelationInput | OrderOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Orders. */ cursor?: OrderWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Orders from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Orders. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Orders. */ distinct?: OrderScalarFieldEnum | OrderScalarFieldEnum[] } /** * Order findFirstOrThrow */ export type OrderFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelect | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrderInclude | null /** * Filter, which Order to fetch. */ where?: OrderWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Orders to fetch. */ orderBy?: OrderOrderByWithRelationInput | OrderOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Orders. */ cursor?: OrderWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Orders from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Orders. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Orders. */ distinct?: OrderScalarFieldEnum | OrderScalarFieldEnum[] } /** * Order findMany */ export type OrderFindManyArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelect | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrderInclude | null /** * Filter, which Orders to fetch. */ where?: OrderWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Orders to fetch. */ orderBy?: OrderOrderByWithRelationInput | OrderOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Orders. */ cursor?: OrderWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Orders from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Orders. */ skip?: number distinct?: OrderScalarFieldEnum | OrderScalarFieldEnum[] } /** * Order create */ export type OrderCreateArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelect | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrderInclude | null /** * The data needed to create a Order. */ data: XOR } /** * Order createMany */ export type OrderCreateManyArgs = { /** * The data used to create many Orders. */ data: OrderCreateManyInput | OrderCreateManyInput[] skipDuplicates?: boolean } /** * Order createManyAndReturn */ export type OrderCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelectCreateManyAndReturn | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * The data used to create many Orders. */ data: OrderCreateManyInput | OrderCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: OrderIncludeCreateManyAndReturn | null } /** * Order update */ export type OrderUpdateArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelect | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrderInclude | null /** * The data needed to update a Order. */ data: XOR /** * Choose, which Order to update. */ where: OrderWhereUniqueInput } /** * Order updateMany */ export type OrderUpdateManyArgs = { /** * The data used to update Orders. */ data: XOR /** * Filter which Orders to update */ where?: OrderWhereInput /** * Limit how many Orders to update. */ limit?: number } /** * Order updateManyAndReturn */ export type OrderUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelectUpdateManyAndReturn | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * The data used to update Orders. */ data: XOR /** * Filter which Orders to update */ where?: OrderWhereInput /** * Limit how many Orders to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: OrderIncludeUpdateManyAndReturn | null } /** * Order upsert */ export type OrderUpsertArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelect | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrderInclude | null /** * The filter to search for the Order to update in case it exists. */ where: OrderWhereUniqueInput /** * In case the Order found by the `where` argument doesn't exist, create a new Order with this data. */ create: XOR /** * In case the Order was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Order delete */ export type OrderDeleteArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelect | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrderInclude | null /** * Filter which Order to delete. */ where: OrderWhereUniqueInput } /** * Order deleteMany */ export type OrderDeleteManyArgs = { /** * Filter which Orders to delete */ where?: OrderWhereInput /** * Limit how many Orders to delete. */ limit?: number } /** * Order.account */ export type Order$accountArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null where?: AccountWhereInput } /** * Order.tags */ export type Order$tagsArgs = { /** * Select specific fields to fetch from the Tag */ select?: TagSelect | null /** * Omit specific fields from the Tag */ omit?: TagOmit | null /** * Choose, which related nodes to fetch as well */ include?: TagInclude | null where?: TagWhereInput orderBy?: TagOrderByWithRelationInput | TagOrderByWithRelationInput[] cursor?: TagWhereUniqueInput take?: number skip?: number distinct?: TagScalarFieldEnum | TagScalarFieldEnum[] } /** * Order without action */ export type OrderDefaultArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelect | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrderInclude | null } /** * Model Platform */ export type AggregatePlatform = { _count: PlatformCountAggregateOutputType | null _min: PlatformMinAggregateOutputType | null _max: PlatformMaxAggregateOutputType | null } export type PlatformMinAggregateOutputType = { id: string | null name: string | null url: string | null } export type PlatformMaxAggregateOutputType = { id: string | null name: string | null url: string | null } export type PlatformCountAggregateOutputType = { id: number name: number url: number _all: number } export type PlatformMinAggregateInputType = { id?: true name?: true url?: true } export type PlatformMaxAggregateInputType = { id?: true name?: true url?: true } export type PlatformCountAggregateInputType = { id?: true name?: true url?: true _all?: true } export type PlatformAggregateArgs = { /** * Filter which Platform to aggregate. */ where?: PlatformWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Platforms to fetch. */ orderBy?: PlatformOrderByWithRelationInput | PlatformOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: PlatformWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Platforms from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Platforms. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Platforms **/ _count?: true | PlatformCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: PlatformMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: PlatformMaxAggregateInputType } export type GetPlatformAggregateType = { [P in keyof T & keyof AggregatePlatform]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type PlatformGroupByArgs = { where?: PlatformWhereInput orderBy?: PlatformOrderByWithAggregationInput | PlatformOrderByWithAggregationInput[] by: PlatformScalarFieldEnum[] | PlatformScalarFieldEnum having?: PlatformScalarWhereWithAggregatesInput take?: number skip?: number _count?: PlatformCountAggregateInputType | true _min?: PlatformMinAggregateInputType _max?: PlatformMaxAggregateInputType } export type PlatformGroupByOutputType = { id: string name: string | null url: string _count: PlatformCountAggregateOutputType | null _min: PlatformMinAggregateOutputType | null _max: PlatformMaxAggregateOutputType | null } type GetPlatformGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof PlatformGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type PlatformSelect = $Extensions.GetSelect<{ id?: boolean name?: boolean url?: boolean accounts?: boolean | Platform$accountsArgs _count?: boolean | PlatformCountOutputTypeDefaultArgs }, ExtArgs["result"]["platform"]> export type PlatformSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean url?: boolean }, ExtArgs["result"]["platform"]> export type PlatformSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean url?: boolean }, ExtArgs["result"]["platform"]> export type PlatformSelectScalar = { id?: boolean name?: boolean url?: boolean } export type PlatformOmit = $Extensions.GetOmit<"id" | "name" | "url", ExtArgs["result"]["platform"]> export type PlatformInclude = { accounts?: boolean | Platform$accountsArgs _count?: boolean | PlatformCountOutputTypeDefaultArgs } export type PlatformIncludeCreateManyAndReturn = {} export type PlatformIncludeUpdateManyAndReturn = {} export type $PlatformPayload = { name: "Platform" objects: { accounts: Prisma.$AccountPayload[] } scalars: $Extensions.GetPayloadResult<{ id: string name: string | null url: string }, ExtArgs["result"]["platform"]> composites: {} } type PlatformGetPayload = $Result.GetResult type PlatformCountArgs = Omit & { select?: PlatformCountAggregateInputType | true } export interface PlatformDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Platform'], meta: { name: 'Platform' } } /** * Find zero or one Platform that matches the filter. * @param {PlatformFindUniqueArgs} args - Arguments to find a Platform * @example * // Get one Platform * const platform = await prisma.platform.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__PlatformClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Platform that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {PlatformFindUniqueOrThrowArgs} args - Arguments to find a Platform * @example * // Get one Platform * const platform = await prisma.platform.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__PlatformClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Platform 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 {PlatformFindFirstArgs} args - Arguments to find a Platform * @example * // Get one Platform * const platform = await prisma.platform.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__PlatformClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Platform 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 {PlatformFindFirstOrThrowArgs} args - Arguments to find a Platform * @example * // Get one Platform * const platform = await prisma.platform.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__PlatformClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Platforms 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 {PlatformFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Platforms * const platforms = await prisma.platform.findMany() * * // Get first 10 Platforms * const platforms = await prisma.platform.findMany({ take: 10 }) * * // Only select the `id` * const platformWithIdOnly = await prisma.platform.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Platform. * @param {PlatformCreateArgs} args - Arguments to create a Platform. * @example * // Create one Platform * const Platform = await prisma.platform.create({ * data: { * // ... data to create a Platform * } * }) * */ create(args: SelectSubset>): Prisma__PlatformClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Platforms. * @param {PlatformCreateManyArgs} args - Arguments to create many Platforms. * @example * // Create many Platforms * const platform = await prisma.platform.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Platforms and returns the data saved in the database. * @param {PlatformCreateManyAndReturnArgs} args - Arguments to create many Platforms. * @example * // Create many Platforms * const platform = await prisma.platform.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Platforms and only return the `id` * const platformWithIdOnly = await prisma.platform.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Platform. * @param {PlatformDeleteArgs} args - Arguments to delete one Platform. * @example * // Delete one Platform * const Platform = await prisma.platform.delete({ * where: { * // ... filter to delete one Platform * } * }) * */ delete(args: SelectSubset>): Prisma__PlatformClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Platform. * @param {PlatformUpdateArgs} args - Arguments to update one Platform. * @example * // Update one Platform * const platform = await prisma.platform.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__PlatformClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Platforms. * @param {PlatformDeleteManyArgs} args - Arguments to filter Platforms to delete. * @example * // Delete a few Platforms * const { count } = await prisma.platform.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Platforms. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PlatformUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Platforms * const platform = await prisma.platform.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Platforms and returns the data updated in the database. * @param {PlatformUpdateManyAndReturnArgs} args - Arguments to update many Platforms. * @example * // Update many Platforms * const platform = await prisma.platform.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Platforms and only return the `id` * const platformWithIdOnly = await prisma.platform.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Platform. * @param {PlatformUpsertArgs} args - Arguments to update or create a Platform. * @example * // Update or create a Platform * const platform = await prisma.platform.upsert({ * create: { * // ... data to create a Platform * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Platform we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__PlatformClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Platforms. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PlatformCountArgs} args - Arguments to filter Platforms to count. * @example * // Count the number of Platforms * const count = await prisma.platform.count({ * where: { * // ... the filter for the Platforms we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Platform. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PlatformAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Platform. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PlatformGroupByArgs} 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 PlatformGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: PlatformGroupByArgs['orderBy'] } : { orderBy?: PlatformGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetPlatformGroupByPayload : Prisma.PrismaPromise /** * Fields of the Platform model */ readonly fields: PlatformFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Platform. * 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__PlatformClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" accounts = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the Platform model */ interface PlatformFieldRefs { readonly id: FieldRef<"Platform", 'String'> readonly name: FieldRef<"Platform", 'String'> readonly url: FieldRef<"Platform", 'String'> } // Custom InputTypes /** * Platform findUnique */ export type PlatformFindUniqueArgs = { /** * Select specific fields to fetch from the Platform */ select?: PlatformSelect | null /** * Omit specific fields from the Platform */ omit?: PlatformOmit | null /** * Choose, which related nodes to fetch as well */ include?: PlatformInclude | null /** * Filter, which Platform to fetch. */ where: PlatformWhereUniqueInput } /** * Platform findUniqueOrThrow */ export type PlatformFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Platform */ select?: PlatformSelect | null /** * Omit specific fields from the Platform */ omit?: PlatformOmit | null /** * Choose, which related nodes to fetch as well */ include?: PlatformInclude | null /** * Filter, which Platform to fetch. */ where: PlatformWhereUniqueInput } /** * Platform findFirst */ export type PlatformFindFirstArgs = { /** * Select specific fields to fetch from the Platform */ select?: PlatformSelect | null /** * Omit specific fields from the Platform */ omit?: PlatformOmit | null /** * Choose, which related nodes to fetch as well */ include?: PlatformInclude | null /** * Filter, which Platform to fetch. */ where?: PlatformWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Platforms to fetch. */ orderBy?: PlatformOrderByWithRelationInput | PlatformOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Platforms. */ cursor?: PlatformWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Platforms from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Platforms. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Platforms. */ distinct?: PlatformScalarFieldEnum | PlatformScalarFieldEnum[] } /** * Platform findFirstOrThrow */ export type PlatformFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Platform */ select?: PlatformSelect | null /** * Omit specific fields from the Platform */ omit?: PlatformOmit | null /** * Choose, which related nodes to fetch as well */ include?: PlatformInclude | null /** * Filter, which Platform to fetch. */ where?: PlatformWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Platforms to fetch. */ orderBy?: PlatformOrderByWithRelationInput | PlatformOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Platforms. */ cursor?: PlatformWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Platforms from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Platforms. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Platforms. */ distinct?: PlatformScalarFieldEnum | PlatformScalarFieldEnum[] } /** * Platform findMany */ export type PlatformFindManyArgs = { /** * Select specific fields to fetch from the Platform */ select?: PlatformSelect | null /** * Omit specific fields from the Platform */ omit?: PlatformOmit | null /** * Choose, which related nodes to fetch as well */ include?: PlatformInclude | null /** * Filter, which Platforms to fetch. */ where?: PlatformWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Platforms to fetch. */ orderBy?: PlatformOrderByWithRelationInput | PlatformOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Platforms. */ cursor?: PlatformWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Platforms from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Platforms. */ skip?: number distinct?: PlatformScalarFieldEnum | PlatformScalarFieldEnum[] } /** * Platform create */ export type PlatformCreateArgs = { /** * Select specific fields to fetch from the Platform */ select?: PlatformSelect | null /** * Omit specific fields from the Platform */ omit?: PlatformOmit | null /** * Choose, which related nodes to fetch as well */ include?: PlatformInclude | null /** * The data needed to create a Platform. */ data: XOR } /** * Platform createMany */ export type PlatformCreateManyArgs = { /** * The data used to create many Platforms. */ data: PlatformCreateManyInput | PlatformCreateManyInput[] skipDuplicates?: boolean } /** * Platform createManyAndReturn */ export type PlatformCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Platform */ select?: PlatformSelectCreateManyAndReturn | null /** * Omit specific fields from the Platform */ omit?: PlatformOmit | null /** * The data used to create many Platforms. */ data: PlatformCreateManyInput | PlatformCreateManyInput[] skipDuplicates?: boolean } /** * Platform update */ export type PlatformUpdateArgs = { /** * Select specific fields to fetch from the Platform */ select?: PlatformSelect | null /** * Omit specific fields from the Platform */ omit?: PlatformOmit | null /** * Choose, which related nodes to fetch as well */ include?: PlatformInclude | null /** * The data needed to update a Platform. */ data: XOR /** * Choose, which Platform to update. */ where: PlatformWhereUniqueInput } /** * Platform updateMany */ export type PlatformUpdateManyArgs = { /** * The data used to update Platforms. */ data: XOR /** * Filter which Platforms to update */ where?: PlatformWhereInput /** * Limit how many Platforms to update. */ limit?: number } /** * Platform updateManyAndReturn */ export type PlatformUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Platform */ select?: PlatformSelectUpdateManyAndReturn | null /** * Omit specific fields from the Platform */ omit?: PlatformOmit | null /** * The data used to update Platforms. */ data: XOR /** * Filter which Platforms to update */ where?: PlatformWhereInput /** * Limit how many Platforms to update. */ limit?: number } /** * Platform upsert */ export type PlatformUpsertArgs = { /** * Select specific fields to fetch from the Platform */ select?: PlatformSelect | null /** * Omit specific fields from the Platform */ omit?: PlatformOmit | null /** * Choose, which related nodes to fetch as well */ include?: PlatformInclude | null /** * The filter to search for the Platform to update in case it exists. */ where: PlatformWhereUniqueInput /** * In case the Platform found by the `where` argument doesn't exist, create a new Platform with this data. */ create: XOR /** * In case the Platform was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Platform delete */ export type PlatformDeleteArgs = { /** * Select specific fields to fetch from the Platform */ select?: PlatformSelect | null /** * Omit specific fields from the Platform */ omit?: PlatformOmit | null /** * Choose, which related nodes to fetch as well */ include?: PlatformInclude | null /** * Filter which Platform to delete. */ where: PlatformWhereUniqueInput } /** * Platform deleteMany */ export type PlatformDeleteManyArgs = { /** * Filter which Platforms to delete */ where?: PlatformWhereInput /** * Limit how many Platforms to delete. */ limit?: number } /** * Platform.accounts */ export type Platform$accountsArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null where?: AccountWhereInput orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[] cursor?: AccountWhereUniqueInput take?: number skip?: number distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[] } /** * Platform without action */ export type PlatformDefaultArgs = { /** * Select specific fields to fetch from the Platform */ select?: PlatformSelect | null /** * Omit specific fields from the Platform */ omit?: PlatformOmit | null /** * Choose, which related nodes to fetch as well */ include?: PlatformInclude | null } /** * Model Property */ export type AggregateProperty = { _count: PropertyCountAggregateOutputType | null _min: PropertyMinAggregateOutputType | null _max: PropertyMaxAggregateOutputType | null } export type PropertyMinAggregateOutputType = { key: string | null value: string | null } export type PropertyMaxAggregateOutputType = { key: string | null value: string | null } export type PropertyCountAggregateOutputType = { key: number value: number _all: number } export type PropertyMinAggregateInputType = { key?: true value?: true } export type PropertyMaxAggregateInputType = { key?: true value?: true } export type PropertyCountAggregateInputType = { key?: true value?: true _all?: true } export type PropertyAggregateArgs = { /** * Filter which Property to aggregate. */ where?: PropertyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Properties to fetch. */ orderBy?: PropertyOrderByWithRelationInput | PropertyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: PropertyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Properties from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Properties. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Properties **/ _count?: true | PropertyCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: PropertyMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: PropertyMaxAggregateInputType } export type GetPropertyAggregateType = { [P in keyof T & keyof AggregateProperty]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type PropertyGroupByArgs = { where?: PropertyWhereInput orderBy?: PropertyOrderByWithAggregationInput | PropertyOrderByWithAggregationInput[] by: PropertyScalarFieldEnum[] | PropertyScalarFieldEnum having?: PropertyScalarWhereWithAggregatesInput take?: number skip?: number _count?: PropertyCountAggregateInputType | true _min?: PropertyMinAggregateInputType _max?: PropertyMaxAggregateInputType } export type PropertyGroupByOutputType = { key: string value: string _count: PropertyCountAggregateOutputType | null _min: PropertyMinAggregateOutputType | null _max: PropertyMaxAggregateOutputType | null } type GetPropertyGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof PropertyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type PropertySelect = $Extensions.GetSelect<{ key?: boolean value?: boolean }, ExtArgs["result"]["property"]> export type PropertySelectCreateManyAndReturn = $Extensions.GetSelect<{ key?: boolean value?: boolean }, ExtArgs["result"]["property"]> export type PropertySelectUpdateManyAndReturn = $Extensions.GetSelect<{ key?: boolean value?: boolean }, ExtArgs["result"]["property"]> export type PropertySelectScalar = { key?: boolean value?: boolean } export type PropertyOmit = $Extensions.GetOmit<"key" | "value", ExtArgs["result"]["property"]> export type $PropertyPayload = { name: "Property" objects: {} scalars: $Extensions.GetPayloadResult<{ key: string value: string }, ExtArgs["result"]["property"]> composites: {} } type PropertyGetPayload = $Result.GetResult type PropertyCountArgs = Omit & { select?: PropertyCountAggregateInputType | true } export interface PropertyDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Property'], meta: { name: 'Property' } } /** * Find zero or one Property that matches the filter. * @param {PropertyFindUniqueArgs} args - Arguments to find a Property * @example * // Get one Property * const property = await prisma.property.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__PropertyClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Property that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {PropertyFindUniqueOrThrowArgs} args - Arguments to find a Property * @example * // Get one Property * const property = await prisma.property.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__PropertyClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Property 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 {PropertyFindFirstArgs} args - Arguments to find a Property * @example * // Get one Property * const property = await prisma.property.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__PropertyClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Property 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 {PropertyFindFirstOrThrowArgs} args - Arguments to find a Property * @example * // Get one Property * const property = await prisma.property.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__PropertyClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Properties 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 {PropertyFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Properties * const properties = await prisma.property.findMany() * * // Get first 10 Properties * const properties = await prisma.property.findMany({ take: 10 }) * * // Only select the `key` * const propertyWithKeyOnly = await prisma.property.findMany({ select: { key: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Property. * @param {PropertyCreateArgs} args - Arguments to create a Property. * @example * // Create one Property * const Property = await prisma.property.create({ * data: { * // ... data to create a Property * } * }) * */ create(args: SelectSubset>): Prisma__PropertyClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Properties. * @param {PropertyCreateManyArgs} args - Arguments to create many Properties. * @example * // Create many Properties * const property = await prisma.property.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Properties and returns the data saved in the database. * @param {PropertyCreateManyAndReturnArgs} args - Arguments to create many Properties. * @example * // Create many Properties * const property = await prisma.property.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Properties and only return the `key` * const propertyWithKeyOnly = await prisma.property.createManyAndReturn({ * select: { key: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Property. * @param {PropertyDeleteArgs} args - Arguments to delete one Property. * @example * // Delete one Property * const Property = await prisma.property.delete({ * where: { * // ... filter to delete one Property * } * }) * */ delete(args: SelectSubset>): Prisma__PropertyClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Property. * @param {PropertyUpdateArgs} args - Arguments to update one Property. * @example * // Update one Property * const property = await prisma.property.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__PropertyClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Properties. * @param {PropertyDeleteManyArgs} args - Arguments to filter Properties to delete. * @example * // Delete a few Properties * const { count } = await prisma.property.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Properties. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PropertyUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Properties * const property = await prisma.property.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Properties and returns the data updated in the database. * @param {PropertyUpdateManyAndReturnArgs} args - Arguments to update many Properties. * @example * // Update many Properties * const property = await prisma.property.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Properties and only return the `key` * const propertyWithKeyOnly = await prisma.property.updateManyAndReturn({ * select: { key: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Property. * @param {PropertyUpsertArgs} args - Arguments to update or create a Property. * @example * // Update or create a Property * const property = await prisma.property.upsert({ * create: { * // ... data to create a Property * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Property we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__PropertyClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Properties. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PropertyCountArgs} args - Arguments to filter Properties to count. * @example * // Count the number of Properties * const count = await prisma.property.count({ * where: { * // ... the filter for the Properties we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Property. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PropertyAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Property. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PropertyGroupByArgs} 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 PropertyGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: PropertyGroupByArgs['orderBy'] } : { orderBy?: PropertyGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetPropertyGroupByPayload : Prisma.PrismaPromise /** * Fields of the Property model */ readonly fields: PropertyFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Property. * 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__PropertyClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the Property model */ interface PropertyFieldRefs { readonly key: FieldRef<"Property", 'String'> readonly value: FieldRef<"Property", 'String'> } // Custom InputTypes /** * Property findUnique */ export type PropertyFindUniqueArgs = { /** * Select specific fields to fetch from the Property */ select?: PropertySelect | null /** * Omit specific fields from the Property */ omit?: PropertyOmit | null /** * Filter, which Property to fetch. */ where: PropertyWhereUniqueInput } /** * Property findUniqueOrThrow */ export type PropertyFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Property */ select?: PropertySelect | null /** * Omit specific fields from the Property */ omit?: PropertyOmit | null /** * Filter, which Property to fetch. */ where: PropertyWhereUniqueInput } /** * Property findFirst */ export type PropertyFindFirstArgs = { /** * Select specific fields to fetch from the Property */ select?: PropertySelect | null /** * Omit specific fields from the Property */ omit?: PropertyOmit | null /** * Filter, which Property to fetch. */ where?: PropertyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Properties to fetch. */ orderBy?: PropertyOrderByWithRelationInput | PropertyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Properties. */ cursor?: PropertyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Properties from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Properties. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Properties. */ distinct?: PropertyScalarFieldEnum | PropertyScalarFieldEnum[] } /** * Property findFirstOrThrow */ export type PropertyFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Property */ select?: PropertySelect | null /** * Omit specific fields from the Property */ omit?: PropertyOmit | null /** * Filter, which Property to fetch. */ where?: PropertyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Properties to fetch. */ orderBy?: PropertyOrderByWithRelationInput | PropertyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Properties. */ cursor?: PropertyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Properties from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Properties. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Properties. */ distinct?: PropertyScalarFieldEnum | PropertyScalarFieldEnum[] } /** * Property findMany */ export type PropertyFindManyArgs = { /** * Select specific fields to fetch from the Property */ select?: PropertySelect | null /** * Omit specific fields from the Property */ omit?: PropertyOmit | null /** * Filter, which Properties to fetch. */ where?: PropertyWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Properties to fetch. */ orderBy?: PropertyOrderByWithRelationInput | PropertyOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Properties. */ cursor?: PropertyWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Properties from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Properties. */ skip?: number distinct?: PropertyScalarFieldEnum | PropertyScalarFieldEnum[] } /** * Property create */ export type PropertyCreateArgs = { /** * Select specific fields to fetch from the Property */ select?: PropertySelect | null /** * Omit specific fields from the Property */ omit?: PropertyOmit | null /** * The data needed to create a Property. */ data: XOR } /** * Property createMany */ export type PropertyCreateManyArgs = { /** * The data used to create many Properties. */ data: PropertyCreateManyInput | PropertyCreateManyInput[] skipDuplicates?: boolean } /** * Property createManyAndReturn */ export type PropertyCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Property */ select?: PropertySelectCreateManyAndReturn | null /** * Omit specific fields from the Property */ omit?: PropertyOmit | null /** * The data used to create many Properties. */ data: PropertyCreateManyInput | PropertyCreateManyInput[] skipDuplicates?: boolean } /** * Property update */ export type PropertyUpdateArgs = { /** * Select specific fields to fetch from the Property */ select?: PropertySelect | null /** * Omit specific fields from the Property */ omit?: PropertyOmit | null /** * The data needed to update a Property. */ data: XOR /** * Choose, which Property to update. */ where: PropertyWhereUniqueInput } /** * Property updateMany */ export type PropertyUpdateManyArgs = { /** * The data used to update Properties. */ data: XOR /** * Filter which Properties to update */ where?: PropertyWhereInput /** * Limit how many Properties to update. */ limit?: number } /** * Property updateManyAndReturn */ export type PropertyUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Property */ select?: PropertySelectUpdateManyAndReturn | null /** * Omit specific fields from the Property */ omit?: PropertyOmit | null /** * The data used to update Properties. */ data: XOR /** * Filter which Properties to update */ where?: PropertyWhereInput /** * Limit how many Properties to update. */ limit?: number } /** * Property upsert */ export type PropertyUpsertArgs = { /** * Select specific fields to fetch from the Property */ select?: PropertySelect | null /** * Omit specific fields from the Property */ omit?: PropertyOmit | null /** * The filter to search for the Property to update in case it exists. */ where: PropertyWhereUniqueInput /** * In case the Property found by the `where` argument doesn't exist, create a new Property with this data. */ create: XOR /** * In case the Property was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Property delete */ export type PropertyDeleteArgs = { /** * Select specific fields to fetch from the Property */ select?: PropertySelect | null /** * Omit specific fields from the Property */ omit?: PropertyOmit | null /** * Filter which Property to delete. */ where: PropertyWhereUniqueInput } /** * Property deleteMany */ export type PropertyDeleteManyArgs = { /** * Filter which Properties to delete */ where?: PropertyWhereInput /** * Limit how many Properties to delete. */ limit?: number } /** * Property without action */ export type PropertyDefaultArgs = { /** * Select specific fields to fetch from the Property */ select?: PropertySelect | null /** * Omit specific fields from the Property */ omit?: PropertyOmit | null } /** * Model Settings */ export type AggregateSettings = { _count: SettingsCountAggregateOutputType | null _min: SettingsMinAggregateOutputType | null _max: SettingsMaxAggregateOutputType | null } export type SettingsMinAggregateOutputType = { updatedAt: Date | null userId: string | null } export type SettingsMaxAggregateOutputType = { updatedAt: Date | null userId: string | null } export type SettingsCountAggregateOutputType = { settings: number updatedAt: number userId: number _all: number } export type SettingsMinAggregateInputType = { updatedAt?: true userId?: true } export type SettingsMaxAggregateInputType = { updatedAt?: true userId?: true } export type SettingsCountAggregateInputType = { settings?: true updatedAt?: true userId?: true _all?: true } export type SettingsAggregateArgs = { /** * Filter which Settings to aggregate. */ where?: SettingsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Settings to fetch. */ orderBy?: SettingsOrderByWithRelationInput | SettingsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SettingsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Settings from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Settings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Settings **/ _count?: true | SettingsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SettingsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SettingsMaxAggregateInputType } export type GetSettingsAggregateType = { [P in keyof T & keyof AggregateSettings]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SettingsGroupByArgs = { where?: SettingsWhereInput orderBy?: SettingsOrderByWithAggregationInput | SettingsOrderByWithAggregationInput[] by: SettingsScalarFieldEnum[] | SettingsScalarFieldEnum having?: SettingsScalarWhereWithAggregatesInput take?: number skip?: number _count?: SettingsCountAggregateInputType | true _min?: SettingsMinAggregateInputType _max?: SettingsMaxAggregateInputType } export type SettingsGroupByOutputType = { settings: JsonValue | null updatedAt: Date userId: string _count: SettingsCountAggregateOutputType | null _min: SettingsMinAggregateOutputType | null _max: SettingsMaxAggregateOutputType | null } type GetSettingsGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SettingsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SettingsSelect = $Extensions.GetSelect<{ settings?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["settings"]> export type SettingsSelectCreateManyAndReturn = $Extensions.GetSelect<{ settings?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["settings"]> export type SettingsSelectUpdateManyAndReturn = $Extensions.GetSelect<{ settings?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["settings"]> export type SettingsSelectScalar = { settings?: boolean updatedAt?: boolean userId?: boolean } export type SettingsOmit = $Extensions.GetOmit<"settings" | "updatedAt" | "userId", ExtArgs["result"]["settings"]> export type SettingsInclude = { user?: boolean | UserDefaultArgs } export type SettingsIncludeCreateManyAndReturn = { user?: boolean | UserDefaultArgs } export type SettingsIncludeUpdateManyAndReturn = { user?: boolean | UserDefaultArgs } export type $SettingsPayload = { name: "Settings" objects: { user: Prisma.$UserPayload } scalars: $Extensions.GetPayloadResult<{ settings: Prisma.JsonValue | null updatedAt: Date userId: string }, ExtArgs["result"]["settings"]> composites: {} } type SettingsGetPayload = $Result.GetResult type SettingsCountArgs = Omit & { select?: SettingsCountAggregateInputType | true } export interface SettingsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Settings'], meta: { name: 'Settings' } } /** * Find zero or one Settings that matches the filter. * @param {SettingsFindUniqueArgs} args - Arguments to find a Settings * @example * // Get one Settings * const settings = await prisma.settings.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SettingsClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Settings that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SettingsFindUniqueOrThrowArgs} args - Arguments to find a Settings * @example * // Get one Settings * const settings = await prisma.settings.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SettingsClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Settings 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 {SettingsFindFirstArgs} args - Arguments to find a Settings * @example * // Get one Settings * const settings = await prisma.settings.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SettingsClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Settings 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 {SettingsFindFirstOrThrowArgs} args - Arguments to find a Settings * @example * // Get one Settings * const settings = await prisma.settings.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SettingsClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Settings 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 {SettingsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Settings * const settings = await prisma.settings.findMany() * * // Get first 10 Settings * const settings = await prisma.settings.findMany({ take: 10 }) * * // Only select the `settings` * const settingsWithSettingsOnly = await prisma.settings.findMany({ select: { settings: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Settings. * @param {SettingsCreateArgs} args - Arguments to create a Settings. * @example * // Create one Settings * const Settings = await prisma.settings.create({ * data: { * // ... data to create a Settings * } * }) * */ create(args: SelectSubset>): Prisma__SettingsClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Settings. * @param {SettingsCreateManyArgs} args - Arguments to create many Settings. * @example * // Create many Settings * const settings = await prisma.settings.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Settings and returns the data saved in the database. * @param {SettingsCreateManyAndReturnArgs} args - Arguments to create many Settings. * @example * // Create many Settings * const settings = await prisma.settings.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Settings and only return the `settings` * const settingsWithSettingsOnly = await prisma.settings.createManyAndReturn({ * select: { settings: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Settings. * @param {SettingsDeleteArgs} args - Arguments to delete one Settings. * @example * // Delete one Settings * const Settings = await prisma.settings.delete({ * where: { * // ... filter to delete one Settings * } * }) * */ delete(args: SelectSubset>): Prisma__SettingsClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Settings. * @param {SettingsUpdateArgs} args - Arguments to update one Settings. * @example * // Update one Settings * const settings = await prisma.settings.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SettingsClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Settings. * @param {SettingsDeleteManyArgs} args - Arguments to filter Settings to delete. * @example * // Delete a few Settings * const { count } = await prisma.settings.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Settings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SettingsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Settings * const settings = await prisma.settings.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Settings and returns the data updated in the database. * @param {SettingsUpdateManyAndReturnArgs} args - Arguments to update many Settings. * @example * // Update many Settings * const settings = await prisma.settings.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Settings and only return the `settings` * const settingsWithSettingsOnly = await prisma.settings.updateManyAndReturn({ * select: { settings: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Settings. * @param {SettingsUpsertArgs} args - Arguments to update or create a Settings. * @example * // Update or create a Settings * const settings = await prisma.settings.upsert({ * create: { * // ... data to create a Settings * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Settings we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SettingsClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Settings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SettingsCountArgs} args - Arguments to filter Settings to count. * @example * // Count the number of Settings * const count = await prisma.settings.count({ * where: { * // ... the filter for the Settings we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Settings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SettingsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Settings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SettingsGroupByArgs} 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 SettingsGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SettingsGroupByArgs['orderBy'] } : { orderBy?: SettingsGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetSettingsGroupByPayload : Prisma.PrismaPromise /** * Fields of the Settings model */ readonly fields: SettingsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Settings. * 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__SettingsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the Settings model */ interface SettingsFieldRefs { readonly settings: FieldRef<"Settings", 'Json'> readonly updatedAt: FieldRef<"Settings", 'DateTime'> readonly userId: FieldRef<"Settings", 'String'> } // Custom InputTypes /** * Settings findUnique */ export type SettingsFindUniqueArgs = { /** * Select specific fields to fetch from the Settings */ select?: SettingsSelect | null /** * Omit specific fields from the Settings */ omit?: SettingsOmit | null /** * Choose, which related nodes to fetch as well */ include?: SettingsInclude | null /** * Filter, which Settings to fetch. */ where: SettingsWhereUniqueInput } /** * Settings findUniqueOrThrow */ export type SettingsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Settings */ select?: SettingsSelect | null /** * Omit specific fields from the Settings */ omit?: SettingsOmit | null /** * Choose, which related nodes to fetch as well */ include?: SettingsInclude | null /** * Filter, which Settings to fetch. */ where: SettingsWhereUniqueInput } /** * Settings findFirst */ export type SettingsFindFirstArgs = { /** * Select specific fields to fetch from the Settings */ select?: SettingsSelect | null /** * Omit specific fields from the Settings */ omit?: SettingsOmit | null /** * Choose, which related nodes to fetch as well */ include?: SettingsInclude | null /** * Filter, which Settings to fetch. */ where?: SettingsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Settings to fetch. */ orderBy?: SettingsOrderByWithRelationInput | SettingsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Settings. */ cursor?: SettingsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Settings from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Settings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Settings. */ distinct?: SettingsScalarFieldEnum | SettingsScalarFieldEnum[] } /** * Settings findFirstOrThrow */ export type SettingsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Settings */ select?: SettingsSelect | null /** * Omit specific fields from the Settings */ omit?: SettingsOmit | null /** * Choose, which related nodes to fetch as well */ include?: SettingsInclude | null /** * Filter, which Settings to fetch. */ where?: SettingsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Settings to fetch. */ orderBy?: SettingsOrderByWithRelationInput | SettingsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Settings. */ cursor?: SettingsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Settings from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Settings. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Settings. */ distinct?: SettingsScalarFieldEnum | SettingsScalarFieldEnum[] } /** * Settings findMany */ export type SettingsFindManyArgs = { /** * Select specific fields to fetch from the Settings */ select?: SettingsSelect | null /** * Omit specific fields from the Settings */ omit?: SettingsOmit | null /** * Choose, which related nodes to fetch as well */ include?: SettingsInclude | null /** * Filter, which Settings to fetch. */ where?: SettingsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Settings to fetch. */ orderBy?: SettingsOrderByWithRelationInput | SettingsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Settings. */ cursor?: SettingsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Settings from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Settings. */ skip?: number distinct?: SettingsScalarFieldEnum | SettingsScalarFieldEnum[] } /** * Settings create */ export type SettingsCreateArgs = { /** * Select specific fields to fetch from the Settings */ select?: SettingsSelect | null /** * Omit specific fields from the Settings */ omit?: SettingsOmit | null /** * Choose, which related nodes to fetch as well */ include?: SettingsInclude | null /** * The data needed to create a Settings. */ data: XOR } /** * Settings createMany */ export type SettingsCreateManyArgs = { /** * The data used to create many Settings. */ data: SettingsCreateManyInput | SettingsCreateManyInput[] skipDuplicates?: boolean } /** * Settings createManyAndReturn */ export type SettingsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Settings */ select?: SettingsSelectCreateManyAndReturn | null /** * Omit specific fields from the Settings */ omit?: SettingsOmit | null /** * The data used to create many Settings. */ data: SettingsCreateManyInput | SettingsCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SettingsIncludeCreateManyAndReturn | null } /** * Settings update */ export type SettingsUpdateArgs = { /** * Select specific fields to fetch from the Settings */ select?: SettingsSelect | null /** * Omit specific fields from the Settings */ omit?: SettingsOmit | null /** * Choose, which related nodes to fetch as well */ include?: SettingsInclude | null /** * The data needed to update a Settings. */ data: XOR /** * Choose, which Settings to update. */ where: SettingsWhereUniqueInput } /** * Settings updateMany */ export type SettingsUpdateManyArgs = { /** * The data used to update Settings. */ data: XOR /** * Filter which Settings to update */ where?: SettingsWhereInput /** * Limit how many Settings to update. */ limit?: number } /** * Settings updateManyAndReturn */ export type SettingsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Settings */ select?: SettingsSelectUpdateManyAndReturn | null /** * Omit specific fields from the Settings */ omit?: SettingsOmit | null /** * The data used to update Settings. */ data: XOR /** * Filter which Settings to update */ where?: SettingsWhereInput /** * Limit how many Settings to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: SettingsIncludeUpdateManyAndReturn | null } /** * Settings upsert */ export type SettingsUpsertArgs = { /** * Select specific fields to fetch from the Settings */ select?: SettingsSelect | null /** * Omit specific fields from the Settings */ omit?: SettingsOmit | null /** * Choose, which related nodes to fetch as well */ include?: SettingsInclude | null /** * The filter to search for the Settings to update in case it exists. */ where: SettingsWhereUniqueInput /** * In case the Settings found by the `where` argument doesn't exist, create a new Settings with this data. */ create: XOR /** * In case the Settings was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Settings delete */ export type SettingsDeleteArgs = { /** * Select specific fields to fetch from the Settings */ select?: SettingsSelect | null /** * Omit specific fields from the Settings */ omit?: SettingsOmit | null /** * Choose, which related nodes to fetch as well */ include?: SettingsInclude | null /** * Filter which Settings to delete. */ where: SettingsWhereUniqueInput } /** * Settings deleteMany */ export type SettingsDeleteManyArgs = { /** * Filter which Settings to delete */ where?: SettingsWhereInput /** * Limit how many Settings to delete. */ limit?: number } /** * Settings without action */ export type SettingsDefaultArgs = { /** * Select specific fields to fetch from the Settings */ select?: SettingsSelect | null /** * Omit specific fields from the Settings */ omit?: SettingsOmit | null /** * Choose, which related nodes to fetch as well */ include?: SettingsInclude | null } /** * Model SymbolProfile */ export type AggregateSymbolProfile = { _count: SymbolProfileCountAggregateOutputType | null _min: SymbolProfileMinAggregateOutputType | null _max: SymbolProfileMaxAggregateOutputType | null } export type SymbolProfileMinAggregateOutputType = { assetClass: $Enums.AssetClass | null assetSubClass: $Enums.AssetSubClass | null comment: string | null createdAt: Date | null currency: string | null cusip: string | null dataSource: $Enums.DataSource | null figi: string | null figiComposite: string | null figiShareClass: string | null id: string | null isActive: boolean | null isin: string | null name: string | null updatedAt: Date | null symbol: string | null url: string | null userId: string | null } export type SymbolProfileMaxAggregateOutputType = { assetClass: $Enums.AssetClass | null assetSubClass: $Enums.AssetSubClass | null comment: string | null createdAt: Date | null currency: string | null cusip: string | null dataSource: $Enums.DataSource | null figi: string | null figiComposite: string | null figiShareClass: string | null id: string | null isActive: boolean | null isin: string | null name: string | null updatedAt: Date | null symbol: string | null url: string | null userId: string | null } export type SymbolProfileCountAggregateOutputType = { assetClass: number assetSubClass: number comment: number countries: number createdAt: number currency: number cusip: number dataSource: number figi: number figiComposite: number figiShareClass: number holdings: number id: number isActive: number isin: number name: number updatedAt: number scraperConfiguration: number sectors: number symbol: number symbolMapping: number url: number userId: number _all: number } export type SymbolProfileMinAggregateInputType = { assetClass?: true assetSubClass?: true comment?: true createdAt?: true currency?: true cusip?: true dataSource?: true figi?: true figiComposite?: true figiShareClass?: true id?: true isActive?: true isin?: true name?: true updatedAt?: true symbol?: true url?: true userId?: true } export type SymbolProfileMaxAggregateInputType = { assetClass?: true assetSubClass?: true comment?: true createdAt?: true currency?: true cusip?: true dataSource?: true figi?: true figiComposite?: true figiShareClass?: true id?: true isActive?: true isin?: true name?: true updatedAt?: true symbol?: true url?: true userId?: true } export type SymbolProfileCountAggregateInputType = { assetClass?: true assetSubClass?: true comment?: true countries?: true createdAt?: true currency?: true cusip?: true dataSource?: true figi?: true figiComposite?: true figiShareClass?: true holdings?: true id?: true isActive?: true isin?: true name?: true updatedAt?: true scraperConfiguration?: true sectors?: true symbol?: true symbolMapping?: true url?: true userId?: true _all?: true } export type SymbolProfileAggregateArgs = { /** * Filter which SymbolProfile to aggregate. */ where?: SymbolProfileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolProfiles to fetch. */ orderBy?: SymbolProfileOrderByWithRelationInput | SymbolProfileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SymbolProfileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolProfiles from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SymbolProfiles. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SymbolProfiles **/ _count?: true | SymbolProfileCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SymbolProfileMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SymbolProfileMaxAggregateInputType } export type GetSymbolProfileAggregateType = { [P in keyof T & keyof AggregateSymbolProfile]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SymbolProfileGroupByArgs = { where?: SymbolProfileWhereInput orderBy?: SymbolProfileOrderByWithAggregationInput | SymbolProfileOrderByWithAggregationInput[] by: SymbolProfileScalarFieldEnum[] | SymbolProfileScalarFieldEnum having?: SymbolProfileScalarWhereWithAggregatesInput take?: number skip?: number _count?: SymbolProfileCountAggregateInputType | true _min?: SymbolProfileMinAggregateInputType _max?: SymbolProfileMaxAggregateInputType } export type SymbolProfileGroupByOutputType = { assetClass: $Enums.AssetClass | null assetSubClass: $Enums.AssetSubClass | null comment: string | null countries: JsonValue | null createdAt: Date currency: string cusip: string | null dataSource: $Enums.DataSource figi: string | null figiComposite: string | null figiShareClass: string | null holdings: JsonValue | null id: string isActive: boolean isin: string | null name: string | null updatedAt: Date scraperConfiguration: JsonValue | null sectors: JsonValue | null symbol: string symbolMapping: JsonValue | null url: string | null userId: string | null _count: SymbolProfileCountAggregateOutputType | null _min: SymbolProfileMinAggregateOutputType | null _max: SymbolProfileMaxAggregateOutputType | null } type GetSymbolProfileGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SymbolProfileGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SymbolProfileSelect = $Extensions.GetSelect<{ assetClass?: boolean assetSubClass?: boolean comment?: boolean countries?: boolean createdAt?: boolean currency?: boolean cusip?: boolean dataSource?: boolean figi?: boolean figiComposite?: boolean figiShareClass?: boolean holdings?: boolean id?: boolean isActive?: boolean isin?: boolean name?: boolean updatedAt?: boolean scraperConfiguration?: boolean sectors?: boolean symbol?: boolean symbolMapping?: boolean url?: boolean userId?: boolean activities?: boolean | SymbolProfile$activitiesArgs user?: boolean | SymbolProfile$userArgs watchedBy?: boolean | SymbolProfile$watchedByArgs SymbolProfileOverrides?: boolean | SymbolProfile$SymbolProfileOverridesArgs _count?: boolean | SymbolProfileCountOutputTypeDefaultArgs }, ExtArgs["result"]["symbolProfile"]> export type SymbolProfileSelectCreateManyAndReturn = $Extensions.GetSelect<{ assetClass?: boolean assetSubClass?: boolean comment?: boolean countries?: boolean createdAt?: boolean currency?: boolean cusip?: boolean dataSource?: boolean figi?: boolean figiComposite?: boolean figiShareClass?: boolean holdings?: boolean id?: boolean isActive?: boolean isin?: boolean name?: boolean updatedAt?: boolean scraperConfiguration?: boolean sectors?: boolean symbol?: boolean symbolMapping?: boolean url?: boolean userId?: boolean user?: boolean | SymbolProfile$userArgs }, ExtArgs["result"]["symbolProfile"]> export type SymbolProfileSelectUpdateManyAndReturn = $Extensions.GetSelect<{ assetClass?: boolean assetSubClass?: boolean comment?: boolean countries?: boolean createdAt?: boolean currency?: boolean cusip?: boolean dataSource?: boolean figi?: boolean figiComposite?: boolean figiShareClass?: boolean holdings?: boolean id?: boolean isActive?: boolean isin?: boolean name?: boolean updatedAt?: boolean scraperConfiguration?: boolean sectors?: boolean symbol?: boolean symbolMapping?: boolean url?: boolean userId?: boolean user?: boolean | SymbolProfile$userArgs }, ExtArgs["result"]["symbolProfile"]> export type SymbolProfileSelectScalar = { assetClass?: boolean assetSubClass?: boolean comment?: boolean countries?: boolean createdAt?: boolean currency?: boolean cusip?: boolean dataSource?: boolean figi?: boolean figiComposite?: boolean figiShareClass?: boolean holdings?: boolean id?: boolean isActive?: boolean isin?: boolean name?: boolean updatedAt?: boolean scraperConfiguration?: boolean sectors?: boolean symbol?: boolean symbolMapping?: boolean url?: boolean userId?: boolean } export type SymbolProfileOmit = $Extensions.GetOmit<"assetClass" | "assetSubClass" | "comment" | "countries" | "createdAt" | "currency" | "cusip" | "dataSource" | "figi" | "figiComposite" | "figiShareClass" | "holdings" | "id" | "isActive" | "isin" | "name" | "updatedAt" | "scraperConfiguration" | "sectors" | "symbol" | "symbolMapping" | "url" | "userId", ExtArgs["result"]["symbolProfile"]> export type SymbolProfileInclude = { activities?: boolean | SymbolProfile$activitiesArgs user?: boolean | SymbolProfile$userArgs watchedBy?: boolean | SymbolProfile$watchedByArgs SymbolProfileOverrides?: boolean | SymbolProfile$SymbolProfileOverridesArgs _count?: boolean | SymbolProfileCountOutputTypeDefaultArgs } export type SymbolProfileIncludeCreateManyAndReturn = { user?: boolean | SymbolProfile$userArgs } export type SymbolProfileIncludeUpdateManyAndReturn = { user?: boolean | SymbolProfile$userArgs } export type $SymbolProfilePayload = { name: "SymbolProfile" objects: { activities: Prisma.$OrderPayload[] user: Prisma.$UserPayload | null watchedBy: Prisma.$UserPayload[] SymbolProfileOverrides: Prisma.$SymbolProfileOverridesPayload | null } scalars: $Extensions.GetPayloadResult<{ assetClass: $Enums.AssetClass | null assetSubClass: $Enums.AssetSubClass | null comment: string | null countries: Prisma.JsonValue | null createdAt: Date currency: string cusip: string | null dataSource: $Enums.DataSource figi: string | null figiComposite: string | null figiShareClass: string | null holdings: Prisma.JsonValue | null id: string isActive: boolean isin: string | null name: string | null updatedAt: Date scraperConfiguration: Prisma.JsonValue | null sectors: Prisma.JsonValue | null symbol: string symbolMapping: Prisma.JsonValue | null url: string | null userId: string | null }, ExtArgs["result"]["symbolProfile"]> composites: {} } type SymbolProfileGetPayload = $Result.GetResult type SymbolProfileCountArgs = Omit & { select?: SymbolProfileCountAggregateInputType | true } export interface SymbolProfileDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SymbolProfile'], meta: { name: 'SymbolProfile' } } /** * Find zero or one SymbolProfile that matches the filter. * @param {SymbolProfileFindUniqueArgs} args - Arguments to find a SymbolProfile * @example * // Get one SymbolProfile * const symbolProfile = await prisma.symbolProfile.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SymbolProfileClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SymbolProfile that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SymbolProfileFindUniqueOrThrowArgs} args - Arguments to find a SymbolProfile * @example * // Get one SymbolProfile * const symbolProfile = await prisma.symbolProfile.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SymbolProfileClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SymbolProfile 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 {SymbolProfileFindFirstArgs} args - Arguments to find a SymbolProfile * @example * // Get one SymbolProfile * const symbolProfile = await prisma.symbolProfile.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SymbolProfileClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SymbolProfile 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 {SymbolProfileFindFirstOrThrowArgs} args - Arguments to find a SymbolProfile * @example * // Get one SymbolProfile * const symbolProfile = await prisma.symbolProfile.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SymbolProfileClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SymbolProfiles 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 {SymbolProfileFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SymbolProfiles * const symbolProfiles = await prisma.symbolProfile.findMany() * * // Get first 10 SymbolProfiles * const symbolProfiles = await prisma.symbolProfile.findMany({ take: 10 }) * * // Only select the `comment` * const symbolProfileWithCommentOnly = await prisma.symbolProfile.findMany({ select: { comment: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a SymbolProfile. * @param {SymbolProfileCreateArgs} args - Arguments to create a SymbolProfile. * @example * // Create one SymbolProfile * const SymbolProfile = await prisma.symbolProfile.create({ * data: { * // ... data to create a SymbolProfile * } * }) * */ create(args: SelectSubset>): Prisma__SymbolProfileClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SymbolProfiles. * @param {SymbolProfileCreateManyArgs} args - Arguments to create many SymbolProfiles. * @example * // Create many SymbolProfiles * const symbolProfile = await prisma.symbolProfile.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SymbolProfiles and returns the data saved in the database. * @param {SymbolProfileCreateManyAndReturnArgs} args - Arguments to create many SymbolProfiles. * @example * // Create many SymbolProfiles * const symbolProfile = await prisma.symbolProfile.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SymbolProfiles and only return the `comment` * const symbolProfileWithCommentOnly = await prisma.symbolProfile.createManyAndReturn({ * select: { comment: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a SymbolProfile. * @param {SymbolProfileDeleteArgs} args - Arguments to delete one SymbolProfile. * @example * // Delete one SymbolProfile * const SymbolProfile = await prisma.symbolProfile.delete({ * where: { * // ... filter to delete one SymbolProfile * } * }) * */ delete(args: SelectSubset>): Prisma__SymbolProfileClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SymbolProfile. * @param {SymbolProfileUpdateArgs} args - Arguments to update one SymbolProfile. * @example * // Update one SymbolProfile * const symbolProfile = await prisma.symbolProfile.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SymbolProfileClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SymbolProfiles. * @param {SymbolProfileDeleteManyArgs} args - Arguments to filter SymbolProfiles to delete. * @example * // Delete a few SymbolProfiles * const { count } = await prisma.symbolProfile.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SymbolProfiles. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolProfileUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SymbolProfiles * const symbolProfile = await prisma.symbolProfile.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SymbolProfiles and returns the data updated in the database. * @param {SymbolProfileUpdateManyAndReturnArgs} args - Arguments to update many SymbolProfiles. * @example * // Update many SymbolProfiles * const symbolProfile = await prisma.symbolProfile.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SymbolProfiles and only return the `comment` * const symbolProfileWithCommentOnly = await prisma.symbolProfile.updateManyAndReturn({ * select: { comment: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one SymbolProfile. * @param {SymbolProfileUpsertArgs} args - Arguments to update or create a SymbolProfile. * @example * // Update or create a SymbolProfile * const symbolProfile = await prisma.symbolProfile.upsert({ * create: { * // ... data to create a SymbolProfile * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SymbolProfile we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SymbolProfileClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SymbolProfiles. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolProfileCountArgs} args - Arguments to filter SymbolProfiles to count. * @example * // Count the number of SymbolProfiles * const count = await prisma.symbolProfile.count({ * where: { * // ... the filter for the SymbolProfiles we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a SymbolProfile. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolProfileAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by SymbolProfile. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolProfileGroupByArgs} 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 SymbolProfileGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SymbolProfileGroupByArgs['orderBy'] } : { orderBy?: SymbolProfileGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetSymbolProfileGroupByPayload : Prisma.PrismaPromise /** * Fields of the SymbolProfile model */ readonly fields: SymbolProfileFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SymbolProfile. * 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__SymbolProfileClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" activities = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> watchedBy = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> SymbolProfileOverrides = {}>(args?: Subset>): Prisma__SymbolProfileOverridesClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the SymbolProfile model */ interface SymbolProfileFieldRefs { readonly assetClass: FieldRef<"SymbolProfile", 'AssetClass'> readonly assetSubClass: FieldRef<"SymbolProfile", 'AssetSubClass'> readonly comment: FieldRef<"SymbolProfile", 'String'> readonly countries: FieldRef<"SymbolProfile", 'Json'> readonly createdAt: FieldRef<"SymbolProfile", 'DateTime'> readonly currency: FieldRef<"SymbolProfile", 'String'> readonly cusip: FieldRef<"SymbolProfile", 'String'> readonly dataSource: FieldRef<"SymbolProfile", 'DataSource'> readonly figi: FieldRef<"SymbolProfile", 'String'> readonly figiComposite: FieldRef<"SymbolProfile", 'String'> readonly figiShareClass: FieldRef<"SymbolProfile", 'String'> readonly holdings: FieldRef<"SymbolProfile", 'Json'> readonly id: FieldRef<"SymbolProfile", 'String'> readonly isActive: FieldRef<"SymbolProfile", 'Boolean'> readonly isin: FieldRef<"SymbolProfile", 'String'> readonly name: FieldRef<"SymbolProfile", 'String'> readonly updatedAt: FieldRef<"SymbolProfile", 'DateTime'> readonly scraperConfiguration: FieldRef<"SymbolProfile", 'Json'> readonly sectors: FieldRef<"SymbolProfile", 'Json'> readonly symbol: FieldRef<"SymbolProfile", 'String'> readonly symbolMapping: FieldRef<"SymbolProfile", 'Json'> readonly url: FieldRef<"SymbolProfile", 'String'> readonly userId: FieldRef<"SymbolProfile", 'String'> } // Custom InputTypes /** * SymbolProfile findUnique */ export type SymbolProfileFindUniqueArgs = { /** * Select specific fields to fetch from the SymbolProfile */ select?: SymbolProfileSelect | null /** * Omit specific fields from the SymbolProfile */ omit?: SymbolProfileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileInclude | null /** * Filter, which SymbolProfile to fetch. */ where: SymbolProfileWhereUniqueInput } /** * SymbolProfile findUniqueOrThrow */ export type SymbolProfileFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SymbolProfile */ select?: SymbolProfileSelect | null /** * Omit specific fields from the SymbolProfile */ omit?: SymbolProfileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileInclude | null /** * Filter, which SymbolProfile to fetch. */ where: SymbolProfileWhereUniqueInput } /** * SymbolProfile findFirst */ export type SymbolProfileFindFirstArgs = { /** * Select specific fields to fetch from the SymbolProfile */ select?: SymbolProfileSelect | null /** * Omit specific fields from the SymbolProfile */ omit?: SymbolProfileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileInclude | null /** * Filter, which SymbolProfile to fetch. */ where?: SymbolProfileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolProfiles to fetch. */ orderBy?: SymbolProfileOrderByWithRelationInput | SymbolProfileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SymbolProfiles. */ cursor?: SymbolProfileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolProfiles from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SymbolProfiles. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolProfiles. */ distinct?: SymbolProfileScalarFieldEnum | SymbolProfileScalarFieldEnum[] } /** * SymbolProfile findFirstOrThrow */ export type SymbolProfileFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SymbolProfile */ select?: SymbolProfileSelect | null /** * Omit specific fields from the SymbolProfile */ omit?: SymbolProfileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileInclude | null /** * Filter, which SymbolProfile to fetch. */ where?: SymbolProfileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolProfiles to fetch. */ orderBy?: SymbolProfileOrderByWithRelationInput | SymbolProfileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SymbolProfiles. */ cursor?: SymbolProfileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolProfiles from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SymbolProfiles. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolProfiles. */ distinct?: SymbolProfileScalarFieldEnum | SymbolProfileScalarFieldEnum[] } /** * SymbolProfile findMany */ export type SymbolProfileFindManyArgs = { /** * Select specific fields to fetch from the SymbolProfile */ select?: SymbolProfileSelect | null /** * Omit specific fields from the SymbolProfile */ omit?: SymbolProfileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileInclude | null /** * Filter, which SymbolProfiles to fetch. */ where?: SymbolProfileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolProfiles to fetch. */ orderBy?: SymbolProfileOrderByWithRelationInput | SymbolProfileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SymbolProfiles. */ cursor?: SymbolProfileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolProfiles from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SymbolProfiles. */ skip?: number distinct?: SymbolProfileScalarFieldEnum | SymbolProfileScalarFieldEnum[] } /** * SymbolProfile create */ export type SymbolProfileCreateArgs = { /** * Select specific fields to fetch from the SymbolProfile */ select?: SymbolProfileSelect | null /** * Omit specific fields from the SymbolProfile */ omit?: SymbolProfileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileInclude | null /** * The data needed to create a SymbolProfile. */ data: XOR } /** * SymbolProfile createMany */ export type SymbolProfileCreateManyArgs = { /** * The data used to create many SymbolProfiles. */ data: SymbolProfileCreateManyInput | SymbolProfileCreateManyInput[] skipDuplicates?: boolean } /** * SymbolProfile createManyAndReturn */ export type SymbolProfileCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SymbolProfile */ select?: SymbolProfileSelectCreateManyAndReturn | null /** * Omit specific fields from the SymbolProfile */ omit?: SymbolProfileOmit | null /** * The data used to create many SymbolProfiles. */ data: SymbolProfileCreateManyInput | SymbolProfileCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileIncludeCreateManyAndReturn | null } /** * SymbolProfile update */ export type SymbolProfileUpdateArgs = { /** * Select specific fields to fetch from the SymbolProfile */ select?: SymbolProfileSelect | null /** * Omit specific fields from the SymbolProfile */ omit?: SymbolProfileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileInclude | null /** * The data needed to update a SymbolProfile. */ data: XOR /** * Choose, which SymbolProfile to update. */ where: SymbolProfileWhereUniqueInput } /** * SymbolProfile updateMany */ export type SymbolProfileUpdateManyArgs = { /** * The data used to update SymbolProfiles. */ data: XOR /** * Filter which SymbolProfiles to update */ where?: SymbolProfileWhereInput /** * Limit how many SymbolProfiles to update. */ limit?: number } /** * SymbolProfile updateManyAndReturn */ export type SymbolProfileUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SymbolProfile */ select?: SymbolProfileSelectUpdateManyAndReturn | null /** * Omit specific fields from the SymbolProfile */ omit?: SymbolProfileOmit | null /** * The data used to update SymbolProfiles. */ data: XOR /** * Filter which SymbolProfiles to update */ where?: SymbolProfileWhereInput /** * Limit how many SymbolProfiles to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileIncludeUpdateManyAndReturn | null } /** * SymbolProfile upsert */ export type SymbolProfileUpsertArgs = { /** * Select specific fields to fetch from the SymbolProfile */ select?: SymbolProfileSelect | null /** * Omit specific fields from the SymbolProfile */ omit?: SymbolProfileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileInclude | null /** * The filter to search for the SymbolProfile to update in case it exists. */ where: SymbolProfileWhereUniqueInput /** * In case the SymbolProfile found by the `where` argument doesn't exist, create a new SymbolProfile with this data. */ create: XOR /** * In case the SymbolProfile was found with the provided `where` argument, update it with this data. */ update: XOR } /** * SymbolProfile delete */ export type SymbolProfileDeleteArgs = { /** * Select specific fields to fetch from the SymbolProfile */ select?: SymbolProfileSelect | null /** * Omit specific fields from the SymbolProfile */ omit?: SymbolProfileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileInclude | null /** * Filter which SymbolProfile to delete. */ where: SymbolProfileWhereUniqueInput } /** * SymbolProfile deleteMany */ export type SymbolProfileDeleteManyArgs = { /** * Filter which SymbolProfiles to delete */ where?: SymbolProfileWhereInput /** * Limit how many SymbolProfiles to delete. */ limit?: number } /** * SymbolProfile.activities */ export type SymbolProfile$activitiesArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelect | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrderInclude | null where?: OrderWhereInput orderBy?: OrderOrderByWithRelationInput | OrderOrderByWithRelationInput[] cursor?: OrderWhereUniqueInput take?: number skip?: number distinct?: OrderScalarFieldEnum | OrderScalarFieldEnum[] } /** * SymbolProfile.user */ export type SymbolProfile$userArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput } /** * SymbolProfile.watchedBy */ export type SymbolProfile$watchedByArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] cursor?: UserWhereUniqueInput take?: number skip?: number distinct?: UserScalarFieldEnum | UserScalarFieldEnum[] } /** * SymbolProfile.SymbolProfileOverrides */ export type SymbolProfile$SymbolProfileOverridesArgs = { /** * Select specific fields to fetch from the SymbolProfileOverrides */ select?: SymbolProfileOverridesSelect | null /** * Omit specific fields from the SymbolProfileOverrides */ omit?: SymbolProfileOverridesOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileOverridesInclude | null where?: SymbolProfileOverridesWhereInput } /** * SymbolProfile without action */ export type SymbolProfileDefaultArgs = { /** * Select specific fields to fetch from the SymbolProfile */ select?: SymbolProfileSelect | null /** * Omit specific fields from the SymbolProfile */ omit?: SymbolProfileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileInclude | null } /** * Model SymbolProfileOverrides */ export type AggregateSymbolProfileOverrides = { _count: SymbolProfileOverridesCountAggregateOutputType | null _min: SymbolProfileOverridesMinAggregateOutputType | null _max: SymbolProfileOverridesMaxAggregateOutputType | null } export type SymbolProfileOverridesMinAggregateOutputType = { assetClass: $Enums.AssetClass | null assetSubClass: $Enums.AssetSubClass | null name: string | null symbolProfileId: string | null updatedAt: Date | null url: string | null } export type SymbolProfileOverridesMaxAggregateOutputType = { assetClass: $Enums.AssetClass | null assetSubClass: $Enums.AssetSubClass | null name: string | null symbolProfileId: string | null updatedAt: Date | null url: string | null } export type SymbolProfileOverridesCountAggregateOutputType = { assetClass: number assetSubClass: number countries: number holdings: number name: number sectors: number symbolProfileId: number updatedAt: number url: number _all: number } export type SymbolProfileOverridesMinAggregateInputType = { assetClass?: true assetSubClass?: true name?: true symbolProfileId?: true updatedAt?: true url?: true } export type SymbolProfileOverridesMaxAggregateInputType = { assetClass?: true assetSubClass?: true name?: true symbolProfileId?: true updatedAt?: true url?: true } export type SymbolProfileOverridesCountAggregateInputType = { assetClass?: true assetSubClass?: true countries?: true holdings?: true name?: true sectors?: true symbolProfileId?: true updatedAt?: true url?: true _all?: true } export type SymbolProfileOverridesAggregateArgs = { /** * Filter which SymbolProfileOverrides to aggregate. */ where?: SymbolProfileOverridesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolProfileOverrides to fetch. */ orderBy?: SymbolProfileOverridesOrderByWithRelationInput | SymbolProfileOverridesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SymbolProfileOverridesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolProfileOverrides from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SymbolProfileOverrides. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SymbolProfileOverrides **/ _count?: true | SymbolProfileOverridesCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SymbolProfileOverridesMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SymbolProfileOverridesMaxAggregateInputType } export type GetSymbolProfileOverridesAggregateType = { [P in keyof T & keyof AggregateSymbolProfileOverrides]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SymbolProfileOverridesGroupByArgs = { where?: SymbolProfileOverridesWhereInput orderBy?: SymbolProfileOverridesOrderByWithAggregationInput | SymbolProfileOverridesOrderByWithAggregationInput[] by: SymbolProfileOverridesScalarFieldEnum[] | SymbolProfileOverridesScalarFieldEnum having?: SymbolProfileOverridesScalarWhereWithAggregatesInput take?: number skip?: number _count?: SymbolProfileOverridesCountAggregateInputType | true _min?: SymbolProfileOverridesMinAggregateInputType _max?: SymbolProfileOverridesMaxAggregateInputType } export type SymbolProfileOverridesGroupByOutputType = { assetClass: $Enums.AssetClass | null assetSubClass: $Enums.AssetSubClass | null countries: JsonValue | null holdings: JsonValue | null name: string | null sectors: JsonValue | null symbolProfileId: string updatedAt: Date url: string | null _count: SymbolProfileOverridesCountAggregateOutputType | null _min: SymbolProfileOverridesMinAggregateOutputType | null _max: SymbolProfileOverridesMaxAggregateOutputType | null } type GetSymbolProfileOverridesGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SymbolProfileOverridesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SymbolProfileOverridesSelect = $Extensions.GetSelect<{ assetClass?: boolean assetSubClass?: boolean countries?: boolean holdings?: boolean name?: boolean sectors?: boolean symbolProfileId?: boolean updatedAt?: boolean url?: boolean SymbolProfile?: boolean | SymbolProfileDefaultArgs }, ExtArgs["result"]["symbolProfileOverrides"]> export type SymbolProfileOverridesSelectCreateManyAndReturn = $Extensions.GetSelect<{ assetClass?: boolean assetSubClass?: boolean countries?: boolean holdings?: boolean name?: boolean sectors?: boolean symbolProfileId?: boolean updatedAt?: boolean url?: boolean SymbolProfile?: boolean | SymbolProfileDefaultArgs }, ExtArgs["result"]["symbolProfileOverrides"]> export type SymbolProfileOverridesSelectUpdateManyAndReturn = $Extensions.GetSelect<{ assetClass?: boolean assetSubClass?: boolean countries?: boolean holdings?: boolean name?: boolean sectors?: boolean symbolProfileId?: boolean updatedAt?: boolean url?: boolean SymbolProfile?: boolean | SymbolProfileDefaultArgs }, ExtArgs["result"]["symbolProfileOverrides"]> export type SymbolProfileOverridesSelectScalar = { assetClass?: boolean assetSubClass?: boolean countries?: boolean holdings?: boolean name?: boolean sectors?: boolean symbolProfileId?: boolean updatedAt?: boolean url?: boolean } export type SymbolProfileOverridesOmit = $Extensions.GetOmit<"assetClass" | "assetSubClass" | "countries" | "holdings" | "name" | "sectors" | "symbolProfileId" | "updatedAt" | "url", ExtArgs["result"]["symbolProfileOverrides"]> export type SymbolProfileOverridesInclude = { SymbolProfile?: boolean | SymbolProfileDefaultArgs } export type SymbolProfileOverridesIncludeCreateManyAndReturn = { SymbolProfile?: boolean | SymbolProfileDefaultArgs } export type SymbolProfileOverridesIncludeUpdateManyAndReturn = { SymbolProfile?: boolean | SymbolProfileDefaultArgs } export type $SymbolProfileOverridesPayload = { name: "SymbolProfileOverrides" objects: { SymbolProfile: Prisma.$SymbolProfilePayload } scalars: $Extensions.GetPayloadResult<{ assetClass: $Enums.AssetClass | null assetSubClass: $Enums.AssetSubClass | null countries: Prisma.JsonValue | null holdings: Prisma.JsonValue | null name: string | null sectors: Prisma.JsonValue | null symbolProfileId: string updatedAt: Date url: string | null }, ExtArgs["result"]["symbolProfileOverrides"]> composites: {} } type SymbolProfileOverridesGetPayload = $Result.GetResult type SymbolProfileOverridesCountArgs = Omit & { select?: SymbolProfileOverridesCountAggregateInputType | true } export interface SymbolProfileOverridesDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SymbolProfileOverrides'], meta: { name: 'SymbolProfileOverrides' } } /** * Find zero or one SymbolProfileOverrides that matches the filter. * @param {SymbolProfileOverridesFindUniqueArgs} args - Arguments to find a SymbolProfileOverrides * @example * // Get one SymbolProfileOverrides * const symbolProfileOverrides = await prisma.symbolProfileOverrides.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SymbolProfileOverridesClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SymbolProfileOverrides that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SymbolProfileOverridesFindUniqueOrThrowArgs} args - Arguments to find a SymbolProfileOverrides * @example * // Get one SymbolProfileOverrides * const symbolProfileOverrides = await prisma.symbolProfileOverrides.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SymbolProfileOverridesClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SymbolProfileOverrides 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 {SymbolProfileOverridesFindFirstArgs} args - Arguments to find a SymbolProfileOverrides * @example * // Get one SymbolProfileOverrides * const symbolProfileOverrides = await prisma.symbolProfileOverrides.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SymbolProfileOverridesClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SymbolProfileOverrides 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 {SymbolProfileOverridesFindFirstOrThrowArgs} args - Arguments to find a SymbolProfileOverrides * @example * // Get one SymbolProfileOverrides * const symbolProfileOverrides = await prisma.symbolProfileOverrides.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SymbolProfileOverridesClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SymbolProfileOverrides 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 {SymbolProfileOverridesFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SymbolProfileOverrides * const symbolProfileOverrides = await prisma.symbolProfileOverrides.findMany() * * // Get first 10 SymbolProfileOverrides * const symbolProfileOverrides = await prisma.symbolProfileOverrides.findMany({ take: 10 }) * * // Only select the `countries` * const symbolProfileOverridesWithCountriesOnly = await prisma.symbolProfileOverrides.findMany({ select: { countries: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a SymbolProfileOverrides. * @param {SymbolProfileOverridesCreateArgs} args - Arguments to create a SymbolProfileOverrides. * @example * // Create one SymbolProfileOverrides * const SymbolProfileOverrides = await prisma.symbolProfileOverrides.create({ * data: { * // ... data to create a SymbolProfileOverrides * } * }) * */ create(args: SelectSubset>): Prisma__SymbolProfileOverridesClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SymbolProfileOverrides. * @param {SymbolProfileOverridesCreateManyArgs} args - Arguments to create many SymbolProfileOverrides. * @example * // Create many SymbolProfileOverrides * const symbolProfileOverrides = await prisma.symbolProfileOverrides.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many SymbolProfileOverrides and returns the data saved in the database. * @param {SymbolProfileOverridesCreateManyAndReturnArgs} args - Arguments to create many SymbolProfileOverrides. * @example * // Create many SymbolProfileOverrides * const symbolProfileOverrides = await prisma.symbolProfileOverrides.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SymbolProfileOverrides and only return the `countries` * const symbolProfileOverridesWithCountriesOnly = await prisma.symbolProfileOverrides.createManyAndReturn({ * select: { countries: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a SymbolProfileOverrides. * @param {SymbolProfileOverridesDeleteArgs} args - Arguments to delete one SymbolProfileOverrides. * @example * // Delete one SymbolProfileOverrides * const SymbolProfileOverrides = await prisma.symbolProfileOverrides.delete({ * where: { * // ... filter to delete one SymbolProfileOverrides * } * }) * */ delete(args: SelectSubset>): Prisma__SymbolProfileOverridesClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SymbolProfileOverrides. * @param {SymbolProfileOverridesUpdateArgs} args - Arguments to update one SymbolProfileOverrides. * @example * // Update one SymbolProfileOverrides * const symbolProfileOverrides = await prisma.symbolProfileOverrides.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SymbolProfileOverridesClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SymbolProfileOverrides. * @param {SymbolProfileOverridesDeleteManyArgs} args - Arguments to filter SymbolProfileOverrides to delete. * @example * // Delete a few SymbolProfileOverrides * const { count } = await prisma.symbolProfileOverrides.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SymbolProfileOverrides. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolProfileOverridesUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SymbolProfileOverrides * const symbolProfileOverrides = await prisma.symbolProfileOverrides.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SymbolProfileOverrides and returns the data updated in the database. * @param {SymbolProfileOverridesUpdateManyAndReturnArgs} args - Arguments to update many SymbolProfileOverrides. * @example * // Update many SymbolProfileOverrides * const symbolProfileOverrides = await prisma.symbolProfileOverrides.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SymbolProfileOverrides and only return the `countries` * const symbolProfileOverridesWithCountriesOnly = await prisma.symbolProfileOverrides.updateManyAndReturn({ * select: { countries: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one SymbolProfileOverrides. * @param {SymbolProfileOverridesUpsertArgs} args - Arguments to update or create a SymbolProfileOverrides. * @example * // Update or create a SymbolProfileOverrides * const symbolProfileOverrides = await prisma.symbolProfileOverrides.upsert({ * create: { * // ... data to create a SymbolProfileOverrides * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SymbolProfileOverrides we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SymbolProfileOverridesClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SymbolProfileOverrides. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolProfileOverridesCountArgs} args - Arguments to filter SymbolProfileOverrides to count. * @example * // Count the number of SymbolProfileOverrides * const count = await prisma.symbolProfileOverrides.count({ * where: { * // ... the filter for the SymbolProfileOverrides we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a SymbolProfileOverrides. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolProfileOverridesAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by SymbolProfileOverrides. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SymbolProfileOverridesGroupByArgs} 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 SymbolProfileOverridesGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SymbolProfileOverridesGroupByArgs['orderBy'] } : { orderBy?: SymbolProfileOverridesGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetSymbolProfileOverridesGroupByPayload : Prisma.PrismaPromise /** * Fields of the SymbolProfileOverrides model */ readonly fields: SymbolProfileOverridesFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SymbolProfileOverrides. * 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__SymbolProfileOverridesClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" SymbolProfile = {}>(args?: Subset>): Prisma__SymbolProfileClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the SymbolProfileOverrides model */ interface SymbolProfileOverridesFieldRefs { readonly assetClass: FieldRef<"SymbolProfileOverrides", 'AssetClass'> readonly assetSubClass: FieldRef<"SymbolProfileOverrides", 'AssetSubClass'> readonly countries: FieldRef<"SymbolProfileOverrides", 'Json'> readonly holdings: FieldRef<"SymbolProfileOverrides", 'Json'> readonly name: FieldRef<"SymbolProfileOverrides", 'String'> readonly sectors: FieldRef<"SymbolProfileOverrides", 'Json'> readonly symbolProfileId: FieldRef<"SymbolProfileOverrides", 'String'> readonly updatedAt: FieldRef<"SymbolProfileOverrides", 'DateTime'> readonly url: FieldRef<"SymbolProfileOverrides", 'String'> } // Custom InputTypes /** * SymbolProfileOverrides findUnique */ export type SymbolProfileOverridesFindUniqueArgs = { /** * Select specific fields to fetch from the SymbolProfileOverrides */ select?: SymbolProfileOverridesSelect | null /** * Omit specific fields from the SymbolProfileOverrides */ omit?: SymbolProfileOverridesOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileOverridesInclude | null /** * Filter, which SymbolProfileOverrides to fetch. */ where: SymbolProfileOverridesWhereUniqueInput } /** * SymbolProfileOverrides findUniqueOrThrow */ export type SymbolProfileOverridesFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SymbolProfileOverrides */ select?: SymbolProfileOverridesSelect | null /** * Omit specific fields from the SymbolProfileOverrides */ omit?: SymbolProfileOverridesOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileOverridesInclude | null /** * Filter, which SymbolProfileOverrides to fetch. */ where: SymbolProfileOverridesWhereUniqueInput } /** * SymbolProfileOverrides findFirst */ export type SymbolProfileOverridesFindFirstArgs = { /** * Select specific fields to fetch from the SymbolProfileOverrides */ select?: SymbolProfileOverridesSelect | null /** * Omit specific fields from the SymbolProfileOverrides */ omit?: SymbolProfileOverridesOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileOverridesInclude | null /** * Filter, which SymbolProfileOverrides to fetch. */ where?: SymbolProfileOverridesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolProfileOverrides to fetch. */ orderBy?: SymbolProfileOverridesOrderByWithRelationInput | SymbolProfileOverridesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SymbolProfileOverrides. */ cursor?: SymbolProfileOverridesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolProfileOverrides from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SymbolProfileOverrides. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolProfileOverrides. */ distinct?: SymbolProfileOverridesScalarFieldEnum | SymbolProfileOverridesScalarFieldEnum[] } /** * SymbolProfileOverrides findFirstOrThrow */ export type SymbolProfileOverridesFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SymbolProfileOverrides */ select?: SymbolProfileOverridesSelect | null /** * Omit specific fields from the SymbolProfileOverrides */ omit?: SymbolProfileOverridesOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileOverridesInclude | null /** * Filter, which SymbolProfileOverrides to fetch. */ where?: SymbolProfileOverridesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolProfileOverrides to fetch. */ orderBy?: SymbolProfileOverridesOrderByWithRelationInput | SymbolProfileOverridesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SymbolProfileOverrides. */ cursor?: SymbolProfileOverridesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolProfileOverrides from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SymbolProfileOverrides. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SymbolProfileOverrides. */ distinct?: SymbolProfileOverridesScalarFieldEnum | SymbolProfileOverridesScalarFieldEnum[] } /** * SymbolProfileOverrides findMany */ export type SymbolProfileOverridesFindManyArgs = { /** * Select specific fields to fetch from the SymbolProfileOverrides */ select?: SymbolProfileOverridesSelect | null /** * Omit specific fields from the SymbolProfileOverrides */ omit?: SymbolProfileOverridesOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileOverridesInclude | null /** * Filter, which SymbolProfileOverrides to fetch. */ where?: SymbolProfileOverridesWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SymbolProfileOverrides to fetch. */ orderBy?: SymbolProfileOverridesOrderByWithRelationInput | SymbolProfileOverridesOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SymbolProfileOverrides. */ cursor?: SymbolProfileOverridesWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SymbolProfileOverrides from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` SymbolProfileOverrides. */ skip?: number distinct?: SymbolProfileOverridesScalarFieldEnum | SymbolProfileOverridesScalarFieldEnum[] } /** * SymbolProfileOverrides create */ export type SymbolProfileOverridesCreateArgs = { /** * Select specific fields to fetch from the SymbolProfileOverrides */ select?: SymbolProfileOverridesSelect | null /** * Omit specific fields from the SymbolProfileOverrides */ omit?: SymbolProfileOverridesOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileOverridesInclude | null /** * The data needed to create a SymbolProfileOverrides. */ data: XOR } /** * SymbolProfileOverrides createMany */ export type SymbolProfileOverridesCreateManyArgs = { /** * The data used to create many SymbolProfileOverrides. */ data: SymbolProfileOverridesCreateManyInput | SymbolProfileOverridesCreateManyInput[] skipDuplicates?: boolean } /** * SymbolProfileOverrides createManyAndReturn */ export type SymbolProfileOverridesCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SymbolProfileOverrides */ select?: SymbolProfileOverridesSelectCreateManyAndReturn | null /** * Omit specific fields from the SymbolProfileOverrides */ omit?: SymbolProfileOverridesOmit | null /** * The data used to create many SymbolProfileOverrides. */ data: SymbolProfileOverridesCreateManyInput | SymbolProfileOverridesCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileOverridesIncludeCreateManyAndReturn | null } /** * SymbolProfileOverrides update */ export type SymbolProfileOverridesUpdateArgs = { /** * Select specific fields to fetch from the SymbolProfileOverrides */ select?: SymbolProfileOverridesSelect | null /** * Omit specific fields from the SymbolProfileOverrides */ omit?: SymbolProfileOverridesOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileOverridesInclude | null /** * The data needed to update a SymbolProfileOverrides. */ data: XOR /** * Choose, which SymbolProfileOverrides to update. */ where: SymbolProfileOverridesWhereUniqueInput } /** * SymbolProfileOverrides updateMany */ export type SymbolProfileOverridesUpdateManyArgs = { /** * The data used to update SymbolProfileOverrides. */ data: XOR /** * Filter which SymbolProfileOverrides to update */ where?: SymbolProfileOverridesWhereInput /** * Limit how many SymbolProfileOverrides to update. */ limit?: number } /** * SymbolProfileOverrides updateManyAndReturn */ export type SymbolProfileOverridesUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SymbolProfileOverrides */ select?: SymbolProfileOverridesSelectUpdateManyAndReturn | null /** * Omit specific fields from the SymbolProfileOverrides */ omit?: SymbolProfileOverridesOmit | null /** * The data used to update SymbolProfileOverrides. */ data: XOR /** * Filter which SymbolProfileOverrides to update */ where?: SymbolProfileOverridesWhereInput /** * Limit how many SymbolProfileOverrides to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileOverridesIncludeUpdateManyAndReturn | null } /** * SymbolProfileOverrides upsert */ export type SymbolProfileOverridesUpsertArgs = { /** * Select specific fields to fetch from the SymbolProfileOverrides */ select?: SymbolProfileOverridesSelect | null /** * Omit specific fields from the SymbolProfileOverrides */ omit?: SymbolProfileOverridesOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileOverridesInclude | null /** * The filter to search for the SymbolProfileOverrides to update in case it exists. */ where: SymbolProfileOverridesWhereUniqueInput /** * In case the SymbolProfileOverrides found by the `where` argument doesn't exist, create a new SymbolProfileOverrides with this data. */ create: XOR /** * In case the SymbolProfileOverrides was found with the provided `where` argument, update it with this data. */ update: XOR } /** * SymbolProfileOverrides delete */ export type SymbolProfileOverridesDeleteArgs = { /** * Select specific fields to fetch from the SymbolProfileOverrides */ select?: SymbolProfileOverridesSelect | null /** * Omit specific fields from the SymbolProfileOverrides */ omit?: SymbolProfileOverridesOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileOverridesInclude | null /** * Filter which SymbolProfileOverrides to delete. */ where: SymbolProfileOverridesWhereUniqueInput } /** * SymbolProfileOverrides deleteMany */ export type SymbolProfileOverridesDeleteManyArgs = { /** * Filter which SymbolProfileOverrides to delete */ where?: SymbolProfileOverridesWhereInput /** * Limit how many SymbolProfileOverrides to delete. */ limit?: number } /** * SymbolProfileOverrides without action */ export type SymbolProfileOverridesDefaultArgs = { /** * Select specific fields to fetch from the SymbolProfileOverrides */ select?: SymbolProfileOverridesSelect | null /** * Omit specific fields from the SymbolProfileOverrides */ omit?: SymbolProfileOverridesOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileOverridesInclude | null } /** * Model Subscription */ export type AggregateSubscription = { _count: SubscriptionCountAggregateOutputType | null _avg: SubscriptionAvgAggregateOutputType | null _sum: SubscriptionSumAggregateOutputType | null _min: SubscriptionMinAggregateOutputType | null _max: SubscriptionMaxAggregateOutputType | null } export type SubscriptionAvgAggregateOutputType = { price: number | null } export type SubscriptionSumAggregateOutputType = { price: number | null } export type SubscriptionMinAggregateOutputType = { createdAt: Date | null expiresAt: Date | null id: string | null price: number | null updatedAt: Date | null userId: string | null } export type SubscriptionMaxAggregateOutputType = { createdAt: Date | null expiresAt: Date | null id: string | null price: number | null updatedAt: Date | null userId: string | null } export type SubscriptionCountAggregateOutputType = { createdAt: number expiresAt: number id: number price: number updatedAt: number userId: number _all: number } export type SubscriptionAvgAggregateInputType = { price?: true } export type SubscriptionSumAggregateInputType = { price?: true } export type SubscriptionMinAggregateInputType = { createdAt?: true expiresAt?: true id?: true price?: true updatedAt?: true userId?: true } export type SubscriptionMaxAggregateInputType = { createdAt?: true expiresAt?: true id?: true price?: true updatedAt?: true userId?: true } export type SubscriptionCountAggregateInputType = { createdAt?: true expiresAt?: true id?: true price?: true updatedAt?: true userId?: true _all?: true } export type SubscriptionAggregateArgs = { /** * Filter which Subscription to aggregate. */ where?: SubscriptionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Subscriptions to fetch. */ orderBy?: SubscriptionOrderByWithRelationInput | SubscriptionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: SubscriptionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Subscriptions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Subscriptions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Subscriptions **/ _count?: true | SubscriptionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: SubscriptionAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: SubscriptionSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SubscriptionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SubscriptionMaxAggregateInputType } export type GetSubscriptionAggregateType = { [P in keyof T & keyof AggregateSubscription]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type SubscriptionGroupByArgs = { where?: SubscriptionWhereInput orderBy?: SubscriptionOrderByWithAggregationInput | SubscriptionOrderByWithAggregationInput[] by: SubscriptionScalarFieldEnum[] | SubscriptionScalarFieldEnum having?: SubscriptionScalarWhereWithAggregatesInput take?: number skip?: number _count?: SubscriptionCountAggregateInputType | true _avg?: SubscriptionAvgAggregateInputType _sum?: SubscriptionSumAggregateInputType _min?: SubscriptionMinAggregateInputType _max?: SubscriptionMaxAggregateInputType } export type SubscriptionGroupByOutputType = { createdAt: Date expiresAt: Date id: string price: number | null updatedAt: Date userId: string _count: SubscriptionCountAggregateOutputType | null _avg: SubscriptionAvgAggregateOutputType | null _sum: SubscriptionSumAggregateOutputType | null _min: SubscriptionMinAggregateOutputType | null _max: SubscriptionMaxAggregateOutputType | null } type GetSubscriptionGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof SubscriptionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type SubscriptionSelect = $Extensions.GetSelect<{ createdAt?: boolean expiresAt?: boolean id?: boolean price?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["subscription"]> export type SubscriptionSelectCreateManyAndReturn = $Extensions.GetSelect<{ createdAt?: boolean expiresAt?: boolean id?: boolean price?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["subscription"]> export type SubscriptionSelectUpdateManyAndReturn = $Extensions.GetSelect<{ createdAt?: boolean expiresAt?: boolean id?: boolean price?: boolean updatedAt?: boolean userId?: boolean user?: boolean | UserDefaultArgs }, ExtArgs["result"]["subscription"]> export type SubscriptionSelectScalar = { createdAt?: boolean expiresAt?: boolean id?: boolean price?: boolean updatedAt?: boolean userId?: boolean } export type SubscriptionOmit = $Extensions.GetOmit<"createdAt" | "expiresAt" | "id" | "price" | "updatedAt" | "userId", ExtArgs["result"]["subscription"]> export type SubscriptionInclude = { user?: boolean | UserDefaultArgs } export type SubscriptionIncludeCreateManyAndReturn = { user?: boolean | UserDefaultArgs } export type SubscriptionIncludeUpdateManyAndReturn = { user?: boolean | UserDefaultArgs } export type $SubscriptionPayload = { name: "Subscription" objects: { user: Prisma.$UserPayload } scalars: $Extensions.GetPayloadResult<{ createdAt: Date expiresAt: Date id: string price: number | null updatedAt: Date userId: string }, ExtArgs["result"]["subscription"]> composites: {} } type SubscriptionGetPayload = $Result.GetResult type SubscriptionCountArgs = Omit & { select?: SubscriptionCountAggregateInputType | true } export interface SubscriptionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Subscription'], meta: { name: 'Subscription' } } /** * Find zero or one Subscription that matches the filter. * @param {SubscriptionFindUniqueArgs} args - Arguments to find a Subscription * @example * // Get one Subscription * const subscription = await prisma.subscription.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__SubscriptionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Subscription that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SubscriptionFindUniqueOrThrowArgs} args - Arguments to find a Subscription * @example * // Get one Subscription * const subscription = await prisma.subscription.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__SubscriptionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Subscription 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 {SubscriptionFindFirstArgs} args - Arguments to find a Subscription * @example * // Get one Subscription * const subscription = await prisma.subscription.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__SubscriptionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Subscription 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 {SubscriptionFindFirstOrThrowArgs} args - Arguments to find a Subscription * @example * // Get one Subscription * const subscription = await prisma.subscription.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__SubscriptionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Subscriptions 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 {SubscriptionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Subscriptions * const subscriptions = await prisma.subscription.findMany() * * // Get first 10 Subscriptions * const subscriptions = await prisma.subscription.findMany({ take: 10 }) * * // Only select the `createdAt` * const subscriptionWithCreatedAtOnly = await prisma.subscription.findMany({ select: { createdAt: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Subscription. * @param {SubscriptionCreateArgs} args - Arguments to create a Subscription. * @example * // Create one Subscription * const Subscription = await prisma.subscription.create({ * data: { * // ... data to create a Subscription * } * }) * */ create(args: SelectSubset>): Prisma__SubscriptionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Subscriptions. * @param {SubscriptionCreateManyArgs} args - Arguments to create many Subscriptions. * @example * // Create many Subscriptions * const subscription = await prisma.subscription.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Subscriptions and returns the data saved in the database. * @param {SubscriptionCreateManyAndReturnArgs} args - Arguments to create many Subscriptions. * @example * // Create many Subscriptions * const subscription = await prisma.subscription.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Subscriptions and only return the `createdAt` * const subscriptionWithCreatedAtOnly = await prisma.subscription.createManyAndReturn({ * select: { createdAt: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Subscription. * @param {SubscriptionDeleteArgs} args - Arguments to delete one Subscription. * @example * // Delete one Subscription * const Subscription = await prisma.subscription.delete({ * where: { * // ... filter to delete one Subscription * } * }) * */ delete(args: SelectSubset>): Prisma__SubscriptionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Subscription. * @param {SubscriptionUpdateArgs} args - Arguments to update one Subscription. * @example * // Update one Subscription * const subscription = await prisma.subscription.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__SubscriptionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Subscriptions. * @param {SubscriptionDeleteManyArgs} args - Arguments to filter Subscriptions to delete. * @example * // Delete a few Subscriptions * const { count } = await prisma.subscription.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Subscriptions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SubscriptionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Subscriptions * const subscription = await prisma.subscription.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Subscriptions and returns the data updated in the database. * @param {SubscriptionUpdateManyAndReturnArgs} args - Arguments to update many Subscriptions. * @example * // Update many Subscriptions * const subscription = await prisma.subscription.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Subscriptions and only return the `createdAt` * const subscriptionWithCreatedAtOnly = await prisma.subscription.updateManyAndReturn({ * select: { createdAt: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Subscription. * @param {SubscriptionUpsertArgs} args - Arguments to update or create a Subscription. * @example * // Update or create a Subscription * const subscription = await prisma.subscription.upsert({ * create: { * // ... data to create a Subscription * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Subscription we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__SubscriptionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Subscriptions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SubscriptionCountArgs} args - Arguments to filter Subscriptions to count. * @example * // Count the number of Subscriptions * const count = await prisma.subscription.count({ * where: { * // ... the filter for the Subscriptions we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Subscription. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SubscriptionAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Subscription. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SubscriptionGroupByArgs} 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 SubscriptionGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: SubscriptionGroupByArgs['orderBy'] } : { orderBy?: SubscriptionGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetSubscriptionGroupByPayload : Prisma.PrismaPromise /** * Fields of the Subscription model */ readonly fields: SubscriptionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Subscription. * 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__SubscriptionClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the Subscription model */ interface SubscriptionFieldRefs { readonly createdAt: FieldRef<"Subscription", 'DateTime'> readonly expiresAt: FieldRef<"Subscription", 'DateTime'> readonly id: FieldRef<"Subscription", 'String'> readonly price: FieldRef<"Subscription", 'Float'> readonly updatedAt: FieldRef<"Subscription", 'DateTime'> readonly userId: FieldRef<"Subscription", 'String'> } // Custom InputTypes /** * Subscription findUnique */ export type SubscriptionFindUniqueArgs = { /** * Select specific fields to fetch from the Subscription */ select?: SubscriptionSelect | null /** * Omit specific fields from the Subscription */ omit?: SubscriptionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SubscriptionInclude | null /** * Filter, which Subscription to fetch. */ where: SubscriptionWhereUniqueInput } /** * Subscription findUniqueOrThrow */ export type SubscriptionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Subscription */ select?: SubscriptionSelect | null /** * Omit specific fields from the Subscription */ omit?: SubscriptionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SubscriptionInclude | null /** * Filter, which Subscription to fetch. */ where: SubscriptionWhereUniqueInput } /** * Subscription findFirst */ export type SubscriptionFindFirstArgs = { /** * Select specific fields to fetch from the Subscription */ select?: SubscriptionSelect | null /** * Omit specific fields from the Subscription */ omit?: SubscriptionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SubscriptionInclude | null /** * Filter, which Subscription to fetch. */ where?: SubscriptionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Subscriptions to fetch. */ orderBy?: SubscriptionOrderByWithRelationInput | SubscriptionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Subscriptions. */ cursor?: SubscriptionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Subscriptions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Subscriptions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Subscriptions. */ distinct?: SubscriptionScalarFieldEnum | SubscriptionScalarFieldEnum[] } /** * Subscription findFirstOrThrow */ export type SubscriptionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Subscription */ select?: SubscriptionSelect | null /** * Omit specific fields from the Subscription */ omit?: SubscriptionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SubscriptionInclude | null /** * Filter, which Subscription to fetch. */ where?: SubscriptionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Subscriptions to fetch. */ orderBy?: SubscriptionOrderByWithRelationInput | SubscriptionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Subscriptions. */ cursor?: SubscriptionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Subscriptions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Subscriptions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Subscriptions. */ distinct?: SubscriptionScalarFieldEnum | SubscriptionScalarFieldEnum[] } /** * Subscription findMany */ export type SubscriptionFindManyArgs = { /** * Select specific fields to fetch from the Subscription */ select?: SubscriptionSelect | null /** * Omit specific fields from the Subscription */ omit?: SubscriptionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SubscriptionInclude | null /** * Filter, which Subscriptions to fetch. */ where?: SubscriptionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Subscriptions to fetch. */ orderBy?: SubscriptionOrderByWithRelationInput | SubscriptionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Subscriptions. */ cursor?: SubscriptionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Subscriptions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Subscriptions. */ skip?: number distinct?: SubscriptionScalarFieldEnum | SubscriptionScalarFieldEnum[] } /** * Subscription create */ export type SubscriptionCreateArgs = { /** * Select specific fields to fetch from the Subscription */ select?: SubscriptionSelect | null /** * Omit specific fields from the Subscription */ omit?: SubscriptionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SubscriptionInclude | null /** * The data needed to create a Subscription. */ data: XOR } /** * Subscription createMany */ export type SubscriptionCreateManyArgs = { /** * The data used to create many Subscriptions. */ data: SubscriptionCreateManyInput | SubscriptionCreateManyInput[] skipDuplicates?: boolean } /** * Subscription createManyAndReturn */ export type SubscriptionCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Subscription */ select?: SubscriptionSelectCreateManyAndReturn | null /** * Omit specific fields from the Subscription */ omit?: SubscriptionOmit | null /** * The data used to create many Subscriptions. */ data: SubscriptionCreateManyInput | SubscriptionCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: SubscriptionIncludeCreateManyAndReturn | null } /** * Subscription update */ export type SubscriptionUpdateArgs = { /** * Select specific fields to fetch from the Subscription */ select?: SubscriptionSelect | null /** * Omit specific fields from the Subscription */ omit?: SubscriptionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SubscriptionInclude | null /** * The data needed to update a Subscription. */ data: XOR /** * Choose, which Subscription to update. */ where: SubscriptionWhereUniqueInput } /** * Subscription updateMany */ export type SubscriptionUpdateManyArgs = { /** * The data used to update Subscriptions. */ data: XOR /** * Filter which Subscriptions to update */ where?: SubscriptionWhereInput /** * Limit how many Subscriptions to update. */ limit?: number } /** * Subscription updateManyAndReturn */ export type SubscriptionUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Subscription */ select?: SubscriptionSelectUpdateManyAndReturn | null /** * Omit specific fields from the Subscription */ omit?: SubscriptionOmit | null /** * The data used to update Subscriptions. */ data: XOR /** * Filter which Subscriptions to update */ where?: SubscriptionWhereInput /** * Limit how many Subscriptions to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: SubscriptionIncludeUpdateManyAndReturn | null } /** * Subscription upsert */ export type SubscriptionUpsertArgs = { /** * Select specific fields to fetch from the Subscription */ select?: SubscriptionSelect | null /** * Omit specific fields from the Subscription */ omit?: SubscriptionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SubscriptionInclude | null /** * The filter to search for the Subscription to update in case it exists. */ where: SubscriptionWhereUniqueInput /** * In case the Subscription found by the `where` argument doesn't exist, create a new Subscription with this data. */ create: XOR /** * In case the Subscription was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Subscription delete */ export type SubscriptionDeleteArgs = { /** * Select specific fields to fetch from the Subscription */ select?: SubscriptionSelect | null /** * Omit specific fields from the Subscription */ omit?: SubscriptionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SubscriptionInclude | null /** * Filter which Subscription to delete. */ where: SubscriptionWhereUniqueInput } /** * Subscription deleteMany */ export type SubscriptionDeleteManyArgs = { /** * Filter which Subscriptions to delete */ where?: SubscriptionWhereInput /** * Limit how many Subscriptions to delete. */ limit?: number } /** * Subscription without action */ export type SubscriptionDefaultArgs = { /** * Select specific fields to fetch from the Subscription */ select?: SubscriptionSelect | null /** * Omit specific fields from the Subscription */ omit?: SubscriptionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SubscriptionInclude | null } /** * Model Tag */ export type AggregateTag = { _count: TagCountAggregateOutputType | null _min: TagMinAggregateOutputType | null _max: TagMaxAggregateOutputType | null } export type TagMinAggregateOutputType = { id: string | null name: string | null userId: string | null } export type TagMaxAggregateOutputType = { id: string | null name: string | null userId: string | null } export type TagCountAggregateOutputType = { id: number name: number userId: number _all: number } export type TagMinAggregateInputType = { id?: true name?: true userId?: true } export type TagMaxAggregateInputType = { id?: true name?: true userId?: true } export type TagCountAggregateInputType = { id?: true name?: true userId?: true _all?: true } export type TagAggregateArgs = { /** * Filter which Tag to aggregate. */ where?: TagWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Tags to fetch. */ orderBy?: TagOrderByWithRelationInput | TagOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: TagWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Tags from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Tags. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Tags **/ _count?: true | TagCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TagMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TagMaxAggregateInputType } export type GetTagAggregateType = { [P in keyof T & keyof AggregateTag]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type TagGroupByArgs = { where?: TagWhereInput orderBy?: TagOrderByWithAggregationInput | TagOrderByWithAggregationInput[] by: TagScalarFieldEnum[] | TagScalarFieldEnum having?: TagScalarWhereWithAggregatesInput take?: number skip?: number _count?: TagCountAggregateInputType | true _min?: TagMinAggregateInputType _max?: TagMaxAggregateInputType } export type TagGroupByOutputType = { id: string name: string userId: string | null _count: TagCountAggregateOutputType | null _min: TagMinAggregateOutputType | null _max: TagMaxAggregateOutputType | null } type GetTagGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof TagGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type TagSelect = $Extensions.GetSelect<{ id?: boolean name?: boolean userId?: boolean activities?: boolean | Tag$activitiesArgs user?: boolean | Tag$userArgs _count?: boolean | TagCountOutputTypeDefaultArgs }, ExtArgs["result"]["tag"]> export type TagSelectCreateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean userId?: boolean user?: boolean | Tag$userArgs }, ExtArgs["result"]["tag"]> export type TagSelectUpdateManyAndReturn = $Extensions.GetSelect<{ id?: boolean name?: boolean userId?: boolean user?: boolean | Tag$userArgs }, ExtArgs["result"]["tag"]> export type TagSelectScalar = { id?: boolean name?: boolean userId?: boolean } export type TagOmit = $Extensions.GetOmit<"id" | "name" | "userId", ExtArgs["result"]["tag"]> export type TagInclude = { activities?: boolean | Tag$activitiesArgs user?: boolean | Tag$userArgs _count?: boolean | TagCountOutputTypeDefaultArgs } export type TagIncludeCreateManyAndReturn = { user?: boolean | Tag$userArgs } export type TagIncludeUpdateManyAndReturn = { user?: boolean | Tag$userArgs } export type $TagPayload = { name: "Tag" objects: { activities: Prisma.$OrderPayload[] user: Prisma.$UserPayload | null } scalars: $Extensions.GetPayloadResult<{ id: string name: string userId: string | null }, ExtArgs["result"]["tag"]> composites: {} } type TagGetPayload = $Result.GetResult type TagCountArgs = Omit & { select?: TagCountAggregateInputType | true } export interface TagDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Tag'], meta: { name: 'Tag' } } /** * Find zero or one Tag that matches the filter. * @param {TagFindUniqueArgs} args - Arguments to find a Tag * @example * // Get one Tag * const tag = await prisma.tag.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__TagClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Tag that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TagFindUniqueOrThrowArgs} args - Arguments to find a Tag * @example * // Get one Tag * const tag = await prisma.tag.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__TagClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Tag 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 {TagFindFirstArgs} args - Arguments to find a Tag * @example * // Get one Tag * const tag = await prisma.tag.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__TagClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Tag 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 {TagFindFirstOrThrowArgs} args - Arguments to find a Tag * @example * // Get one Tag * const tag = await prisma.tag.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__TagClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Tags 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 {TagFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Tags * const tags = await prisma.tag.findMany() * * // Get first 10 Tags * const tags = await prisma.tag.findMany({ take: 10 }) * * // Only select the `id` * const tagWithIdOnly = await prisma.tag.findMany({ select: { id: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a Tag. * @param {TagCreateArgs} args - Arguments to create a Tag. * @example * // Create one Tag * const Tag = await prisma.tag.create({ * data: { * // ... data to create a Tag * } * }) * */ create(args: SelectSubset>): Prisma__TagClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Tags. * @param {TagCreateManyArgs} args - Arguments to create many Tags. * @example * // Create many Tags * const tag = await prisma.tag.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Tags and returns the data saved in the database. * @param {TagCreateManyAndReturnArgs} args - Arguments to create many Tags. * @example * // Create many Tags * const tag = await prisma.tag.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Tags and only return the `id` * const tagWithIdOnly = await prisma.tag.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Tag. * @param {TagDeleteArgs} args - Arguments to delete one Tag. * @example * // Delete one Tag * const Tag = await prisma.tag.delete({ * where: { * // ... filter to delete one Tag * } * }) * */ delete(args: SelectSubset>): Prisma__TagClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Tag. * @param {TagUpdateArgs} args - Arguments to update one Tag. * @example * // Update one Tag * const tag = await prisma.tag.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__TagClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Tags. * @param {TagDeleteManyArgs} args - Arguments to filter Tags to delete. * @example * // Delete a few Tags * const { count } = await prisma.tag.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Tags. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TagUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Tags * const tag = await prisma.tag.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Tags and returns the data updated in the database. * @param {TagUpdateManyAndReturnArgs} args - Arguments to update many Tags. * @example * // Update many Tags * const tag = await prisma.tag.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Tags and only return the `id` * const tagWithIdOnly = await prisma.tag.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Tag. * @param {TagUpsertArgs} args - Arguments to update or create a Tag. * @example * // Update or create a Tag * const tag = await prisma.tag.upsert({ * create: { * // ... data to create a Tag * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Tag we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__TagClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Tags. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TagCountArgs} args - Arguments to filter Tags to count. * @example * // Count the number of Tags * const count = await prisma.tag.count({ * where: { * // ... the filter for the Tags we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a Tag. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TagAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by Tag. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TagGroupByArgs} 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 TagGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: TagGroupByArgs['orderBy'] } : { orderBy?: TagGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetTagGroupByPayload : Prisma.PrismaPromise /** * Fields of the Tag model */ readonly fields: TagFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Tag. * 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__TagClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" activities = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> user = {}>(args?: Subset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the Tag model */ interface TagFieldRefs { readonly id: FieldRef<"Tag", 'String'> readonly name: FieldRef<"Tag", 'String'> readonly userId: FieldRef<"Tag", 'String'> } // Custom InputTypes /** * Tag findUnique */ export type TagFindUniqueArgs = { /** * Select specific fields to fetch from the Tag */ select?: TagSelect | null /** * Omit specific fields from the Tag */ omit?: TagOmit | null /** * Choose, which related nodes to fetch as well */ include?: TagInclude | null /** * Filter, which Tag to fetch. */ where: TagWhereUniqueInput } /** * Tag findUniqueOrThrow */ export type TagFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Tag */ select?: TagSelect | null /** * Omit specific fields from the Tag */ omit?: TagOmit | null /** * Choose, which related nodes to fetch as well */ include?: TagInclude | null /** * Filter, which Tag to fetch. */ where: TagWhereUniqueInput } /** * Tag findFirst */ export type TagFindFirstArgs = { /** * Select specific fields to fetch from the Tag */ select?: TagSelect | null /** * Omit specific fields from the Tag */ omit?: TagOmit | null /** * Choose, which related nodes to fetch as well */ include?: TagInclude | null /** * Filter, which Tag to fetch. */ where?: TagWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Tags to fetch. */ orderBy?: TagOrderByWithRelationInput | TagOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Tags. */ cursor?: TagWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Tags from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Tags. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Tags. */ distinct?: TagScalarFieldEnum | TagScalarFieldEnum[] } /** * Tag findFirstOrThrow */ export type TagFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Tag */ select?: TagSelect | null /** * Omit specific fields from the Tag */ omit?: TagOmit | null /** * Choose, which related nodes to fetch as well */ include?: TagInclude | null /** * Filter, which Tag to fetch. */ where?: TagWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Tags to fetch. */ orderBy?: TagOrderByWithRelationInput | TagOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Tags. */ cursor?: TagWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Tags from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Tags. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Tags. */ distinct?: TagScalarFieldEnum | TagScalarFieldEnum[] } /** * Tag findMany */ export type TagFindManyArgs = { /** * Select specific fields to fetch from the Tag */ select?: TagSelect | null /** * Omit specific fields from the Tag */ omit?: TagOmit | null /** * Choose, which related nodes to fetch as well */ include?: TagInclude | null /** * Filter, which Tags to fetch. */ where?: TagWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Tags to fetch. */ orderBy?: TagOrderByWithRelationInput | TagOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Tags. */ cursor?: TagWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Tags from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Tags. */ skip?: number distinct?: TagScalarFieldEnum | TagScalarFieldEnum[] } /** * Tag create */ export type TagCreateArgs = { /** * Select specific fields to fetch from the Tag */ select?: TagSelect | null /** * Omit specific fields from the Tag */ omit?: TagOmit | null /** * Choose, which related nodes to fetch as well */ include?: TagInclude | null /** * The data needed to create a Tag. */ data: XOR } /** * Tag createMany */ export type TagCreateManyArgs = { /** * The data used to create many Tags. */ data: TagCreateManyInput | TagCreateManyInput[] skipDuplicates?: boolean } /** * Tag createManyAndReturn */ export type TagCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Tag */ select?: TagSelectCreateManyAndReturn | null /** * Omit specific fields from the Tag */ omit?: TagOmit | null /** * The data used to create many Tags. */ data: TagCreateManyInput | TagCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: TagIncludeCreateManyAndReturn | null } /** * Tag update */ export type TagUpdateArgs = { /** * Select specific fields to fetch from the Tag */ select?: TagSelect | null /** * Omit specific fields from the Tag */ omit?: TagOmit | null /** * Choose, which related nodes to fetch as well */ include?: TagInclude | null /** * The data needed to update a Tag. */ data: XOR /** * Choose, which Tag to update. */ where: TagWhereUniqueInput } /** * Tag updateMany */ export type TagUpdateManyArgs = { /** * The data used to update Tags. */ data: XOR /** * Filter which Tags to update */ where?: TagWhereInput /** * Limit how many Tags to update. */ limit?: number } /** * Tag updateManyAndReturn */ export type TagUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Tag */ select?: TagSelectUpdateManyAndReturn | null /** * Omit specific fields from the Tag */ omit?: TagOmit | null /** * The data used to update Tags. */ data: XOR /** * Filter which Tags to update */ where?: TagWhereInput /** * Limit how many Tags to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: TagIncludeUpdateManyAndReturn | null } /** * Tag upsert */ export type TagUpsertArgs = { /** * Select specific fields to fetch from the Tag */ select?: TagSelect | null /** * Omit specific fields from the Tag */ omit?: TagOmit | null /** * Choose, which related nodes to fetch as well */ include?: TagInclude | null /** * The filter to search for the Tag to update in case it exists. */ where: TagWhereUniqueInput /** * In case the Tag found by the `where` argument doesn't exist, create a new Tag with this data. */ create: XOR /** * In case the Tag was found with the provided `where` argument, update it with this data. */ update: XOR } /** * Tag delete */ export type TagDeleteArgs = { /** * Select specific fields to fetch from the Tag */ select?: TagSelect | null /** * Omit specific fields from the Tag */ omit?: TagOmit | null /** * Choose, which related nodes to fetch as well */ include?: TagInclude | null /** * Filter which Tag to delete. */ where: TagWhereUniqueInput } /** * Tag deleteMany */ export type TagDeleteManyArgs = { /** * Filter which Tags to delete */ where?: TagWhereInput /** * Limit how many Tags to delete. */ limit?: number } /** * Tag.activities */ export type Tag$activitiesArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelect | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrderInclude | null where?: OrderWhereInput orderBy?: OrderOrderByWithRelationInput | OrderOrderByWithRelationInput[] cursor?: OrderWhereUniqueInput take?: number skip?: number distinct?: OrderScalarFieldEnum | OrderScalarFieldEnum[] } /** * Tag.user */ export type Tag$userArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null where?: UserWhereInput } /** * Tag without action */ export type TagDefaultArgs = { /** * Select specific fields to fetch from the Tag */ select?: TagSelect | null /** * Omit specific fields from the Tag */ omit?: TagOmit | null /** * Choose, which related nodes to fetch as well */ include?: TagInclude | null } /** * Model User */ export type AggregateUser = { _count: UserCountAggregateOutputType | null _min: UserMinAggregateOutputType | null _max: UserMaxAggregateOutputType | null } export type UserMinAggregateOutputType = { accessToken: string | null authChallenge: string | null createdAt: Date | null id: string | null provider: $Enums.Provider | null role: $Enums.Role | null thirdPartyId: string | null updatedAt: Date | null } export type UserMaxAggregateOutputType = { accessToken: string | null authChallenge: string | null createdAt: Date | null id: string | null provider: $Enums.Provider | null role: $Enums.Role | null thirdPartyId: string | null updatedAt: Date | null } export type UserCountAggregateOutputType = { accessToken: number authChallenge: number createdAt: number id: number provider: number role: number thirdPartyId: number updatedAt: number _all: number } export type UserMinAggregateInputType = { accessToken?: true authChallenge?: true createdAt?: true id?: true provider?: true role?: true thirdPartyId?: true updatedAt?: true } export type UserMaxAggregateInputType = { accessToken?: true authChallenge?: true createdAt?: true id?: true provider?: true role?: true thirdPartyId?: true updatedAt?: true } export type UserCountAggregateInputType = { accessToken?: true authChallenge?: true createdAt?: true id?: true provider?: true role?: true thirdPartyId?: true updatedAt?: true _all?: true } export type UserAggregateArgs = { /** * Filter which User to aggregate. */ where?: UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. */ orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Users. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Users **/ _count?: true | UserCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: UserMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: UserMaxAggregateInputType } export type GetUserAggregateType = { [P in keyof T & keyof AggregateUser]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type UserGroupByArgs = { where?: UserWhereInput orderBy?: UserOrderByWithAggregationInput | UserOrderByWithAggregationInput[] by: UserScalarFieldEnum[] | UserScalarFieldEnum having?: UserScalarWhereWithAggregatesInput take?: number skip?: number _count?: UserCountAggregateInputType | true _min?: UserMinAggregateInputType _max?: UserMaxAggregateInputType } export type UserGroupByOutputType = { accessToken: string | null authChallenge: string | null createdAt: Date id: string provider: $Enums.Provider role: $Enums.Role thirdPartyId: string | null updatedAt: Date _count: UserCountAggregateOutputType | null _min: UserMinAggregateOutputType | null _max: UserMaxAggregateOutputType | null } type GetUserGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type UserSelect = $Extensions.GetSelect<{ accessToken?: boolean authChallenge?: boolean createdAt?: boolean id?: boolean provider?: boolean role?: boolean thirdPartyId?: boolean updatedAt?: boolean accessesGet?: boolean | User$accessesGetArgs accessesGive?: boolean | User$accessesGiveArgs accounts?: boolean | User$accountsArgs activities?: boolean | User$activitiesArgs analytics?: boolean | User$analyticsArgs apiKeys?: boolean | User$apiKeysArgs authDevices?: boolean | User$authDevicesArgs settings?: boolean | User$settingsArgs subscriptions?: boolean | User$subscriptionsArgs tags?: boolean | User$tagsArgs watchlist?: boolean | User$watchlistArgs SymbolProfile?: boolean | User$SymbolProfileArgs _count?: boolean | UserCountOutputTypeDefaultArgs }, ExtArgs["result"]["user"]> export type UserSelectCreateManyAndReturn = $Extensions.GetSelect<{ accessToken?: boolean authChallenge?: boolean createdAt?: boolean id?: boolean provider?: boolean role?: boolean thirdPartyId?: boolean updatedAt?: boolean }, ExtArgs["result"]["user"]> export type UserSelectUpdateManyAndReturn = $Extensions.GetSelect<{ accessToken?: boolean authChallenge?: boolean createdAt?: boolean id?: boolean provider?: boolean role?: boolean thirdPartyId?: boolean updatedAt?: boolean }, ExtArgs["result"]["user"]> export type UserSelectScalar = { accessToken?: boolean authChallenge?: boolean createdAt?: boolean id?: boolean provider?: boolean role?: boolean thirdPartyId?: boolean updatedAt?: boolean } export type UserOmit = $Extensions.GetOmit<"accessToken" | "authChallenge" | "createdAt" | "id" | "provider" | "role" | "thirdPartyId" | "updatedAt", ExtArgs["result"]["user"]> export type UserInclude = { accessesGet?: boolean | User$accessesGetArgs accessesGive?: boolean | User$accessesGiveArgs accounts?: boolean | User$accountsArgs activities?: boolean | User$activitiesArgs analytics?: boolean | User$analyticsArgs apiKeys?: boolean | User$apiKeysArgs authDevices?: boolean | User$authDevicesArgs settings?: boolean | User$settingsArgs subscriptions?: boolean | User$subscriptionsArgs tags?: boolean | User$tagsArgs watchlist?: boolean | User$watchlistArgs SymbolProfile?: boolean | User$SymbolProfileArgs _count?: boolean | UserCountOutputTypeDefaultArgs } export type UserIncludeCreateManyAndReturn = {} export type UserIncludeUpdateManyAndReturn = {} export type $UserPayload = { name: "User" objects: { accessesGet: Prisma.$AccessPayload[] accessesGive: Prisma.$AccessPayload[] accounts: Prisma.$AccountPayload[] activities: Prisma.$OrderPayload[] analytics: Prisma.$AnalyticsPayload | null apiKeys: Prisma.$ApiKeyPayload[] authDevices: Prisma.$AuthDevicePayload[] settings: Prisma.$SettingsPayload | null subscriptions: Prisma.$SubscriptionPayload[] tags: Prisma.$TagPayload[] watchlist: Prisma.$SymbolProfilePayload[] SymbolProfile: Prisma.$SymbolProfilePayload[] } scalars: $Extensions.GetPayloadResult<{ accessToken: string | null authChallenge: string | null createdAt: Date id: string provider: $Enums.Provider role: $Enums.Role thirdPartyId: string | null updatedAt: Date }, ExtArgs["result"]["user"]> composites: {} } type UserGetPayload = $Result.GetResult type UserCountArgs = Omit & { select?: UserCountAggregateInputType | true } export interface UserDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['User'], meta: { name: 'User' } } /** * Find zero or one User that matches the filter. * @param {UserFindUniqueArgs} args - Arguments to find a User * @example * // Get one User * const user = await prisma.user.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one User that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User * @example * // Get one User * const user = await prisma.user.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first User that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserFindFirstArgs} args - Arguments to find a User * @example * // Get one User * const user = await prisma.user.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first User that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserFindFirstOrThrowArgs} args - Arguments to find a User * @example * // Get one User * const user = await prisma.user.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Users that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Users * const users = await prisma.user.findMany() * * // Get first 10 Users * const users = await prisma.user.findMany({ take: 10 }) * * // Only select the `accessToken` * const userWithAccessTokenOnly = await prisma.user.findMany({ select: { accessToken: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a User. * @param {UserCreateArgs} args - Arguments to create a User. * @example * // Create one User * const User = await prisma.user.create({ * data: { * // ... data to create a User * } * }) * */ create(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Users. * @param {UserCreateManyArgs} args - Arguments to create many Users. * @example * // Create many Users * const user = await prisma.user.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Create many Users and returns the data saved in the database. * @param {UserCreateManyAndReturnArgs} args - Arguments to create many Users. * @example * // Create many Users * const user = await prisma.user.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Users and only return the `accessToken` * const userWithAccessTokenOnly = await prisma.user.createManyAndReturn({ * select: { accessToken: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a User. * @param {UserDeleteArgs} args - Arguments to delete one User. * @example * // Delete one User * const User = await prisma.user.delete({ * where: { * // ... filter to delete one User * } * }) * */ delete(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one User. * @param {UserUpdateArgs} args - Arguments to update one User. * @example * // Update one User * const user = await prisma.user.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Users. * @param {UserDeleteManyArgs} args - Arguments to filter Users to delete. * @example * // Delete a few Users * const { count } = await prisma.user.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Users. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Users * const user = await prisma.user.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Users and returns the data updated in the database. * @param {UserUpdateManyAndReturnArgs} args - Arguments to update many Users. * @example * // Update many Users * const user = await prisma.user.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Users and only return the `accessToken` * const userWithAccessTokenOnly = await prisma.user.updateManyAndReturn({ * select: { accessToken: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one User. * @param {UserUpsertArgs} args - Arguments to update or create a User. * @example * // Update or create a User * const user = await prisma.user.upsert({ * create: { * // ... data to create a User * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the User we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__UserClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Users. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserCountArgs} args - Arguments to filter Users to count. * @example * // Count the number of Users * const count = await prisma.user.count({ * where: { * // ... the filter for the Users we want to count * } * }) **/ count( args?: Subset, ): Prisma.PrismaPromise< T extends $Utils.Record<'select', any> ? T['select'] extends true ? number : GetScalarType : number > /** * Allows you to perform aggregations operations on a User. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Subset): Prisma.PrismaPromise> /** * Group by User. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends UserGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: UserGroupByArgs['orderBy'] } : { orderBy?: UserGroupByArgs['orderBy'] }, OrderFields extends ExcludeUnderscoreKeys>>, ByFields extends MaybeTupleToUnion, ByValid extends Has, HavingFields extends GetHavingFields, HavingValid extends Has, ByEmpty extends T['by'] extends never[] ? True : False, InputErrors extends ByEmpty extends True ? `Error: "by" must not be empty.` : HavingValid extends False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Keys ? 'orderBy' extends Keys ? ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: SubsetIntersection & InputErrors): {} extends InputErrors ? GetUserGroupByPayload : Prisma.PrismaPromise /** * Fields of the User model */ readonly fields: UserFieldRefs; } /** * The delegate class that acts as a "Promise-like" for User. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__UserClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" accessesGet = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> accessesGive = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> accounts = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> activities = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> analytics = {}>(args?: Subset>): Prisma__AnalyticsClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> apiKeys = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> authDevices = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> settings = {}>(args?: Subset>): Prisma__SettingsClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> subscriptions = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> tags = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> watchlist = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> SymbolProfile = {}>(args?: Subset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): $Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise } /** * Fields of the User model */ interface UserFieldRefs { readonly accessToken: FieldRef<"User", 'String'> readonly authChallenge: FieldRef<"User", 'String'> readonly createdAt: FieldRef<"User", 'DateTime'> readonly id: FieldRef<"User", 'String'> readonly provider: FieldRef<"User", 'Provider'> readonly role: FieldRef<"User", 'Role'> readonly thirdPartyId: FieldRef<"User", 'String'> readonly updatedAt: FieldRef<"User", 'DateTime'> } // Custom InputTypes /** * User findUnique */ export type UserFindUniqueArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * Filter, which User to fetch. */ where: UserWhereUniqueInput } /** * User findUniqueOrThrow */ export type UserFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * Filter, which User to fetch. */ where: UserWhereUniqueInput } /** * User findFirst */ export type UserFindFirstArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * Filter, which User to fetch. */ where?: UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. */ orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Users. */ cursor?: UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Users. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Users. */ distinct?: UserScalarFieldEnum | UserScalarFieldEnum[] } /** * User findFirstOrThrow */ export type UserFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * Filter, which User to fetch. */ where?: UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. */ orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Users. */ cursor?: UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Users. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Users. */ distinct?: UserScalarFieldEnum | UserScalarFieldEnum[] } /** * User findMany */ export type UserFindManyArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * Filter, which Users to fetch. */ where?: UserWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Users to fetch. */ orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Users. */ cursor?: UserWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Users from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` Users. */ skip?: number distinct?: UserScalarFieldEnum | UserScalarFieldEnum[] } /** * User create */ export type UserCreateArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * The data needed to create a User. */ data: XOR } /** * User createMany */ export type UserCreateManyArgs = { /** * The data used to create many Users. */ data: UserCreateManyInput | UserCreateManyInput[] skipDuplicates?: boolean } /** * User createManyAndReturn */ export type UserCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelectCreateManyAndReturn | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * The data used to create many Users. */ data: UserCreateManyInput | UserCreateManyInput[] skipDuplicates?: boolean } /** * User update */ export type UserUpdateArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * The data needed to update a User. */ data: XOR /** * Choose, which User to update. */ where: UserWhereUniqueInput } /** * User updateMany */ export type UserUpdateManyArgs = { /** * The data used to update Users. */ data: XOR /** * Filter which Users to update */ where?: UserWhereInput /** * Limit how many Users to update. */ limit?: number } /** * User updateManyAndReturn */ export type UserUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelectUpdateManyAndReturn | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * The data used to update Users. */ data: XOR /** * Filter which Users to update */ where?: UserWhereInput /** * Limit how many Users to update. */ limit?: number } /** * User upsert */ export type UserUpsertArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * The filter to search for the User to update in case it exists. */ where: UserWhereUniqueInput /** * In case the User found by the `where` argument doesn't exist, create a new User with this data. */ create: XOR /** * In case the User was found with the provided `where` argument, update it with this data. */ update: XOR } /** * User delete */ export type UserDeleteArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null /** * Filter which User to delete. */ where: UserWhereUniqueInput } /** * User deleteMany */ export type UserDeleteManyArgs = { /** * Filter which Users to delete */ where?: UserWhereInput /** * Limit how many Users to delete. */ limit?: number } /** * User.accessesGet */ export type User$accessesGetArgs = { /** * Select specific fields to fetch from the Access */ select?: AccessSelect | null /** * Omit specific fields from the Access */ omit?: AccessOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccessInclude | null where?: AccessWhereInput orderBy?: AccessOrderByWithRelationInput | AccessOrderByWithRelationInput[] cursor?: AccessWhereUniqueInput take?: number skip?: number distinct?: AccessScalarFieldEnum | AccessScalarFieldEnum[] } /** * User.accessesGive */ export type User$accessesGiveArgs = { /** * Select specific fields to fetch from the Access */ select?: AccessSelect | null /** * Omit specific fields from the Access */ omit?: AccessOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccessInclude | null where?: AccessWhereInput orderBy?: AccessOrderByWithRelationInput | AccessOrderByWithRelationInput[] cursor?: AccessWhereUniqueInput take?: number skip?: number distinct?: AccessScalarFieldEnum | AccessScalarFieldEnum[] } /** * User.accounts */ export type User$accountsArgs = { /** * Select specific fields to fetch from the Account */ select?: AccountSelect | null /** * Omit specific fields from the Account */ omit?: AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: AccountInclude | null where?: AccountWhereInput orderBy?: AccountOrderByWithRelationInput | AccountOrderByWithRelationInput[] cursor?: AccountWhereUniqueInput take?: number skip?: number distinct?: AccountScalarFieldEnum | AccountScalarFieldEnum[] } /** * User.activities */ export type User$activitiesArgs = { /** * Select specific fields to fetch from the Order */ select?: OrderSelect | null /** * Omit specific fields from the Order */ omit?: OrderOmit | null /** * Choose, which related nodes to fetch as well */ include?: OrderInclude | null where?: OrderWhereInput orderBy?: OrderOrderByWithRelationInput | OrderOrderByWithRelationInput[] cursor?: OrderWhereUniqueInput take?: number skip?: number distinct?: OrderScalarFieldEnum | OrderScalarFieldEnum[] } /** * User.analytics */ export type User$analyticsArgs = { /** * Select specific fields to fetch from the Analytics */ select?: AnalyticsSelect | null /** * Omit specific fields from the Analytics */ omit?: AnalyticsOmit | null /** * Choose, which related nodes to fetch as well */ include?: AnalyticsInclude | null where?: AnalyticsWhereInput } /** * User.apiKeys */ export type User$apiKeysArgs = { /** * Select specific fields to fetch from the ApiKey */ select?: ApiKeySelect | null /** * Omit specific fields from the ApiKey */ omit?: ApiKeyOmit | null /** * Choose, which related nodes to fetch as well */ include?: ApiKeyInclude | null where?: ApiKeyWhereInput orderBy?: ApiKeyOrderByWithRelationInput | ApiKeyOrderByWithRelationInput[] cursor?: ApiKeyWhereUniqueInput take?: number skip?: number distinct?: ApiKeyScalarFieldEnum | ApiKeyScalarFieldEnum[] } /** * User.authDevices */ export type User$authDevicesArgs = { /** * Select specific fields to fetch from the AuthDevice */ select?: AuthDeviceSelect | null /** * Omit specific fields from the AuthDevice */ omit?: AuthDeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: AuthDeviceInclude | null where?: AuthDeviceWhereInput orderBy?: AuthDeviceOrderByWithRelationInput | AuthDeviceOrderByWithRelationInput[] cursor?: AuthDeviceWhereUniqueInput take?: number skip?: number distinct?: AuthDeviceScalarFieldEnum | AuthDeviceScalarFieldEnum[] } /** * User.settings */ export type User$settingsArgs = { /** * Select specific fields to fetch from the Settings */ select?: SettingsSelect | null /** * Omit specific fields from the Settings */ omit?: SettingsOmit | null /** * Choose, which related nodes to fetch as well */ include?: SettingsInclude | null where?: SettingsWhereInput } /** * User.subscriptions */ export type User$subscriptionsArgs = { /** * Select specific fields to fetch from the Subscription */ select?: SubscriptionSelect | null /** * Omit specific fields from the Subscription */ omit?: SubscriptionOmit | null /** * Choose, which related nodes to fetch as well */ include?: SubscriptionInclude | null where?: SubscriptionWhereInput orderBy?: SubscriptionOrderByWithRelationInput | SubscriptionOrderByWithRelationInput[] cursor?: SubscriptionWhereUniqueInput take?: number skip?: number distinct?: SubscriptionScalarFieldEnum | SubscriptionScalarFieldEnum[] } /** * User.tags */ export type User$tagsArgs = { /** * Select specific fields to fetch from the Tag */ select?: TagSelect | null /** * Omit specific fields from the Tag */ omit?: TagOmit | null /** * Choose, which related nodes to fetch as well */ include?: TagInclude | null where?: TagWhereInput orderBy?: TagOrderByWithRelationInput | TagOrderByWithRelationInput[] cursor?: TagWhereUniqueInput take?: number skip?: number distinct?: TagScalarFieldEnum | TagScalarFieldEnum[] } /** * User.watchlist */ export type User$watchlistArgs = { /** * Select specific fields to fetch from the SymbolProfile */ select?: SymbolProfileSelect | null /** * Omit specific fields from the SymbolProfile */ omit?: SymbolProfileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileInclude | null where?: SymbolProfileWhereInput orderBy?: SymbolProfileOrderByWithRelationInput | SymbolProfileOrderByWithRelationInput[] cursor?: SymbolProfileWhereUniqueInput take?: number skip?: number distinct?: SymbolProfileScalarFieldEnum | SymbolProfileScalarFieldEnum[] } /** * User.SymbolProfile */ export type User$SymbolProfileArgs = { /** * Select specific fields to fetch from the SymbolProfile */ select?: SymbolProfileSelect | null /** * Omit specific fields from the SymbolProfile */ omit?: SymbolProfileOmit | null /** * Choose, which related nodes to fetch as well */ include?: SymbolProfileInclude | null where?: SymbolProfileWhereInput orderBy?: SymbolProfileOrderByWithRelationInput | SymbolProfileOrderByWithRelationInput[] cursor?: SymbolProfileWhereUniqueInput take?: number skip?: number distinct?: SymbolProfileScalarFieldEnum | SymbolProfileScalarFieldEnum[] } /** * User without action */ export type UserDefaultArgs = { /** * Select specific fields to fetch from the User */ select?: UserSelect | null /** * Omit specific fields from the User */ omit?: UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: UserInclude | null } /** * Enums */ export const TransactionIsolationLevel: { ReadUncommitted: 'ReadUncommitted', ReadCommitted: 'ReadCommitted', RepeatableRead: 'RepeatableRead', Serializable: 'Serializable' }; export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] export const AccessScalarFieldEnum: { alias: 'alias', createdAt: 'createdAt', granteeUserId: 'granteeUserId', id: 'id', permissions: 'permissions', settings: 'settings', updatedAt: 'updatedAt', userId: 'userId' }; export type AccessScalarFieldEnum = (typeof AccessScalarFieldEnum)[keyof typeof AccessScalarFieldEnum] export const AccountScalarFieldEnum: { balance: 'balance', comment: 'comment', createdAt: 'createdAt', currency: 'currency', id: 'id', isExcluded: 'isExcluded', name: 'name', platformId: 'platformId', updatedAt: 'updatedAt', userId: 'userId' }; export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum] export const AccountBalanceScalarFieldEnum: { accountId: 'accountId', createdAt: 'createdAt', date: 'date', id: 'id', updatedAt: 'updatedAt', userId: 'userId', value: 'value' }; export type AccountBalanceScalarFieldEnum = (typeof AccountBalanceScalarFieldEnum)[keyof typeof AccountBalanceScalarFieldEnum] export const AnalyticsScalarFieldEnum: { activityCount: 'activityCount', country: 'country', dataProviderGhostfolioDailyRequests: 'dataProviderGhostfolioDailyRequests', lastRequestAt: 'lastRequestAt', updatedAt: 'updatedAt', userId: 'userId' }; export type AnalyticsScalarFieldEnum = (typeof AnalyticsScalarFieldEnum)[keyof typeof AnalyticsScalarFieldEnum] export const ApiKeyScalarFieldEnum: { createdAt: 'createdAt', hashedKey: 'hashedKey', id: 'id', updatedAt: 'updatedAt', userId: 'userId' }; export type ApiKeyScalarFieldEnum = (typeof ApiKeyScalarFieldEnum)[keyof typeof ApiKeyScalarFieldEnum] export const AssetProfileResolutionScalarFieldEnum: { createdAt: 'createdAt', currency: 'currency', dataSourceOrigin: 'dataSourceOrigin', dataSourceTarget: 'dataSourceTarget', id: 'id', requestCount: 'requestCount', symbolOrigin: 'symbolOrigin', symbolTarget: 'symbolTarget', updatedAt: 'updatedAt' }; export type AssetProfileResolutionScalarFieldEnum = (typeof AssetProfileResolutionScalarFieldEnum)[keyof typeof AssetProfileResolutionScalarFieldEnum] export const AuthDeviceScalarFieldEnum: { createdAt: 'createdAt', credentialId: 'credentialId', credentialPublicKey: 'credentialPublicKey', counter: 'counter', id: 'id', updatedAt: 'updatedAt', userId: 'userId' }; export type AuthDeviceScalarFieldEnum = (typeof AuthDeviceScalarFieldEnum)[keyof typeof AuthDeviceScalarFieldEnum] export const MarketDataScalarFieldEnum: { createdAt: 'createdAt', dataSource: 'dataSource', date: 'date', id: 'id', marketPrice: 'marketPrice', state: 'state', symbol: 'symbol' }; export type MarketDataScalarFieldEnum = (typeof MarketDataScalarFieldEnum)[keyof typeof MarketDataScalarFieldEnum] export const OrderScalarFieldEnum: { accountId: 'accountId', accountUserId: 'accountUserId', comment: 'comment', createdAt: 'createdAt', currency: 'currency', date: 'date', fee: 'fee', id: 'id', isDraft: 'isDraft', quantity: 'quantity', symbolProfileId: 'symbolProfileId', type: 'type', unitPrice: 'unitPrice', updatedAt: 'updatedAt', userId: 'userId' }; export type OrderScalarFieldEnum = (typeof OrderScalarFieldEnum)[keyof typeof OrderScalarFieldEnum] export const PlatformScalarFieldEnum: { id: 'id', name: 'name', url: 'url' }; export type PlatformScalarFieldEnum = (typeof PlatformScalarFieldEnum)[keyof typeof PlatformScalarFieldEnum] export const PropertyScalarFieldEnum: { key: 'key', value: 'value' }; export type PropertyScalarFieldEnum = (typeof PropertyScalarFieldEnum)[keyof typeof PropertyScalarFieldEnum] export const SettingsScalarFieldEnum: { settings: 'settings', updatedAt: 'updatedAt', userId: 'userId' }; export type SettingsScalarFieldEnum = (typeof SettingsScalarFieldEnum)[keyof typeof SettingsScalarFieldEnum] export const SymbolProfileScalarFieldEnum: { assetClass: 'assetClass', assetSubClass: 'assetSubClass', comment: 'comment', countries: 'countries', createdAt: 'createdAt', currency: 'currency', cusip: 'cusip', dataSource: 'dataSource', figi: 'figi', figiComposite: 'figiComposite', figiShareClass: 'figiShareClass', holdings: 'holdings', id: 'id', isActive: 'isActive', isin: 'isin', name: 'name', updatedAt: 'updatedAt', scraperConfiguration: 'scraperConfiguration', sectors: 'sectors', symbol: 'symbol', symbolMapping: 'symbolMapping', url: 'url', userId: 'userId' }; export type SymbolProfileScalarFieldEnum = (typeof SymbolProfileScalarFieldEnum)[keyof typeof SymbolProfileScalarFieldEnum] export const SymbolProfileOverridesScalarFieldEnum: { assetClass: 'assetClass', assetSubClass: 'assetSubClass', countries: 'countries', holdings: 'holdings', name: 'name', sectors: 'sectors', symbolProfileId: 'symbolProfileId', updatedAt: 'updatedAt', url: 'url' }; export type SymbolProfileOverridesScalarFieldEnum = (typeof SymbolProfileOverridesScalarFieldEnum)[keyof typeof SymbolProfileOverridesScalarFieldEnum] export const SubscriptionScalarFieldEnum: { createdAt: 'createdAt', expiresAt: 'expiresAt', id: 'id', price: 'price', updatedAt: 'updatedAt', userId: 'userId' }; export type SubscriptionScalarFieldEnum = (typeof SubscriptionScalarFieldEnum)[keyof typeof SubscriptionScalarFieldEnum] export const TagScalarFieldEnum: { id: 'id', name: 'name', userId: 'userId' }; export type TagScalarFieldEnum = (typeof TagScalarFieldEnum)[keyof typeof TagScalarFieldEnum] export const UserScalarFieldEnum: { accessToken: 'accessToken', authChallenge: 'authChallenge', createdAt: 'createdAt', id: 'id', provider: 'provider', role: 'role', thirdPartyId: 'thirdPartyId', updatedAt: 'updatedAt' }; export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] 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 JsonNullValueFilter: { DbNull: typeof DbNull, JsonNull: typeof JsonNull, AnyNull: typeof AnyNull }; export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] export const NullsOrder: { first: 'first', last: 'last' }; export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] /** * Field references */ /** * Reference to a field of type 'String' */ export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'> /** * Reference to a field of type 'String[]' */ export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'> /** * Reference to a field of type '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 'AccessPermission[]' */ export type ListEnumAccessPermissionFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AccessPermission[]'> /** * Reference to a field of type 'AccessPermission' */ export type EnumAccessPermissionFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AccessPermission'> /** * Reference to a field of type 'Json' */ export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'> /** * Reference to a field of type 'QueryMode' */ export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'> /** * Reference to a field of type 'Float' */ export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'> /** * Reference to a field of type 'Float[]' */ export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'> /** * Reference to a field of type 'Boolean' */ export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'> /** * 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 'DataSource' */ export type EnumDataSourceFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DataSource'> /** * Reference to a field of type 'DataSource[]' */ export type ListEnumDataSourceFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DataSource[]'> /** * Reference to a field of type 'Bytes' */ export type BytesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Bytes'> /** * Reference to a field of type 'Bytes[]' */ export type ListBytesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Bytes[]'> /** * Reference to a field of type 'MarketDataState' */ export type EnumMarketDataStateFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'MarketDataState'> /** * Reference to a field of type 'MarketDataState[]' */ export type ListEnumMarketDataStateFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'MarketDataState[]'> /** * Reference to a field of type 'Type' */ export type EnumTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Type'> /** * Reference to a field of type 'Type[]' */ export type ListEnumTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Type[]'> /** * Reference to a field of type 'AssetClass' */ export type EnumAssetClassFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AssetClass'> /** * Reference to a field of type 'AssetClass[]' */ export type ListEnumAssetClassFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AssetClass[]'> /** * Reference to a field of type 'AssetSubClass' */ export type EnumAssetSubClassFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AssetSubClass'> /** * Reference to a field of type 'AssetSubClass[]' */ export type ListEnumAssetSubClassFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AssetSubClass[]'> /** * Reference to a field of type 'Provider' */ export type EnumProviderFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Provider'> /** * Reference to a field of type 'Provider[]' */ export type ListEnumProviderFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Provider[]'> /** * 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[]'> /** * Deep Input Types */ export type AccessWhereInput = { AND?: AccessWhereInput | AccessWhereInput[] OR?: AccessWhereInput[] NOT?: AccessWhereInput | AccessWhereInput[] alias?: StringNullableFilter<"Access"> | string | null createdAt?: DateTimeFilter<"Access"> | Date | string granteeUserId?: StringNullableFilter<"Access"> | string | null id?: StringFilter<"Access"> | string permissions?: EnumAccessPermissionNullableListFilter<"Access"> settings?: JsonFilter<"Access"> updatedAt?: DateTimeFilter<"Access"> | Date | string userId?: StringFilter<"Access"> | string granteeUser?: XOR | null user?: XOR } export type AccessOrderByWithRelationInput = { alias?: SortOrderInput | SortOrder createdAt?: SortOrder granteeUserId?: SortOrderInput | SortOrder id?: SortOrder permissions?: SortOrder settings?: SortOrder updatedAt?: SortOrder userId?: SortOrder granteeUser?: UserOrderByWithRelationInput user?: UserOrderByWithRelationInput } export type AccessWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: AccessWhereInput | AccessWhereInput[] OR?: AccessWhereInput[] NOT?: AccessWhereInput | AccessWhereInput[] alias?: StringNullableFilter<"Access"> | string | null createdAt?: DateTimeFilter<"Access"> | Date | string granteeUserId?: StringNullableFilter<"Access"> | string | null permissions?: EnumAccessPermissionNullableListFilter<"Access"> settings?: JsonFilter<"Access"> updatedAt?: DateTimeFilter<"Access"> | Date | string userId?: StringFilter<"Access"> | string granteeUser?: XOR | null user?: XOR }, "id"> export type AccessOrderByWithAggregationInput = { alias?: SortOrderInput | SortOrder createdAt?: SortOrder granteeUserId?: SortOrderInput | SortOrder id?: SortOrder permissions?: SortOrder settings?: SortOrder updatedAt?: SortOrder userId?: SortOrder _count?: AccessCountOrderByAggregateInput _max?: AccessMaxOrderByAggregateInput _min?: AccessMinOrderByAggregateInput } export type AccessScalarWhereWithAggregatesInput = { AND?: AccessScalarWhereWithAggregatesInput | AccessScalarWhereWithAggregatesInput[] OR?: AccessScalarWhereWithAggregatesInput[] NOT?: AccessScalarWhereWithAggregatesInput | AccessScalarWhereWithAggregatesInput[] alias?: StringNullableWithAggregatesFilter<"Access"> | string | null createdAt?: DateTimeWithAggregatesFilter<"Access"> | Date | string granteeUserId?: StringNullableWithAggregatesFilter<"Access"> | string | null id?: StringWithAggregatesFilter<"Access"> | string permissions?: EnumAccessPermissionNullableListFilter<"Access"> settings?: JsonWithAggregatesFilter<"Access"> updatedAt?: DateTimeWithAggregatesFilter<"Access"> | Date | string userId?: StringWithAggregatesFilter<"Access"> | string } export type AccountWhereInput = { AND?: AccountWhereInput | AccountWhereInput[] OR?: AccountWhereInput[] NOT?: AccountWhereInput | AccountWhereInput[] balance?: FloatFilter<"Account"> | number comment?: StringNullableFilter<"Account"> | string | null createdAt?: DateTimeFilter<"Account"> | Date | string currency?: StringNullableFilter<"Account"> | string | null id?: StringFilter<"Account"> | string isExcluded?: BoolFilter<"Account"> | boolean name?: StringNullableFilter<"Account"> | string | null platformId?: StringNullableFilter<"Account"> | string | null updatedAt?: DateTimeFilter<"Account"> | Date | string userId?: StringFilter<"Account"> | string activities?: OrderListRelationFilter balances?: AccountBalanceListRelationFilter platform?: XOR | null user?: XOR } export type AccountOrderByWithRelationInput = { balance?: SortOrder comment?: SortOrderInput | SortOrder createdAt?: SortOrder currency?: SortOrderInput | SortOrder id?: SortOrder isExcluded?: SortOrder name?: SortOrderInput | SortOrder platformId?: SortOrderInput | SortOrder updatedAt?: SortOrder userId?: SortOrder activities?: OrderOrderByRelationAggregateInput balances?: AccountBalanceOrderByRelationAggregateInput platform?: PlatformOrderByWithRelationInput user?: UserOrderByWithRelationInput } export type AccountWhereUniqueInput = Prisma.AtLeast<{ id_userId?: AccountIdUserIdCompoundUniqueInput AND?: AccountWhereInput | AccountWhereInput[] OR?: AccountWhereInput[] NOT?: AccountWhereInput | AccountWhereInput[] balance?: FloatFilter<"Account"> | number comment?: StringNullableFilter<"Account"> | string | null createdAt?: DateTimeFilter<"Account"> | Date | string currency?: StringNullableFilter<"Account"> | string | null id?: StringFilter<"Account"> | string isExcluded?: BoolFilter<"Account"> | boolean name?: StringNullableFilter<"Account"> | string | null platformId?: StringNullableFilter<"Account"> | string | null updatedAt?: DateTimeFilter<"Account"> | Date | string userId?: StringFilter<"Account"> | string activities?: OrderListRelationFilter balances?: AccountBalanceListRelationFilter platform?: XOR | null user?: XOR }, "id_userId"> export type AccountOrderByWithAggregationInput = { balance?: SortOrder comment?: SortOrderInput | SortOrder createdAt?: SortOrder currency?: SortOrderInput | SortOrder id?: SortOrder isExcluded?: SortOrder name?: SortOrderInput | SortOrder platformId?: SortOrderInput | SortOrder updatedAt?: SortOrder userId?: SortOrder _count?: AccountCountOrderByAggregateInput _avg?: AccountAvgOrderByAggregateInput _max?: AccountMaxOrderByAggregateInput _min?: AccountMinOrderByAggregateInput _sum?: AccountSumOrderByAggregateInput } export type AccountScalarWhereWithAggregatesInput = { AND?: AccountScalarWhereWithAggregatesInput | AccountScalarWhereWithAggregatesInput[] OR?: AccountScalarWhereWithAggregatesInput[] NOT?: AccountScalarWhereWithAggregatesInput | AccountScalarWhereWithAggregatesInput[] balance?: FloatWithAggregatesFilter<"Account"> | number comment?: StringNullableWithAggregatesFilter<"Account"> | string | null createdAt?: DateTimeWithAggregatesFilter<"Account"> | Date | string currency?: StringNullableWithAggregatesFilter<"Account"> | string | null id?: StringWithAggregatesFilter<"Account"> | string isExcluded?: BoolWithAggregatesFilter<"Account"> | boolean name?: StringNullableWithAggregatesFilter<"Account"> | string | null platformId?: StringNullableWithAggregatesFilter<"Account"> | string | null updatedAt?: DateTimeWithAggregatesFilter<"Account"> | Date | string userId?: StringWithAggregatesFilter<"Account"> | string } export type AccountBalanceWhereInput = { AND?: AccountBalanceWhereInput | AccountBalanceWhereInput[] OR?: AccountBalanceWhereInput[] NOT?: AccountBalanceWhereInput | AccountBalanceWhereInput[] accountId?: StringFilter<"AccountBalance"> | string createdAt?: DateTimeFilter<"AccountBalance"> | Date | string date?: DateTimeFilter<"AccountBalance"> | Date | string id?: StringFilter<"AccountBalance"> | string updatedAt?: DateTimeFilter<"AccountBalance"> | Date | string userId?: StringFilter<"AccountBalance"> | string value?: FloatFilter<"AccountBalance"> | number account?: XOR } export type AccountBalanceOrderByWithRelationInput = { accountId?: SortOrder createdAt?: SortOrder date?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder value?: SortOrder account?: AccountOrderByWithRelationInput } export type AccountBalanceWhereUniqueInput = Prisma.AtLeast<{ id?: string accountId_date?: AccountBalanceAccountIdDateCompoundUniqueInput AND?: AccountBalanceWhereInput | AccountBalanceWhereInput[] OR?: AccountBalanceWhereInput[] NOT?: AccountBalanceWhereInput | AccountBalanceWhereInput[] accountId?: StringFilter<"AccountBalance"> | string createdAt?: DateTimeFilter<"AccountBalance"> | Date | string date?: DateTimeFilter<"AccountBalance"> | Date | string updatedAt?: DateTimeFilter<"AccountBalance"> | Date | string userId?: StringFilter<"AccountBalance"> | string value?: FloatFilter<"AccountBalance"> | number account?: XOR }, "id" | "accountId_date"> export type AccountBalanceOrderByWithAggregationInput = { accountId?: SortOrder createdAt?: SortOrder date?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder value?: SortOrder _count?: AccountBalanceCountOrderByAggregateInput _avg?: AccountBalanceAvgOrderByAggregateInput _max?: AccountBalanceMaxOrderByAggregateInput _min?: AccountBalanceMinOrderByAggregateInput _sum?: AccountBalanceSumOrderByAggregateInput } export type AccountBalanceScalarWhereWithAggregatesInput = { AND?: AccountBalanceScalarWhereWithAggregatesInput | AccountBalanceScalarWhereWithAggregatesInput[] OR?: AccountBalanceScalarWhereWithAggregatesInput[] NOT?: AccountBalanceScalarWhereWithAggregatesInput | AccountBalanceScalarWhereWithAggregatesInput[] accountId?: StringWithAggregatesFilter<"AccountBalance"> | string createdAt?: DateTimeWithAggregatesFilter<"AccountBalance"> | Date | string date?: DateTimeWithAggregatesFilter<"AccountBalance"> | Date | string id?: StringWithAggregatesFilter<"AccountBalance"> | string updatedAt?: DateTimeWithAggregatesFilter<"AccountBalance"> | Date | string userId?: StringWithAggregatesFilter<"AccountBalance"> | string value?: FloatWithAggregatesFilter<"AccountBalance"> | number } export type AnalyticsWhereInput = { AND?: AnalyticsWhereInput | AnalyticsWhereInput[] OR?: AnalyticsWhereInput[] NOT?: AnalyticsWhereInput | AnalyticsWhereInput[] activityCount?: IntFilter<"Analytics"> | number country?: StringNullableFilter<"Analytics"> | string | null dataProviderGhostfolioDailyRequests?: IntFilter<"Analytics"> | number lastRequestAt?: DateTimeFilter<"Analytics"> | Date | string updatedAt?: DateTimeFilter<"Analytics"> | Date | string userId?: StringFilter<"Analytics"> | string user?: XOR } export type AnalyticsOrderByWithRelationInput = { activityCount?: SortOrder country?: SortOrderInput | SortOrder dataProviderGhostfolioDailyRequests?: SortOrder lastRequestAt?: SortOrder updatedAt?: SortOrder userId?: SortOrder user?: UserOrderByWithRelationInput } export type AnalyticsWhereUniqueInput = Prisma.AtLeast<{ userId?: string AND?: AnalyticsWhereInput | AnalyticsWhereInput[] OR?: AnalyticsWhereInput[] NOT?: AnalyticsWhereInput | AnalyticsWhereInput[] activityCount?: IntFilter<"Analytics"> | number country?: StringNullableFilter<"Analytics"> | string | null dataProviderGhostfolioDailyRequests?: IntFilter<"Analytics"> | number lastRequestAt?: DateTimeFilter<"Analytics"> | Date | string updatedAt?: DateTimeFilter<"Analytics"> | Date | string user?: XOR }, "userId"> export type AnalyticsOrderByWithAggregationInput = { activityCount?: SortOrder country?: SortOrderInput | SortOrder dataProviderGhostfolioDailyRequests?: SortOrder lastRequestAt?: SortOrder updatedAt?: SortOrder userId?: SortOrder _count?: AnalyticsCountOrderByAggregateInput _avg?: AnalyticsAvgOrderByAggregateInput _max?: AnalyticsMaxOrderByAggregateInput _min?: AnalyticsMinOrderByAggregateInput _sum?: AnalyticsSumOrderByAggregateInput } export type AnalyticsScalarWhereWithAggregatesInput = { AND?: AnalyticsScalarWhereWithAggregatesInput | AnalyticsScalarWhereWithAggregatesInput[] OR?: AnalyticsScalarWhereWithAggregatesInput[] NOT?: AnalyticsScalarWhereWithAggregatesInput | AnalyticsScalarWhereWithAggregatesInput[] activityCount?: IntWithAggregatesFilter<"Analytics"> | number country?: StringNullableWithAggregatesFilter<"Analytics"> | string | null dataProviderGhostfolioDailyRequests?: IntWithAggregatesFilter<"Analytics"> | number lastRequestAt?: DateTimeWithAggregatesFilter<"Analytics"> | Date | string updatedAt?: DateTimeWithAggregatesFilter<"Analytics"> | Date | string userId?: StringWithAggregatesFilter<"Analytics"> | string } export type ApiKeyWhereInput = { AND?: ApiKeyWhereInput | ApiKeyWhereInput[] OR?: ApiKeyWhereInput[] NOT?: ApiKeyWhereInput | ApiKeyWhereInput[] createdAt?: DateTimeFilter<"ApiKey"> | Date | string hashedKey?: StringFilter<"ApiKey"> | string id?: StringFilter<"ApiKey"> | string updatedAt?: DateTimeFilter<"ApiKey"> | Date | string userId?: StringFilter<"ApiKey"> | string user?: XOR } export type ApiKeyOrderByWithRelationInput = { createdAt?: SortOrder hashedKey?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder user?: UserOrderByWithRelationInput } export type ApiKeyWhereUniqueInput = Prisma.AtLeast<{ hashedKey?: string id?: string AND?: ApiKeyWhereInput | ApiKeyWhereInput[] OR?: ApiKeyWhereInput[] NOT?: ApiKeyWhereInput | ApiKeyWhereInput[] createdAt?: DateTimeFilter<"ApiKey"> | Date | string updatedAt?: DateTimeFilter<"ApiKey"> | Date | string userId?: StringFilter<"ApiKey"> | string user?: XOR }, "id" | "hashedKey"> export type ApiKeyOrderByWithAggregationInput = { createdAt?: SortOrder hashedKey?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder _count?: ApiKeyCountOrderByAggregateInput _max?: ApiKeyMaxOrderByAggregateInput _min?: ApiKeyMinOrderByAggregateInput } export type ApiKeyScalarWhereWithAggregatesInput = { AND?: ApiKeyScalarWhereWithAggregatesInput | ApiKeyScalarWhereWithAggregatesInput[] OR?: ApiKeyScalarWhereWithAggregatesInput[] NOT?: ApiKeyScalarWhereWithAggregatesInput | ApiKeyScalarWhereWithAggregatesInput[] createdAt?: DateTimeWithAggregatesFilter<"ApiKey"> | Date | string hashedKey?: StringWithAggregatesFilter<"ApiKey"> | string id?: StringWithAggregatesFilter<"ApiKey"> | string updatedAt?: DateTimeWithAggregatesFilter<"ApiKey"> | Date | string userId?: StringWithAggregatesFilter<"ApiKey"> | string } export type AssetProfileResolutionWhereInput = { AND?: AssetProfileResolutionWhereInput | AssetProfileResolutionWhereInput[] OR?: AssetProfileResolutionWhereInput[] NOT?: AssetProfileResolutionWhereInput | AssetProfileResolutionWhereInput[] createdAt?: DateTimeFilter<"AssetProfileResolution"> | Date | string currency?: StringFilter<"AssetProfileResolution"> | string dataSourceOrigin?: EnumDataSourceFilter<"AssetProfileResolution"> | $Enums.DataSource dataSourceTarget?: EnumDataSourceFilter<"AssetProfileResolution"> | $Enums.DataSource id?: StringFilter<"AssetProfileResolution"> | string requestCount?: IntFilter<"AssetProfileResolution"> | number symbolOrigin?: StringFilter<"AssetProfileResolution"> | string symbolTarget?: StringFilter<"AssetProfileResolution"> | string updatedAt?: DateTimeFilter<"AssetProfileResolution"> | Date | string } export type AssetProfileResolutionOrderByWithRelationInput = { createdAt?: SortOrder currency?: SortOrder dataSourceOrigin?: SortOrder dataSourceTarget?: SortOrder id?: SortOrder requestCount?: SortOrder symbolOrigin?: SortOrder symbolTarget?: SortOrder updatedAt?: SortOrder } export type AssetProfileResolutionWhereUniqueInput = Prisma.AtLeast<{ id?: string dataSourceOrigin_symbolOrigin?: AssetProfileResolutionDataSourceOriginSymbolOriginCompoundUniqueInput AND?: AssetProfileResolutionWhereInput | AssetProfileResolutionWhereInput[] OR?: AssetProfileResolutionWhereInput[] NOT?: AssetProfileResolutionWhereInput | AssetProfileResolutionWhereInput[] createdAt?: DateTimeFilter<"AssetProfileResolution"> | Date | string currency?: StringFilter<"AssetProfileResolution"> | string dataSourceOrigin?: EnumDataSourceFilter<"AssetProfileResolution"> | $Enums.DataSource dataSourceTarget?: EnumDataSourceFilter<"AssetProfileResolution"> | $Enums.DataSource requestCount?: IntFilter<"AssetProfileResolution"> | number symbolOrigin?: StringFilter<"AssetProfileResolution"> | string symbolTarget?: StringFilter<"AssetProfileResolution"> | string updatedAt?: DateTimeFilter<"AssetProfileResolution"> | Date | string }, "id" | "dataSourceOrigin_symbolOrigin"> export type AssetProfileResolutionOrderByWithAggregationInput = { createdAt?: SortOrder currency?: SortOrder dataSourceOrigin?: SortOrder dataSourceTarget?: SortOrder id?: SortOrder requestCount?: SortOrder symbolOrigin?: SortOrder symbolTarget?: SortOrder updatedAt?: SortOrder _count?: AssetProfileResolutionCountOrderByAggregateInput _avg?: AssetProfileResolutionAvgOrderByAggregateInput _max?: AssetProfileResolutionMaxOrderByAggregateInput _min?: AssetProfileResolutionMinOrderByAggregateInput _sum?: AssetProfileResolutionSumOrderByAggregateInput } export type AssetProfileResolutionScalarWhereWithAggregatesInput = { AND?: AssetProfileResolutionScalarWhereWithAggregatesInput | AssetProfileResolutionScalarWhereWithAggregatesInput[] OR?: AssetProfileResolutionScalarWhereWithAggregatesInput[] NOT?: AssetProfileResolutionScalarWhereWithAggregatesInput | AssetProfileResolutionScalarWhereWithAggregatesInput[] createdAt?: DateTimeWithAggregatesFilter<"AssetProfileResolution"> | Date | string currency?: StringWithAggregatesFilter<"AssetProfileResolution"> | string dataSourceOrigin?: EnumDataSourceWithAggregatesFilter<"AssetProfileResolution"> | $Enums.DataSource dataSourceTarget?: EnumDataSourceWithAggregatesFilter<"AssetProfileResolution"> | $Enums.DataSource id?: StringWithAggregatesFilter<"AssetProfileResolution"> | string requestCount?: IntWithAggregatesFilter<"AssetProfileResolution"> | number symbolOrigin?: StringWithAggregatesFilter<"AssetProfileResolution"> | string symbolTarget?: StringWithAggregatesFilter<"AssetProfileResolution"> | string updatedAt?: DateTimeWithAggregatesFilter<"AssetProfileResolution"> | Date | string } export type AuthDeviceWhereInput = { AND?: AuthDeviceWhereInput | AuthDeviceWhereInput[] OR?: AuthDeviceWhereInput[] NOT?: AuthDeviceWhereInput | AuthDeviceWhereInput[] createdAt?: DateTimeFilter<"AuthDevice"> | Date | string credentialId?: BytesFilter<"AuthDevice"> | Bytes credentialPublicKey?: BytesFilter<"AuthDevice"> | Bytes counter?: IntFilter<"AuthDevice"> | number id?: StringFilter<"AuthDevice"> | string updatedAt?: DateTimeFilter<"AuthDevice"> | Date | string userId?: StringFilter<"AuthDevice"> | string user?: XOR } export type AuthDeviceOrderByWithRelationInput = { createdAt?: SortOrder credentialId?: SortOrder credentialPublicKey?: SortOrder counter?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder user?: UserOrderByWithRelationInput } export type AuthDeviceWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: AuthDeviceWhereInput | AuthDeviceWhereInput[] OR?: AuthDeviceWhereInput[] NOT?: AuthDeviceWhereInput | AuthDeviceWhereInput[] createdAt?: DateTimeFilter<"AuthDevice"> | Date | string credentialId?: BytesFilter<"AuthDevice"> | Bytes credentialPublicKey?: BytesFilter<"AuthDevice"> | Bytes counter?: IntFilter<"AuthDevice"> | number updatedAt?: DateTimeFilter<"AuthDevice"> | Date | string userId?: StringFilter<"AuthDevice"> | string user?: XOR }, "id"> export type AuthDeviceOrderByWithAggregationInput = { createdAt?: SortOrder credentialId?: SortOrder credentialPublicKey?: SortOrder counter?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder _count?: AuthDeviceCountOrderByAggregateInput _avg?: AuthDeviceAvgOrderByAggregateInput _max?: AuthDeviceMaxOrderByAggregateInput _min?: AuthDeviceMinOrderByAggregateInput _sum?: AuthDeviceSumOrderByAggregateInput } export type AuthDeviceScalarWhereWithAggregatesInput = { AND?: AuthDeviceScalarWhereWithAggregatesInput | AuthDeviceScalarWhereWithAggregatesInput[] OR?: AuthDeviceScalarWhereWithAggregatesInput[] NOT?: AuthDeviceScalarWhereWithAggregatesInput | AuthDeviceScalarWhereWithAggregatesInput[] createdAt?: DateTimeWithAggregatesFilter<"AuthDevice"> | Date | string credentialId?: BytesWithAggregatesFilter<"AuthDevice"> | Bytes credentialPublicKey?: BytesWithAggregatesFilter<"AuthDevice"> | Bytes counter?: IntWithAggregatesFilter<"AuthDevice"> | number id?: StringWithAggregatesFilter<"AuthDevice"> | string updatedAt?: DateTimeWithAggregatesFilter<"AuthDevice"> | Date | string userId?: StringWithAggregatesFilter<"AuthDevice"> | string } export type MarketDataWhereInput = { AND?: MarketDataWhereInput | MarketDataWhereInput[] OR?: MarketDataWhereInput[] NOT?: MarketDataWhereInput | MarketDataWhereInput[] createdAt?: DateTimeFilter<"MarketData"> | Date | string dataSource?: EnumDataSourceFilter<"MarketData"> | $Enums.DataSource date?: DateTimeFilter<"MarketData"> | Date | string id?: StringFilter<"MarketData"> | string marketPrice?: FloatFilter<"MarketData"> | number state?: EnumMarketDataStateFilter<"MarketData"> | $Enums.MarketDataState symbol?: StringFilter<"MarketData"> | string } export type MarketDataOrderByWithRelationInput = { createdAt?: SortOrder dataSource?: SortOrder date?: SortOrder id?: SortOrder marketPrice?: SortOrder state?: SortOrder symbol?: SortOrder } export type MarketDataWhereUniqueInput = Prisma.AtLeast<{ id?: string dataSource_date_symbol?: MarketDataDataSourceDateSymbolCompoundUniqueInput AND?: MarketDataWhereInput | MarketDataWhereInput[] OR?: MarketDataWhereInput[] NOT?: MarketDataWhereInput | MarketDataWhereInput[] createdAt?: DateTimeFilter<"MarketData"> | Date | string dataSource?: EnumDataSourceFilter<"MarketData"> | $Enums.DataSource date?: DateTimeFilter<"MarketData"> | Date | string marketPrice?: FloatFilter<"MarketData"> | number state?: EnumMarketDataStateFilter<"MarketData"> | $Enums.MarketDataState symbol?: StringFilter<"MarketData"> | string }, "id" | "dataSource_date_symbol"> export type MarketDataOrderByWithAggregationInput = { createdAt?: SortOrder dataSource?: SortOrder date?: SortOrder id?: SortOrder marketPrice?: SortOrder state?: SortOrder symbol?: SortOrder _count?: MarketDataCountOrderByAggregateInput _avg?: MarketDataAvgOrderByAggregateInput _max?: MarketDataMaxOrderByAggregateInput _min?: MarketDataMinOrderByAggregateInput _sum?: MarketDataSumOrderByAggregateInput } export type MarketDataScalarWhereWithAggregatesInput = { AND?: MarketDataScalarWhereWithAggregatesInput | MarketDataScalarWhereWithAggregatesInput[] OR?: MarketDataScalarWhereWithAggregatesInput[] NOT?: MarketDataScalarWhereWithAggregatesInput | MarketDataScalarWhereWithAggregatesInput[] createdAt?: DateTimeWithAggregatesFilter<"MarketData"> | Date | string dataSource?: EnumDataSourceWithAggregatesFilter<"MarketData"> | $Enums.DataSource date?: DateTimeWithAggregatesFilter<"MarketData"> | Date | string id?: StringWithAggregatesFilter<"MarketData"> | string marketPrice?: FloatWithAggregatesFilter<"MarketData"> | number state?: EnumMarketDataStateWithAggregatesFilter<"MarketData"> | $Enums.MarketDataState symbol?: StringWithAggregatesFilter<"MarketData"> | string } export type OrderWhereInput = { AND?: OrderWhereInput | OrderWhereInput[] OR?: OrderWhereInput[] NOT?: OrderWhereInput | OrderWhereInput[] accountId?: StringNullableFilter<"Order"> | string | null accountUserId?: StringNullableFilter<"Order"> | string | null comment?: StringNullableFilter<"Order"> | string | null createdAt?: DateTimeFilter<"Order"> | Date | string currency?: StringNullableFilter<"Order"> | string | null date?: DateTimeFilter<"Order"> | Date | string fee?: FloatFilter<"Order"> | number id?: StringFilter<"Order"> | string isDraft?: BoolFilter<"Order"> | boolean quantity?: FloatFilter<"Order"> | number symbolProfileId?: StringFilter<"Order"> | string type?: EnumTypeFilter<"Order"> | $Enums.Type unitPrice?: FloatFilter<"Order"> | number updatedAt?: DateTimeFilter<"Order"> | Date | string userId?: StringFilter<"Order"> | string account?: XOR | null tags?: TagListRelationFilter user?: XOR SymbolProfile?: XOR } export type OrderOrderByWithRelationInput = { accountId?: SortOrderInput | SortOrder accountUserId?: SortOrderInput | SortOrder comment?: SortOrderInput | SortOrder createdAt?: SortOrder currency?: SortOrderInput | SortOrder date?: SortOrder fee?: SortOrder id?: SortOrder isDraft?: SortOrder quantity?: SortOrder symbolProfileId?: SortOrder type?: SortOrder unitPrice?: SortOrder updatedAt?: SortOrder userId?: SortOrder account?: AccountOrderByWithRelationInput tags?: TagOrderByRelationAggregateInput user?: UserOrderByWithRelationInput SymbolProfile?: SymbolProfileOrderByWithRelationInput } export type OrderWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: OrderWhereInput | OrderWhereInput[] OR?: OrderWhereInput[] NOT?: OrderWhereInput | OrderWhereInput[] accountId?: StringNullableFilter<"Order"> | string | null accountUserId?: StringNullableFilter<"Order"> | string | null comment?: StringNullableFilter<"Order"> | string | null createdAt?: DateTimeFilter<"Order"> | Date | string currency?: StringNullableFilter<"Order"> | string | null date?: DateTimeFilter<"Order"> | Date | string fee?: FloatFilter<"Order"> | number isDraft?: BoolFilter<"Order"> | boolean quantity?: FloatFilter<"Order"> | number symbolProfileId?: StringFilter<"Order"> | string type?: EnumTypeFilter<"Order"> | $Enums.Type unitPrice?: FloatFilter<"Order"> | number updatedAt?: DateTimeFilter<"Order"> | Date | string userId?: StringFilter<"Order"> | string account?: XOR | null tags?: TagListRelationFilter user?: XOR SymbolProfile?: XOR }, "id"> export type OrderOrderByWithAggregationInput = { accountId?: SortOrderInput | SortOrder accountUserId?: SortOrderInput | SortOrder comment?: SortOrderInput | SortOrder createdAt?: SortOrder currency?: SortOrderInput | SortOrder date?: SortOrder fee?: SortOrder id?: SortOrder isDraft?: SortOrder quantity?: SortOrder symbolProfileId?: SortOrder type?: SortOrder unitPrice?: SortOrder updatedAt?: SortOrder userId?: SortOrder _count?: OrderCountOrderByAggregateInput _avg?: OrderAvgOrderByAggregateInput _max?: OrderMaxOrderByAggregateInput _min?: OrderMinOrderByAggregateInput _sum?: OrderSumOrderByAggregateInput } export type OrderScalarWhereWithAggregatesInput = { AND?: OrderScalarWhereWithAggregatesInput | OrderScalarWhereWithAggregatesInput[] OR?: OrderScalarWhereWithAggregatesInput[] NOT?: OrderScalarWhereWithAggregatesInput | OrderScalarWhereWithAggregatesInput[] accountId?: StringNullableWithAggregatesFilter<"Order"> | string | null accountUserId?: StringNullableWithAggregatesFilter<"Order"> | string | null comment?: StringNullableWithAggregatesFilter<"Order"> | string | null createdAt?: DateTimeWithAggregatesFilter<"Order"> | Date | string currency?: StringNullableWithAggregatesFilter<"Order"> | string | null date?: DateTimeWithAggregatesFilter<"Order"> | Date | string fee?: FloatWithAggregatesFilter<"Order"> | number id?: StringWithAggregatesFilter<"Order"> | string isDraft?: BoolWithAggregatesFilter<"Order"> | boolean quantity?: FloatWithAggregatesFilter<"Order"> | number symbolProfileId?: StringWithAggregatesFilter<"Order"> | string type?: EnumTypeWithAggregatesFilter<"Order"> | $Enums.Type unitPrice?: FloatWithAggregatesFilter<"Order"> | number updatedAt?: DateTimeWithAggregatesFilter<"Order"> | Date | string userId?: StringWithAggregatesFilter<"Order"> | string } export type PlatformWhereInput = { AND?: PlatformWhereInput | PlatformWhereInput[] OR?: PlatformWhereInput[] NOT?: PlatformWhereInput | PlatformWhereInput[] id?: StringFilter<"Platform"> | string name?: StringNullableFilter<"Platform"> | string | null url?: StringFilter<"Platform"> | string accounts?: AccountListRelationFilter } export type PlatformOrderByWithRelationInput = { id?: SortOrder name?: SortOrderInput | SortOrder url?: SortOrder accounts?: AccountOrderByRelationAggregateInput } export type PlatformWhereUniqueInput = Prisma.AtLeast<{ id?: string url?: string AND?: PlatformWhereInput | PlatformWhereInput[] OR?: PlatformWhereInput[] NOT?: PlatformWhereInput | PlatformWhereInput[] name?: StringNullableFilter<"Platform"> | string | null accounts?: AccountListRelationFilter }, "id" | "url"> export type PlatformOrderByWithAggregationInput = { id?: SortOrder name?: SortOrderInput | SortOrder url?: SortOrder _count?: PlatformCountOrderByAggregateInput _max?: PlatformMaxOrderByAggregateInput _min?: PlatformMinOrderByAggregateInput } export type PlatformScalarWhereWithAggregatesInput = { AND?: PlatformScalarWhereWithAggregatesInput | PlatformScalarWhereWithAggregatesInput[] OR?: PlatformScalarWhereWithAggregatesInput[] NOT?: PlatformScalarWhereWithAggregatesInput | PlatformScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Platform"> | string name?: StringNullableWithAggregatesFilter<"Platform"> | string | null url?: StringWithAggregatesFilter<"Platform"> | string } export type PropertyWhereInput = { AND?: PropertyWhereInput | PropertyWhereInput[] OR?: PropertyWhereInput[] NOT?: PropertyWhereInput | PropertyWhereInput[] key?: StringFilter<"Property"> | string value?: StringFilter<"Property"> | string } export type PropertyOrderByWithRelationInput = { key?: SortOrder value?: SortOrder } export type PropertyWhereUniqueInput = Prisma.AtLeast<{ key?: string AND?: PropertyWhereInput | PropertyWhereInput[] OR?: PropertyWhereInput[] NOT?: PropertyWhereInput | PropertyWhereInput[] value?: StringFilter<"Property"> | string }, "key"> export type PropertyOrderByWithAggregationInput = { key?: SortOrder value?: SortOrder _count?: PropertyCountOrderByAggregateInput _max?: PropertyMaxOrderByAggregateInput _min?: PropertyMinOrderByAggregateInput } export type PropertyScalarWhereWithAggregatesInput = { AND?: PropertyScalarWhereWithAggregatesInput | PropertyScalarWhereWithAggregatesInput[] OR?: PropertyScalarWhereWithAggregatesInput[] NOT?: PropertyScalarWhereWithAggregatesInput | PropertyScalarWhereWithAggregatesInput[] key?: StringWithAggregatesFilter<"Property"> | string value?: StringWithAggregatesFilter<"Property"> | string } export type SettingsWhereInput = { AND?: SettingsWhereInput | SettingsWhereInput[] OR?: SettingsWhereInput[] NOT?: SettingsWhereInput | SettingsWhereInput[] settings?: JsonNullableFilter<"Settings"> updatedAt?: DateTimeFilter<"Settings"> | Date | string userId?: StringFilter<"Settings"> | string user?: XOR } export type SettingsOrderByWithRelationInput = { settings?: SortOrderInput | SortOrder updatedAt?: SortOrder userId?: SortOrder user?: UserOrderByWithRelationInput } export type SettingsWhereUniqueInput = Prisma.AtLeast<{ userId?: string AND?: SettingsWhereInput | SettingsWhereInput[] OR?: SettingsWhereInput[] NOT?: SettingsWhereInput | SettingsWhereInput[] settings?: JsonNullableFilter<"Settings"> updatedAt?: DateTimeFilter<"Settings"> | Date | string user?: XOR }, "userId"> export type SettingsOrderByWithAggregationInput = { settings?: SortOrderInput | SortOrder updatedAt?: SortOrder userId?: SortOrder _count?: SettingsCountOrderByAggregateInput _max?: SettingsMaxOrderByAggregateInput _min?: SettingsMinOrderByAggregateInput } export type SettingsScalarWhereWithAggregatesInput = { AND?: SettingsScalarWhereWithAggregatesInput | SettingsScalarWhereWithAggregatesInput[] OR?: SettingsScalarWhereWithAggregatesInput[] NOT?: SettingsScalarWhereWithAggregatesInput | SettingsScalarWhereWithAggregatesInput[] settings?: JsonNullableWithAggregatesFilter<"Settings"> updatedAt?: DateTimeWithAggregatesFilter<"Settings"> | Date | string userId?: StringWithAggregatesFilter<"Settings"> | string } export type SymbolProfileWhereInput = { AND?: SymbolProfileWhereInput | SymbolProfileWhereInput[] OR?: SymbolProfileWhereInput[] NOT?: SymbolProfileWhereInput | SymbolProfileWhereInput[] assetClass?: EnumAssetClassNullableFilter<"SymbolProfile"> | $Enums.AssetClass | null assetSubClass?: EnumAssetSubClassNullableFilter<"SymbolProfile"> | $Enums.AssetSubClass | null comment?: StringNullableFilter<"SymbolProfile"> | string | null countries?: JsonNullableFilter<"SymbolProfile"> createdAt?: DateTimeFilter<"SymbolProfile"> | Date | string currency?: StringFilter<"SymbolProfile"> | string cusip?: StringNullableFilter<"SymbolProfile"> | string | null dataSource?: EnumDataSourceFilter<"SymbolProfile"> | $Enums.DataSource figi?: StringNullableFilter<"SymbolProfile"> | string | null figiComposite?: StringNullableFilter<"SymbolProfile"> | string | null figiShareClass?: StringNullableFilter<"SymbolProfile"> | string | null holdings?: JsonNullableFilter<"SymbolProfile"> id?: StringFilter<"SymbolProfile"> | string isActive?: BoolFilter<"SymbolProfile"> | boolean isin?: StringNullableFilter<"SymbolProfile"> | string | null name?: StringNullableFilter<"SymbolProfile"> | string | null updatedAt?: DateTimeFilter<"SymbolProfile"> | Date | string scraperConfiguration?: JsonNullableFilter<"SymbolProfile"> sectors?: JsonNullableFilter<"SymbolProfile"> symbol?: StringFilter<"SymbolProfile"> | string symbolMapping?: JsonNullableFilter<"SymbolProfile"> url?: StringNullableFilter<"SymbolProfile"> | string | null userId?: StringNullableFilter<"SymbolProfile"> | string | null activities?: OrderListRelationFilter user?: XOR | null watchedBy?: UserListRelationFilter SymbolProfileOverrides?: XOR | null } export type SymbolProfileOrderByWithRelationInput = { assetClass?: SortOrderInput | SortOrder assetSubClass?: SortOrderInput | SortOrder comment?: SortOrderInput | SortOrder countries?: SortOrderInput | SortOrder createdAt?: SortOrder currency?: SortOrder cusip?: SortOrderInput | SortOrder dataSource?: SortOrder figi?: SortOrderInput | SortOrder figiComposite?: SortOrderInput | SortOrder figiShareClass?: SortOrderInput | SortOrder holdings?: SortOrderInput | SortOrder id?: SortOrder isActive?: SortOrder isin?: SortOrderInput | SortOrder name?: SortOrderInput | SortOrder updatedAt?: SortOrder scraperConfiguration?: SortOrderInput | SortOrder sectors?: SortOrderInput | SortOrder symbol?: SortOrder symbolMapping?: SortOrderInput | SortOrder url?: SortOrderInput | SortOrder userId?: SortOrderInput | SortOrder activities?: OrderOrderByRelationAggregateInput user?: UserOrderByWithRelationInput watchedBy?: UserOrderByRelationAggregateInput SymbolProfileOverrides?: SymbolProfileOverridesOrderByWithRelationInput } export type SymbolProfileWhereUniqueInput = Prisma.AtLeast<{ id?: string dataSource_symbol?: SymbolProfileDataSourceSymbolCompoundUniqueInput AND?: SymbolProfileWhereInput | SymbolProfileWhereInput[] OR?: SymbolProfileWhereInput[] NOT?: SymbolProfileWhereInput | SymbolProfileWhereInput[] assetClass?: EnumAssetClassNullableFilter<"SymbolProfile"> | $Enums.AssetClass | null assetSubClass?: EnumAssetSubClassNullableFilter<"SymbolProfile"> | $Enums.AssetSubClass | null comment?: StringNullableFilter<"SymbolProfile"> | string | null countries?: JsonNullableFilter<"SymbolProfile"> createdAt?: DateTimeFilter<"SymbolProfile"> | Date | string currency?: StringFilter<"SymbolProfile"> | string cusip?: StringNullableFilter<"SymbolProfile"> | string | null dataSource?: EnumDataSourceFilter<"SymbolProfile"> | $Enums.DataSource figi?: StringNullableFilter<"SymbolProfile"> | string | null figiComposite?: StringNullableFilter<"SymbolProfile"> | string | null figiShareClass?: StringNullableFilter<"SymbolProfile"> | string | null holdings?: JsonNullableFilter<"SymbolProfile"> isActive?: BoolFilter<"SymbolProfile"> | boolean isin?: StringNullableFilter<"SymbolProfile"> | string | null name?: StringNullableFilter<"SymbolProfile"> | string | null updatedAt?: DateTimeFilter<"SymbolProfile"> | Date | string scraperConfiguration?: JsonNullableFilter<"SymbolProfile"> sectors?: JsonNullableFilter<"SymbolProfile"> symbol?: StringFilter<"SymbolProfile"> | string symbolMapping?: JsonNullableFilter<"SymbolProfile"> url?: StringNullableFilter<"SymbolProfile"> | string | null userId?: StringNullableFilter<"SymbolProfile"> | string | null activities?: OrderListRelationFilter user?: XOR | null watchedBy?: UserListRelationFilter SymbolProfileOverrides?: XOR | null }, "id" | "dataSource_symbol"> export type SymbolProfileOrderByWithAggregationInput = { assetClass?: SortOrderInput | SortOrder assetSubClass?: SortOrderInput | SortOrder comment?: SortOrderInput | SortOrder countries?: SortOrderInput | SortOrder createdAt?: SortOrder currency?: SortOrder cusip?: SortOrderInput | SortOrder dataSource?: SortOrder figi?: SortOrderInput | SortOrder figiComposite?: SortOrderInput | SortOrder figiShareClass?: SortOrderInput | SortOrder holdings?: SortOrderInput | SortOrder id?: SortOrder isActive?: SortOrder isin?: SortOrderInput | SortOrder name?: SortOrderInput | SortOrder updatedAt?: SortOrder scraperConfiguration?: SortOrderInput | SortOrder sectors?: SortOrderInput | SortOrder symbol?: SortOrder symbolMapping?: SortOrderInput | SortOrder url?: SortOrderInput | SortOrder userId?: SortOrderInput | SortOrder _count?: SymbolProfileCountOrderByAggregateInput _max?: SymbolProfileMaxOrderByAggregateInput _min?: SymbolProfileMinOrderByAggregateInput } export type SymbolProfileScalarWhereWithAggregatesInput = { AND?: SymbolProfileScalarWhereWithAggregatesInput | SymbolProfileScalarWhereWithAggregatesInput[] OR?: SymbolProfileScalarWhereWithAggregatesInput[] NOT?: SymbolProfileScalarWhereWithAggregatesInput | SymbolProfileScalarWhereWithAggregatesInput[] assetClass?: EnumAssetClassNullableWithAggregatesFilter<"SymbolProfile"> | $Enums.AssetClass | null assetSubClass?: EnumAssetSubClassNullableWithAggregatesFilter<"SymbolProfile"> | $Enums.AssetSubClass | null comment?: StringNullableWithAggregatesFilter<"SymbolProfile"> | string | null countries?: JsonNullableWithAggregatesFilter<"SymbolProfile"> createdAt?: DateTimeWithAggregatesFilter<"SymbolProfile"> | Date | string currency?: StringWithAggregatesFilter<"SymbolProfile"> | string cusip?: StringNullableWithAggregatesFilter<"SymbolProfile"> | string | null dataSource?: EnumDataSourceWithAggregatesFilter<"SymbolProfile"> | $Enums.DataSource figi?: StringNullableWithAggregatesFilter<"SymbolProfile"> | string | null figiComposite?: StringNullableWithAggregatesFilter<"SymbolProfile"> | string | null figiShareClass?: StringNullableWithAggregatesFilter<"SymbolProfile"> | string | null holdings?: JsonNullableWithAggregatesFilter<"SymbolProfile"> id?: StringWithAggregatesFilter<"SymbolProfile"> | string isActive?: BoolWithAggregatesFilter<"SymbolProfile"> | boolean isin?: StringNullableWithAggregatesFilter<"SymbolProfile"> | string | null name?: StringNullableWithAggregatesFilter<"SymbolProfile"> | string | null updatedAt?: DateTimeWithAggregatesFilter<"SymbolProfile"> | Date | string scraperConfiguration?: JsonNullableWithAggregatesFilter<"SymbolProfile"> sectors?: JsonNullableWithAggregatesFilter<"SymbolProfile"> symbol?: StringWithAggregatesFilter<"SymbolProfile"> | string symbolMapping?: JsonNullableWithAggregatesFilter<"SymbolProfile"> url?: StringNullableWithAggregatesFilter<"SymbolProfile"> | string | null userId?: StringNullableWithAggregatesFilter<"SymbolProfile"> | string | null } export type SymbolProfileOverridesWhereInput = { AND?: SymbolProfileOverridesWhereInput | SymbolProfileOverridesWhereInput[] OR?: SymbolProfileOverridesWhereInput[] NOT?: SymbolProfileOverridesWhereInput | SymbolProfileOverridesWhereInput[] assetClass?: EnumAssetClassNullableFilter<"SymbolProfileOverrides"> | $Enums.AssetClass | null assetSubClass?: EnumAssetSubClassNullableFilter<"SymbolProfileOverrides"> | $Enums.AssetSubClass | null countries?: JsonNullableFilter<"SymbolProfileOverrides"> holdings?: JsonNullableFilter<"SymbolProfileOverrides"> name?: StringNullableFilter<"SymbolProfileOverrides"> | string | null sectors?: JsonNullableFilter<"SymbolProfileOverrides"> symbolProfileId?: StringFilter<"SymbolProfileOverrides"> | string updatedAt?: DateTimeFilter<"SymbolProfileOverrides"> | Date | string url?: StringNullableFilter<"SymbolProfileOverrides"> | string | null SymbolProfile?: XOR } export type SymbolProfileOverridesOrderByWithRelationInput = { assetClass?: SortOrderInput | SortOrder assetSubClass?: SortOrderInput | SortOrder countries?: SortOrderInput | SortOrder holdings?: SortOrderInput | SortOrder name?: SortOrderInput | SortOrder sectors?: SortOrderInput | SortOrder symbolProfileId?: SortOrder updatedAt?: SortOrder url?: SortOrderInput | SortOrder SymbolProfile?: SymbolProfileOrderByWithRelationInput } export type SymbolProfileOverridesWhereUniqueInput = Prisma.AtLeast<{ symbolProfileId?: string AND?: SymbolProfileOverridesWhereInput | SymbolProfileOverridesWhereInput[] OR?: SymbolProfileOverridesWhereInput[] NOT?: SymbolProfileOverridesWhereInput | SymbolProfileOverridesWhereInput[] assetClass?: EnumAssetClassNullableFilter<"SymbolProfileOverrides"> | $Enums.AssetClass | null assetSubClass?: EnumAssetSubClassNullableFilter<"SymbolProfileOverrides"> | $Enums.AssetSubClass | null countries?: JsonNullableFilter<"SymbolProfileOverrides"> holdings?: JsonNullableFilter<"SymbolProfileOverrides"> name?: StringNullableFilter<"SymbolProfileOverrides"> | string | null sectors?: JsonNullableFilter<"SymbolProfileOverrides"> updatedAt?: DateTimeFilter<"SymbolProfileOverrides"> | Date | string url?: StringNullableFilter<"SymbolProfileOverrides"> | string | null SymbolProfile?: XOR }, "symbolProfileId"> export type SymbolProfileOverridesOrderByWithAggregationInput = { assetClass?: SortOrderInput | SortOrder assetSubClass?: SortOrderInput | SortOrder countries?: SortOrderInput | SortOrder holdings?: SortOrderInput | SortOrder name?: SortOrderInput | SortOrder sectors?: SortOrderInput | SortOrder symbolProfileId?: SortOrder updatedAt?: SortOrder url?: SortOrderInput | SortOrder _count?: SymbolProfileOverridesCountOrderByAggregateInput _max?: SymbolProfileOverridesMaxOrderByAggregateInput _min?: SymbolProfileOverridesMinOrderByAggregateInput } export type SymbolProfileOverridesScalarWhereWithAggregatesInput = { AND?: SymbolProfileOverridesScalarWhereWithAggregatesInput | SymbolProfileOverridesScalarWhereWithAggregatesInput[] OR?: SymbolProfileOverridesScalarWhereWithAggregatesInput[] NOT?: SymbolProfileOverridesScalarWhereWithAggregatesInput | SymbolProfileOverridesScalarWhereWithAggregatesInput[] assetClass?: EnumAssetClassNullableWithAggregatesFilter<"SymbolProfileOverrides"> | $Enums.AssetClass | null assetSubClass?: EnumAssetSubClassNullableWithAggregatesFilter<"SymbolProfileOverrides"> | $Enums.AssetSubClass | null countries?: JsonNullableWithAggregatesFilter<"SymbolProfileOverrides"> holdings?: JsonNullableWithAggregatesFilter<"SymbolProfileOverrides"> name?: StringNullableWithAggregatesFilter<"SymbolProfileOverrides"> | string | null sectors?: JsonNullableWithAggregatesFilter<"SymbolProfileOverrides"> symbolProfileId?: StringWithAggregatesFilter<"SymbolProfileOverrides"> | string updatedAt?: DateTimeWithAggregatesFilter<"SymbolProfileOverrides"> | Date | string url?: StringNullableWithAggregatesFilter<"SymbolProfileOverrides"> | string | null } export type SubscriptionWhereInput = { AND?: SubscriptionWhereInput | SubscriptionWhereInput[] OR?: SubscriptionWhereInput[] NOT?: SubscriptionWhereInput | SubscriptionWhereInput[] createdAt?: DateTimeFilter<"Subscription"> | Date | string expiresAt?: DateTimeFilter<"Subscription"> | Date | string id?: StringFilter<"Subscription"> | string price?: FloatNullableFilter<"Subscription"> | number | null updatedAt?: DateTimeFilter<"Subscription"> | Date | string userId?: StringFilter<"Subscription"> | string user?: XOR } export type SubscriptionOrderByWithRelationInput = { createdAt?: SortOrder expiresAt?: SortOrder id?: SortOrder price?: SortOrderInput | SortOrder updatedAt?: SortOrder userId?: SortOrder user?: UserOrderByWithRelationInput } export type SubscriptionWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: SubscriptionWhereInput | SubscriptionWhereInput[] OR?: SubscriptionWhereInput[] NOT?: SubscriptionWhereInput | SubscriptionWhereInput[] createdAt?: DateTimeFilter<"Subscription"> | Date | string expiresAt?: DateTimeFilter<"Subscription"> | Date | string price?: FloatNullableFilter<"Subscription"> | number | null updatedAt?: DateTimeFilter<"Subscription"> | Date | string userId?: StringFilter<"Subscription"> | string user?: XOR }, "id"> export type SubscriptionOrderByWithAggregationInput = { createdAt?: SortOrder expiresAt?: SortOrder id?: SortOrder price?: SortOrderInput | SortOrder updatedAt?: SortOrder userId?: SortOrder _count?: SubscriptionCountOrderByAggregateInput _avg?: SubscriptionAvgOrderByAggregateInput _max?: SubscriptionMaxOrderByAggregateInput _min?: SubscriptionMinOrderByAggregateInput _sum?: SubscriptionSumOrderByAggregateInput } export type SubscriptionScalarWhereWithAggregatesInput = { AND?: SubscriptionScalarWhereWithAggregatesInput | SubscriptionScalarWhereWithAggregatesInput[] OR?: SubscriptionScalarWhereWithAggregatesInput[] NOT?: SubscriptionScalarWhereWithAggregatesInput | SubscriptionScalarWhereWithAggregatesInput[] createdAt?: DateTimeWithAggregatesFilter<"Subscription"> | Date | string expiresAt?: DateTimeWithAggregatesFilter<"Subscription"> | Date | string id?: StringWithAggregatesFilter<"Subscription"> | string price?: FloatNullableWithAggregatesFilter<"Subscription"> | number | null updatedAt?: DateTimeWithAggregatesFilter<"Subscription"> | Date | string userId?: StringWithAggregatesFilter<"Subscription"> | string } export type TagWhereInput = { AND?: TagWhereInput | TagWhereInput[] OR?: TagWhereInput[] NOT?: TagWhereInput | TagWhereInput[] id?: StringFilter<"Tag"> | string name?: StringFilter<"Tag"> | string userId?: StringNullableFilter<"Tag"> | string | null activities?: OrderListRelationFilter user?: XOR | null } export type TagOrderByWithRelationInput = { id?: SortOrder name?: SortOrder userId?: SortOrderInput | SortOrder activities?: OrderOrderByRelationAggregateInput user?: UserOrderByWithRelationInput } export type TagWhereUniqueInput = Prisma.AtLeast<{ id?: string name_userId?: TagNameUserIdCompoundUniqueInput AND?: TagWhereInput | TagWhereInput[] OR?: TagWhereInput[] NOT?: TagWhereInput | TagWhereInput[] name?: StringFilter<"Tag"> | string userId?: StringNullableFilter<"Tag"> | string | null activities?: OrderListRelationFilter user?: XOR | null }, "id" | "name_userId"> export type TagOrderByWithAggregationInput = { id?: SortOrder name?: SortOrder userId?: SortOrderInput | SortOrder _count?: TagCountOrderByAggregateInput _max?: TagMaxOrderByAggregateInput _min?: TagMinOrderByAggregateInput } export type TagScalarWhereWithAggregatesInput = { AND?: TagScalarWhereWithAggregatesInput | TagScalarWhereWithAggregatesInput[] OR?: TagScalarWhereWithAggregatesInput[] NOT?: TagScalarWhereWithAggregatesInput | TagScalarWhereWithAggregatesInput[] id?: StringWithAggregatesFilter<"Tag"> | string name?: StringWithAggregatesFilter<"Tag"> | string userId?: StringNullableWithAggregatesFilter<"Tag"> | string | null } export type UserWhereInput = { AND?: UserWhereInput | UserWhereInput[] OR?: UserWhereInput[] NOT?: UserWhereInput | UserWhereInput[] accessToken?: StringNullableFilter<"User"> | string | null authChallenge?: StringNullableFilter<"User"> | string | null createdAt?: DateTimeFilter<"User"> | Date | string id?: StringFilter<"User"> | string provider?: EnumProviderFilter<"User"> | $Enums.Provider role?: EnumRoleFilter<"User"> | $Enums.Role thirdPartyId?: StringNullableFilter<"User"> | string | null updatedAt?: DateTimeFilter<"User"> | Date | string accessesGet?: AccessListRelationFilter accessesGive?: AccessListRelationFilter accounts?: AccountListRelationFilter activities?: OrderListRelationFilter analytics?: XOR | null apiKeys?: ApiKeyListRelationFilter authDevices?: AuthDeviceListRelationFilter settings?: XOR | null subscriptions?: SubscriptionListRelationFilter tags?: TagListRelationFilter watchlist?: SymbolProfileListRelationFilter SymbolProfile?: SymbolProfileListRelationFilter } export type UserOrderByWithRelationInput = { accessToken?: SortOrderInput | SortOrder authChallenge?: SortOrderInput | SortOrder createdAt?: SortOrder id?: SortOrder provider?: SortOrder role?: SortOrder thirdPartyId?: SortOrderInput | SortOrder updatedAt?: SortOrder accessesGet?: AccessOrderByRelationAggregateInput accessesGive?: AccessOrderByRelationAggregateInput accounts?: AccountOrderByRelationAggregateInput activities?: OrderOrderByRelationAggregateInput analytics?: AnalyticsOrderByWithRelationInput apiKeys?: ApiKeyOrderByRelationAggregateInput authDevices?: AuthDeviceOrderByRelationAggregateInput settings?: SettingsOrderByWithRelationInput subscriptions?: SubscriptionOrderByRelationAggregateInput tags?: TagOrderByRelationAggregateInput watchlist?: SymbolProfileOrderByRelationAggregateInput SymbolProfile?: SymbolProfileOrderByRelationAggregateInput } export type UserWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: UserWhereInput | UserWhereInput[] OR?: UserWhereInput[] NOT?: UserWhereInput | UserWhereInput[] accessToken?: StringNullableFilter<"User"> | string | null authChallenge?: StringNullableFilter<"User"> | string | null createdAt?: DateTimeFilter<"User"> | Date | string provider?: EnumProviderFilter<"User"> | $Enums.Provider role?: EnumRoleFilter<"User"> | $Enums.Role thirdPartyId?: StringNullableFilter<"User"> | string | null updatedAt?: DateTimeFilter<"User"> | Date | string accessesGet?: AccessListRelationFilter accessesGive?: AccessListRelationFilter accounts?: AccountListRelationFilter activities?: OrderListRelationFilter analytics?: XOR | null apiKeys?: ApiKeyListRelationFilter authDevices?: AuthDeviceListRelationFilter settings?: XOR | null subscriptions?: SubscriptionListRelationFilter tags?: TagListRelationFilter watchlist?: SymbolProfileListRelationFilter SymbolProfile?: SymbolProfileListRelationFilter }, "id"> export type UserOrderByWithAggregationInput = { accessToken?: SortOrderInput | SortOrder authChallenge?: SortOrderInput | SortOrder createdAt?: SortOrder id?: SortOrder provider?: SortOrder role?: SortOrder thirdPartyId?: SortOrderInput | SortOrder updatedAt?: SortOrder _count?: UserCountOrderByAggregateInput _max?: UserMaxOrderByAggregateInput _min?: UserMinOrderByAggregateInput } export type UserScalarWhereWithAggregatesInput = { AND?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[] OR?: UserScalarWhereWithAggregatesInput[] NOT?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[] accessToken?: StringNullableWithAggregatesFilter<"User"> | string | null authChallenge?: StringNullableWithAggregatesFilter<"User"> | string | null createdAt?: DateTimeWithAggregatesFilter<"User"> | Date | string id?: StringWithAggregatesFilter<"User"> | string provider?: EnumProviderWithAggregatesFilter<"User"> | $Enums.Provider role?: EnumRoleWithAggregatesFilter<"User"> | $Enums.Role thirdPartyId?: StringNullableWithAggregatesFilter<"User"> | string | null updatedAt?: DateTimeWithAggregatesFilter<"User"> | Date | string } export type AccessCreateInput = { alias?: string | null createdAt?: Date | string id?: string permissions?: AccessCreatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: Date | string granteeUser?: UserCreateNestedOneWithoutAccessesGetInput user: UserCreateNestedOneWithoutAccessesGiveInput } export type AccessUncheckedCreateInput = { alias?: string | null createdAt?: Date | string granteeUserId?: string | null id?: string permissions?: AccessCreatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: Date | string userId: string } export type AccessUpdateInput = { alias?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string permissions?: AccessUpdatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string granteeUser?: UserUpdateOneWithoutAccessesGetNestedInput user?: UserUpdateOneRequiredWithoutAccessesGiveNestedInput } export type AccessUncheckedUpdateInput = { alias?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string granteeUserId?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string permissions?: AccessUpdatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type AccessCreateManyInput = { alias?: string | null createdAt?: Date | string granteeUserId?: string | null id?: string permissions?: AccessCreatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: Date | string userId: string } export type AccessUpdateManyMutationInput = { alias?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string permissions?: AccessUpdatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AccessUncheckedUpdateManyInput = { alias?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string granteeUserId?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string permissions?: AccessUpdatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type AccountCreateInput = { balance?: number comment?: string | null createdAt?: Date | string currency?: string | null id?: string isExcluded?: boolean name?: string | null updatedAt?: Date | string activities?: OrderCreateNestedManyWithoutAccountInput balances?: AccountBalanceCreateNestedManyWithoutAccountInput platform?: PlatformCreateNestedOneWithoutAccountsInput user: UserCreateNestedOneWithoutAccountsInput } export type AccountUncheckedCreateInput = { balance?: number comment?: string | null createdAt?: Date | string currency?: string | null id?: string isExcluded?: boolean name?: string | null platformId?: string | null updatedAt?: Date | string userId: string activities?: OrderUncheckedCreateNestedManyWithoutAccountInput balances?: AccountBalanceUncheckedCreateNestedManyWithoutAccountInput } export type AccountUpdateInput = { balance?: FloatFieldUpdateOperationsInput | number comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string isExcluded?: BoolFieldUpdateOperationsInput | boolean name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string activities?: OrderUpdateManyWithoutAccountNestedInput balances?: AccountBalanceUpdateManyWithoutAccountNestedInput platform?: PlatformUpdateOneWithoutAccountsNestedInput user?: UserUpdateOneRequiredWithoutAccountsNestedInput } export type AccountUncheckedUpdateInput = { balance?: FloatFieldUpdateOperationsInput | number comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string isExcluded?: BoolFieldUpdateOperationsInput | boolean name?: NullableStringFieldUpdateOperationsInput | string | null platformId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string activities?: OrderUncheckedUpdateManyWithoutAccountNestedInput balances?: AccountBalanceUncheckedUpdateManyWithoutAccountNestedInput } export type AccountCreateManyInput = { balance?: number comment?: string | null createdAt?: Date | string currency?: string | null id?: string isExcluded?: boolean name?: string | null platformId?: string | null updatedAt?: Date | string userId: string } export type AccountUpdateManyMutationInput = { balance?: FloatFieldUpdateOperationsInput | number comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string isExcluded?: BoolFieldUpdateOperationsInput | boolean name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AccountUncheckedUpdateManyInput = { balance?: FloatFieldUpdateOperationsInput | number comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string isExcluded?: BoolFieldUpdateOperationsInput | boolean name?: NullableStringFieldUpdateOperationsInput | string | null platformId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type AccountBalanceCreateInput = { createdAt?: Date | string date?: Date | string id?: string updatedAt?: Date | string value: number account: AccountCreateNestedOneWithoutBalancesInput } export type AccountBalanceUncheckedCreateInput = { accountId: string createdAt?: Date | string date?: Date | string id?: string updatedAt?: Date | string userId: string value: number } export type AccountBalanceUpdateInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string date?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string value?: FloatFieldUpdateOperationsInput | number account?: AccountUpdateOneRequiredWithoutBalancesNestedInput } export type AccountBalanceUncheckedUpdateInput = { accountId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string date?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string value?: FloatFieldUpdateOperationsInput | number } export type AccountBalanceCreateManyInput = { accountId: string createdAt?: Date | string date?: Date | string id?: string updatedAt?: Date | string userId: string value: number } export type AccountBalanceUpdateManyMutationInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string date?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string value?: FloatFieldUpdateOperationsInput | number } export type AccountBalanceUncheckedUpdateManyInput = { accountId?: StringFieldUpdateOperationsInput | string createdAt?: DateTimeFieldUpdateOperationsInput | Date | string date?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string value?: FloatFieldUpdateOperationsInput | number } export type AnalyticsCreateInput = { activityCount?: number country?: string | null dataProviderGhostfolioDailyRequests?: number lastRequestAt?: Date | string updatedAt?: Date | string user: UserCreateNestedOneWithoutAnalyticsInput } export type AnalyticsUncheckedCreateInput = { activityCount?: number country?: string | null dataProviderGhostfolioDailyRequests?: number lastRequestAt?: Date | string updatedAt?: Date | string userId: string } export type AnalyticsUpdateInput = { activityCount?: IntFieldUpdateOperationsInput | number country?: NullableStringFieldUpdateOperationsInput | string | null dataProviderGhostfolioDailyRequests?: IntFieldUpdateOperationsInput | number lastRequestAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string user?: UserUpdateOneRequiredWithoutAnalyticsNestedInput } export type AnalyticsUncheckedUpdateInput = { activityCount?: IntFieldUpdateOperationsInput | number country?: NullableStringFieldUpdateOperationsInput | string | null dataProviderGhostfolioDailyRequests?: IntFieldUpdateOperationsInput | number lastRequestAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type AnalyticsCreateManyInput = { activityCount?: number country?: string | null dataProviderGhostfolioDailyRequests?: number lastRequestAt?: Date | string updatedAt?: Date | string userId: string } export type AnalyticsUpdateManyMutationInput = { activityCount?: IntFieldUpdateOperationsInput | number country?: NullableStringFieldUpdateOperationsInput | string | null dataProviderGhostfolioDailyRequests?: IntFieldUpdateOperationsInput | number lastRequestAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnalyticsUncheckedUpdateManyInput = { activityCount?: IntFieldUpdateOperationsInput | number country?: NullableStringFieldUpdateOperationsInput | string | null dataProviderGhostfolioDailyRequests?: IntFieldUpdateOperationsInput | number lastRequestAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type ApiKeyCreateInput = { createdAt?: Date | string hashedKey: string id?: string updatedAt?: Date | string user: UserCreateNestedOneWithoutApiKeysInput } export type ApiKeyUncheckedCreateInput = { createdAt?: Date | string hashedKey: string id?: string updatedAt?: Date | string userId: string } export type ApiKeyUpdateInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string hashedKey?: StringFieldUpdateOperationsInput | string id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string user?: UserUpdateOneRequiredWithoutApiKeysNestedInput } export type ApiKeyUncheckedUpdateInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string hashedKey?: StringFieldUpdateOperationsInput | string id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type ApiKeyCreateManyInput = { createdAt?: Date | string hashedKey: string id?: string updatedAt?: Date | string userId: string } export type ApiKeyUpdateManyMutationInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string hashedKey?: StringFieldUpdateOperationsInput | string id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ApiKeyUncheckedUpdateManyInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string hashedKey?: StringFieldUpdateOperationsInput | string id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type AssetProfileResolutionCreateInput = { createdAt?: Date | string currency: string dataSourceOrigin: $Enums.DataSource dataSourceTarget: $Enums.DataSource id?: string requestCount?: number symbolOrigin: string symbolTarget: string updatedAt?: Date | string } export type AssetProfileResolutionUncheckedCreateInput = { createdAt?: Date | string currency: string dataSourceOrigin: $Enums.DataSource dataSourceTarget: $Enums.DataSource id?: string requestCount?: number symbolOrigin: string symbolTarget: string updatedAt?: Date | string } export type AssetProfileResolutionUpdateInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string dataSourceOrigin?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource dataSourceTarget?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource id?: StringFieldUpdateOperationsInput | string requestCount?: IntFieldUpdateOperationsInput | number symbolOrigin?: StringFieldUpdateOperationsInput | string symbolTarget?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AssetProfileResolutionUncheckedUpdateInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string dataSourceOrigin?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource dataSourceTarget?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource id?: StringFieldUpdateOperationsInput | string requestCount?: IntFieldUpdateOperationsInput | number symbolOrigin?: StringFieldUpdateOperationsInput | string symbolTarget?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AssetProfileResolutionCreateManyInput = { createdAt?: Date | string currency: string dataSourceOrigin: $Enums.DataSource dataSourceTarget: $Enums.DataSource id?: string requestCount?: number symbolOrigin: string symbolTarget: string updatedAt?: Date | string } export type AssetProfileResolutionUpdateManyMutationInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string dataSourceOrigin?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource dataSourceTarget?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource id?: StringFieldUpdateOperationsInput | string requestCount?: IntFieldUpdateOperationsInput | number symbolOrigin?: StringFieldUpdateOperationsInput | string symbolTarget?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AssetProfileResolutionUncheckedUpdateManyInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string dataSourceOrigin?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource dataSourceTarget?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource id?: StringFieldUpdateOperationsInput | string requestCount?: IntFieldUpdateOperationsInput | number symbolOrigin?: StringFieldUpdateOperationsInput | string symbolTarget?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AuthDeviceCreateInput = { createdAt?: Date | string credentialId: Bytes credentialPublicKey: Bytes counter: number id?: string updatedAt?: Date | string user: UserCreateNestedOneWithoutAuthDevicesInput } export type AuthDeviceUncheckedCreateInput = { createdAt?: Date | string credentialId: Bytes credentialPublicKey: Bytes counter: number id?: string updatedAt?: Date | string userId: string } export type AuthDeviceUpdateInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string credentialId?: BytesFieldUpdateOperationsInput | Bytes credentialPublicKey?: BytesFieldUpdateOperationsInput | Bytes counter?: IntFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string user?: UserUpdateOneRequiredWithoutAuthDevicesNestedInput } export type AuthDeviceUncheckedUpdateInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string credentialId?: BytesFieldUpdateOperationsInput | Bytes credentialPublicKey?: BytesFieldUpdateOperationsInput | Bytes counter?: IntFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type AuthDeviceCreateManyInput = { createdAt?: Date | string credentialId: Bytes credentialPublicKey: Bytes counter: number id?: string updatedAt?: Date | string userId: string } export type AuthDeviceUpdateManyMutationInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string credentialId?: BytesFieldUpdateOperationsInput | Bytes credentialPublicKey?: BytesFieldUpdateOperationsInput | Bytes counter?: IntFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AuthDeviceUncheckedUpdateManyInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string credentialId?: BytesFieldUpdateOperationsInput | Bytes credentialPublicKey?: BytesFieldUpdateOperationsInput | Bytes counter?: IntFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type MarketDataCreateInput = { createdAt?: Date | string dataSource: $Enums.DataSource date: Date | string id?: string marketPrice: number state?: $Enums.MarketDataState symbol: string } export type MarketDataUncheckedCreateInput = { createdAt?: Date | string dataSource: $Enums.DataSource date: Date | string id?: string marketPrice: number state?: $Enums.MarketDataState symbol: string } export type MarketDataUpdateInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource date?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string marketPrice?: FloatFieldUpdateOperationsInput | number state?: EnumMarketDataStateFieldUpdateOperationsInput | $Enums.MarketDataState symbol?: StringFieldUpdateOperationsInput | string } export type MarketDataUncheckedUpdateInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource date?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string marketPrice?: FloatFieldUpdateOperationsInput | number state?: EnumMarketDataStateFieldUpdateOperationsInput | $Enums.MarketDataState symbol?: StringFieldUpdateOperationsInput | string } export type MarketDataCreateManyInput = { createdAt?: Date | string dataSource: $Enums.DataSource date: Date | string id?: string marketPrice: number state?: $Enums.MarketDataState symbol: string } export type MarketDataUpdateManyMutationInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource date?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string marketPrice?: FloatFieldUpdateOperationsInput | number state?: EnumMarketDataStateFieldUpdateOperationsInput | $Enums.MarketDataState symbol?: StringFieldUpdateOperationsInput | string } export type MarketDataUncheckedUpdateManyInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource date?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string marketPrice?: FloatFieldUpdateOperationsInput | number state?: EnumMarketDataStateFieldUpdateOperationsInput | $Enums.MarketDataState symbol?: StringFieldUpdateOperationsInput | string } export type OrderCreateInput = { comment?: string | null createdAt?: Date | string currency?: string | null date: Date | string fee: number id?: string isDraft?: boolean quantity: number type: $Enums.Type unitPrice: number updatedAt?: Date | string account?: AccountCreateNestedOneWithoutActivitiesInput tags?: TagCreateNestedManyWithoutActivitiesInput user: UserCreateNestedOneWithoutActivitiesInput SymbolProfile: SymbolProfileCreateNestedOneWithoutActivitiesInput } export type OrderUncheckedCreateInput = { accountId?: string | null accountUserId?: string | null comment?: string | null createdAt?: Date | string currency?: string | null date: Date | string fee: number id?: string isDraft?: boolean quantity: number symbolProfileId: string type: $Enums.Type unitPrice: number updatedAt?: Date | string userId: string tags?: TagUncheckedCreateNestedManyWithoutActivitiesInput } export type OrderUpdateInput = { comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string account?: AccountUpdateOneWithoutActivitiesNestedInput tags?: TagUpdateManyWithoutActivitiesNestedInput user?: UserUpdateOneRequiredWithoutActivitiesNestedInput SymbolProfile?: SymbolProfileUpdateOneRequiredWithoutActivitiesNestedInput } export type OrderUncheckedUpdateInput = { accountId?: NullableStringFieldUpdateOperationsInput | string | null accountUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number symbolProfileId?: StringFieldUpdateOperationsInput | string type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string tags?: TagUncheckedUpdateManyWithoutActivitiesNestedInput } export type OrderCreateManyInput = { accountId?: string | null accountUserId?: string | null comment?: string | null createdAt?: Date | string currency?: string | null date: Date | string fee: number id?: string isDraft?: boolean quantity: number symbolProfileId: string type: $Enums.Type unitPrice: number updatedAt?: Date | string userId: string } export type OrderUpdateManyMutationInput = { comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type OrderUncheckedUpdateManyInput = { accountId?: NullableStringFieldUpdateOperationsInput | string | null accountUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number symbolProfileId?: StringFieldUpdateOperationsInput | string type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type PlatformCreateInput = { id?: string name?: string | null url: string accounts?: AccountCreateNestedManyWithoutPlatformInput } export type PlatformUncheckedCreateInput = { id?: string name?: string | null url: string accounts?: AccountUncheckedCreateNestedManyWithoutPlatformInput } export type PlatformUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null url?: StringFieldUpdateOperationsInput | string accounts?: AccountUpdateManyWithoutPlatformNestedInput } export type PlatformUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null url?: StringFieldUpdateOperationsInput | string accounts?: AccountUncheckedUpdateManyWithoutPlatformNestedInput } export type PlatformCreateManyInput = { id?: string name?: string | null url: string } export type PlatformUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null url?: StringFieldUpdateOperationsInput | string } export type PlatformUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null url?: StringFieldUpdateOperationsInput | string } export type PropertyCreateInput = { key: string value: string } export type PropertyUncheckedCreateInput = { key: string value: string } export type PropertyUpdateInput = { key?: StringFieldUpdateOperationsInput | string value?: StringFieldUpdateOperationsInput | string } export type PropertyUncheckedUpdateInput = { key?: StringFieldUpdateOperationsInput | string value?: StringFieldUpdateOperationsInput | string } export type PropertyCreateManyInput = { key: string value: string } export type PropertyUpdateManyMutationInput = { key?: StringFieldUpdateOperationsInput | string value?: StringFieldUpdateOperationsInput | string } export type PropertyUncheckedUpdateManyInput = { key?: StringFieldUpdateOperationsInput | string value?: StringFieldUpdateOperationsInput | string } export type SettingsCreateInput = { settings?: NullableJsonNullValueInput | InputJsonValue updatedAt?: Date | string user: UserCreateNestedOneWithoutSettingsInput } export type SettingsUncheckedCreateInput = { settings?: NullableJsonNullValueInput | InputJsonValue updatedAt?: Date | string userId: string } export type SettingsUpdateInput = { settings?: NullableJsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string user?: UserUpdateOneRequiredWithoutSettingsNestedInput } export type SettingsUncheckedUpdateInput = { settings?: NullableJsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type SettingsCreateManyInput = { settings?: NullableJsonNullValueInput | InputJsonValue updatedAt?: Date | string userId: string } export type SettingsUpdateManyMutationInput = { settings?: NullableJsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SettingsUncheckedUpdateManyInput = { settings?: NullableJsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type SymbolProfileCreateInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null comment?: string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string currency: string cusip?: string | null dataSource: $Enums.DataSource figi?: string | null figiComposite?: string | null figiShareClass?: string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: string isActive?: boolean isin?: string | null name?: string | null updatedAt?: Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol: string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: string | null activities?: OrderCreateNestedManyWithoutSymbolProfileInput user?: UserCreateNestedOneWithoutSymbolProfileInput watchedBy?: UserCreateNestedManyWithoutWatchlistInput SymbolProfileOverrides?: SymbolProfileOverridesCreateNestedOneWithoutSymbolProfileInput } export type SymbolProfileUncheckedCreateInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null comment?: string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string currency: string cusip?: string | null dataSource: $Enums.DataSource figi?: string | null figiComposite?: string | null figiShareClass?: string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: string isActive?: boolean isin?: string | null name?: string | null updatedAt?: Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol: string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: string | null userId?: string | null activities?: OrderUncheckedCreateNestedManyWithoutSymbolProfileInput watchedBy?: UserUncheckedCreateNestedManyWithoutWatchlistInput SymbolProfileOverrides?: SymbolProfileOverridesUncheckedCreateNestedOneWithoutSymbolProfileInput } export type SymbolProfileUpdateInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null comment?: NullableStringFieldUpdateOperationsInput | string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string cusip?: NullableStringFieldUpdateOperationsInput | string | null dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource figi?: NullableStringFieldUpdateOperationsInput | string | null figiComposite?: NullableStringFieldUpdateOperationsInput | string | null figiShareClass?: NullableStringFieldUpdateOperationsInput | string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean isin?: NullableStringFieldUpdateOperationsInput | string | null name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol?: StringFieldUpdateOperationsInput | string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: NullableStringFieldUpdateOperationsInput | string | null activities?: OrderUpdateManyWithoutSymbolProfileNestedInput user?: UserUpdateOneWithoutSymbolProfileNestedInput watchedBy?: UserUpdateManyWithoutWatchlistNestedInput SymbolProfileOverrides?: SymbolProfileOverridesUpdateOneWithoutSymbolProfileNestedInput } export type SymbolProfileUncheckedUpdateInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null comment?: NullableStringFieldUpdateOperationsInput | string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string cusip?: NullableStringFieldUpdateOperationsInput | string | null dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource figi?: NullableStringFieldUpdateOperationsInput | string | null figiComposite?: NullableStringFieldUpdateOperationsInput | string | null figiShareClass?: NullableStringFieldUpdateOperationsInput | string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean isin?: NullableStringFieldUpdateOperationsInput | string | null name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol?: StringFieldUpdateOperationsInput | string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null activities?: OrderUncheckedUpdateManyWithoutSymbolProfileNestedInput watchedBy?: UserUncheckedUpdateManyWithoutWatchlistNestedInput SymbolProfileOverrides?: SymbolProfileOverridesUncheckedUpdateOneWithoutSymbolProfileNestedInput } export type SymbolProfileCreateManyInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null comment?: string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string currency: string cusip?: string | null dataSource: $Enums.DataSource figi?: string | null figiComposite?: string | null figiShareClass?: string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: string isActive?: boolean isin?: string | null name?: string | null updatedAt?: Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol: string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: string | null userId?: string | null } export type SymbolProfileUpdateManyMutationInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null comment?: NullableStringFieldUpdateOperationsInput | string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string cusip?: NullableStringFieldUpdateOperationsInput | string | null dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource figi?: NullableStringFieldUpdateOperationsInput | string | null figiComposite?: NullableStringFieldUpdateOperationsInput | string | null figiShareClass?: NullableStringFieldUpdateOperationsInput | string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean isin?: NullableStringFieldUpdateOperationsInput | string | null name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol?: StringFieldUpdateOperationsInput | string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: NullableStringFieldUpdateOperationsInput | string | null } export type SymbolProfileUncheckedUpdateManyInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null comment?: NullableStringFieldUpdateOperationsInput | string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string cusip?: NullableStringFieldUpdateOperationsInput | string | null dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource figi?: NullableStringFieldUpdateOperationsInput | string | null figiComposite?: NullableStringFieldUpdateOperationsInput | string | null figiShareClass?: NullableStringFieldUpdateOperationsInput | string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean isin?: NullableStringFieldUpdateOperationsInput | string | null name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol?: StringFieldUpdateOperationsInput | string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null } export type SymbolProfileOverridesCreateInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null countries?: NullableJsonNullValueInput | InputJsonValue holdings?: NullableJsonNullValueInput | InputJsonValue name?: string | null sectors?: NullableJsonNullValueInput | InputJsonValue updatedAt?: Date | string url?: string | null SymbolProfile: SymbolProfileCreateNestedOneWithoutSymbolProfileOverridesInput } export type SymbolProfileOverridesUncheckedCreateInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null countries?: NullableJsonNullValueInput | InputJsonValue holdings?: NullableJsonNullValueInput | InputJsonValue name?: string | null sectors?: NullableJsonNullValueInput | InputJsonValue symbolProfileId: string updatedAt?: Date | string url?: string | null } export type SymbolProfileOverridesUpdateInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null countries?: NullableJsonNullValueInput | InputJsonValue holdings?: NullableJsonNullValueInput | InputJsonValue name?: NullableStringFieldUpdateOperationsInput | string | null sectors?: NullableJsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string url?: NullableStringFieldUpdateOperationsInput | string | null SymbolProfile?: SymbolProfileUpdateOneRequiredWithoutSymbolProfileOverridesNestedInput } export type SymbolProfileOverridesUncheckedUpdateInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null countries?: NullableJsonNullValueInput | InputJsonValue holdings?: NullableJsonNullValueInput | InputJsonValue name?: NullableStringFieldUpdateOperationsInput | string | null sectors?: NullableJsonNullValueInput | InputJsonValue symbolProfileId?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string url?: NullableStringFieldUpdateOperationsInput | string | null } export type SymbolProfileOverridesCreateManyInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null countries?: NullableJsonNullValueInput | InputJsonValue holdings?: NullableJsonNullValueInput | InputJsonValue name?: string | null sectors?: NullableJsonNullValueInput | InputJsonValue symbolProfileId: string updatedAt?: Date | string url?: string | null } export type SymbolProfileOverridesUpdateManyMutationInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null countries?: NullableJsonNullValueInput | InputJsonValue holdings?: NullableJsonNullValueInput | InputJsonValue name?: NullableStringFieldUpdateOperationsInput | string | null sectors?: NullableJsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string url?: NullableStringFieldUpdateOperationsInput | string | null } export type SymbolProfileOverridesUncheckedUpdateManyInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null countries?: NullableJsonNullValueInput | InputJsonValue holdings?: NullableJsonNullValueInput | InputJsonValue name?: NullableStringFieldUpdateOperationsInput | string | null sectors?: NullableJsonNullValueInput | InputJsonValue symbolProfileId?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string url?: NullableStringFieldUpdateOperationsInput | string | null } export type SubscriptionCreateInput = { createdAt?: Date | string expiresAt: Date | string id?: string price?: number | null updatedAt?: Date | string user: UserCreateNestedOneWithoutSubscriptionsInput } export type SubscriptionUncheckedCreateInput = { createdAt?: Date | string expiresAt: Date | string id?: string price?: number | null updatedAt?: Date | string userId: string } export type SubscriptionUpdateInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string price?: NullableFloatFieldUpdateOperationsInput | number | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string user?: UserUpdateOneRequiredWithoutSubscriptionsNestedInput } export type SubscriptionUncheckedUpdateInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string price?: NullableFloatFieldUpdateOperationsInput | number | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type SubscriptionCreateManyInput = { createdAt?: Date | string expiresAt: Date | string id?: string price?: number | null updatedAt?: Date | string userId: string } export type SubscriptionUpdateManyMutationInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string price?: NullableFloatFieldUpdateOperationsInput | number | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SubscriptionUncheckedUpdateManyInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string price?: NullableFloatFieldUpdateOperationsInput | number | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type TagCreateInput = { id?: string name: string activities?: OrderCreateNestedManyWithoutTagsInput user?: UserCreateNestedOneWithoutTagsInput } export type TagUncheckedCreateInput = { id?: string name: string userId?: string | null activities?: OrderUncheckedCreateNestedManyWithoutTagsInput } export type TagUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string activities?: OrderUpdateManyWithoutTagsNestedInput user?: UserUpdateOneWithoutTagsNestedInput } export type TagUncheckedUpdateInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string userId?: NullableStringFieldUpdateOperationsInput | string | null activities?: OrderUncheckedUpdateManyWithoutTagsNestedInput } export type TagCreateManyInput = { id?: string name: string userId?: string | null } export type TagUpdateManyMutationInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string } export type TagUncheckedUpdateManyInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string userId?: NullableStringFieldUpdateOperationsInput | string | null } export type UserCreateInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessCreateNestedManyWithoutUserInput accounts?: AccountCreateNestedManyWithoutUserInput activities?: OrderCreateNestedManyWithoutUserInput analytics?: AnalyticsCreateNestedOneWithoutUserInput apiKeys?: ApiKeyCreateNestedManyWithoutUserInput authDevices?: AuthDeviceCreateNestedManyWithoutUserInput settings?: SettingsCreateNestedOneWithoutUserInput subscriptions?: SubscriptionCreateNestedManyWithoutUserInput tags?: TagCreateNestedManyWithoutUserInput watchlist?: SymbolProfileCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileCreateNestedManyWithoutUserInput } export type UserUncheckedCreateInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessUncheckedCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessUncheckedCreateNestedManyWithoutUserInput accounts?: AccountUncheckedCreateNestedManyWithoutUserInput activities?: OrderUncheckedCreateNestedManyWithoutUserInput analytics?: AnalyticsUncheckedCreateNestedOneWithoutUserInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutUserInput authDevices?: AuthDeviceUncheckedCreateNestedManyWithoutUserInput settings?: SettingsUncheckedCreateNestedOneWithoutUserInput subscriptions?: SubscriptionUncheckedCreateNestedManyWithoutUserInput tags?: TagUncheckedCreateNestedManyWithoutUserInput watchlist?: SymbolProfileUncheckedCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileUncheckedCreateNestedManyWithoutUserInput } export type UserUpdateInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUpdateManyWithoutUserNestedInput accounts?: AccountUpdateManyWithoutUserNestedInput activities?: OrderUpdateManyWithoutUserNestedInput analytics?: AnalyticsUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUpdateManyWithoutUserNestedInput settings?: SettingsUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUpdateManyWithoutUserNestedInput tags?: TagUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUncheckedUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUncheckedUpdateManyWithoutUserNestedInput accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput activities?: OrderUncheckedUpdateManyWithoutUserNestedInput analytics?: AnalyticsUncheckedUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUncheckedUpdateManyWithoutUserNestedInput settings?: SettingsUncheckedUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUncheckedUpdateManyWithoutUserNestedInput tags?: TagUncheckedUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUncheckedUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUncheckedUpdateManyWithoutUserNestedInput } export type UserCreateManyInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string } export type UserUpdateManyMutationInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type UserUncheckedUpdateManyInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type StringNullableFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> | null in?: string[] | ListStringFieldRefInput<$PrismaModel> | null notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null lt?: string | StringFieldRefInput<$PrismaModel> lte?: string | StringFieldRefInput<$PrismaModel> gt?: string | StringFieldRefInput<$PrismaModel> gte?: string | StringFieldRefInput<$PrismaModel> contains?: string | StringFieldRefInput<$PrismaModel> startsWith?: string | StringFieldRefInput<$PrismaModel> endsWith?: string | StringFieldRefInput<$PrismaModel> mode?: QueryMode not?: NestedStringNullableFilter<$PrismaModel> | string | null } export type 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 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 EnumAccessPermissionNullableListFilter<$PrismaModel = never> = { equals?: $Enums.AccessPermission[] | ListEnumAccessPermissionFieldRefInput<$PrismaModel> | null has?: $Enums.AccessPermission | EnumAccessPermissionFieldRefInput<$PrismaModel> | null hasEvery?: $Enums.AccessPermission[] | ListEnumAccessPermissionFieldRefInput<$PrismaModel> hasSome?: $Enums.AccessPermission[] | ListEnumAccessPermissionFieldRefInput<$PrismaModel> isEmpty?: boolean } export type JsonFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type JsonFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } export type UserNullableScalarRelationFilter = { is?: UserWhereInput | null isNot?: UserWhereInput | null } export type UserScalarRelationFilter = { is?: UserWhereInput isNot?: UserWhereInput } export type SortOrderInput = { sort: SortOrder nulls?: NullsOrder } export type AccessCountOrderByAggregateInput = { alias?: SortOrder createdAt?: SortOrder granteeUserId?: SortOrder id?: SortOrder permissions?: SortOrder settings?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type AccessMaxOrderByAggregateInput = { alias?: SortOrder createdAt?: SortOrder granteeUserId?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type AccessMinOrderByAggregateInput = { alias?: SortOrder createdAt?: SortOrder granteeUserId?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: 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 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 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 JsonWithAggregatesFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type JsonWithAggregatesFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter _count?: NestedIntFilter<$PrismaModel> _min?: NestedJsonFilter<$PrismaModel> _max?: NestedJsonFilter<$PrismaModel> } export type FloatFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> in?: number[] | ListFloatFieldRefInput<$PrismaModel> notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> lt?: number | FloatFieldRefInput<$PrismaModel> lte?: number | FloatFieldRefInput<$PrismaModel> gt?: number | FloatFieldRefInput<$PrismaModel> gte?: number | FloatFieldRefInput<$PrismaModel> not?: NestedFloatFilter<$PrismaModel> | number } export type BoolFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolFilter<$PrismaModel> | boolean } export type OrderListRelationFilter = { every?: OrderWhereInput some?: OrderWhereInput none?: OrderWhereInput } export type AccountBalanceListRelationFilter = { every?: AccountBalanceWhereInput some?: AccountBalanceWhereInput none?: AccountBalanceWhereInput } export type PlatformNullableScalarRelationFilter = { is?: PlatformWhereInput | null isNot?: PlatformWhereInput | null } export type OrderOrderByRelationAggregateInput = { _count?: SortOrder } export type AccountBalanceOrderByRelationAggregateInput = { _count?: SortOrder } export type AccountIdUserIdCompoundUniqueInput = { id: string userId: string } export type AccountCountOrderByAggregateInput = { balance?: SortOrder comment?: SortOrder createdAt?: SortOrder currency?: SortOrder id?: SortOrder isExcluded?: SortOrder name?: SortOrder platformId?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type AccountAvgOrderByAggregateInput = { balance?: SortOrder } export type AccountMaxOrderByAggregateInput = { balance?: SortOrder comment?: SortOrder createdAt?: SortOrder currency?: SortOrder id?: SortOrder isExcluded?: SortOrder name?: SortOrder platformId?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type AccountMinOrderByAggregateInput = { balance?: SortOrder comment?: SortOrder createdAt?: SortOrder currency?: SortOrder id?: SortOrder isExcluded?: SortOrder name?: SortOrder platformId?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type AccountSumOrderByAggregateInput = { balance?: SortOrder } export type FloatWithAggregatesFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> in?: number[] | ListFloatFieldRefInput<$PrismaModel> notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> lt?: number | FloatFieldRefInput<$PrismaModel> lte?: number | FloatFieldRefInput<$PrismaModel> gt?: number | FloatFieldRefInput<$PrismaModel> gte?: number | FloatFieldRefInput<$PrismaModel> not?: NestedFloatWithAggregatesFilter<$PrismaModel> | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedFloatFilter<$PrismaModel> _min?: NestedFloatFilter<$PrismaModel> _max?: NestedFloatFilter<$PrismaModel> } export type BoolWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean _count?: NestedIntFilter<$PrismaModel> _min?: NestedBoolFilter<$PrismaModel> _max?: NestedBoolFilter<$PrismaModel> } export type AccountScalarRelationFilter = { is?: AccountWhereInput isNot?: AccountWhereInput } export type AccountBalanceAccountIdDateCompoundUniqueInput = { accountId: string date: Date | string } export type AccountBalanceCountOrderByAggregateInput = { accountId?: SortOrder createdAt?: SortOrder date?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder value?: SortOrder } export type AccountBalanceAvgOrderByAggregateInput = { value?: SortOrder } export type AccountBalanceMaxOrderByAggregateInput = { accountId?: SortOrder createdAt?: SortOrder date?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder value?: SortOrder } export type AccountBalanceMinOrderByAggregateInput = { accountId?: SortOrder createdAt?: SortOrder date?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder value?: SortOrder } export type AccountBalanceSumOrderByAggregateInput = { value?: SortOrder } 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 AnalyticsCountOrderByAggregateInput = { activityCount?: SortOrder country?: SortOrder dataProviderGhostfolioDailyRequests?: SortOrder lastRequestAt?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type AnalyticsAvgOrderByAggregateInput = { activityCount?: SortOrder dataProviderGhostfolioDailyRequests?: SortOrder } export type AnalyticsMaxOrderByAggregateInput = { activityCount?: SortOrder country?: SortOrder dataProviderGhostfolioDailyRequests?: SortOrder lastRequestAt?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type AnalyticsMinOrderByAggregateInput = { activityCount?: SortOrder country?: SortOrder dataProviderGhostfolioDailyRequests?: SortOrder lastRequestAt?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type AnalyticsSumOrderByAggregateInput = { activityCount?: SortOrder dataProviderGhostfolioDailyRequests?: 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 ApiKeyCountOrderByAggregateInput = { createdAt?: SortOrder hashedKey?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type ApiKeyMaxOrderByAggregateInput = { createdAt?: SortOrder hashedKey?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type ApiKeyMinOrderByAggregateInput = { createdAt?: SortOrder hashedKey?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type EnumDataSourceFilter<$PrismaModel = never> = { equals?: $Enums.DataSource | EnumDataSourceFieldRefInput<$PrismaModel> in?: $Enums.DataSource[] | ListEnumDataSourceFieldRefInput<$PrismaModel> notIn?: $Enums.DataSource[] | ListEnumDataSourceFieldRefInput<$PrismaModel> not?: NestedEnumDataSourceFilter<$PrismaModel> | $Enums.DataSource } export type AssetProfileResolutionDataSourceOriginSymbolOriginCompoundUniqueInput = { dataSourceOrigin: $Enums.DataSource symbolOrigin: string } export type AssetProfileResolutionCountOrderByAggregateInput = { createdAt?: SortOrder currency?: SortOrder dataSourceOrigin?: SortOrder dataSourceTarget?: SortOrder id?: SortOrder requestCount?: SortOrder symbolOrigin?: SortOrder symbolTarget?: SortOrder updatedAt?: SortOrder } export type AssetProfileResolutionAvgOrderByAggregateInput = { requestCount?: SortOrder } export type AssetProfileResolutionMaxOrderByAggregateInput = { createdAt?: SortOrder currency?: SortOrder dataSourceOrigin?: SortOrder dataSourceTarget?: SortOrder id?: SortOrder requestCount?: SortOrder symbolOrigin?: SortOrder symbolTarget?: SortOrder updatedAt?: SortOrder } export type AssetProfileResolutionMinOrderByAggregateInput = { createdAt?: SortOrder currency?: SortOrder dataSourceOrigin?: SortOrder dataSourceTarget?: SortOrder id?: SortOrder requestCount?: SortOrder symbolOrigin?: SortOrder symbolTarget?: SortOrder updatedAt?: SortOrder } export type AssetProfileResolutionSumOrderByAggregateInput = { requestCount?: SortOrder } export type EnumDataSourceWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.DataSource | EnumDataSourceFieldRefInput<$PrismaModel> in?: $Enums.DataSource[] | ListEnumDataSourceFieldRefInput<$PrismaModel> notIn?: $Enums.DataSource[] | ListEnumDataSourceFieldRefInput<$PrismaModel> not?: NestedEnumDataSourceWithAggregatesFilter<$PrismaModel> | $Enums.DataSource _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumDataSourceFilter<$PrismaModel> _max?: NestedEnumDataSourceFilter<$PrismaModel> } export type BytesFilter<$PrismaModel = never> = { equals?: Bytes | BytesFieldRefInput<$PrismaModel> in?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> notIn?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> not?: NestedBytesFilter<$PrismaModel> | Bytes } export type AuthDeviceCountOrderByAggregateInput = { createdAt?: SortOrder credentialId?: SortOrder credentialPublicKey?: SortOrder counter?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type AuthDeviceAvgOrderByAggregateInput = { counter?: SortOrder } export type AuthDeviceMaxOrderByAggregateInput = { createdAt?: SortOrder credentialId?: SortOrder credentialPublicKey?: SortOrder counter?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type AuthDeviceMinOrderByAggregateInput = { createdAt?: SortOrder credentialId?: SortOrder credentialPublicKey?: SortOrder counter?: SortOrder id?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type AuthDeviceSumOrderByAggregateInput = { counter?: SortOrder } export type BytesWithAggregatesFilter<$PrismaModel = never> = { equals?: Bytes | BytesFieldRefInput<$PrismaModel> in?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> notIn?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> not?: NestedBytesWithAggregatesFilter<$PrismaModel> | Bytes _count?: NestedIntFilter<$PrismaModel> _min?: NestedBytesFilter<$PrismaModel> _max?: NestedBytesFilter<$PrismaModel> } export type EnumMarketDataStateFilter<$PrismaModel = never> = { equals?: $Enums.MarketDataState | EnumMarketDataStateFieldRefInput<$PrismaModel> in?: $Enums.MarketDataState[] | ListEnumMarketDataStateFieldRefInput<$PrismaModel> notIn?: $Enums.MarketDataState[] | ListEnumMarketDataStateFieldRefInput<$PrismaModel> not?: NestedEnumMarketDataStateFilter<$PrismaModel> | $Enums.MarketDataState } export type MarketDataDataSourceDateSymbolCompoundUniqueInput = { dataSource: $Enums.DataSource date: Date | string symbol: string } export type MarketDataCountOrderByAggregateInput = { createdAt?: SortOrder dataSource?: SortOrder date?: SortOrder id?: SortOrder marketPrice?: SortOrder state?: SortOrder symbol?: SortOrder } export type MarketDataAvgOrderByAggregateInput = { marketPrice?: SortOrder } export type MarketDataMaxOrderByAggregateInput = { createdAt?: SortOrder dataSource?: SortOrder date?: SortOrder id?: SortOrder marketPrice?: SortOrder state?: SortOrder symbol?: SortOrder } export type MarketDataMinOrderByAggregateInput = { createdAt?: SortOrder dataSource?: SortOrder date?: SortOrder id?: SortOrder marketPrice?: SortOrder state?: SortOrder symbol?: SortOrder } export type MarketDataSumOrderByAggregateInput = { marketPrice?: SortOrder } export type EnumMarketDataStateWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.MarketDataState | EnumMarketDataStateFieldRefInput<$PrismaModel> in?: $Enums.MarketDataState[] | ListEnumMarketDataStateFieldRefInput<$PrismaModel> notIn?: $Enums.MarketDataState[] | ListEnumMarketDataStateFieldRefInput<$PrismaModel> not?: NestedEnumMarketDataStateWithAggregatesFilter<$PrismaModel> | $Enums.MarketDataState _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumMarketDataStateFilter<$PrismaModel> _max?: NestedEnumMarketDataStateFilter<$PrismaModel> } export type EnumTypeFilter<$PrismaModel = never> = { equals?: $Enums.Type | EnumTypeFieldRefInput<$PrismaModel> in?: $Enums.Type[] | ListEnumTypeFieldRefInput<$PrismaModel> notIn?: $Enums.Type[] | ListEnumTypeFieldRefInput<$PrismaModel> not?: NestedEnumTypeFilter<$PrismaModel> | $Enums.Type } export type AccountNullableScalarRelationFilter = { is?: AccountWhereInput | null isNot?: AccountWhereInput | null } export type TagListRelationFilter = { every?: TagWhereInput some?: TagWhereInput none?: TagWhereInput } export type SymbolProfileScalarRelationFilter = { is?: SymbolProfileWhereInput isNot?: SymbolProfileWhereInput } export type TagOrderByRelationAggregateInput = { _count?: SortOrder } export type OrderCountOrderByAggregateInput = { accountId?: SortOrder accountUserId?: SortOrder comment?: SortOrder createdAt?: SortOrder currency?: SortOrder date?: SortOrder fee?: SortOrder id?: SortOrder isDraft?: SortOrder quantity?: SortOrder symbolProfileId?: SortOrder type?: SortOrder unitPrice?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type OrderAvgOrderByAggregateInput = { fee?: SortOrder quantity?: SortOrder unitPrice?: SortOrder } export type OrderMaxOrderByAggregateInput = { accountId?: SortOrder accountUserId?: SortOrder comment?: SortOrder createdAt?: SortOrder currency?: SortOrder date?: SortOrder fee?: SortOrder id?: SortOrder isDraft?: SortOrder quantity?: SortOrder symbolProfileId?: SortOrder type?: SortOrder unitPrice?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type OrderMinOrderByAggregateInput = { accountId?: SortOrder accountUserId?: SortOrder comment?: SortOrder createdAt?: SortOrder currency?: SortOrder date?: SortOrder fee?: SortOrder id?: SortOrder isDraft?: SortOrder quantity?: SortOrder symbolProfileId?: SortOrder type?: SortOrder unitPrice?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type OrderSumOrderByAggregateInput = { fee?: SortOrder quantity?: SortOrder unitPrice?: SortOrder } export type EnumTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.Type | EnumTypeFieldRefInput<$PrismaModel> in?: $Enums.Type[] | ListEnumTypeFieldRefInput<$PrismaModel> notIn?: $Enums.Type[] | ListEnumTypeFieldRefInput<$PrismaModel> not?: NestedEnumTypeWithAggregatesFilter<$PrismaModel> | $Enums.Type _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumTypeFilter<$PrismaModel> _max?: NestedEnumTypeFilter<$PrismaModel> } export type AccountListRelationFilter = { every?: AccountWhereInput some?: AccountWhereInput none?: AccountWhereInput } export type AccountOrderByRelationAggregateInput = { _count?: SortOrder } export type PlatformCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder url?: SortOrder } export type PlatformMaxOrderByAggregateInput = { id?: SortOrder name?: SortOrder url?: SortOrder } export type PlatformMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder url?: SortOrder } export type PropertyCountOrderByAggregateInput = { key?: SortOrder value?: SortOrder } export type PropertyMaxOrderByAggregateInput = { key?: SortOrder value?: SortOrder } export type PropertyMinOrderByAggregateInput = { key?: SortOrder value?: SortOrder } export type JsonNullableFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type JsonNullableFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } export type SettingsCountOrderByAggregateInput = { settings?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type SettingsMaxOrderByAggregateInput = { updatedAt?: SortOrder userId?: SortOrder } export type SettingsMinOrderByAggregateInput = { updatedAt?: SortOrder userId?: SortOrder } export type JsonNullableWithAggregatesFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedJsonNullableFilter<$PrismaModel> _max?: NestedJsonNullableFilter<$PrismaModel> } export type EnumAssetClassNullableFilter<$PrismaModel = never> = { equals?: $Enums.AssetClass | EnumAssetClassFieldRefInput<$PrismaModel> | null in?: $Enums.AssetClass[] | ListEnumAssetClassFieldRefInput<$PrismaModel> | null notIn?: $Enums.AssetClass[] | ListEnumAssetClassFieldRefInput<$PrismaModel> | null not?: NestedEnumAssetClassNullableFilter<$PrismaModel> | $Enums.AssetClass | null } export type EnumAssetSubClassNullableFilter<$PrismaModel = never> = { equals?: $Enums.AssetSubClass | EnumAssetSubClassFieldRefInput<$PrismaModel> | null in?: $Enums.AssetSubClass[] | ListEnumAssetSubClassFieldRefInput<$PrismaModel> | null notIn?: $Enums.AssetSubClass[] | ListEnumAssetSubClassFieldRefInput<$PrismaModel> | null not?: NestedEnumAssetSubClassNullableFilter<$PrismaModel> | $Enums.AssetSubClass | null } export type UserListRelationFilter = { every?: UserWhereInput some?: UserWhereInput none?: UserWhereInput } export type SymbolProfileOverridesNullableScalarRelationFilter = { is?: SymbolProfileOverridesWhereInput | null isNot?: SymbolProfileOverridesWhereInput | null } export type UserOrderByRelationAggregateInput = { _count?: SortOrder } export type SymbolProfileDataSourceSymbolCompoundUniqueInput = { dataSource: $Enums.DataSource symbol: string } export type SymbolProfileCountOrderByAggregateInput = { assetClass?: SortOrder assetSubClass?: SortOrder comment?: SortOrder countries?: SortOrder createdAt?: SortOrder currency?: SortOrder cusip?: SortOrder dataSource?: SortOrder figi?: SortOrder figiComposite?: SortOrder figiShareClass?: SortOrder holdings?: SortOrder id?: SortOrder isActive?: SortOrder isin?: SortOrder name?: SortOrder updatedAt?: SortOrder scraperConfiguration?: SortOrder sectors?: SortOrder symbol?: SortOrder symbolMapping?: SortOrder url?: SortOrder userId?: SortOrder } export type SymbolProfileMaxOrderByAggregateInput = { assetClass?: SortOrder assetSubClass?: SortOrder comment?: SortOrder createdAt?: SortOrder currency?: SortOrder cusip?: SortOrder dataSource?: SortOrder figi?: SortOrder figiComposite?: SortOrder figiShareClass?: SortOrder id?: SortOrder isActive?: SortOrder isin?: SortOrder name?: SortOrder updatedAt?: SortOrder symbol?: SortOrder url?: SortOrder userId?: SortOrder } export type SymbolProfileMinOrderByAggregateInput = { assetClass?: SortOrder assetSubClass?: SortOrder comment?: SortOrder createdAt?: SortOrder currency?: SortOrder cusip?: SortOrder dataSource?: SortOrder figi?: SortOrder figiComposite?: SortOrder figiShareClass?: SortOrder id?: SortOrder isActive?: SortOrder isin?: SortOrder name?: SortOrder updatedAt?: SortOrder symbol?: SortOrder url?: SortOrder userId?: SortOrder } export type EnumAssetClassNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.AssetClass | EnumAssetClassFieldRefInput<$PrismaModel> | null in?: $Enums.AssetClass[] | ListEnumAssetClassFieldRefInput<$PrismaModel> | null notIn?: $Enums.AssetClass[] | ListEnumAssetClassFieldRefInput<$PrismaModel> | null not?: NestedEnumAssetClassNullableWithAggregatesFilter<$PrismaModel> | $Enums.AssetClass | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedEnumAssetClassNullableFilter<$PrismaModel> _max?: NestedEnumAssetClassNullableFilter<$PrismaModel> } export type EnumAssetSubClassNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.AssetSubClass | EnumAssetSubClassFieldRefInput<$PrismaModel> | null in?: $Enums.AssetSubClass[] | ListEnumAssetSubClassFieldRefInput<$PrismaModel> | null notIn?: $Enums.AssetSubClass[] | ListEnumAssetSubClassFieldRefInput<$PrismaModel> | null not?: NestedEnumAssetSubClassNullableWithAggregatesFilter<$PrismaModel> | $Enums.AssetSubClass | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedEnumAssetSubClassNullableFilter<$PrismaModel> _max?: NestedEnumAssetSubClassNullableFilter<$PrismaModel> } export type SymbolProfileOverridesCountOrderByAggregateInput = { assetClass?: SortOrder assetSubClass?: SortOrder countries?: SortOrder holdings?: SortOrder name?: SortOrder sectors?: SortOrder symbolProfileId?: SortOrder updatedAt?: SortOrder url?: SortOrder } export type SymbolProfileOverridesMaxOrderByAggregateInput = { assetClass?: SortOrder assetSubClass?: SortOrder name?: SortOrder symbolProfileId?: SortOrder updatedAt?: SortOrder url?: SortOrder } export type SymbolProfileOverridesMinOrderByAggregateInput = { assetClass?: SortOrder assetSubClass?: SortOrder name?: SortOrder symbolProfileId?: SortOrder updatedAt?: SortOrder url?: SortOrder } export type FloatNullableFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> | null in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null lt?: number | FloatFieldRefInput<$PrismaModel> lte?: number | FloatFieldRefInput<$PrismaModel> gt?: number | FloatFieldRefInput<$PrismaModel> gte?: number | FloatFieldRefInput<$PrismaModel> not?: NestedFloatNullableFilter<$PrismaModel> | number | null } export type SubscriptionCountOrderByAggregateInput = { createdAt?: SortOrder expiresAt?: SortOrder id?: SortOrder price?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type SubscriptionAvgOrderByAggregateInput = { price?: SortOrder } export type SubscriptionMaxOrderByAggregateInput = { createdAt?: SortOrder expiresAt?: SortOrder id?: SortOrder price?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type SubscriptionMinOrderByAggregateInput = { createdAt?: SortOrder expiresAt?: SortOrder id?: SortOrder price?: SortOrder updatedAt?: SortOrder userId?: SortOrder } export type SubscriptionSumOrderByAggregateInput = { price?: SortOrder } export type FloatNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> | null in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null lt?: number | FloatFieldRefInput<$PrismaModel> lte?: number | FloatFieldRefInput<$PrismaModel> gt?: number | FloatFieldRefInput<$PrismaModel> gte?: number | FloatFieldRefInput<$PrismaModel> not?: NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedFloatNullableFilter<$PrismaModel> _min?: NestedFloatNullableFilter<$PrismaModel> _max?: NestedFloatNullableFilter<$PrismaModel> } export type TagNameUserIdCompoundUniqueInput = { name: string userId: string } export type TagCountOrderByAggregateInput = { id?: SortOrder name?: SortOrder userId?: SortOrder } export type TagMaxOrderByAggregateInput = { id?: SortOrder name?: SortOrder userId?: SortOrder } export type TagMinOrderByAggregateInput = { id?: SortOrder name?: SortOrder userId?: SortOrder } export type EnumProviderFilter<$PrismaModel = never> = { equals?: $Enums.Provider | EnumProviderFieldRefInput<$PrismaModel> in?: $Enums.Provider[] | ListEnumProviderFieldRefInput<$PrismaModel> notIn?: $Enums.Provider[] | ListEnumProviderFieldRefInput<$PrismaModel> not?: NestedEnumProviderFilter<$PrismaModel> | $Enums.Provider } 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 AccessListRelationFilter = { every?: AccessWhereInput some?: AccessWhereInput none?: AccessWhereInput } export type AnalyticsNullableScalarRelationFilter = { is?: AnalyticsWhereInput | null isNot?: AnalyticsWhereInput | null } export type ApiKeyListRelationFilter = { every?: ApiKeyWhereInput some?: ApiKeyWhereInput none?: ApiKeyWhereInput } export type AuthDeviceListRelationFilter = { every?: AuthDeviceWhereInput some?: AuthDeviceWhereInput none?: AuthDeviceWhereInput } export type SettingsNullableScalarRelationFilter = { is?: SettingsWhereInput | null isNot?: SettingsWhereInput | null } export type SubscriptionListRelationFilter = { every?: SubscriptionWhereInput some?: SubscriptionWhereInput none?: SubscriptionWhereInput } export type SymbolProfileListRelationFilter = { every?: SymbolProfileWhereInput some?: SymbolProfileWhereInput none?: SymbolProfileWhereInput } export type AccessOrderByRelationAggregateInput = { _count?: SortOrder } export type ApiKeyOrderByRelationAggregateInput = { _count?: SortOrder } export type AuthDeviceOrderByRelationAggregateInput = { _count?: SortOrder } export type SubscriptionOrderByRelationAggregateInput = { _count?: SortOrder } export type SymbolProfileOrderByRelationAggregateInput = { _count?: SortOrder } export type UserCountOrderByAggregateInput = { accessToken?: SortOrder authChallenge?: SortOrder createdAt?: SortOrder id?: SortOrder provider?: SortOrder role?: SortOrder thirdPartyId?: SortOrder updatedAt?: SortOrder } export type UserMaxOrderByAggregateInput = { accessToken?: SortOrder authChallenge?: SortOrder createdAt?: SortOrder id?: SortOrder provider?: SortOrder role?: SortOrder thirdPartyId?: SortOrder updatedAt?: SortOrder } export type UserMinOrderByAggregateInput = { accessToken?: SortOrder authChallenge?: SortOrder createdAt?: SortOrder id?: SortOrder provider?: SortOrder role?: SortOrder thirdPartyId?: SortOrder updatedAt?: SortOrder } export type EnumProviderWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.Provider | EnumProviderFieldRefInput<$PrismaModel> in?: $Enums.Provider[] | ListEnumProviderFieldRefInput<$PrismaModel> notIn?: $Enums.Provider[] | ListEnumProviderFieldRefInput<$PrismaModel> not?: NestedEnumProviderWithAggregatesFilter<$PrismaModel> | $Enums.Provider _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumProviderFilter<$PrismaModel> _max?: NestedEnumProviderFilter<$PrismaModel> } 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 AccessCreatepermissionsInput = { set: $Enums.AccessPermission[] } export type UserCreateNestedOneWithoutAccessesGetInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAccessesGetInput connect?: UserWhereUniqueInput } export type UserCreateNestedOneWithoutAccessesGiveInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAccessesGiveInput connect?: UserWhereUniqueInput } export type NullableStringFieldUpdateOperationsInput = { set?: string | null } export type DateTimeFieldUpdateOperationsInput = { set?: Date | string } export type StringFieldUpdateOperationsInput = { set?: string } export type AccessUpdatepermissionsInput = { set?: $Enums.AccessPermission[] push?: $Enums.AccessPermission | $Enums.AccessPermission[] } export type UserUpdateOneWithoutAccessesGetNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAccessesGetInput upsert?: UserUpsertWithoutAccessesGetInput disconnect?: UserWhereInput | boolean delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutAccessesGetInput> } export type UserUpdateOneRequiredWithoutAccessesGiveNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAccessesGiveInput upsert?: UserUpsertWithoutAccessesGiveInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutAccessesGiveInput> } export type OrderCreateNestedManyWithoutAccountInput = { create?: XOR | OrderCreateWithoutAccountInput[] | OrderUncheckedCreateWithoutAccountInput[] connectOrCreate?: OrderCreateOrConnectWithoutAccountInput | OrderCreateOrConnectWithoutAccountInput[] createMany?: OrderCreateManyAccountInputEnvelope connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] } export type AccountBalanceCreateNestedManyWithoutAccountInput = { create?: XOR | AccountBalanceCreateWithoutAccountInput[] | AccountBalanceUncheckedCreateWithoutAccountInput[] connectOrCreate?: AccountBalanceCreateOrConnectWithoutAccountInput | AccountBalanceCreateOrConnectWithoutAccountInput[] createMany?: AccountBalanceCreateManyAccountInputEnvelope connect?: AccountBalanceWhereUniqueInput | AccountBalanceWhereUniqueInput[] } export type PlatformCreateNestedOneWithoutAccountsInput = { create?: XOR connectOrCreate?: PlatformCreateOrConnectWithoutAccountsInput connect?: PlatformWhereUniqueInput } export type UserCreateNestedOneWithoutAccountsInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAccountsInput connect?: UserWhereUniqueInput } export type OrderUncheckedCreateNestedManyWithoutAccountInput = { create?: XOR | OrderCreateWithoutAccountInput[] | OrderUncheckedCreateWithoutAccountInput[] connectOrCreate?: OrderCreateOrConnectWithoutAccountInput | OrderCreateOrConnectWithoutAccountInput[] createMany?: OrderCreateManyAccountInputEnvelope connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] } export type AccountBalanceUncheckedCreateNestedManyWithoutAccountInput = { create?: XOR | AccountBalanceCreateWithoutAccountInput[] | AccountBalanceUncheckedCreateWithoutAccountInput[] connectOrCreate?: AccountBalanceCreateOrConnectWithoutAccountInput | AccountBalanceCreateOrConnectWithoutAccountInput[] createMany?: AccountBalanceCreateManyAccountInputEnvelope connect?: AccountBalanceWhereUniqueInput | AccountBalanceWhereUniqueInput[] } export type FloatFieldUpdateOperationsInput = { set?: number increment?: number decrement?: number multiply?: number divide?: number } export type BoolFieldUpdateOperationsInput = { set?: boolean } export type OrderUpdateManyWithoutAccountNestedInput = { create?: XOR | OrderCreateWithoutAccountInput[] | OrderUncheckedCreateWithoutAccountInput[] connectOrCreate?: OrderCreateOrConnectWithoutAccountInput | OrderCreateOrConnectWithoutAccountInput[] upsert?: OrderUpsertWithWhereUniqueWithoutAccountInput | OrderUpsertWithWhereUniqueWithoutAccountInput[] createMany?: OrderCreateManyAccountInputEnvelope set?: OrderWhereUniqueInput | OrderWhereUniqueInput[] disconnect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] delete?: OrderWhereUniqueInput | OrderWhereUniqueInput[] connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] update?: OrderUpdateWithWhereUniqueWithoutAccountInput | OrderUpdateWithWhereUniqueWithoutAccountInput[] updateMany?: OrderUpdateManyWithWhereWithoutAccountInput | OrderUpdateManyWithWhereWithoutAccountInput[] deleteMany?: OrderScalarWhereInput | OrderScalarWhereInput[] } export type AccountBalanceUpdateManyWithoutAccountNestedInput = { create?: XOR | AccountBalanceCreateWithoutAccountInput[] | AccountBalanceUncheckedCreateWithoutAccountInput[] connectOrCreate?: AccountBalanceCreateOrConnectWithoutAccountInput | AccountBalanceCreateOrConnectWithoutAccountInput[] upsert?: AccountBalanceUpsertWithWhereUniqueWithoutAccountInput | AccountBalanceUpsertWithWhereUniqueWithoutAccountInput[] createMany?: AccountBalanceCreateManyAccountInputEnvelope set?: AccountBalanceWhereUniqueInput | AccountBalanceWhereUniqueInput[] disconnect?: AccountBalanceWhereUniqueInput | AccountBalanceWhereUniqueInput[] delete?: AccountBalanceWhereUniqueInput | AccountBalanceWhereUniqueInput[] connect?: AccountBalanceWhereUniqueInput | AccountBalanceWhereUniqueInput[] update?: AccountBalanceUpdateWithWhereUniqueWithoutAccountInput | AccountBalanceUpdateWithWhereUniqueWithoutAccountInput[] updateMany?: AccountBalanceUpdateManyWithWhereWithoutAccountInput | AccountBalanceUpdateManyWithWhereWithoutAccountInput[] deleteMany?: AccountBalanceScalarWhereInput | AccountBalanceScalarWhereInput[] } export type PlatformUpdateOneWithoutAccountsNestedInput = { create?: XOR connectOrCreate?: PlatformCreateOrConnectWithoutAccountsInput upsert?: PlatformUpsertWithoutAccountsInput disconnect?: PlatformWhereInput | boolean delete?: PlatformWhereInput | boolean connect?: PlatformWhereUniqueInput update?: XOR, PlatformUncheckedUpdateWithoutAccountsInput> } export type UserUpdateOneRequiredWithoutAccountsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAccountsInput upsert?: UserUpsertWithoutAccountsInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutAccountsInput> } export type OrderUncheckedUpdateManyWithoutAccountNestedInput = { create?: XOR | OrderCreateWithoutAccountInput[] | OrderUncheckedCreateWithoutAccountInput[] connectOrCreate?: OrderCreateOrConnectWithoutAccountInput | OrderCreateOrConnectWithoutAccountInput[] upsert?: OrderUpsertWithWhereUniqueWithoutAccountInput | OrderUpsertWithWhereUniqueWithoutAccountInput[] createMany?: OrderCreateManyAccountInputEnvelope set?: OrderWhereUniqueInput | OrderWhereUniqueInput[] disconnect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] delete?: OrderWhereUniqueInput | OrderWhereUniqueInput[] connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] update?: OrderUpdateWithWhereUniqueWithoutAccountInput | OrderUpdateWithWhereUniqueWithoutAccountInput[] updateMany?: OrderUpdateManyWithWhereWithoutAccountInput | OrderUpdateManyWithWhereWithoutAccountInput[] deleteMany?: OrderScalarWhereInput | OrderScalarWhereInput[] } export type AccountBalanceUncheckedUpdateManyWithoutAccountNestedInput = { create?: XOR | AccountBalanceCreateWithoutAccountInput[] | AccountBalanceUncheckedCreateWithoutAccountInput[] connectOrCreate?: AccountBalanceCreateOrConnectWithoutAccountInput | AccountBalanceCreateOrConnectWithoutAccountInput[] upsert?: AccountBalanceUpsertWithWhereUniqueWithoutAccountInput | AccountBalanceUpsertWithWhereUniqueWithoutAccountInput[] createMany?: AccountBalanceCreateManyAccountInputEnvelope set?: AccountBalanceWhereUniqueInput | AccountBalanceWhereUniqueInput[] disconnect?: AccountBalanceWhereUniqueInput | AccountBalanceWhereUniqueInput[] delete?: AccountBalanceWhereUniqueInput | AccountBalanceWhereUniqueInput[] connect?: AccountBalanceWhereUniqueInput | AccountBalanceWhereUniqueInput[] update?: AccountBalanceUpdateWithWhereUniqueWithoutAccountInput | AccountBalanceUpdateWithWhereUniqueWithoutAccountInput[] updateMany?: AccountBalanceUpdateManyWithWhereWithoutAccountInput | AccountBalanceUpdateManyWithWhereWithoutAccountInput[] deleteMany?: AccountBalanceScalarWhereInput | AccountBalanceScalarWhereInput[] } export type AccountCreateNestedOneWithoutBalancesInput = { create?: XOR connectOrCreate?: AccountCreateOrConnectWithoutBalancesInput connect?: AccountWhereUniqueInput } export type AccountUpdateOneRequiredWithoutBalancesNestedInput = { create?: XOR connectOrCreate?: AccountCreateOrConnectWithoutBalancesInput upsert?: AccountUpsertWithoutBalancesInput connect?: AccountWhereUniqueInput update?: XOR, AccountUncheckedUpdateWithoutBalancesInput> } export type UserCreateNestedOneWithoutAnalyticsInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAnalyticsInput connect?: UserWhereUniqueInput } export type IntFieldUpdateOperationsInput = { set?: number increment?: number decrement?: number multiply?: number divide?: number } export type UserUpdateOneRequiredWithoutAnalyticsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAnalyticsInput upsert?: UserUpsertWithoutAnalyticsInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutAnalyticsInput> } export type UserCreateNestedOneWithoutApiKeysInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutApiKeysInput connect?: UserWhereUniqueInput } export type UserUpdateOneRequiredWithoutApiKeysNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutApiKeysInput upsert?: UserUpsertWithoutApiKeysInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutApiKeysInput> } export type EnumDataSourceFieldUpdateOperationsInput = { set?: $Enums.DataSource } export type UserCreateNestedOneWithoutAuthDevicesInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAuthDevicesInput connect?: UserWhereUniqueInput } export type BytesFieldUpdateOperationsInput = { set?: Bytes } export type UserUpdateOneRequiredWithoutAuthDevicesNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutAuthDevicesInput upsert?: UserUpsertWithoutAuthDevicesInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutAuthDevicesInput> } export type EnumMarketDataStateFieldUpdateOperationsInput = { set?: $Enums.MarketDataState } export type AccountCreateNestedOneWithoutActivitiesInput = { create?: XOR connectOrCreate?: AccountCreateOrConnectWithoutActivitiesInput connect?: AccountWhereUniqueInput } export type TagCreateNestedManyWithoutActivitiesInput = { create?: XOR | TagCreateWithoutActivitiesInput[] | TagUncheckedCreateWithoutActivitiesInput[] connectOrCreate?: TagCreateOrConnectWithoutActivitiesInput | TagCreateOrConnectWithoutActivitiesInput[] connect?: TagWhereUniqueInput | TagWhereUniqueInput[] } export type UserCreateNestedOneWithoutActivitiesInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutActivitiesInput connect?: UserWhereUniqueInput } export type SymbolProfileCreateNestedOneWithoutActivitiesInput = { create?: XOR connectOrCreate?: SymbolProfileCreateOrConnectWithoutActivitiesInput connect?: SymbolProfileWhereUniqueInput } export type TagUncheckedCreateNestedManyWithoutActivitiesInput = { create?: XOR | TagCreateWithoutActivitiesInput[] | TagUncheckedCreateWithoutActivitiesInput[] connectOrCreate?: TagCreateOrConnectWithoutActivitiesInput | TagCreateOrConnectWithoutActivitiesInput[] connect?: TagWhereUniqueInput | TagWhereUniqueInput[] } export type EnumTypeFieldUpdateOperationsInput = { set?: $Enums.Type } export type AccountUpdateOneWithoutActivitiesNestedInput = { create?: XOR connectOrCreate?: AccountCreateOrConnectWithoutActivitiesInput upsert?: AccountUpsertWithoutActivitiesInput disconnect?: AccountWhereInput | boolean delete?: AccountWhereInput | boolean connect?: AccountWhereUniqueInput update?: XOR, AccountUncheckedUpdateWithoutActivitiesInput> } export type TagUpdateManyWithoutActivitiesNestedInput = { create?: XOR | TagCreateWithoutActivitiesInput[] | TagUncheckedCreateWithoutActivitiesInput[] connectOrCreate?: TagCreateOrConnectWithoutActivitiesInput | TagCreateOrConnectWithoutActivitiesInput[] upsert?: TagUpsertWithWhereUniqueWithoutActivitiesInput | TagUpsertWithWhereUniqueWithoutActivitiesInput[] set?: TagWhereUniqueInput | TagWhereUniqueInput[] disconnect?: TagWhereUniqueInput | TagWhereUniqueInput[] delete?: TagWhereUniqueInput | TagWhereUniqueInput[] connect?: TagWhereUniqueInput | TagWhereUniqueInput[] update?: TagUpdateWithWhereUniqueWithoutActivitiesInput | TagUpdateWithWhereUniqueWithoutActivitiesInput[] updateMany?: TagUpdateManyWithWhereWithoutActivitiesInput | TagUpdateManyWithWhereWithoutActivitiesInput[] deleteMany?: TagScalarWhereInput | TagScalarWhereInput[] } export type UserUpdateOneRequiredWithoutActivitiesNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutActivitiesInput upsert?: UserUpsertWithoutActivitiesInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutActivitiesInput> } export type SymbolProfileUpdateOneRequiredWithoutActivitiesNestedInput = { create?: XOR connectOrCreate?: SymbolProfileCreateOrConnectWithoutActivitiesInput upsert?: SymbolProfileUpsertWithoutActivitiesInput connect?: SymbolProfileWhereUniqueInput update?: XOR, SymbolProfileUncheckedUpdateWithoutActivitiesInput> } export type TagUncheckedUpdateManyWithoutActivitiesNestedInput = { create?: XOR | TagCreateWithoutActivitiesInput[] | TagUncheckedCreateWithoutActivitiesInput[] connectOrCreate?: TagCreateOrConnectWithoutActivitiesInput | TagCreateOrConnectWithoutActivitiesInput[] upsert?: TagUpsertWithWhereUniqueWithoutActivitiesInput | TagUpsertWithWhereUniqueWithoutActivitiesInput[] set?: TagWhereUniqueInput | TagWhereUniqueInput[] disconnect?: TagWhereUniqueInput | TagWhereUniqueInput[] delete?: TagWhereUniqueInput | TagWhereUniqueInput[] connect?: TagWhereUniqueInput | TagWhereUniqueInput[] update?: TagUpdateWithWhereUniqueWithoutActivitiesInput | TagUpdateWithWhereUniqueWithoutActivitiesInput[] updateMany?: TagUpdateManyWithWhereWithoutActivitiesInput | TagUpdateManyWithWhereWithoutActivitiesInput[] deleteMany?: TagScalarWhereInput | TagScalarWhereInput[] } export type AccountCreateNestedManyWithoutPlatformInput = { create?: XOR | AccountCreateWithoutPlatformInput[] | AccountUncheckedCreateWithoutPlatformInput[] connectOrCreate?: AccountCreateOrConnectWithoutPlatformInput | AccountCreateOrConnectWithoutPlatformInput[] createMany?: AccountCreateManyPlatformInputEnvelope connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] } export type AccountUncheckedCreateNestedManyWithoutPlatformInput = { create?: XOR | AccountCreateWithoutPlatformInput[] | AccountUncheckedCreateWithoutPlatformInput[] connectOrCreate?: AccountCreateOrConnectWithoutPlatformInput | AccountCreateOrConnectWithoutPlatformInput[] createMany?: AccountCreateManyPlatformInputEnvelope connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] } export type AccountUpdateManyWithoutPlatformNestedInput = { create?: XOR | AccountCreateWithoutPlatformInput[] | AccountUncheckedCreateWithoutPlatformInput[] connectOrCreate?: AccountCreateOrConnectWithoutPlatformInput | AccountCreateOrConnectWithoutPlatformInput[] upsert?: AccountUpsertWithWhereUniqueWithoutPlatformInput | AccountUpsertWithWhereUniqueWithoutPlatformInput[] createMany?: AccountCreateManyPlatformInputEnvelope set?: AccountWhereUniqueInput | AccountWhereUniqueInput[] disconnect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] delete?: AccountWhereUniqueInput | AccountWhereUniqueInput[] connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] update?: AccountUpdateWithWhereUniqueWithoutPlatformInput | AccountUpdateWithWhereUniqueWithoutPlatformInput[] updateMany?: AccountUpdateManyWithWhereWithoutPlatformInput | AccountUpdateManyWithWhereWithoutPlatformInput[] deleteMany?: AccountScalarWhereInput | AccountScalarWhereInput[] } export type AccountUncheckedUpdateManyWithoutPlatformNestedInput = { create?: XOR | AccountCreateWithoutPlatformInput[] | AccountUncheckedCreateWithoutPlatformInput[] connectOrCreate?: AccountCreateOrConnectWithoutPlatformInput | AccountCreateOrConnectWithoutPlatformInput[] upsert?: AccountUpsertWithWhereUniqueWithoutPlatformInput | AccountUpsertWithWhereUniqueWithoutPlatformInput[] createMany?: AccountCreateManyPlatformInputEnvelope set?: AccountWhereUniqueInput | AccountWhereUniqueInput[] disconnect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] delete?: AccountWhereUniqueInput | AccountWhereUniqueInput[] connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] update?: AccountUpdateWithWhereUniqueWithoutPlatformInput | AccountUpdateWithWhereUniqueWithoutPlatformInput[] updateMany?: AccountUpdateManyWithWhereWithoutPlatformInput | AccountUpdateManyWithWhereWithoutPlatformInput[] deleteMany?: AccountScalarWhereInput | AccountScalarWhereInput[] } export type UserCreateNestedOneWithoutSettingsInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutSettingsInput connect?: UserWhereUniqueInput } export type UserUpdateOneRequiredWithoutSettingsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutSettingsInput upsert?: UserUpsertWithoutSettingsInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutSettingsInput> } export type OrderCreateNestedManyWithoutSymbolProfileInput = { create?: XOR | OrderCreateWithoutSymbolProfileInput[] | OrderUncheckedCreateWithoutSymbolProfileInput[] connectOrCreate?: OrderCreateOrConnectWithoutSymbolProfileInput | OrderCreateOrConnectWithoutSymbolProfileInput[] createMany?: OrderCreateManySymbolProfileInputEnvelope connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] } export type UserCreateNestedOneWithoutSymbolProfileInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutSymbolProfileInput connect?: UserWhereUniqueInput } export type UserCreateNestedManyWithoutWatchlistInput = { create?: XOR | UserCreateWithoutWatchlistInput[] | UserUncheckedCreateWithoutWatchlistInput[] connectOrCreate?: UserCreateOrConnectWithoutWatchlistInput | UserCreateOrConnectWithoutWatchlistInput[] connect?: UserWhereUniqueInput | UserWhereUniqueInput[] } export type SymbolProfileOverridesCreateNestedOneWithoutSymbolProfileInput = { create?: XOR connectOrCreate?: SymbolProfileOverridesCreateOrConnectWithoutSymbolProfileInput connect?: SymbolProfileOverridesWhereUniqueInput } export type OrderUncheckedCreateNestedManyWithoutSymbolProfileInput = { create?: XOR | OrderCreateWithoutSymbolProfileInput[] | OrderUncheckedCreateWithoutSymbolProfileInput[] connectOrCreate?: OrderCreateOrConnectWithoutSymbolProfileInput | OrderCreateOrConnectWithoutSymbolProfileInput[] createMany?: OrderCreateManySymbolProfileInputEnvelope connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] } export type UserUncheckedCreateNestedManyWithoutWatchlistInput = { create?: XOR | UserCreateWithoutWatchlistInput[] | UserUncheckedCreateWithoutWatchlistInput[] connectOrCreate?: UserCreateOrConnectWithoutWatchlistInput | UserCreateOrConnectWithoutWatchlistInput[] connect?: UserWhereUniqueInput | UserWhereUniqueInput[] } export type SymbolProfileOverridesUncheckedCreateNestedOneWithoutSymbolProfileInput = { create?: XOR connectOrCreate?: SymbolProfileOverridesCreateOrConnectWithoutSymbolProfileInput connect?: SymbolProfileOverridesWhereUniqueInput } export type NullableEnumAssetClassFieldUpdateOperationsInput = { set?: $Enums.AssetClass | null } export type NullableEnumAssetSubClassFieldUpdateOperationsInput = { set?: $Enums.AssetSubClass | null } export type OrderUpdateManyWithoutSymbolProfileNestedInput = { create?: XOR | OrderCreateWithoutSymbolProfileInput[] | OrderUncheckedCreateWithoutSymbolProfileInput[] connectOrCreate?: OrderCreateOrConnectWithoutSymbolProfileInput | OrderCreateOrConnectWithoutSymbolProfileInput[] upsert?: OrderUpsertWithWhereUniqueWithoutSymbolProfileInput | OrderUpsertWithWhereUniqueWithoutSymbolProfileInput[] createMany?: OrderCreateManySymbolProfileInputEnvelope set?: OrderWhereUniqueInput | OrderWhereUniqueInput[] disconnect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] delete?: OrderWhereUniqueInput | OrderWhereUniqueInput[] connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] update?: OrderUpdateWithWhereUniqueWithoutSymbolProfileInput | OrderUpdateWithWhereUniqueWithoutSymbolProfileInput[] updateMany?: OrderUpdateManyWithWhereWithoutSymbolProfileInput | OrderUpdateManyWithWhereWithoutSymbolProfileInput[] deleteMany?: OrderScalarWhereInput | OrderScalarWhereInput[] } export type UserUpdateOneWithoutSymbolProfileNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutSymbolProfileInput upsert?: UserUpsertWithoutSymbolProfileInput disconnect?: UserWhereInput | boolean delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutSymbolProfileInput> } export type UserUpdateManyWithoutWatchlistNestedInput = { create?: XOR | UserCreateWithoutWatchlistInput[] | UserUncheckedCreateWithoutWatchlistInput[] connectOrCreate?: UserCreateOrConnectWithoutWatchlistInput | UserCreateOrConnectWithoutWatchlistInput[] upsert?: UserUpsertWithWhereUniqueWithoutWatchlistInput | UserUpsertWithWhereUniqueWithoutWatchlistInput[] set?: UserWhereUniqueInput | UserWhereUniqueInput[] disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[] delete?: UserWhereUniqueInput | UserWhereUniqueInput[] connect?: UserWhereUniqueInput | UserWhereUniqueInput[] update?: UserUpdateWithWhereUniqueWithoutWatchlistInput | UserUpdateWithWhereUniqueWithoutWatchlistInput[] updateMany?: UserUpdateManyWithWhereWithoutWatchlistInput | UserUpdateManyWithWhereWithoutWatchlistInput[] deleteMany?: UserScalarWhereInput | UserScalarWhereInput[] } export type SymbolProfileOverridesUpdateOneWithoutSymbolProfileNestedInput = { create?: XOR connectOrCreate?: SymbolProfileOverridesCreateOrConnectWithoutSymbolProfileInput upsert?: SymbolProfileOverridesUpsertWithoutSymbolProfileInput disconnect?: SymbolProfileOverridesWhereInput | boolean delete?: SymbolProfileOverridesWhereInput | boolean connect?: SymbolProfileOverridesWhereUniqueInput update?: XOR, SymbolProfileOverridesUncheckedUpdateWithoutSymbolProfileInput> } export type OrderUncheckedUpdateManyWithoutSymbolProfileNestedInput = { create?: XOR | OrderCreateWithoutSymbolProfileInput[] | OrderUncheckedCreateWithoutSymbolProfileInput[] connectOrCreate?: OrderCreateOrConnectWithoutSymbolProfileInput | OrderCreateOrConnectWithoutSymbolProfileInput[] upsert?: OrderUpsertWithWhereUniqueWithoutSymbolProfileInput | OrderUpsertWithWhereUniqueWithoutSymbolProfileInput[] createMany?: OrderCreateManySymbolProfileInputEnvelope set?: OrderWhereUniqueInput | OrderWhereUniqueInput[] disconnect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] delete?: OrderWhereUniqueInput | OrderWhereUniqueInput[] connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] update?: OrderUpdateWithWhereUniqueWithoutSymbolProfileInput | OrderUpdateWithWhereUniqueWithoutSymbolProfileInput[] updateMany?: OrderUpdateManyWithWhereWithoutSymbolProfileInput | OrderUpdateManyWithWhereWithoutSymbolProfileInput[] deleteMany?: OrderScalarWhereInput | OrderScalarWhereInput[] } export type UserUncheckedUpdateManyWithoutWatchlistNestedInput = { create?: XOR | UserCreateWithoutWatchlistInput[] | UserUncheckedCreateWithoutWatchlistInput[] connectOrCreate?: UserCreateOrConnectWithoutWatchlistInput | UserCreateOrConnectWithoutWatchlistInput[] upsert?: UserUpsertWithWhereUniqueWithoutWatchlistInput | UserUpsertWithWhereUniqueWithoutWatchlistInput[] set?: UserWhereUniqueInput | UserWhereUniqueInput[] disconnect?: UserWhereUniqueInput | UserWhereUniqueInput[] delete?: UserWhereUniqueInput | UserWhereUniqueInput[] connect?: UserWhereUniqueInput | UserWhereUniqueInput[] update?: UserUpdateWithWhereUniqueWithoutWatchlistInput | UserUpdateWithWhereUniqueWithoutWatchlistInput[] updateMany?: UserUpdateManyWithWhereWithoutWatchlistInput | UserUpdateManyWithWhereWithoutWatchlistInput[] deleteMany?: UserScalarWhereInput | UserScalarWhereInput[] } export type SymbolProfileOverridesUncheckedUpdateOneWithoutSymbolProfileNestedInput = { create?: XOR connectOrCreate?: SymbolProfileOverridesCreateOrConnectWithoutSymbolProfileInput upsert?: SymbolProfileOverridesUpsertWithoutSymbolProfileInput disconnect?: SymbolProfileOverridesWhereInput | boolean delete?: SymbolProfileOverridesWhereInput | boolean connect?: SymbolProfileOverridesWhereUniqueInput update?: XOR, SymbolProfileOverridesUncheckedUpdateWithoutSymbolProfileInput> } export type SymbolProfileCreateNestedOneWithoutSymbolProfileOverridesInput = { create?: XOR connectOrCreate?: SymbolProfileCreateOrConnectWithoutSymbolProfileOverridesInput connect?: SymbolProfileWhereUniqueInput } export type SymbolProfileUpdateOneRequiredWithoutSymbolProfileOverridesNestedInput = { create?: XOR connectOrCreate?: SymbolProfileCreateOrConnectWithoutSymbolProfileOverridesInput upsert?: SymbolProfileUpsertWithoutSymbolProfileOverridesInput connect?: SymbolProfileWhereUniqueInput update?: XOR, SymbolProfileUncheckedUpdateWithoutSymbolProfileOverridesInput> } export type UserCreateNestedOneWithoutSubscriptionsInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutSubscriptionsInput connect?: UserWhereUniqueInput } export type NullableFloatFieldUpdateOperationsInput = { set?: number | null increment?: number decrement?: number multiply?: number divide?: number } export type UserUpdateOneRequiredWithoutSubscriptionsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutSubscriptionsInput upsert?: UserUpsertWithoutSubscriptionsInput connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutSubscriptionsInput> } export type OrderCreateNestedManyWithoutTagsInput = { create?: XOR | OrderCreateWithoutTagsInput[] | OrderUncheckedCreateWithoutTagsInput[] connectOrCreate?: OrderCreateOrConnectWithoutTagsInput | OrderCreateOrConnectWithoutTagsInput[] connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] } export type UserCreateNestedOneWithoutTagsInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutTagsInput connect?: UserWhereUniqueInput } export type OrderUncheckedCreateNestedManyWithoutTagsInput = { create?: XOR | OrderCreateWithoutTagsInput[] | OrderUncheckedCreateWithoutTagsInput[] connectOrCreate?: OrderCreateOrConnectWithoutTagsInput | OrderCreateOrConnectWithoutTagsInput[] connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] } export type OrderUpdateManyWithoutTagsNestedInput = { create?: XOR | OrderCreateWithoutTagsInput[] | OrderUncheckedCreateWithoutTagsInput[] connectOrCreate?: OrderCreateOrConnectWithoutTagsInput | OrderCreateOrConnectWithoutTagsInput[] upsert?: OrderUpsertWithWhereUniqueWithoutTagsInput | OrderUpsertWithWhereUniqueWithoutTagsInput[] set?: OrderWhereUniqueInput | OrderWhereUniqueInput[] disconnect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] delete?: OrderWhereUniqueInput | OrderWhereUniqueInput[] connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] update?: OrderUpdateWithWhereUniqueWithoutTagsInput | OrderUpdateWithWhereUniqueWithoutTagsInput[] updateMany?: OrderUpdateManyWithWhereWithoutTagsInput | OrderUpdateManyWithWhereWithoutTagsInput[] deleteMany?: OrderScalarWhereInput | OrderScalarWhereInput[] } export type UserUpdateOneWithoutTagsNestedInput = { create?: XOR connectOrCreate?: UserCreateOrConnectWithoutTagsInput upsert?: UserUpsertWithoutTagsInput disconnect?: UserWhereInput | boolean delete?: UserWhereInput | boolean connect?: UserWhereUniqueInput update?: XOR, UserUncheckedUpdateWithoutTagsInput> } export type OrderUncheckedUpdateManyWithoutTagsNestedInput = { create?: XOR | OrderCreateWithoutTagsInput[] | OrderUncheckedCreateWithoutTagsInput[] connectOrCreate?: OrderCreateOrConnectWithoutTagsInput | OrderCreateOrConnectWithoutTagsInput[] upsert?: OrderUpsertWithWhereUniqueWithoutTagsInput | OrderUpsertWithWhereUniqueWithoutTagsInput[] set?: OrderWhereUniqueInput | OrderWhereUniqueInput[] disconnect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] delete?: OrderWhereUniqueInput | OrderWhereUniqueInput[] connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] update?: OrderUpdateWithWhereUniqueWithoutTagsInput | OrderUpdateWithWhereUniqueWithoutTagsInput[] updateMany?: OrderUpdateManyWithWhereWithoutTagsInput | OrderUpdateManyWithWhereWithoutTagsInput[] deleteMany?: OrderScalarWhereInput | OrderScalarWhereInput[] } export type AccessCreateNestedManyWithoutGranteeUserInput = { create?: XOR | AccessCreateWithoutGranteeUserInput[] | AccessUncheckedCreateWithoutGranteeUserInput[] connectOrCreate?: AccessCreateOrConnectWithoutGranteeUserInput | AccessCreateOrConnectWithoutGranteeUserInput[] createMany?: AccessCreateManyGranteeUserInputEnvelope connect?: AccessWhereUniqueInput | AccessWhereUniqueInput[] } export type AccessCreateNestedManyWithoutUserInput = { create?: XOR | AccessCreateWithoutUserInput[] | AccessUncheckedCreateWithoutUserInput[] connectOrCreate?: AccessCreateOrConnectWithoutUserInput | AccessCreateOrConnectWithoutUserInput[] createMany?: AccessCreateManyUserInputEnvelope connect?: AccessWhereUniqueInput | AccessWhereUniqueInput[] } export type AccountCreateNestedManyWithoutUserInput = { create?: XOR | AccountCreateWithoutUserInput[] | AccountUncheckedCreateWithoutUserInput[] connectOrCreate?: AccountCreateOrConnectWithoutUserInput | AccountCreateOrConnectWithoutUserInput[] createMany?: AccountCreateManyUserInputEnvelope connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] } export type OrderCreateNestedManyWithoutUserInput = { create?: XOR | OrderCreateWithoutUserInput[] | OrderUncheckedCreateWithoutUserInput[] connectOrCreate?: OrderCreateOrConnectWithoutUserInput | OrderCreateOrConnectWithoutUserInput[] createMany?: OrderCreateManyUserInputEnvelope connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] } export type AnalyticsCreateNestedOneWithoutUserInput = { create?: XOR connectOrCreate?: AnalyticsCreateOrConnectWithoutUserInput connect?: AnalyticsWhereUniqueInput } export type ApiKeyCreateNestedManyWithoutUserInput = { create?: XOR | ApiKeyCreateWithoutUserInput[] | ApiKeyUncheckedCreateWithoutUserInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutUserInput | ApiKeyCreateOrConnectWithoutUserInput[] createMany?: ApiKeyCreateManyUserInputEnvelope connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] } export type AuthDeviceCreateNestedManyWithoutUserInput = { create?: XOR | AuthDeviceCreateWithoutUserInput[] | AuthDeviceUncheckedCreateWithoutUserInput[] connectOrCreate?: AuthDeviceCreateOrConnectWithoutUserInput | AuthDeviceCreateOrConnectWithoutUserInput[] createMany?: AuthDeviceCreateManyUserInputEnvelope connect?: AuthDeviceWhereUniqueInput | AuthDeviceWhereUniqueInput[] } export type SettingsCreateNestedOneWithoutUserInput = { create?: XOR connectOrCreate?: SettingsCreateOrConnectWithoutUserInput connect?: SettingsWhereUniqueInput } export type SubscriptionCreateNestedManyWithoutUserInput = { create?: XOR | SubscriptionCreateWithoutUserInput[] | SubscriptionUncheckedCreateWithoutUserInput[] connectOrCreate?: SubscriptionCreateOrConnectWithoutUserInput | SubscriptionCreateOrConnectWithoutUserInput[] createMany?: SubscriptionCreateManyUserInputEnvelope connect?: SubscriptionWhereUniqueInput | SubscriptionWhereUniqueInput[] } export type TagCreateNestedManyWithoutUserInput = { create?: XOR | TagCreateWithoutUserInput[] | TagUncheckedCreateWithoutUserInput[] connectOrCreate?: TagCreateOrConnectWithoutUserInput | TagCreateOrConnectWithoutUserInput[] createMany?: TagCreateManyUserInputEnvelope connect?: TagWhereUniqueInput | TagWhereUniqueInput[] } export type SymbolProfileCreateNestedManyWithoutWatchedByInput = { create?: XOR | SymbolProfileCreateWithoutWatchedByInput[] | SymbolProfileUncheckedCreateWithoutWatchedByInput[] connectOrCreate?: SymbolProfileCreateOrConnectWithoutWatchedByInput | SymbolProfileCreateOrConnectWithoutWatchedByInput[] connect?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] } export type SymbolProfileCreateNestedManyWithoutUserInput = { create?: XOR | SymbolProfileCreateWithoutUserInput[] | SymbolProfileUncheckedCreateWithoutUserInput[] connectOrCreate?: SymbolProfileCreateOrConnectWithoutUserInput | SymbolProfileCreateOrConnectWithoutUserInput[] createMany?: SymbolProfileCreateManyUserInputEnvelope connect?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] } export type AccessUncheckedCreateNestedManyWithoutGranteeUserInput = { create?: XOR | AccessCreateWithoutGranteeUserInput[] | AccessUncheckedCreateWithoutGranteeUserInput[] connectOrCreate?: AccessCreateOrConnectWithoutGranteeUserInput | AccessCreateOrConnectWithoutGranteeUserInput[] createMany?: AccessCreateManyGranteeUserInputEnvelope connect?: AccessWhereUniqueInput | AccessWhereUniqueInput[] } export type AccessUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | AccessCreateWithoutUserInput[] | AccessUncheckedCreateWithoutUserInput[] connectOrCreate?: AccessCreateOrConnectWithoutUserInput | AccessCreateOrConnectWithoutUserInput[] createMany?: AccessCreateManyUserInputEnvelope connect?: AccessWhereUniqueInput | AccessWhereUniqueInput[] } export type AccountUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | AccountCreateWithoutUserInput[] | AccountUncheckedCreateWithoutUserInput[] connectOrCreate?: AccountCreateOrConnectWithoutUserInput | AccountCreateOrConnectWithoutUserInput[] createMany?: AccountCreateManyUserInputEnvelope connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] } export type OrderUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | OrderCreateWithoutUserInput[] | OrderUncheckedCreateWithoutUserInput[] connectOrCreate?: OrderCreateOrConnectWithoutUserInput | OrderCreateOrConnectWithoutUserInput[] createMany?: OrderCreateManyUserInputEnvelope connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] } export type AnalyticsUncheckedCreateNestedOneWithoutUserInput = { create?: XOR connectOrCreate?: AnalyticsCreateOrConnectWithoutUserInput connect?: AnalyticsWhereUniqueInput } export type ApiKeyUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | ApiKeyCreateWithoutUserInput[] | ApiKeyUncheckedCreateWithoutUserInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutUserInput | ApiKeyCreateOrConnectWithoutUserInput[] createMany?: ApiKeyCreateManyUserInputEnvelope connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] } export type AuthDeviceUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | AuthDeviceCreateWithoutUserInput[] | AuthDeviceUncheckedCreateWithoutUserInput[] connectOrCreate?: AuthDeviceCreateOrConnectWithoutUserInput | AuthDeviceCreateOrConnectWithoutUserInput[] createMany?: AuthDeviceCreateManyUserInputEnvelope connect?: AuthDeviceWhereUniqueInput | AuthDeviceWhereUniqueInput[] } export type SettingsUncheckedCreateNestedOneWithoutUserInput = { create?: XOR connectOrCreate?: SettingsCreateOrConnectWithoutUserInput connect?: SettingsWhereUniqueInput } export type SubscriptionUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | SubscriptionCreateWithoutUserInput[] | SubscriptionUncheckedCreateWithoutUserInput[] connectOrCreate?: SubscriptionCreateOrConnectWithoutUserInput | SubscriptionCreateOrConnectWithoutUserInput[] createMany?: SubscriptionCreateManyUserInputEnvelope connect?: SubscriptionWhereUniqueInput | SubscriptionWhereUniqueInput[] } export type TagUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | TagCreateWithoutUserInput[] | TagUncheckedCreateWithoutUserInput[] connectOrCreate?: TagCreateOrConnectWithoutUserInput | TagCreateOrConnectWithoutUserInput[] createMany?: TagCreateManyUserInputEnvelope connect?: TagWhereUniqueInput | TagWhereUniqueInput[] } export type SymbolProfileUncheckedCreateNestedManyWithoutWatchedByInput = { create?: XOR | SymbolProfileCreateWithoutWatchedByInput[] | SymbolProfileUncheckedCreateWithoutWatchedByInput[] connectOrCreate?: SymbolProfileCreateOrConnectWithoutWatchedByInput | SymbolProfileCreateOrConnectWithoutWatchedByInput[] connect?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] } export type SymbolProfileUncheckedCreateNestedManyWithoutUserInput = { create?: XOR | SymbolProfileCreateWithoutUserInput[] | SymbolProfileUncheckedCreateWithoutUserInput[] connectOrCreate?: SymbolProfileCreateOrConnectWithoutUserInput | SymbolProfileCreateOrConnectWithoutUserInput[] createMany?: SymbolProfileCreateManyUserInputEnvelope connect?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] } export type EnumProviderFieldUpdateOperationsInput = { set?: $Enums.Provider } export type EnumRoleFieldUpdateOperationsInput = { set?: $Enums.Role } export type AccessUpdateManyWithoutGranteeUserNestedInput = { create?: XOR | AccessCreateWithoutGranteeUserInput[] | AccessUncheckedCreateWithoutGranteeUserInput[] connectOrCreate?: AccessCreateOrConnectWithoutGranteeUserInput | AccessCreateOrConnectWithoutGranteeUserInput[] upsert?: AccessUpsertWithWhereUniqueWithoutGranteeUserInput | AccessUpsertWithWhereUniqueWithoutGranteeUserInput[] createMany?: AccessCreateManyGranteeUserInputEnvelope set?: AccessWhereUniqueInput | AccessWhereUniqueInput[] disconnect?: AccessWhereUniqueInput | AccessWhereUniqueInput[] delete?: AccessWhereUniqueInput | AccessWhereUniqueInput[] connect?: AccessWhereUniqueInput | AccessWhereUniqueInput[] update?: AccessUpdateWithWhereUniqueWithoutGranteeUserInput | AccessUpdateWithWhereUniqueWithoutGranteeUserInput[] updateMany?: AccessUpdateManyWithWhereWithoutGranteeUserInput | AccessUpdateManyWithWhereWithoutGranteeUserInput[] deleteMany?: AccessScalarWhereInput | AccessScalarWhereInput[] } export type AccessUpdateManyWithoutUserNestedInput = { create?: XOR | AccessCreateWithoutUserInput[] | AccessUncheckedCreateWithoutUserInput[] connectOrCreate?: AccessCreateOrConnectWithoutUserInput | AccessCreateOrConnectWithoutUserInput[] upsert?: AccessUpsertWithWhereUniqueWithoutUserInput | AccessUpsertWithWhereUniqueWithoutUserInput[] createMany?: AccessCreateManyUserInputEnvelope set?: AccessWhereUniqueInput | AccessWhereUniqueInput[] disconnect?: AccessWhereUniqueInput | AccessWhereUniqueInput[] delete?: AccessWhereUniqueInput | AccessWhereUniqueInput[] connect?: AccessWhereUniqueInput | AccessWhereUniqueInput[] update?: AccessUpdateWithWhereUniqueWithoutUserInput | AccessUpdateWithWhereUniqueWithoutUserInput[] updateMany?: AccessUpdateManyWithWhereWithoutUserInput | AccessUpdateManyWithWhereWithoutUserInput[] deleteMany?: AccessScalarWhereInput | AccessScalarWhereInput[] } export type AccountUpdateManyWithoutUserNestedInput = { create?: XOR | AccountCreateWithoutUserInput[] | AccountUncheckedCreateWithoutUserInput[] connectOrCreate?: AccountCreateOrConnectWithoutUserInput | AccountCreateOrConnectWithoutUserInput[] upsert?: AccountUpsertWithWhereUniqueWithoutUserInput | AccountUpsertWithWhereUniqueWithoutUserInput[] createMany?: AccountCreateManyUserInputEnvelope set?: AccountWhereUniqueInput | AccountWhereUniqueInput[] disconnect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] delete?: AccountWhereUniqueInput | AccountWhereUniqueInput[] connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] update?: AccountUpdateWithWhereUniqueWithoutUserInput | AccountUpdateWithWhereUniqueWithoutUserInput[] updateMany?: AccountUpdateManyWithWhereWithoutUserInput | AccountUpdateManyWithWhereWithoutUserInput[] deleteMany?: AccountScalarWhereInput | AccountScalarWhereInput[] } export type OrderUpdateManyWithoutUserNestedInput = { create?: XOR | OrderCreateWithoutUserInput[] | OrderUncheckedCreateWithoutUserInput[] connectOrCreate?: OrderCreateOrConnectWithoutUserInput | OrderCreateOrConnectWithoutUserInput[] upsert?: OrderUpsertWithWhereUniqueWithoutUserInput | OrderUpsertWithWhereUniqueWithoutUserInput[] createMany?: OrderCreateManyUserInputEnvelope set?: OrderWhereUniqueInput | OrderWhereUniqueInput[] disconnect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] delete?: OrderWhereUniqueInput | OrderWhereUniqueInput[] connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] update?: OrderUpdateWithWhereUniqueWithoutUserInput | OrderUpdateWithWhereUniqueWithoutUserInput[] updateMany?: OrderUpdateManyWithWhereWithoutUserInput | OrderUpdateManyWithWhereWithoutUserInput[] deleteMany?: OrderScalarWhereInput | OrderScalarWhereInput[] } export type AnalyticsUpdateOneWithoutUserNestedInput = { create?: XOR connectOrCreate?: AnalyticsCreateOrConnectWithoutUserInput upsert?: AnalyticsUpsertWithoutUserInput disconnect?: AnalyticsWhereInput | boolean delete?: AnalyticsWhereInput | boolean connect?: AnalyticsWhereUniqueInput update?: XOR, AnalyticsUncheckedUpdateWithoutUserInput> } export type ApiKeyUpdateManyWithoutUserNestedInput = { create?: XOR | ApiKeyCreateWithoutUserInput[] | ApiKeyUncheckedCreateWithoutUserInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutUserInput | ApiKeyCreateOrConnectWithoutUserInput[] upsert?: ApiKeyUpsertWithWhereUniqueWithoutUserInput | ApiKeyUpsertWithWhereUniqueWithoutUserInput[] createMany?: ApiKeyCreateManyUserInputEnvelope set?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] disconnect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] delete?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] update?: ApiKeyUpdateWithWhereUniqueWithoutUserInput | ApiKeyUpdateWithWhereUniqueWithoutUserInput[] updateMany?: ApiKeyUpdateManyWithWhereWithoutUserInput | ApiKeyUpdateManyWithWhereWithoutUserInput[] deleteMany?: ApiKeyScalarWhereInput | ApiKeyScalarWhereInput[] } export type AuthDeviceUpdateManyWithoutUserNestedInput = { create?: XOR | AuthDeviceCreateWithoutUserInput[] | AuthDeviceUncheckedCreateWithoutUserInput[] connectOrCreate?: AuthDeviceCreateOrConnectWithoutUserInput | AuthDeviceCreateOrConnectWithoutUserInput[] upsert?: AuthDeviceUpsertWithWhereUniqueWithoutUserInput | AuthDeviceUpsertWithWhereUniqueWithoutUserInput[] createMany?: AuthDeviceCreateManyUserInputEnvelope set?: AuthDeviceWhereUniqueInput | AuthDeviceWhereUniqueInput[] disconnect?: AuthDeviceWhereUniqueInput | AuthDeviceWhereUniqueInput[] delete?: AuthDeviceWhereUniqueInput | AuthDeviceWhereUniqueInput[] connect?: AuthDeviceWhereUniqueInput | AuthDeviceWhereUniqueInput[] update?: AuthDeviceUpdateWithWhereUniqueWithoutUserInput | AuthDeviceUpdateWithWhereUniqueWithoutUserInput[] updateMany?: AuthDeviceUpdateManyWithWhereWithoutUserInput | AuthDeviceUpdateManyWithWhereWithoutUserInput[] deleteMany?: AuthDeviceScalarWhereInput | AuthDeviceScalarWhereInput[] } export type SettingsUpdateOneWithoutUserNestedInput = { create?: XOR connectOrCreate?: SettingsCreateOrConnectWithoutUserInput upsert?: SettingsUpsertWithoutUserInput disconnect?: SettingsWhereInput | boolean delete?: SettingsWhereInput | boolean connect?: SettingsWhereUniqueInput update?: XOR, SettingsUncheckedUpdateWithoutUserInput> } export type SubscriptionUpdateManyWithoutUserNestedInput = { create?: XOR | SubscriptionCreateWithoutUserInput[] | SubscriptionUncheckedCreateWithoutUserInput[] connectOrCreate?: SubscriptionCreateOrConnectWithoutUserInput | SubscriptionCreateOrConnectWithoutUserInput[] upsert?: SubscriptionUpsertWithWhereUniqueWithoutUserInput | SubscriptionUpsertWithWhereUniqueWithoutUserInput[] createMany?: SubscriptionCreateManyUserInputEnvelope set?: SubscriptionWhereUniqueInput | SubscriptionWhereUniqueInput[] disconnect?: SubscriptionWhereUniqueInput | SubscriptionWhereUniqueInput[] delete?: SubscriptionWhereUniqueInput | SubscriptionWhereUniqueInput[] connect?: SubscriptionWhereUniqueInput | SubscriptionWhereUniqueInput[] update?: SubscriptionUpdateWithWhereUniqueWithoutUserInput | SubscriptionUpdateWithWhereUniqueWithoutUserInput[] updateMany?: SubscriptionUpdateManyWithWhereWithoutUserInput | SubscriptionUpdateManyWithWhereWithoutUserInput[] deleteMany?: SubscriptionScalarWhereInput | SubscriptionScalarWhereInput[] } export type TagUpdateManyWithoutUserNestedInput = { create?: XOR | TagCreateWithoutUserInput[] | TagUncheckedCreateWithoutUserInput[] connectOrCreate?: TagCreateOrConnectWithoutUserInput | TagCreateOrConnectWithoutUserInput[] upsert?: TagUpsertWithWhereUniqueWithoutUserInput | TagUpsertWithWhereUniqueWithoutUserInput[] createMany?: TagCreateManyUserInputEnvelope set?: TagWhereUniqueInput | TagWhereUniqueInput[] disconnect?: TagWhereUniqueInput | TagWhereUniqueInput[] delete?: TagWhereUniqueInput | TagWhereUniqueInput[] connect?: TagWhereUniqueInput | TagWhereUniqueInput[] update?: TagUpdateWithWhereUniqueWithoutUserInput | TagUpdateWithWhereUniqueWithoutUserInput[] updateMany?: TagUpdateManyWithWhereWithoutUserInput | TagUpdateManyWithWhereWithoutUserInput[] deleteMany?: TagScalarWhereInput | TagScalarWhereInput[] } export type SymbolProfileUpdateManyWithoutWatchedByNestedInput = { create?: XOR | SymbolProfileCreateWithoutWatchedByInput[] | SymbolProfileUncheckedCreateWithoutWatchedByInput[] connectOrCreate?: SymbolProfileCreateOrConnectWithoutWatchedByInput | SymbolProfileCreateOrConnectWithoutWatchedByInput[] upsert?: SymbolProfileUpsertWithWhereUniqueWithoutWatchedByInput | SymbolProfileUpsertWithWhereUniqueWithoutWatchedByInput[] set?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] disconnect?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] delete?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] connect?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] update?: SymbolProfileUpdateWithWhereUniqueWithoutWatchedByInput | SymbolProfileUpdateWithWhereUniqueWithoutWatchedByInput[] updateMany?: SymbolProfileUpdateManyWithWhereWithoutWatchedByInput | SymbolProfileUpdateManyWithWhereWithoutWatchedByInput[] deleteMany?: SymbolProfileScalarWhereInput | SymbolProfileScalarWhereInput[] } export type SymbolProfileUpdateManyWithoutUserNestedInput = { create?: XOR | SymbolProfileCreateWithoutUserInput[] | SymbolProfileUncheckedCreateWithoutUserInput[] connectOrCreate?: SymbolProfileCreateOrConnectWithoutUserInput | SymbolProfileCreateOrConnectWithoutUserInput[] upsert?: SymbolProfileUpsertWithWhereUniqueWithoutUserInput | SymbolProfileUpsertWithWhereUniqueWithoutUserInput[] createMany?: SymbolProfileCreateManyUserInputEnvelope set?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] disconnect?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] delete?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] connect?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] update?: SymbolProfileUpdateWithWhereUniqueWithoutUserInput | SymbolProfileUpdateWithWhereUniqueWithoutUserInput[] updateMany?: SymbolProfileUpdateManyWithWhereWithoutUserInput | SymbolProfileUpdateManyWithWhereWithoutUserInput[] deleteMany?: SymbolProfileScalarWhereInput | SymbolProfileScalarWhereInput[] } export type AccessUncheckedUpdateManyWithoutGranteeUserNestedInput = { create?: XOR | AccessCreateWithoutGranteeUserInput[] | AccessUncheckedCreateWithoutGranteeUserInput[] connectOrCreate?: AccessCreateOrConnectWithoutGranteeUserInput | AccessCreateOrConnectWithoutGranteeUserInput[] upsert?: AccessUpsertWithWhereUniqueWithoutGranteeUserInput | AccessUpsertWithWhereUniqueWithoutGranteeUserInput[] createMany?: AccessCreateManyGranteeUserInputEnvelope set?: AccessWhereUniqueInput | AccessWhereUniqueInput[] disconnect?: AccessWhereUniqueInput | AccessWhereUniqueInput[] delete?: AccessWhereUniqueInput | AccessWhereUniqueInput[] connect?: AccessWhereUniqueInput | AccessWhereUniqueInput[] update?: AccessUpdateWithWhereUniqueWithoutGranteeUserInput | AccessUpdateWithWhereUniqueWithoutGranteeUserInput[] updateMany?: AccessUpdateManyWithWhereWithoutGranteeUserInput | AccessUpdateManyWithWhereWithoutGranteeUserInput[] deleteMany?: AccessScalarWhereInput | AccessScalarWhereInput[] } export type AccessUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | AccessCreateWithoutUserInput[] | AccessUncheckedCreateWithoutUserInput[] connectOrCreate?: AccessCreateOrConnectWithoutUserInput | AccessCreateOrConnectWithoutUserInput[] upsert?: AccessUpsertWithWhereUniqueWithoutUserInput | AccessUpsertWithWhereUniqueWithoutUserInput[] createMany?: AccessCreateManyUserInputEnvelope set?: AccessWhereUniqueInput | AccessWhereUniqueInput[] disconnect?: AccessWhereUniqueInput | AccessWhereUniqueInput[] delete?: AccessWhereUniqueInput | AccessWhereUniqueInput[] connect?: AccessWhereUniqueInput | AccessWhereUniqueInput[] update?: AccessUpdateWithWhereUniqueWithoutUserInput | AccessUpdateWithWhereUniqueWithoutUserInput[] updateMany?: AccessUpdateManyWithWhereWithoutUserInput | AccessUpdateManyWithWhereWithoutUserInput[] deleteMany?: AccessScalarWhereInput | AccessScalarWhereInput[] } export type AccountUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | AccountCreateWithoutUserInput[] | AccountUncheckedCreateWithoutUserInput[] connectOrCreate?: AccountCreateOrConnectWithoutUserInput | AccountCreateOrConnectWithoutUserInput[] upsert?: AccountUpsertWithWhereUniqueWithoutUserInput | AccountUpsertWithWhereUniqueWithoutUserInput[] createMany?: AccountCreateManyUserInputEnvelope set?: AccountWhereUniqueInput | AccountWhereUniqueInput[] disconnect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] delete?: AccountWhereUniqueInput | AccountWhereUniqueInput[] connect?: AccountWhereUniqueInput | AccountWhereUniqueInput[] update?: AccountUpdateWithWhereUniqueWithoutUserInput | AccountUpdateWithWhereUniqueWithoutUserInput[] updateMany?: AccountUpdateManyWithWhereWithoutUserInput | AccountUpdateManyWithWhereWithoutUserInput[] deleteMany?: AccountScalarWhereInput | AccountScalarWhereInput[] } export type OrderUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | OrderCreateWithoutUserInput[] | OrderUncheckedCreateWithoutUserInput[] connectOrCreate?: OrderCreateOrConnectWithoutUserInput | OrderCreateOrConnectWithoutUserInput[] upsert?: OrderUpsertWithWhereUniqueWithoutUserInput | OrderUpsertWithWhereUniqueWithoutUserInput[] createMany?: OrderCreateManyUserInputEnvelope set?: OrderWhereUniqueInput | OrderWhereUniqueInput[] disconnect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] delete?: OrderWhereUniqueInput | OrderWhereUniqueInput[] connect?: OrderWhereUniqueInput | OrderWhereUniqueInput[] update?: OrderUpdateWithWhereUniqueWithoutUserInput | OrderUpdateWithWhereUniqueWithoutUserInput[] updateMany?: OrderUpdateManyWithWhereWithoutUserInput | OrderUpdateManyWithWhereWithoutUserInput[] deleteMany?: OrderScalarWhereInput | OrderScalarWhereInput[] } export type AnalyticsUncheckedUpdateOneWithoutUserNestedInput = { create?: XOR connectOrCreate?: AnalyticsCreateOrConnectWithoutUserInput upsert?: AnalyticsUpsertWithoutUserInput disconnect?: AnalyticsWhereInput | boolean delete?: AnalyticsWhereInput | boolean connect?: AnalyticsWhereUniqueInput update?: XOR, AnalyticsUncheckedUpdateWithoutUserInput> } export type ApiKeyUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | ApiKeyCreateWithoutUserInput[] | ApiKeyUncheckedCreateWithoutUserInput[] connectOrCreate?: ApiKeyCreateOrConnectWithoutUserInput | ApiKeyCreateOrConnectWithoutUserInput[] upsert?: ApiKeyUpsertWithWhereUniqueWithoutUserInput | ApiKeyUpsertWithWhereUniqueWithoutUserInput[] createMany?: ApiKeyCreateManyUserInputEnvelope set?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] disconnect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] delete?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] connect?: ApiKeyWhereUniqueInput | ApiKeyWhereUniqueInput[] update?: ApiKeyUpdateWithWhereUniqueWithoutUserInput | ApiKeyUpdateWithWhereUniqueWithoutUserInput[] updateMany?: ApiKeyUpdateManyWithWhereWithoutUserInput | ApiKeyUpdateManyWithWhereWithoutUserInput[] deleteMany?: ApiKeyScalarWhereInput | ApiKeyScalarWhereInput[] } export type AuthDeviceUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | AuthDeviceCreateWithoutUserInput[] | AuthDeviceUncheckedCreateWithoutUserInput[] connectOrCreate?: AuthDeviceCreateOrConnectWithoutUserInput | AuthDeviceCreateOrConnectWithoutUserInput[] upsert?: AuthDeviceUpsertWithWhereUniqueWithoutUserInput | AuthDeviceUpsertWithWhereUniqueWithoutUserInput[] createMany?: AuthDeviceCreateManyUserInputEnvelope set?: AuthDeviceWhereUniqueInput | AuthDeviceWhereUniqueInput[] disconnect?: AuthDeviceWhereUniqueInput | AuthDeviceWhereUniqueInput[] delete?: AuthDeviceWhereUniqueInput | AuthDeviceWhereUniqueInput[] connect?: AuthDeviceWhereUniqueInput | AuthDeviceWhereUniqueInput[] update?: AuthDeviceUpdateWithWhereUniqueWithoutUserInput | AuthDeviceUpdateWithWhereUniqueWithoutUserInput[] updateMany?: AuthDeviceUpdateManyWithWhereWithoutUserInput | AuthDeviceUpdateManyWithWhereWithoutUserInput[] deleteMany?: AuthDeviceScalarWhereInput | AuthDeviceScalarWhereInput[] } export type SettingsUncheckedUpdateOneWithoutUserNestedInput = { create?: XOR connectOrCreate?: SettingsCreateOrConnectWithoutUserInput upsert?: SettingsUpsertWithoutUserInput disconnect?: SettingsWhereInput | boolean delete?: SettingsWhereInput | boolean connect?: SettingsWhereUniqueInput update?: XOR, SettingsUncheckedUpdateWithoutUserInput> } export type SubscriptionUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | SubscriptionCreateWithoutUserInput[] | SubscriptionUncheckedCreateWithoutUserInput[] connectOrCreate?: SubscriptionCreateOrConnectWithoutUserInput | SubscriptionCreateOrConnectWithoutUserInput[] upsert?: SubscriptionUpsertWithWhereUniqueWithoutUserInput | SubscriptionUpsertWithWhereUniqueWithoutUserInput[] createMany?: SubscriptionCreateManyUserInputEnvelope set?: SubscriptionWhereUniqueInput | SubscriptionWhereUniqueInput[] disconnect?: SubscriptionWhereUniqueInput | SubscriptionWhereUniqueInput[] delete?: SubscriptionWhereUniqueInput | SubscriptionWhereUniqueInput[] connect?: SubscriptionWhereUniqueInput | SubscriptionWhereUniqueInput[] update?: SubscriptionUpdateWithWhereUniqueWithoutUserInput | SubscriptionUpdateWithWhereUniqueWithoutUserInput[] updateMany?: SubscriptionUpdateManyWithWhereWithoutUserInput | SubscriptionUpdateManyWithWhereWithoutUserInput[] deleteMany?: SubscriptionScalarWhereInput | SubscriptionScalarWhereInput[] } export type TagUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | TagCreateWithoutUserInput[] | TagUncheckedCreateWithoutUserInput[] connectOrCreate?: TagCreateOrConnectWithoutUserInput | TagCreateOrConnectWithoutUserInput[] upsert?: TagUpsertWithWhereUniqueWithoutUserInput | TagUpsertWithWhereUniqueWithoutUserInput[] createMany?: TagCreateManyUserInputEnvelope set?: TagWhereUniqueInput | TagWhereUniqueInput[] disconnect?: TagWhereUniqueInput | TagWhereUniqueInput[] delete?: TagWhereUniqueInput | TagWhereUniqueInput[] connect?: TagWhereUniqueInput | TagWhereUniqueInput[] update?: TagUpdateWithWhereUniqueWithoutUserInput | TagUpdateWithWhereUniqueWithoutUserInput[] updateMany?: TagUpdateManyWithWhereWithoutUserInput | TagUpdateManyWithWhereWithoutUserInput[] deleteMany?: TagScalarWhereInput | TagScalarWhereInput[] } export type SymbolProfileUncheckedUpdateManyWithoutWatchedByNestedInput = { create?: XOR | SymbolProfileCreateWithoutWatchedByInput[] | SymbolProfileUncheckedCreateWithoutWatchedByInput[] connectOrCreate?: SymbolProfileCreateOrConnectWithoutWatchedByInput | SymbolProfileCreateOrConnectWithoutWatchedByInput[] upsert?: SymbolProfileUpsertWithWhereUniqueWithoutWatchedByInput | SymbolProfileUpsertWithWhereUniqueWithoutWatchedByInput[] set?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] disconnect?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] delete?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] connect?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] update?: SymbolProfileUpdateWithWhereUniqueWithoutWatchedByInput | SymbolProfileUpdateWithWhereUniqueWithoutWatchedByInput[] updateMany?: SymbolProfileUpdateManyWithWhereWithoutWatchedByInput | SymbolProfileUpdateManyWithWhereWithoutWatchedByInput[] deleteMany?: SymbolProfileScalarWhereInput | SymbolProfileScalarWhereInput[] } export type SymbolProfileUncheckedUpdateManyWithoutUserNestedInput = { create?: XOR | SymbolProfileCreateWithoutUserInput[] | SymbolProfileUncheckedCreateWithoutUserInput[] connectOrCreate?: SymbolProfileCreateOrConnectWithoutUserInput | SymbolProfileCreateOrConnectWithoutUserInput[] upsert?: SymbolProfileUpsertWithWhereUniqueWithoutUserInput | SymbolProfileUpsertWithWhereUniqueWithoutUserInput[] createMany?: SymbolProfileCreateManyUserInputEnvelope set?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] disconnect?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] delete?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] connect?: SymbolProfileWhereUniqueInput | SymbolProfileWhereUniqueInput[] update?: SymbolProfileUpdateWithWhereUniqueWithoutUserInput | SymbolProfileUpdateWithWhereUniqueWithoutUserInput[] updateMany?: SymbolProfileUpdateManyWithWhereWithoutUserInput | SymbolProfileUpdateManyWithWhereWithoutUserInput[] deleteMany?: SymbolProfileScalarWhereInput | SymbolProfileScalarWhereInput[] } 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 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 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 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 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 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 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 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 NestedJsonFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type NestedJsonFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } export type 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 NestedBoolFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolFilter<$PrismaModel> | boolean } export type NestedFloatWithAggregatesFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> in?: number[] | ListFloatFieldRefInput<$PrismaModel> notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> lt?: number | FloatFieldRefInput<$PrismaModel> lte?: number | FloatFieldRefInput<$PrismaModel> gt?: number | FloatFieldRefInput<$PrismaModel> gte?: number | FloatFieldRefInput<$PrismaModel> not?: NestedFloatWithAggregatesFilter<$PrismaModel> | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedFloatFilter<$PrismaModel> _min?: NestedFloatFilter<$PrismaModel> _max?: NestedFloatFilter<$PrismaModel> } export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolWithAggregatesFilter<$PrismaModel> | boolean _count?: NestedIntFilter<$PrismaModel> _min?: NestedBoolFilter<$PrismaModel> _max?: NestedBoolFilter<$PrismaModel> } export type NestedIntWithAggregatesFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> in?: number[] | ListIntFieldRefInput<$PrismaModel> notIn?: number[] | ListIntFieldRefInput<$PrismaModel> lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntWithAggregatesFilter<$PrismaModel> | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedIntFilter<$PrismaModel> _min?: NestedIntFilter<$PrismaModel> _max?: NestedIntFilter<$PrismaModel> } export type NestedEnumDataSourceFilter<$PrismaModel = never> = { equals?: $Enums.DataSource | EnumDataSourceFieldRefInput<$PrismaModel> in?: $Enums.DataSource[] | ListEnumDataSourceFieldRefInput<$PrismaModel> notIn?: $Enums.DataSource[] | ListEnumDataSourceFieldRefInput<$PrismaModel> not?: NestedEnumDataSourceFilter<$PrismaModel> | $Enums.DataSource } export type NestedEnumDataSourceWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.DataSource | EnumDataSourceFieldRefInput<$PrismaModel> in?: $Enums.DataSource[] | ListEnumDataSourceFieldRefInput<$PrismaModel> notIn?: $Enums.DataSource[] | ListEnumDataSourceFieldRefInput<$PrismaModel> not?: NestedEnumDataSourceWithAggregatesFilter<$PrismaModel> | $Enums.DataSource _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumDataSourceFilter<$PrismaModel> _max?: NestedEnumDataSourceFilter<$PrismaModel> } export type NestedBytesFilter<$PrismaModel = never> = { equals?: Bytes | BytesFieldRefInput<$PrismaModel> in?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> notIn?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> not?: NestedBytesFilter<$PrismaModel> | Bytes } export type NestedBytesWithAggregatesFilter<$PrismaModel = never> = { equals?: Bytes | BytesFieldRefInput<$PrismaModel> in?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> notIn?: Bytes[] | ListBytesFieldRefInput<$PrismaModel> not?: NestedBytesWithAggregatesFilter<$PrismaModel> | Bytes _count?: NestedIntFilter<$PrismaModel> _min?: NestedBytesFilter<$PrismaModel> _max?: NestedBytesFilter<$PrismaModel> } export type NestedEnumMarketDataStateFilter<$PrismaModel = never> = { equals?: $Enums.MarketDataState | EnumMarketDataStateFieldRefInput<$PrismaModel> in?: $Enums.MarketDataState[] | ListEnumMarketDataStateFieldRefInput<$PrismaModel> notIn?: $Enums.MarketDataState[] | ListEnumMarketDataStateFieldRefInput<$PrismaModel> not?: NestedEnumMarketDataStateFilter<$PrismaModel> | $Enums.MarketDataState } export type NestedEnumMarketDataStateWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.MarketDataState | EnumMarketDataStateFieldRefInput<$PrismaModel> in?: $Enums.MarketDataState[] | ListEnumMarketDataStateFieldRefInput<$PrismaModel> notIn?: $Enums.MarketDataState[] | ListEnumMarketDataStateFieldRefInput<$PrismaModel> not?: NestedEnumMarketDataStateWithAggregatesFilter<$PrismaModel> | $Enums.MarketDataState _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumMarketDataStateFilter<$PrismaModel> _max?: NestedEnumMarketDataStateFilter<$PrismaModel> } export type NestedEnumTypeFilter<$PrismaModel = never> = { equals?: $Enums.Type | EnumTypeFieldRefInput<$PrismaModel> in?: $Enums.Type[] | ListEnumTypeFieldRefInput<$PrismaModel> notIn?: $Enums.Type[] | ListEnumTypeFieldRefInput<$PrismaModel> not?: NestedEnumTypeFilter<$PrismaModel> | $Enums.Type } export type NestedEnumTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.Type | EnumTypeFieldRefInput<$PrismaModel> in?: $Enums.Type[] | ListEnumTypeFieldRefInput<$PrismaModel> notIn?: $Enums.Type[] | ListEnumTypeFieldRefInput<$PrismaModel> not?: NestedEnumTypeWithAggregatesFilter<$PrismaModel> | $Enums.Type _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumTypeFilter<$PrismaModel> _max?: NestedEnumTypeFilter<$PrismaModel> } export type NestedJsonNullableFilter<$PrismaModel = never> = | PatchUndefined< Either>, Exclude>, 'path'>>, Required> > | OptionalFlat>, 'path'>> export type NestedJsonNullableFilterBase<$PrismaModel = never> = { equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter path?: string[] mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel> string_contains?: string | StringFieldRefInput<$PrismaModel> string_starts_with?: string | StringFieldRefInput<$PrismaModel> string_ends_with?: string | StringFieldRefInput<$PrismaModel> array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel> gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel> not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } export type NestedEnumAssetClassNullableFilter<$PrismaModel = never> = { equals?: $Enums.AssetClass | EnumAssetClassFieldRefInput<$PrismaModel> | null in?: $Enums.AssetClass[] | ListEnumAssetClassFieldRefInput<$PrismaModel> | null notIn?: $Enums.AssetClass[] | ListEnumAssetClassFieldRefInput<$PrismaModel> | null not?: NestedEnumAssetClassNullableFilter<$PrismaModel> | $Enums.AssetClass | null } export type NestedEnumAssetSubClassNullableFilter<$PrismaModel = never> = { equals?: $Enums.AssetSubClass | EnumAssetSubClassFieldRefInput<$PrismaModel> | null in?: $Enums.AssetSubClass[] | ListEnumAssetSubClassFieldRefInput<$PrismaModel> | null notIn?: $Enums.AssetSubClass[] | ListEnumAssetSubClassFieldRefInput<$PrismaModel> | null not?: NestedEnumAssetSubClassNullableFilter<$PrismaModel> | $Enums.AssetSubClass | null } export type NestedEnumAssetClassNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.AssetClass | EnumAssetClassFieldRefInput<$PrismaModel> | null in?: $Enums.AssetClass[] | ListEnumAssetClassFieldRefInput<$PrismaModel> | null notIn?: $Enums.AssetClass[] | ListEnumAssetClassFieldRefInput<$PrismaModel> | null not?: NestedEnumAssetClassNullableWithAggregatesFilter<$PrismaModel> | $Enums.AssetClass | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedEnumAssetClassNullableFilter<$PrismaModel> _max?: NestedEnumAssetClassNullableFilter<$PrismaModel> } export type NestedEnumAssetSubClassNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.AssetSubClass | EnumAssetSubClassFieldRefInput<$PrismaModel> | null in?: $Enums.AssetSubClass[] | ListEnumAssetSubClassFieldRefInput<$PrismaModel> | null notIn?: $Enums.AssetSubClass[] | ListEnumAssetSubClassFieldRefInput<$PrismaModel> | null not?: NestedEnumAssetSubClassNullableWithAggregatesFilter<$PrismaModel> | $Enums.AssetSubClass | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedEnumAssetSubClassNullableFilter<$PrismaModel> _max?: NestedEnumAssetSubClassNullableFilter<$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 NestedFloatNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> | null in?: number[] | ListFloatFieldRefInput<$PrismaModel> | null notIn?: number[] | ListFloatFieldRefInput<$PrismaModel> | null lt?: number | FloatFieldRefInput<$PrismaModel> lte?: number | FloatFieldRefInput<$PrismaModel> gt?: number | FloatFieldRefInput<$PrismaModel> gte?: number | FloatFieldRefInput<$PrismaModel> not?: NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedFloatNullableFilter<$PrismaModel> _min?: NestedFloatNullableFilter<$PrismaModel> _max?: NestedFloatNullableFilter<$PrismaModel> } export type NestedEnumProviderFilter<$PrismaModel = never> = { equals?: $Enums.Provider | EnumProviderFieldRefInput<$PrismaModel> in?: $Enums.Provider[] | ListEnumProviderFieldRefInput<$PrismaModel> notIn?: $Enums.Provider[] | ListEnumProviderFieldRefInput<$PrismaModel> not?: NestedEnumProviderFilter<$PrismaModel> | $Enums.Provider } 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 NestedEnumProviderWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.Provider | EnumProviderFieldRefInput<$PrismaModel> in?: $Enums.Provider[] | ListEnumProviderFieldRefInput<$PrismaModel> notIn?: $Enums.Provider[] | ListEnumProviderFieldRefInput<$PrismaModel> not?: NestedEnumProviderWithAggregatesFilter<$PrismaModel> | $Enums.Provider _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumProviderFilter<$PrismaModel> _max?: NestedEnumProviderFilter<$PrismaModel> } 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 UserCreateWithoutAccessesGetInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGive?: AccessCreateNestedManyWithoutUserInput accounts?: AccountCreateNestedManyWithoutUserInput activities?: OrderCreateNestedManyWithoutUserInput analytics?: AnalyticsCreateNestedOneWithoutUserInput apiKeys?: ApiKeyCreateNestedManyWithoutUserInput authDevices?: AuthDeviceCreateNestedManyWithoutUserInput settings?: SettingsCreateNestedOneWithoutUserInput subscriptions?: SubscriptionCreateNestedManyWithoutUserInput tags?: TagCreateNestedManyWithoutUserInput watchlist?: SymbolProfileCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutAccessesGetInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGive?: AccessUncheckedCreateNestedManyWithoutUserInput accounts?: AccountUncheckedCreateNestedManyWithoutUserInput activities?: OrderUncheckedCreateNestedManyWithoutUserInput analytics?: AnalyticsUncheckedCreateNestedOneWithoutUserInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutUserInput authDevices?: AuthDeviceUncheckedCreateNestedManyWithoutUserInput settings?: SettingsUncheckedCreateNestedOneWithoutUserInput subscriptions?: SubscriptionUncheckedCreateNestedManyWithoutUserInput tags?: TagUncheckedCreateNestedManyWithoutUserInput watchlist?: SymbolProfileUncheckedCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutAccessesGetInput = { where: UserWhereUniqueInput create: XOR } export type UserCreateWithoutAccessesGiveInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessCreateNestedManyWithoutGranteeUserInput accounts?: AccountCreateNestedManyWithoutUserInput activities?: OrderCreateNestedManyWithoutUserInput analytics?: AnalyticsCreateNestedOneWithoutUserInput apiKeys?: ApiKeyCreateNestedManyWithoutUserInput authDevices?: AuthDeviceCreateNestedManyWithoutUserInput settings?: SettingsCreateNestedOneWithoutUserInput subscriptions?: SubscriptionCreateNestedManyWithoutUserInput tags?: TagCreateNestedManyWithoutUserInput watchlist?: SymbolProfileCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutAccessesGiveInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessUncheckedCreateNestedManyWithoutGranteeUserInput accounts?: AccountUncheckedCreateNestedManyWithoutUserInput activities?: OrderUncheckedCreateNestedManyWithoutUserInput analytics?: AnalyticsUncheckedCreateNestedOneWithoutUserInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutUserInput authDevices?: AuthDeviceUncheckedCreateNestedManyWithoutUserInput settings?: SettingsUncheckedCreateNestedOneWithoutUserInput subscriptions?: SubscriptionUncheckedCreateNestedManyWithoutUserInput tags?: TagUncheckedCreateNestedManyWithoutUserInput watchlist?: SymbolProfileUncheckedCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutAccessesGiveInput = { where: UserWhereUniqueInput create: XOR } export type UserUpsertWithoutAccessesGetInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutAccessesGetInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutAccessesGetInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGive?: AccessUpdateManyWithoutUserNestedInput accounts?: AccountUpdateManyWithoutUserNestedInput activities?: OrderUpdateManyWithoutUserNestedInput analytics?: AnalyticsUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUpdateManyWithoutUserNestedInput settings?: SettingsUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUpdateManyWithoutUserNestedInput tags?: TagUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutAccessesGetInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGive?: AccessUncheckedUpdateManyWithoutUserNestedInput accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput activities?: OrderUncheckedUpdateManyWithoutUserNestedInput analytics?: AnalyticsUncheckedUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUncheckedUpdateManyWithoutUserNestedInput settings?: SettingsUncheckedUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUncheckedUpdateManyWithoutUserNestedInput tags?: TagUncheckedUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUncheckedUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUncheckedUpdateManyWithoutUserNestedInput } export type UserUpsertWithoutAccessesGiveInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutAccessesGiveInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutAccessesGiveInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUpdateManyWithoutGranteeUserNestedInput accounts?: AccountUpdateManyWithoutUserNestedInput activities?: OrderUpdateManyWithoutUserNestedInput analytics?: AnalyticsUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUpdateManyWithoutUserNestedInput settings?: SettingsUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUpdateManyWithoutUserNestedInput tags?: TagUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutAccessesGiveInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUncheckedUpdateManyWithoutGranteeUserNestedInput accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput activities?: OrderUncheckedUpdateManyWithoutUserNestedInput analytics?: AnalyticsUncheckedUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUncheckedUpdateManyWithoutUserNestedInput settings?: SettingsUncheckedUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUncheckedUpdateManyWithoutUserNestedInput tags?: TagUncheckedUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUncheckedUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUncheckedUpdateManyWithoutUserNestedInput } export type OrderCreateWithoutAccountInput = { comment?: string | null createdAt?: Date | string currency?: string | null date: Date | string fee: number id?: string isDraft?: boolean quantity: number type: $Enums.Type unitPrice: number updatedAt?: Date | string tags?: TagCreateNestedManyWithoutActivitiesInput user: UserCreateNestedOneWithoutActivitiesInput SymbolProfile: SymbolProfileCreateNestedOneWithoutActivitiesInput } export type OrderUncheckedCreateWithoutAccountInput = { comment?: string | null createdAt?: Date | string currency?: string | null date: Date | string fee: number id?: string isDraft?: boolean quantity: number symbolProfileId: string type: $Enums.Type unitPrice: number updatedAt?: Date | string userId: string tags?: TagUncheckedCreateNestedManyWithoutActivitiesInput } export type OrderCreateOrConnectWithoutAccountInput = { where: OrderWhereUniqueInput create: XOR } export type OrderCreateManyAccountInputEnvelope = { data: OrderCreateManyAccountInput | OrderCreateManyAccountInput[] skipDuplicates?: boolean } export type AccountBalanceCreateWithoutAccountInput = { createdAt?: Date | string date?: Date | string id?: string updatedAt?: Date | string value: number } export type AccountBalanceUncheckedCreateWithoutAccountInput = { createdAt?: Date | string date?: Date | string id?: string updatedAt?: Date | string value: number } export type AccountBalanceCreateOrConnectWithoutAccountInput = { where: AccountBalanceWhereUniqueInput create: XOR } export type AccountBalanceCreateManyAccountInputEnvelope = { data: AccountBalanceCreateManyAccountInput | AccountBalanceCreateManyAccountInput[] skipDuplicates?: boolean } export type PlatformCreateWithoutAccountsInput = { id?: string name?: string | null url: string } export type PlatformUncheckedCreateWithoutAccountsInput = { id?: string name?: string | null url: string } export type PlatformCreateOrConnectWithoutAccountsInput = { where: PlatformWhereUniqueInput create: XOR } export type UserCreateWithoutAccountsInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessCreateNestedManyWithoutUserInput activities?: OrderCreateNestedManyWithoutUserInput analytics?: AnalyticsCreateNestedOneWithoutUserInput apiKeys?: ApiKeyCreateNestedManyWithoutUserInput authDevices?: AuthDeviceCreateNestedManyWithoutUserInput settings?: SettingsCreateNestedOneWithoutUserInput subscriptions?: SubscriptionCreateNestedManyWithoutUserInput tags?: TagCreateNestedManyWithoutUserInput watchlist?: SymbolProfileCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutAccountsInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessUncheckedCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessUncheckedCreateNestedManyWithoutUserInput activities?: OrderUncheckedCreateNestedManyWithoutUserInput analytics?: AnalyticsUncheckedCreateNestedOneWithoutUserInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutUserInput authDevices?: AuthDeviceUncheckedCreateNestedManyWithoutUserInput settings?: SettingsUncheckedCreateNestedOneWithoutUserInput subscriptions?: SubscriptionUncheckedCreateNestedManyWithoutUserInput tags?: TagUncheckedCreateNestedManyWithoutUserInput watchlist?: SymbolProfileUncheckedCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutAccountsInput = { where: UserWhereUniqueInput create: XOR } export type OrderUpsertWithWhereUniqueWithoutAccountInput = { where: OrderWhereUniqueInput update: XOR create: XOR } export type OrderUpdateWithWhereUniqueWithoutAccountInput = { where: OrderWhereUniqueInput data: XOR } export type OrderUpdateManyWithWhereWithoutAccountInput = { where: OrderScalarWhereInput data: XOR } export type OrderScalarWhereInput = { AND?: OrderScalarWhereInput | OrderScalarWhereInput[] OR?: OrderScalarWhereInput[] NOT?: OrderScalarWhereInput | OrderScalarWhereInput[] accountId?: StringNullableFilter<"Order"> | string | null accountUserId?: StringNullableFilter<"Order"> | string | null comment?: StringNullableFilter<"Order"> | string | null createdAt?: DateTimeFilter<"Order"> | Date | string currency?: StringNullableFilter<"Order"> | string | null date?: DateTimeFilter<"Order"> | Date | string fee?: FloatFilter<"Order"> | number id?: StringFilter<"Order"> | string isDraft?: BoolFilter<"Order"> | boolean quantity?: FloatFilter<"Order"> | number symbolProfileId?: StringFilter<"Order"> | string type?: EnumTypeFilter<"Order"> | $Enums.Type unitPrice?: FloatFilter<"Order"> | number updatedAt?: DateTimeFilter<"Order"> | Date | string userId?: StringFilter<"Order"> | string } export type AccountBalanceUpsertWithWhereUniqueWithoutAccountInput = { where: AccountBalanceWhereUniqueInput update: XOR create: XOR } export type AccountBalanceUpdateWithWhereUniqueWithoutAccountInput = { where: AccountBalanceWhereUniqueInput data: XOR } export type AccountBalanceUpdateManyWithWhereWithoutAccountInput = { where: AccountBalanceScalarWhereInput data: XOR } export type AccountBalanceScalarWhereInput = { AND?: AccountBalanceScalarWhereInput | AccountBalanceScalarWhereInput[] OR?: AccountBalanceScalarWhereInput[] NOT?: AccountBalanceScalarWhereInput | AccountBalanceScalarWhereInput[] accountId?: StringFilter<"AccountBalance"> | string createdAt?: DateTimeFilter<"AccountBalance"> | Date | string date?: DateTimeFilter<"AccountBalance"> | Date | string id?: StringFilter<"AccountBalance"> | string updatedAt?: DateTimeFilter<"AccountBalance"> | Date | string userId?: StringFilter<"AccountBalance"> | string value?: FloatFilter<"AccountBalance"> | number } export type PlatformUpsertWithoutAccountsInput = { update: XOR create: XOR where?: PlatformWhereInput } export type PlatformUpdateToOneWithWhereWithoutAccountsInput = { where?: PlatformWhereInput data: XOR } export type PlatformUpdateWithoutAccountsInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null url?: StringFieldUpdateOperationsInput | string } export type PlatformUncheckedUpdateWithoutAccountsInput = { id?: StringFieldUpdateOperationsInput | string name?: NullableStringFieldUpdateOperationsInput | string | null url?: StringFieldUpdateOperationsInput | string } export type UserUpsertWithoutAccountsInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutAccountsInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutAccountsInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUpdateManyWithoutUserNestedInput activities?: OrderUpdateManyWithoutUserNestedInput analytics?: AnalyticsUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUpdateManyWithoutUserNestedInput settings?: SettingsUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUpdateManyWithoutUserNestedInput tags?: TagUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutAccountsInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUncheckedUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUncheckedUpdateManyWithoutUserNestedInput activities?: OrderUncheckedUpdateManyWithoutUserNestedInput analytics?: AnalyticsUncheckedUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUncheckedUpdateManyWithoutUserNestedInput settings?: SettingsUncheckedUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUncheckedUpdateManyWithoutUserNestedInput tags?: TagUncheckedUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUncheckedUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUncheckedUpdateManyWithoutUserNestedInput } export type AccountCreateWithoutBalancesInput = { balance?: number comment?: string | null createdAt?: Date | string currency?: string | null id?: string isExcluded?: boolean name?: string | null updatedAt?: Date | string activities?: OrderCreateNestedManyWithoutAccountInput platform?: PlatformCreateNestedOneWithoutAccountsInput user: UserCreateNestedOneWithoutAccountsInput } export type AccountUncheckedCreateWithoutBalancesInput = { balance?: number comment?: string | null createdAt?: Date | string currency?: string | null id?: string isExcluded?: boolean name?: string | null platformId?: string | null updatedAt?: Date | string userId: string activities?: OrderUncheckedCreateNestedManyWithoutAccountInput } export type AccountCreateOrConnectWithoutBalancesInput = { where: AccountWhereUniqueInput create: XOR } export type AccountUpsertWithoutBalancesInput = { update: XOR create: XOR where?: AccountWhereInput } export type AccountUpdateToOneWithWhereWithoutBalancesInput = { where?: AccountWhereInput data: XOR } export type AccountUpdateWithoutBalancesInput = { balance?: FloatFieldUpdateOperationsInput | number comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string isExcluded?: BoolFieldUpdateOperationsInput | boolean name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string activities?: OrderUpdateManyWithoutAccountNestedInput platform?: PlatformUpdateOneWithoutAccountsNestedInput user?: UserUpdateOneRequiredWithoutAccountsNestedInput } export type AccountUncheckedUpdateWithoutBalancesInput = { balance?: FloatFieldUpdateOperationsInput | number comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string isExcluded?: BoolFieldUpdateOperationsInput | boolean name?: NullableStringFieldUpdateOperationsInput | string | null platformId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string activities?: OrderUncheckedUpdateManyWithoutAccountNestedInput } export type UserCreateWithoutAnalyticsInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessCreateNestedManyWithoutUserInput accounts?: AccountCreateNestedManyWithoutUserInput activities?: OrderCreateNestedManyWithoutUserInput apiKeys?: ApiKeyCreateNestedManyWithoutUserInput authDevices?: AuthDeviceCreateNestedManyWithoutUserInput settings?: SettingsCreateNestedOneWithoutUserInput subscriptions?: SubscriptionCreateNestedManyWithoutUserInput tags?: TagCreateNestedManyWithoutUserInput watchlist?: SymbolProfileCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutAnalyticsInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessUncheckedCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessUncheckedCreateNestedManyWithoutUserInput accounts?: AccountUncheckedCreateNestedManyWithoutUserInput activities?: OrderUncheckedCreateNestedManyWithoutUserInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutUserInput authDevices?: AuthDeviceUncheckedCreateNestedManyWithoutUserInput settings?: SettingsUncheckedCreateNestedOneWithoutUserInput subscriptions?: SubscriptionUncheckedCreateNestedManyWithoutUserInput tags?: TagUncheckedCreateNestedManyWithoutUserInput watchlist?: SymbolProfileUncheckedCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutAnalyticsInput = { where: UserWhereUniqueInput create: XOR } export type UserUpsertWithoutAnalyticsInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutAnalyticsInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutAnalyticsInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUpdateManyWithoutUserNestedInput accounts?: AccountUpdateManyWithoutUserNestedInput activities?: OrderUpdateManyWithoutUserNestedInput apiKeys?: ApiKeyUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUpdateManyWithoutUserNestedInput settings?: SettingsUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUpdateManyWithoutUserNestedInput tags?: TagUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutAnalyticsInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUncheckedUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUncheckedUpdateManyWithoutUserNestedInput accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput activities?: OrderUncheckedUpdateManyWithoutUserNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUncheckedUpdateManyWithoutUserNestedInput settings?: SettingsUncheckedUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUncheckedUpdateManyWithoutUserNestedInput tags?: TagUncheckedUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUncheckedUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUncheckedUpdateManyWithoutUserNestedInput } export type UserCreateWithoutApiKeysInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessCreateNestedManyWithoutUserInput accounts?: AccountCreateNestedManyWithoutUserInput activities?: OrderCreateNestedManyWithoutUserInput analytics?: AnalyticsCreateNestedOneWithoutUserInput authDevices?: AuthDeviceCreateNestedManyWithoutUserInput settings?: SettingsCreateNestedOneWithoutUserInput subscriptions?: SubscriptionCreateNestedManyWithoutUserInput tags?: TagCreateNestedManyWithoutUserInput watchlist?: SymbolProfileCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutApiKeysInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessUncheckedCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessUncheckedCreateNestedManyWithoutUserInput accounts?: AccountUncheckedCreateNestedManyWithoutUserInput activities?: OrderUncheckedCreateNestedManyWithoutUserInput analytics?: AnalyticsUncheckedCreateNestedOneWithoutUserInput authDevices?: AuthDeviceUncheckedCreateNestedManyWithoutUserInput settings?: SettingsUncheckedCreateNestedOneWithoutUserInput subscriptions?: SubscriptionUncheckedCreateNestedManyWithoutUserInput tags?: TagUncheckedCreateNestedManyWithoutUserInput watchlist?: SymbolProfileUncheckedCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutApiKeysInput = { where: UserWhereUniqueInput create: XOR } export type UserUpsertWithoutApiKeysInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutApiKeysInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutApiKeysInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUpdateManyWithoutUserNestedInput accounts?: AccountUpdateManyWithoutUserNestedInput activities?: OrderUpdateManyWithoutUserNestedInput analytics?: AnalyticsUpdateOneWithoutUserNestedInput authDevices?: AuthDeviceUpdateManyWithoutUserNestedInput settings?: SettingsUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUpdateManyWithoutUserNestedInput tags?: TagUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutApiKeysInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUncheckedUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUncheckedUpdateManyWithoutUserNestedInput accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput activities?: OrderUncheckedUpdateManyWithoutUserNestedInput analytics?: AnalyticsUncheckedUpdateOneWithoutUserNestedInput authDevices?: AuthDeviceUncheckedUpdateManyWithoutUserNestedInput settings?: SettingsUncheckedUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUncheckedUpdateManyWithoutUserNestedInput tags?: TagUncheckedUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUncheckedUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUncheckedUpdateManyWithoutUserNestedInput } export type UserCreateWithoutAuthDevicesInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessCreateNestedManyWithoutUserInput accounts?: AccountCreateNestedManyWithoutUserInput activities?: OrderCreateNestedManyWithoutUserInput analytics?: AnalyticsCreateNestedOneWithoutUserInput apiKeys?: ApiKeyCreateNestedManyWithoutUserInput settings?: SettingsCreateNestedOneWithoutUserInput subscriptions?: SubscriptionCreateNestedManyWithoutUserInput tags?: TagCreateNestedManyWithoutUserInput watchlist?: SymbolProfileCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutAuthDevicesInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessUncheckedCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessUncheckedCreateNestedManyWithoutUserInput accounts?: AccountUncheckedCreateNestedManyWithoutUserInput activities?: OrderUncheckedCreateNestedManyWithoutUserInput analytics?: AnalyticsUncheckedCreateNestedOneWithoutUserInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutUserInput settings?: SettingsUncheckedCreateNestedOneWithoutUserInput subscriptions?: SubscriptionUncheckedCreateNestedManyWithoutUserInput tags?: TagUncheckedCreateNestedManyWithoutUserInput watchlist?: SymbolProfileUncheckedCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutAuthDevicesInput = { where: UserWhereUniqueInput create: XOR } export type UserUpsertWithoutAuthDevicesInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutAuthDevicesInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutAuthDevicesInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUpdateManyWithoutUserNestedInput accounts?: AccountUpdateManyWithoutUserNestedInput activities?: OrderUpdateManyWithoutUserNestedInput analytics?: AnalyticsUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUpdateManyWithoutUserNestedInput settings?: SettingsUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUpdateManyWithoutUserNestedInput tags?: TagUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutAuthDevicesInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUncheckedUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUncheckedUpdateManyWithoutUserNestedInput accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput activities?: OrderUncheckedUpdateManyWithoutUserNestedInput analytics?: AnalyticsUncheckedUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutUserNestedInput settings?: SettingsUncheckedUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUncheckedUpdateManyWithoutUserNestedInput tags?: TagUncheckedUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUncheckedUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUncheckedUpdateManyWithoutUserNestedInput } export type AccountCreateWithoutActivitiesInput = { balance?: number comment?: string | null createdAt?: Date | string currency?: string | null id?: string isExcluded?: boolean name?: string | null updatedAt?: Date | string balances?: AccountBalanceCreateNestedManyWithoutAccountInput platform?: PlatformCreateNestedOneWithoutAccountsInput user: UserCreateNestedOneWithoutAccountsInput } export type AccountUncheckedCreateWithoutActivitiesInput = { balance?: number comment?: string | null createdAt?: Date | string currency?: string | null id?: string isExcluded?: boolean name?: string | null platformId?: string | null updatedAt?: Date | string userId: string balances?: AccountBalanceUncheckedCreateNestedManyWithoutAccountInput } export type AccountCreateOrConnectWithoutActivitiesInput = { where: AccountWhereUniqueInput create: XOR } export type TagCreateWithoutActivitiesInput = { id?: string name: string user?: UserCreateNestedOneWithoutTagsInput } export type TagUncheckedCreateWithoutActivitiesInput = { id?: string name: string userId?: string | null } export type TagCreateOrConnectWithoutActivitiesInput = { where: TagWhereUniqueInput create: XOR } export type UserCreateWithoutActivitiesInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessCreateNestedManyWithoutUserInput accounts?: AccountCreateNestedManyWithoutUserInput analytics?: AnalyticsCreateNestedOneWithoutUserInput apiKeys?: ApiKeyCreateNestedManyWithoutUserInput authDevices?: AuthDeviceCreateNestedManyWithoutUserInput settings?: SettingsCreateNestedOneWithoutUserInput subscriptions?: SubscriptionCreateNestedManyWithoutUserInput tags?: TagCreateNestedManyWithoutUserInput watchlist?: SymbolProfileCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutActivitiesInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessUncheckedCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessUncheckedCreateNestedManyWithoutUserInput accounts?: AccountUncheckedCreateNestedManyWithoutUserInput analytics?: AnalyticsUncheckedCreateNestedOneWithoutUserInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutUserInput authDevices?: AuthDeviceUncheckedCreateNestedManyWithoutUserInput settings?: SettingsUncheckedCreateNestedOneWithoutUserInput subscriptions?: SubscriptionUncheckedCreateNestedManyWithoutUserInput tags?: TagUncheckedCreateNestedManyWithoutUserInput watchlist?: SymbolProfileUncheckedCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutActivitiesInput = { where: UserWhereUniqueInput create: XOR } export type SymbolProfileCreateWithoutActivitiesInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null comment?: string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string currency: string cusip?: string | null dataSource: $Enums.DataSource figi?: string | null figiComposite?: string | null figiShareClass?: string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: string isActive?: boolean isin?: string | null name?: string | null updatedAt?: Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol: string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: string | null user?: UserCreateNestedOneWithoutSymbolProfileInput watchedBy?: UserCreateNestedManyWithoutWatchlistInput SymbolProfileOverrides?: SymbolProfileOverridesCreateNestedOneWithoutSymbolProfileInput } export type SymbolProfileUncheckedCreateWithoutActivitiesInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null comment?: string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string currency: string cusip?: string | null dataSource: $Enums.DataSource figi?: string | null figiComposite?: string | null figiShareClass?: string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: string isActive?: boolean isin?: string | null name?: string | null updatedAt?: Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol: string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: string | null userId?: string | null watchedBy?: UserUncheckedCreateNestedManyWithoutWatchlistInput SymbolProfileOverrides?: SymbolProfileOverridesUncheckedCreateNestedOneWithoutSymbolProfileInput } export type SymbolProfileCreateOrConnectWithoutActivitiesInput = { where: SymbolProfileWhereUniqueInput create: XOR } export type AccountUpsertWithoutActivitiesInput = { update: XOR create: XOR where?: AccountWhereInput } export type AccountUpdateToOneWithWhereWithoutActivitiesInput = { where?: AccountWhereInput data: XOR } export type AccountUpdateWithoutActivitiesInput = { balance?: FloatFieldUpdateOperationsInput | number comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string isExcluded?: BoolFieldUpdateOperationsInput | boolean name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string balances?: AccountBalanceUpdateManyWithoutAccountNestedInput platform?: PlatformUpdateOneWithoutAccountsNestedInput user?: UserUpdateOneRequiredWithoutAccountsNestedInput } export type AccountUncheckedUpdateWithoutActivitiesInput = { balance?: FloatFieldUpdateOperationsInput | number comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string isExcluded?: BoolFieldUpdateOperationsInput | boolean name?: NullableStringFieldUpdateOperationsInput | string | null platformId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string balances?: AccountBalanceUncheckedUpdateManyWithoutAccountNestedInput } export type TagUpsertWithWhereUniqueWithoutActivitiesInput = { where: TagWhereUniqueInput update: XOR create: XOR } export type TagUpdateWithWhereUniqueWithoutActivitiesInput = { where: TagWhereUniqueInput data: XOR } export type TagUpdateManyWithWhereWithoutActivitiesInput = { where: TagScalarWhereInput data: XOR } export type TagScalarWhereInput = { AND?: TagScalarWhereInput | TagScalarWhereInput[] OR?: TagScalarWhereInput[] NOT?: TagScalarWhereInput | TagScalarWhereInput[] id?: StringFilter<"Tag"> | string name?: StringFilter<"Tag"> | string userId?: StringNullableFilter<"Tag"> | string | null } export type UserUpsertWithoutActivitiesInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutActivitiesInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutActivitiesInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUpdateManyWithoutUserNestedInput accounts?: AccountUpdateManyWithoutUserNestedInput analytics?: AnalyticsUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUpdateManyWithoutUserNestedInput settings?: SettingsUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUpdateManyWithoutUserNestedInput tags?: TagUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutActivitiesInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUncheckedUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUncheckedUpdateManyWithoutUserNestedInput accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput analytics?: AnalyticsUncheckedUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUncheckedUpdateManyWithoutUserNestedInput settings?: SettingsUncheckedUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUncheckedUpdateManyWithoutUserNestedInput tags?: TagUncheckedUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUncheckedUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUncheckedUpdateManyWithoutUserNestedInput } export type SymbolProfileUpsertWithoutActivitiesInput = { update: XOR create: XOR where?: SymbolProfileWhereInput } export type SymbolProfileUpdateToOneWithWhereWithoutActivitiesInput = { where?: SymbolProfileWhereInput data: XOR } export type SymbolProfileUpdateWithoutActivitiesInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null comment?: NullableStringFieldUpdateOperationsInput | string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string cusip?: NullableStringFieldUpdateOperationsInput | string | null dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource figi?: NullableStringFieldUpdateOperationsInput | string | null figiComposite?: NullableStringFieldUpdateOperationsInput | string | null figiShareClass?: NullableStringFieldUpdateOperationsInput | string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean isin?: NullableStringFieldUpdateOperationsInput | string | null name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol?: StringFieldUpdateOperationsInput | string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: NullableStringFieldUpdateOperationsInput | string | null user?: UserUpdateOneWithoutSymbolProfileNestedInput watchedBy?: UserUpdateManyWithoutWatchlistNestedInput SymbolProfileOverrides?: SymbolProfileOverridesUpdateOneWithoutSymbolProfileNestedInput } export type SymbolProfileUncheckedUpdateWithoutActivitiesInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null comment?: NullableStringFieldUpdateOperationsInput | string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string cusip?: NullableStringFieldUpdateOperationsInput | string | null dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource figi?: NullableStringFieldUpdateOperationsInput | string | null figiComposite?: NullableStringFieldUpdateOperationsInput | string | null figiShareClass?: NullableStringFieldUpdateOperationsInput | string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean isin?: NullableStringFieldUpdateOperationsInput | string | null name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol?: StringFieldUpdateOperationsInput | string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null watchedBy?: UserUncheckedUpdateManyWithoutWatchlistNestedInput SymbolProfileOverrides?: SymbolProfileOverridesUncheckedUpdateOneWithoutSymbolProfileNestedInput } export type AccountCreateWithoutPlatformInput = { balance?: number comment?: string | null createdAt?: Date | string currency?: string | null id?: string isExcluded?: boolean name?: string | null updatedAt?: Date | string activities?: OrderCreateNestedManyWithoutAccountInput balances?: AccountBalanceCreateNestedManyWithoutAccountInput user: UserCreateNestedOneWithoutAccountsInput } export type AccountUncheckedCreateWithoutPlatformInput = { balance?: number comment?: string | null createdAt?: Date | string currency?: string | null id?: string isExcluded?: boolean name?: string | null updatedAt?: Date | string userId: string activities?: OrderUncheckedCreateNestedManyWithoutAccountInput balances?: AccountBalanceUncheckedCreateNestedManyWithoutAccountInput } export type AccountCreateOrConnectWithoutPlatformInput = { where: AccountWhereUniqueInput create: XOR } export type AccountCreateManyPlatformInputEnvelope = { data: AccountCreateManyPlatformInput | AccountCreateManyPlatformInput[] skipDuplicates?: boolean } export type AccountUpsertWithWhereUniqueWithoutPlatformInput = { where: AccountWhereUniqueInput update: XOR create: XOR } export type AccountUpdateWithWhereUniqueWithoutPlatformInput = { where: AccountWhereUniqueInput data: XOR } export type AccountUpdateManyWithWhereWithoutPlatformInput = { where: AccountScalarWhereInput data: XOR } export type AccountScalarWhereInput = { AND?: AccountScalarWhereInput | AccountScalarWhereInput[] OR?: AccountScalarWhereInput[] NOT?: AccountScalarWhereInput | AccountScalarWhereInput[] balance?: FloatFilter<"Account"> | number comment?: StringNullableFilter<"Account"> | string | null createdAt?: DateTimeFilter<"Account"> | Date | string currency?: StringNullableFilter<"Account"> | string | null id?: StringFilter<"Account"> | string isExcluded?: BoolFilter<"Account"> | boolean name?: StringNullableFilter<"Account"> | string | null platformId?: StringNullableFilter<"Account"> | string | null updatedAt?: DateTimeFilter<"Account"> | Date | string userId?: StringFilter<"Account"> | string } export type UserCreateWithoutSettingsInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessCreateNestedManyWithoutUserInput accounts?: AccountCreateNestedManyWithoutUserInput activities?: OrderCreateNestedManyWithoutUserInput analytics?: AnalyticsCreateNestedOneWithoutUserInput apiKeys?: ApiKeyCreateNestedManyWithoutUserInput authDevices?: AuthDeviceCreateNestedManyWithoutUserInput subscriptions?: SubscriptionCreateNestedManyWithoutUserInput tags?: TagCreateNestedManyWithoutUserInput watchlist?: SymbolProfileCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutSettingsInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessUncheckedCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessUncheckedCreateNestedManyWithoutUserInput accounts?: AccountUncheckedCreateNestedManyWithoutUserInput activities?: OrderUncheckedCreateNestedManyWithoutUserInput analytics?: AnalyticsUncheckedCreateNestedOneWithoutUserInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutUserInput authDevices?: AuthDeviceUncheckedCreateNestedManyWithoutUserInput subscriptions?: SubscriptionUncheckedCreateNestedManyWithoutUserInput tags?: TagUncheckedCreateNestedManyWithoutUserInput watchlist?: SymbolProfileUncheckedCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutSettingsInput = { where: UserWhereUniqueInput create: XOR } export type UserUpsertWithoutSettingsInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutSettingsInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutSettingsInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUpdateManyWithoutUserNestedInput accounts?: AccountUpdateManyWithoutUserNestedInput activities?: OrderUpdateManyWithoutUserNestedInput analytics?: AnalyticsUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUpdateManyWithoutUserNestedInput subscriptions?: SubscriptionUpdateManyWithoutUserNestedInput tags?: TagUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutSettingsInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUncheckedUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUncheckedUpdateManyWithoutUserNestedInput accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput activities?: OrderUncheckedUpdateManyWithoutUserNestedInput analytics?: AnalyticsUncheckedUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUncheckedUpdateManyWithoutUserNestedInput subscriptions?: SubscriptionUncheckedUpdateManyWithoutUserNestedInput tags?: TagUncheckedUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUncheckedUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUncheckedUpdateManyWithoutUserNestedInput } export type OrderCreateWithoutSymbolProfileInput = { comment?: string | null createdAt?: Date | string currency?: string | null date: Date | string fee: number id?: string isDraft?: boolean quantity: number type: $Enums.Type unitPrice: number updatedAt?: Date | string account?: AccountCreateNestedOneWithoutActivitiesInput tags?: TagCreateNestedManyWithoutActivitiesInput user: UserCreateNestedOneWithoutActivitiesInput } export type OrderUncheckedCreateWithoutSymbolProfileInput = { accountId?: string | null accountUserId?: string | null comment?: string | null createdAt?: Date | string currency?: string | null date: Date | string fee: number id?: string isDraft?: boolean quantity: number type: $Enums.Type unitPrice: number updatedAt?: Date | string userId: string tags?: TagUncheckedCreateNestedManyWithoutActivitiesInput } export type OrderCreateOrConnectWithoutSymbolProfileInput = { where: OrderWhereUniqueInput create: XOR } export type OrderCreateManySymbolProfileInputEnvelope = { data: OrderCreateManySymbolProfileInput | OrderCreateManySymbolProfileInput[] skipDuplicates?: boolean } export type UserCreateWithoutSymbolProfileInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessCreateNestedManyWithoutUserInput accounts?: AccountCreateNestedManyWithoutUserInput activities?: OrderCreateNestedManyWithoutUserInput analytics?: AnalyticsCreateNestedOneWithoutUserInput apiKeys?: ApiKeyCreateNestedManyWithoutUserInput authDevices?: AuthDeviceCreateNestedManyWithoutUserInput settings?: SettingsCreateNestedOneWithoutUserInput subscriptions?: SubscriptionCreateNestedManyWithoutUserInput tags?: TagCreateNestedManyWithoutUserInput watchlist?: SymbolProfileCreateNestedManyWithoutWatchedByInput } export type UserUncheckedCreateWithoutSymbolProfileInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessUncheckedCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessUncheckedCreateNestedManyWithoutUserInput accounts?: AccountUncheckedCreateNestedManyWithoutUserInput activities?: OrderUncheckedCreateNestedManyWithoutUserInput analytics?: AnalyticsUncheckedCreateNestedOneWithoutUserInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutUserInput authDevices?: AuthDeviceUncheckedCreateNestedManyWithoutUserInput settings?: SettingsUncheckedCreateNestedOneWithoutUserInput subscriptions?: SubscriptionUncheckedCreateNestedManyWithoutUserInput tags?: TagUncheckedCreateNestedManyWithoutUserInput watchlist?: SymbolProfileUncheckedCreateNestedManyWithoutWatchedByInput } export type UserCreateOrConnectWithoutSymbolProfileInput = { where: UserWhereUniqueInput create: XOR } export type UserCreateWithoutWatchlistInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessCreateNestedManyWithoutUserInput accounts?: AccountCreateNestedManyWithoutUserInput activities?: OrderCreateNestedManyWithoutUserInput analytics?: AnalyticsCreateNestedOneWithoutUserInput apiKeys?: ApiKeyCreateNestedManyWithoutUserInput authDevices?: AuthDeviceCreateNestedManyWithoutUserInput settings?: SettingsCreateNestedOneWithoutUserInput subscriptions?: SubscriptionCreateNestedManyWithoutUserInput tags?: TagCreateNestedManyWithoutUserInput SymbolProfile?: SymbolProfileCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutWatchlistInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessUncheckedCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessUncheckedCreateNestedManyWithoutUserInput accounts?: AccountUncheckedCreateNestedManyWithoutUserInput activities?: OrderUncheckedCreateNestedManyWithoutUserInput analytics?: AnalyticsUncheckedCreateNestedOneWithoutUserInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutUserInput authDevices?: AuthDeviceUncheckedCreateNestedManyWithoutUserInput settings?: SettingsUncheckedCreateNestedOneWithoutUserInput subscriptions?: SubscriptionUncheckedCreateNestedManyWithoutUserInput tags?: TagUncheckedCreateNestedManyWithoutUserInput SymbolProfile?: SymbolProfileUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutWatchlistInput = { where: UserWhereUniqueInput create: XOR } export type SymbolProfileOverridesCreateWithoutSymbolProfileInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null countries?: NullableJsonNullValueInput | InputJsonValue holdings?: NullableJsonNullValueInput | InputJsonValue name?: string | null sectors?: NullableJsonNullValueInput | InputJsonValue updatedAt?: Date | string url?: string | null } export type SymbolProfileOverridesUncheckedCreateWithoutSymbolProfileInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null countries?: NullableJsonNullValueInput | InputJsonValue holdings?: NullableJsonNullValueInput | InputJsonValue name?: string | null sectors?: NullableJsonNullValueInput | InputJsonValue updatedAt?: Date | string url?: string | null } export type SymbolProfileOverridesCreateOrConnectWithoutSymbolProfileInput = { where: SymbolProfileOverridesWhereUniqueInput create: XOR } export type OrderUpsertWithWhereUniqueWithoutSymbolProfileInput = { where: OrderWhereUniqueInput update: XOR create: XOR } export type OrderUpdateWithWhereUniqueWithoutSymbolProfileInput = { where: OrderWhereUniqueInput data: XOR } export type OrderUpdateManyWithWhereWithoutSymbolProfileInput = { where: OrderScalarWhereInput data: XOR } export type UserUpsertWithoutSymbolProfileInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutSymbolProfileInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutSymbolProfileInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUpdateManyWithoutUserNestedInput accounts?: AccountUpdateManyWithoutUserNestedInput activities?: OrderUpdateManyWithoutUserNestedInput analytics?: AnalyticsUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUpdateManyWithoutUserNestedInput settings?: SettingsUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUpdateManyWithoutUserNestedInput tags?: TagUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUpdateManyWithoutWatchedByNestedInput } export type UserUncheckedUpdateWithoutSymbolProfileInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUncheckedUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUncheckedUpdateManyWithoutUserNestedInput accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput activities?: OrderUncheckedUpdateManyWithoutUserNestedInput analytics?: AnalyticsUncheckedUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUncheckedUpdateManyWithoutUserNestedInput settings?: SettingsUncheckedUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUncheckedUpdateManyWithoutUserNestedInput tags?: TagUncheckedUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUncheckedUpdateManyWithoutWatchedByNestedInput } export type UserUpsertWithWhereUniqueWithoutWatchlistInput = { where: UserWhereUniqueInput update: XOR create: XOR } export type UserUpdateWithWhereUniqueWithoutWatchlistInput = { where: UserWhereUniqueInput data: XOR } export type UserUpdateManyWithWhereWithoutWatchlistInput = { where: UserScalarWhereInput data: XOR } export type UserScalarWhereInput = { AND?: UserScalarWhereInput | UserScalarWhereInput[] OR?: UserScalarWhereInput[] NOT?: UserScalarWhereInput | UserScalarWhereInput[] accessToken?: StringNullableFilter<"User"> | string | null authChallenge?: StringNullableFilter<"User"> | string | null createdAt?: DateTimeFilter<"User"> | Date | string id?: StringFilter<"User"> | string provider?: EnumProviderFilter<"User"> | $Enums.Provider role?: EnumRoleFilter<"User"> | $Enums.Role thirdPartyId?: StringNullableFilter<"User"> | string | null updatedAt?: DateTimeFilter<"User"> | Date | string } export type SymbolProfileOverridesUpsertWithoutSymbolProfileInput = { update: XOR create: XOR where?: SymbolProfileOverridesWhereInput } export type SymbolProfileOverridesUpdateToOneWithWhereWithoutSymbolProfileInput = { where?: SymbolProfileOverridesWhereInput data: XOR } export type SymbolProfileOverridesUpdateWithoutSymbolProfileInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null countries?: NullableJsonNullValueInput | InputJsonValue holdings?: NullableJsonNullValueInput | InputJsonValue name?: NullableStringFieldUpdateOperationsInput | string | null sectors?: NullableJsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string url?: NullableStringFieldUpdateOperationsInput | string | null } export type SymbolProfileOverridesUncheckedUpdateWithoutSymbolProfileInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null countries?: NullableJsonNullValueInput | InputJsonValue holdings?: NullableJsonNullValueInput | InputJsonValue name?: NullableStringFieldUpdateOperationsInput | string | null sectors?: NullableJsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string url?: NullableStringFieldUpdateOperationsInput | string | null } export type SymbolProfileCreateWithoutSymbolProfileOverridesInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null comment?: string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string currency: string cusip?: string | null dataSource: $Enums.DataSource figi?: string | null figiComposite?: string | null figiShareClass?: string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: string isActive?: boolean isin?: string | null name?: string | null updatedAt?: Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol: string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: string | null activities?: OrderCreateNestedManyWithoutSymbolProfileInput user?: UserCreateNestedOneWithoutSymbolProfileInput watchedBy?: UserCreateNestedManyWithoutWatchlistInput } export type SymbolProfileUncheckedCreateWithoutSymbolProfileOverridesInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null comment?: string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string currency: string cusip?: string | null dataSource: $Enums.DataSource figi?: string | null figiComposite?: string | null figiShareClass?: string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: string isActive?: boolean isin?: string | null name?: string | null updatedAt?: Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol: string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: string | null userId?: string | null activities?: OrderUncheckedCreateNestedManyWithoutSymbolProfileInput watchedBy?: UserUncheckedCreateNestedManyWithoutWatchlistInput } export type SymbolProfileCreateOrConnectWithoutSymbolProfileOverridesInput = { where: SymbolProfileWhereUniqueInput create: XOR } export type SymbolProfileUpsertWithoutSymbolProfileOverridesInput = { update: XOR create: XOR where?: SymbolProfileWhereInput } export type SymbolProfileUpdateToOneWithWhereWithoutSymbolProfileOverridesInput = { where?: SymbolProfileWhereInput data: XOR } export type SymbolProfileUpdateWithoutSymbolProfileOverridesInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null comment?: NullableStringFieldUpdateOperationsInput | string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string cusip?: NullableStringFieldUpdateOperationsInput | string | null dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource figi?: NullableStringFieldUpdateOperationsInput | string | null figiComposite?: NullableStringFieldUpdateOperationsInput | string | null figiShareClass?: NullableStringFieldUpdateOperationsInput | string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean isin?: NullableStringFieldUpdateOperationsInput | string | null name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol?: StringFieldUpdateOperationsInput | string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: NullableStringFieldUpdateOperationsInput | string | null activities?: OrderUpdateManyWithoutSymbolProfileNestedInput user?: UserUpdateOneWithoutSymbolProfileNestedInput watchedBy?: UserUpdateManyWithoutWatchlistNestedInput } export type SymbolProfileUncheckedUpdateWithoutSymbolProfileOverridesInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null comment?: NullableStringFieldUpdateOperationsInput | string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string cusip?: NullableStringFieldUpdateOperationsInput | string | null dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource figi?: NullableStringFieldUpdateOperationsInput | string | null figiComposite?: NullableStringFieldUpdateOperationsInput | string | null figiShareClass?: NullableStringFieldUpdateOperationsInput | string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean isin?: NullableStringFieldUpdateOperationsInput | string | null name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol?: StringFieldUpdateOperationsInput | string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null activities?: OrderUncheckedUpdateManyWithoutSymbolProfileNestedInput watchedBy?: UserUncheckedUpdateManyWithoutWatchlistNestedInput } export type UserCreateWithoutSubscriptionsInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessCreateNestedManyWithoutUserInput accounts?: AccountCreateNestedManyWithoutUserInput activities?: OrderCreateNestedManyWithoutUserInput analytics?: AnalyticsCreateNestedOneWithoutUserInput apiKeys?: ApiKeyCreateNestedManyWithoutUserInput authDevices?: AuthDeviceCreateNestedManyWithoutUserInput settings?: SettingsCreateNestedOneWithoutUserInput tags?: TagCreateNestedManyWithoutUserInput watchlist?: SymbolProfileCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutSubscriptionsInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessUncheckedCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessUncheckedCreateNestedManyWithoutUserInput accounts?: AccountUncheckedCreateNestedManyWithoutUserInput activities?: OrderUncheckedCreateNestedManyWithoutUserInput analytics?: AnalyticsUncheckedCreateNestedOneWithoutUserInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutUserInput authDevices?: AuthDeviceUncheckedCreateNestedManyWithoutUserInput settings?: SettingsUncheckedCreateNestedOneWithoutUserInput tags?: TagUncheckedCreateNestedManyWithoutUserInput watchlist?: SymbolProfileUncheckedCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutSubscriptionsInput = { where: UserWhereUniqueInput create: XOR } export type UserUpsertWithoutSubscriptionsInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutSubscriptionsInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutSubscriptionsInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUpdateManyWithoutUserNestedInput accounts?: AccountUpdateManyWithoutUserNestedInput activities?: OrderUpdateManyWithoutUserNestedInput analytics?: AnalyticsUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUpdateManyWithoutUserNestedInput settings?: SettingsUpdateOneWithoutUserNestedInput tags?: TagUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutSubscriptionsInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUncheckedUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUncheckedUpdateManyWithoutUserNestedInput accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput activities?: OrderUncheckedUpdateManyWithoutUserNestedInput analytics?: AnalyticsUncheckedUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUncheckedUpdateManyWithoutUserNestedInput settings?: SettingsUncheckedUpdateOneWithoutUserNestedInput tags?: TagUncheckedUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUncheckedUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUncheckedUpdateManyWithoutUserNestedInput } export type OrderCreateWithoutTagsInput = { comment?: string | null createdAt?: Date | string currency?: string | null date: Date | string fee: number id?: string isDraft?: boolean quantity: number type: $Enums.Type unitPrice: number updatedAt?: Date | string account?: AccountCreateNestedOneWithoutActivitiesInput user: UserCreateNestedOneWithoutActivitiesInput SymbolProfile: SymbolProfileCreateNestedOneWithoutActivitiesInput } export type OrderUncheckedCreateWithoutTagsInput = { accountId?: string | null accountUserId?: string | null comment?: string | null createdAt?: Date | string currency?: string | null date: Date | string fee: number id?: string isDraft?: boolean quantity: number symbolProfileId: string type: $Enums.Type unitPrice: number updatedAt?: Date | string userId: string } export type OrderCreateOrConnectWithoutTagsInput = { where: OrderWhereUniqueInput create: XOR } export type UserCreateWithoutTagsInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessCreateNestedManyWithoutUserInput accounts?: AccountCreateNestedManyWithoutUserInput activities?: OrderCreateNestedManyWithoutUserInput analytics?: AnalyticsCreateNestedOneWithoutUserInput apiKeys?: ApiKeyCreateNestedManyWithoutUserInput authDevices?: AuthDeviceCreateNestedManyWithoutUserInput settings?: SettingsCreateNestedOneWithoutUserInput subscriptions?: SubscriptionCreateNestedManyWithoutUserInput watchlist?: SymbolProfileCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileCreateNestedManyWithoutUserInput } export type UserUncheckedCreateWithoutTagsInput = { accessToken?: string | null authChallenge?: string | null createdAt?: Date | string id?: string provider?: $Enums.Provider role?: $Enums.Role thirdPartyId?: string | null updatedAt?: Date | string accessesGet?: AccessUncheckedCreateNestedManyWithoutGranteeUserInput accessesGive?: AccessUncheckedCreateNestedManyWithoutUserInput accounts?: AccountUncheckedCreateNestedManyWithoutUserInput activities?: OrderUncheckedCreateNestedManyWithoutUserInput analytics?: AnalyticsUncheckedCreateNestedOneWithoutUserInput apiKeys?: ApiKeyUncheckedCreateNestedManyWithoutUserInput authDevices?: AuthDeviceUncheckedCreateNestedManyWithoutUserInput settings?: SettingsUncheckedCreateNestedOneWithoutUserInput subscriptions?: SubscriptionUncheckedCreateNestedManyWithoutUserInput watchlist?: SymbolProfileUncheckedCreateNestedManyWithoutWatchedByInput SymbolProfile?: SymbolProfileUncheckedCreateNestedManyWithoutUserInput } export type UserCreateOrConnectWithoutTagsInput = { where: UserWhereUniqueInput create: XOR } export type OrderUpsertWithWhereUniqueWithoutTagsInput = { where: OrderWhereUniqueInput update: XOR create: XOR } export type OrderUpdateWithWhereUniqueWithoutTagsInput = { where: OrderWhereUniqueInput data: XOR } export type OrderUpdateManyWithWhereWithoutTagsInput = { where: OrderScalarWhereInput data: XOR } export type UserUpsertWithoutTagsInput = { update: XOR create: XOR where?: UserWhereInput } export type UserUpdateToOneWithWhereWithoutTagsInput = { where?: UserWhereInput data: XOR } export type UserUpdateWithoutTagsInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUpdateManyWithoutUserNestedInput accounts?: AccountUpdateManyWithoutUserNestedInput activities?: OrderUpdateManyWithoutUserNestedInput analytics?: AnalyticsUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUpdateManyWithoutUserNestedInput settings?: SettingsUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutTagsInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUncheckedUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUncheckedUpdateManyWithoutUserNestedInput accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput activities?: OrderUncheckedUpdateManyWithoutUserNestedInput analytics?: AnalyticsUncheckedUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUncheckedUpdateManyWithoutUserNestedInput settings?: SettingsUncheckedUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUncheckedUpdateManyWithoutUserNestedInput watchlist?: SymbolProfileUncheckedUpdateManyWithoutWatchedByNestedInput SymbolProfile?: SymbolProfileUncheckedUpdateManyWithoutUserNestedInput } export type AccessCreateWithoutGranteeUserInput = { alias?: string | null createdAt?: Date | string id?: string permissions?: AccessCreatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: Date | string user: UserCreateNestedOneWithoutAccessesGiveInput } export type AccessUncheckedCreateWithoutGranteeUserInput = { alias?: string | null createdAt?: Date | string id?: string permissions?: AccessCreatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: Date | string userId: string } export type AccessCreateOrConnectWithoutGranteeUserInput = { where: AccessWhereUniqueInput create: XOR } export type AccessCreateManyGranteeUserInputEnvelope = { data: AccessCreateManyGranteeUserInput | AccessCreateManyGranteeUserInput[] skipDuplicates?: boolean } export type AccessCreateWithoutUserInput = { alias?: string | null createdAt?: Date | string id?: string permissions?: AccessCreatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: Date | string granteeUser?: UserCreateNestedOneWithoutAccessesGetInput } export type AccessUncheckedCreateWithoutUserInput = { alias?: string | null createdAt?: Date | string granteeUserId?: string | null id?: string permissions?: AccessCreatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: Date | string } export type AccessCreateOrConnectWithoutUserInput = { where: AccessWhereUniqueInput create: XOR } export type AccessCreateManyUserInputEnvelope = { data: AccessCreateManyUserInput | AccessCreateManyUserInput[] skipDuplicates?: boolean } export type AccountCreateWithoutUserInput = { balance?: number comment?: string | null createdAt?: Date | string currency?: string | null id?: string isExcluded?: boolean name?: string | null updatedAt?: Date | string activities?: OrderCreateNestedManyWithoutAccountInput balances?: AccountBalanceCreateNestedManyWithoutAccountInput platform?: PlatformCreateNestedOneWithoutAccountsInput } export type AccountUncheckedCreateWithoutUserInput = { balance?: number comment?: string | null createdAt?: Date | string currency?: string | null id?: string isExcluded?: boolean name?: string | null platformId?: string | null updatedAt?: Date | string activities?: OrderUncheckedCreateNestedManyWithoutAccountInput balances?: AccountBalanceUncheckedCreateNestedManyWithoutAccountInput } export type AccountCreateOrConnectWithoutUserInput = { where: AccountWhereUniqueInput create: XOR } export type AccountCreateManyUserInputEnvelope = { data: AccountCreateManyUserInput | AccountCreateManyUserInput[] skipDuplicates?: boolean } export type OrderCreateWithoutUserInput = { comment?: string | null createdAt?: Date | string currency?: string | null date: Date | string fee: number id?: string isDraft?: boolean quantity: number type: $Enums.Type unitPrice: number updatedAt?: Date | string account?: AccountCreateNestedOneWithoutActivitiesInput tags?: TagCreateNestedManyWithoutActivitiesInput SymbolProfile: SymbolProfileCreateNestedOneWithoutActivitiesInput } export type OrderUncheckedCreateWithoutUserInput = { accountId?: string | null accountUserId?: string | null comment?: string | null createdAt?: Date | string currency?: string | null date: Date | string fee: number id?: string isDraft?: boolean quantity: number symbolProfileId: string type: $Enums.Type unitPrice: number updatedAt?: Date | string tags?: TagUncheckedCreateNestedManyWithoutActivitiesInput } export type OrderCreateOrConnectWithoutUserInput = { where: OrderWhereUniqueInput create: XOR } export type OrderCreateManyUserInputEnvelope = { data: OrderCreateManyUserInput | OrderCreateManyUserInput[] skipDuplicates?: boolean } export type AnalyticsCreateWithoutUserInput = { activityCount?: number country?: string | null dataProviderGhostfolioDailyRequests?: number lastRequestAt?: Date | string updatedAt?: Date | string } export type AnalyticsUncheckedCreateWithoutUserInput = { activityCount?: number country?: string | null dataProviderGhostfolioDailyRequests?: number lastRequestAt?: Date | string updatedAt?: Date | string } export type AnalyticsCreateOrConnectWithoutUserInput = { where: AnalyticsWhereUniqueInput create: XOR } export type ApiKeyCreateWithoutUserInput = { createdAt?: Date | string hashedKey: string id?: string updatedAt?: Date | string } export type ApiKeyUncheckedCreateWithoutUserInput = { createdAt?: Date | string hashedKey: string id?: string updatedAt?: Date | string } export type ApiKeyCreateOrConnectWithoutUserInput = { where: ApiKeyWhereUniqueInput create: XOR } export type ApiKeyCreateManyUserInputEnvelope = { data: ApiKeyCreateManyUserInput | ApiKeyCreateManyUserInput[] skipDuplicates?: boolean } export type AuthDeviceCreateWithoutUserInput = { createdAt?: Date | string credentialId: Bytes credentialPublicKey: Bytes counter: number id?: string updatedAt?: Date | string } export type AuthDeviceUncheckedCreateWithoutUserInput = { createdAt?: Date | string credentialId: Bytes credentialPublicKey: Bytes counter: number id?: string updatedAt?: Date | string } export type AuthDeviceCreateOrConnectWithoutUserInput = { where: AuthDeviceWhereUniqueInput create: XOR } export type AuthDeviceCreateManyUserInputEnvelope = { data: AuthDeviceCreateManyUserInput | AuthDeviceCreateManyUserInput[] skipDuplicates?: boolean } export type SettingsCreateWithoutUserInput = { settings?: NullableJsonNullValueInput | InputJsonValue updatedAt?: Date | string } export type SettingsUncheckedCreateWithoutUserInput = { settings?: NullableJsonNullValueInput | InputJsonValue updatedAt?: Date | string } export type SettingsCreateOrConnectWithoutUserInput = { where: SettingsWhereUniqueInput create: XOR } export type SubscriptionCreateWithoutUserInput = { createdAt?: Date | string expiresAt: Date | string id?: string price?: number | null updatedAt?: Date | string } export type SubscriptionUncheckedCreateWithoutUserInput = { createdAt?: Date | string expiresAt: Date | string id?: string price?: number | null updatedAt?: Date | string } export type SubscriptionCreateOrConnectWithoutUserInput = { where: SubscriptionWhereUniqueInput create: XOR } export type SubscriptionCreateManyUserInputEnvelope = { data: SubscriptionCreateManyUserInput | SubscriptionCreateManyUserInput[] skipDuplicates?: boolean } export type TagCreateWithoutUserInput = { id?: string name: string activities?: OrderCreateNestedManyWithoutTagsInput } export type TagUncheckedCreateWithoutUserInput = { id?: string name: string activities?: OrderUncheckedCreateNestedManyWithoutTagsInput } export type TagCreateOrConnectWithoutUserInput = { where: TagWhereUniqueInput create: XOR } export type TagCreateManyUserInputEnvelope = { data: TagCreateManyUserInput | TagCreateManyUserInput[] skipDuplicates?: boolean } export type SymbolProfileCreateWithoutWatchedByInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null comment?: string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string currency: string cusip?: string | null dataSource: $Enums.DataSource figi?: string | null figiComposite?: string | null figiShareClass?: string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: string isActive?: boolean isin?: string | null name?: string | null updatedAt?: Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol: string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: string | null activities?: OrderCreateNestedManyWithoutSymbolProfileInput user?: UserCreateNestedOneWithoutSymbolProfileInput SymbolProfileOverrides?: SymbolProfileOverridesCreateNestedOneWithoutSymbolProfileInput } export type SymbolProfileUncheckedCreateWithoutWatchedByInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null comment?: string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string currency: string cusip?: string | null dataSource: $Enums.DataSource figi?: string | null figiComposite?: string | null figiShareClass?: string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: string isActive?: boolean isin?: string | null name?: string | null updatedAt?: Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol: string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: string | null userId?: string | null activities?: OrderUncheckedCreateNestedManyWithoutSymbolProfileInput SymbolProfileOverrides?: SymbolProfileOverridesUncheckedCreateNestedOneWithoutSymbolProfileInput } export type SymbolProfileCreateOrConnectWithoutWatchedByInput = { where: SymbolProfileWhereUniqueInput create: XOR } export type SymbolProfileCreateWithoutUserInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null comment?: string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string currency: string cusip?: string | null dataSource: $Enums.DataSource figi?: string | null figiComposite?: string | null figiShareClass?: string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: string isActive?: boolean isin?: string | null name?: string | null updatedAt?: Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol: string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: string | null activities?: OrderCreateNestedManyWithoutSymbolProfileInput watchedBy?: UserCreateNestedManyWithoutWatchlistInput SymbolProfileOverrides?: SymbolProfileOverridesCreateNestedOneWithoutSymbolProfileInput } export type SymbolProfileUncheckedCreateWithoutUserInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null comment?: string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string currency: string cusip?: string | null dataSource: $Enums.DataSource figi?: string | null figiComposite?: string | null figiShareClass?: string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: string isActive?: boolean isin?: string | null name?: string | null updatedAt?: Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol: string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: string | null activities?: OrderUncheckedCreateNestedManyWithoutSymbolProfileInput watchedBy?: UserUncheckedCreateNestedManyWithoutWatchlistInput SymbolProfileOverrides?: SymbolProfileOverridesUncheckedCreateNestedOneWithoutSymbolProfileInput } export type SymbolProfileCreateOrConnectWithoutUserInput = { where: SymbolProfileWhereUniqueInput create: XOR } export type SymbolProfileCreateManyUserInputEnvelope = { data: SymbolProfileCreateManyUserInput | SymbolProfileCreateManyUserInput[] skipDuplicates?: boolean } export type AccessUpsertWithWhereUniqueWithoutGranteeUserInput = { where: AccessWhereUniqueInput update: XOR create: XOR } export type AccessUpdateWithWhereUniqueWithoutGranteeUserInput = { where: AccessWhereUniqueInput data: XOR } export type AccessUpdateManyWithWhereWithoutGranteeUserInput = { where: AccessScalarWhereInput data: XOR } export type AccessScalarWhereInput = { AND?: AccessScalarWhereInput | AccessScalarWhereInput[] OR?: AccessScalarWhereInput[] NOT?: AccessScalarWhereInput | AccessScalarWhereInput[] alias?: StringNullableFilter<"Access"> | string | null createdAt?: DateTimeFilter<"Access"> | Date | string granteeUserId?: StringNullableFilter<"Access"> | string | null id?: StringFilter<"Access"> | string permissions?: EnumAccessPermissionNullableListFilter<"Access"> settings?: JsonFilter<"Access"> updatedAt?: DateTimeFilter<"Access"> | Date | string userId?: StringFilter<"Access"> | string } export type AccessUpsertWithWhereUniqueWithoutUserInput = { where: AccessWhereUniqueInput update: XOR create: XOR } export type AccessUpdateWithWhereUniqueWithoutUserInput = { where: AccessWhereUniqueInput data: XOR } export type AccessUpdateManyWithWhereWithoutUserInput = { where: AccessScalarWhereInput data: XOR } export type AccountUpsertWithWhereUniqueWithoutUserInput = { where: AccountWhereUniqueInput update: XOR create: XOR } export type AccountUpdateWithWhereUniqueWithoutUserInput = { where: AccountWhereUniqueInput data: XOR } export type AccountUpdateManyWithWhereWithoutUserInput = { where: AccountScalarWhereInput data: XOR } export type OrderUpsertWithWhereUniqueWithoutUserInput = { where: OrderWhereUniqueInput update: XOR create: XOR } export type OrderUpdateWithWhereUniqueWithoutUserInput = { where: OrderWhereUniqueInput data: XOR } export type OrderUpdateManyWithWhereWithoutUserInput = { where: OrderScalarWhereInput data: XOR } export type AnalyticsUpsertWithoutUserInput = { update: XOR create: XOR where?: AnalyticsWhereInput } export type AnalyticsUpdateToOneWithWhereWithoutUserInput = { where?: AnalyticsWhereInput data: XOR } export type AnalyticsUpdateWithoutUserInput = { activityCount?: IntFieldUpdateOperationsInput | number country?: NullableStringFieldUpdateOperationsInput | string | null dataProviderGhostfolioDailyRequests?: IntFieldUpdateOperationsInput | number lastRequestAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AnalyticsUncheckedUpdateWithoutUserInput = { activityCount?: IntFieldUpdateOperationsInput | number country?: NullableStringFieldUpdateOperationsInput | string | null dataProviderGhostfolioDailyRequests?: IntFieldUpdateOperationsInput | number lastRequestAt?: DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ApiKeyUpsertWithWhereUniqueWithoutUserInput = { where: ApiKeyWhereUniqueInput update: XOR create: XOR } export type ApiKeyUpdateWithWhereUniqueWithoutUserInput = { where: ApiKeyWhereUniqueInput data: XOR } export type ApiKeyUpdateManyWithWhereWithoutUserInput = { where: ApiKeyScalarWhereInput data: XOR } export type ApiKeyScalarWhereInput = { AND?: ApiKeyScalarWhereInput | ApiKeyScalarWhereInput[] OR?: ApiKeyScalarWhereInput[] NOT?: ApiKeyScalarWhereInput | ApiKeyScalarWhereInput[] createdAt?: DateTimeFilter<"ApiKey"> | Date | string hashedKey?: StringFilter<"ApiKey"> | string id?: StringFilter<"ApiKey"> | string updatedAt?: DateTimeFilter<"ApiKey"> | Date | string userId?: StringFilter<"ApiKey"> | string } export type AuthDeviceUpsertWithWhereUniqueWithoutUserInput = { where: AuthDeviceWhereUniqueInput update: XOR create: XOR } export type AuthDeviceUpdateWithWhereUniqueWithoutUserInput = { where: AuthDeviceWhereUniqueInput data: XOR } export type AuthDeviceUpdateManyWithWhereWithoutUserInput = { where: AuthDeviceScalarWhereInput data: XOR } export type AuthDeviceScalarWhereInput = { AND?: AuthDeviceScalarWhereInput | AuthDeviceScalarWhereInput[] OR?: AuthDeviceScalarWhereInput[] NOT?: AuthDeviceScalarWhereInput | AuthDeviceScalarWhereInput[] createdAt?: DateTimeFilter<"AuthDevice"> | Date | string credentialId?: BytesFilter<"AuthDevice"> | Bytes credentialPublicKey?: BytesFilter<"AuthDevice"> | Bytes counter?: IntFilter<"AuthDevice"> | number id?: StringFilter<"AuthDevice"> | string updatedAt?: DateTimeFilter<"AuthDevice"> | Date | string userId?: StringFilter<"AuthDevice"> | string } export type SettingsUpsertWithoutUserInput = { update: XOR create: XOR where?: SettingsWhereInput } export type SettingsUpdateToOneWithWhereWithoutUserInput = { where?: SettingsWhereInput data: XOR } export type SettingsUpdateWithoutUserInput = { settings?: NullableJsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SettingsUncheckedUpdateWithoutUserInput = { settings?: NullableJsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SubscriptionUpsertWithWhereUniqueWithoutUserInput = { where: SubscriptionWhereUniqueInput update: XOR create: XOR } export type SubscriptionUpdateWithWhereUniqueWithoutUserInput = { where: SubscriptionWhereUniqueInput data: XOR } export type SubscriptionUpdateManyWithWhereWithoutUserInput = { where: SubscriptionScalarWhereInput data: XOR } export type SubscriptionScalarWhereInput = { AND?: SubscriptionScalarWhereInput | SubscriptionScalarWhereInput[] OR?: SubscriptionScalarWhereInput[] NOT?: SubscriptionScalarWhereInput | SubscriptionScalarWhereInput[] createdAt?: DateTimeFilter<"Subscription"> | Date | string expiresAt?: DateTimeFilter<"Subscription"> | Date | string id?: StringFilter<"Subscription"> | string price?: FloatNullableFilter<"Subscription"> | number | null updatedAt?: DateTimeFilter<"Subscription"> | Date | string userId?: StringFilter<"Subscription"> | string } export type TagUpsertWithWhereUniqueWithoutUserInput = { where: TagWhereUniqueInput update: XOR create: XOR } export type TagUpdateWithWhereUniqueWithoutUserInput = { where: TagWhereUniqueInput data: XOR } export type TagUpdateManyWithWhereWithoutUserInput = { where: TagScalarWhereInput data: XOR } export type SymbolProfileUpsertWithWhereUniqueWithoutWatchedByInput = { where: SymbolProfileWhereUniqueInput update: XOR create: XOR } export type SymbolProfileUpdateWithWhereUniqueWithoutWatchedByInput = { where: SymbolProfileWhereUniqueInput data: XOR } export type SymbolProfileUpdateManyWithWhereWithoutWatchedByInput = { where: SymbolProfileScalarWhereInput data: XOR } export type SymbolProfileScalarWhereInput = { AND?: SymbolProfileScalarWhereInput | SymbolProfileScalarWhereInput[] OR?: SymbolProfileScalarWhereInput[] NOT?: SymbolProfileScalarWhereInput | SymbolProfileScalarWhereInput[] assetClass?: EnumAssetClassNullableFilter<"SymbolProfile"> | $Enums.AssetClass | null assetSubClass?: EnumAssetSubClassNullableFilter<"SymbolProfile"> | $Enums.AssetSubClass | null comment?: StringNullableFilter<"SymbolProfile"> | string | null countries?: JsonNullableFilter<"SymbolProfile"> createdAt?: DateTimeFilter<"SymbolProfile"> | Date | string currency?: StringFilter<"SymbolProfile"> | string cusip?: StringNullableFilter<"SymbolProfile"> | string | null dataSource?: EnumDataSourceFilter<"SymbolProfile"> | $Enums.DataSource figi?: StringNullableFilter<"SymbolProfile"> | string | null figiComposite?: StringNullableFilter<"SymbolProfile"> | string | null figiShareClass?: StringNullableFilter<"SymbolProfile"> | string | null holdings?: JsonNullableFilter<"SymbolProfile"> id?: StringFilter<"SymbolProfile"> | string isActive?: BoolFilter<"SymbolProfile"> | boolean isin?: StringNullableFilter<"SymbolProfile"> | string | null name?: StringNullableFilter<"SymbolProfile"> | string | null updatedAt?: DateTimeFilter<"SymbolProfile"> | Date | string scraperConfiguration?: JsonNullableFilter<"SymbolProfile"> sectors?: JsonNullableFilter<"SymbolProfile"> symbol?: StringFilter<"SymbolProfile"> | string symbolMapping?: JsonNullableFilter<"SymbolProfile"> url?: StringNullableFilter<"SymbolProfile"> | string | null userId?: StringNullableFilter<"SymbolProfile"> | string | null } export type SymbolProfileUpsertWithWhereUniqueWithoutUserInput = { where: SymbolProfileWhereUniqueInput update: XOR create: XOR } export type SymbolProfileUpdateWithWhereUniqueWithoutUserInput = { where: SymbolProfileWhereUniqueInput data: XOR } export type SymbolProfileUpdateManyWithWhereWithoutUserInput = { where: SymbolProfileScalarWhereInput data: XOR } export type OrderCreateManyAccountInput = { comment?: string | null createdAt?: Date | string currency?: string | null date: Date | string fee: number id?: string isDraft?: boolean quantity: number symbolProfileId: string type: $Enums.Type unitPrice: number updatedAt?: Date | string userId: string } export type AccountBalanceCreateManyAccountInput = { createdAt?: Date | string date?: Date | string id?: string updatedAt?: Date | string value: number } export type OrderUpdateWithoutAccountInput = { comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string tags?: TagUpdateManyWithoutActivitiesNestedInput user?: UserUpdateOneRequiredWithoutActivitiesNestedInput SymbolProfile?: SymbolProfileUpdateOneRequiredWithoutActivitiesNestedInput } export type OrderUncheckedUpdateWithoutAccountInput = { comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number symbolProfileId?: StringFieldUpdateOperationsInput | string type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string tags?: TagUncheckedUpdateManyWithoutActivitiesNestedInput } export type OrderUncheckedUpdateManyWithoutAccountInput = { comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number symbolProfileId?: StringFieldUpdateOperationsInput | string type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type AccountBalanceUpdateWithoutAccountInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string date?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string value?: FloatFieldUpdateOperationsInput | number } export type AccountBalanceUncheckedUpdateWithoutAccountInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string date?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string value?: FloatFieldUpdateOperationsInput | number } export type AccountBalanceUncheckedUpdateManyWithoutAccountInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string date?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string value?: FloatFieldUpdateOperationsInput | number } export type TagUpdateWithoutActivitiesInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string user?: UserUpdateOneWithoutTagsNestedInput } export type TagUncheckedUpdateWithoutActivitiesInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string userId?: NullableStringFieldUpdateOperationsInput | string | null } export type TagUncheckedUpdateManyWithoutActivitiesInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string userId?: NullableStringFieldUpdateOperationsInput | string | null } export type AccountCreateManyPlatformInput = { balance?: number comment?: string | null createdAt?: Date | string currency?: string | null id?: string isExcluded?: boolean name?: string | null updatedAt?: Date | string userId: string } export type AccountUpdateWithoutPlatformInput = { balance?: FloatFieldUpdateOperationsInput | number comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string isExcluded?: BoolFieldUpdateOperationsInput | boolean name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string activities?: OrderUpdateManyWithoutAccountNestedInput balances?: AccountBalanceUpdateManyWithoutAccountNestedInput user?: UserUpdateOneRequiredWithoutAccountsNestedInput } export type AccountUncheckedUpdateWithoutPlatformInput = { balance?: FloatFieldUpdateOperationsInput | number comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string isExcluded?: BoolFieldUpdateOperationsInput | boolean name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string activities?: OrderUncheckedUpdateManyWithoutAccountNestedInput balances?: AccountBalanceUncheckedUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateManyWithoutPlatformInput = { balance?: FloatFieldUpdateOperationsInput | number comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string isExcluded?: BoolFieldUpdateOperationsInput | boolean name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type OrderCreateManySymbolProfileInput = { accountId?: string | null accountUserId?: string | null comment?: string | null createdAt?: Date | string currency?: string | null date: Date | string fee: number id?: string isDraft?: boolean quantity: number type: $Enums.Type unitPrice: number updatedAt?: Date | string userId: string } export type OrderUpdateWithoutSymbolProfileInput = { comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string account?: AccountUpdateOneWithoutActivitiesNestedInput tags?: TagUpdateManyWithoutActivitiesNestedInput user?: UserUpdateOneRequiredWithoutActivitiesNestedInput } export type OrderUncheckedUpdateWithoutSymbolProfileInput = { accountId?: NullableStringFieldUpdateOperationsInput | string | null accountUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string tags?: TagUncheckedUpdateManyWithoutActivitiesNestedInput } export type OrderUncheckedUpdateManyWithoutSymbolProfileInput = { accountId?: NullableStringFieldUpdateOperationsInput | string | null accountUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type UserUpdateWithoutWatchlistInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUpdateManyWithoutUserNestedInput accounts?: AccountUpdateManyWithoutUserNestedInput activities?: OrderUpdateManyWithoutUserNestedInput analytics?: AnalyticsUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUpdateManyWithoutUserNestedInput settings?: SettingsUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUpdateManyWithoutUserNestedInput tags?: TagUpdateManyWithoutUserNestedInput SymbolProfile?: SymbolProfileUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateWithoutWatchlistInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string accessesGet?: AccessUncheckedUpdateManyWithoutGranteeUserNestedInput accessesGive?: AccessUncheckedUpdateManyWithoutUserNestedInput accounts?: AccountUncheckedUpdateManyWithoutUserNestedInput activities?: OrderUncheckedUpdateManyWithoutUserNestedInput analytics?: AnalyticsUncheckedUpdateOneWithoutUserNestedInput apiKeys?: ApiKeyUncheckedUpdateManyWithoutUserNestedInput authDevices?: AuthDeviceUncheckedUpdateManyWithoutUserNestedInput settings?: SettingsUncheckedUpdateOneWithoutUserNestedInput subscriptions?: SubscriptionUncheckedUpdateManyWithoutUserNestedInput tags?: TagUncheckedUpdateManyWithoutUserNestedInput SymbolProfile?: SymbolProfileUncheckedUpdateManyWithoutUserNestedInput } export type UserUncheckedUpdateManyWithoutWatchlistInput = { accessToken?: NullableStringFieldUpdateOperationsInput | string | null authChallenge?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string provider?: EnumProviderFieldUpdateOperationsInput | $Enums.Provider role?: EnumRoleFieldUpdateOperationsInput | $Enums.Role thirdPartyId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type OrderUpdateWithoutTagsInput = { comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string account?: AccountUpdateOneWithoutActivitiesNestedInput user?: UserUpdateOneRequiredWithoutActivitiesNestedInput SymbolProfile?: SymbolProfileUpdateOneRequiredWithoutActivitiesNestedInput } export type OrderUncheckedUpdateWithoutTagsInput = { accountId?: NullableStringFieldUpdateOperationsInput | string | null accountUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number symbolProfileId?: StringFieldUpdateOperationsInput | string type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type OrderUncheckedUpdateManyWithoutTagsInput = { accountId?: NullableStringFieldUpdateOperationsInput | string | null accountUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number symbolProfileId?: StringFieldUpdateOperationsInput | string type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type AccessCreateManyGranteeUserInput = { alias?: string | null createdAt?: Date | string id?: string permissions?: AccessCreatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: Date | string userId: string } export type AccessCreateManyUserInput = { alias?: string | null createdAt?: Date | string granteeUserId?: string | null id?: string permissions?: AccessCreatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: Date | string } export type AccountCreateManyUserInput = { balance?: number comment?: string | null createdAt?: Date | string currency?: string | null id?: string isExcluded?: boolean name?: string | null platformId?: string | null updatedAt?: Date | string } export type OrderCreateManyUserInput = { accountId?: string | null accountUserId?: string | null comment?: string | null createdAt?: Date | string currency?: string | null date: Date | string fee: number id?: string isDraft?: boolean quantity: number symbolProfileId: string type: $Enums.Type unitPrice: number updatedAt?: Date | string } export type ApiKeyCreateManyUserInput = { createdAt?: Date | string hashedKey: string id?: string updatedAt?: Date | string } export type AuthDeviceCreateManyUserInput = { createdAt?: Date | string credentialId: Bytes credentialPublicKey: Bytes counter: number id?: string updatedAt?: Date | string } export type SubscriptionCreateManyUserInput = { createdAt?: Date | string expiresAt: Date | string id?: string price?: number | null updatedAt?: Date | string } export type TagCreateManyUserInput = { id?: string name: string } export type SymbolProfileCreateManyUserInput = { assetClass?: $Enums.AssetClass | null assetSubClass?: $Enums.AssetSubClass | null comment?: string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: Date | string currency: string cusip?: string | null dataSource: $Enums.DataSource figi?: string | null figiComposite?: string | null figiShareClass?: string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: string isActive?: boolean isin?: string | null name?: string | null updatedAt?: Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol: string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: string | null } export type AccessUpdateWithoutGranteeUserInput = { alias?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string permissions?: AccessUpdatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string user?: UserUpdateOneRequiredWithoutAccessesGiveNestedInput } export type AccessUncheckedUpdateWithoutGranteeUserInput = { alias?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string permissions?: AccessUpdatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type AccessUncheckedUpdateManyWithoutGranteeUserInput = { alias?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string permissions?: AccessUpdatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string userId?: StringFieldUpdateOperationsInput | string } export type AccessUpdateWithoutUserInput = { alias?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string permissions?: AccessUpdatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string granteeUser?: UserUpdateOneWithoutAccessesGetNestedInput } export type AccessUncheckedUpdateWithoutUserInput = { alias?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string granteeUserId?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string permissions?: AccessUpdatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AccessUncheckedUpdateManyWithoutUserInput = { alias?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string granteeUserId?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string permissions?: AccessUpdatepermissionsInput | $Enums.AccessPermission[] settings?: JsonNullValueInput | InputJsonValue updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AccountUpdateWithoutUserInput = { balance?: FloatFieldUpdateOperationsInput | number comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string isExcluded?: BoolFieldUpdateOperationsInput | boolean name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string activities?: OrderUpdateManyWithoutAccountNestedInput balances?: AccountBalanceUpdateManyWithoutAccountNestedInput platform?: PlatformUpdateOneWithoutAccountsNestedInput } export type AccountUncheckedUpdateWithoutUserInput = { balance?: FloatFieldUpdateOperationsInput | number comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string isExcluded?: BoolFieldUpdateOperationsInput | boolean name?: NullableStringFieldUpdateOperationsInput | string | null platformId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string activities?: OrderUncheckedUpdateManyWithoutAccountNestedInput balances?: AccountBalanceUncheckedUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateManyWithoutUserInput = { balance?: FloatFieldUpdateOperationsInput | number comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null id?: StringFieldUpdateOperationsInput | string isExcluded?: BoolFieldUpdateOperationsInput | boolean name?: NullableStringFieldUpdateOperationsInput | string | null platformId?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type OrderUpdateWithoutUserInput = { comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string account?: AccountUpdateOneWithoutActivitiesNestedInput tags?: TagUpdateManyWithoutActivitiesNestedInput SymbolProfile?: SymbolProfileUpdateOneRequiredWithoutActivitiesNestedInput } export type OrderUncheckedUpdateWithoutUserInput = { accountId?: NullableStringFieldUpdateOperationsInput | string | null accountUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number symbolProfileId?: StringFieldUpdateOperationsInput | string type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string tags?: TagUncheckedUpdateManyWithoutActivitiesNestedInput } export type OrderUncheckedUpdateManyWithoutUserInput = { accountId?: NullableStringFieldUpdateOperationsInput | string | null accountUserId?: NullableStringFieldUpdateOperationsInput | string | null comment?: NullableStringFieldUpdateOperationsInput | string | null createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: NullableStringFieldUpdateOperationsInput | string | null date?: DateTimeFieldUpdateOperationsInput | Date | string fee?: FloatFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string isDraft?: BoolFieldUpdateOperationsInput | boolean quantity?: FloatFieldUpdateOperationsInput | number symbolProfileId?: StringFieldUpdateOperationsInput | string type?: EnumTypeFieldUpdateOperationsInput | $Enums.Type unitPrice?: FloatFieldUpdateOperationsInput | number updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ApiKeyUpdateWithoutUserInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string hashedKey?: StringFieldUpdateOperationsInput | string id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ApiKeyUncheckedUpdateWithoutUserInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string hashedKey?: StringFieldUpdateOperationsInput | string id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type ApiKeyUncheckedUpdateManyWithoutUserInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string hashedKey?: StringFieldUpdateOperationsInput | string id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AuthDeviceUpdateWithoutUserInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string credentialId?: BytesFieldUpdateOperationsInput | Bytes credentialPublicKey?: BytesFieldUpdateOperationsInput | Bytes counter?: IntFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AuthDeviceUncheckedUpdateWithoutUserInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string credentialId?: BytesFieldUpdateOperationsInput | Bytes credentialPublicKey?: BytesFieldUpdateOperationsInput | Bytes counter?: IntFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type AuthDeviceUncheckedUpdateManyWithoutUserInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string credentialId?: BytesFieldUpdateOperationsInput | Bytes credentialPublicKey?: BytesFieldUpdateOperationsInput | Bytes counter?: IntFieldUpdateOperationsInput | number id?: StringFieldUpdateOperationsInput | string updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SubscriptionUpdateWithoutUserInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string price?: NullableFloatFieldUpdateOperationsInput | number | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SubscriptionUncheckedUpdateWithoutUserInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string price?: NullableFloatFieldUpdateOperationsInput | number | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type SubscriptionUncheckedUpdateManyWithoutUserInput = { createdAt?: DateTimeFieldUpdateOperationsInput | Date | string expiresAt?: DateTimeFieldUpdateOperationsInput | Date | string id?: StringFieldUpdateOperationsInput | string price?: NullableFloatFieldUpdateOperationsInput | number | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string } export type TagUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string activities?: OrderUpdateManyWithoutTagsNestedInput } export type TagUncheckedUpdateWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string activities?: OrderUncheckedUpdateManyWithoutTagsNestedInput } export type TagUncheckedUpdateManyWithoutUserInput = { id?: StringFieldUpdateOperationsInput | string name?: StringFieldUpdateOperationsInput | string } export type SymbolProfileUpdateWithoutWatchedByInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null comment?: NullableStringFieldUpdateOperationsInput | string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string cusip?: NullableStringFieldUpdateOperationsInput | string | null dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource figi?: NullableStringFieldUpdateOperationsInput | string | null figiComposite?: NullableStringFieldUpdateOperationsInput | string | null figiShareClass?: NullableStringFieldUpdateOperationsInput | string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean isin?: NullableStringFieldUpdateOperationsInput | string | null name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol?: StringFieldUpdateOperationsInput | string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: NullableStringFieldUpdateOperationsInput | string | null activities?: OrderUpdateManyWithoutSymbolProfileNestedInput user?: UserUpdateOneWithoutSymbolProfileNestedInput SymbolProfileOverrides?: SymbolProfileOverridesUpdateOneWithoutSymbolProfileNestedInput } export type SymbolProfileUncheckedUpdateWithoutWatchedByInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null comment?: NullableStringFieldUpdateOperationsInput | string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string cusip?: NullableStringFieldUpdateOperationsInput | string | null dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource figi?: NullableStringFieldUpdateOperationsInput | string | null figiComposite?: NullableStringFieldUpdateOperationsInput | string | null figiShareClass?: NullableStringFieldUpdateOperationsInput | string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean isin?: NullableStringFieldUpdateOperationsInput | string | null name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol?: StringFieldUpdateOperationsInput | string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null activities?: OrderUncheckedUpdateManyWithoutSymbolProfileNestedInput SymbolProfileOverrides?: SymbolProfileOverridesUncheckedUpdateOneWithoutSymbolProfileNestedInput } export type SymbolProfileUncheckedUpdateManyWithoutWatchedByInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null comment?: NullableStringFieldUpdateOperationsInput | string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string cusip?: NullableStringFieldUpdateOperationsInput | string | null dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource figi?: NullableStringFieldUpdateOperationsInput | string | null figiComposite?: NullableStringFieldUpdateOperationsInput | string | null figiShareClass?: NullableStringFieldUpdateOperationsInput | string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean isin?: NullableStringFieldUpdateOperationsInput | string | null name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol?: StringFieldUpdateOperationsInput | string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: NullableStringFieldUpdateOperationsInput | string | null userId?: NullableStringFieldUpdateOperationsInput | string | null } export type SymbolProfileUpdateWithoutUserInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null comment?: NullableStringFieldUpdateOperationsInput | string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string cusip?: NullableStringFieldUpdateOperationsInput | string | null dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource figi?: NullableStringFieldUpdateOperationsInput | string | null figiComposite?: NullableStringFieldUpdateOperationsInput | string | null figiShareClass?: NullableStringFieldUpdateOperationsInput | string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean isin?: NullableStringFieldUpdateOperationsInput | string | null name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol?: StringFieldUpdateOperationsInput | string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: NullableStringFieldUpdateOperationsInput | string | null activities?: OrderUpdateManyWithoutSymbolProfileNestedInput watchedBy?: UserUpdateManyWithoutWatchlistNestedInput SymbolProfileOverrides?: SymbolProfileOverridesUpdateOneWithoutSymbolProfileNestedInput } export type SymbolProfileUncheckedUpdateWithoutUserInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null comment?: NullableStringFieldUpdateOperationsInput | string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string cusip?: NullableStringFieldUpdateOperationsInput | string | null dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource figi?: NullableStringFieldUpdateOperationsInput | string | null figiComposite?: NullableStringFieldUpdateOperationsInput | string | null figiShareClass?: NullableStringFieldUpdateOperationsInput | string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean isin?: NullableStringFieldUpdateOperationsInput | string | null name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol?: StringFieldUpdateOperationsInput | string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: NullableStringFieldUpdateOperationsInput | string | null activities?: OrderUncheckedUpdateManyWithoutSymbolProfileNestedInput watchedBy?: UserUncheckedUpdateManyWithoutWatchlistNestedInput SymbolProfileOverrides?: SymbolProfileOverridesUncheckedUpdateOneWithoutSymbolProfileNestedInput } export type SymbolProfileUncheckedUpdateManyWithoutUserInput = { assetClass?: NullableEnumAssetClassFieldUpdateOperationsInput | $Enums.AssetClass | null assetSubClass?: NullableEnumAssetSubClassFieldUpdateOperationsInput | $Enums.AssetSubClass | null comment?: NullableStringFieldUpdateOperationsInput | string | null countries?: NullableJsonNullValueInput | InputJsonValue createdAt?: DateTimeFieldUpdateOperationsInput | Date | string currency?: StringFieldUpdateOperationsInput | string cusip?: NullableStringFieldUpdateOperationsInput | string | null dataSource?: EnumDataSourceFieldUpdateOperationsInput | $Enums.DataSource figi?: NullableStringFieldUpdateOperationsInput | string | null figiComposite?: NullableStringFieldUpdateOperationsInput | string | null figiShareClass?: NullableStringFieldUpdateOperationsInput | string | null holdings?: NullableJsonNullValueInput | InputJsonValue id?: StringFieldUpdateOperationsInput | string isActive?: BoolFieldUpdateOperationsInput | boolean isin?: NullableStringFieldUpdateOperationsInput | string | null name?: NullableStringFieldUpdateOperationsInput | string | null updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string scraperConfiguration?: NullableJsonNullValueInput | InputJsonValue sectors?: NullableJsonNullValueInput | InputJsonValue symbol?: StringFieldUpdateOperationsInput | string symbolMapping?: NullableJsonNullValueInput | InputJsonValue url?: NullableStringFieldUpdateOperationsInput | string | null } /** * Batch Payload for updateMany & deleteMany & createMany */ export type BatchPayload = { count: number } /** * DMMF */ export const dmmf: runtime.BaseDMMF }