/** * Client **/ import * as runtime from './runtime/library.js'; import $Types = runtime.Types // general types import $Public = runtime.Types.Public import $Utils = runtime.Types.Utils import $Extensions = runtime.Types.Extensions import $Result = runtime.Types.Result export type PrismaPromise = $Public.PrismaPromise /** * Model AdminAccount * */ export type AdminAccount = $Result.DefaultSelection /** * Model AppCredential * */ export type AppCredential = $Result.DefaultSelection /** * Model AppContent * */ export type AppContent = $Result.DefaultSelection /** * Model AppCampaign * */ export type AppCampaign = $Result.DefaultSelection /** * Model CampaignDelivery * */ export type CampaignDelivery = $Result.DefaultSelection /** * Model UsersToken * */ export type UsersToken = $Result.DefaultSelection /** * Model UsersActivity * */ export type UsersActivity = $Result.DefaultSelection /** * Model CrashReport * */ export type CrashReport = $Result.DefaultSelection /** * Model CrashSession * */ export type CrashSession = $Result.DefaultSelection /** * Model CrashAnalytics * */ export type CrashAnalytics = $Result.DefaultSelection /** * Model AINotification * */ export type AINotification = $Result.DefaultSelection /** * Model AINotificationAnalytics * */ export type AINotificationAnalytics = $Result.DefaultSelection /** * Model AppMenu * */ export type AppMenu = $Result.DefaultSelection /** * Enums */ export namespace $Enums { export const MenuType: { IN_APP_ROUTE: 'IN_APP_ROUTE', WEB_OPEN: 'WEB_OPEN' }; export type MenuType = (typeof MenuType)[keyof typeof MenuType] export const CampaignStatus: { failed: 'failed', pending: 'pending', cancelled: 'cancelled', completed: 'completed' }; export type CampaignStatus = (typeof CampaignStatus)[keyof typeof CampaignStatus] export const ContentType: { splash: 'splash', promo: 'promo', article: 'article', banner: 'banner', floatingWidget: 'floatingWidget' }; export type ContentType = (typeof ContentType)[keyof typeof ContentType] export const CorpType: { walanja: 'walanja', simaya: 'simaya', cifo: 'cifo' }; export type CorpType = (typeof CorpType)[keyof typeof CorpType] export const ActivityType: { VisitHotel: 'VisitHotel', VisitRoom: 'VisitRoom', VisitRetail: 'VisitRetail', VisitCCTV: 'VisitCCTV', VisitTopup: 'VisitTopup', VisitTransfer: 'VisitTransfer', VisitSwap: 'VisitSwap', CheckBalance: 'CheckBalance', InputDepositAmount: 'InputDepositAmount', InputTransferAmount: 'InputTransferAmount', ScanQRCode: 'ScanQRCode', SelectSwapPair: 'SelectSwapPair', ViewArticle: 'ViewArticle', ViewPromo: 'ViewPromo', ViewDiscount: 'ViewDiscount', SearchHotel: 'SearchHotel', FilterHotel: 'FilterHotel', ViewHotelGallery: 'ViewHotelGallery', CheckRoomAvail: 'CheckRoomAvail', ViewProfile: 'ViewProfile', UpdateProfile: 'UpdateProfile', ChangePIN: 'ChangePIN', ViewQRCode: 'ViewQRCode', InitiateBooking: 'InitiateBooking', SelectCheckInDate: 'SelectCheckInDate', SelectCheckOutDate: 'SelectCheckOutDate', ViewBookingSummary: 'ViewBookingSummary', SelectPaymentMethod: 'SelectPaymentMethod', ViewPaymentEstimate: 'ViewPaymentEstimate', InitiatePayment: 'InitiatePayment', CheckInternetBill: 'CheckInternetBill', ViewTransactionHistory: 'ViewTransactionHistory', ViewNotification: 'ViewNotification', ShareContent: 'ShareContent', SaveFavorite: 'SaveFavorite', ContactSupport: 'ContactSupport', ViewFAQ: 'ViewFAQ' }; export type ActivityType = (typeof ActivityType)[keyof typeof ActivityType] export const DeliveryStatus: { pending: 'pending', scheduled: 'scheduled', sent: 'sent', delivered: 'delivered', failed: 'failed', cancelled: 'cancelled' }; export type DeliveryStatus = (typeof DeliveryStatus)[keyof typeof DeliveryStatus] export const CrashSeverity: { fatal: 'fatal', error: 'error', warning: 'warning', info: 'info' }; export type CrashSeverity = (typeof CrashSeverity)[keyof typeof CrashSeverity] export const CrashStatus: { new: 'new', acknowledged: 'acknowledged', resolved: 'resolved', ignored: 'ignored' }; export type CrashStatus = (typeof CrashStatus)[keyof typeof CrashStatus] export const DeviceOS: { android: 'android', ios: 'ios', web: 'web', desktop: 'desktop' }; export type DeviceOS = (typeof DeviceOS)[keyof typeof DeviceOS] } export type MenuType = $Enums.MenuType export const MenuType: typeof $Enums.MenuType export type CampaignStatus = $Enums.CampaignStatus export const CampaignStatus: typeof $Enums.CampaignStatus export type ContentType = $Enums.ContentType export const ContentType: typeof $Enums.ContentType export type CorpType = $Enums.CorpType export const CorpType: typeof $Enums.CorpType export type ActivityType = $Enums.ActivityType export const ActivityType: typeof $Enums.ActivityType export type DeliveryStatus = $Enums.DeliveryStatus export const DeliveryStatus: typeof $Enums.DeliveryStatus export type CrashSeverity = $Enums.CrashSeverity export const CrashSeverity: typeof $Enums.CrashSeverity export type CrashStatus = $Enums.CrashStatus export const CrashStatus: typeof $Enums.CrashStatus export type DeviceOS = $Enums.DeviceOS export const DeviceOS: typeof $Enums.DeviceOS /** * ## Prisma Client ʲˢ * * Type-safe database client for TypeScript & Node.js * @example * ``` * const prisma = new PrismaClient() * // Fetch zero or more AdminAccounts * const adminAccounts = await prisma.adminAccount.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 AdminAccounts * const adminAccounts = await prisma.adminAccount.findMany() * ``` * * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). */ constructor(optionsArg ?: Prisma.Subset); $on(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient; /** * Connect with the database */ $connect(): $Utils.JsPromise; /** * Disconnect from the database */ $disconnect(): $Utils.JsPromise; /** * Add a middleware * @deprecated since 4.16.0. For new code, prefer client extensions instead. * @see https://pris.ly/d/extensions */ $use(cb: Prisma.Middleware): void /** * Executes a prepared raw query and returns the number of affected rows. * @example * ``` * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};` * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $executeRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; /** * Executes a raw query and returns the number of affected rows. * Susceptible to SQL injections, see documentation. * @example * ``` * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com') * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $executeRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; /** * Performs a prepared raw query and returns the `SELECT` data. * @example * ``` * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};` * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $queryRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; /** * Performs a raw query and returns the `SELECT` data. * Susceptible to SQL injections, see documentation. * @example * ``` * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com') * ``` * * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access). */ $queryRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; /** * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. * @example * ``` * const [george, bob, alice] = await prisma.$transaction([ * prisma.user.create({ data: { name: 'George' } }), * prisma.user.create({ data: { name: 'Bob' } }), * prisma.user.create({ data: { name: 'Alice' } }), * ]) * ``` * * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions). */ $transaction

[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise> $transaction(fn: (prisma: Omit) => $Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise $extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, $Utils.Call, { extArgs: ExtArgs }>> /** * `prisma.adminAccount`: Exposes CRUD operations for the **AdminAccount** model. * Example usage: * ```ts * // Fetch zero or more AdminAccounts * const adminAccounts = await prisma.adminAccount.findMany() * ``` */ get adminAccount(): Prisma.AdminAccountDelegate; /** * `prisma.appCredential`: Exposes CRUD operations for the **AppCredential** model. * Example usage: * ```ts * // Fetch zero or more AppCredentials * const appCredentials = await prisma.appCredential.findMany() * ``` */ get appCredential(): Prisma.AppCredentialDelegate; /** * `prisma.appContent`: Exposes CRUD operations for the **AppContent** model. * Example usage: * ```ts * // Fetch zero or more AppContents * const appContents = await prisma.appContent.findMany() * ``` */ get appContent(): Prisma.AppContentDelegate; /** * `prisma.appCampaign`: Exposes CRUD operations for the **AppCampaign** model. * Example usage: * ```ts * // Fetch zero or more AppCampaigns * const appCampaigns = await prisma.appCampaign.findMany() * ``` */ get appCampaign(): Prisma.AppCampaignDelegate; /** * `prisma.campaignDelivery`: Exposes CRUD operations for the **CampaignDelivery** model. * Example usage: * ```ts * // Fetch zero or more CampaignDeliveries * const campaignDeliveries = await prisma.campaignDelivery.findMany() * ``` */ get campaignDelivery(): Prisma.CampaignDeliveryDelegate; /** * `prisma.usersToken`: Exposes CRUD operations for the **UsersToken** model. * Example usage: * ```ts * // Fetch zero or more UsersTokens * const usersTokens = await prisma.usersToken.findMany() * ``` */ get usersToken(): Prisma.UsersTokenDelegate; /** * `prisma.usersActivity`: Exposes CRUD operations for the **UsersActivity** model. * Example usage: * ```ts * // Fetch zero or more UsersActivities * const usersActivities = await prisma.usersActivity.findMany() * ``` */ get usersActivity(): Prisma.UsersActivityDelegate; /** * `prisma.crashReport`: Exposes CRUD operations for the **CrashReport** model. * Example usage: * ```ts * // Fetch zero or more CrashReports * const crashReports = await prisma.crashReport.findMany() * ``` */ get crashReport(): Prisma.CrashReportDelegate; /** * `prisma.crashSession`: Exposes CRUD operations for the **CrashSession** model. * Example usage: * ```ts * // Fetch zero or more CrashSessions * const crashSessions = await prisma.crashSession.findMany() * ``` */ get crashSession(): Prisma.CrashSessionDelegate; /** * `prisma.crashAnalytics`: Exposes CRUD operations for the **CrashAnalytics** model. * Example usage: * ```ts * // Fetch zero or more CrashAnalytics * const crashAnalytics = await prisma.crashAnalytics.findMany() * ``` */ get crashAnalytics(): Prisma.CrashAnalyticsDelegate; /** * `prisma.aINotification`: Exposes CRUD operations for the **AINotification** model. * Example usage: * ```ts * // Fetch zero or more AINotifications * const aINotifications = await prisma.aINotification.findMany() * ``` */ get aINotification(): Prisma.AINotificationDelegate; /** * `prisma.aINotificationAnalytics`: Exposes CRUD operations for the **AINotificationAnalytics** model. * Example usage: * ```ts * // Fetch zero or more AINotificationAnalytics * const aINotificationAnalytics = await prisma.aINotificationAnalytics.findMany() * ``` */ get aINotificationAnalytics(): Prisma.AINotificationAnalyticsDelegate; /** * `prisma.appMenu`: Exposes CRUD operations for the **AppMenu** model. * Example usage: * ```ts * // Fetch zero or more AppMenus * const appMenus = await prisma.appMenu.findMany() * ``` */ get appMenu(): Prisma.AppMenuDelegate; } 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.13.0 * Query Engine version: 361e86d0ea4987e9f53a565309b3eed797a6bcbd */ export type PrismaVersion = { client: string } export const prismaVersion: PrismaVersion /** * Utility Types */ export import JsonObject = runtime.JsonObject export import JsonArray = runtime.JsonArray export import JsonValue = runtime.JsonValue export import InputJsonObject = runtime.InputJsonObject export import InputJsonArray = runtime.InputJsonArray export import InputJsonValue = runtime.InputJsonValue /** * Types of the values used to represent different kinds of `null` values when working with JSON fields. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ namespace NullTypes { /** * Type of `Prisma.DbNull`. * * You cannot use other instances of this class. Please use the `Prisma.DbNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class DbNull { private DbNull: never private constructor() } /** * Type of `Prisma.JsonNull`. * * You cannot use other instances of this class. Please use the `Prisma.JsonNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class JsonNull { private JsonNull: never private constructor() } /** * Type of `Prisma.AnyNull`. * * You cannot use other instances of this class. Please use the `Prisma.AnyNull` value. * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ class AnyNull { private AnyNull: never private constructor() } } /** * Helper for filtering JSON entries that have `null` on the database (empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const DbNull: NullTypes.DbNull /** * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const JsonNull: NullTypes.JsonNull /** * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` * * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field */ export const AnyNull: NullTypes.AnyNull type SelectAndInclude = { select: any include: any } type SelectAndOmit = { select: any omit: any } /** * Get the type of the value, that the Promise holds. */ export type PromiseType> = T extends PromiseLike ? U : T; /** * Get the return type of a function which returns a Promise. */ export type PromiseReturnType $Utils.JsPromise> = PromiseType> /** * From T, pick a set of properties whose keys are in the union K */ type Prisma__Pick = { [P in K]: T[P]; }; export type Enumerable = T | Array; export type RequiredKeys = { [K in keyof T]-?: {} extends Prisma__Pick ? never : K }[keyof T] export type TruthyKeys = keyof { [K in keyof T as T[K] extends false | undefined | null ? never : K]: K } export type TrueKeys = TruthyKeys>> /** * Subset * @desc From `T` pick properties that exist in `U`. Simple version of Intersection */ export type Subset = { [key in keyof T]: key extends keyof U ? T[key] : never; }; /** * SelectSubset * @desc From `T` pick properties that exist in `U`. Simple version of Intersection. * Additionally, it validates, if both select and include are present. If the case, it errors. */ export type SelectSubset = { [key in keyof T]: key extends keyof U ? T[key] : never } & (T extends SelectAndInclude ? 'Please either choose `select` or `include`.' : T extends SelectAndOmit ? 'Please either choose `select` or `omit`.' : {}) /** * Subset + Intersection * @desc From `T` pick properties that exist in `U` and intersect `K` */ export type SubsetIntersection = { [key in keyof T]: key extends keyof U ? T[key] : never } & K type Without = { [P in Exclude]?: never }; /** * XOR is needed to have a real mutually exclusive union type * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types */ type XOR = T extends object ? U extends object ? (Without & U) | (Without & T) : U : T /** * Is T a Record? */ type IsObject = T extends Array ? False : T extends Date ? False : T extends Uint8Array ? False : T extends BigInt ? False : T extends object ? True : False /** * If it's T[], return T */ export type UnEnumerate = T extends Array ? U : T /** * From ts-toolbelt */ type __Either = Omit & { // Merge all but K [P in K]: Prisma__Pick // With K possibilities }[K] type EitherStrict = Strict<__Either> type EitherLoose = ComputeRaw<__Either> type _Either< O extends object, K extends Key, strict extends Boolean > = { 1: EitherStrict 0: EitherLoose }[strict] type Either< O extends object, K extends Key, strict extends Boolean = 1 > = O extends unknown ? _Either : never export type Union = any type PatchUndefined = { [K in keyof O]: O[K] extends undefined ? At : O[K] } & {} /** Helper Types for "Merge" **/ export type IntersectOf = ( U extends unknown ? (k: U) => void : never ) extends (k: infer I) => void ? I : never export type Overwrite = { [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; } & {}; type _Merge = IntersectOf; }>>; type Key = string | number | symbol; type AtBasic = K extends keyof O ? O[K] : never; type AtStrict = O[K & keyof O]; type AtLoose = O extends unknown ? AtStrict : never; export type At = { 1: AtStrict; 0: AtLoose; }[strict]; export type ComputeRaw = A extends Function ? A : { [K in keyof A]: A[K]; } & {}; export type OptionalFlat = { [K in keyof O]?: O[K]; } & {}; type _Record = { [P in K]: T; }; // cause typescript not to expand types and preserve names type NoExpand = T extends unknown ? T : never; // this type assumes the passed object is entirely optional type AtLeast = NoExpand< O extends unknown ? | (K extends keyof O ? { [P in K]: O[P] } & O : O) | {[P in keyof O as P extends K ? P : never]-?: O[P]} & O : never>; type _Strict = U extends unknown ? U & OptionalFlat<_Record, keyof U>, never>> : never; export type Strict = ComputeRaw<_Strict>; /** End Helper Types for "Merge" **/ export type Merge = ComputeRaw<_Merge>>; /** A [[Boolean]] */ export type Boolean = True | False // /** // 1 // */ export type True = 1 /** 0 */ export type False = 0 export type Not = { 0: 1 1: 0 }[B] export type Extends = [A1] extends [never] ? 0 // anything `never` is false : A1 extends A2 ? 1 : 0 export type Has = Not< Extends, U1> > export type Or = { 0: { 0: 0 1: 1 } 1: { 0: 1 1: 1 } }[B1][B2] export type Keys = U extends unknown ? keyof U : never type Cast = A extends B ? A : B; export const type: unique symbol; /** * Used by group by */ export type GetScalarType = O extends object ? { [P in keyof T]: P extends keyof O ? O[P] : never } : never type FieldPaths< T, U = Omit > = IsObject extends True ? U : T type GetHavingFields = { [K in keyof T]: Or< Or, Extends<'AND', K>>, Extends<'NOT', K> > extends True ? // infer is only needed to not hit TS limit // based on the brilliant idea of Pierre-Antoine Mills // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437 T[K] extends infer TK ? GetHavingFields extends object ? Merge> : never> : never : {} extends FieldPaths ? never : K }[keyof T] /** * Convert tuple to union */ type _TupleToUnion = T extends (infer E)[] ? E : never type TupleToUnion = _TupleToUnion type MaybeTupleToUnion = T extends any[] ? TupleToUnion : T /** * Like `Pick`, but additionally can also accept an array of keys */ type PickEnumerable | keyof T> = Prisma__Pick> /** * Exclude all keys with underscores */ type ExcludeUnderscoreKeys = T extends `_${string}` ? never : T export type FieldRef = runtime.FieldRef type FieldRefInputType = Model extends never ? never : FieldRef export const ModelName: { AdminAccount: 'AdminAccount', AppCredential: 'AppCredential', AppContent: 'AppContent', AppCampaign: 'AppCampaign', CampaignDelivery: 'CampaignDelivery', UsersToken: 'UsersToken', UsersActivity: 'UsersActivity', CrashReport: 'CrashReport', CrashSession: 'CrashSession', CrashAnalytics: 'CrashAnalytics', AINotification: 'AINotification', AINotificationAnalytics: 'AINotificationAnalytics', AppMenu: 'AppMenu' }; export type ModelName = (typeof ModelName)[keyof typeof ModelName] export type Datasources = { db_cms?: Datasource } interface TypeMapCb extends $Utils.Fn<{extArgs: $Extensions.InternalArgs }, $Utils.Record> { returns: Prisma.TypeMap } export type TypeMap = { globalOmitOptions: { omit: GlobalOmitOptions } meta: { modelProps: "adminAccount" | "appCredential" | "appContent" | "appCampaign" | "campaignDelivery" | "usersToken" | "usersActivity" | "crashReport" | "crashSession" | "crashAnalytics" | "aINotification" | "aINotificationAnalytics" | "appMenu" txIsolationLevel: Prisma.TransactionIsolationLevel } model: { AdminAccount: { payload: Prisma.$AdminAccountPayload fields: Prisma.AdminAccountFieldRefs operations: { findUnique: { args: Prisma.AdminAccountFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AdminAccountFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AdminAccountFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AdminAccountFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AdminAccountFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AdminAccountCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AdminAccountCreateManyArgs result: BatchPayload } delete: { args: Prisma.AdminAccountDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AdminAccountUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AdminAccountDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AdminAccountUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.AdminAccountUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AdminAccountAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AdminAccountGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AdminAccountCountArgs result: $Utils.Optional | number } } } AppCredential: { payload: Prisma.$AppCredentialPayload fields: Prisma.AppCredentialFieldRefs operations: { findUnique: { args: Prisma.AppCredentialFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AppCredentialFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AppCredentialFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AppCredentialFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AppCredentialFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AppCredentialCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AppCredentialCreateManyArgs result: BatchPayload } delete: { args: Prisma.AppCredentialDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AppCredentialUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AppCredentialDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AppCredentialUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.AppCredentialUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AppCredentialAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AppCredentialGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AppCredentialCountArgs result: $Utils.Optional | number } } } AppContent: { payload: Prisma.$AppContentPayload fields: Prisma.AppContentFieldRefs operations: { findUnique: { args: Prisma.AppContentFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AppContentFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AppContentFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AppContentFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AppContentFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AppContentCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AppContentCreateManyArgs result: BatchPayload } delete: { args: Prisma.AppContentDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AppContentUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AppContentDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AppContentUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.AppContentUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AppContentAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AppContentGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AppContentCountArgs result: $Utils.Optional | number } } } AppCampaign: { payload: Prisma.$AppCampaignPayload fields: Prisma.AppCampaignFieldRefs operations: { findUnique: { args: Prisma.AppCampaignFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AppCampaignFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AppCampaignFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AppCampaignFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AppCampaignFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AppCampaignCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AppCampaignCreateManyArgs result: BatchPayload } delete: { args: Prisma.AppCampaignDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AppCampaignUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AppCampaignDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AppCampaignUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.AppCampaignUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AppCampaignAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AppCampaignGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AppCampaignCountArgs result: $Utils.Optional | number } } } CampaignDelivery: { payload: Prisma.$CampaignDeliveryPayload fields: Prisma.CampaignDeliveryFieldRefs operations: { findUnique: { args: Prisma.CampaignDeliveryFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CampaignDeliveryFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CampaignDeliveryFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CampaignDeliveryFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CampaignDeliveryFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CampaignDeliveryCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CampaignDeliveryCreateManyArgs result: BatchPayload } delete: { args: Prisma.CampaignDeliveryDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CampaignDeliveryUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CampaignDeliveryDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CampaignDeliveryUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.CampaignDeliveryUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CampaignDeliveryAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CampaignDeliveryGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CampaignDeliveryCountArgs result: $Utils.Optional | number } } } UsersToken: { payload: Prisma.$UsersTokenPayload fields: Prisma.UsersTokenFieldRefs operations: { findUnique: { args: Prisma.UsersTokenFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.UsersTokenFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.UsersTokenFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.UsersTokenFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.UsersTokenFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.UsersTokenCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.UsersTokenCreateManyArgs result: BatchPayload } delete: { args: Prisma.UsersTokenDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.UsersTokenUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.UsersTokenDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.UsersTokenUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.UsersTokenUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.UsersTokenAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.UsersTokenGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.UsersTokenCountArgs result: $Utils.Optional | number } } } UsersActivity: { payload: Prisma.$UsersActivityPayload fields: Prisma.UsersActivityFieldRefs operations: { findUnique: { args: Prisma.UsersActivityFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.UsersActivityFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.UsersActivityFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.UsersActivityFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.UsersActivityFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.UsersActivityCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.UsersActivityCreateManyArgs result: BatchPayload } delete: { args: Prisma.UsersActivityDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.UsersActivityUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.UsersActivityDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.UsersActivityUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.UsersActivityUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.UsersActivityAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.UsersActivityGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.UsersActivityCountArgs result: $Utils.Optional | number } } } CrashReport: { payload: Prisma.$CrashReportPayload fields: Prisma.CrashReportFieldRefs operations: { findUnique: { args: Prisma.CrashReportFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CrashReportFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CrashReportFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CrashReportFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CrashReportFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CrashReportCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CrashReportCreateManyArgs result: BatchPayload } delete: { args: Prisma.CrashReportDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CrashReportUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CrashReportDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CrashReportUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.CrashReportUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CrashReportAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CrashReportGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CrashReportCountArgs result: $Utils.Optional | number } } } CrashSession: { payload: Prisma.$CrashSessionPayload fields: Prisma.CrashSessionFieldRefs operations: { findUnique: { args: Prisma.CrashSessionFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CrashSessionFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CrashSessionFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CrashSessionFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CrashSessionFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CrashSessionCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CrashSessionCreateManyArgs result: BatchPayload } delete: { args: Prisma.CrashSessionDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CrashSessionUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CrashSessionDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CrashSessionUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.CrashSessionUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CrashSessionAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CrashSessionGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CrashSessionCountArgs result: $Utils.Optional | number } } } CrashAnalytics: { payload: Prisma.$CrashAnalyticsPayload fields: Prisma.CrashAnalyticsFieldRefs operations: { findUnique: { args: Prisma.CrashAnalyticsFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.CrashAnalyticsFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.CrashAnalyticsFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.CrashAnalyticsFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.CrashAnalyticsFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.CrashAnalyticsCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.CrashAnalyticsCreateManyArgs result: BatchPayload } delete: { args: Prisma.CrashAnalyticsDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.CrashAnalyticsUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.CrashAnalyticsDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.CrashAnalyticsUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.CrashAnalyticsUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.CrashAnalyticsAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.CrashAnalyticsGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.CrashAnalyticsCountArgs result: $Utils.Optional | number } } } AINotification: { payload: Prisma.$AINotificationPayload fields: Prisma.AINotificationFieldRefs operations: { findUnique: { args: Prisma.AINotificationFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AINotificationFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AINotificationFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AINotificationFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AINotificationFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AINotificationCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AINotificationCreateManyArgs result: BatchPayload } delete: { args: Prisma.AINotificationDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AINotificationUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AINotificationDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AINotificationUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.AINotificationUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AINotificationAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AINotificationGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AINotificationCountArgs result: $Utils.Optional | number } } } AINotificationAnalytics: { payload: Prisma.$AINotificationAnalyticsPayload fields: Prisma.AINotificationAnalyticsFieldRefs operations: { findUnique: { args: Prisma.AINotificationAnalyticsFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AINotificationAnalyticsFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AINotificationAnalyticsFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AINotificationAnalyticsFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AINotificationAnalyticsFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AINotificationAnalyticsCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AINotificationAnalyticsCreateManyArgs result: BatchPayload } delete: { args: Prisma.AINotificationAnalyticsDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AINotificationAnalyticsUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AINotificationAnalyticsDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AINotificationAnalyticsUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.AINotificationAnalyticsUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AINotificationAnalyticsAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AINotificationAnalyticsGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AINotificationAnalyticsCountArgs result: $Utils.Optional | number } } } AppMenu: { payload: Prisma.$AppMenuPayload fields: Prisma.AppMenuFieldRefs operations: { findUnique: { args: Prisma.AppMenuFindUniqueArgs result: $Utils.PayloadToResult | null } findUniqueOrThrow: { args: Prisma.AppMenuFindUniqueOrThrowArgs result: $Utils.PayloadToResult } findFirst: { args: Prisma.AppMenuFindFirstArgs result: $Utils.PayloadToResult | null } findFirstOrThrow: { args: Prisma.AppMenuFindFirstOrThrowArgs result: $Utils.PayloadToResult } findMany: { args: Prisma.AppMenuFindManyArgs result: $Utils.PayloadToResult[] } create: { args: Prisma.AppMenuCreateArgs result: $Utils.PayloadToResult } createMany: { args: Prisma.AppMenuCreateManyArgs result: BatchPayload } delete: { args: Prisma.AppMenuDeleteArgs result: $Utils.PayloadToResult } update: { args: Prisma.AppMenuUpdateArgs result: $Utils.PayloadToResult } deleteMany: { args: Prisma.AppMenuDeleteManyArgs result: BatchPayload } updateMany: { args: Prisma.AppMenuUpdateManyArgs result: BatchPayload } upsert: { args: Prisma.AppMenuUpsertArgs result: $Utils.PayloadToResult } aggregate: { args: Prisma.AppMenuAggregateArgs result: $Utils.Optional } groupBy: { args: Prisma.AppMenuGroupByArgs result: $Utils.Optional[] } count: { args: Prisma.AppMenuCountArgs 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 } /** * Global configuration for omitting model fields by default. * * @example * ``` * const prisma = new PrismaClient({ * omit: { * user: { * password: true * } * } * }) * ``` */ omit?: Prisma.GlobalOmitConfig } export type GlobalOmitConfig = { adminAccount?: AdminAccountOmit appCredential?: AppCredentialOmit appContent?: AppContentOmit appCampaign?: AppCampaignOmit campaignDelivery?: CampaignDeliveryOmit usersToken?: UsersTokenOmit usersActivity?: UsersActivityOmit crashReport?: CrashReportOmit crashSession?: CrashSessionOmit crashAnalytics?: CrashAnalyticsOmit aINotification?: AINotificationOmit aINotificationAnalytics?: AINotificationAnalyticsOmit appMenu?: AppMenuOmit } /* 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' /** * These options are being passed into the middleware as "params" */ export type MiddlewareParams = { model?: ModelName action: PrismaAction args: any dataPath: string[] runInTransaction: boolean } /** * The `T` type makes sure, that the `return proceed` is not forgotten in the middleware implementation */ export type Middleware = ( params: MiddlewareParams, next: (params: MiddlewareParams) => $Utils.JsPromise, ) => $Utils.JsPromise // tested in getLogLevel.test.ts export function getLogLevel(log: Array): LogLevel | undefined; /** * `PrismaClient` proxy available in interactive transactions. */ export type TransactionClient = Omit export type Datasource = { url?: string } /** * Count Types */ /** * Count Type AppCampaignCountOutputType */ export type AppCampaignCountOutputType = { CampaignDelivery: number } export type AppCampaignCountOutputTypeSelect = { CampaignDelivery?: boolean | AppCampaignCountOutputTypeCountCampaignDeliveryArgs } // Custom InputTypes /** * AppCampaignCountOutputType without action */ export type AppCampaignCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the AppCampaignCountOutputType */ select?: AppCampaignCountOutputTypeSelect | null } /** * AppCampaignCountOutputType without action */ export type AppCampaignCountOutputTypeCountCampaignDeliveryArgs = { where?: CampaignDeliveryWhereInput } /** * Count Type UsersTokenCountOutputType */ export type UsersTokenCountOutputType = { UsersActivity: number } export type UsersTokenCountOutputTypeSelect = { UsersActivity?: boolean | UsersTokenCountOutputTypeCountUsersActivityArgs } // Custom InputTypes /** * UsersTokenCountOutputType without action */ export type UsersTokenCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the UsersTokenCountOutputType */ select?: UsersTokenCountOutputTypeSelect | null } /** * UsersTokenCountOutputType without action */ export type UsersTokenCountOutputTypeCountUsersActivityArgs = { where?: UsersActivityWhereInput } /** * Models */ /** * Model AdminAccount */ export type AggregateAdminAccount = { _count: AdminAccountCountAggregateOutputType | null _min: AdminAccountMinAggregateOutputType | null _max: AdminAccountMaxAggregateOutputType | null } export type AdminAccountMinAggregateOutputType = { UUID_AA: string | null Username_AA: string | null Email_AA: string | null Password_AA: string | null LastLogin_AA: Date | null UpdatedAt_AA: Date | null CreatedAt_AA: Date | null } export type AdminAccountMaxAggregateOutputType = { UUID_AA: string | null Username_AA: string | null Email_AA: string | null Password_AA: string | null LastLogin_AA: Date | null UpdatedAt_AA: Date | null CreatedAt_AA: Date | null } export type AdminAccountCountAggregateOutputType = { UUID_AA: number Username_AA: number Email_AA: number Password_AA: number LastLogin_AA: number UpdatedAt_AA: number CreatedAt_AA: number _all: number } export type AdminAccountMinAggregateInputType = { UUID_AA?: true Username_AA?: true Email_AA?: true Password_AA?: true LastLogin_AA?: true UpdatedAt_AA?: true CreatedAt_AA?: true } export type AdminAccountMaxAggregateInputType = { UUID_AA?: true Username_AA?: true Email_AA?: true Password_AA?: true LastLogin_AA?: true UpdatedAt_AA?: true CreatedAt_AA?: true } export type AdminAccountCountAggregateInputType = { UUID_AA?: true Username_AA?: true Email_AA?: true Password_AA?: true LastLogin_AA?: true UpdatedAt_AA?: true CreatedAt_AA?: true _all?: true } export type AdminAccountAggregateArgs = { /** * Filter which AdminAccount to aggregate. */ where?: AdminAccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminAccounts to fetch. */ orderBy?: AdminAccountOrderByWithRelationInput | AdminAccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AdminAccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminAccounts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AdminAccounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AdminAccounts **/ _count?: true | AdminAccountCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AdminAccountMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AdminAccountMaxAggregateInputType } export type GetAdminAccountAggregateType = { [P in keyof T & keyof AggregateAdminAccount]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AdminAccountGroupByArgs = { where?: AdminAccountWhereInput orderBy?: AdminAccountOrderByWithAggregationInput | AdminAccountOrderByWithAggregationInput[] by: AdminAccountScalarFieldEnum[] | AdminAccountScalarFieldEnum having?: AdminAccountScalarWhereWithAggregatesInput take?: number skip?: number _count?: AdminAccountCountAggregateInputType | true _min?: AdminAccountMinAggregateInputType _max?: AdminAccountMaxAggregateInputType } export type AdminAccountGroupByOutputType = { UUID_AA: string Username_AA: string Email_AA: string Password_AA: string LastLogin_AA: Date | null UpdatedAt_AA: Date CreatedAt_AA: Date _count: AdminAccountCountAggregateOutputType | null _min: AdminAccountMinAggregateOutputType | null _max: AdminAccountMaxAggregateOutputType | null } type GetAdminAccountGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AdminAccountGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AdminAccountSelect = $Extensions.GetSelect<{ UUID_AA?: boolean Username_AA?: boolean Email_AA?: boolean Password_AA?: boolean LastLogin_AA?: boolean UpdatedAt_AA?: boolean CreatedAt_AA?: boolean }, ExtArgs["result"]["adminAccount"]> export type AdminAccountSelectScalar = { UUID_AA?: boolean Username_AA?: boolean Email_AA?: boolean Password_AA?: boolean LastLogin_AA?: boolean UpdatedAt_AA?: boolean CreatedAt_AA?: boolean } export type AdminAccountOmit = $Extensions.GetOmit<"UUID_AA" | "Username_AA" | "Email_AA" | "Password_AA" | "LastLogin_AA" | "UpdatedAt_AA" | "CreatedAt_AA", ExtArgs["result"]["adminAccount"]> export type $AdminAccountPayload = { name: "AdminAccount" objects: {} scalars: $Extensions.GetPayloadResult<{ UUID_AA: string Username_AA: string Email_AA: string Password_AA: string LastLogin_AA: Date | null UpdatedAt_AA: Date CreatedAt_AA: Date }, ExtArgs["result"]["adminAccount"]> composites: {} } type AdminAccountGetPayload = $Result.GetResult type AdminAccountCountArgs = Omit & { select?: AdminAccountCountAggregateInputType | true } export interface AdminAccountDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AdminAccount'], meta: { name: 'AdminAccount' } } /** * Find zero or one AdminAccount that matches the filter. * @param {AdminAccountFindUniqueArgs} args - Arguments to find a AdminAccount * @example * // Get one AdminAccount * const adminAccount = await prisma.adminAccount.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AdminAccountClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AdminAccount that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AdminAccountFindUniqueOrThrowArgs} args - Arguments to find a AdminAccount * @example * // Get one AdminAccount * const adminAccount = await prisma.adminAccount.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AdminAccountClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AdminAccount 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 {AdminAccountFindFirstArgs} args - Arguments to find a AdminAccount * @example * // Get one AdminAccount * const adminAccount = await prisma.adminAccount.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AdminAccountClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AdminAccount 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 {AdminAccountFindFirstOrThrowArgs} args - Arguments to find a AdminAccount * @example * // Get one AdminAccount * const adminAccount = await prisma.adminAccount.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AdminAccountClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AdminAccounts 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 {AdminAccountFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AdminAccounts * const adminAccounts = await prisma.adminAccount.findMany() * * // Get first 10 AdminAccounts * const adminAccounts = await prisma.adminAccount.findMany({ take: 10 }) * * // Only select the `UUID_AA` * const adminAccountWithUUID_AAOnly = await prisma.adminAccount.findMany({ select: { UUID_AA: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AdminAccount. * @param {AdminAccountCreateArgs} args - Arguments to create a AdminAccount. * @example * // Create one AdminAccount * const AdminAccount = await prisma.adminAccount.create({ * data: { * // ... data to create a AdminAccount * } * }) * */ create(args: SelectSubset>): Prisma__AdminAccountClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AdminAccounts. * @param {AdminAccountCreateManyArgs} args - Arguments to create many AdminAccounts. * @example * // Create many AdminAccounts * const adminAccount = await prisma.adminAccount.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Delete a AdminAccount. * @param {AdminAccountDeleteArgs} args - Arguments to delete one AdminAccount. * @example * // Delete one AdminAccount * const AdminAccount = await prisma.adminAccount.delete({ * where: { * // ... filter to delete one AdminAccount * } * }) * */ delete(args: SelectSubset>): Prisma__AdminAccountClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AdminAccount. * @param {AdminAccountUpdateArgs} args - Arguments to update one AdminAccount. * @example * // Update one AdminAccount * const adminAccount = await prisma.adminAccount.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AdminAccountClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AdminAccounts. * @param {AdminAccountDeleteManyArgs} args - Arguments to filter AdminAccounts to delete. * @example * // Delete a few AdminAccounts * const { count } = await prisma.adminAccount.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminAccounts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminAccountUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AdminAccounts * const adminAccount = await prisma.adminAccount.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one AdminAccount. * @param {AdminAccountUpsertArgs} args - Arguments to update or create a AdminAccount. * @example * // Update or create a AdminAccount * const adminAccount = await prisma.adminAccount.upsert({ * create: { * // ... data to create a AdminAccount * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AdminAccount we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AdminAccountClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AdminAccounts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminAccountCountArgs} args - Arguments to filter AdminAccounts to count. * @example * // Count the number of AdminAccounts * const count = await prisma.adminAccount.count({ * where: { * // ... the filter for the AdminAccounts 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 AdminAccount. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminAccountAggregateArgs} 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 AdminAccount. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminAccountGroupByArgs} 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 AdminAccountGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AdminAccountGroupByArgs['orderBy'] } : { orderBy?: AdminAccountGroupByArgs['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 ? GetAdminAccountGroupByPayload : Prisma.PrismaPromise /** * Fields of the AdminAccount model */ readonly fields: AdminAccountFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AdminAccount. * 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__AdminAccountClient 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 AdminAccount model */ interface AdminAccountFieldRefs { readonly UUID_AA: FieldRef<"AdminAccount", 'String'> readonly Username_AA: FieldRef<"AdminAccount", 'String'> readonly Email_AA: FieldRef<"AdminAccount", 'String'> readonly Password_AA: FieldRef<"AdminAccount", 'String'> readonly LastLogin_AA: FieldRef<"AdminAccount", 'DateTime'> readonly UpdatedAt_AA: FieldRef<"AdminAccount", 'DateTime'> readonly CreatedAt_AA: FieldRef<"AdminAccount", 'DateTime'> } // Custom InputTypes /** * AdminAccount findUnique */ export type AdminAccountFindUniqueArgs = { /** * Select specific fields to fetch from the AdminAccount */ select?: AdminAccountSelect | null /** * Omit specific fields from the AdminAccount */ omit?: AdminAccountOmit | null /** * Filter, which AdminAccount to fetch. */ where: AdminAccountWhereUniqueInput } /** * AdminAccount findUniqueOrThrow */ export type AdminAccountFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AdminAccount */ select?: AdminAccountSelect | null /** * Omit specific fields from the AdminAccount */ omit?: AdminAccountOmit | null /** * Filter, which AdminAccount to fetch. */ where: AdminAccountWhereUniqueInput } /** * AdminAccount findFirst */ export type AdminAccountFindFirstArgs = { /** * Select specific fields to fetch from the AdminAccount */ select?: AdminAccountSelect | null /** * Omit specific fields from the AdminAccount */ omit?: AdminAccountOmit | null /** * Filter, which AdminAccount to fetch. */ where?: AdminAccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminAccounts to fetch. */ orderBy?: AdminAccountOrderByWithRelationInput | AdminAccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminAccounts. */ cursor?: AdminAccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminAccounts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AdminAccounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminAccounts. */ distinct?: AdminAccountScalarFieldEnum | AdminAccountScalarFieldEnum[] } /** * AdminAccount findFirstOrThrow */ export type AdminAccountFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AdminAccount */ select?: AdminAccountSelect | null /** * Omit specific fields from the AdminAccount */ omit?: AdminAccountOmit | null /** * Filter, which AdminAccount to fetch. */ where?: AdminAccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminAccounts to fetch. */ orderBy?: AdminAccountOrderByWithRelationInput | AdminAccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminAccounts. */ cursor?: AdminAccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminAccounts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AdminAccounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminAccounts. */ distinct?: AdminAccountScalarFieldEnum | AdminAccountScalarFieldEnum[] } /** * AdminAccount findMany */ export type AdminAccountFindManyArgs = { /** * Select specific fields to fetch from the AdminAccount */ select?: AdminAccountSelect | null /** * Omit specific fields from the AdminAccount */ omit?: AdminAccountOmit | null /** * Filter, which AdminAccounts to fetch. */ where?: AdminAccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminAccounts to fetch. */ orderBy?: AdminAccountOrderByWithRelationInput | AdminAccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AdminAccounts. */ cursor?: AdminAccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminAccounts from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AdminAccounts. */ skip?: number distinct?: AdminAccountScalarFieldEnum | AdminAccountScalarFieldEnum[] } /** * AdminAccount create */ export type AdminAccountCreateArgs = { /** * Select specific fields to fetch from the AdminAccount */ select?: AdminAccountSelect | null /** * Omit specific fields from the AdminAccount */ omit?: AdminAccountOmit | null /** * The data needed to create a AdminAccount. */ data: XOR } /** * AdminAccount createMany */ export type AdminAccountCreateManyArgs = { /** * The data used to create many AdminAccounts. */ data: AdminAccountCreateManyInput | AdminAccountCreateManyInput[] skipDuplicates?: boolean } /** * AdminAccount update */ export type AdminAccountUpdateArgs = { /** * Select specific fields to fetch from the AdminAccount */ select?: AdminAccountSelect | null /** * Omit specific fields from the AdminAccount */ omit?: AdminAccountOmit | null /** * The data needed to update a AdminAccount. */ data: XOR /** * Choose, which AdminAccount to update. */ where: AdminAccountWhereUniqueInput } /** * AdminAccount updateMany */ export type AdminAccountUpdateManyArgs = { /** * The data used to update AdminAccounts. */ data: XOR /** * Filter which AdminAccounts to update */ where?: AdminAccountWhereInput /** * Limit how many AdminAccounts to update. */ limit?: number } /** * AdminAccount upsert */ export type AdminAccountUpsertArgs = { /** * Select specific fields to fetch from the AdminAccount */ select?: AdminAccountSelect | null /** * Omit specific fields from the AdminAccount */ omit?: AdminAccountOmit | null /** * The filter to search for the AdminAccount to update in case it exists. */ where: AdminAccountWhereUniqueInput /** * In case the AdminAccount found by the `where` argument doesn't exist, create a new AdminAccount with this data. */ create: XOR /** * In case the AdminAccount was found with the provided `where` argument, update it with this data. */ update: XOR } /** * AdminAccount delete */ export type AdminAccountDeleteArgs = { /** * Select specific fields to fetch from the AdminAccount */ select?: AdminAccountSelect | null /** * Omit specific fields from the AdminAccount */ omit?: AdminAccountOmit | null /** * Filter which AdminAccount to delete. */ where: AdminAccountWhereUniqueInput } /** * AdminAccount deleteMany */ export type AdminAccountDeleteManyArgs = { /** * Filter which AdminAccounts to delete */ where?: AdminAccountWhereInput /** * Limit how many AdminAccounts to delete. */ limit?: number } /** * AdminAccount without action */ export type AdminAccountDefaultArgs = { /** * Select specific fields to fetch from the AdminAccount */ select?: AdminAccountSelect | null /** * Omit specific fields from the AdminAccount */ omit?: AdminAccountOmit | null } /** * Model AppCredential */ export type AggregateAppCredential = { _count: AppCredentialCountAggregateOutputType | null _min: AppCredentialMinAggregateOutputType | null _max: AppCredentialMaxAggregateOutputType | null } export type AppCredentialMinAggregateOutputType = { UUID_AC: string | null CreatedAt_AC: Date | null TokenCredential_AC: string | null UpdatedAt_AC: Date | null } export type AppCredentialMaxAggregateOutputType = { UUID_AC: string | null CreatedAt_AC: Date | null TokenCredential_AC: string | null UpdatedAt_AC: Date | null } export type AppCredentialCountAggregateOutputType = { UUID_AC: number CreatedAt_AC: number TokenCredential_AC: number UpdatedAt_AC: number _all: number } export type AppCredentialMinAggregateInputType = { UUID_AC?: true CreatedAt_AC?: true TokenCredential_AC?: true UpdatedAt_AC?: true } export type AppCredentialMaxAggregateInputType = { UUID_AC?: true CreatedAt_AC?: true TokenCredential_AC?: true UpdatedAt_AC?: true } export type AppCredentialCountAggregateInputType = { UUID_AC?: true CreatedAt_AC?: true TokenCredential_AC?: true UpdatedAt_AC?: true _all?: true } export type AppCredentialAggregateArgs = { /** * Filter which AppCredential to aggregate. */ where?: AppCredentialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppCredentials to fetch. */ orderBy?: AppCredentialOrderByWithRelationInput | AppCredentialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AppCredentialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppCredentials from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppCredentials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AppCredentials **/ _count?: true | AppCredentialCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AppCredentialMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AppCredentialMaxAggregateInputType } export type GetAppCredentialAggregateType = { [P in keyof T & keyof AggregateAppCredential]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AppCredentialGroupByArgs = { where?: AppCredentialWhereInput orderBy?: AppCredentialOrderByWithAggregationInput | AppCredentialOrderByWithAggregationInput[] by: AppCredentialScalarFieldEnum[] | AppCredentialScalarFieldEnum having?: AppCredentialScalarWhereWithAggregatesInput take?: number skip?: number _count?: AppCredentialCountAggregateInputType | true _min?: AppCredentialMinAggregateInputType _max?: AppCredentialMaxAggregateInputType } export type AppCredentialGroupByOutputType = { UUID_AC: string CreatedAt_AC: Date TokenCredential_AC: string UpdatedAt_AC: Date _count: AppCredentialCountAggregateOutputType | null _min: AppCredentialMinAggregateOutputType | null _max: AppCredentialMaxAggregateOutputType | null } type GetAppCredentialGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AppCredentialGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AppCredentialSelect = $Extensions.GetSelect<{ UUID_AC?: boolean CreatedAt_AC?: boolean TokenCredential_AC?: boolean UpdatedAt_AC?: boolean }, ExtArgs["result"]["appCredential"]> export type AppCredentialSelectScalar = { UUID_AC?: boolean CreatedAt_AC?: boolean TokenCredential_AC?: boolean UpdatedAt_AC?: boolean } export type AppCredentialOmit = $Extensions.GetOmit<"UUID_AC" | "CreatedAt_AC" | "TokenCredential_AC" | "UpdatedAt_AC", ExtArgs["result"]["appCredential"]> export type $AppCredentialPayload = { name: "AppCredential" objects: {} scalars: $Extensions.GetPayloadResult<{ UUID_AC: string CreatedAt_AC: Date TokenCredential_AC: string UpdatedAt_AC: Date }, ExtArgs["result"]["appCredential"]> composites: {} } type AppCredentialGetPayload = $Result.GetResult type AppCredentialCountArgs = Omit & { select?: AppCredentialCountAggregateInputType | true } export interface AppCredentialDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AppCredential'], meta: { name: 'AppCredential' } } /** * Find zero or one AppCredential that matches the filter. * @param {AppCredentialFindUniqueArgs} args - Arguments to find a AppCredential * @example * // Get one AppCredential * const appCredential = await prisma.appCredential.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AppCredentialClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AppCredential that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AppCredentialFindUniqueOrThrowArgs} args - Arguments to find a AppCredential * @example * // Get one AppCredential * const appCredential = await prisma.appCredential.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AppCredentialClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AppCredential 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 {AppCredentialFindFirstArgs} args - Arguments to find a AppCredential * @example * // Get one AppCredential * const appCredential = await prisma.appCredential.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AppCredentialClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AppCredential 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 {AppCredentialFindFirstOrThrowArgs} args - Arguments to find a AppCredential * @example * // Get one AppCredential * const appCredential = await prisma.appCredential.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AppCredentialClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AppCredentials 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 {AppCredentialFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AppCredentials * const appCredentials = await prisma.appCredential.findMany() * * // Get first 10 AppCredentials * const appCredentials = await prisma.appCredential.findMany({ take: 10 }) * * // Only select the `UUID_AC` * const appCredentialWithUUID_ACOnly = await prisma.appCredential.findMany({ select: { UUID_AC: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AppCredential. * @param {AppCredentialCreateArgs} args - Arguments to create a AppCredential. * @example * // Create one AppCredential * const AppCredential = await prisma.appCredential.create({ * data: { * // ... data to create a AppCredential * } * }) * */ create(args: SelectSubset>): Prisma__AppCredentialClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AppCredentials. * @param {AppCredentialCreateManyArgs} args - Arguments to create many AppCredentials. * @example * // Create many AppCredentials * const appCredential = await prisma.appCredential.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Delete a AppCredential. * @param {AppCredentialDeleteArgs} args - Arguments to delete one AppCredential. * @example * // Delete one AppCredential * const AppCredential = await prisma.appCredential.delete({ * where: { * // ... filter to delete one AppCredential * } * }) * */ delete(args: SelectSubset>): Prisma__AppCredentialClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AppCredential. * @param {AppCredentialUpdateArgs} args - Arguments to update one AppCredential. * @example * // Update one AppCredential * const appCredential = await prisma.appCredential.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AppCredentialClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AppCredentials. * @param {AppCredentialDeleteManyArgs} args - Arguments to filter AppCredentials to delete. * @example * // Delete a few AppCredentials * const { count } = await prisma.appCredential.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AppCredentials. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppCredentialUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AppCredentials * const appCredential = await prisma.appCredential.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one AppCredential. * @param {AppCredentialUpsertArgs} args - Arguments to update or create a AppCredential. * @example * // Update or create a AppCredential * const appCredential = await prisma.appCredential.upsert({ * create: { * // ... data to create a AppCredential * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AppCredential we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AppCredentialClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AppCredentials. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppCredentialCountArgs} args - Arguments to filter AppCredentials to count. * @example * // Count the number of AppCredentials * const count = await prisma.appCredential.count({ * where: { * // ... the filter for the AppCredentials 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 AppCredential. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppCredentialAggregateArgs} 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 AppCredential. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppCredentialGroupByArgs} 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 AppCredentialGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AppCredentialGroupByArgs['orderBy'] } : { orderBy?: AppCredentialGroupByArgs['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 ? GetAppCredentialGroupByPayload : Prisma.PrismaPromise /** * Fields of the AppCredential model */ readonly fields: AppCredentialFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AppCredential. * 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__AppCredentialClient 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 AppCredential model */ interface AppCredentialFieldRefs { readonly UUID_AC: FieldRef<"AppCredential", 'String'> readonly CreatedAt_AC: FieldRef<"AppCredential", 'DateTime'> readonly TokenCredential_AC: FieldRef<"AppCredential", 'String'> readonly UpdatedAt_AC: FieldRef<"AppCredential", 'DateTime'> } // Custom InputTypes /** * AppCredential findUnique */ export type AppCredentialFindUniqueArgs = { /** * Select specific fields to fetch from the AppCredential */ select?: AppCredentialSelect | null /** * Omit specific fields from the AppCredential */ omit?: AppCredentialOmit | null /** * Filter, which AppCredential to fetch. */ where: AppCredentialWhereUniqueInput } /** * AppCredential findUniqueOrThrow */ export type AppCredentialFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AppCredential */ select?: AppCredentialSelect | null /** * Omit specific fields from the AppCredential */ omit?: AppCredentialOmit | null /** * Filter, which AppCredential to fetch. */ where: AppCredentialWhereUniqueInput } /** * AppCredential findFirst */ export type AppCredentialFindFirstArgs = { /** * Select specific fields to fetch from the AppCredential */ select?: AppCredentialSelect | null /** * Omit specific fields from the AppCredential */ omit?: AppCredentialOmit | null /** * Filter, which AppCredential to fetch. */ where?: AppCredentialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppCredentials to fetch. */ orderBy?: AppCredentialOrderByWithRelationInput | AppCredentialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AppCredentials. */ cursor?: AppCredentialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppCredentials from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppCredentials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppCredentials. */ distinct?: AppCredentialScalarFieldEnum | AppCredentialScalarFieldEnum[] } /** * AppCredential findFirstOrThrow */ export type AppCredentialFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AppCredential */ select?: AppCredentialSelect | null /** * Omit specific fields from the AppCredential */ omit?: AppCredentialOmit | null /** * Filter, which AppCredential to fetch. */ where?: AppCredentialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppCredentials to fetch. */ orderBy?: AppCredentialOrderByWithRelationInput | AppCredentialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AppCredentials. */ cursor?: AppCredentialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppCredentials from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppCredentials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppCredentials. */ distinct?: AppCredentialScalarFieldEnum | AppCredentialScalarFieldEnum[] } /** * AppCredential findMany */ export type AppCredentialFindManyArgs = { /** * Select specific fields to fetch from the AppCredential */ select?: AppCredentialSelect | null /** * Omit specific fields from the AppCredential */ omit?: AppCredentialOmit | null /** * Filter, which AppCredentials to fetch. */ where?: AppCredentialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppCredentials to fetch. */ orderBy?: AppCredentialOrderByWithRelationInput | AppCredentialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AppCredentials. */ cursor?: AppCredentialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppCredentials from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppCredentials. */ skip?: number distinct?: AppCredentialScalarFieldEnum | AppCredentialScalarFieldEnum[] } /** * AppCredential create */ export type AppCredentialCreateArgs = { /** * Select specific fields to fetch from the AppCredential */ select?: AppCredentialSelect | null /** * Omit specific fields from the AppCredential */ omit?: AppCredentialOmit | null /** * The data needed to create a AppCredential. */ data: XOR } /** * AppCredential createMany */ export type AppCredentialCreateManyArgs = { /** * The data used to create many AppCredentials. */ data: AppCredentialCreateManyInput | AppCredentialCreateManyInput[] skipDuplicates?: boolean } /** * AppCredential update */ export type AppCredentialUpdateArgs = { /** * Select specific fields to fetch from the AppCredential */ select?: AppCredentialSelect | null /** * Omit specific fields from the AppCredential */ omit?: AppCredentialOmit | null /** * The data needed to update a AppCredential. */ data: XOR /** * Choose, which AppCredential to update. */ where: AppCredentialWhereUniqueInput } /** * AppCredential updateMany */ export type AppCredentialUpdateManyArgs = { /** * The data used to update AppCredentials. */ data: XOR /** * Filter which AppCredentials to update */ where?: AppCredentialWhereInput /** * Limit how many AppCredentials to update. */ limit?: number } /** * AppCredential upsert */ export type AppCredentialUpsertArgs = { /** * Select specific fields to fetch from the AppCredential */ select?: AppCredentialSelect | null /** * Omit specific fields from the AppCredential */ omit?: AppCredentialOmit | null /** * The filter to search for the AppCredential to update in case it exists. */ where: AppCredentialWhereUniqueInput /** * In case the AppCredential found by the `where` argument doesn't exist, create a new AppCredential with this data. */ create: XOR /** * In case the AppCredential was found with the provided `where` argument, update it with this data. */ update: XOR } /** * AppCredential delete */ export type AppCredentialDeleteArgs = { /** * Select specific fields to fetch from the AppCredential */ select?: AppCredentialSelect | null /** * Omit specific fields from the AppCredential */ omit?: AppCredentialOmit | null /** * Filter which AppCredential to delete. */ where: AppCredentialWhereUniqueInput } /** * AppCredential deleteMany */ export type AppCredentialDeleteManyArgs = { /** * Filter which AppCredentials to delete */ where?: AppCredentialWhereInput /** * Limit how many AppCredentials to delete. */ limit?: number } /** * AppCredential without action */ export type AppCredentialDefaultArgs = { /** * Select specific fields to fetch from the AppCredential */ select?: AppCredentialSelect | null /** * Omit specific fields from the AppCredential */ omit?: AppCredentialOmit | null } /** * Model AppContent */ export type AggregateAppContent = { _count: AppContentCountAggregateOutputType | null _min: AppContentMinAggregateOutputType | null _max: AppContentMaxAggregateOutputType | null } export type AppContentMinAggregateOutputType = { UUID_APC: string | null Content_APC: string | null CreatedAt_APC: Date | null Filename_APC: string | null Title_APC: string | null UpdatedAt_APC: Date | null Url_APC: string | null Type_APC: $Enums.ContentType | null CorpType_APC: $Enums.CorpType | null TargetUrl_APC: string | null } export type AppContentMaxAggregateOutputType = { UUID_APC: string | null Content_APC: string | null CreatedAt_APC: Date | null Filename_APC: string | null Title_APC: string | null UpdatedAt_APC: Date | null Url_APC: string | null Type_APC: $Enums.ContentType | null CorpType_APC: $Enums.CorpType | null TargetUrl_APC: string | null } export type AppContentCountAggregateOutputType = { UUID_APC: number Content_APC: number CreatedAt_APC: number Filename_APC: number Title_APC: number UpdatedAt_APC: number Url_APC: number Type_APC: number CorpType_APC: number TargetUrl_APC: number _all: number } export type AppContentMinAggregateInputType = { UUID_APC?: true Content_APC?: true CreatedAt_APC?: true Filename_APC?: true Title_APC?: true UpdatedAt_APC?: true Url_APC?: true Type_APC?: true CorpType_APC?: true TargetUrl_APC?: true } export type AppContentMaxAggregateInputType = { UUID_APC?: true Content_APC?: true CreatedAt_APC?: true Filename_APC?: true Title_APC?: true UpdatedAt_APC?: true Url_APC?: true Type_APC?: true CorpType_APC?: true TargetUrl_APC?: true } export type AppContentCountAggregateInputType = { UUID_APC?: true Content_APC?: true CreatedAt_APC?: true Filename_APC?: true Title_APC?: true UpdatedAt_APC?: true Url_APC?: true Type_APC?: true CorpType_APC?: true TargetUrl_APC?: true _all?: true } export type AppContentAggregateArgs = { /** * Filter which AppContent to aggregate. */ where?: AppContentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppContents to fetch. */ orderBy?: AppContentOrderByWithRelationInput | AppContentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AppContentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppContents from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppContents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AppContents **/ _count?: true | AppContentCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AppContentMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AppContentMaxAggregateInputType } export type GetAppContentAggregateType = { [P in keyof T & keyof AggregateAppContent]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AppContentGroupByArgs = { where?: AppContentWhereInput orderBy?: AppContentOrderByWithAggregationInput | AppContentOrderByWithAggregationInput[] by: AppContentScalarFieldEnum[] | AppContentScalarFieldEnum having?: AppContentScalarWhereWithAggregatesInput take?: number skip?: number _count?: AppContentCountAggregateInputType | true _min?: AppContentMinAggregateInputType _max?: AppContentMaxAggregateInputType } export type AppContentGroupByOutputType = { UUID_APC: string Content_APC: string CreatedAt_APC: Date Filename_APC: string | null Title_APC: string UpdatedAt_APC: Date Url_APC: string | null Type_APC: $Enums.ContentType CorpType_APC: $Enums.CorpType TargetUrl_APC: string | null _count: AppContentCountAggregateOutputType | null _min: AppContentMinAggregateOutputType | null _max: AppContentMaxAggregateOutputType | null } type GetAppContentGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AppContentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AppContentSelect = $Extensions.GetSelect<{ UUID_APC?: boolean Content_APC?: boolean CreatedAt_APC?: boolean Filename_APC?: boolean Title_APC?: boolean UpdatedAt_APC?: boolean Url_APC?: boolean Type_APC?: boolean CorpType_APC?: boolean TargetUrl_APC?: boolean }, ExtArgs["result"]["appContent"]> export type AppContentSelectScalar = { UUID_APC?: boolean Content_APC?: boolean CreatedAt_APC?: boolean Filename_APC?: boolean Title_APC?: boolean UpdatedAt_APC?: boolean Url_APC?: boolean Type_APC?: boolean CorpType_APC?: boolean TargetUrl_APC?: boolean } export type AppContentOmit = $Extensions.GetOmit<"UUID_APC" | "Content_APC" | "CreatedAt_APC" | "Filename_APC" | "Title_APC" | "UpdatedAt_APC" | "Url_APC" | "Type_APC" | "CorpType_APC" | "TargetUrl_APC", ExtArgs["result"]["appContent"]> export type $AppContentPayload = { name: "AppContent" objects: {} scalars: $Extensions.GetPayloadResult<{ UUID_APC: string Content_APC: string CreatedAt_APC: Date Filename_APC: string | null Title_APC: string UpdatedAt_APC: Date Url_APC: string | null Type_APC: $Enums.ContentType CorpType_APC: $Enums.CorpType TargetUrl_APC: string | null }, ExtArgs["result"]["appContent"]> composites: {} } type AppContentGetPayload = $Result.GetResult type AppContentCountArgs = Omit & { select?: AppContentCountAggregateInputType | true } export interface AppContentDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AppContent'], meta: { name: 'AppContent' } } /** * Find zero or one AppContent that matches the filter. * @param {AppContentFindUniqueArgs} args - Arguments to find a AppContent * @example * // Get one AppContent * const appContent = await prisma.appContent.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AppContentClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AppContent that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AppContentFindUniqueOrThrowArgs} args - Arguments to find a AppContent * @example * // Get one AppContent * const appContent = await prisma.appContent.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AppContentClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AppContent 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 {AppContentFindFirstArgs} args - Arguments to find a AppContent * @example * // Get one AppContent * const appContent = await prisma.appContent.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AppContentClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AppContent 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 {AppContentFindFirstOrThrowArgs} args - Arguments to find a AppContent * @example * // Get one AppContent * const appContent = await prisma.appContent.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AppContentClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AppContents 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 {AppContentFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AppContents * const appContents = await prisma.appContent.findMany() * * // Get first 10 AppContents * const appContents = await prisma.appContent.findMany({ take: 10 }) * * // Only select the `UUID_APC` * const appContentWithUUID_APCOnly = await prisma.appContent.findMany({ select: { UUID_APC: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AppContent. * @param {AppContentCreateArgs} args - Arguments to create a AppContent. * @example * // Create one AppContent * const AppContent = await prisma.appContent.create({ * data: { * // ... data to create a AppContent * } * }) * */ create(args: SelectSubset>): Prisma__AppContentClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AppContents. * @param {AppContentCreateManyArgs} args - Arguments to create many AppContents. * @example * // Create many AppContents * const appContent = await prisma.appContent.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Delete a AppContent. * @param {AppContentDeleteArgs} args - Arguments to delete one AppContent. * @example * // Delete one AppContent * const AppContent = await prisma.appContent.delete({ * where: { * // ... filter to delete one AppContent * } * }) * */ delete(args: SelectSubset>): Prisma__AppContentClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AppContent. * @param {AppContentUpdateArgs} args - Arguments to update one AppContent. * @example * // Update one AppContent * const appContent = await prisma.appContent.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AppContentClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AppContents. * @param {AppContentDeleteManyArgs} args - Arguments to filter AppContents to delete. * @example * // Delete a few AppContents * const { count } = await prisma.appContent.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AppContents. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppContentUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AppContents * const appContent = await prisma.appContent.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one AppContent. * @param {AppContentUpsertArgs} args - Arguments to update or create a AppContent. * @example * // Update or create a AppContent * const appContent = await prisma.appContent.upsert({ * create: { * // ... data to create a AppContent * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AppContent we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AppContentClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AppContents. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppContentCountArgs} args - Arguments to filter AppContents to count. * @example * // Count the number of AppContents * const count = await prisma.appContent.count({ * where: { * // ... the filter for the AppContents 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 AppContent. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppContentAggregateArgs} 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 AppContent. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppContentGroupByArgs} 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 AppContentGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AppContentGroupByArgs['orderBy'] } : { orderBy?: AppContentGroupByArgs['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 ? GetAppContentGroupByPayload : Prisma.PrismaPromise /** * Fields of the AppContent model */ readonly fields: AppContentFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AppContent. * 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__AppContentClient 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 AppContent model */ interface AppContentFieldRefs { readonly UUID_APC: FieldRef<"AppContent", 'String'> readonly Content_APC: FieldRef<"AppContent", 'String'> readonly CreatedAt_APC: FieldRef<"AppContent", 'DateTime'> readonly Filename_APC: FieldRef<"AppContent", 'String'> readonly Title_APC: FieldRef<"AppContent", 'String'> readonly UpdatedAt_APC: FieldRef<"AppContent", 'DateTime'> readonly Url_APC: FieldRef<"AppContent", 'String'> readonly Type_APC: FieldRef<"AppContent", 'ContentType'> readonly CorpType_APC: FieldRef<"AppContent", 'CorpType'> readonly TargetUrl_APC: FieldRef<"AppContent", 'String'> } // Custom InputTypes /** * AppContent findUnique */ export type AppContentFindUniqueArgs = { /** * Select specific fields to fetch from the AppContent */ select?: AppContentSelect | null /** * Omit specific fields from the AppContent */ omit?: AppContentOmit | null /** * Filter, which AppContent to fetch. */ where: AppContentWhereUniqueInput } /** * AppContent findUniqueOrThrow */ export type AppContentFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AppContent */ select?: AppContentSelect | null /** * Omit specific fields from the AppContent */ omit?: AppContentOmit | null /** * Filter, which AppContent to fetch. */ where: AppContentWhereUniqueInput } /** * AppContent findFirst */ export type AppContentFindFirstArgs = { /** * Select specific fields to fetch from the AppContent */ select?: AppContentSelect | null /** * Omit specific fields from the AppContent */ omit?: AppContentOmit | null /** * Filter, which AppContent to fetch. */ where?: AppContentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppContents to fetch. */ orderBy?: AppContentOrderByWithRelationInput | AppContentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AppContents. */ cursor?: AppContentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppContents from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppContents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppContents. */ distinct?: AppContentScalarFieldEnum | AppContentScalarFieldEnum[] } /** * AppContent findFirstOrThrow */ export type AppContentFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AppContent */ select?: AppContentSelect | null /** * Omit specific fields from the AppContent */ omit?: AppContentOmit | null /** * Filter, which AppContent to fetch. */ where?: AppContentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppContents to fetch. */ orderBy?: AppContentOrderByWithRelationInput | AppContentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AppContents. */ cursor?: AppContentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppContents from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppContents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppContents. */ distinct?: AppContentScalarFieldEnum | AppContentScalarFieldEnum[] } /** * AppContent findMany */ export type AppContentFindManyArgs = { /** * Select specific fields to fetch from the AppContent */ select?: AppContentSelect | null /** * Omit specific fields from the AppContent */ omit?: AppContentOmit | null /** * Filter, which AppContents to fetch. */ where?: AppContentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppContents to fetch. */ orderBy?: AppContentOrderByWithRelationInput | AppContentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AppContents. */ cursor?: AppContentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppContents from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppContents. */ skip?: number distinct?: AppContentScalarFieldEnum | AppContentScalarFieldEnum[] } /** * AppContent create */ export type AppContentCreateArgs = { /** * Select specific fields to fetch from the AppContent */ select?: AppContentSelect | null /** * Omit specific fields from the AppContent */ omit?: AppContentOmit | null /** * The data needed to create a AppContent. */ data: XOR } /** * AppContent createMany */ export type AppContentCreateManyArgs = { /** * The data used to create many AppContents. */ data: AppContentCreateManyInput | AppContentCreateManyInput[] skipDuplicates?: boolean } /** * AppContent update */ export type AppContentUpdateArgs = { /** * Select specific fields to fetch from the AppContent */ select?: AppContentSelect | null /** * Omit specific fields from the AppContent */ omit?: AppContentOmit | null /** * The data needed to update a AppContent. */ data: XOR /** * Choose, which AppContent to update. */ where: AppContentWhereUniqueInput } /** * AppContent updateMany */ export type AppContentUpdateManyArgs = { /** * The data used to update AppContents. */ data: XOR /** * Filter which AppContents to update */ where?: AppContentWhereInput /** * Limit how many AppContents to update. */ limit?: number } /** * AppContent upsert */ export type AppContentUpsertArgs = { /** * Select specific fields to fetch from the AppContent */ select?: AppContentSelect | null /** * Omit specific fields from the AppContent */ omit?: AppContentOmit | null /** * The filter to search for the AppContent to update in case it exists. */ where: AppContentWhereUniqueInput /** * In case the AppContent found by the `where` argument doesn't exist, create a new AppContent with this data. */ create: XOR /** * In case the AppContent was found with the provided `where` argument, update it with this data. */ update: XOR } /** * AppContent delete */ export type AppContentDeleteArgs = { /** * Select specific fields to fetch from the AppContent */ select?: AppContentSelect | null /** * Omit specific fields from the AppContent */ omit?: AppContentOmit | null /** * Filter which AppContent to delete. */ where: AppContentWhereUniqueInput } /** * AppContent deleteMany */ export type AppContentDeleteManyArgs = { /** * Filter which AppContents to delete */ where?: AppContentWhereInput /** * Limit how many AppContents to delete. */ limit?: number } /** * AppContent without action */ export type AppContentDefaultArgs = { /** * Select specific fields to fetch from the AppContent */ select?: AppContentSelect | null /** * Omit specific fields from the AppContent */ omit?: AppContentOmit | null } /** * Model AppCampaign */ export type AggregateAppCampaign = { _count: AppCampaignCountAggregateOutputType | null _avg: AppCampaignAvgAggregateOutputType | null _sum: AppCampaignSumAggregateOutputType | null _min: AppCampaignMinAggregateOutputType | null _max: AppCampaignMaxAggregateOutputType | null } export type AppCampaignAvgAggregateOutputType = { TargetUsers_ACP: number | null SentCount_ACP: number | null SuccessCount_ACP: number | null FailureCount_ACP: number | null DeliveryRate_ACP: number | null } export type AppCampaignSumAggregateOutputType = { TargetUsers_ACP: number | null SentCount_ACP: number | null SuccessCount_ACP: number | null FailureCount_ACP: number | null DeliveryRate_ACP: number | null } export type AppCampaignMinAggregateOutputType = { UUID_ACP: string | null Title_ACP: string | null Content_ACP: string | null Date_ACP: Date | null Status_ACP: $Enums.CampaignStatus | null UpdatedAt_ACP: Date | null CreatedAt_ACP: Date | null TargetUsers_ACP: number | null SentCount_ACP: number | null SuccessCount_ACP: number | null FailureCount_ACP: number | null DeliveryRate_ACP: number | null SentAt_ACP: Date | null CompletedAt_ACP: Date | null ErrorMessage_ACP: string | null Data_ACP: string | null ImageUrl_ACP: string | null } export type AppCampaignMaxAggregateOutputType = { UUID_ACP: string | null Title_ACP: string | null Content_ACP: string | null Date_ACP: Date | null Status_ACP: $Enums.CampaignStatus | null UpdatedAt_ACP: Date | null CreatedAt_ACP: Date | null TargetUsers_ACP: number | null SentCount_ACP: number | null SuccessCount_ACP: number | null FailureCount_ACP: number | null DeliveryRate_ACP: number | null SentAt_ACP: Date | null CompletedAt_ACP: Date | null ErrorMessage_ACP: string | null Data_ACP: string | null ImageUrl_ACP: string | null } export type AppCampaignCountAggregateOutputType = { UUID_ACP: number Title_ACP: number Content_ACP: number Date_ACP: number Status_ACP: number UpdatedAt_ACP: number CreatedAt_ACP: number TargetUsers_ACP: number SentCount_ACP: number SuccessCount_ACP: number FailureCount_ACP: number DeliveryRate_ACP: number SentAt_ACP: number CompletedAt_ACP: number ErrorMessage_ACP: number Data_ACP: number ImageUrl_ACP: number _all: number } export type AppCampaignAvgAggregateInputType = { TargetUsers_ACP?: true SentCount_ACP?: true SuccessCount_ACP?: true FailureCount_ACP?: true DeliveryRate_ACP?: true } export type AppCampaignSumAggregateInputType = { TargetUsers_ACP?: true SentCount_ACP?: true SuccessCount_ACP?: true FailureCount_ACP?: true DeliveryRate_ACP?: true } export type AppCampaignMinAggregateInputType = { UUID_ACP?: true Title_ACP?: true Content_ACP?: true Date_ACP?: true Status_ACP?: true UpdatedAt_ACP?: true CreatedAt_ACP?: true TargetUsers_ACP?: true SentCount_ACP?: true SuccessCount_ACP?: true FailureCount_ACP?: true DeliveryRate_ACP?: true SentAt_ACP?: true CompletedAt_ACP?: true ErrorMessage_ACP?: true Data_ACP?: true ImageUrl_ACP?: true } export type AppCampaignMaxAggregateInputType = { UUID_ACP?: true Title_ACP?: true Content_ACP?: true Date_ACP?: true Status_ACP?: true UpdatedAt_ACP?: true CreatedAt_ACP?: true TargetUsers_ACP?: true SentCount_ACP?: true SuccessCount_ACP?: true FailureCount_ACP?: true DeliveryRate_ACP?: true SentAt_ACP?: true CompletedAt_ACP?: true ErrorMessage_ACP?: true Data_ACP?: true ImageUrl_ACP?: true } export type AppCampaignCountAggregateInputType = { UUID_ACP?: true Title_ACP?: true Content_ACP?: true Date_ACP?: true Status_ACP?: true UpdatedAt_ACP?: true CreatedAt_ACP?: true TargetUsers_ACP?: true SentCount_ACP?: true SuccessCount_ACP?: true FailureCount_ACP?: true DeliveryRate_ACP?: true SentAt_ACP?: true CompletedAt_ACP?: true ErrorMessage_ACP?: true Data_ACP?: true ImageUrl_ACP?: true _all?: true } export type AppCampaignAggregateArgs = { /** * Filter which AppCampaign to aggregate. */ where?: AppCampaignWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppCampaigns to fetch. */ orderBy?: AppCampaignOrderByWithRelationInput | AppCampaignOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AppCampaignWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppCampaigns from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppCampaigns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AppCampaigns **/ _count?: true | AppCampaignCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AppCampaignAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AppCampaignSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AppCampaignMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AppCampaignMaxAggregateInputType } export type GetAppCampaignAggregateType = { [P in keyof T & keyof AggregateAppCampaign]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AppCampaignGroupByArgs = { where?: AppCampaignWhereInput orderBy?: AppCampaignOrderByWithAggregationInput | AppCampaignOrderByWithAggregationInput[] by: AppCampaignScalarFieldEnum[] | AppCampaignScalarFieldEnum having?: AppCampaignScalarWhereWithAggregatesInput take?: number skip?: number _count?: AppCampaignCountAggregateInputType | true _avg?: AppCampaignAvgAggregateInputType _sum?: AppCampaignSumAggregateInputType _min?: AppCampaignMinAggregateInputType _max?: AppCampaignMaxAggregateInputType } export type AppCampaignGroupByOutputType = { UUID_ACP: string Title_ACP: string Content_ACP: string Date_ACP: Date Status_ACP: $Enums.CampaignStatus UpdatedAt_ACP: Date CreatedAt_ACP: Date TargetUsers_ACP: number | null SentCount_ACP: number | null SuccessCount_ACP: number | null FailureCount_ACP: number | null DeliveryRate_ACP: number | null SentAt_ACP: Date | null CompletedAt_ACP: Date | null ErrorMessage_ACP: string | null Data_ACP: string | null ImageUrl_ACP: string | null _count: AppCampaignCountAggregateOutputType | null _avg: AppCampaignAvgAggregateOutputType | null _sum: AppCampaignSumAggregateOutputType | null _min: AppCampaignMinAggregateOutputType | null _max: AppCampaignMaxAggregateOutputType | null } type GetAppCampaignGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AppCampaignGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AppCampaignSelect = $Extensions.GetSelect<{ UUID_ACP?: boolean Title_ACP?: boolean Content_ACP?: boolean Date_ACP?: boolean Status_ACP?: boolean UpdatedAt_ACP?: boolean CreatedAt_ACP?: boolean TargetUsers_ACP?: boolean SentCount_ACP?: boolean SuccessCount_ACP?: boolean FailureCount_ACP?: boolean DeliveryRate_ACP?: boolean SentAt_ACP?: boolean CompletedAt_ACP?: boolean ErrorMessage_ACP?: boolean Data_ACP?: boolean ImageUrl_ACP?: boolean CampaignDelivery?: boolean | AppCampaign$CampaignDeliveryArgs _count?: boolean | AppCampaignCountOutputTypeDefaultArgs }, ExtArgs["result"]["appCampaign"]> export type AppCampaignSelectScalar = { UUID_ACP?: boolean Title_ACP?: boolean Content_ACP?: boolean Date_ACP?: boolean Status_ACP?: boolean UpdatedAt_ACP?: boolean CreatedAt_ACP?: boolean TargetUsers_ACP?: boolean SentCount_ACP?: boolean SuccessCount_ACP?: boolean FailureCount_ACP?: boolean DeliveryRate_ACP?: boolean SentAt_ACP?: boolean CompletedAt_ACP?: boolean ErrorMessage_ACP?: boolean Data_ACP?: boolean ImageUrl_ACP?: boolean } export type AppCampaignOmit = $Extensions.GetOmit<"UUID_ACP" | "Title_ACP" | "Content_ACP" | "Date_ACP" | "Status_ACP" | "UpdatedAt_ACP" | "CreatedAt_ACP" | "TargetUsers_ACP" | "SentCount_ACP" | "SuccessCount_ACP" | "FailureCount_ACP" | "DeliveryRate_ACP" | "SentAt_ACP" | "CompletedAt_ACP" | "ErrorMessage_ACP" | "Data_ACP" | "ImageUrl_ACP", ExtArgs["result"]["appCampaign"]> export type AppCampaignInclude = { CampaignDelivery?: boolean | AppCampaign$CampaignDeliveryArgs _count?: boolean | AppCampaignCountOutputTypeDefaultArgs } export type $AppCampaignPayload = { name: "AppCampaign" objects: { CampaignDelivery: Prisma.$CampaignDeliveryPayload[] } scalars: $Extensions.GetPayloadResult<{ UUID_ACP: string Title_ACP: string Content_ACP: string Date_ACP: Date Status_ACP: $Enums.CampaignStatus UpdatedAt_ACP: Date CreatedAt_ACP: Date TargetUsers_ACP: number | null SentCount_ACP: number | null SuccessCount_ACP: number | null FailureCount_ACP: number | null DeliveryRate_ACP: number | null SentAt_ACP: Date | null CompletedAt_ACP: Date | null ErrorMessage_ACP: string | null Data_ACP: string | null ImageUrl_ACP: string | null }, ExtArgs["result"]["appCampaign"]> composites: {} } type AppCampaignGetPayload = $Result.GetResult type AppCampaignCountArgs = Omit & { select?: AppCampaignCountAggregateInputType | true } export interface AppCampaignDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AppCampaign'], meta: { name: 'AppCampaign' } } /** * Find zero or one AppCampaign that matches the filter. * @param {AppCampaignFindUniqueArgs} args - Arguments to find a AppCampaign * @example * // Get one AppCampaign * const appCampaign = await prisma.appCampaign.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AppCampaignClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AppCampaign that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AppCampaignFindUniqueOrThrowArgs} args - Arguments to find a AppCampaign * @example * // Get one AppCampaign * const appCampaign = await prisma.appCampaign.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AppCampaignClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AppCampaign 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 {AppCampaignFindFirstArgs} args - Arguments to find a AppCampaign * @example * // Get one AppCampaign * const appCampaign = await prisma.appCampaign.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AppCampaignClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AppCampaign 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 {AppCampaignFindFirstOrThrowArgs} args - Arguments to find a AppCampaign * @example * // Get one AppCampaign * const appCampaign = await prisma.appCampaign.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AppCampaignClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AppCampaigns 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 {AppCampaignFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AppCampaigns * const appCampaigns = await prisma.appCampaign.findMany() * * // Get first 10 AppCampaigns * const appCampaigns = await prisma.appCampaign.findMany({ take: 10 }) * * // Only select the `UUID_ACP` * const appCampaignWithUUID_ACPOnly = await prisma.appCampaign.findMany({ select: { UUID_ACP: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AppCampaign. * @param {AppCampaignCreateArgs} args - Arguments to create a AppCampaign. * @example * // Create one AppCampaign * const AppCampaign = await prisma.appCampaign.create({ * data: { * // ... data to create a AppCampaign * } * }) * */ create(args: SelectSubset>): Prisma__AppCampaignClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AppCampaigns. * @param {AppCampaignCreateManyArgs} args - Arguments to create many AppCampaigns. * @example * // Create many AppCampaigns * const appCampaign = await prisma.appCampaign.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Delete a AppCampaign. * @param {AppCampaignDeleteArgs} args - Arguments to delete one AppCampaign. * @example * // Delete one AppCampaign * const AppCampaign = await prisma.appCampaign.delete({ * where: { * // ... filter to delete one AppCampaign * } * }) * */ delete(args: SelectSubset>): Prisma__AppCampaignClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AppCampaign. * @param {AppCampaignUpdateArgs} args - Arguments to update one AppCampaign. * @example * // Update one AppCampaign * const appCampaign = await prisma.appCampaign.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AppCampaignClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AppCampaigns. * @param {AppCampaignDeleteManyArgs} args - Arguments to filter AppCampaigns to delete. * @example * // Delete a few AppCampaigns * const { count } = await prisma.appCampaign.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AppCampaigns. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppCampaignUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AppCampaigns * const appCampaign = await prisma.appCampaign.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one AppCampaign. * @param {AppCampaignUpsertArgs} args - Arguments to update or create a AppCampaign. * @example * // Update or create a AppCampaign * const appCampaign = await prisma.appCampaign.upsert({ * create: { * // ... data to create a AppCampaign * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AppCampaign we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AppCampaignClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AppCampaigns. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppCampaignCountArgs} args - Arguments to filter AppCampaigns to count. * @example * // Count the number of AppCampaigns * const count = await prisma.appCampaign.count({ * where: { * // ... the filter for the AppCampaigns 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 AppCampaign. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppCampaignAggregateArgs} 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 AppCampaign. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppCampaignGroupByArgs} 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 AppCampaignGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AppCampaignGroupByArgs['orderBy'] } : { orderBy?: AppCampaignGroupByArgs['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 ? GetAppCampaignGroupByPayload : Prisma.PrismaPromise /** * Fields of the AppCampaign model */ readonly fields: AppCampaignFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AppCampaign. * 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__AppCampaignClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" CampaignDelivery = {}>(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 AppCampaign model */ interface AppCampaignFieldRefs { readonly UUID_ACP: FieldRef<"AppCampaign", 'String'> readonly Title_ACP: FieldRef<"AppCampaign", 'String'> readonly Content_ACP: FieldRef<"AppCampaign", 'String'> readonly Date_ACP: FieldRef<"AppCampaign", 'DateTime'> readonly Status_ACP: FieldRef<"AppCampaign", 'CampaignStatus'> readonly UpdatedAt_ACP: FieldRef<"AppCampaign", 'DateTime'> readonly CreatedAt_ACP: FieldRef<"AppCampaign", 'DateTime'> readonly TargetUsers_ACP: FieldRef<"AppCampaign", 'Int'> readonly SentCount_ACP: FieldRef<"AppCampaign", 'Int'> readonly SuccessCount_ACP: FieldRef<"AppCampaign", 'Int'> readonly FailureCount_ACP: FieldRef<"AppCampaign", 'Int'> readonly DeliveryRate_ACP: FieldRef<"AppCampaign", 'Float'> readonly SentAt_ACP: FieldRef<"AppCampaign", 'DateTime'> readonly CompletedAt_ACP: FieldRef<"AppCampaign", 'DateTime'> readonly ErrorMessage_ACP: FieldRef<"AppCampaign", 'String'> readonly Data_ACP: FieldRef<"AppCampaign", 'String'> readonly ImageUrl_ACP: FieldRef<"AppCampaign", 'String'> } // Custom InputTypes /** * AppCampaign findUnique */ export type AppCampaignFindUniqueArgs = { /** * Select specific fields to fetch from the AppCampaign */ select?: AppCampaignSelect | null /** * Omit specific fields from the AppCampaign */ omit?: AppCampaignOmit | null /** * Choose, which related nodes to fetch as well */ include?: AppCampaignInclude | null /** * Filter, which AppCampaign to fetch. */ where: AppCampaignWhereUniqueInput } /** * AppCampaign findUniqueOrThrow */ export type AppCampaignFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AppCampaign */ select?: AppCampaignSelect | null /** * Omit specific fields from the AppCampaign */ omit?: AppCampaignOmit | null /** * Choose, which related nodes to fetch as well */ include?: AppCampaignInclude | null /** * Filter, which AppCampaign to fetch. */ where: AppCampaignWhereUniqueInput } /** * AppCampaign findFirst */ export type AppCampaignFindFirstArgs = { /** * Select specific fields to fetch from the AppCampaign */ select?: AppCampaignSelect | null /** * Omit specific fields from the AppCampaign */ omit?: AppCampaignOmit | null /** * Choose, which related nodes to fetch as well */ include?: AppCampaignInclude | null /** * Filter, which AppCampaign to fetch. */ where?: AppCampaignWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppCampaigns to fetch. */ orderBy?: AppCampaignOrderByWithRelationInput | AppCampaignOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AppCampaigns. */ cursor?: AppCampaignWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppCampaigns from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppCampaigns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppCampaigns. */ distinct?: AppCampaignScalarFieldEnum | AppCampaignScalarFieldEnum[] } /** * AppCampaign findFirstOrThrow */ export type AppCampaignFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AppCampaign */ select?: AppCampaignSelect | null /** * Omit specific fields from the AppCampaign */ omit?: AppCampaignOmit | null /** * Choose, which related nodes to fetch as well */ include?: AppCampaignInclude | null /** * Filter, which AppCampaign to fetch. */ where?: AppCampaignWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppCampaigns to fetch. */ orderBy?: AppCampaignOrderByWithRelationInput | AppCampaignOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AppCampaigns. */ cursor?: AppCampaignWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppCampaigns from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppCampaigns. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppCampaigns. */ distinct?: AppCampaignScalarFieldEnum | AppCampaignScalarFieldEnum[] } /** * AppCampaign findMany */ export type AppCampaignFindManyArgs = { /** * Select specific fields to fetch from the AppCampaign */ select?: AppCampaignSelect | null /** * Omit specific fields from the AppCampaign */ omit?: AppCampaignOmit | null /** * Choose, which related nodes to fetch as well */ include?: AppCampaignInclude | null /** * Filter, which AppCampaigns to fetch. */ where?: AppCampaignWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppCampaigns to fetch. */ orderBy?: AppCampaignOrderByWithRelationInput | AppCampaignOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AppCampaigns. */ cursor?: AppCampaignWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppCampaigns from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppCampaigns. */ skip?: number distinct?: AppCampaignScalarFieldEnum | AppCampaignScalarFieldEnum[] } /** * AppCampaign create */ export type AppCampaignCreateArgs = { /** * Select specific fields to fetch from the AppCampaign */ select?: AppCampaignSelect | null /** * Omit specific fields from the AppCampaign */ omit?: AppCampaignOmit | null /** * Choose, which related nodes to fetch as well */ include?: AppCampaignInclude | null /** * The data needed to create a AppCampaign. */ data: XOR } /** * AppCampaign createMany */ export type AppCampaignCreateManyArgs = { /** * The data used to create many AppCampaigns. */ data: AppCampaignCreateManyInput | AppCampaignCreateManyInput[] skipDuplicates?: boolean } /** * AppCampaign update */ export type AppCampaignUpdateArgs = { /** * Select specific fields to fetch from the AppCampaign */ select?: AppCampaignSelect | null /** * Omit specific fields from the AppCampaign */ omit?: AppCampaignOmit | null /** * Choose, which related nodes to fetch as well */ include?: AppCampaignInclude | null /** * The data needed to update a AppCampaign. */ data: XOR /** * Choose, which AppCampaign to update. */ where: AppCampaignWhereUniqueInput } /** * AppCampaign updateMany */ export type AppCampaignUpdateManyArgs = { /** * The data used to update AppCampaigns. */ data: XOR /** * Filter which AppCampaigns to update */ where?: AppCampaignWhereInput /** * Limit how many AppCampaigns to update. */ limit?: number } /** * AppCampaign upsert */ export type AppCampaignUpsertArgs = { /** * Select specific fields to fetch from the AppCampaign */ select?: AppCampaignSelect | null /** * Omit specific fields from the AppCampaign */ omit?: AppCampaignOmit | null /** * Choose, which related nodes to fetch as well */ include?: AppCampaignInclude | null /** * The filter to search for the AppCampaign to update in case it exists. */ where: AppCampaignWhereUniqueInput /** * In case the AppCampaign found by the `where` argument doesn't exist, create a new AppCampaign with this data. */ create: XOR /** * In case the AppCampaign was found with the provided `where` argument, update it with this data. */ update: XOR } /** * AppCampaign delete */ export type AppCampaignDeleteArgs = { /** * Select specific fields to fetch from the AppCampaign */ select?: AppCampaignSelect | null /** * Omit specific fields from the AppCampaign */ omit?: AppCampaignOmit | null /** * Choose, which related nodes to fetch as well */ include?: AppCampaignInclude | null /** * Filter which AppCampaign to delete. */ where: AppCampaignWhereUniqueInput } /** * AppCampaign deleteMany */ export type AppCampaignDeleteManyArgs = { /** * Filter which AppCampaigns to delete */ where?: AppCampaignWhereInput /** * Limit how many AppCampaigns to delete. */ limit?: number } /** * AppCampaign.CampaignDelivery */ export type AppCampaign$CampaignDeliveryArgs = { /** * Select specific fields to fetch from the CampaignDelivery */ select?: CampaignDeliverySelect | null /** * Omit specific fields from the CampaignDelivery */ omit?: CampaignDeliveryOmit | null /** * Choose, which related nodes to fetch as well */ include?: CampaignDeliveryInclude | null where?: CampaignDeliveryWhereInput orderBy?: CampaignDeliveryOrderByWithRelationInput | CampaignDeliveryOrderByWithRelationInput[] cursor?: CampaignDeliveryWhereUniqueInput take?: number skip?: number distinct?: CampaignDeliveryScalarFieldEnum | CampaignDeliveryScalarFieldEnum[] } /** * AppCampaign without action */ export type AppCampaignDefaultArgs = { /** * Select specific fields to fetch from the AppCampaign */ select?: AppCampaignSelect | null /** * Omit specific fields from the AppCampaign */ omit?: AppCampaignOmit | null /** * Choose, which related nodes to fetch as well */ include?: AppCampaignInclude | null } /** * Model CampaignDelivery */ export type AggregateCampaignDelivery = { _count: CampaignDeliveryCountAggregateOutputType | null _min: CampaignDeliveryMinAggregateOutputType | null _max: CampaignDeliveryMaxAggregateOutputType | null } export type CampaignDeliveryMinAggregateOutputType = { UUID_CD: string | null Campaign_CD: string | null UserID_CD: string | null Token_CD: string | null Status_CD: $Enums.DeliveryStatus | null SentAt_CD: Date | null DeliveredAt_CD: Date | null FailedAt_CD: Date | null ErrorMessage_CD: string | null ResponseData_CD: string | null CreatedAt_CD: Date | null UpdatedAt_CD: Date | null } export type CampaignDeliveryMaxAggregateOutputType = { UUID_CD: string | null Campaign_CD: string | null UserID_CD: string | null Token_CD: string | null Status_CD: $Enums.DeliveryStatus | null SentAt_CD: Date | null DeliveredAt_CD: Date | null FailedAt_CD: Date | null ErrorMessage_CD: string | null ResponseData_CD: string | null CreatedAt_CD: Date | null UpdatedAt_CD: Date | null } export type CampaignDeliveryCountAggregateOutputType = { UUID_CD: number Campaign_CD: number UserID_CD: number Token_CD: number Status_CD: number SentAt_CD: number DeliveredAt_CD: number FailedAt_CD: number ErrorMessage_CD: number ResponseData_CD: number CreatedAt_CD: number UpdatedAt_CD: number _all: number } export type CampaignDeliveryMinAggregateInputType = { UUID_CD?: true Campaign_CD?: true UserID_CD?: true Token_CD?: true Status_CD?: true SentAt_CD?: true DeliveredAt_CD?: true FailedAt_CD?: true ErrorMessage_CD?: true ResponseData_CD?: true CreatedAt_CD?: true UpdatedAt_CD?: true } export type CampaignDeliveryMaxAggregateInputType = { UUID_CD?: true Campaign_CD?: true UserID_CD?: true Token_CD?: true Status_CD?: true SentAt_CD?: true DeliveredAt_CD?: true FailedAt_CD?: true ErrorMessage_CD?: true ResponseData_CD?: true CreatedAt_CD?: true UpdatedAt_CD?: true } export type CampaignDeliveryCountAggregateInputType = { UUID_CD?: true Campaign_CD?: true UserID_CD?: true Token_CD?: true Status_CD?: true SentAt_CD?: true DeliveredAt_CD?: true FailedAt_CD?: true ErrorMessage_CD?: true ResponseData_CD?: true CreatedAt_CD?: true UpdatedAt_CD?: true _all?: true } export type CampaignDeliveryAggregateArgs = { /** * Filter which CampaignDelivery to aggregate. */ where?: CampaignDeliveryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CampaignDeliveries to fetch. */ orderBy?: CampaignDeliveryOrderByWithRelationInput | CampaignDeliveryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CampaignDeliveryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CampaignDeliveries from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CampaignDeliveries. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CampaignDeliveries **/ _count?: true | CampaignDeliveryCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CampaignDeliveryMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CampaignDeliveryMaxAggregateInputType } export type GetCampaignDeliveryAggregateType = { [P in keyof T & keyof AggregateCampaignDelivery]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CampaignDeliveryGroupByArgs = { where?: CampaignDeliveryWhereInput orderBy?: CampaignDeliveryOrderByWithAggregationInput | CampaignDeliveryOrderByWithAggregationInput[] by: CampaignDeliveryScalarFieldEnum[] | CampaignDeliveryScalarFieldEnum having?: CampaignDeliveryScalarWhereWithAggregatesInput take?: number skip?: number _count?: CampaignDeliveryCountAggregateInputType | true _min?: CampaignDeliveryMinAggregateInputType _max?: CampaignDeliveryMaxAggregateInputType } export type CampaignDeliveryGroupByOutputType = { UUID_CD: string Campaign_CD: string UserID_CD: string Token_CD: string Status_CD: $Enums.DeliveryStatus SentAt_CD: Date | null DeliveredAt_CD: Date | null FailedAt_CD: Date | null ErrorMessage_CD: string | null ResponseData_CD: string | null CreatedAt_CD: Date UpdatedAt_CD: Date _count: CampaignDeliveryCountAggregateOutputType | null _min: CampaignDeliveryMinAggregateOutputType | null _max: CampaignDeliveryMaxAggregateOutputType | null } type GetCampaignDeliveryGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CampaignDeliveryGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CampaignDeliverySelect = $Extensions.GetSelect<{ UUID_CD?: boolean Campaign_CD?: boolean UserID_CD?: boolean Token_CD?: boolean Status_CD?: boolean SentAt_CD?: boolean DeliveredAt_CD?: boolean FailedAt_CD?: boolean ErrorMessage_CD?: boolean ResponseData_CD?: boolean CreatedAt_CD?: boolean UpdatedAt_CD?: boolean AppCampaign?: boolean | AppCampaignDefaultArgs }, ExtArgs["result"]["campaignDelivery"]> export type CampaignDeliverySelectScalar = { UUID_CD?: boolean Campaign_CD?: boolean UserID_CD?: boolean Token_CD?: boolean Status_CD?: boolean SentAt_CD?: boolean DeliveredAt_CD?: boolean FailedAt_CD?: boolean ErrorMessage_CD?: boolean ResponseData_CD?: boolean CreatedAt_CD?: boolean UpdatedAt_CD?: boolean } export type CampaignDeliveryOmit = $Extensions.GetOmit<"UUID_CD" | "Campaign_CD" | "UserID_CD" | "Token_CD" | "Status_CD" | "SentAt_CD" | "DeliveredAt_CD" | "FailedAt_CD" | "ErrorMessage_CD" | "ResponseData_CD" | "CreatedAt_CD" | "UpdatedAt_CD", ExtArgs["result"]["campaignDelivery"]> export type CampaignDeliveryInclude = { AppCampaign?: boolean | AppCampaignDefaultArgs } export type $CampaignDeliveryPayload = { name: "CampaignDelivery" objects: { AppCampaign: Prisma.$AppCampaignPayload } scalars: $Extensions.GetPayloadResult<{ UUID_CD: string Campaign_CD: string UserID_CD: string Token_CD: string Status_CD: $Enums.DeliveryStatus SentAt_CD: Date | null DeliveredAt_CD: Date | null FailedAt_CD: Date | null ErrorMessage_CD: string | null ResponseData_CD: string | null CreatedAt_CD: Date UpdatedAt_CD: Date }, ExtArgs["result"]["campaignDelivery"]> composites: {} } type CampaignDeliveryGetPayload = $Result.GetResult type CampaignDeliveryCountArgs = Omit & { select?: CampaignDeliveryCountAggregateInputType | true } export interface CampaignDeliveryDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CampaignDelivery'], meta: { name: 'CampaignDelivery' } } /** * Find zero or one CampaignDelivery that matches the filter. * @param {CampaignDeliveryFindUniqueArgs} args - Arguments to find a CampaignDelivery * @example * // Get one CampaignDelivery * const campaignDelivery = await prisma.campaignDelivery.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CampaignDeliveryClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CampaignDelivery that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CampaignDeliveryFindUniqueOrThrowArgs} args - Arguments to find a CampaignDelivery * @example * // Get one CampaignDelivery * const campaignDelivery = await prisma.campaignDelivery.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CampaignDeliveryClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CampaignDelivery 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 {CampaignDeliveryFindFirstArgs} args - Arguments to find a CampaignDelivery * @example * // Get one CampaignDelivery * const campaignDelivery = await prisma.campaignDelivery.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CampaignDeliveryClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CampaignDelivery 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 {CampaignDeliveryFindFirstOrThrowArgs} args - Arguments to find a CampaignDelivery * @example * // Get one CampaignDelivery * const campaignDelivery = await prisma.campaignDelivery.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CampaignDeliveryClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CampaignDeliveries 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 {CampaignDeliveryFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CampaignDeliveries * const campaignDeliveries = await prisma.campaignDelivery.findMany() * * // Get first 10 CampaignDeliveries * const campaignDeliveries = await prisma.campaignDelivery.findMany({ take: 10 }) * * // Only select the `UUID_CD` * const campaignDeliveryWithUUID_CDOnly = await prisma.campaignDelivery.findMany({ select: { UUID_CD: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a CampaignDelivery. * @param {CampaignDeliveryCreateArgs} args - Arguments to create a CampaignDelivery. * @example * // Create one CampaignDelivery * const CampaignDelivery = await prisma.campaignDelivery.create({ * data: { * // ... data to create a CampaignDelivery * } * }) * */ create(args: SelectSubset>): Prisma__CampaignDeliveryClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CampaignDeliveries. * @param {CampaignDeliveryCreateManyArgs} args - Arguments to create many CampaignDeliveries. * @example * // Create many CampaignDeliveries * const campaignDelivery = await prisma.campaignDelivery.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Delete a CampaignDelivery. * @param {CampaignDeliveryDeleteArgs} args - Arguments to delete one CampaignDelivery. * @example * // Delete one CampaignDelivery * const CampaignDelivery = await prisma.campaignDelivery.delete({ * where: { * // ... filter to delete one CampaignDelivery * } * }) * */ delete(args: SelectSubset>): Prisma__CampaignDeliveryClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CampaignDelivery. * @param {CampaignDeliveryUpdateArgs} args - Arguments to update one CampaignDelivery. * @example * // Update one CampaignDelivery * const campaignDelivery = await prisma.campaignDelivery.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CampaignDeliveryClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CampaignDeliveries. * @param {CampaignDeliveryDeleteManyArgs} args - Arguments to filter CampaignDeliveries to delete. * @example * // Delete a few CampaignDeliveries * const { count } = await prisma.campaignDelivery.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CampaignDeliveries. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CampaignDeliveryUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CampaignDeliveries * const campaignDelivery = await prisma.campaignDelivery.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one CampaignDelivery. * @param {CampaignDeliveryUpsertArgs} args - Arguments to update or create a CampaignDelivery. * @example * // Update or create a CampaignDelivery * const campaignDelivery = await prisma.campaignDelivery.upsert({ * create: { * // ... data to create a CampaignDelivery * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CampaignDelivery we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CampaignDeliveryClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CampaignDeliveries. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CampaignDeliveryCountArgs} args - Arguments to filter CampaignDeliveries to count. * @example * // Count the number of CampaignDeliveries * const count = await prisma.campaignDelivery.count({ * where: { * // ... the filter for the CampaignDeliveries 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 CampaignDelivery. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CampaignDeliveryAggregateArgs} 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 CampaignDelivery. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CampaignDeliveryGroupByArgs} 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 CampaignDeliveryGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CampaignDeliveryGroupByArgs['orderBy'] } : { orderBy?: CampaignDeliveryGroupByArgs['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 ? GetCampaignDeliveryGroupByPayload : Prisma.PrismaPromise /** * Fields of the CampaignDelivery model */ readonly fields: CampaignDeliveryFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CampaignDelivery. * 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__CampaignDeliveryClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" AppCampaign = {}>(args?: Subset>): Prisma__AppCampaignClient<$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 CampaignDelivery model */ interface CampaignDeliveryFieldRefs { readonly UUID_CD: FieldRef<"CampaignDelivery", 'String'> readonly Campaign_CD: FieldRef<"CampaignDelivery", 'String'> readonly UserID_CD: FieldRef<"CampaignDelivery", 'String'> readonly Token_CD: FieldRef<"CampaignDelivery", 'String'> readonly Status_CD: FieldRef<"CampaignDelivery", 'DeliveryStatus'> readonly SentAt_CD: FieldRef<"CampaignDelivery", 'DateTime'> readonly DeliveredAt_CD: FieldRef<"CampaignDelivery", 'DateTime'> readonly FailedAt_CD: FieldRef<"CampaignDelivery", 'DateTime'> readonly ErrorMessage_CD: FieldRef<"CampaignDelivery", 'String'> readonly ResponseData_CD: FieldRef<"CampaignDelivery", 'String'> readonly CreatedAt_CD: FieldRef<"CampaignDelivery", 'DateTime'> readonly UpdatedAt_CD: FieldRef<"CampaignDelivery", 'DateTime'> } // Custom InputTypes /** * CampaignDelivery findUnique */ export type CampaignDeliveryFindUniqueArgs = { /** * Select specific fields to fetch from the CampaignDelivery */ select?: CampaignDeliverySelect | null /** * Omit specific fields from the CampaignDelivery */ omit?: CampaignDeliveryOmit | null /** * Choose, which related nodes to fetch as well */ include?: CampaignDeliveryInclude | null /** * Filter, which CampaignDelivery to fetch. */ where: CampaignDeliveryWhereUniqueInput } /** * CampaignDelivery findUniqueOrThrow */ export type CampaignDeliveryFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CampaignDelivery */ select?: CampaignDeliverySelect | null /** * Omit specific fields from the CampaignDelivery */ omit?: CampaignDeliveryOmit | null /** * Choose, which related nodes to fetch as well */ include?: CampaignDeliveryInclude | null /** * Filter, which CampaignDelivery to fetch. */ where: CampaignDeliveryWhereUniqueInput } /** * CampaignDelivery findFirst */ export type CampaignDeliveryFindFirstArgs = { /** * Select specific fields to fetch from the CampaignDelivery */ select?: CampaignDeliverySelect | null /** * Omit specific fields from the CampaignDelivery */ omit?: CampaignDeliveryOmit | null /** * Choose, which related nodes to fetch as well */ include?: CampaignDeliveryInclude | null /** * Filter, which CampaignDelivery to fetch. */ where?: CampaignDeliveryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CampaignDeliveries to fetch. */ orderBy?: CampaignDeliveryOrderByWithRelationInput | CampaignDeliveryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CampaignDeliveries. */ cursor?: CampaignDeliveryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CampaignDeliveries from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CampaignDeliveries. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CampaignDeliveries. */ distinct?: CampaignDeliveryScalarFieldEnum | CampaignDeliveryScalarFieldEnum[] } /** * CampaignDelivery findFirstOrThrow */ export type CampaignDeliveryFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CampaignDelivery */ select?: CampaignDeliverySelect | null /** * Omit specific fields from the CampaignDelivery */ omit?: CampaignDeliveryOmit | null /** * Choose, which related nodes to fetch as well */ include?: CampaignDeliveryInclude | null /** * Filter, which CampaignDelivery to fetch. */ where?: CampaignDeliveryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CampaignDeliveries to fetch. */ orderBy?: CampaignDeliveryOrderByWithRelationInput | CampaignDeliveryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CampaignDeliveries. */ cursor?: CampaignDeliveryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CampaignDeliveries from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CampaignDeliveries. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CampaignDeliveries. */ distinct?: CampaignDeliveryScalarFieldEnum | CampaignDeliveryScalarFieldEnum[] } /** * CampaignDelivery findMany */ export type CampaignDeliveryFindManyArgs = { /** * Select specific fields to fetch from the CampaignDelivery */ select?: CampaignDeliverySelect | null /** * Omit specific fields from the CampaignDelivery */ omit?: CampaignDeliveryOmit | null /** * Choose, which related nodes to fetch as well */ include?: CampaignDeliveryInclude | null /** * Filter, which CampaignDeliveries to fetch. */ where?: CampaignDeliveryWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CampaignDeliveries to fetch. */ orderBy?: CampaignDeliveryOrderByWithRelationInput | CampaignDeliveryOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CampaignDeliveries. */ cursor?: CampaignDeliveryWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CampaignDeliveries from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CampaignDeliveries. */ skip?: number distinct?: CampaignDeliveryScalarFieldEnum | CampaignDeliveryScalarFieldEnum[] } /** * CampaignDelivery create */ export type CampaignDeliveryCreateArgs = { /** * Select specific fields to fetch from the CampaignDelivery */ select?: CampaignDeliverySelect | null /** * Omit specific fields from the CampaignDelivery */ omit?: CampaignDeliveryOmit | null /** * Choose, which related nodes to fetch as well */ include?: CampaignDeliveryInclude | null /** * The data needed to create a CampaignDelivery. */ data: XOR } /** * CampaignDelivery createMany */ export type CampaignDeliveryCreateManyArgs = { /** * The data used to create many CampaignDeliveries. */ data: CampaignDeliveryCreateManyInput | CampaignDeliveryCreateManyInput[] skipDuplicates?: boolean } /** * CampaignDelivery update */ export type CampaignDeliveryUpdateArgs = { /** * Select specific fields to fetch from the CampaignDelivery */ select?: CampaignDeliverySelect | null /** * Omit specific fields from the CampaignDelivery */ omit?: CampaignDeliveryOmit | null /** * Choose, which related nodes to fetch as well */ include?: CampaignDeliveryInclude | null /** * The data needed to update a CampaignDelivery. */ data: XOR /** * Choose, which CampaignDelivery to update. */ where: CampaignDeliveryWhereUniqueInput } /** * CampaignDelivery updateMany */ export type CampaignDeliveryUpdateManyArgs = { /** * The data used to update CampaignDeliveries. */ data: XOR /** * Filter which CampaignDeliveries to update */ where?: CampaignDeliveryWhereInput /** * Limit how many CampaignDeliveries to update. */ limit?: number } /** * CampaignDelivery upsert */ export type CampaignDeliveryUpsertArgs = { /** * Select specific fields to fetch from the CampaignDelivery */ select?: CampaignDeliverySelect | null /** * Omit specific fields from the CampaignDelivery */ omit?: CampaignDeliveryOmit | null /** * Choose, which related nodes to fetch as well */ include?: CampaignDeliveryInclude | null /** * The filter to search for the CampaignDelivery to update in case it exists. */ where: CampaignDeliveryWhereUniqueInput /** * In case the CampaignDelivery found by the `where` argument doesn't exist, create a new CampaignDelivery with this data. */ create: XOR /** * In case the CampaignDelivery was found with the provided `where` argument, update it with this data. */ update: XOR } /** * CampaignDelivery delete */ export type CampaignDeliveryDeleteArgs = { /** * Select specific fields to fetch from the CampaignDelivery */ select?: CampaignDeliverySelect | null /** * Omit specific fields from the CampaignDelivery */ omit?: CampaignDeliveryOmit | null /** * Choose, which related nodes to fetch as well */ include?: CampaignDeliveryInclude | null /** * Filter which CampaignDelivery to delete. */ where: CampaignDeliveryWhereUniqueInput } /** * CampaignDelivery deleteMany */ export type CampaignDeliveryDeleteManyArgs = { /** * Filter which CampaignDeliveries to delete */ where?: CampaignDeliveryWhereInput /** * Limit how many CampaignDeliveries to delete. */ limit?: number } /** * CampaignDelivery without action */ export type CampaignDeliveryDefaultArgs = { /** * Select specific fields to fetch from the CampaignDelivery */ select?: CampaignDeliverySelect | null /** * Omit specific fields from the CampaignDelivery */ omit?: CampaignDeliveryOmit | null /** * Choose, which related nodes to fetch as well */ include?: CampaignDeliveryInclude | null } /** * Model UsersToken */ export type AggregateUsersToken = { _count: UsersTokenCountAggregateOutputType | null _min: UsersTokenMinAggregateOutputType | null _max: UsersTokenMaxAggregateOutputType | null } export type UsersTokenMinAggregateOutputType = { UUID_UT: string | null UserID_UT: string | null Token_UT: string | null UpdatedAt_UT: Date | null CreatedAt_UT: Date | null } export type UsersTokenMaxAggregateOutputType = { UUID_UT: string | null UserID_UT: string | null Token_UT: string | null UpdatedAt_UT: Date | null CreatedAt_UT: Date | null } export type UsersTokenCountAggregateOutputType = { UUID_UT: number UserID_UT: number Token_UT: number UpdatedAt_UT: number CreatedAt_UT: number _all: number } export type UsersTokenMinAggregateInputType = { UUID_UT?: true UserID_UT?: true Token_UT?: true UpdatedAt_UT?: true CreatedAt_UT?: true } export type UsersTokenMaxAggregateInputType = { UUID_UT?: true UserID_UT?: true Token_UT?: true UpdatedAt_UT?: true CreatedAt_UT?: true } export type UsersTokenCountAggregateInputType = { UUID_UT?: true UserID_UT?: true Token_UT?: true UpdatedAt_UT?: true CreatedAt_UT?: true _all?: true } export type UsersTokenAggregateArgs = { /** * Filter which UsersToken to aggregate. */ where?: UsersTokenWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UsersTokens to fetch. */ orderBy?: UsersTokenOrderByWithRelationInput | UsersTokenOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: UsersTokenWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UsersTokens from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UsersTokens. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned UsersTokens **/ _count?: true | UsersTokenCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: UsersTokenMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: UsersTokenMaxAggregateInputType } export type GetUsersTokenAggregateType = { [P in keyof T & keyof AggregateUsersToken]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type UsersTokenGroupByArgs = { where?: UsersTokenWhereInput orderBy?: UsersTokenOrderByWithAggregationInput | UsersTokenOrderByWithAggregationInput[] by: UsersTokenScalarFieldEnum[] | UsersTokenScalarFieldEnum having?: UsersTokenScalarWhereWithAggregatesInput take?: number skip?: number _count?: UsersTokenCountAggregateInputType | true _min?: UsersTokenMinAggregateInputType _max?: UsersTokenMaxAggregateInputType } export type UsersTokenGroupByOutputType = { UUID_UT: string UserID_UT: string Token_UT: string UpdatedAt_UT: Date CreatedAt_UT: Date _count: UsersTokenCountAggregateOutputType | null _min: UsersTokenMinAggregateOutputType | null _max: UsersTokenMaxAggregateOutputType | null } type GetUsersTokenGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof UsersTokenGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type UsersTokenSelect = $Extensions.GetSelect<{ UUID_UT?: boolean UserID_UT?: boolean Token_UT?: boolean UpdatedAt_UT?: boolean CreatedAt_UT?: boolean UsersActivity?: boolean | UsersToken$UsersActivityArgs _count?: boolean | UsersTokenCountOutputTypeDefaultArgs }, ExtArgs["result"]["usersToken"]> export type UsersTokenSelectScalar = { UUID_UT?: boolean UserID_UT?: boolean Token_UT?: boolean UpdatedAt_UT?: boolean CreatedAt_UT?: boolean } export type UsersTokenOmit = $Extensions.GetOmit<"UUID_UT" | "UserID_UT" | "Token_UT" | "UpdatedAt_UT" | "CreatedAt_UT", ExtArgs["result"]["usersToken"]> export type UsersTokenInclude = { UsersActivity?: boolean | UsersToken$UsersActivityArgs _count?: boolean | UsersTokenCountOutputTypeDefaultArgs } export type $UsersTokenPayload = { name: "UsersToken" objects: { UsersActivity: Prisma.$UsersActivityPayload[] } scalars: $Extensions.GetPayloadResult<{ UUID_UT: string UserID_UT: string Token_UT: string UpdatedAt_UT: Date CreatedAt_UT: Date }, ExtArgs["result"]["usersToken"]> composites: {} } type UsersTokenGetPayload = $Result.GetResult type UsersTokenCountArgs = Omit & { select?: UsersTokenCountAggregateInputType | true } export interface UsersTokenDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['UsersToken'], meta: { name: 'UsersToken' } } /** * Find zero or one UsersToken that matches the filter. * @param {UsersTokenFindUniqueArgs} args - Arguments to find a UsersToken * @example * // Get one UsersToken * const usersToken = await prisma.usersToken.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__UsersTokenClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one UsersToken that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {UsersTokenFindUniqueOrThrowArgs} args - Arguments to find a UsersToken * @example * // Get one UsersToken * const usersToken = await prisma.usersToken.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__UsersTokenClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first UsersToken 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 {UsersTokenFindFirstArgs} args - Arguments to find a UsersToken * @example * // Get one UsersToken * const usersToken = await prisma.usersToken.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__UsersTokenClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first UsersToken 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 {UsersTokenFindFirstOrThrowArgs} args - Arguments to find a UsersToken * @example * // Get one UsersToken * const usersToken = await prisma.usersToken.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__UsersTokenClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more UsersTokens 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 {UsersTokenFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all UsersTokens * const usersTokens = await prisma.usersToken.findMany() * * // Get first 10 UsersTokens * const usersTokens = await prisma.usersToken.findMany({ take: 10 }) * * // Only select the `UUID_UT` * const usersTokenWithUUID_UTOnly = await prisma.usersToken.findMany({ select: { UUID_UT: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a UsersToken. * @param {UsersTokenCreateArgs} args - Arguments to create a UsersToken. * @example * // Create one UsersToken * const UsersToken = await prisma.usersToken.create({ * data: { * // ... data to create a UsersToken * } * }) * */ create(args: SelectSubset>): Prisma__UsersTokenClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many UsersTokens. * @param {UsersTokenCreateManyArgs} args - Arguments to create many UsersTokens. * @example * // Create many UsersTokens * const usersToken = await prisma.usersToken.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Delete a UsersToken. * @param {UsersTokenDeleteArgs} args - Arguments to delete one UsersToken. * @example * // Delete one UsersToken * const UsersToken = await prisma.usersToken.delete({ * where: { * // ... filter to delete one UsersToken * } * }) * */ delete(args: SelectSubset>): Prisma__UsersTokenClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one UsersToken. * @param {UsersTokenUpdateArgs} args - Arguments to update one UsersToken. * @example * // Update one UsersToken * const usersToken = await prisma.usersToken.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__UsersTokenClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more UsersTokens. * @param {UsersTokenDeleteManyArgs} args - Arguments to filter UsersTokens to delete. * @example * // Delete a few UsersTokens * const { count } = await prisma.usersToken.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more UsersTokens. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UsersTokenUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many UsersTokens * const usersToken = await prisma.usersToken.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one UsersToken. * @param {UsersTokenUpsertArgs} args - Arguments to update or create a UsersToken. * @example * // Update or create a UsersToken * const usersToken = await prisma.usersToken.upsert({ * create: { * // ... data to create a UsersToken * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the UsersToken we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__UsersTokenClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of UsersTokens. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UsersTokenCountArgs} args - Arguments to filter UsersTokens to count. * @example * // Count the number of UsersTokens * const count = await prisma.usersToken.count({ * where: { * // ... the filter for the UsersTokens 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 UsersToken. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UsersTokenAggregateArgs} 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 UsersToken. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UsersTokenGroupByArgs} 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 UsersTokenGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: UsersTokenGroupByArgs['orderBy'] } : { orderBy?: UsersTokenGroupByArgs['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 ? GetUsersTokenGroupByPayload : Prisma.PrismaPromise /** * Fields of the UsersToken model */ readonly fields: UsersTokenFieldRefs; } /** * The delegate class that acts as a "Promise-like" for UsersToken. * 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__UsersTokenClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" UsersActivity = {}>(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 UsersToken model */ interface UsersTokenFieldRefs { readonly UUID_UT: FieldRef<"UsersToken", 'String'> readonly UserID_UT: FieldRef<"UsersToken", 'String'> readonly Token_UT: FieldRef<"UsersToken", 'String'> readonly UpdatedAt_UT: FieldRef<"UsersToken", 'DateTime'> readonly CreatedAt_UT: FieldRef<"UsersToken", 'DateTime'> } // Custom InputTypes /** * UsersToken findUnique */ export type UsersTokenFindUniqueArgs = { /** * Select specific fields to fetch from the UsersToken */ select?: UsersTokenSelect | null /** * Omit specific fields from the UsersToken */ omit?: UsersTokenOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersTokenInclude | null /** * Filter, which UsersToken to fetch. */ where: UsersTokenWhereUniqueInput } /** * UsersToken findUniqueOrThrow */ export type UsersTokenFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the UsersToken */ select?: UsersTokenSelect | null /** * Omit specific fields from the UsersToken */ omit?: UsersTokenOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersTokenInclude | null /** * Filter, which UsersToken to fetch. */ where: UsersTokenWhereUniqueInput } /** * UsersToken findFirst */ export type UsersTokenFindFirstArgs = { /** * Select specific fields to fetch from the UsersToken */ select?: UsersTokenSelect | null /** * Omit specific fields from the UsersToken */ omit?: UsersTokenOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersTokenInclude | null /** * Filter, which UsersToken to fetch. */ where?: UsersTokenWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UsersTokens to fetch. */ orderBy?: UsersTokenOrderByWithRelationInput | UsersTokenOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for UsersTokens. */ cursor?: UsersTokenWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UsersTokens from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UsersTokens. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UsersTokens. */ distinct?: UsersTokenScalarFieldEnum | UsersTokenScalarFieldEnum[] } /** * UsersToken findFirstOrThrow */ export type UsersTokenFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the UsersToken */ select?: UsersTokenSelect | null /** * Omit specific fields from the UsersToken */ omit?: UsersTokenOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersTokenInclude | null /** * Filter, which UsersToken to fetch. */ where?: UsersTokenWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UsersTokens to fetch. */ orderBy?: UsersTokenOrderByWithRelationInput | UsersTokenOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for UsersTokens. */ cursor?: UsersTokenWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UsersTokens from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UsersTokens. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UsersTokens. */ distinct?: UsersTokenScalarFieldEnum | UsersTokenScalarFieldEnum[] } /** * UsersToken findMany */ export type UsersTokenFindManyArgs = { /** * Select specific fields to fetch from the UsersToken */ select?: UsersTokenSelect | null /** * Omit specific fields from the UsersToken */ omit?: UsersTokenOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersTokenInclude | null /** * Filter, which UsersTokens to fetch. */ where?: UsersTokenWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UsersTokens to fetch. */ orderBy?: UsersTokenOrderByWithRelationInput | UsersTokenOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing UsersTokens. */ cursor?: UsersTokenWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UsersTokens from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UsersTokens. */ skip?: number distinct?: UsersTokenScalarFieldEnum | UsersTokenScalarFieldEnum[] } /** * UsersToken create */ export type UsersTokenCreateArgs = { /** * Select specific fields to fetch from the UsersToken */ select?: UsersTokenSelect | null /** * Omit specific fields from the UsersToken */ omit?: UsersTokenOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersTokenInclude | null /** * The data needed to create a UsersToken. */ data: XOR } /** * UsersToken createMany */ export type UsersTokenCreateManyArgs = { /** * The data used to create many UsersTokens. */ data: UsersTokenCreateManyInput | UsersTokenCreateManyInput[] skipDuplicates?: boolean } /** * UsersToken update */ export type UsersTokenUpdateArgs = { /** * Select specific fields to fetch from the UsersToken */ select?: UsersTokenSelect | null /** * Omit specific fields from the UsersToken */ omit?: UsersTokenOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersTokenInclude | null /** * The data needed to update a UsersToken. */ data: XOR /** * Choose, which UsersToken to update. */ where: UsersTokenWhereUniqueInput } /** * UsersToken updateMany */ export type UsersTokenUpdateManyArgs = { /** * The data used to update UsersTokens. */ data: XOR /** * Filter which UsersTokens to update */ where?: UsersTokenWhereInput /** * Limit how many UsersTokens to update. */ limit?: number } /** * UsersToken upsert */ export type UsersTokenUpsertArgs = { /** * Select specific fields to fetch from the UsersToken */ select?: UsersTokenSelect | null /** * Omit specific fields from the UsersToken */ omit?: UsersTokenOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersTokenInclude | null /** * The filter to search for the UsersToken to update in case it exists. */ where: UsersTokenWhereUniqueInput /** * In case the UsersToken found by the `where` argument doesn't exist, create a new UsersToken with this data. */ create: XOR /** * In case the UsersToken was found with the provided `where` argument, update it with this data. */ update: XOR } /** * UsersToken delete */ export type UsersTokenDeleteArgs = { /** * Select specific fields to fetch from the UsersToken */ select?: UsersTokenSelect | null /** * Omit specific fields from the UsersToken */ omit?: UsersTokenOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersTokenInclude | null /** * Filter which UsersToken to delete. */ where: UsersTokenWhereUniqueInput } /** * UsersToken deleteMany */ export type UsersTokenDeleteManyArgs = { /** * Filter which UsersTokens to delete */ where?: UsersTokenWhereInput /** * Limit how many UsersTokens to delete. */ limit?: number } /** * UsersToken.UsersActivity */ export type UsersToken$UsersActivityArgs = { /** * Select specific fields to fetch from the UsersActivity */ select?: UsersActivitySelect | null /** * Omit specific fields from the UsersActivity */ omit?: UsersActivityOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersActivityInclude | null where?: UsersActivityWhereInput orderBy?: UsersActivityOrderByWithRelationInput | UsersActivityOrderByWithRelationInput[] cursor?: UsersActivityWhereUniqueInput take?: number skip?: number distinct?: UsersActivityScalarFieldEnum | UsersActivityScalarFieldEnum[] } /** * UsersToken without action */ export type UsersTokenDefaultArgs = { /** * Select specific fields to fetch from the UsersToken */ select?: UsersTokenSelect | null /** * Omit specific fields from the UsersToken */ omit?: UsersTokenOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersTokenInclude | null } /** * Model UsersActivity */ export type AggregateUsersActivity = { _count: UsersActivityCountAggregateOutputType | null _min: UsersActivityMinAggregateOutputType | null _max: UsersActivityMaxAggregateOutputType | null } export type UsersActivityMinAggregateOutputType = { UUID_UA: string | null UUID_UT: string | null ActivityType_UA: $Enums.ActivityType | null Params_UA: string | null NotifyAt_UA: Date | null UpdatedAt_UA: Date | null CreatedAt_UA: Date | null Processed_UA: boolean | null } export type UsersActivityMaxAggregateOutputType = { UUID_UA: string | null UUID_UT: string | null ActivityType_UA: $Enums.ActivityType | null Params_UA: string | null NotifyAt_UA: Date | null UpdatedAt_UA: Date | null CreatedAt_UA: Date | null Processed_UA: boolean | null } export type UsersActivityCountAggregateOutputType = { UUID_UA: number UUID_UT: number ActivityType_UA: number Params_UA: number NotifyAt_UA: number UpdatedAt_UA: number CreatedAt_UA: number Processed_UA: number _all: number } export type UsersActivityMinAggregateInputType = { UUID_UA?: true UUID_UT?: true ActivityType_UA?: true Params_UA?: true NotifyAt_UA?: true UpdatedAt_UA?: true CreatedAt_UA?: true Processed_UA?: true } export type UsersActivityMaxAggregateInputType = { UUID_UA?: true UUID_UT?: true ActivityType_UA?: true Params_UA?: true NotifyAt_UA?: true UpdatedAt_UA?: true CreatedAt_UA?: true Processed_UA?: true } export type UsersActivityCountAggregateInputType = { UUID_UA?: true UUID_UT?: true ActivityType_UA?: true Params_UA?: true NotifyAt_UA?: true UpdatedAt_UA?: true CreatedAt_UA?: true Processed_UA?: true _all?: true } export type UsersActivityAggregateArgs = { /** * Filter which UsersActivity to aggregate. */ where?: UsersActivityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UsersActivities to fetch. */ orderBy?: UsersActivityOrderByWithRelationInput | UsersActivityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: UsersActivityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UsersActivities from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UsersActivities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned UsersActivities **/ _count?: true | UsersActivityCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: UsersActivityMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: UsersActivityMaxAggregateInputType } export type GetUsersActivityAggregateType = { [P in keyof T & keyof AggregateUsersActivity]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type UsersActivityGroupByArgs = { where?: UsersActivityWhereInput orderBy?: UsersActivityOrderByWithAggregationInput | UsersActivityOrderByWithAggregationInput[] by: UsersActivityScalarFieldEnum[] | UsersActivityScalarFieldEnum having?: UsersActivityScalarWhereWithAggregatesInput take?: number skip?: number _count?: UsersActivityCountAggregateInputType | true _min?: UsersActivityMinAggregateInputType _max?: UsersActivityMaxAggregateInputType } export type UsersActivityGroupByOutputType = { UUID_UA: string UUID_UT: string ActivityType_UA: $Enums.ActivityType Params_UA: string NotifyAt_UA: Date UpdatedAt_UA: Date CreatedAt_UA: Date Processed_UA: boolean _count: UsersActivityCountAggregateOutputType | null _min: UsersActivityMinAggregateOutputType | null _max: UsersActivityMaxAggregateOutputType | null } type GetUsersActivityGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof UsersActivityGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type UsersActivitySelect = $Extensions.GetSelect<{ UUID_UA?: boolean UUID_UT?: boolean ActivityType_UA?: boolean Params_UA?: boolean NotifyAt_UA?: boolean UpdatedAt_UA?: boolean CreatedAt_UA?: boolean Processed_UA?: boolean UsersToken?: boolean | UsersTokenDefaultArgs }, ExtArgs["result"]["usersActivity"]> export type UsersActivitySelectScalar = { UUID_UA?: boolean UUID_UT?: boolean ActivityType_UA?: boolean Params_UA?: boolean NotifyAt_UA?: boolean UpdatedAt_UA?: boolean CreatedAt_UA?: boolean Processed_UA?: boolean } export type UsersActivityOmit = $Extensions.GetOmit<"UUID_UA" | "UUID_UT" | "ActivityType_UA" | "Params_UA" | "NotifyAt_UA" | "UpdatedAt_UA" | "CreatedAt_UA" | "Processed_UA", ExtArgs["result"]["usersActivity"]> export type UsersActivityInclude = { UsersToken?: boolean | UsersTokenDefaultArgs } export type $UsersActivityPayload = { name: "UsersActivity" objects: { UsersToken: Prisma.$UsersTokenPayload } scalars: $Extensions.GetPayloadResult<{ UUID_UA: string UUID_UT: string ActivityType_UA: $Enums.ActivityType Params_UA: string NotifyAt_UA: Date UpdatedAt_UA: Date CreatedAt_UA: Date Processed_UA: boolean }, ExtArgs["result"]["usersActivity"]> composites: {} } type UsersActivityGetPayload = $Result.GetResult type UsersActivityCountArgs = Omit & { select?: UsersActivityCountAggregateInputType | true } export interface UsersActivityDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['UsersActivity'], meta: { name: 'UsersActivity' } } /** * Find zero or one UsersActivity that matches the filter. * @param {UsersActivityFindUniqueArgs} args - Arguments to find a UsersActivity * @example * // Get one UsersActivity * const usersActivity = await prisma.usersActivity.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__UsersActivityClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one UsersActivity that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {UsersActivityFindUniqueOrThrowArgs} args - Arguments to find a UsersActivity * @example * // Get one UsersActivity * const usersActivity = await prisma.usersActivity.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__UsersActivityClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first UsersActivity 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 {UsersActivityFindFirstArgs} args - Arguments to find a UsersActivity * @example * // Get one UsersActivity * const usersActivity = await prisma.usersActivity.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__UsersActivityClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first UsersActivity 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 {UsersActivityFindFirstOrThrowArgs} args - Arguments to find a UsersActivity * @example * // Get one UsersActivity * const usersActivity = await prisma.usersActivity.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__UsersActivityClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more UsersActivities 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 {UsersActivityFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all UsersActivities * const usersActivities = await prisma.usersActivity.findMany() * * // Get first 10 UsersActivities * const usersActivities = await prisma.usersActivity.findMany({ take: 10 }) * * // Only select the `UUID_UA` * const usersActivityWithUUID_UAOnly = await prisma.usersActivity.findMany({ select: { UUID_UA: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a UsersActivity. * @param {UsersActivityCreateArgs} args - Arguments to create a UsersActivity. * @example * // Create one UsersActivity * const UsersActivity = await prisma.usersActivity.create({ * data: { * // ... data to create a UsersActivity * } * }) * */ create(args: SelectSubset>): Prisma__UsersActivityClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many UsersActivities. * @param {UsersActivityCreateManyArgs} args - Arguments to create many UsersActivities. * @example * // Create many UsersActivities * const usersActivity = await prisma.usersActivity.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Delete a UsersActivity. * @param {UsersActivityDeleteArgs} args - Arguments to delete one UsersActivity. * @example * // Delete one UsersActivity * const UsersActivity = await prisma.usersActivity.delete({ * where: { * // ... filter to delete one UsersActivity * } * }) * */ delete(args: SelectSubset>): Prisma__UsersActivityClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one UsersActivity. * @param {UsersActivityUpdateArgs} args - Arguments to update one UsersActivity. * @example * // Update one UsersActivity * const usersActivity = await prisma.usersActivity.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__UsersActivityClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more UsersActivities. * @param {UsersActivityDeleteManyArgs} args - Arguments to filter UsersActivities to delete. * @example * // Delete a few UsersActivities * const { count } = await prisma.usersActivity.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more UsersActivities. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UsersActivityUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many UsersActivities * const usersActivity = await prisma.usersActivity.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one UsersActivity. * @param {UsersActivityUpsertArgs} args - Arguments to update or create a UsersActivity. * @example * // Update or create a UsersActivity * const usersActivity = await prisma.usersActivity.upsert({ * create: { * // ... data to create a UsersActivity * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the UsersActivity we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__UsersActivityClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of UsersActivities. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UsersActivityCountArgs} args - Arguments to filter UsersActivities to count. * @example * // Count the number of UsersActivities * const count = await prisma.usersActivity.count({ * where: { * // ... the filter for the UsersActivities 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 UsersActivity. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UsersActivityAggregateArgs} 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 UsersActivity. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UsersActivityGroupByArgs} 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 UsersActivityGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: UsersActivityGroupByArgs['orderBy'] } : { orderBy?: UsersActivityGroupByArgs['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 ? GetUsersActivityGroupByPayload : Prisma.PrismaPromise /** * Fields of the UsersActivity model */ readonly fields: UsersActivityFieldRefs; } /** * The delegate class that acts as a "Promise-like" for UsersActivity. * 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__UsersActivityClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" UsersToken = {}>(args?: Subset>): Prisma__UsersTokenClient<$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 UsersActivity model */ interface UsersActivityFieldRefs { readonly UUID_UA: FieldRef<"UsersActivity", 'String'> readonly UUID_UT: FieldRef<"UsersActivity", 'String'> readonly ActivityType_UA: FieldRef<"UsersActivity", 'ActivityType'> readonly Params_UA: FieldRef<"UsersActivity", 'String'> readonly NotifyAt_UA: FieldRef<"UsersActivity", 'DateTime'> readonly UpdatedAt_UA: FieldRef<"UsersActivity", 'DateTime'> readonly CreatedAt_UA: FieldRef<"UsersActivity", 'DateTime'> readonly Processed_UA: FieldRef<"UsersActivity", 'Boolean'> } // Custom InputTypes /** * UsersActivity findUnique */ export type UsersActivityFindUniqueArgs = { /** * Select specific fields to fetch from the UsersActivity */ select?: UsersActivitySelect | null /** * Omit specific fields from the UsersActivity */ omit?: UsersActivityOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersActivityInclude | null /** * Filter, which UsersActivity to fetch. */ where: UsersActivityWhereUniqueInput } /** * UsersActivity findUniqueOrThrow */ export type UsersActivityFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the UsersActivity */ select?: UsersActivitySelect | null /** * Omit specific fields from the UsersActivity */ omit?: UsersActivityOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersActivityInclude | null /** * Filter, which UsersActivity to fetch. */ where: UsersActivityWhereUniqueInput } /** * UsersActivity findFirst */ export type UsersActivityFindFirstArgs = { /** * Select specific fields to fetch from the UsersActivity */ select?: UsersActivitySelect | null /** * Omit specific fields from the UsersActivity */ omit?: UsersActivityOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersActivityInclude | null /** * Filter, which UsersActivity to fetch. */ where?: UsersActivityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UsersActivities to fetch. */ orderBy?: UsersActivityOrderByWithRelationInput | UsersActivityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for UsersActivities. */ cursor?: UsersActivityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UsersActivities from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UsersActivities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UsersActivities. */ distinct?: UsersActivityScalarFieldEnum | UsersActivityScalarFieldEnum[] } /** * UsersActivity findFirstOrThrow */ export type UsersActivityFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the UsersActivity */ select?: UsersActivitySelect | null /** * Omit specific fields from the UsersActivity */ omit?: UsersActivityOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersActivityInclude | null /** * Filter, which UsersActivity to fetch. */ where?: UsersActivityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UsersActivities to fetch. */ orderBy?: UsersActivityOrderByWithRelationInput | UsersActivityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for UsersActivities. */ cursor?: UsersActivityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UsersActivities from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UsersActivities. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UsersActivities. */ distinct?: UsersActivityScalarFieldEnum | UsersActivityScalarFieldEnum[] } /** * UsersActivity findMany */ export type UsersActivityFindManyArgs = { /** * Select specific fields to fetch from the UsersActivity */ select?: UsersActivitySelect | null /** * Omit specific fields from the UsersActivity */ omit?: UsersActivityOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersActivityInclude | null /** * Filter, which UsersActivities to fetch. */ where?: UsersActivityWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UsersActivities to fetch. */ orderBy?: UsersActivityOrderByWithRelationInput | UsersActivityOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing UsersActivities. */ cursor?: UsersActivityWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UsersActivities from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UsersActivities. */ skip?: number distinct?: UsersActivityScalarFieldEnum | UsersActivityScalarFieldEnum[] } /** * UsersActivity create */ export type UsersActivityCreateArgs = { /** * Select specific fields to fetch from the UsersActivity */ select?: UsersActivitySelect | null /** * Omit specific fields from the UsersActivity */ omit?: UsersActivityOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersActivityInclude | null /** * The data needed to create a UsersActivity. */ data: XOR } /** * UsersActivity createMany */ export type UsersActivityCreateManyArgs = { /** * The data used to create many UsersActivities. */ data: UsersActivityCreateManyInput | UsersActivityCreateManyInput[] skipDuplicates?: boolean } /** * UsersActivity update */ export type UsersActivityUpdateArgs = { /** * Select specific fields to fetch from the UsersActivity */ select?: UsersActivitySelect | null /** * Omit specific fields from the UsersActivity */ omit?: UsersActivityOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersActivityInclude | null /** * The data needed to update a UsersActivity. */ data: XOR /** * Choose, which UsersActivity to update. */ where: UsersActivityWhereUniqueInput } /** * UsersActivity updateMany */ export type UsersActivityUpdateManyArgs = { /** * The data used to update UsersActivities. */ data: XOR /** * Filter which UsersActivities to update */ where?: UsersActivityWhereInput /** * Limit how many UsersActivities to update. */ limit?: number } /** * UsersActivity upsert */ export type UsersActivityUpsertArgs = { /** * Select specific fields to fetch from the UsersActivity */ select?: UsersActivitySelect | null /** * Omit specific fields from the UsersActivity */ omit?: UsersActivityOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersActivityInclude | null /** * The filter to search for the UsersActivity to update in case it exists. */ where: UsersActivityWhereUniqueInput /** * In case the UsersActivity found by the `where` argument doesn't exist, create a new UsersActivity with this data. */ create: XOR /** * In case the UsersActivity was found with the provided `where` argument, update it with this data. */ update: XOR } /** * UsersActivity delete */ export type UsersActivityDeleteArgs = { /** * Select specific fields to fetch from the UsersActivity */ select?: UsersActivitySelect | null /** * Omit specific fields from the UsersActivity */ omit?: UsersActivityOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersActivityInclude | null /** * Filter which UsersActivity to delete. */ where: UsersActivityWhereUniqueInput } /** * UsersActivity deleteMany */ export type UsersActivityDeleteManyArgs = { /** * Filter which UsersActivities to delete */ where?: UsersActivityWhereInput /** * Limit how many UsersActivities to delete. */ limit?: number } /** * UsersActivity without action */ export type UsersActivityDefaultArgs = { /** * Select specific fields to fetch from the UsersActivity */ select?: UsersActivitySelect | null /** * Omit specific fields from the UsersActivity */ omit?: UsersActivityOmit | null /** * Choose, which related nodes to fetch as well */ include?: UsersActivityInclude | null } /** * Model CrashReport */ export type AggregateCrashReport = { _count: CrashReportCountAggregateOutputType | null _avg: CrashReportAvgAggregateOutputType | null _sum: CrashReportSumAggregateOutputType | null _min: CrashReportMinAggregateOutputType | null _max: CrashReportMaxAggregateOutputType | null } export type CrashReportAvgAggregateOutputType = { AvailableRam_CR: number | null TotalRam_CR: number | null AvailableDisk_CR: number | null TotalDisk_CR: number | null BatteryLevel_CR: number | null CrashCount_CR: number | null AffectedUsers_CR: number | null } export type CrashReportSumAggregateOutputType = { AvailableRam_CR: bigint | null TotalRam_CR: bigint | null AvailableDisk_CR: bigint | null TotalDisk_CR: bigint | null BatteryLevel_CR: number | null CrashCount_CR: number | null AffectedUsers_CR: number | null } export type CrashReportMinAggregateOutputType = { UUID_CR: string | null AppId_CR: string | null AppVersion_CR: string | null BuildVersion_CR: string | null CrashId_CR: string | null SessionId_CR: string | null UserId_CR: string | null CrashType_CR: string | null ExceptionName_CR: string | null ExceptionReason_CR: string | null StackTrace_CR: string | null ThreadName_CR: string | null IsFatal_CR: boolean | null Severity_CR: $Enums.CrashSeverity | null Status_CR: $Enums.CrashStatus | null DeviceModel_CR: string | null DeviceBrand_CR: string | null OSName_CR: $Enums.DeviceOS | null OSVersion_CR: string | null Architecture_CR: string | null AvailableRam_CR: bigint | null TotalRam_CR: bigint | null AvailableDisk_CR: bigint | null TotalDisk_CR: bigint | null BatteryLevel_CR: number | null IsRooted_CR: boolean | null IsDebugger_CR: boolean | null NetworkType_CR: string | null CrashCount_CR: number | null FirstOccurred_CR: Date | null LastOccurred_CR: Date | null AffectedUsers_CR: number | null CreatedAt_CR: Date | null UpdatedAt_CR: Date | null ResolvedAt_CR: Date | null ResolvedBy_CR: string | null } export type CrashReportMaxAggregateOutputType = { UUID_CR: string | null AppId_CR: string | null AppVersion_CR: string | null BuildVersion_CR: string | null CrashId_CR: string | null SessionId_CR: string | null UserId_CR: string | null CrashType_CR: string | null ExceptionName_CR: string | null ExceptionReason_CR: string | null StackTrace_CR: string | null ThreadName_CR: string | null IsFatal_CR: boolean | null Severity_CR: $Enums.CrashSeverity | null Status_CR: $Enums.CrashStatus | null DeviceModel_CR: string | null DeviceBrand_CR: string | null OSName_CR: $Enums.DeviceOS | null OSVersion_CR: string | null Architecture_CR: string | null AvailableRam_CR: bigint | null TotalRam_CR: bigint | null AvailableDisk_CR: bigint | null TotalDisk_CR: bigint | null BatteryLevel_CR: number | null IsRooted_CR: boolean | null IsDebugger_CR: boolean | null NetworkType_CR: string | null CrashCount_CR: number | null FirstOccurred_CR: Date | null LastOccurred_CR: Date | null AffectedUsers_CR: number | null CreatedAt_CR: Date | null UpdatedAt_CR: Date | null ResolvedAt_CR: Date | null ResolvedBy_CR: string | null } export type CrashReportCountAggregateOutputType = { UUID_CR: number AppId_CR: number AppVersion_CR: number BuildVersion_CR: number CrashId_CR: number SessionId_CR: number UserId_CR: number CrashType_CR: number ExceptionName_CR: number ExceptionReason_CR: number StackTrace_CR: number ThreadName_CR: number IsFatal_CR: number Severity_CR: number Status_CR: number DeviceModel_CR: number DeviceBrand_CR: number OSName_CR: number OSVersion_CR: number Architecture_CR: number AvailableRam_CR: number TotalRam_CR: number AvailableDisk_CR: number TotalDisk_CR: number BatteryLevel_CR: number IsRooted_CR: number IsDebugger_CR: number NetworkType_CR: number Breadcrumbs_CR: number CustomData_CR: number Logs_CR: number CrashCount_CR: number FirstOccurred_CR: number LastOccurred_CR: number AffectedUsers_CR: number CreatedAt_CR: number UpdatedAt_CR: number ResolvedAt_CR: number ResolvedBy_CR: number _all: number } export type CrashReportAvgAggregateInputType = { AvailableRam_CR?: true TotalRam_CR?: true AvailableDisk_CR?: true TotalDisk_CR?: true BatteryLevel_CR?: true CrashCount_CR?: true AffectedUsers_CR?: true } export type CrashReportSumAggregateInputType = { AvailableRam_CR?: true TotalRam_CR?: true AvailableDisk_CR?: true TotalDisk_CR?: true BatteryLevel_CR?: true CrashCount_CR?: true AffectedUsers_CR?: true } export type CrashReportMinAggregateInputType = { UUID_CR?: true AppId_CR?: true AppVersion_CR?: true BuildVersion_CR?: true CrashId_CR?: true SessionId_CR?: true UserId_CR?: true CrashType_CR?: true ExceptionName_CR?: true ExceptionReason_CR?: true StackTrace_CR?: true ThreadName_CR?: true IsFatal_CR?: true Severity_CR?: true Status_CR?: true DeviceModel_CR?: true DeviceBrand_CR?: true OSName_CR?: true OSVersion_CR?: true Architecture_CR?: true AvailableRam_CR?: true TotalRam_CR?: true AvailableDisk_CR?: true TotalDisk_CR?: true BatteryLevel_CR?: true IsRooted_CR?: true IsDebugger_CR?: true NetworkType_CR?: true CrashCount_CR?: true FirstOccurred_CR?: true LastOccurred_CR?: true AffectedUsers_CR?: true CreatedAt_CR?: true UpdatedAt_CR?: true ResolvedAt_CR?: true ResolvedBy_CR?: true } export type CrashReportMaxAggregateInputType = { UUID_CR?: true AppId_CR?: true AppVersion_CR?: true BuildVersion_CR?: true CrashId_CR?: true SessionId_CR?: true UserId_CR?: true CrashType_CR?: true ExceptionName_CR?: true ExceptionReason_CR?: true StackTrace_CR?: true ThreadName_CR?: true IsFatal_CR?: true Severity_CR?: true Status_CR?: true DeviceModel_CR?: true DeviceBrand_CR?: true OSName_CR?: true OSVersion_CR?: true Architecture_CR?: true AvailableRam_CR?: true TotalRam_CR?: true AvailableDisk_CR?: true TotalDisk_CR?: true BatteryLevel_CR?: true IsRooted_CR?: true IsDebugger_CR?: true NetworkType_CR?: true CrashCount_CR?: true FirstOccurred_CR?: true LastOccurred_CR?: true AffectedUsers_CR?: true CreatedAt_CR?: true UpdatedAt_CR?: true ResolvedAt_CR?: true ResolvedBy_CR?: true } export type CrashReportCountAggregateInputType = { UUID_CR?: true AppId_CR?: true AppVersion_CR?: true BuildVersion_CR?: true CrashId_CR?: true SessionId_CR?: true UserId_CR?: true CrashType_CR?: true ExceptionName_CR?: true ExceptionReason_CR?: true StackTrace_CR?: true ThreadName_CR?: true IsFatal_CR?: true Severity_CR?: true Status_CR?: true DeviceModel_CR?: true DeviceBrand_CR?: true OSName_CR?: true OSVersion_CR?: true Architecture_CR?: true AvailableRam_CR?: true TotalRam_CR?: true AvailableDisk_CR?: true TotalDisk_CR?: true BatteryLevel_CR?: true IsRooted_CR?: true IsDebugger_CR?: true NetworkType_CR?: true Breadcrumbs_CR?: true CustomData_CR?: true Logs_CR?: true CrashCount_CR?: true FirstOccurred_CR?: true LastOccurred_CR?: true AffectedUsers_CR?: true CreatedAt_CR?: true UpdatedAt_CR?: true ResolvedAt_CR?: true ResolvedBy_CR?: true _all?: true } export type CrashReportAggregateArgs = { /** * Filter which CrashReport to aggregate. */ where?: CrashReportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CrashReports to fetch. */ orderBy?: CrashReportOrderByWithRelationInput | CrashReportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CrashReportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CrashReports from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CrashReports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CrashReports **/ _count?: true | CrashReportCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: CrashReportAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: CrashReportSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CrashReportMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CrashReportMaxAggregateInputType } export type GetCrashReportAggregateType = { [P in keyof T & keyof AggregateCrashReport]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CrashReportGroupByArgs = { where?: CrashReportWhereInput orderBy?: CrashReportOrderByWithAggregationInput | CrashReportOrderByWithAggregationInput[] by: CrashReportScalarFieldEnum[] | CrashReportScalarFieldEnum having?: CrashReportScalarWhereWithAggregatesInput take?: number skip?: number _count?: CrashReportCountAggregateInputType | true _avg?: CrashReportAvgAggregateInputType _sum?: CrashReportSumAggregateInputType _min?: CrashReportMinAggregateInputType _max?: CrashReportMaxAggregateInputType } export type CrashReportGroupByOutputType = { UUID_CR: string AppId_CR: string AppVersion_CR: string BuildVersion_CR: string | null CrashId_CR: string SessionId_CR: string | null UserId_CR: string | null CrashType_CR: string ExceptionName_CR: string | null ExceptionReason_CR: string | null StackTrace_CR: string | null ThreadName_CR: string | null IsFatal_CR: boolean Severity_CR: $Enums.CrashSeverity Status_CR: $Enums.CrashStatus DeviceModel_CR: string | null DeviceBrand_CR: string | null OSName_CR: $Enums.DeviceOS OSVersion_CR: string | null Architecture_CR: string | null AvailableRam_CR: bigint | null TotalRam_CR: bigint | null AvailableDisk_CR: bigint | null TotalDisk_CR: bigint | null BatteryLevel_CR: number | null IsRooted_CR: boolean | null IsDebugger_CR: boolean | null NetworkType_CR: string | null Breadcrumbs_CR: JsonValue | null CustomData_CR: JsonValue | null Logs_CR: JsonValue | null CrashCount_CR: number FirstOccurred_CR: Date LastOccurred_CR: Date AffectedUsers_CR: number CreatedAt_CR: Date UpdatedAt_CR: Date ResolvedAt_CR: Date | null ResolvedBy_CR: string | null _count: CrashReportCountAggregateOutputType | null _avg: CrashReportAvgAggregateOutputType | null _sum: CrashReportSumAggregateOutputType | null _min: CrashReportMinAggregateOutputType | null _max: CrashReportMaxAggregateOutputType | null } type GetCrashReportGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CrashReportGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CrashReportSelect = $Extensions.GetSelect<{ UUID_CR?: boolean AppId_CR?: boolean AppVersion_CR?: boolean BuildVersion_CR?: boolean CrashId_CR?: boolean SessionId_CR?: boolean UserId_CR?: boolean CrashType_CR?: boolean ExceptionName_CR?: boolean ExceptionReason_CR?: boolean StackTrace_CR?: boolean ThreadName_CR?: boolean IsFatal_CR?: boolean Severity_CR?: boolean Status_CR?: boolean DeviceModel_CR?: boolean DeviceBrand_CR?: boolean OSName_CR?: boolean OSVersion_CR?: boolean Architecture_CR?: boolean AvailableRam_CR?: boolean TotalRam_CR?: boolean AvailableDisk_CR?: boolean TotalDisk_CR?: boolean BatteryLevel_CR?: boolean IsRooted_CR?: boolean IsDebugger_CR?: boolean NetworkType_CR?: boolean Breadcrumbs_CR?: boolean CustomData_CR?: boolean Logs_CR?: boolean CrashCount_CR?: boolean FirstOccurred_CR?: boolean LastOccurred_CR?: boolean AffectedUsers_CR?: boolean CreatedAt_CR?: boolean UpdatedAt_CR?: boolean ResolvedAt_CR?: boolean ResolvedBy_CR?: boolean }, ExtArgs["result"]["crashReport"]> export type CrashReportSelectScalar = { UUID_CR?: boolean AppId_CR?: boolean AppVersion_CR?: boolean BuildVersion_CR?: boolean CrashId_CR?: boolean SessionId_CR?: boolean UserId_CR?: boolean CrashType_CR?: boolean ExceptionName_CR?: boolean ExceptionReason_CR?: boolean StackTrace_CR?: boolean ThreadName_CR?: boolean IsFatal_CR?: boolean Severity_CR?: boolean Status_CR?: boolean DeviceModel_CR?: boolean DeviceBrand_CR?: boolean OSName_CR?: boolean OSVersion_CR?: boolean Architecture_CR?: boolean AvailableRam_CR?: boolean TotalRam_CR?: boolean AvailableDisk_CR?: boolean TotalDisk_CR?: boolean BatteryLevel_CR?: boolean IsRooted_CR?: boolean IsDebugger_CR?: boolean NetworkType_CR?: boolean Breadcrumbs_CR?: boolean CustomData_CR?: boolean Logs_CR?: boolean CrashCount_CR?: boolean FirstOccurred_CR?: boolean LastOccurred_CR?: boolean AffectedUsers_CR?: boolean CreatedAt_CR?: boolean UpdatedAt_CR?: boolean ResolvedAt_CR?: boolean ResolvedBy_CR?: boolean } export type CrashReportOmit = $Extensions.GetOmit<"UUID_CR" | "AppId_CR" | "AppVersion_CR" | "BuildVersion_CR" | "CrashId_CR" | "SessionId_CR" | "UserId_CR" | "CrashType_CR" | "ExceptionName_CR" | "ExceptionReason_CR" | "StackTrace_CR" | "ThreadName_CR" | "IsFatal_CR" | "Severity_CR" | "Status_CR" | "DeviceModel_CR" | "DeviceBrand_CR" | "OSName_CR" | "OSVersion_CR" | "Architecture_CR" | "AvailableRam_CR" | "TotalRam_CR" | "AvailableDisk_CR" | "TotalDisk_CR" | "BatteryLevel_CR" | "IsRooted_CR" | "IsDebugger_CR" | "NetworkType_CR" | "Breadcrumbs_CR" | "CustomData_CR" | "Logs_CR" | "CrashCount_CR" | "FirstOccurred_CR" | "LastOccurred_CR" | "AffectedUsers_CR" | "CreatedAt_CR" | "UpdatedAt_CR" | "ResolvedAt_CR" | "ResolvedBy_CR", ExtArgs["result"]["crashReport"]> export type $CrashReportPayload = { name: "CrashReport" objects: {} scalars: $Extensions.GetPayloadResult<{ UUID_CR: string AppId_CR: string AppVersion_CR: string BuildVersion_CR: string | null CrashId_CR: string SessionId_CR: string | null UserId_CR: string | null CrashType_CR: string ExceptionName_CR: string | null ExceptionReason_CR: string | null StackTrace_CR: string | null ThreadName_CR: string | null IsFatal_CR: boolean Severity_CR: $Enums.CrashSeverity Status_CR: $Enums.CrashStatus DeviceModel_CR: string | null DeviceBrand_CR: string | null OSName_CR: $Enums.DeviceOS OSVersion_CR: string | null Architecture_CR: string | null AvailableRam_CR: bigint | null TotalRam_CR: bigint | null AvailableDisk_CR: bigint | null TotalDisk_CR: bigint | null BatteryLevel_CR: number | null IsRooted_CR: boolean | null IsDebugger_CR: boolean | null NetworkType_CR: string | null Breadcrumbs_CR: Prisma.JsonValue | null CustomData_CR: Prisma.JsonValue | null Logs_CR: Prisma.JsonValue | null CrashCount_CR: number FirstOccurred_CR: Date LastOccurred_CR: Date AffectedUsers_CR: number CreatedAt_CR: Date UpdatedAt_CR: Date ResolvedAt_CR: Date | null ResolvedBy_CR: string | null }, ExtArgs["result"]["crashReport"]> composites: {} } type CrashReportGetPayload = $Result.GetResult type CrashReportCountArgs = Omit & { select?: CrashReportCountAggregateInputType | true } export interface CrashReportDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CrashReport'], meta: { name: 'CrashReport' } } /** * Find zero or one CrashReport that matches the filter. * @param {CrashReportFindUniqueArgs} args - Arguments to find a CrashReport * @example * // Get one CrashReport * const crashReport = await prisma.crashReport.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CrashReportClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CrashReport that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CrashReportFindUniqueOrThrowArgs} args - Arguments to find a CrashReport * @example * // Get one CrashReport * const crashReport = await prisma.crashReport.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CrashReportClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CrashReport 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 {CrashReportFindFirstArgs} args - Arguments to find a CrashReport * @example * // Get one CrashReport * const crashReport = await prisma.crashReport.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CrashReportClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CrashReport 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 {CrashReportFindFirstOrThrowArgs} args - Arguments to find a CrashReport * @example * // Get one CrashReport * const crashReport = await prisma.crashReport.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CrashReportClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CrashReports 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 {CrashReportFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CrashReports * const crashReports = await prisma.crashReport.findMany() * * // Get first 10 CrashReports * const crashReports = await prisma.crashReport.findMany({ take: 10 }) * * // Only select the `UUID_CR` * const crashReportWithUUID_CROnly = await prisma.crashReport.findMany({ select: { UUID_CR: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a CrashReport. * @param {CrashReportCreateArgs} args - Arguments to create a CrashReport. * @example * // Create one CrashReport * const CrashReport = await prisma.crashReport.create({ * data: { * // ... data to create a CrashReport * } * }) * */ create(args: SelectSubset>): Prisma__CrashReportClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CrashReports. * @param {CrashReportCreateManyArgs} args - Arguments to create many CrashReports. * @example * // Create many CrashReports * const crashReport = await prisma.crashReport.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Delete a CrashReport. * @param {CrashReportDeleteArgs} args - Arguments to delete one CrashReport. * @example * // Delete one CrashReport * const CrashReport = await prisma.crashReport.delete({ * where: { * // ... filter to delete one CrashReport * } * }) * */ delete(args: SelectSubset>): Prisma__CrashReportClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CrashReport. * @param {CrashReportUpdateArgs} args - Arguments to update one CrashReport. * @example * // Update one CrashReport * const crashReport = await prisma.crashReport.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CrashReportClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CrashReports. * @param {CrashReportDeleteManyArgs} args - Arguments to filter CrashReports to delete. * @example * // Delete a few CrashReports * const { count } = await prisma.crashReport.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CrashReports. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CrashReportUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CrashReports * const crashReport = await prisma.crashReport.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one CrashReport. * @param {CrashReportUpsertArgs} args - Arguments to update or create a CrashReport. * @example * // Update or create a CrashReport * const crashReport = await prisma.crashReport.upsert({ * create: { * // ... data to create a CrashReport * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CrashReport we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CrashReportClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CrashReports. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CrashReportCountArgs} args - Arguments to filter CrashReports to count. * @example * // Count the number of CrashReports * const count = await prisma.crashReport.count({ * where: { * // ... the filter for the CrashReports 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 CrashReport. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CrashReportAggregateArgs} 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 CrashReport. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CrashReportGroupByArgs} 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 CrashReportGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CrashReportGroupByArgs['orderBy'] } : { orderBy?: CrashReportGroupByArgs['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 ? GetCrashReportGroupByPayload : Prisma.PrismaPromise /** * Fields of the CrashReport model */ readonly fields: CrashReportFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CrashReport. * 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__CrashReportClient 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 CrashReport model */ interface CrashReportFieldRefs { readonly UUID_CR: FieldRef<"CrashReport", 'String'> readonly AppId_CR: FieldRef<"CrashReport", 'String'> readonly AppVersion_CR: FieldRef<"CrashReport", 'String'> readonly BuildVersion_CR: FieldRef<"CrashReport", 'String'> readonly CrashId_CR: FieldRef<"CrashReport", 'String'> readonly SessionId_CR: FieldRef<"CrashReport", 'String'> readonly UserId_CR: FieldRef<"CrashReport", 'String'> readonly CrashType_CR: FieldRef<"CrashReport", 'String'> readonly ExceptionName_CR: FieldRef<"CrashReport", 'String'> readonly ExceptionReason_CR: FieldRef<"CrashReport", 'String'> readonly StackTrace_CR: FieldRef<"CrashReport", 'String'> readonly ThreadName_CR: FieldRef<"CrashReport", 'String'> readonly IsFatal_CR: FieldRef<"CrashReport", 'Boolean'> readonly Severity_CR: FieldRef<"CrashReport", 'CrashSeverity'> readonly Status_CR: FieldRef<"CrashReport", 'CrashStatus'> readonly DeviceModel_CR: FieldRef<"CrashReport", 'String'> readonly DeviceBrand_CR: FieldRef<"CrashReport", 'String'> readonly OSName_CR: FieldRef<"CrashReport", 'DeviceOS'> readonly OSVersion_CR: FieldRef<"CrashReport", 'String'> readonly Architecture_CR: FieldRef<"CrashReport", 'String'> readonly AvailableRam_CR: FieldRef<"CrashReport", 'BigInt'> readonly TotalRam_CR: FieldRef<"CrashReport", 'BigInt'> readonly AvailableDisk_CR: FieldRef<"CrashReport", 'BigInt'> readonly TotalDisk_CR: FieldRef<"CrashReport", 'BigInt'> readonly BatteryLevel_CR: FieldRef<"CrashReport", 'Float'> readonly IsRooted_CR: FieldRef<"CrashReport", 'Boolean'> readonly IsDebugger_CR: FieldRef<"CrashReport", 'Boolean'> readonly NetworkType_CR: FieldRef<"CrashReport", 'String'> readonly Breadcrumbs_CR: FieldRef<"CrashReport", 'Json'> readonly CustomData_CR: FieldRef<"CrashReport", 'Json'> readonly Logs_CR: FieldRef<"CrashReport", 'Json'> readonly CrashCount_CR: FieldRef<"CrashReport", 'Int'> readonly FirstOccurred_CR: FieldRef<"CrashReport", 'DateTime'> readonly LastOccurred_CR: FieldRef<"CrashReport", 'DateTime'> readonly AffectedUsers_CR: FieldRef<"CrashReport", 'Int'> readonly CreatedAt_CR: FieldRef<"CrashReport", 'DateTime'> readonly UpdatedAt_CR: FieldRef<"CrashReport", 'DateTime'> readonly ResolvedAt_CR: FieldRef<"CrashReport", 'DateTime'> readonly ResolvedBy_CR: FieldRef<"CrashReport", 'String'> } // Custom InputTypes /** * CrashReport findUnique */ export type CrashReportFindUniqueArgs = { /** * Select specific fields to fetch from the CrashReport */ select?: CrashReportSelect | null /** * Omit specific fields from the CrashReport */ omit?: CrashReportOmit | null /** * Filter, which CrashReport to fetch. */ where: CrashReportWhereUniqueInput } /** * CrashReport findUniqueOrThrow */ export type CrashReportFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CrashReport */ select?: CrashReportSelect | null /** * Omit specific fields from the CrashReport */ omit?: CrashReportOmit | null /** * Filter, which CrashReport to fetch. */ where: CrashReportWhereUniqueInput } /** * CrashReport findFirst */ export type CrashReportFindFirstArgs = { /** * Select specific fields to fetch from the CrashReport */ select?: CrashReportSelect | null /** * Omit specific fields from the CrashReport */ omit?: CrashReportOmit | null /** * Filter, which CrashReport to fetch. */ where?: CrashReportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CrashReports to fetch. */ orderBy?: CrashReportOrderByWithRelationInput | CrashReportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CrashReports. */ cursor?: CrashReportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CrashReports from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CrashReports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CrashReports. */ distinct?: CrashReportScalarFieldEnum | CrashReportScalarFieldEnum[] } /** * CrashReport findFirstOrThrow */ export type CrashReportFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CrashReport */ select?: CrashReportSelect | null /** * Omit specific fields from the CrashReport */ omit?: CrashReportOmit | null /** * Filter, which CrashReport to fetch. */ where?: CrashReportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CrashReports to fetch. */ orderBy?: CrashReportOrderByWithRelationInput | CrashReportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CrashReports. */ cursor?: CrashReportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CrashReports from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CrashReports. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CrashReports. */ distinct?: CrashReportScalarFieldEnum | CrashReportScalarFieldEnum[] } /** * CrashReport findMany */ export type CrashReportFindManyArgs = { /** * Select specific fields to fetch from the CrashReport */ select?: CrashReportSelect | null /** * Omit specific fields from the CrashReport */ omit?: CrashReportOmit | null /** * Filter, which CrashReports to fetch. */ where?: CrashReportWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CrashReports to fetch. */ orderBy?: CrashReportOrderByWithRelationInput | CrashReportOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CrashReports. */ cursor?: CrashReportWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CrashReports from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CrashReports. */ skip?: number distinct?: CrashReportScalarFieldEnum | CrashReportScalarFieldEnum[] } /** * CrashReport create */ export type CrashReportCreateArgs = { /** * Select specific fields to fetch from the CrashReport */ select?: CrashReportSelect | null /** * Omit specific fields from the CrashReport */ omit?: CrashReportOmit | null /** * The data needed to create a CrashReport. */ data: XOR } /** * CrashReport createMany */ export type CrashReportCreateManyArgs = { /** * The data used to create many CrashReports. */ data: CrashReportCreateManyInput | CrashReportCreateManyInput[] skipDuplicates?: boolean } /** * CrashReport update */ export type CrashReportUpdateArgs = { /** * Select specific fields to fetch from the CrashReport */ select?: CrashReportSelect | null /** * Omit specific fields from the CrashReport */ omit?: CrashReportOmit | null /** * The data needed to update a CrashReport. */ data: XOR /** * Choose, which CrashReport to update. */ where: CrashReportWhereUniqueInput } /** * CrashReport updateMany */ export type CrashReportUpdateManyArgs = { /** * The data used to update CrashReports. */ data: XOR /** * Filter which CrashReports to update */ where?: CrashReportWhereInput /** * Limit how many CrashReports to update. */ limit?: number } /** * CrashReport upsert */ export type CrashReportUpsertArgs = { /** * Select specific fields to fetch from the CrashReport */ select?: CrashReportSelect | null /** * Omit specific fields from the CrashReport */ omit?: CrashReportOmit | null /** * The filter to search for the CrashReport to update in case it exists. */ where: CrashReportWhereUniqueInput /** * In case the CrashReport found by the `where` argument doesn't exist, create a new CrashReport with this data. */ create: XOR /** * In case the CrashReport was found with the provided `where` argument, update it with this data. */ update: XOR } /** * CrashReport delete */ export type CrashReportDeleteArgs = { /** * Select specific fields to fetch from the CrashReport */ select?: CrashReportSelect | null /** * Omit specific fields from the CrashReport */ omit?: CrashReportOmit | null /** * Filter which CrashReport to delete. */ where: CrashReportWhereUniqueInput } /** * CrashReport deleteMany */ export type CrashReportDeleteManyArgs = { /** * Filter which CrashReports to delete */ where?: CrashReportWhereInput /** * Limit how many CrashReports to delete. */ limit?: number } /** * CrashReport without action */ export type CrashReportDefaultArgs = { /** * Select specific fields to fetch from the CrashReport */ select?: CrashReportSelect | null /** * Omit specific fields from the CrashReport */ omit?: CrashReportOmit | null } /** * Model CrashSession */ export type AggregateCrashSession = { _count: CrashSessionCountAggregateOutputType | null _avg: CrashSessionAvgAggregateOutputType | null _sum: CrashSessionSumAggregateOutputType | null _min: CrashSessionMinAggregateOutputType | null _max: CrashSessionMaxAggregateOutputType | null } export type CrashSessionAvgAggregateOutputType = { Duration_CS: number | null CrashCount_CS: number | null } export type CrashSessionSumAggregateOutputType = { Duration_CS: number | null CrashCount_CS: number | null } export type CrashSessionMinAggregateOutputType = { UUID_CS: string | null SessionId_CS: string | null AppId_CS: string | null AppVersion_CS: string | null UserId_CS: string | null StartedAt_CS: Date | null EndedAt_CS: Date | null Duration_CS: number | null IsCrashed_CS: boolean | null CrashCount_CS: number | null DeviceModel_CS: string | null OSVersion_CS: string | null CreatedAt_CS: Date | null UpdatedAt_CS: Date | null } export type CrashSessionMaxAggregateOutputType = { UUID_CS: string | null SessionId_CS: string | null AppId_CS: string | null AppVersion_CS: string | null UserId_CS: string | null StartedAt_CS: Date | null EndedAt_CS: Date | null Duration_CS: number | null IsCrashed_CS: boolean | null CrashCount_CS: number | null DeviceModel_CS: string | null OSVersion_CS: string | null CreatedAt_CS: Date | null UpdatedAt_CS: Date | null } export type CrashSessionCountAggregateOutputType = { UUID_CS: number SessionId_CS: number AppId_CS: number AppVersion_CS: number UserId_CS: number StartedAt_CS: number EndedAt_CS: number Duration_CS: number IsCrashed_CS: number CrashCount_CS: number DeviceModel_CS: number OSVersion_CS: number CreatedAt_CS: number UpdatedAt_CS: number _all: number } export type CrashSessionAvgAggregateInputType = { Duration_CS?: true CrashCount_CS?: true } export type CrashSessionSumAggregateInputType = { Duration_CS?: true CrashCount_CS?: true } export type CrashSessionMinAggregateInputType = { UUID_CS?: true SessionId_CS?: true AppId_CS?: true AppVersion_CS?: true UserId_CS?: true StartedAt_CS?: true EndedAt_CS?: true Duration_CS?: true IsCrashed_CS?: true CrashCount_CS?: true DeviceModel_CS?: true OSVersion_CS?: true CreatedAt_CS?: true UpdatedAt_CS?: true } export type CrashSessionMaxAggregateInputType = { UUID_CS?: true SessionId_CS?: true AppId_CS?: true AppVersion_CS?: true UserId_CS?: true StartedAt_CS?: true EndedAt_CS?: true Duration_CS?: true IsCrashed_CS?: true CrashCount_CS?: true DeviceModel_CS?: true OSVersion_CS?: true CreatedAt_CS?: true UpdatedAt_CS?: true } export type CrashSessionCountAggregateInputType = { UUID_CS?: true SessionId_CS?: true AppId_CS?: true AppVersion_CS?: true UserId_CS?: true StartedAt_CS?: true EndedAt_CS?: true Duration_CS?: true IsCrashed_CS?: true CrashCount_CS?: true DeviceModel_CS?: true OSVersion_CS?: true CreatedAt_CS?: true UpdatedAt_CS?: true _all?: true } export type CrashSessionAggregateArgs = { /** * Filter which CrashSession to aggregate. */ where?: CrashSessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CrashSessions to fetch. */ orderBy?: CrashSessionOrderByWithRelationInput | CrashSessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CrashSessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CrashSessions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CrashSessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CrashSessions **/ _count?: true | CrashSessionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: CrashSessionAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: CrashSessionSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CrashSessionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CrashSessionMaxAggregateInputType } export type GetCrashSessionAggregateType = { [P in keyof T & keyof AggregateCrashSession]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CrashSessionGroupByArgs = { where?: CrashSessionWhereInput orderBy?: CrashSessionOrderByWithAggregationInput | CrashSessionOrderByWithAggregationInput[] by: CrashSessionScalarFieldEnum[] | CrashSessionScalarFieldEnum having?: CrashSessionScalarWhereWithAggregatesInput take?: number skip?: number _count?: CrashSessionCountAggregateInputType | true _avg?: CrashSessionAvgAggregateInputType _sum?: CrashSessionSumAggregateInputType _min?: CrashSessionMinAggregateInputType _max?: CrashSessionMaxAggregateInputType } export type CrashSessionGroupByOutputType = { UUID_CS: string SessionId_CS: string AppId_CS: string AppVersion_CS: string UserId_CS: string | null StartedAt_CS: Date EndedAt_CS: Date | null Duration_CS: number | null IsCrashed_CS: boolean CrashCount_CS: number DeviceModel_CS: string | null OSVersion_CS: string | null CreatedAt_CS: Date UpdatedAt_CS: Date _count: CrashSessionCountAggregateOutputType | null _avg: CrashSessionAvgAggregateOutputType | null _sum: CrashSessionSumAggregateOutputType | null _min: CrashSessionMinAggregateOutputType | null _max: CrashSessionMaxAggregateOutputType | null } type GetCrashSessionGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CrashSessionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CrashSessionSelect = $Extensions.GetSelect<{ UUID_CS?: boolean SessionId_CS?: boolean AppId_CS?: boolean AppVersion_CS?: boolean UserId_CS?: boolean StartedAt_CS?: boolean EndedAt_CS?: boolean Duration_CS?: boolean IsCrashed_CS?: boolean CrashCount_CS?: boolean DeviceModel_CS?: boolean OSVersion_CS?: boolean CreatedAt_CS?: boolean UpdatedAt_CS?: boolean }, ExtArgs["result"]["crashSession"]> export type CrashSessionSelectScalar = { UUID_CS?: boolean SessionId_CS?: boolean AppId_CS?: boolean AppVersion_CS?: boolean UserId_CS?: boolean StartedAt_CS?: boolean EndedAt_CS?: boolean Duration_CS?: boolean IsCrashed_CS?: boolean CrashCount_CS?: boolean DeviceModel_CS?: boolean OSVersion_CS?: boolean CreatedAt_CS?: boolean UpdatedAt_CS?: boolean } export type CrashSessionOmit = $Extensions.GetOmit<"UUID_CS" | "SessionId_CS" | "AppId_CS" | "AppVersion_CS" | "UserId_CS" | "StartedAt_CS" | "EndedAt_CS" | "Duration_CS" | "IsCrashed_CS" | "CrashCount_CS" | "DeviceModel_CS" | "OSVersion_CS" | "CreatedAt_CS" | "UpdatedAt_CS", ExtArgs["result"]["crashSession"]> export type $CrashSessionPayload = { name: "CrashSession" objects: {} scalars: $Extensions.GetPayloadResult<{ UUID_CS: string SessionId_CS: string AppId_CS: string AppVersion_CS: string UserId_CS: string | null StartedAt_CS: Date EndedAt_CS: Date | null Duration_CS: number | null IsCrashed_CS: boolean CrashCount_CS: number DeviceModel_CS: string | null OSVersion_CS: string | null CreatedAt_CS: Date UpdatedAt_CS: Date }, ExtArgs["result"]["crashSession"]> composites: {} } type CrashSessionGetPayload = $Result.GetResult type CrashSessionCountArgs = Omit & { select?: CrashSessionCountAggregateInputType | true } export interface CrashSessionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CrashSession'], meta: { name: 'CrashSession' } } /** * Find zero or one CrashSession that matches the filter. * @param {CrashSessionFindUniqueArgs} args - Arguments to find a CrashSession * @example * // Get one CrashSession * const crashSession = await prisma.crashSession.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CrashSessionClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CrashSession that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CrashSessionFindUniqueOrThrowArgs} args - Arguments to find a CrashSession * @example * // Get one CrashSession * const crashSession = await prisma.crashSession.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CrashSessionClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CrashSession 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 {CrashSessionFindFirstArgs} args - Arguments to find a CrashSession * @example * // Get one CrashSession * const crashSession = await prisma.crashSession.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CrashSessionClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CrashSession 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 {CrashSessionFindFirstOrThrowArgs} args - Arguments to find a CrashSession * @example * // Get one CrashSession * const crashSession = await prisma.crashSession.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CrashSessionClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CrashSessions 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 {CrashSessionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CrashSessions * const crashSessions = await prisma.crashSession.findMany() * * // Get first 10 CrashSessions * const crashSessions = await prisma.crashSession.findMany({ take: 10 }) * * // Only select the `UUID_CS` * const crashSessionWithUUID_CSOnly = await prisma.crashSession.findMany({ select: { UUID_CS: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a CrashSession. * @param {CrashSessionCreateArgs} args - Arguments to create a CrashSession. * @example * // Create one CrashSession * const CrashSession = await prisma.crashSession.create({ * data: { * // ... data to create a CrashSession * } * }) * */ create(args: SelectSubset>): Prisma__CrashSessionClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CrashSessions. * @param {CrashSessionCreateManyArgs} args - Arguments to create many CrashSessions. * @example * // Create many CrashSessions * const crashSession = await prisma.crashSession.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Delete a CrashSession. * @param {CrashSessionDeleteArgs} args - Arguments to delete one CrashSession. * @example * // Delete one CrashSession * const CrashSession = await prisma.crashSession.delete({ * where: { * // ... filter to delete one CrashSession * } * }) * */ delete(args: SelectSubset>): Prisma__CrashSessionClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CrashSession. * @param {CrashSessionUpdateArgs} args - Arguments to update one CrashSession. * @example * // Update one CrashSession * const crashSession = await prisma.crashSession.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CrashSessionClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CrashSessions. * @param {CrashSessionDeleteManyArgs} args - Arguments to filter CrashSessions to delete. * @example * // Delete a few CrashSessions * const { count } = await prisma.crashSession.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CrashSessions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CrashSessionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CrashSessions * const crashSession = await prisma.crashSession.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one CrashSession. * @param {CrashSessionUpsertArgs} args - Arguments to update or create a CrashSession. * @example * // Update or create a CrashSession * const crashSession = await prisma.crashSession.upsert({ * create: { * // ... data to create a CrashSession * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CrashSession we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CrashSessionClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CrashSessions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CrashSessionCountArgs} args - Arguments to filter CrashSessions to count. * @example * // Count the number of CrashSessions * const count = await prisma.crashSession.count({ * where: { * // ... the filter for the CrashSessions 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 CrashSession. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CrashSessionAggregateArgs} 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 CrashSession. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CrashSessionGroupByArgs} 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 CrashSessionGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CrashSessionGroupByArgs['orderBy'] } : { orderBy?: CrashSessionGroupByArgs['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 ? GetCrashSessionGroupByPayload : Prisma.PrismaPromise /** * Fields of the CrashSession model */ readonly fields: CrashSessionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CrashSession. * 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__CrashSessionClient 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 CrashSession model */ interface CrashSessionFieldRefs { readonly UUID_CS: FieldRef<"CrashSession", 'String'> readonly SessionId_CS: FieldRef<"CrashSession", 'String'> readonly AppId_CS: FieldRef<"CrashSession", 'String'> readonly AppVersion_CS: FieldRef<"CrashSession", 'String'> readonly UserId_CS: FieldRef<"CrashSession", 'String'> readonly StartedAt_CS: FieldRef<"CrashSession", 'DateTime'> readonly EndedAt_CS: FieldRef<"CrashSession", 'DateTime'> readonly Duration_CS: FieldRef<"CrashSession", 'Int'> readonly IsCrashed_CS: FieldRef<"CrashSession", 'Boolean'> readonly CrashCount_CS: FieldRef<"CrashSession", 'Int'> readonly DeviceModel_CS: FieldRef<"CrashSession", 'String'> readonly OSVersion_CS: FieldRef<"CrashSession", 'String'> readonly CreatedAt_CS: FieldRef<"CrashSession", 'DateTime'> readonly UpdatedAt_CS: FieldRef<"CrashSession", 'DateTime'> } // Custom InputTypes /** * CrashSession findUnique */ export type CrashSessionFindUniqueArgs = { /** * Select specific fields to fetch from the CrashSession */ select?: CrashSessionSelect | null /** * Omit specific fields from the CrashSession */ omit?: CrashSessionOmit | null /** * Filter, which CrashSession to fetch. */ where: CrashSessionWhereUniqueInput } /** * CrashSession findUniqueOrThrow */ export type CrashSessionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CrashSession */ select?: CrashSessionSelect | null /** * Omit specific fields from the CrashSession */ omit?: CrashSessionOmit | null /** * Filter, which CrashSession to fetch. */ where: CrashSessionWhereUniqueInput } /** * CrashSession findFirst */ export type CrashSessionFindFirstArgs = { /** * Select specific fields to fetch from the CrashSession */ select?: CrashSessionSelect | null /** * Omit specific fields from the CrashSession */ omit?: CrashSessionOmit | null /** * Filter, which CrashSession to fetch. */ where?: CrashSessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CrashSessions to fetch. */ orderBy?: CrashSessionOrderByWithRelationInput | CrashSessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CrashSessions. */ cursor?: CrashSessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CrashSessions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CrashSessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CrashSessions. */ distinct?: CrashSessionScalarFieldEnum | CrashSessionScalarFieldEnum[] } /** * CrashSession findFirstOrThrow */ export type CrashSessionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CrashSession */ select?: CrashSessionSelect | null /** * Omit specific fields from the CrashSession */ omit?: CrashSessionOmit | null /** * Filter, which CrashSession to fetch. */ where?: CrashSessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CrashSessions to fetch. */ orderBy?: CrashSessionOrderByWithRelationInput | CrashSessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CrashSessions. */ cursor?: CrashSessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CrashSessions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CrashSessions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CrashSessions. */ distinct?: CrashSessionScalarFieldEnum | CrashSessionScalarFieldEnum[] } /** * CrashSession findMany */ export type CrashSessionFindManyArgs = { /** * Select specific fields to fetch from the CrashSession */ select?: CrashSessionSelect | null /** * Omit specific fields from the CrashSession */ omit?: CrashSessionOmit | null /** * Filter, which CrashSessions to fetch. */ where?: CrashSessionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CrashSessions to fetch. */ orderBy?: CrashSessionOrderByWithRelationInput | CrashSessionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CrashSessions. */ cursor?: CrashSessionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CrashSessions from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CrashSessions. */ skip?: number distinct?: CrashSessionScalarFieldEnum | CrashSessionScalarFieldEnum[] } /** * CrashSession create */ export type CrashSessionCreateArgs = { /** * Select specific fields to fetch from the CrashSession */ select?: CrashSessionSelect | null /** * Omit specific fields from the CrashSession */ omit?: CrashSessionOmit | null /** * The data needed to create a CrashSession. */ data: XOR } /** * CrashSession createMany */ export type CrashSessionCreateManyArgs = { /** * The data used to create many CrashSessions. */ data: CrashSessionCreateManyInput | CrashSessionCreateManyInput[] skipDuplicates?: boolean } /** * CrashSession update */ export type CrashSessionUpdateArgs = { /** * Select specific fields to fetch from the CrashSession */ select?: CrashSessionSelect | null /** * Omit specific fields from the CrashSession */ omit?: CrashSessionOmit | null /** * The data needed to update a CrashSession. */ data: XOR /** * Choose, which CrashSession to update. */ where: CrashSessionWhereUniqueInput } /** * CrashSession updateMany */ export type CrashSessionUpdateManyArgs = { /** * The data used to update CrashSessions. */ data: XOR /** * Filter which CrashSessions to update */ where?: CrashSessionWhereInput /** * Limit how many CrashSessions to update. */ limit?: number } /** * CrashSession upsert */ export type CrashSessionUpsertArgs = { /** * Select specific fields to fetch from the CrashSession */ select?: CrashSessionSelect | null /** * Omit specific fields from the CrashSession */ omit?: CrashSessionOmit | null /** * The filter to search for the CrashSession to update in case it exists. */ where: CrashSessionWhereUniqueInput /** * In case the CrashSession found by the `where` argument doesn't exist, create a new CrashSession with this data. */ create: XOR /** * In case the CrashSession was found with the provided `where` argument, update it with this data. */ update: XOR } /** * CrashSession delete */ export type CrashSessionDeleteArgs = { /** * Select specific fields to fetch from the CrashSession */ select?: CrashSessionSelect | null /** * Omit specific fields from the CrashSession */ omit?: CrashSessionOmit | null /** * Filter which CrashSession to delete. */ where: CrashSessionWhereUniqueInput } /** * CrashSession deleteMany */ export type CrashSessionDeleteManyArgs = { /** * Filter which CrashSessions to delete */ where?: CrashSessionWhereInput /** * Limit how many CrashSessions to delete. */ limit?: number } /** * CrashSession without action */ export type CrashSessionDefaultArgs = { /** * Select specific fields to fetch from the CrashSession */ select?: CrashSessionSelect | null /** * Omit specific fields from the CrashSession */ omit?: CrashSessionOmit | null } /** * Model CrashAnalytics */ export type AggregateCrashAnalytics = { _count: CrashAnalyticsCountAggregateOutputType | null _avg: CrashAnalyticsAvgAggregateOutputType | null _sum: CrashAnalyticsSumAggregateOutputType | null _min: CrashAnalyticsMinAggregateOutputType | null _max: CrashAnalyticsMaxAggregateOutputType | null } export type CrashAnalyticsAvgAggregateOutputType = { TotalCrashes_CA: number | null FatalCrashes_CA: number | null NonFatalCrashes_CA: number | null UniqueCrashes_CA: number | null AffectedUsers_CA: number | null TotalSessions_CA: number | null CrashedSessions_CA: number | null CrashFreeRate_CA: number | null } export type CrashAnalyticsSumAggregateOutputType = { TotalCrashes_CA: number | null FatalCrashes_CA: number | null NonFatalCrashes_CA: number | null UniqueCrashes_CA: number | null AffectedUsers_CA: number | null TotalSessions_CA: number | null CrashedSessions_CA: number | null CrashFreeRate_CA: number | null } export type CrashAnalyticsMinAggregateOutputType = { UUID_CA: string | null AppId_CA: string | null AppVersion_CA: string | null Date_CA: Date | null TotalCrashes_CA: number | null FatalCrashes_CA: number | null NonFatalCrashes_CA: number | null UniqueCrashes_CA: number | null AffectedUsers_CA: number | null TotalSessions_CA: number | null CrashedSessions_CA: number | null CrashFreeRate_CA: number | null CreatedAt_CA: Date | null UpdatedAt_CA: Date | null } export type CrashAnalyticsMaxAggregateOutputType = { UUID_CA: string | null AppId_CA: string | null AppVersion_CA: string | null Date_CA: Date | null TotalCrashes_CA: number | null FatalCrashes_CA: number | null NonFatalCrashes_CA: number | null UniqueCrashes_CA: number | null AffectedUsers_CA: number | null TotalSessions_CA: number | null CrashedSessions_CA: number | null CrashFreeRate_CA: number | null CreatedAt_CA: Date | null UpdatedAt_CA: Date | null } export type CrashAnalyticsCountAggregateOutputType = { UUID_CA: number AppId_CA: number AppVersion_CA: number Date_CA: number TotalCrashes_CA: number FatalCrashes_CA: number NonFatalCrashes_CA: number UniqueCrashes_CA: number AffectedUsers_CA: number TotalSessions_CA: number CrashedSessions_CA: number CrashFreeRate_CA: number TopCrashes_CA: number CreatedAt_CA: number UpdatedAt_CA: number _all: number } export type CrashAnalyticsAvgAggregateInputType = { TotalCrashes_CA?: true FatalCrashes_CA?: true NonFatalCrashes_CA?: true UniqueCrashes_CA?: true AffectedUsers_CA?: true TotalSessions_CA?: true CrashedSessions_CA?: true CrashFreeRate_CA?: true } export type CrashAnalyticsSumAggregateInputType = { TotalCrashes_CA?: true FatalCrashes_CA?: true NonFatalCrashes_CA?: true UniqueCrashes_CA?: true AffectedUsers_CA?: true TotalSessions_CA?: true CrashedSessions_CA?: true CrashFreeRate_CA?: true } export type CrashAnalyticsMinAggregateInputType = { UUID_CA?: true AppId_CA?: true AppVersion_CA?: true Date_CA?: true TotalCrashes_CA?: true FatalCrashes_CA?: true NonFatalCrashes_CA?: true UniqueCrashes_CA?: true AffectedUsers_CA?: true TotalSessions_CA?: true CrashedSessions_CA?: true CrashFreeRate_CA?: true CreatedAt_CA?: true UpdatedAt_CA?: true } export type CrashAnalyticsMaxAggregateInputType = { UUID_CA?: true AppId_CA?: true AppVersion_CA?: true Date_CA?: true TotalCrashes_CA?: true FatalCrashes_CA?: true NonFatalCrashes_CA?: true UniqueCrashes_CA?: true AffectedUsers_CA?: true TotalSessions_CA?: true CrashedSessions_CA?: true CrashFreeRate_CA?: true CreatedAt_CA?: true UpdatedAt_CA?: true } export type CrashAnalyticsCountAggregateInputType = { UUID_CA?: true AppId_CA?: true AppVersion_CA?: true Date_CA?: true TotalCrashes_CA?: true FatalCrashes_CA?: true NonFatalCrashes_CA?: true UniqueCrashes_CA?: true AffectedUsers_CA?: true TotalSessions_CA?: true CrashedSessions_CA?: true CrashFreeRate_CA?: true TopCrashes_CA?: true CreatedAt_CA?: true UpdatedAt_CA?: true _all?: true } export type CrashAnalyticsAggregateArgs = { /** * Filter which CrashAnalytics to aggregate. */ where?: CrashAnalyticsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CrashAnalytics to fetch. */ orderBy?: CrashAnalyticsOrderByWithRelationInput | CrashAnalyticsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: CrashAnalyticsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CrashAnalytics from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CrashAnalytics. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CrashAnalytics **/ _count?: true | CrashAnalyticsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: CrashAnalyticsAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: CrashAnalyticsSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CrashAnalyticsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CrashAnalyticsMaxAggregateInputType } export type GetCrashAnalyticsAggregateType = { [P in keyof T & keyof AggregateCrashAnalytics]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type CrashAnalyticsGroupByArgs = { where?: CrashAnalyticsWhereInput orderBy?: CrashAnalyticsOrderByWithAggregationInput | CrashAnalyticsOrderByWithAggregationInput[] by: CrashAnalyticsScalarFieldEnum[] | CrashAnalyticsScalarFieldEnum having?: CrashAnalyticsScalarWhereWithAggregatesInput take?: number skip?: number _count?: CrashAnalyticsCountAggregateInputType | true _avg?: CrashAnalyticsAvgAggregateInputType _sum?: CrashAnalyticsSumAggregateInputType _min?: CrashAnalyticsMinAggregateInputType _max?: CrashAnalyticsMaxAggregateInputType } export type CrashAnalyticsGroupByOutputType = { UUID_CA: string AppId_CA: string AppVersion_CA: string Date_CA: Date TotalCrashes_CA: number FatalCrashes_CA: number NonFatalCrashes_CA: number UniqueCrashes_CA: number AffectedUsers_CA: number TotalSessions_CA: number CrashedSessions_CA: number CrashFreeRate_CA: number | null TopCrashes_CA: JsonValue | null CreatedAt_CA: Date UpdatedAt_CA: Date _count: CrashAnalyticsCountAggregateOutputType | null _avg: CrashAnalyticsAvgAggregateOutputType | null _sum: CrashAnalyticsSumAggregateOutputType | null _min: CrashAnalyticsMinAggregateOutputType | null _max: CrashAnalyticsMaxAggregateOutputType | null } type GetCrashAnalyticsGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof CrashAnalyticsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type CrashAnalyticsSelect = $Extensions.GetSelect<{ UUID_CA?: boolean AppId_CA?: boolean AppVersion_CA?: boolean Date_CA?: boolean TotalCrashes_CA?: boolean FatalCrashes_CA?: boolean NonFatalCrashes_CA?: boolean UniqueCrashes_CA?: boolean AffectedUsers_CA?: boolean TotalSessions_CA?: boolean CrashedSessions_CA?: boolean CrashFreeRate_CA?: boolean TopCrashes_CA?: boolean CreatedAt_CA?: boolean UpdatedAt_CA?: boolean }, ExtArgs["result"]["crashAnalytics"]> export type CrashAnalyticsSelectScalar = { UUID_CA?: boolean AppId_CA?: boolean AppVersion_CA?: boolean Date_CA?: boolean TotalCrashes_CA?: boolean FatalCrashes_CA?: boolean NonFatalCrashes_CA?: boolean UniqueCrashes_CA?: boolean AffectedUsers_CA?: boolean TotalSessions_CA?: boolean CrashedSessions_CA?: boolean CrashFreeRate_CA?: boolean TopCrashes_CA?: boolean CreatedAt_CA?: boolean UpdatedAt_CA?: boolean } export type CrashAnalyticsOmit = $Extensions.GetOmit<"UUID_CA" | "AppId_CA" | "AppVersion_CA" | "Date_CA" | "TotalCrashes_CA" | "FatalCrashes_CA" | "NonFatalCrashes_CA" | "UniqueCrashes_CA" | "AffectedUsers_CA" | "TotalSessions_CA" | "CrashedSessions_CA" | "CrashFreeRate_CA" | "TopCrashes_CA" | "CreatedAt_CA" | "UpdatedAt_CA", ExtArgs["result"]["crashAnalytics"]> export type $CrashAnalyticsPayload = { name: "CrashAnalytics" objects: {} scalars: $Extensions.GetPayloadResult<{ UUID_CA: string AppId_CA: string AppVersion_CA: string Date_CA: Date TotalCrashes_CA: number FatalCrashes_CA: number NonFatalCrashes_CA: number UniqueCrashes_CA: number AffectedUsers_CA: number TotalSessions_CA: number CrashedSessions_CA: number CrashFreeRate_CA: number | null TopCrashes_CA: Prisma.JsonValue | null CreatedAt_CA: Date UpdatedAt_CA: Date }, ExtArgs["result"]["crashAnalytics"]> composites: {} } type CrashAnalyticsGetPayload = $Result.GetResult type CrashAnalyticsCountArgs = Omit & { select?: CrashAnalyticsCountAggregateInputType | true } export interface CrashAnalyticsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CrashAnalytics'], meta: { name: 'CrashAnalytics' } } /** * Find zero or one CrashAnalytics that matches the filter. * @param {CrashAnalyticsFindUniqueArgs} args - Arguments to find a CrashAnalytics * @example * // Get one CrashAnalytics * const crashAnalytics = await prisma.crashAnalytics.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__CrashAnalyticsClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CrashAnalytics that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CrashAnalyticsFindUniqueOrThrowArgs} args - Arguments to find a CrashAnalytics * @example * // Get one CrashAnalytics * const crashAnalytics = await prisma.crashAnalytics.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__CrashAnalyticsClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CrashAnalytics 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 {CrashAnalyticsFindFirstArgs} args - Arguments to find a CrashAnalytics * @example * // Get one CrashAnalytics * const crashAnalytics = await prisma.crashAnalytics.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__CrashAnalyticsClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CrashAnalytics 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 {CrashAnalyticsFindFirstOrThrowArgs} args - Arguments to find a CrashAnalytics * @example * // Get one CrashAnalytics * const crashAnalytics = await prisma.crashAnalytics.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__CrashAnalyticsClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CrashAnalytics 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 {CrashAnalyticsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CrashAnalytics * const crashAnalytics = await prisma.crashAnalytics.findMany() * * // Get first 10 CrashAnalytics * const crashAnalytics = await prisma.crashAnalytics.findMany({ take: 10 }) * * // Only select the `UUID_CA` * const crashAnalyticsWithUUID_CAOnly = await prisma.crashAnalytics.findMany({ select: { UUID_CA: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a CrashAnalytics. * @param {CrashAnalyticsCreateArgs} args - Arguments to create a CrashAnalytics. * @example * // Create one CrashAnalytics * const CrashAnalytics = await prisma.crashAnalytics.create({ * data: { * // ... data to create a CrashAnalytics * } * }) * */ create(args: SelectSubset>): Prisma__CrashAnalyticsClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CrashAnalytics. * @param {CrashAnalyticsCreateManyArgs} args - Arguments to create many CrashAnalytics. * @example * // Create many CrashAnalytics * const crashAnalytics = await prisma.crashAnalytics.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Delete a CrashAnalytics. * @param {CrashAnalyticsDeleteArgs} args - Arguments to delete one CrashAnalytics. * @example * // Delete one CrashAnalytics * const CrashAnalytics = await prisma.crashAnalytics.delete({ * where: { * // ... filter to delete one CrashAnalytics * } * }) * */ delete(args: SelectSubset>): Prisma__CrashAnalyticsClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CrashAnalytics. * @param {CrashAnalyticsUpdateArgs} args - Arguments to update one CrashAnalytics. * @example * // Update one CrashAnalytics * const crashAnalytics = await prisma.crashAnalytics.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__CrashAnalyticsClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CrashAnalytics. * @param {CrashAnalyticsDeleteManyArgs} args - Arguments to filter CrashAnalytics to delete. * @example * // Delete a few CrashAnalytics * const { count } = await prisma.crashAnalytics.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CrashAnalytics. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CrashAnalyticsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CrashAnalytics * const crashAnalytics = await prisma.crashAnalytics.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one CrashAnalytics. * @param {CrashAnalyticsUpsertArgs} args - Arguments to update or create a CrashAnalytics. * @example * // Update or create a CrashAnalytics * const crashAnalytics = await prisma.crashAnalytics.upsert({ * create: { * // ... data to create a CrashAnalytics * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CrashAnalytics we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__CrashAnalyticsClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CrashAnalytics. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CrashAnalyticsCountArgs} args - Arguments to filter CrashAnalytics to count. * @example * // Count the number of CrashAnalytics * const count = await prisma.crashAnalytics.count({ * where: { * // ... the filter for the CrashAnalytics 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 CrashAnalytics. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CrashAnalyticsAggregateArgs} 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 CrashAnalytics. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CrashAnalyticsGroupByArgs} 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 CrashAnalyticsGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: CrashAnalyticsGroupByArgs['orderBy'] } : { orderBy?: CrashAnalyticsGroupByArgs['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 ? GetCrashAnalyticsGroupByPayload : Prisma.PrismaPromise /** * Fields of the CrashAnalytics model */ readonly fields: CrashAnalyticsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CrashAnalytics. * 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__CrashAnalyticsClient 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 CrashAnalytics model */ interface CrashAnalyticsFieldRefs { readonly UUID_CA: FieldRef<"CrashAnalytics", 'String'> readonly AppId_CA: FieldRef<"CrashAnalytics", 'String'> readonly AppVersion_CA: FieldRef<"CrashAnalytics", 'String'> readonly Date_CA: FieldRef<"CrashAnalytics", 'DateTime'> readonly TotalCrashes_CA: FieldRef<"CrashAnalytics", 'Int'> readonly FatalCrashes_CA: FieldRef<"CrashAnalytics", 'Int'> readonly NonFatalCrashes_CA: FieldRef<"CrashAnalytics", 'Int'> readonly UniqueCrashes_CA: FieldRef<"CrashAnalytics", 'Int'> readonly AffectedUsers_CA: FieldRef<"CrashAnalytics", 'Int'> readonly TotalSessions_CA: FieldRef<"CrashAnalytics", 'Int'> readonly CrashedSessions_CA: FieldRef<"CrashAnalytics", 'Int'> readonly CrashFreeRate_CA: FieldRef<"CrashAnalytics", 'Float'> readonly TopCrashes_CA: FieldRef<"CrashAnalytics", 'Json'> readonly CreatedAt_CA: FieldRef<"CrashAnalytics", 'DateTime'> readonly UpdatedAt_CA: FieldRef<"CrashAnalytics", 'DateTime'> } // Custom InputTypes /** * CrashAnalytics findUnique */ export type CrashAnalyticsFindUniqueArgs = { /** * Select specific fields to fetch from the CrashAnalytics */ select?: CrashAnalyticsSelect | null /** * Omit specific fields from the CrashAnalytics */ omit?: CrashAnalyticsOmit | null /** * Filter, which CrashAnalytics to fetch. */ where: CrashAnalyticsWhereUniqueInput } /** * CrashAnalytics findUniqueOrThrow */ export type CrashAnalyticsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CrashAnalytics */ select?: CrashAnalyticsSelect | null /** * Omit specific fields from the CrashAnalytics */ omit?: CrashAnalyticsOmit | null /** * Filter, which CrashAnalytics to fetch. */ where: CrashAnalyticsWhereUniqueInput } /** * CrashAnalytics findFirst */ export type CrashAnalyticsFindFirstArgs = { /** * Select specific fields to fetch from the CrashAnalytics */ select?: CrashAnalyticsSelect | null /** * Omit specific fields from the CrashAnalytics */ omit?: CrashAnalyticsOmit | null /** * Filter, which CrashAnalytics to fetch. */ where?: CrashAnalyticsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CrashAnalytics to fetch. */ orderBy?: CrashAnalyticsOrderByWithRelationInput | CrashAnalyticsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CrashAnalytics. */ cursor?: CrashAnalyticsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CrashAnalytics from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CrashAnalytics. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CrashAnalytics. */ distinct?: CrashAnalyticsScalarFieldEnum | CrashAnalyticsScalarFieldEnum[] } /** * CrashAnalytics findFirstOrThrow */ export type CrashAnalyticsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CrashAnalytics */ select?: CrashAnalyticsSelect | null /** * Omit specific fields from the CrashAnalytics */ omit?: CrashAnalyticsOmit | null /** * Filter, which CrashAnalytics to fetch. */ where?: CrashAnalyticsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CrashAnalytics to fetch. */ orderBy?: CrashAnalyticsOrderByWithRelationInput | CrashAnalyticsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CrashAnalytics. */ cursor?: CrashAnalyticsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CrashAnalytics from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CrashAnalytics. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CrashAnalytics. */ distinct?: CrashAnalyticsScalarFieldEnum | CrashAnalyticsScalarFieldEnum[] } /** * CrashAnalytics findMany */ export type CrashAnalyticsFindManyArgs = { /** * Select specific fields to fetch from the CrashAnalytics */ select?: CrashAnalyticsSelect | null /** * Omit specific fields from the CrashAnalytics */ omit?: CrashAnalyticsOmit | null /** * Filter, which CrashAnalytics to fetch. */ where?: CrashAnalyticsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CrashAnalytics to fetch. */ orderBy?: CrashAnalyticsOrderByWithRelationInput | CrashAnalyticsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CrashAnalytics. */ cursor?: CrashAnalyticsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CrashAnalytics from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` CrashAnalytics. */ skip?: number distinct?: CrashAnalyticsScalarFieldEnum | CrashAnalyticsScalarFieldEnum[] } /** * CrashAnalytics create */ export type CrashAnalyticsCreateArgs = { /** * Select specific fields to fetch from the CrashAnalytics */ select?: CrashAnalyticsSelect | null /** * Omit specific fields from the CrashAnalytics */ omit?: CrashAnalyticsOmit | null /** * The data needed to create a CrashAnalytics. */ data: XOR } /** * CrashAnalytics createMany */ export type CrashAnalyticsCreateManyArgs = { /** * The data used to create many CrashAnalytics. */ data: CrashAnalyticsCreateManyInput | CrashAnalyticsCreateManyInput[] skipDuplicates?: boolean } /** * CrashAnalytics update */ export type CrashAnalyticsUpdateArgs = { /** * Select specific fields to fetch from the CrashAnalytics */ select?: CrashAnalyticsSelect | null /** * Omit specific fields from the CrashAnalytics */ omit?: CrashAnalyticsOmit | null /** * The data needed to update a CrashAnalytics. */ data: XOR /** * Choose, which CrashAnalytics to update. */ where: CrashAnalyticsWhereUniqueInput } /** * CrashAnalytics updateMany */ export type CrashAnalyticsUpdateManyArgs = { /** * The data used to update CrashAnalytics. */ data: XOR /** * Filter which CrashAnalytics to update */ where?: CrashAnalyticsWhereInput /** * Limit how many CrashAnalytics to update. */ limit?: number } /** * CrashAnalytics upsert */ export type CrashAnalyticsUpsertArgs = { /** * Select specific fields to fetch from the CrashAnalytics */ select?: CrashAnalyticsSelect | null /** * Omit specific fields from the CrashAnalytics */ omit?: CrashAnalyticsOmit | null /** * The filter to search for the CrashAnalytics to update in case it exists. */ where: CrashAnalyticsWhereUniqueInput /** * In case the CrashAnalytics found by the `where` argument doesn't exist, create a new CrashAnalytics with this data. */ create: XOR /** * In case the CrashAnalytics was found with the provided `where` argument, update it with this data. */ update: XOR } /** * CrashAnalytics delete */ export type CrashAnalyticsDeleteArgs = { /** * Select specific fields to fetch from the CrashAnalytics */ select?: CrashAnalyticsSelect | null /** * Omit specific fields from the CrashAnalytics */ omit?: CrashAnalyticsOmit | null /** * Filter which CrashAnalytics to delete. */ where: CrashAnalyticsWhereUniqueInput } /** * CrashAnalytics deleteMany */ export type CrashAnalyticsDeleteManyArgs = { /** * Filter which CrashAnalytics to delete */ where?: CrashAnalyticsWhereInput /** * Limit how many CrashAnalytics to delete. */ limit?: number } /** * CrashAnalytics without action */ export type CrashAnalyticsDefaultArgs = { /** * Select specific fields to fetch from the CrashAnalytics */ select?: CrashAnalyticsSelect | null /** * Omit specific fields from the CrashAnalytics */ omit?: CrashAnalyticsOmit | null } /** * Model AINotification */ export type AggregateAINotification = { _count: AINotificationCountAggregateOutputType | null _avg: AINotificationAvgAggregateOutputType | null _sum: AINotificationSumAggregateOutputType | null _min: AINotificationMinAggregateOutputType | null _max: AINotificationMaxAggregateOutputType | null } export type AINotificationAvgAggregateOutputType = { AnalyzedActivities_AIN: number | null ResponseTime_AIN: number | null ProcessingTime_AIN: number | null ActivityTimeRange_AIN: number | null PredictedConfidence_AIN: number | null DelayMinutes_AIN: number | null } export type AINotificationSumAggregateOutputType = { AnalyzedActivities_AIN: number | null ResponseTime_AIN: number | null ProcessingTime_AIN: number | null ActivityTimeRange_AIN: number | null PredictedConfidence_AIN: number | null DelayMinutes_AIN: number | null } export type AINotificationMinAggregateOutputType = { UUID_AIN: string | null UserID_AIN: string | null AnalyzedActivities_AIN: number | null ActivityTypes_AIN: string | null GeneratedTitle_AIN: string | null GeneratedDesc_AIN: string | null SentStatus_AIN: $Enums.DeliveryStatus | null SentAt_AIN: Date | null DeliveredAt_AIN: Date | null FailedAt_AIN: Date | null ErrorMessage_AIN: string | null FCMMessageId_AIN: string | null ResponseTime_AIN: number | null ProcessingTime_AIN: number | null ActivityTimeRange_AIN: number | null AIModel_AIN: string | null ScheduledAt_AIN: Date | null PredictedConfidence_AIN: number | null PredictionReasoning_AIN: string | null UserEngagementPattern_AIN: string | null DelayMinutes_AIN: number | null CreatedAt_AIN: Date | null UpdatedAt_AIN: Date | null } export type AINotificationMaxAggregateOutputType = { UUID_AIN: string | null UserID_AIN: string | null AnalyzedActivities_AIN: number | null ActivityTypes_AIN: string | null GeneratedTitle_AIN: string | null GeneratedDesc_AIN: string | null SentStatus_AIN: $Enums.DeliveryStatus | null SentAt_AIN: Date | null DeliveredAt_AIN: Date | null FailedAt_AIN: Date | null ErrorMessage_AIN: string | null FCMMessageId_AIN: string | null ResponseTime_AIN: number | null ProcessingTime_AIN: number | null ActivityTimeRange_AIN: number | null AIModel_AIN: string | null ScheduledAt_AIN: Date | null PredictedConfidence_AIN: number | null PredictionReasoning_AIN: string | null UserEngagementPattern_AIN: string | null DelayMinutes_AIN: number | null CreatedAt_AIN: Date | null UpdatedAt_AIN: Date | null } export type AINotificationCountAggregateOutputType = { UUID_AIN: number UserID_AIN: number AnalyzedActivities_AIN: number ActivityTypes_AIN: number GeneratedTitle_AIN: number GeneratedDesc_AIN: number SentStatus_AIN: number SentAt_AIN: number DeliveredAt_AIN: number FailedAt_AIN: number ErrorMessage_AIN: number FCMMessageId_AIN: number ResponseTime_AIN: number ProcessingTime_AIN: number ActivityTimeRange_AIN: number AIModel_AIN: number ScheduledAt_AIN: number PredictedConfidence_AIN: number PredictionReasoning_AIN: number UserEngagementPattern_AIN: number DelayMinutes_AIN: number CreatedAt_AIN: number UpdatedAt_AIN: number _all: number } export type AINotificationAvgAggregateInputType = { AnalyzedActivities_AIN?: true ResponseTime_AIN?: true ProcessingTime_AIN?: true ActivityTimeRange_AIN?: true PredictedConfidence_AIN?: true DelayMinutes_AIN?: true } export type AINotificationSumAggregateInputType = { AnalyzedActivities_AIN?: true ResponseTime_AIN?: true ProcessingTime_AIN?: true ActivityTimeRange_AIN?: true PredictedConfidence_AIN?: true DelayMinutes_AIN?: true } export type AINotificationMinAggregateInputType = { UUID_AIN?: true UserID_AIN?: true AnalyzedActivities_AIN?: true ActivityTypes_AIN?: true GeneratedTitle_AIN?: true GeneratedDesc_AIN?: true SentStatus_AIN?: true SentAt_AIN?: true DeliveredAt_AIN?: true FailedAt_AIN?: true ErrorMessage_AIN?: true FCMMessageId_AIN?: true ResponseTime_AIN?: true ProcessingTime_AIN?: true ActivityTimeRange_AIN?: true AIModel_AIN?: true ScheduledAt_AIN?: true PredictedConfidence_AIN?: true PredictionReasoning_AIN?: true UserEngagementPattern_AIN?: true DelayMinutes_AIN?: true CreatedAt_AIN?: true UpdatedAt_AIN?: true } export type AINotificationMaxAggregateInputType = { UUID_AIN?: true UserID_AIN?: true AnalyzedActivities_AIN?: true ActivityTypes_AIN?: true GeneratedTitle_AIN?: true GeneratedDesc_AIN?: true SentStatus_AIN?: true SentAt_AIN?: true DeliveredAt_AIN?: true FailedAt_AIN?: true ErrorMessage_AIN?: true FCMMessageId_AIN?: true ResponseTime_AIN?: true ProcessingTime_AIN?: true ActivityTimeRange_AIN?: true AIModel_AIN?: true ScheduledAt_AIN?: true PredictedConfidence_AIN?: true PredictionReasoning_AIN?: true UserEngagementPattern_AIN?: true DelayMinutes_AIN?: true CreatedAt_AIN?: true UpdatedAt_AIN?: true } export type AINotificationCountAggregateInputType = { UUID_AIN?: true UserID_AIN?: true AnalyzedActivities_AIN?: true ActivityTypes_AIN?: true GeneratedTitle_AIN?: true GeneratedDesc_AIN?: true SentStatus_AIN?: true SentAt_AIN?: true DeliveredAt_AIN?: true FailedAt_AIN?: true ErrorMessage_AIN?: true FCMMessageId_AIN?: true ResponseTime_AIN?: true ProcessingTime_AIN?: true ActivityTimeRange_AIN?: true AIModel_AIN?: true ScheduledAt_AIN?: true PredictedConfidence_AIN?: true PredictionReasoning_AIN?: true UserEngagementPattern_AIN?: true DelayMinutes_AIN?: true CreatedAt_AIN?: true UpdatedAt_AIN?: true _all?: true } export type AINotificationAggregateArgs = { /** * Filter which AINotification to aggregate. */ where?: AINotificationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AINotifications to fetch. */ orderBy?: AINotificationOrderByWithRelationInput | AINotificationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AINotificationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AINotifications from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AINotifications. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AINotifications **/ _count?: true | AINotificationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AINotificationAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AINotificationSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AINotificationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AINotificationMaxAggregateInputType } export type GetAINotificationAggregateType = { [P in keyof T & keyof AggregateAINotification]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AINotificationGroupByArgs = { where?: AINotificationWhereInput orderBy?: AINotificationOrderByWithAggregationInput | AINotificationOrderByWithAggregationInput[] by: AINotificationScalarFieldEnum[] | AINotificationScalarFieldEnum having?: AINotificationScalarWhereWithAggregatesInput take?: number skip?: number _count?: AINotificationCountAggregateInputType | true _avg?: AINotificationAvgAggregateInputType _sum?: AINotificationSumAggregateInputType _min?: AINotificationMinAggregateInputType _max?: AINotificationMaxAggregateInputType } export type AINotificationGroupByOutputType = { UUID_AIN: string UserID_AIN: string AnalyzedActivities_AIN: number ActivityTypes_AIN: string | null GeneratedTitle_AIN: string GeneratedDesc_AIN: string SentStatus_AIN: $Enums.DeliveryStatus SentAt_AIN: Date | null DeliveredAt_AIN: Date | null FailedAt_AIN: Date | null ErrorMessage_AIN: string | null FCMMessageId_AIN: string | null ResponseTime_AIN: number | null ProcessingTime_AIN: number | null ActivityTimeRange_AIN: number AIModel_AIN: string ScheduledAt_AIN: Date | null PredictedConfidence_AIN: number | null PredictionReasoning_AIN: string | null UserEngagementPattern_AIN: string | null DelayMinutes_AIN: number | null CreatedAt_AIN: Date UpdatedAt_AIN: Date _count: AINotificationCountAggregateOutputType | null _avg: AINotificationAvgAggregateOutputType | null _sum: AINotificationSumAggregateOutputType | null _min: AINotificationMinAggregateOutputType | null _max: AINotificationMaxAggregateOutputType | null } type GetAINotificationGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AINotificationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AINotificationSelect = $Extensions.GetSelect<{ UUID_AIN?: boolean UserID_AIN?: boolean AnalyzedActivities_AIN?: boolean ActivityTypes_AIN?: boolean GeneratedTitle_AIN?: boolean GeneratedDesc_AIN?: boolean SentStatus_AIN?: boolean SentAt_AIN?: boolean DeliveredAt_AIN?: boolean FailedAt_AIN?: boolean ErrorMessage_AIN?: boolean FCMMessageId_AIN?: boolean ResponseTime_AIN?: boolean ProcessingTime_AIN?: boolean ActivityTimeRange_AIN?: boolean AIModel_AIN?: boolean ScheduledAt_AIN?: boolean PredictedConfidence_AIN?: boolean PredictionReasoning_AIN?: boolean UserEngagementPattern_AIN?: boolean DelayMinutes_AIN?: boolean CreatedAt_AIN?: boolean UpdatedAt_AIN?: boolean }, ExtArgs["result"]["aINotification"]> export type AINotificationSelectScalar = { UUID_AIN?: boolean UserID_AIN?: boolean AnalyzedActivities_AIN?: boolean ActivityTypes_AIN?: boolean GeneratedTitle_AIN?: boolean GeneratedDesc_AIN?: boolean SentStatus_AIN?: boolean SentAt_AIN?: boolean DeliveredAt_AIN?: boolean FailedAt_AIN?: boolean ErrorMessage_AIN?: boolean FCMMessageId_AIN?: boolean ResponseTime_AIN?: boolean ProcessingTime_AIN?: boolean ActivityTimeRange_AIN?: boolean AIModel_AIN?: boolean ScheduledAt_AIN?: boolean PredictedConfidence_AIN?: boolean PredictionReasoning_AIN?: boolean UserEngagementPattern_AIN?: boolean DelayMinutes_AIN?: boolean CreatedAt_AIN?: boolean UpdatedAt_AIN?: boolean } export type AINotificationOmit = $Extensions.GetOmit<"UUID_AIN" | "UserID_AIN" | "AnalyzedActivities_AIN" | "ActivityTypes_AIN" | "GeneratedTitle_AIN" | "GeneratedDesc_AIN" | "SentStatus_AIN" | "SentAt_AIN" | "DeliveredAt_AIN" | "FailedAt_AIN" | "ErrorMessage_AIN" | "FCMMessageId_AIN" | "ResponseTime_AIN" | "ProcessingTime_AIN" | "ActivityTimeRange_AIN" | "AIModel_AIN" | "ScheduledAt_AIN" | "PredictedConfidence_AIN" | "PredictionReasoning_AIN" | "UserEngagementPattern_AIN" | "DelayMinutes_AIN" | "CreatedAt_AIN" | "UpdatedAt_AIN", ExtArgs["result"]["aINotification"]> export type $AINotificationPayload = { name: "AINotification" objects: {} scalars: $Extensions.GetPayloadResult<{ UUID_AIN: string UserID_AIN: string AnalyzedActivities_AIN: number ActivityTypes_AIN: string | null GeneratedTitle_AIN: string GeneratedDesc_AIN: string SentStatus_AIN: $Enums.DeliveryStatus SentAt_AIN: Date | null DeliveredAt_AIN: Date | null FailedAt_AIN: Date | null ErrorMessage_AIN: string | null FCMMessageId_AIN: string | null ResponseTime_AIN: number | null ProcessingTime_AIN: number | null ActivityTimeRange_AIN: number AIModel_AIN: string ScheduledAt_AIN: Date | null PredictedConfidence_AIN: number | null PredictionReasoning_AIN: string | null UserEngagementPattern_AIN: string | null DelayMinutes_AIN: number | null CreatedAt_AIN: Date UpdatedAt_AIN: Date }, ExtArgs["result"]["aINotification"]> composites: {} } type AINotificationGetPayload = $Result.GetResult type AINotificationCountArgs = Omit & { select?: AINotificationCountAggregateInputType | true } export interface AINotificationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AINotification'], meta: { name: 'AINotification' } } /** * Find zero or one AINotification that matches the filter. * @param {AINotificationFindUniqueArgs} args - Arguments to find a AINotification * @example * // Get one AINotification * const aINotification = await prisma.aINotification.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AINotificationClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AINotification that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AINotificationFindUniqueOrThrowArgs} args - Arguments to find a AINotification * @example * // Get one AINotification * const aINotification = await prisma.aINotification.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AINotificationClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AINotification 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 {AINotificationFindFirstArgs} args - Arguments to find a AINotification * @example * // Get one AINotification * const aINotification = await prisma.aINotification.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AINotificationClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AINotification 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 {AINotificationFindFirstOrThrowArgs} args - Arguments to find a AINotification * @example * // Get one AINotification * const aINotification = await prisma.aINotification.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AINotificationClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AINotifications 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 {AINotificationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AINotifications * const aINotifications = await prisma.aINotification.findMany() * * // Get first 10 AINotifications * const aINotifications = await prisma.aINotification.findMany({ take: 10 }) * * // Only select the `UUID_AIN` * const aINotificationWithUUID_AINOnly = await prisma.aINotification.findMany({ select: { UUID_AIN: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AINotification. * @param {AINotificationCreateArgs} args - Arguments to create a AINotification. * @example * // Create one AINotification * const AINotification = await prisma.aINotification.create({ * data: { * // ... data to create a AINotification * } * }) * */ create(args: SelectSubset>): Prisma__AINotificationClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AINotifications. * @param {AINotificationCreateManyArgs} args - Arguments to create many AINotifications. * @example * // Create many AINotifications * const aINotification = await prisma.aINotification.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Delete a AINotification. * @param {AINotificationDeleteArgs} args - Arguments to delete one AINotification. * @example * // Delete one AINotification * const AINotification = await prisma.aINotification.delete({ * where: { * // ... filter to delete one AINotification * } * }) * */ delete(args: SelectSubset>): Prisma__AINotificationClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AINotification. * @param {AINotificationUpdateArgs} args - Arguments to update one AINotification. * @example * // Update one AINotification * const aINotification = await prisma.aINotification.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AINotificationClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AINotifications. * @param {AINotificationDeleteManyArgs} args - Arguments to filter AINotifications to delete. * @example * // Delete a few AINotifications * const { count } = await prisma.aINotification.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AINotifications. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AINotificationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AINotifications * const aINotification = await prisma.aINotification.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one AINotification. * @param {AINotificationUpsertArgs} args - Arguments to update or create a AINotification. * @example * // Update or create a AINotification * const aINotification = await prisma.aINotification.upsert({ * create: { * // ... data to create a AINotification * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AINotification we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AINotificationClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AINotifications. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AINotificationCountArgs} args - Arguments to filter AINotifications to count. * @example * // Count the number of AINotifications * const count = await prisma.aINotification.count({ * where: { * // ... the filter for the AINotifications 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 AINotification. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AINotificationAggregateArgs} 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 AINotification. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AINotificationGroupByArgs} 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 AINotificationGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AINotificationGroupByArgs['orderBy'] } : { orderBy?: AINotificationGroupByArgs['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 ? GetAINotificationGroupByPayload : Prisma.PrismaPromise /** * Fields of the AINotification model */ readonly fields: AINotificationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AINotification. * 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__AINotificationClient 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 AINotification model */ interface AINotificationFieldRefs { readonly UUID_AIN: FieldRef<"AINotification", 'String'> readonly UserID_AIN: FieldRef<"AINotification", 'String'> readonly AnalyzedActivities_AIN: FieldRef<"AINotification", 'Int'> readonly ActivityTypes_AIN: FieldRef<"AINotification", 'String'> readonly GeneratedTitle_AIN: FieldRef<"AINotification", 'String'> readonly GeneratedDesc_AIN: FieldRef<"AINotification", 'String'> readonly SentStatus_AIN: FieldRef<"AINotification", 'DeliveryStatus'> readonly SentAt_AIN: FieldRef<"AINotification", 'DateTime'> readonly DeliveredAt_AIN: FieldRef<"AINotification", 'DateTime'> readonly FailedAt_AIN: FieldRef<"AINotification", 'DateTime'> readonly ErrorMessage_AIN: FieldRef<"AINotification", 'String'> readonly FCMMessageId_AIN: FieldRef<"AINotification", 'String'> readonly ResponseTime_AIN: FieldRef<"AINotification", 'Int'> readonly ProcessingTime_AIN: FieldRef<"AINotification", 'Int'> readonly ActivityTimeRange_AIN: FieldRef<"AINotification", 'Int'> readonly AIModel_AIN: FieldRef<"AINotification", 'String'> readonly ScheduledAt_AIN: FieldRef<"AINotification", 'DateTime'> readonly PredictedConfidence_AIN: FieldRef<"AINotification", 'Int'> readonly PredictionReasoning_AIN: FieldRef<"AINotification", 'String'> readonly UserEngagementPattern_AIN: FieldRef<"AINotification", 'String'> readonly DelayMinutes_AIN: FieldRef<"AINotification", 'Int'> readonly CreatedAt_AIN: FieldRef<"AINotification", 'DateTime'> readonly UpdatedAt_AIN: FieldRef<"AINotification", 'DateTime'> } // Custom InputTypes /** * AINotification findUnique */ export type AINotificationFindUniqueArgs = { /** * Select specific fields to fetch from the AINotification */ select?: AINotificationSelect | null /** * Omit specific fields from the AINotification */ omit?: AINotificationOmit | null /** * Filter, which AINotification to fetch. */ where: AINotificationWhereUniqueInput } /** * AINotification findUniqueOrThrow */ export type AINotificationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AINotification */ select?: AINotificationSelect | null /** * Omit specific fields from the AINotification */ omit?: AINotificationOmit | null /** * Filter, which AINotification to fetch. */ where: AINotificationWhereUniqueInput } /** * AINotification findFirst */ export type AINotificationFindFirstArgs = { /** * Select specific fields to fetch from the AINotification */ select?: AINotificationSelect | null /** * Omit specific fields from the AINotification */ omit?: AINotificationOmit | null /** * Filter, which AINotification to fetch. */ where?: AINotificationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AINotifications to fetch. */ orderBy?: AINotificationOrderByWithRelationInput | AINotificationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AINotifications. */ cursor?: AINotificationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AINotifications from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AINotifications. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AINotifications. */ distinct?: AINotificationScalarFieldEnum | AINotificationScalarFieldEnum[] } /** * AINotification findFirstOrThrow */ export type AINotificationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AINotification */ select?: AINotificationSelect | null /** * Omit specific fields from the AINotification */ omit?: AINotificationOmit | null /** * Filter, which AINotification to fetch. */ where?: AINotificationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AINotifications to fetch. */ orderBy?: AINotificationOrderByWithRelationInput | AINotificationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AINotifications. */ cursor?: AINotificationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AINotifications from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AINotifications. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AINotifications. */ distinct?: AINotificationScalarFieldEnum | AINotificationScalarFieldEnum[] } /** * AINotification findMany */ export type AINotificationFindManyArgs = { /** * Select specific fields to fetch from the AINotification */ select?: AINotificationSelect | null /** * Omit specific fields from the AINotification */ omit?: AINotificationOmit | null /** * Filter, which AINotifications to fetch. */ where?: AINotificationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AINotifications to fetch. */ orderBy?: AINotificationOrderByWithRelationInput | AINotificationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AINotifications. */ cursor?: AINotificationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AINotifications from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AINotifications. */ skip?: number distinct?: AINotificationScalarFieldEnum | AINotificationScalarFieldEnum[] } /** * AINotification create */ export type AINotificationCreateArgs = { /** * Select specific fields to fetch from the AINotification */ select?: AINotificationSelect | null /** * Omit specific fields from the AINotification */ omit?: AINotificationOmit | null /** * The data needed to create a AINotification. */ data: XOR } /** * AINotification createMany */ export type AINotificationCreateManyArgs = { /** * The data used to create many AINotifications. */ data: AINotificationCreateManyInput | AINotificationCreateManyInput[] skipDuplicates?: boolean } /** * AINotification update */ export type AINotificationUpdateArgs = { /** * Select specific fields to fetch from the AINotification */ select?: AINotificationSelect | null /** * Omit specific fields from the AINotification */ omit?: AINotificationOmit | null /** * The data needed to update a AINotification. */ data: XOR /** * Choose, which AINotification to update. */ where: AINotificationWhereUniqueInput } /** * AINotification updateMany */ export type AINotificationUpdateManyArgs = { /** * The data used to update AINotifications. */ data: XOR /** * Filter which AINotifications to update */ where?: AINotificationWhereInput /** * Limit how many AINotifications to update. */ limit?: number } /** * AINotification upsert */ export type AINotificationUpsertArgs = { /** * Select specific fields to fetch from the AINotification */ select?: AINotificationSelect | null /** * Omit specific fields from the AINotification */ omit?: AINotificationOmit | null /** * The filter to search for the AINotification to update in case it exists. */ where: AINotificationWhereUniqueInput /** * In case the AINotification found by the `where` argument doesn't exist, create a new AINotification with this data. */ create: XOR /** * In case the AINotification was found with the provided `where` argument, update it with this data. */ update: XOR } /** * AINotification delete */ export type AINotificationDeleteArgs = { /** * Select specific fields to fetch from the AINotification */ select?: AINotificationSelect | null /** * Omit specific fields from the AINotification */ omit?: AINotificationOmit | null /** * Filter which AINotification to delete. */ where: AINotificationWhereUniqueInput } /** * AINotification deleteMany */ export type AINotificationDeleteManyArgs = { /** * Filter which AINotifications to delete */ where?: AINotificationWhereInput /** * Limit how many AINotifications to delete. */ limit?: number } /** * AINotification without action */ export type AINotificationDefaultArgs = { /** * Select specific fields to fetch from the AINotification */ select?: AINotificationSelect | null /** * Omit specific fields from the AINotification */ omit?: AINotificationOmit | null } /** * Model AINotificationAnalytics */ export type AggregateAINotificationAnalytics = { _count: AINotificationAnalyticsCountAggregateOutputType | null _avg: AINotificationAnalyticsAvgAggregateOutputType | null _sum: AINotificationAnalyticsSumAggregateOutputType | null _min: AINotificationAnalyticsMinAggregateOutputType | null _max: AINotificationAnalyticsMaxAggregateOutputType | null } export type AINotificationAnalyticsAvgAggregateOutputType = { TotalAnalyzed_ANA: number | null TotalGenerated_ANA: number | null TotalSent_ANA: number | null TotalDelivered_ANA: number | null TotalFailed_ANA: number | null DeliveryRate_ANA: number | null AvgResponseTime_ANA: number | null AvgProcessingTime_ANA: number | null } export type AINotificationAnalyticsSumAggregateOutputType = { TotalAnalyzed_ANA: number | null TotalGenerated_ANA: number | null TotalSent_ANA: number | null TotalDelivered_ANA: number | null TotalFailed_ANA: number | null DeliveryRate_ANA: number | null AvgResponseTime_ANA: number | null AvgProcessingTime_ANA: number | null } export type AINotificationAnalyticsMinAggregateOutputType = { UUID_ANA: string | null Date_ANA: Date | null TotalAnalyzed_ANA: number | null TotalGenerated_ANA: number | null TotalSent_ANA: number | null TotalDelivered_ANA: number | null TotalFailed_ANA: number | null DeliveryRate_ANA: number | null AvgResponseTime_ANA: number | null AvgProcessingTime_ANA: number | null CreatedAt_ANA: Date | null UpdatedAt_ANA: Date | null } export type AINotificationAnalyticsMaxAggregateOutputType = { UUID_ANA: string | null Date_ANA: Date | null TotalAnalyzed_ANA: number | null TotalGenerated_ANA: number | null TotalSent_ANA: number | null TotalDelivered_ANA: number | null TotalFailed_ANA: number | null DeliveryRate_ANA: number | null AvgResponseTime_ANA: number | null AvgProcessingTime_ANA: number | null CreatedAt_ANA: Date | null UpdatedAt_ANA: Date | null } export type AINotificationAnalyticsCountAggregateOutputType = { UUID_ANA: number Date_ANA: number TotalAnalyzed_ANA: number TotalGenerated_ANA: number TotalSent_ANA: number TotalDelivered_ANA: number TotalFailed_ANA: number DeliveryRate_ANA: number AvgResponseTime_ANA: number AvgProcessingTime_ANA: number TopActivityTypes_ANA: number PopularTitles_ANA: number ErrorBreakdown_ANA: number CreatedAt_ANA: number UpdatedAt_ANA: number _all: number } export type AINotificationAnalyticsAvgAggregateInputType = { TotalAnalyzed_ANA?: true TotalGenerated_ANA?: true TotalSent_ANA?: true TotalDelivered_ANA?: true TotalFailed_ANA?: true DeliveryRate_ANA?: true AvgResponseTime_ANA?: true AvgProcessingTime_ANA?: true } export type AINotificationAnalyticsSumAggregateInputType = { TotalAnalyzed_ANA?: true TotalGenerated_ANA?: true TotalSent_ANA?: true TotalDelivered_ANA?: true TotalFailed_ANA?: true DeliveryRate_ANA?: true AvgResponseTime_ANA?: true AvgProcessingTime_ANA?: true } export type AINotificationAnalyticsMinAggregateInputType = { UUID_ANA?: true Date_ANA?: true TotalAnalyzed_ANA?: true TotalGenerated_ANA?: true TotalSent_ANA?: true TotalDelivered_ANA?: true TotalFailed_ANA?: true DeliveryRate_ANA?: true AvgResponseTime_ANA?: true AvgProcessingTime_ANA?: true CreatedAt_ANA?: true UpdatedAt_ANA?: true } export type AINotificationAnalyticsMaxAggregateInputType = { UUID_ANA?: true Date_ANA?: true TotalAnalyzed_ANA?: true TotalGenerated_ANA?: true TotalSent_ANA?: true TotalDelivered_ANA?: true TotalFailed_ANA?: true DeliveryRate_ANA?: true AvgResponseTime_ANA?: true AvgProcessingTime_ANA?: true CreatedAt_ANA?: true UpdatedAt_ANA?: true } export type AINotificationAnalyticsCountAggregateInputType = { UUID_ANA?: true Date_ANA?: true TotalAnalyzed_ANA?: true TotalGenerated_ANA?: true TotalSent_ANA?: true TotalDelivered_ANA?: true TotalFailed_ANA?: true DeliveryRate_ANA?: true AvgResponseTime_ANA?: true AvgProcessingTime_ANA?: true TopActivityTypes_ANA?: true PopularTitles_ANA?: true ErrorBreakdown_ANA?: true CreatedAt_ANA?: true UpdatedAt_ANA?: true _all?: true } export type AINotificationAnalyticsAggregateArgs = { /** * Filter which AINotificationAnalytics to aggregate. */ where?: AINotificationAnalyticsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AINotificationAnalytics to fetch. */ orderBy?: AINotificationAnalyticsOrderByWithRelationInput | AINotificationAnalyticsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AINotificationAnalyticsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AINotificationAnalytics from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AINotificationAnalytics. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AINotificationAnalytics **/ _count?: true | AINotificationAnalyticsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AINotificationAnalyticsAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AINotificationAnalyticsSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AINotificationAnalyticsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AINotificationAnalyticsMaxAggregateInputType } export type GetAINotificationAnalyticsAggregateType = { [P in keyof T & keyof AggregateAINotificationAnalytics]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AINotificationAnalyticsGroupByArgs = { where?: AINotificationAnalyticsWhereInput orderBy?: AINotificationAnalyticsOrderByWithAggregationInput | AINotificationAnalyticsOrderByWithAggregationInput[] by: AINotificationAnalyticsScalarFieldEnum[] | AINotificationAnalyticsScalarFieldEnum having?: AINotificationAnalyticsScalarWhereWithAggregatesInput take?: number skip?: number _count?: AINotificationAnalyticsCountAggregateInputType | true _avg?: AINotificationAnalyticsAvgAggregateInputType _sum?: AINotificationAnalyticsSumAggregateInputType _min?: AINotificationAnalyticsMinAggregateInputType _max?: AINotificationAnalyticsMaxAggregateInputType } export type AINotificationAnalyticsGroupByOutputType = { UUID_ANA: string Date_ANA: Date TotalAnalyzed_ANA: number TotalGenerated_ANA: number TotalSent_ANA: number TotalDelivered_ANA: number TotalFailed_ANA: number DeliveryRate_ANA: number | null AvgResponseTime_ANA: number | null AvgProcessingTime_ANA: number | null TopActivityTypes_ANA: JsonValue | null PopularTitles_ANA: JsonValue | null ErrorBreakdown_ANA: JsonValue | null CreatedAt_ANA: Date UpdatedAt_ANA: Date _count: AINotificationAnalyticsCountAggregateOutputType | null _avg: AINotificationAnalyticsAvgAggregateOutputType | null _sum: AINotificationAnalyticsSumAggregateOutputType | null _min: AINotificationAnalyticsMinAggregateOutputType | null _max: AINotificationAnalyticsMaxAggregateOutputType | null } type GetAINotificationAnalyticsGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AINotificationAnalyticsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AINotificationAnalyticsSelect = $Extensions.GetSelect<{ UUID_ANA?: boolean Date_ANA?: boolean TotalAnalyzed_ANA?: boolean TotalGenerated_ANA?: boolean TotalSent_ANA?: boolean TotalDelivered_ANA?: boolean TotalFailed_ANA?: boolean DeliveryRate_ANA?: boolean AvgResponseTime_ANA?: boolean AvgProcessingTime_ANA?: boolean TopActivityTypes_ANA?: boolean PopularTitles_ANA?: boolean ErrorBreakdown_ANA?: boolean CreatedAt_ANA?: boolean UpdatedAt_ANA?: boolean }, ExtArgs["result"]["aINotificationAnalytics"]> export type AINotificationAnalyticsSelectScalar = { UUID_ANA?: boolean Date_ANA?: boolean TotalAnalyzed_ANA?: boolean TotalGenerated_ANA?: boolean TotalSent_ANA?: boolean TotalDelivered_ANA?: boolean TotalFailed_ANA?: boolean DeliveryRate_ANA?: boolean AvgResponseTime_ANA?: boolean AvgProcessingTime_ANA?: boolean TopActivityTypes_ANA?: boolean PopularTitles_ANA?: boolean ErrorBreakdown_ANA?: boolean CreatedAt_ANA?: boolean UpdatedAt_ANA?: boolean } export type AINotificationAnalyticsOmit = $Extensions.GetOmit<"UUID_ANA" | "Date_ANA" | "TotalAnalyzed_ANA" | "TotalGenerated_ANA" | "TotalSent_ANA" | "TotalDelivered_ANA" | "TotalFailed_ANA" | "DeliveryRate_ANA" | "AvgResponseTime_ANA" | "AvgProcessingTime_ANA" | "TopActivityTypes_ANA" | "PopularTitles_ANA" | "ErrorBreakdown_ANA" | "CreatedAt_ANA" | "UpdatedAt_ANA", ExtArgs["result"]["aINotificationAnalytics"]> export type $AINotificationAnalyticsPayload = { name: "AINotificationAnalytics" objects: {} scalars: $Extensions.GetPayloadResult<{ UUID_ANA: string Date_ANA: Date TotalAnalyzed_ANA: number TotalGenerated_ANA: number TotalSent_ANA: number TotalDelivered_ANA: number TotalFailed_ANA: number DeliveryRate_ANA: number | null AvgResponseTime_ANA: number | null AvgProcessingTime_ANA: number | null TopActivityTypes_ANA: Prisma.JsonValue | null PopularTitles_ANA: Prisma.JsonValue | null ErrorBreakdown_ANA: Prisma.JsonValue | null CreatedAt_ANA: Date UpdatedAt_ANA: Date }, ExtArgs["result"]["aINotificationAnalytics"]> composites: {} } type AINotificationAnalyticsGetPayload = $Result.GetResult type AINotificationAnalyticsCountArgs = Omit & { select?: AINotificationAnalyticsCountAggregateInputType | true } export interface AINotificationAnalyticsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AINotificationAnalytics'], meta: { name: 'AINotificationAnalytics' } } /** * Find zero or one AINotificationAnalytics that matches the filter. * @param {AINotificationAnalyticsFindUniqueArgs} args - Arguments to find a AINotificationAnalytics * @example * // Get one AINotificationAnalytics * const aINotificationAnalytics = await prisma.aINotificationAnalytics.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AINotificationAnalyticsClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AINotificationAnalytics that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AINotificationAnalyticsFindUniqueOrThrowArgs} args - Arguments to find a AINotificationAnalytics * @example * // Get one AINotificationAnalytics * const aINotificationAnalytics = await prisma.aINotificationAnalytics.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AINotificationAnalyticsClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AINotificationAnalytics 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 {AINotificationAnalyticsFindFirstArgs} args - Arguments to find a AINotificationAnalytics * @example * // Get one AINotificationAnalytics * const aINotificationAnalytics = await prisma.aINotificationAnalytics.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AINotificationAnalyticsClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AINotificationAnalytics 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 {AINotificationAnalyticsFindFirstOrThrowArgs} args - Arguments to find a AINotificationAnalytics * @example * // Get one AINotificationAnalytics * const aINotificationAnalytics = await prisma.aINotificationAnalytics.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AINotificationAnalyticsClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AINotificationAnalytics 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 {AINotificationAnalyticsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AINotificationAnalytics * const aINotificationAnalytics = await prisma.aINotificationAnalytics.findMany() * * // Get first 10 AINotificationAnalytics * const aINotificationAnalytics = await prisma.aINotificationAnalytics.findMany({ take: 10 }) * * // Only select the `UUID_ANA` * const aINotificationAnalyticsWithUUID_ANAOnly = await prisma.aINotificationAnalytics.findMany({ select: { UUID_ANA: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AINotificationAnalytics. * @param {AINotificationAnalyticsCreateArgs} args - Arguments to create a AINotificationAnalytics. * @example * // Create one AINotificationAnalytics * const AINotificationAnalytics = await prisma.aINotificationAnalytics.create({ * data: { * // ... data to create a AINotificationAnalytics * } * }) * */ create(args: SelectSubset>): Prisma__AINotificationAnalyticsClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AINotificationAnalytics. * @param {AINotificationAnalyticsCreateManyArgs} args - Arguments to create many AINotificationAnalytics. * @example * // Create many AINotificationAnalytics * const aINotificationAnalytics = await prisma.aINotificationAnalytics.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Delete a AINotificationAnalytics. * @param {AINotificationAnalyticsDeleteArgs} args - Arguments to delete one AINotificationAnalytics. * @example * // Delete one AINotificationAnalytics * const AINotificationAnalytics = await prisma.aINotificationAnalytics.delete({ * where: { * // ... filter to delete one AINotificationAnalytics * } * }) * */ delete(args: SelectSubset>): Prisma__AINotificationAnalyticsClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AINotificationAnalytics. * @param {AINotificationAnalyticsUpdateArgs} args - Arguments to update one AINotificationAnalytics. * @example * // Update one AINotificationAnalytics * const aINotificationAnalytics = await prisma.aINotificationAnalytics.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AINotificationAnalyticsClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AINotificationAnalytics. * @param {AINotificationAnalyticsDeleteManyArgs} args - Arguments to filter AINotificationAnalytics to delete. * @example * // Delete a few AINotificationAnalytics * const { count } = await prisma.aINotificationAnalytics.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AINotificationAnalytics. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AINotificationAnalyticsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AINotificationAnalytics * const aINotificationAnalytics = await prisma.aINotificationAnalytics.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one AINotificationAnalytics. * @param {AINotificationAnalyticsUpsertArgs} args - Arguments to update or create a AINotificationAnalytics. * @example * // Update or create a AINotificationAnalytics * const aINotificationAnalytics = await prisma.aINotificationAnalytics.upsert({ * create: { * // ... data to create a AINotificationAnalytics * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AINotificationAnalytics we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AINotificationAnalyticsClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AINotificationAnalytics. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AINotificationAnalyticsCountArgs} args - Arguments to filter AINotificationAnalytics to count. * @example * // Count the number of AINotificationAnalytics * const count = await prisma.aINotificationAnalytics.count({ * where: { * // ... the filter for the AINotificationAnalytics 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 AINotificationAnalytics. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AINotificationAnalyticsAggregateArgs} 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 AINotificationAnalytics. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AINotificationAnalyticsGroupByArgs} 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 AINotificationAnalyticsGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AINotificationAnalyticsGroupByArgs['orderBy'] } : { orderBy?: AINotificationAnalyticsGroupByArgs['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 ? GetAINotificationAnalyticsGroupByPayload : Prisma.PrismaPromise /** * Fields of the AINotificationAnalytics model */ readonly fields: AINotificationAnalyticsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AINotificationAnalytics. * 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__AINotificationAnalyticsClient 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 AINotificationAnalytics model */ interface AINotificationAnalyticsFieldRefs { readonly UUID_ANA: FieldRef<"AINotificationAnalytics", 'String'> readonly Date_ANA: FieldRef<"AINotificationAnalytics", 'DateTime'> readonly TotalAnalyzed_ANA: FieldRef<"AINotificationAnalytics", 'Int'> readonly TotalGenerated_ANA: FieldRef<"AINotificationAnalytics", 'Int'> readonly TotalSent_ANA: FieldRef<"AINotificationAnalytics", 'Int'> readonly TotalDelivered_ANA: FieldRef<"AINotificationAnalytics", 'Int'> readonly TotalFailed_ANA: FieldRef<"AINotificationAnalytics", 'Int'> readonly DeliveryRate_ANA: FieldRef<"AINotificationAnalytics", 'Float'> readonly AvgResponseTime_ANA: FieldRef<"AINotificationAnalytics", 'Float'> readonly AvgProcessingTime_ANA: FieldRef<"AINotificationAnalytics", 'Float'> readonly TopActivityTypes_ANA: FieldRef<"AINotificationAnalytics", 'Json'> readonly PopularTitles_ANA: FieldRef<"AINotificationAnalytics", 'Json'> readonly ErrorBreakdown_ANA: FieldRef<"AINotificationAnalytics", 'Json'> readonly CreatedAt_ANA: FieldRef<"AINotificationAnalytics", 'DateTime'> readonly UpdatedAt_ANA: FieldRef<"AINotificationAnalytics", 'DateTime'> } // Custom InputTypes /** * AINotificationAnalytics findUnique */ export type AINotificationAnalyticsFindUniqueArgs = { /** * Select specific fields to fetch from the AINotificationAnalytics */ select?: AINotificationAnalyticsSelect | null /** * Omit specific fields from the AINotificationAnalytics */ omit?: AINotificationAnalyticsOmit | null /** * Filter, which AINotificationAnalytics to fetch. */ where: AINotificationAnalyticsWhereUniqueInput } /** * AINotificationAnalytics findUniqueOrThrow */ export type AINotificationAnalyticsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AINotificationAnalytics */ select?: AINotificationAnalyticsSelect | null /** * Omit specific fields from the AINotificationAnalytics */ omit?: AINotificationAnalyticsOmit | null /** * Filter, which AINotificationAnalytics to fetch. */ where: AINotificationAnalyticsWhereUniqueInput } /** * AINotificationAnalytics findFirst */ export type AINotificationAnalyticsFindFirstArgs = { /** * Select specific fields to fetch from the AINotificationAnalytics */ select?: AINotificationAnalyticsSelect | null /** * Omit specific fields from the AINotificationAnalytics */ omit?: AINotificationAnalyticsOmit | null /** * Filter, which AINotificationAnalytics to fetch. */ where?: AINotificationAnalyticsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AINotificationAnalytics to fetch. */ orderBy?: AINotificationAnalyticsOrderByWithRelationInput | AINotificationAnalyticsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AINotificationAnalytics. */ cursor?: AINotificationAnalyticsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AINotificationAnalytics from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AINotificationAnalytics. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AINotificationAnalytics. */ distinct?: AINotificationAnalyticsScalarFieldEnum | AINotificationAnalyticsScalarFieldEnum[] } /** * AINotificationAnalytics findFirstOrThrow */ export type AINotificationAnalyticsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AINotificationAnalytics */ select?: AINotificationAnalyticsSelect | null /** * Omit specific fields from the AINotificationAnalytics */ omit?: AINotificationAnalyticsOmit | null /** * Filter, which AINotificationAnalytics to fetch. */ where?: AINotificationAnalyticsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AINotificationAnalytics to fetch. */ orderBy?: AINotificationAnalyticsOrderByWithRelationInput | AINotificationAnalyticsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AINotificationAnalytics. */ cursor?: AINotificationAnalyticsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AINotificationAnalytics from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AINotificationAnalytics. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AINotificationAnalytics. */ distinct?: AINotificationAnalyticsScalarFieldEnum | AINotificationAnalyticsScalarFieldEnum[] } /** * AINotificationAnalytics findMany */ export type AINotificationAnalyticsFindManyArgs = { /** * Select specific fields to fetch from the AINotificationAnalytics */ select?: AINotificationAnalyticsSelect | null /** * Omit specific fields from the AINotificationAnalytics */ omit?: AINotificationAnalyticsOmit | null /** * Filter, which AINotificationAnalytics to fetch. */ where?: AINotificationAnalyticsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AINotificationAnalytics to fetch. */ orderBy?: AINotificationAnalyticsOrderByWithRelationInput | AINotificationAnalyticsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AINotificationAnalytics. */ cursor?: AINotificationAnalyticsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AINotificationAnalytics from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AINotificationAnalytics. */ skip?: number distinct?: AINotificationAnalyticsScalarFieldEnum | AINotificationAnalyticsScalarFieldEnum[] } /** * AINotificationAnalytics create */ export type AINotificationAnalyticsCreateArgs = { /** * Select specific fields to fetch from the AINotificationAnalytics */ select?: AINotificationAnalyticsSelect | null /** * Omit specific fields from the AINotificationAnalytics */ omit?: AINotificationAnalyticsOmit | null /** * The data needed to create a AINotificationAnalytics. */ data: XOR } /** * AINotificationAnalytics createMany */ export type AINotificationAnalyticsCreateManyArgs = { /** * The data used to create many AINotificationAnalytics. */ data: AINotificationAnalyticsCreateManyInput | AINotificationAnalyticsCreateManyInput[] skipDuplicates?: boolean } /** * AINotificationAnalytics update */ export type AINotificationAnalyticsUpdateArgs = { /** * Select specific fields to fetch from the AINotificationAnalytics */ select?: AINotificationAnalyticsSelect | null /** * Omit specific fields from the AINotificationAnalytics */ omit?: AINotificationAnalyticsOmit | null /** * The data needed to update a AINotificationAnalytics. */ data: XOR /** * Choose, which AINotificationAnalytics to update. */ where: AINotificationAnalyticsWhereUniqueInput } /** * AINotificationAnalytics updateMany */ export type AINotificationAnalyticsUpdateManyArgs = { /** * The data used to update AINotificationAnalytics. */ data: XOR /** * Filter which AINotificationAnalytics to update */ where?: AINotificationAnalyticsWhereInput /** * Limit how many AINotificationAnalytics to update. */ limit?: number } /** * AINotificationAnalytics upsert */ export type AINotificationAnalyticsUpsertArgs = { /** * Select specific fields to fetch from the AINotificationAnalytics */ select?: AINotificationAnalyticsSelect | null /** * Omit specific fields from the AINotificationAnalytics */ omit?: AINotificationAnalyticsOmit | null /** * The filter to search for the AINotificationAnalytics to update in case it exists. */ where: AINotificationAnalyticsWhereUniqueInput /** * In case the AINotificationAnalytics found by the `where` argument doesn't exist, create a new AINotificationAnalytics with this data. */ create: XOR /** * In case the AINotificationAnalytics was found with the provided `where` argument, update it with this data. */ update: XOR } /** * AINotificationAnalytics delete */ export type AINotificationAnalyticsDeleteArgs = { /** * Select specific fields to fetch from the AINotificationAnalytics */ select?: AINotificationAnalyticsSelect | null /** * Omit specific fields from the AINotificationAnalytics */ omit?: AINotificationAnalyticsOmit | null /** * Filter which AINotificationAnalytics to delete. */ where: AINotificationAnalyticsWhereUniqueInput } /** * AINotificationAnalytics deleteMany */ export type AINotificationAnalyticsDeleteManyArgs = { /** * Filter which AINotificationAnalytics to delete */ where?: AINotificationAnalyticsWhereInput /** * Limit how many AINotificationAnalytics to delete. */ limit?: number } /** * AINotificationAnalytics without action */ export type AINotificationAnalyticsDefaultArgs = { /** * Select specific fields to fetch from the AINotificationAnalytics */ select?: AINotificationAnalyticsSelect | null /** * Omit specific fields from the AINotificationAnalytics */ omit?: AINotificationAnalyticsOmit | null } /** * Model AppMenu */ export type AggregateAppMenu = { _count: AppMenuCountAggregateOutputType | null _avg: AppMenuAvgAggregateOutputType | null _sum: AppMenuSumAggregateOutputType | null _min: AppMenuMinAggregateOutputType | null _max: AppMenuMaxAggregateOutputType | null } export type AppMenuAvgAggregateOutputType = { Order_AM: number | null } export type AppMenuSumAggregateOutputType = { Order_AM: number | null } export type AppMenuMinAggregateOutputType = { UUID_AM: string | null Name_AM: string | null Route_AM: string | null Icon_AM: string | null IsActive_AM: boolean | null Badge_AM: string | null Order_AM: number | null Type_AM: $Enums.MenuType | null CreatedAt_AM: Date | null UpdatedAt_AM: Date | null } export type AppMenuMaxAggregateOutputType = { UUID_AM: string | null Name_AM: string | null Route_AM: string | null Icon_AM: string | null IsActive_AM: boolean | null Badge_AM: string | null Order_AM: number | null Type_AM: $Enums.MenuType | null CreatedAt_AM: Date | null UpdatedAt_AM: Date | null } export type AppMenuCountAggregateOutputType = { UUID_AM: number Name_AM: number Route_AM: number Icon_AM: number IsActive_AM: number Badge_AM: number Order_AM: number Type_AM: number CreatedAt_AM: number UpdatedAt_AM: number _all: number } export type AppMenuAvgAggregateInputType = { Order_AM?: true } export type AppMenuSumAggregateInputType = { Order_AM?: true } export type AppMenuMinAggregateInputType = { UUID_AM?: true Name_AM?: true Route_AM?: true Icon_AM?: true IsActive_AM?: true Badge_AM?: true Order_AM?: true Type_AM?: true CreatedAt_AM?: true UpdatedAt_AM?: true } export type AppMenuMaxAggregateInputType = { UUID_AM?: true Name_AM?: true Route_AM?: true Icon_AM?: true IsActive_AM?: true Badge_AM?: true Order_AM?: true Type_AM?: true CreatedAt_AM?: true UpdatedAt_AM?: true } export type AppMenuCountAggregateInputType = { UUID_AM?: true Name_AM?: true Route_AM?: true Icon_AM?: true IsActive_AM?: true Badge_AM?: true Order_AM?: true Type_AM?: true CreatedAt_AM?: true UpdatedAt_AM?: true _all?: true } export type AppMenuAggregateArgs = { /** * Filter which AppMenu to aggregate. */ where?: AppMenuWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppMenus to fetch. */ orderBy?: AppMenuOrderByWithRelationInput | AppMenuOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: AppMenuWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppMenus from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppMenus. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AppMenus **/ _count?: true | AppMenuCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AppMenuAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AppMenuSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AppMenuMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AppMenuMaxAggregateInputType } export type GetAppMenuAggregateType = { [P in keyof T & keyof AggregateAppMenu]: P extends '_count' | 'count' ? T[P] extends true ? number : GetScalarType : GetScalarType } export type AppMenuGroupByArgs = { where?: AppMenuWhereInput orderBy?: AppMenuOrderByWithAggregationInput | AppMenuOrderByWithAggregationInput[] by: AppMenuScalarFieldEnum[] | AppMenuScalarFieldEnum having?: AppMenuScalarWhereWithAggregatesInput take?: number skip?: number _count?: AppMenuCountAggregateInputType | true _avg?: AppMenuAvgAggregateInputType _sum?: AppMenuSumAggregateInputType _min?: AppMenuMinAggregateInputType _max?: AppMenuMaxAggregateInputType } export type AppMenuGroupByOutputType = { UUID_AM: string Name_AM: string Route_AM: string Icon_AM: string IsActive_AM: boolean Badge_AM: string | null Order_AM: number Type_AM: $Enums.MenuType CreatedAt_AM: Date UpdatedAt_AM: Date _count: AppMenuCountAggregateOutputType | null _avg: AppMenuAvgAggregateOutputType | null _sum: AppMenuSumAggregateOutputType | null _min: AppMenuMinAggregateOutputType | null _max: AppMenuMaxAggregateOutputType | null } type GetAppMenuGroupByPayload = Prisma.PrismaPromise< Array< PickEnumerable & { [P in ((keyof T) & (keyof AppMenuGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : GetScalarType : GetScalarType } > > export type AppMenuSelect = $Extensions.GetSelect<{ UUID_AM?: boolean Name_AM?: boolean Route_AM?: boolean Icon_AM?: boolean IsActive_AM?: boolean Badge_AM?: boolean Order_AM?: boolean Type_AM?: boolean CreatedAt_AM?: boolean UpdatedAt_AM?: boolean }, ExtArgs["result"]["appMenu"]> export type AppMenuSelectScalar = { UUID_AM?: boolean Name_AM?: boolean Route_AM?: boolean Icon_AM?: boolean IsActive_AM?: boolean Badge_AM?: boolean Order_AM?: boolean Type_AM?: boolean CreatedAt_AM?: boolean UpdatedAt_AM?: boolean } export type AppMenuOmit = $Extensions.GetOmit<"UUID_AM" | "Name_AM" | "Route_AM" | "Icon_AM" | "IsActive_AM" | "Badge_AM" | "Order_AM" | "Type_AM" | "CreatedAt_AM" | "UpdatedAt_AM", ExtArgs["result"]["appMenu"]> export type $AppMenuPayload = { name: "AppMenu" objects: {} scalars: $Extensions.GetPayloadResult<{ UUID_AM: string Name_AM: string Route_AM: string Icon_AM: string IsActive_AM: boolean Badge_AM: string | null Order_AM: number Type_AM: $Enums.MenuType CreatedAt_AM: Date UpdatedAt_AM: Date }, ExtArgs["result"]["appMenu"]> composites: {} } type AppMenuGetPayload = $Result.GetResult type AppMenuCountArgs = Omit & { select?: AppMenuCountAggregateInputType | true } export interface AppMenuDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AppMenu'], meta: { name: 'AppMenu' } } /** * Find zero or one AppMenu that matches the filter. * @param {AppMenuFindUniqueArgs} args - Arguments to find a AppMenu * @example * // Get one AppMenu * const appMenu = await prisma.appMenu.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: SelectSubset>): Prisma__AppMenuClient<$Result.GetResult, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AppMenu that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AppMenuFindUniqueOrThrowArgs} args - Arguments to find a AppMenu * @example * // Get one AppMenu * const appMenu = await prisma.appMenu.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: SelectSubset>): Prisma__AppMenuClient<$Result.GetResult, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AppMenu 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 {AppMenuFindFirstArgs} args - Arguments to find a AppMenu * @example * // Get one AppMenu * const appMenu = await prisma.appMenu.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: SelectSubset>): Prisma__AppMenuClient<$Result.GetResult, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AppMenu 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 {AppMenuFindFirstOrThrowArgs} args - Arguments to find a AppMenu * @example * // Get one AppMenu * const appMenu = await prisma.appMenu.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: SelectSubset>): Prisma__AppMenuClient<$Result.GetResult, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AppMenus 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 {AppMenuFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AppMenus * const appMenus = await prisma.appMenu.findMany() * * // Get first 10 AppMenus * const appMenus = await prisma.appMenu.findMany({ take: 10 }) * * // Only select the `UUID_AM` * const appMenuWithUUID_AMOnly = await prisma.appMenu.findMany({ select: { UUID_AM: true } }) * */ findMany(args?: SelectSubset>): Prisma.PrismaPromise<$Result.GetResult, T, "findMany", GlobalOmitOptions>> /** * Create a AppMenu. * @param {AppMenuCreateArgs} args - Arguments to create a AppMenu. * @example * // Create one AppMenu * const AppMenu = await prisma.appMenu.create({ * data: { * // ... data to create a AppMenu * } * }) * */ create(args: SelectSubset>): Prisma__AppMenuClient<$Result.GetResult, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AppMenus. * @param {AppMenuCreateManyArgs} args - Arguments to create many AppMenus. * @example * // Create many AppMenus * const appMenu = await prisma.appMenu.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Delete a AppMenu. * @param {AppMenuDeleteArgs} args - Arguments to delete one AppMenu. * @example * // Delete one AppMenu * const AppMenu = await prisma.appMenu.delete({ * where: { * // ... filter to delete one AppMenu * } * }) * */ delete(args: SelectSubset>): Prisma__AppMenuClient<$Result.GetResult, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AppMenu. * @param {AppMenuUpdateArgs} args - Arguments to update one AppMenu. * @example * // Update one AppMenu * const appMenu = await prisma.appMenu.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: SelectSubset>): Prisma__AppMenuClient<$Result.GetResult, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AppMenus. * @param {AppMenuDeleteManyArgs} args - Arguments to filter AppMenus to delete. * @example * // Delete a few AppMenus * const { count } = await prisma.appMenu.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AppMenus. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppMenuUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AppMenus * const appMenu = await prisma.appMenu.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: SelectSubset>): Prisma.PrismaPromise /** * Create or update one AppMenu. * @param {AppMenuUpsertArgs} args - Arguments to update or create a AppMenu. * @example * // Update or create a AppMenu * const appMenu = await prisma.appMenu.upsert({ * create: { * // ... data to create a AppMenu * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AppMenu we want to update * } * }) */ upsert(args: SelectSubset>): Prisma__AppMenuClient<$Result.GetResult, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AppMenus. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppMenuCountArgs} args - Arguments to filter AppMenus to count. * @example * // Count the number of AppMenus * const count = await prisma.appMenu.count({ * where: { * // ... the filter for the AppMenus 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 AppMenu. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppMenuAggregateArgs} 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 AppMenu. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AppMenuGroupByArgs} 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 AppMenuGroupByArgs, HasSelectOrTake extends Or< Extends<'skip', Keys>, Extends<'take', Keys> >, OrderByArg extends True extends HasSelectOrTake ? { orderBy: AppMenuGroupByArgs['orderBy'] } : { orderBy?: AppMenuGroupByArgs['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 ? GetAppMenuGroupByPayload : Prisma.PrismaPromise /** * Fields of the AppMenu model */ readonly fields: AppMenuFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AppMenu. * 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__AppMenuClient 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 AppMenu model */ interface AppMenuFieldRefs { readonly UUID_AM: FieldRef<"AppMenu", 'String'> readonly Name_AM: FieldRef<"AppMenu", 'String'> readonly Route_AM: FieldRef<"AppMenu", 'String'> readonly Icon_AM: FieldRef<"AppMenu", 'String'> readonly IsActive_AM: FieldRef<"AppMenu", 'Boolean'> readonly Badge_AM: FieldRef<"AppMenu", 'String'> readonly Order_AM: FieldRef<"AppMenu", 'Int'> readonly Type_AM: FieldRef<"AppMenu", 'MenuType'> readonly CreatedAt_AM: FieldRef<"AppMenu", 'DateTime'> readonly UpdatedAt_AM: FieldRef<"AppMenu", 'DateTime'> } // Custom InputTypes /** * AppMenu findUnique */ export type AppMenuFindUniqueArgs = { /** * Select specific fields to fetch from the AppMenu */ select?: AppMenuSelect | null /** * Omit specific fields from the AppMenu */ omit?: AppMenuOmit | null /** * Filter, which AppMenu to fetch. */ where: AppMenuWhereUniqueInput } /** * AppMenu findUniqueOrThrow */ export type AppMenuFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AppMenu */ select?: AppMenuSelect | null /** * Omit specific fields from the AppMenu */ omit?: AppMenuOmit | null /** * Filter, which AppMenu to fetch. */ where: AppMenuWhereUniqueInput } /** * AppMenu findFirst */ export type AppMenuFindFirstArgs = { /** * Select specific fields to fetch from the AppMenu */ select?: AppMenuSelect | null /** * Omit specific fields from the AppMenu */ omit?: AppMenuOmit | null /** * Filter, which AppMenu to fetch. */ where?: AppMenuWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppMenus to fetch. */ orderBy?: AppMenuOrderByWithRelationInput | AppMenuOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AppMenus. */ cursor?: AppMenuWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppMenus from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppMenus. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppMenus. */ distinct?: AppMenuScalarFieldEnum | AppMenuScalarFieldEnum[] } /** * AppMenu findFirstOrThrow */ export type AppMenuFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AppMenu */ select?: AppMenuSelect | null /** * Omit specific fields from the AppMenu */ omit?: AppMenuOmit | null /** * Filter, which AppMenu to fetch. */ where?: AppMenuWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppMenus to fetch. */ orderBy?: AppMenuOrderByWithRelationInput | AppMenuOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AppMenus. */ cursor?: AppMenuWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppMenus from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppMenus. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AppMenus. */ distinct?: AppMenuScalarFieldEnum | AppMenuScalarFieldEnum[] } /** * AppMenu findMany */ export type AppMenuFindManyArgs = { /** * Select specific fields to fetch from the AppMenu */ select?: AppMenuSelect | null /** * Omit specific fields from the AppMenu */ omit?: AppMenuOmit | null /** * Filter, which AppMenus to fetch. */ where?: AppMenuWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AppMenus to fetch. */ orderBy?: AppMenuOrderByWithRelationInput | AppMenuOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AppMenus. */ cursor?: AppMenuWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AppMenus from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` AppMenus. */ skip?: number distinct?: AppMenuScalarFieldEnum | AppMenuScalarFieldEnum[] } /** * AppMenu create */ export type AppMenuCreateArgs = { /** * Select specific fields to fetch from the AppMenu */ select?: AppMenuSelect | null /** * Omit specific fields from the AppMenu */ omit?: AppMenuOmit | null /** * The data needed to create a AppMenu. */ data: XOR } /** * AppMenu createMany */ export type AppMenuCreateManyArgs = { /** * The data used to create many AppMenus. */ data: AppMenuCreateManyInput | AppMenuCreateManyInput[] skipDuplicates?: boolean } /** * AppMenu update */ export type AppMenuUpdateArgs = { /** * Select specific fields to fetch from the AppMenu */ select?: AppMenuSelect | null /** * Omit specific fields from the AppMenu */ omit?: AppMenuOmit | null /** * The data needed to update a AppMenu. */ data: XOR /** * Choose, which AppMenu to update. */ where: AppMenuWhereUniqueInput } /** * AppMenu updateMany */ export type AppMenuUpdateManyArgs = { /** * The data used to update AppMenus. */ data: XOR /** * Filter which AppMenus to update */ where?: AppMenuWhereInput /** * Limit how many AppMenus to update. */ limit?: number } /** * AppMenu upsert */ export type AppMenuUpsertArgs = { /** * Select specific fields to fetch from the AppMenu */ select?: AppMenuSelect | null /** * Omit specific fields from the AppMenu */ omit?: AppMenuOmit | null /** * The filter to search for the AppMenu to update in case it exists. */ where: AppMenuWhereUniqueInput /** * In case the AppMenu found by the `where` argument doesn't exist, create a new AppMenu with this data. */ create: XOR /** * In case the AppMenu was found with the provided `where` argument, update it with this data. */ update: XOR } /** * AppMenu delete */ export type AppMenuDeleteArgs = { /** * Select specific fields to fetch from the AppMenu */ select?: AppMenuSelect | null /** * Omit specific fields from the AppMenu */ omit?: AppMenuOmit | null /** * Filter which AppMenu to delete. */ where: AppMenuWhereUniqueInput } /** * AppMenu deleteMany */ export type AppMenuDeleteManyArgs = { /** * Filter which AppMenus to delete */ where?: AppMenuWhereInput /** * Limit how many AppMenus to delete. */ limit?: number } /** * AppMenu without action */ export type AppMenuDefaultArgs = { /** * Select specific fields to fetch from the AppMenu */ select?: AppMenuSelect | null /** * Omit specific fields from the AppMenu */ omit?: AppMenuOmit | null } /** * Enums */ export const TransactionIsolationLevel: { ReadUncommitted: 'ReadUncommitted', ReadCommitted: 'ReadCommitted', RepeatableRead: 'RepeatableRead', Serializable: 'Serializable' }; export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] export const AdminAccountScalarFieldEnum: { UUID_AA: 'UUID_AA', Username_AA: 'Username_AA', Email_AA: 'Email_AA', Password_AA: 'Password_AA', LastLogin_AA: 'LastLogin_AA', UpdatedAt_AA: 'UpdatedAt_AA', CreatedAt_AA: 'CreatedAt_AA' }; export type AdminAccountScalarFieldEnum = (typeof AdminAccountScalarFieldEnum)[keyof typeof AdminAccountScalarFieldEnum] export const AppCredentialScalarFieldEnum: { UUID_AC: 'UUID_AC', CreatedAt_AC: 'CreatedAt_AC', TokenCredential_AC: 'TokenCredential_AC', UpdatedAt_AC: 'UpdatedAt_AC' }; export type AppCredentialScalarFieldEnum = (typeof AppCredentialScalarFieldEnum)[keyof typeof AppCredentialScalarFieldEnum] export const AppContentScalarFieldEnum: { UUID_APC: 'UUID_APC', Content_APC: 'Content_APC', CreatedAt_APC: 'CreatedAt_APC', Filename_APC: 'Filename_APC', Title_APC: 'Title_APC', UpdatedAt_APC: 'UpdatedAt_APC', Url_APC: 'Url_APC', Type_APC: 'Type_APC', CorpType_APC: 'CorpType_APC', TargetUrl_APC: 'TargetUrl_APC' }; export type AppContentScalarFieldEnum = (typeof AppContentScalarFieldEnum)[keyof typeof AppContentScalarFieldEnum] export const AppCampaignScalarFieldEnum: { UUID_ACP: 'UUID_ACP', Title_ACP: 'Title_ACP', Content_ACP: 'Content_ACP', Date_ACP: 'Date_ACP', Status_ACP: 'Status_ACP', UpdatedAt_ACP: 'UpdatedAt_ACP', CreatedAt_ACP: 'CreatedAt_ACP', TargetUsers_ACP: 'TargetUsers_ACP', SentCount_ACP: 'SentCount_ACP', SuccessCount_ACP: 'SuccessCount_ACP', FailureCount_ACP: 'FailureCount_ACP', DeliveryRate_ACP: 'DeliveryRate_ACP', SentAt_ACP: 'SentAt_ACP', CompletedAt_ACP: 'CompletedAt_ACP', ErrorMessage_ACP: 'ErrorMessage_ACP', Data_ACP: 'Data_ACP', ImageUrl_ACP: 'ImageUrl_ACP' }; export type AppCampaignScalarFieldEnum = (typeof AppCampaignScalarFieldEnum)[keyof typeof AppCampaignScalarFieldEnum] export const CampaignDeliveryScalarFieldEnum: { UUID_CD: 'UUID_CD', Campaign_CD: 'Campaign_CD', UserID_CD: 'UserID_CD', Token_CD: 'Token_CD', Status_CD: 'Status_CD', SentAt_CD: 'SentAt_CD', DeliveredAt_CD: 'DeliveredAt_CD', FailedAt_CD: 'FailedAt_CD', ErrorMessage_CD: 'ErrorMessage_CD', ResponseData_CD: 'ResponseData_CD', CreatedAt_CD: 'CreatedAt_CD', UpdatedAt_CD: 'UpdatedAt_CD' }; export type CampaignDeliveryScalarFieldEnum = (typeof CampaignDeliveryScalarFieldEnum)[keyof typeof CampaignDeliveryScalarFieldEnum] export const UsersTokenScalarFieldEnum: { UUID_UT: 'UUID_UT', UserID_UT: 'UserID_UT', Token_UT: 'Token_UT', UpdatedAt_UT: 'UpdatedAt_UT', CreatedAt_UT: 'CreatedAt_UT' }; export type UsersTokenScalarFieldEnum = (typeof UsersTokenScalarFieldEnum)[keyof typeof UsersTokenScalarFieldEnum] export const UsersActivityScalarFieldEnum: { UUID_UA: 'UUID_UA', UUID_UT: 'UUID_UT', ActivityType_UA: 'ActivityType_UA', Params_UA: 'Params_UA', NotifyAt_UA: 'NotifyAt_UA', UpdatedAt_UA: 'UpdatedAt_UA', CreatedAt_UA: 'CreatedAt_UA', Processed_UA: 'Processed_UA' }; export type UsersActivityScalarFieldEnum = (typeof UsersActivityScalarFieldEnum)[keyof typeof UsersActivityScalarFieldEnum] export const CrashReportScalarFieldEnum: { UUID_CR: 'UUID_CR', AppId_CR: 'AppId_CR', AppVersion_CR: 'AppVersion_CR', BuildVersion_CR: 'BuildVersion_CR', CrashId_CR: 'CrashId_CR', SessionId_CR: 'SessionId_CR', UserId_CR: 'UserId_CR', CrashType_CR: 'CrashType_CR', ExceptionName_CR: 'ExceptionName_CR', ExceptionReason_CR: 'ExceptionReason_CR', StackTrace_CR: 'StackTrace_CR', ThreadName_CR: 'ThreadName_CR', IsFatal_CR: 'IsFatal_CR', Severity_CR: 'Severity_CR', Status_CR: 'Status_CR', DeviceModel_CR: 'DeviceModel_CR', DeviceBrand_CR: 'DeviceBrand_CR', OSName_CR: 'OSName_CR', OSVersion_CR: 'OSVersion_CR', Architecture_CR: 'Architecture_CR', AvailableRam_CR: 'AvailableRam_CR', TotalRam_CR: 'TotalRam_CR', AvailableDisk_CR: 'AvailableDisk_CR', TotalDisk_CR: 'TotalDisk_CR', BatteryLevel_CR: 'BatteryLevel_CR', IsRooted_CR: 'IsRooted_CR', IsDebugger_CR: 'IsDebugger_CR', NetworkType_CR: 'NetworkType_CR', Breadcrumbs_CR: 'Breadcrumbs_CR', CustomData_CR: 'CustomData_CR', Logs_CR: 'Logs_CR', CrashCount_CR: 'CrashCount_CR', FirstOccurred_CR: 'FirstOccurred_CR', LastOccurred_CR: 'LastOccurred_CR', AffectedUsers_CR: 'AffectedUsers_CR', CreatedAt_CR: 'CreatedAt_CR', UpdatedAt_CR: 'UpdatedAt_CR', ResolvedAt_CR: 'ResolvedAt_CR', ResolvedBy_CR: 'ResolvedBy_CR' }; export type CrashReportScalarFieldEnum = (typeof CrashReportScalarFieldEnum)[keyof typeof CrashReportScalarFieldEnum] export const CrashSessionScalarFieldEnum: { UUID_CS: 'UUID_CS', SessionId_CS: 'SessionId_CS', AppId_CS: 'AppId_CS', AppVersion_CS: 'AppVersion_CS', UserId_CS: 'UserId_CS', StartedAt_CS: 'StartedAt_CS', EndedAt_CS: 'EndedAt_CS', Duration_CS: 'Duration_CS', IsCrashed_CS: 'IsCrashed_CS', CrashCount_CS: 'CrashCount_CS', DeviceModel_CS: 'DeviceModel_CS', OSVersion_CS: 'OSVersion_CS', CreatedAt_CS: 'CreatedAt_CS', UpdatedAt_CS: 'UpdatedAt_CS' }; export type CrashSessionScalarFieldEnum = (typeof CrashSessionScalarFieldEnum)[keyof typeof CrashSessionScalarFieldEnum] export const CrashAnalyticsScalarFieldEnum: { UUID_CA: 'UUID_CA', AppId_CA: 'AppId_CA', AppVersion_CA: 'AppVersion_CA', Date_CA: 'Date_CA', TotalCrashes_CA: 'TotalCrashes_CA', FatalCrashes_CA: 'FatalCrashes_CA', NonFatalCrashes_CA: 'NonFatalCrashes_CA', UniqueCrashes_CA: 'UniqueCrashes_CA', AffectedUsers_CA: 'AffectedUsers_CA', TotalSessions_CA: 'TotalSessions_CA', CrashedSessions_CA: 'CrashedSessions_CA', CrashFreeRate_CA: 'CrashFreeRate_CA', TopCrashes_CA: 'TopCrashes_CA', CreatedAt_CA: 'CreatedAt_CA', UpdatedAt_CA: 'UpdatedAt_CA' }; export type CrashAnalyticsScalarFieldEnum = (typeof CrashAnalyticsScalarFieldEnum)[keyof typeof CrashAnalyticsScalarFieldEnum] export const AINotificationScalarFieldEnum: { UUID_AIN: 'UUID_AIN', UserID_AIN: 'UserID_AIN', AnalyzedActivities_AIN: 'AnalyzedActivities_AIN', ActivityTypes_AIN: 'ActivityTypes_AIN', GeneratedTitle_AIN: 'GeneratedTitle_AIN', GeneratedDesc_AIN: 'GeneratedDesc_AIN', SentStatus_AIN: 'SentStatus_AIN', SentAt_AIN: 'SentAt_AIN', DeliveredAt_AIN: 'DeliveredAt_AIN', FailedAt_AIN: 'FailedAt_AIN', ErrorMessage_AIN: 'ErrorMessage_AIN', FCMMessageId_AIN: 'FCMMessageId_AIN', ResponseTime_AIN: 'ResponseTime_AIN', ProcessingTime_AIN: 'ProcessingTime_AIN', ActivityTimeRange_AIN: 'ActivityTimeRange_AIN', AIModel_AIN: 'AIModel_AIN', ScheduledAt_AIN: 'ScheduledAt_AIN', PredictedConfidence_AIN: 'PredictedConfidence_AIN', PredictionReasoning_AIN: 'PredictionReasoning_AIN', UserEngagementPattern_AIN: 'UserEngagementPattern_AIN', DelayMinutes_AIN: 'DelayMinutes_AIN', CreatedAt_AIN: 'CreatedAt_AIN', UpdatedAt_AIN: 'UpdatedAt_AIN' }; export type AINotificationScalarFieldEnum = (typeof AINotificationScalarFieldEnum)[keyof typeof AINotificationScalarFieldEnum] export const AINotificationAnalyticsScalarFieldEnum: { UUID_ANA: 'UUID_ANA', Date_ANA: 'Date_ANA', TotalAnalyzed_ANA: 'TotalAnalyzed_ANA', TotalGenerated_ANA: 'TotalGenerated_ANA', TotalSent_ANA: 'TotalSent_ANA', TotalDelivered_ANA: 'TotalDelivered_ANA', TotalFailed_ANA: 'TotalFailed_ANA', DeliveryRate_ANA: 'DeliveryRate_ANA', AvgResponseTime_ANA: 'AvgResponseTime_ANA', AvgProcessingTime_ANA: 'AvgProcessingTime_ANA', TopActivityTypes_ANA: 'TopActivityTypes_ANA', PopularTitles_ANA: 'PopularTitles_ANA', ErrorBreakdown_ANA: 'ErrorBreakdown_ANA', CreatedAt_ANA: 'CreatedAt_ANA', UpdatedAt_ANA: 'UpdatedAt_ANA' }; export type AINotificationAnalyticsScalarFieldEnum = (typeof AINotificationAnalyticsScalarFieldEnum)[keyof typeof AINotificationAnalyticsScalarFieldEnum] export const AppMenuScalarFieldEnum: { UUID_AM: 'UUID_AM', Name_AM: 'Name_AM', Route_AM: 'Route_AM', Icon_AM: 'Icon_AM', IsActive_AM: 'IsActive_AM', Badge_AM: 'Badge_AM', Order_AM: 'Order_AM', Type_AM: 'Type_AM', CreatedAt_AM: 'CreatedAt_AM', UpdatedAt_AM: 'UpdatedAt_AM' }; export type AppMenuScalarFieldEnum = (typeof AppMenuScalarFieldEnum)[keyof typeof AppMenuScalarFieldEnum] export const SortOrder: { asc: 'asc', desc: 'desc' }; export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] export const NullableJsonNullValueInput: { DbNull: typeof DbNull, JsonNull: typeof JsonNull }; export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput] export const NullsOrder: { first: 'first', last: 'last' }; export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] export const AdminAccountOrderByRelevanceFieldEnum: { UUID_AA: 'UUID_AA', Username_AA: 'Username_AA', Email_AA: 'Email_AA', Password_AA: 'Password_AA' }; export type AdminAccountOrderByRelevanceFieldEnum = (typeof AdminAccountOrderByRelevanceFieldEnum)[keyof typeof AdminAccountOrderByRelevanceFieldEnum] export const AppCredentialOrderByRelevanceFieldEnum: { UUID_AC: 'UUID_AC', TokenCredential_AC: 'TokenCredential_AC' }; export type AppCredentialOrderByRelevanceFieldEnum = (typeof AppCredentialOrderByRelevanceFieldEnum)[keyof typeof AppCredentialOrderByRelevanceFieldEnum] export const AppContentOrderByRelevanceFieldEnum: { UUID_APC: 'UUID_APC', Content_APC: 'Content_APC', Filename_APC: 'Filename_APC', Title_APC: 'Title_APC', Url_APC: 'Url_APC', TargetUrl_APC: 'TargetUrl_APC' }; export type AppContentOrderByRelevanceFieldEnum = (typeof AppContentOrderByRelevanceFieldEnum)[keyof typeof AppContentOrderByRelevanceFieldEnum] export const AppCampaignOrderByRelevanceFieldEnum: { UUID_ACP: 'UUID_ACP', Title_ACP: 'Title_ACP', Content_ACP: 'Content_ACP', ErrorMessage_ACP: 'ErrorMessage_ACP', Data_ACP: 'Data_ACP', ImageUrl_ACP: 'ImageUrl_ACP' }; export type AppCampaignOrderByRelevanceFieldEnum = (typeof AppCampaignOrderByRelevanceFieldEnum)[keyof typeof AppCampaignOrderByRelevanceFieldEnum] export const CampaignDeliveryOrderByRelevanceFieldEnum: { UUID_CD: 'UUID_CD', Campaign_CD: 'Campaign_CD', UserID_CD: 'UserID_CD', Token_CD: 'Token_CD', ErrorMessage_CD: 'ErrorMessage_CD', ResponseData_CD: 'ResponseData_CD' }; export type CampaignDeliveryOrderByRelevanceFieldEnum = (typeof CampaignDeliveryOrderByRelevanceFieldEnum)[keyof typeof CampaignDeliveryOrderByRelevanceFieldEnum] export const UsersTokenOrderByRelevanceFieldEnum: { UUID_UT: 'UUID_UT', UserID_UT: 'UserID_UT', Token_UT: 'Token_UT' }; export type UsersTokenOrderByRelevanceFieldEnum = (typeof UsersTokenOrderByRelevanceFieldEnum)[keyof typeof UsersTokenOrderByRelevanceFieldEnum] export const UsersActivityOrderByRelevanceFieldEnum: { UUID_UA: 'UUID_UA', UUID_UT: 'UUID_UT', Params_UA: 'Params_UA' }; export type UsersActivityOrderByRelevanceFieldEnum = (typeof UsersActivityOrderByRelevanceFieldEnum)[keyof typeof UsersActivityOrderByRelevanceFieldEnum] export const JsonNullValueFilter: { DbNull: typeof DbNull, JsonNull: typeof JsonNull, AnyNull: typeof AnyNull }; export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] export const QueryMode: { default: 'default', insensitive: 'insensitive' }; export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] export const CrashReportOrderByRelevanceFieldEnum: { UUID_CR: 'UUID_CR', AppId_CR: 'AppId_CR', AppVersion_CR: 'AppVersion_CR', BuildVersion_CR: 'BuildVersion_CR', CrashId_CR: 'CrashId_CR', SessionId_CR: 'SessionId_CR', UserId_CR: 'UserId_CR', CrashType_CR: 'CrashType_CR', ExceptionName_CR: 'ExceptionName_CR', ExceptionReason_CR: 'ExceptionReason_CR', StackTrace_CR: 'StackTrace_CR', ThreadName_CR: 'ThreadName_CR', DeviceModel_CR: 'DeviceModel_CR', DeviceBrand_CR: 'DeviceBrand_CR', OSVersion_CR: 'OSVersion_CR', Architecture_CR: 'Architecture_CR', NetworkType_CR: 'NetworkType_CR', ResolvedBy_CR: 'ResolvedBy_CR' }; export type CrashReportOrderByRelevanceFieldEnum = (typeof CrashReportOrderByRelevanceFieldEnum)[keyof typeof CrashReportOrderByRelevanceFieldEnum] export const CrashSessionOrderByRelevanceFieldEnum: { UUID_CS: 'UUID_CS', SessionId_CS: 'SessionId_CS', AppId_CS: 'AppId_CS', AppVersion_CS: 'AppVersion_CS', UserId_CS: 'UserId_CS', DeviceModel_CS: 'DeviceModel_CS', OSVersion_CS: 'OSVersion_CS' }; export type CrashSessionOrderByRelevanceFieldEnum = (typeof CrashSessionOrderByRelevanceFieldEnum)[keyof typeof CrashSessionOrderByRelevanceFieldEnum] export const CrashAnalyticsOrderByRelevanceFieldEnum: { UUID_CA: 'UUID_CA', AppId_CA: 'AppId_CA', AppVersion_CA: 'AppVersion_CA' }; export type CrashAnalyticsOrderByRelevanceFieldEnum = (typeof CrashAnalyticsOrderByRelevanceFieldEnum)[keyof typeof CrashAnalyticsOrderByRelevanceFieldEnum] export const AINotificationOrderByRelevanceFieldEnum: { UUID_AIN: 'UUID_AIN', UserID_AIN: 'UserID_AIN', ActivityTypes_AIN: 'ActivityTypes_AIN', GeneratedTitle_AIN: 'GeneratedTitle_AIN', GeneratedDesc_AIN: 'GeneratedDesc_AIN', ErrorMessage_AIN: 'ErrorMessage_AIN', FCMMessageId_AIN: 'FCMMessageId_AIN', AIModel_AIN: 'AIModel_AIN', PredictionReasoning_AIN: 'PredictionReasoning_AIN', UserEngagementPattern_AIN: 'UserEngagementPattern_AIN' }; export type AINotificationOrderByRelevanceFieldEnum = (typeof AINotificationOrderByRelevanceFieldEnum)[keyof typeof AINotificationOrderByRelevanceFieldEnum] export const AINotificationAnalyticsOrderByRelevanceFieldEnum: { UUID_ANA: 'UUID_ANA' }; export type AINotificationAnalyticsOrderByRelevanceFieldEnum = (typeof AINotificationAnalyticsOrderByRelevanceFieldEnum)[keyof typeof AINotificationAnalyticsOrderByRelevanceFieldEnum] export const AppMenuOrderByRelevanceFieldEnum: { UUID_AM: 'UUID_AM', Name_AM: 'Name_AM', Route_AM: 'Route_AM', Icon_AM: 'Icon_AM', Badge_AM: 'Badge_AM' }; export type AppMenuOrderByRelevanceFieldEnum = (typeof AppMenuOrderByRelevanceFieldEnum)[keyof typeof AppMenuOrderByRelevanceFieldEnum] /** * Field references */ /** * Reference to a field of type 'String' */ export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'> /** * Reference to a field of type 'DateTime' */ export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'> /** * Reference to a field of type 'ContentType' */ export type EnumContentTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ContentType'> /** * Reference to a field of type 'CorpType' */ export type EnumCorpTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'CorpType'> /** * Reference to a field of type 'CampaignStatus' */ export type EnumCampaignStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'CampaignStatus'> /** * Reference to a field of type 'Int' */ export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'> /** * Reference to a field of type 'Float' */ export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'> /** * Reference to a field of type 'DeliveryStatus' */ export type EnumDeliveryStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DeliveryStatus'> /** * Reference to a field of type 'ActivityType' */ export type EnumActivityTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ActivityType'> /** * Reference to a field of type 'Boolean' */ export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'> /** * Reference to a field of type 'CrashSeverity' */ export type EnumCrashSeverityFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'CrashSeverity'> /** * Reference to a field of type 'CrashStatus' */ export type EnumCrashStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'CrashStatus'> /** * Reference to a field of type 'DeviceOS' */ export type EnumDeviceOSFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DeviceOS'> /** * Reference to a field of type 'BigInt' */ export type BigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BigInt'> /** * 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 'MenuType' */ export type EnumMenuTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'MenuType'> /** * Deep Input Types */ export type AdminAccountWhereInput = { AND?: AdminAccountWhereInput | AdminAccountWhereInput[] OR?: AdminAccountWhereInput[] NOT?: AdminAccountWhereInput | AdminAccountWhereInput[] UUID_AA?: StringFilter<"AdminAccount"> | string Username_AA?: StringFilter<"AdminAccount"> | string Email_AA?: StringFilter<"AdminAccount"> | string Password_AA?: StringFilter<"AdminAccount"> | string LastLogin_AA?: DateTimeNullableFilter<"AdminAccount"> | Date | string | null UpdatedAt_AA?: DateTimeFilter<"AdminAccount"> | Date | string CreatedAt_AA?: DateTimeFilter<"AdminAccount"> | Date | string } export type AdminAccountOrderByWithRelationInput = { UUID_AA?: SortOrder Username_AA?: SortOrder Email_AA?: SortOrder Password_AA?: SortOrder LastLogin_AA?: SortOrderInput | SortOrder UpdatedAt_AA?: SortOrder CreatedAt_AA?: SortOrder _relevance?: AdminAccountOrderByRelevanceInput } export type AdminAccountWhereUniqueInput = Prisma.AtLeast<{ UUID_AA?: string Username_AA?: string Email_AA?: string AND?: AdminAccountWhereInput | AdminAccountWhereInput[] OR?: AdminAccountWhereInput[] NOT?: AdminAccountWhereInput | AdminAccountWhereInput[] Password_AA?: StringFilter<"AdminAccount"> | string LastLogin_AA?: DateTimeNullableFilter<"AdminAccount"> | Date | string | null UpdatedAt_AA?: DateTimeFilter<"AdminAccount"> | Date | string CreatedAt_AA?: DateTimeFilter<"AdminAccount"> | Date | string }, "UUID_AA" | "Username_AA" | "Email_AA"> export type AdminAccountOrderByWithAggregationInput = { UUID_AA?: SortOrder Username_AA?: SortOrder Email_AA?: SortOrder Password_AA?: SortOrder LastLogin_AA?: SortOrderInput | SortOrder UpdatedAt_AA?: SortOrder CreatedAt_AA?: SortOrder _count?: AdminAccountCountOrderByAggregateInput _max?: AdminAccountMaxOrderByAggregateInput _min?: AdminAccountMinOrderByAggregateInput } export type AdminAccountScalarWhereWithAggregatesInput = { AND?: AdminAccountScalarWhereWithAggregatesInput | AdminAccountScalarWhereWithAggregatesInput[] OR?: AdminAccountScalarWhereWithAggregatesInput[] NOT?: AdminAccountScalarWhereWithAggregatesInput | AdminAccountScalarWhereWithAggregatesInput[] UUID_AA?: StringWithAggregatesFilter<"AdminAccount"> | string Username_AA?: StringWithAggregatesFilter<"AdminAccount"> | string Email_AA?: StringWithAggregatesFilter<"AdminAccount"> | string Password_AA?: StringWithAggregatesFilter<"AdminAccount"> | string LastLogin_AA?: DateTimeNullableWithAggregatesFilter<"AdminAccount"> | Date | string | null UpdatedAt_AA?: DateTimeWithAggregatesFilter<"AdminAccount"> | Date | string CreatedAt_AA?: DateTimeWithAggregatesFilter<"AdminAccount"> | Date | string } export type AppCredentialWhereInput = { AND?: AppCredentialWhereInput | AppCredentialWhereInput[] OR?: AppCredentialWhereInput[] NOT?: AppCredentialWhereInput | AppCredentialWhereInput[] UUID_AC?: StringFilter<"AppCredential"> | string CreatedAt_AC?: DateTimeFilter<"AppCredential"> | Date | string TokenCredential_AC?: StringFilter<"AppCredential"> | string UpdatedAt_AC?: DateTimeFilter<"AppCredential"> | Date | string } export type AppCredentialOrderByWithRelationInput = { UUID_AC?: SortOrder CreatedAt_AC?: SortOrder TokenCredential_AC?: SortOrder UpdatedAt_AC?: SortOrder _relevance?: AppCredentialOrderByRelevanceInput } export type AppCredentialWhereUniqueInput = Prisma.AtLeast<{ UUID_AC?: string TokenCredential_AC?: string AND?: AppCredentialWhereInput | AppCredentialWhereInput[] OR?: AppCredentialWhereInput[] NOT?: AppCredentialWhereInput | AppCredentialWhereInput[] CreatedAt_AC?: DateTimeFilter<"AppCredential"> | Date | string UpdatedAt_AC?: DateTimeFilter<"AppCredential"> | Date | string }, "UUID_AC" | "TokenCredential_AC"> export type AppCredentialOrderByWithAggregationInput = { UUID_AC?: SortOrder CreatedAt_AC?: SortOrder TokenCredential_AC?: SortOrder UpdatedAt_AC?: SortOrder _count?: AppCredentialCountOrderByAggregateInput _max?: AppCredentialMaxOrderByAggregateInput _min?: AppCredentialMinOrderByAggregateInput } export type AppCredentialScalarWhereWithAggregatesInput = { AND?: AppCredentialScalarWhereWithAggregatesInput | AppCredentialScalarWhereWithAggregatesInput[] OR?: AppCredentialScalarWhereWithAggregatesInput[] NOT?: AppCredentialScalarWhereWithAggregatesInput | AppCredentialScalarWhereWithAggregatesInput[] UUID_AC?: StringWithAggregatesFilter<"AppCredential"> | string CreatedAt_AC?: DateTimeWithAggregatesFilter<"AppCredential"> | Date | string TokenCredential_AC?: StringWithAggregatesFilter<"AppCredential"> | string UpdatedAt_AC?: DateTimeWithAggregatesFilter<"AppCredential"> | Date | string } export type AppContentWhereInput = { AND?: AppContentWhereInput | AppContentWhereInput[] OR?: AppContentWhereInput[] NOT?: AppContentWhereInput | AppContentWhereInput[] UUID_APC?: StringFilter<"AppContent"> | string Content_APC?: StringFilter<"AppContent"> | string CreatedAt_APC?: DateTimeFilter<"AppContent"> | Date | string Filename_APC?: StringNullableFilter<"AppContent"> | string | null Title_APC?: StringFilter<"AppContent"> | string UpdatedAt_APC?: DateTimeFilter<"AppContent"> | Date | string Url_APC?: StringNullableFilter<"AppContent"> | string | null Type_APC?: EnumContentTypeFilter<"AppContent"> | $Enums.ContentType CorpType_APC?: EnumCorpTypeFilter<"AppContent"> | $Enums.CorpType TargetUrl_APC?: StringNullableFilter<"AppContent"> | string | null } export type AppContentOrderByWithRelationInput = { UUID_APC?: SortOrder Content_APC?: SortOrder CreatedAt_APC?: SortOrder Filename_APC?: SortOrderInput | SortOrder Title_APC?: SortOrder UpdatedAt_APC?: SortOrder Url_APC?: SortOrderInput | SortOrder Type_APC?: SortOrder CorpType_APC?: SortOrder TargetUrl_APC?: SortOrderInput | SortOrder _relevance?: AppContentOrderByRelevanceInput } export type AppContentWhereUniqueInput = Prisma.AtLeast<{ UUID_APC?: string AND?: AppContentWhereInput | AppContentWhereInput[] OR?: AppContentWhereInput[] NOT?: AppContentWhereInput | AppContentWhereInput[] Content_APC?: StringFilter<"AppContent"> | string CreatedAt_APC?: DateTimeFilter<"AppContent"> | Date | string Filename_APC?: StringNullableFilter<"AppContent"> | string | null Title_APC?: StringFilter<"AppContent"> | string UpdatedAt_APC?: DateTimeFilter<"AppContent"> | Date | string Url_APC?: StringNullableFilter<"AppContent"> | string | null Type_APC?: EnumContentTypeFilter<"AppContent"> | $Enums.ContentType CorpType_APC?: EnumCorpTypeFilter<"AppContent"> | $Enums.CorpType TargetUrl_APC?: StringNullableFilter<"AppContent"> | string | null }, "UUID_APC"> export type AppContentOrderByWithAggregationInput = { UUID_APC?: SortOrder Content_APC?: SortOrder CreatedAt_APC?: SortOrder Filename_APC?: SortOrderInput | SortOrder Title_APC?: SortOrder UpdatedAt_APC?: SortOrder Url_APC?: SortOrderInput | SortOrder Type_APC?: SortOrder CorpType_APC?: SortOrder TargetUrl_APC?: SortOrderInput | SortOrder _count?: AppContentCountOrderByAggregateInput _max?: AppContentMaxOrderByAggregateInput _min?: AppContentMinOrderByAggregateInput } export type AppContentScalarWhereWithAggregatesInput = { AND?: AppContentScalarWhereWithAggregatesInput | AppContentScalarWhereWithAggregatesInput[] OR?: AppContentScalarWhereWithAggregatesInput[] NOT?: AppContentScalarWhereWithAggregatesInput | AppContentScalarWhereWithAggregatesInput[] UUID_APC?: StringWithAggregatesFilter<"AppContent"> | string Content_APC?: StringWithAggregatesFilter<"AppContent"> | string CreatedAt_APC?: DateTimeWithAggregatesFilter<"AppContent"> | Date | string Filename_APC?: StringNullableWithAggregatesFilter<"AppContent"> | string | null Title_APC?: StringWithAggregatesFilter<"AppContent"> | string UpdatedAt_APC?: DateTimeWithAggregatesFilter<"AppContent"> | Date | string Url_APC?: StringNullableWithAggregatesFilter<"AppContent"> | string | null Type_APC?: EnumContentTypeWithAggregatesFilter<"AppContent"> | $Enums.ContentType CorpType_APC?: EnumCorpTypeWithAggregatesFilter<"AppContent"> | $Enums.CorpType TargetUrl_APC?: StringNullableWithAggregatesFilter<"AppContent"> | string | null } export type AppCampaignWhereInput = { AND?: AppCampaignWhereInput | AppCampaignWhereInput[] OR?: AppCampaignWhereInput[] NOT?: AppCampaignWhereInput | AppCampaignWhereInput[] UUID_ACP?: StringFilter<"AppCampaign"> | string Title_ACP?: StringFilter<"AppCampaign"> | string Content_ACP?: StringFilter<"AppCampaign"> | string Date_ACP?: DateTimeFilter<"AppCampaign"> | Date | string Status_ACP?: EnumCampaignStatusFilter<"AppCampaign"> | $Enums.CampaignStatus UpdatedAt_ACP?: DateTimeFilter<"AppCampaign"> | Date | string CreatedAt_ACP?: DateTimeFilter<"AppCampaign"> | Date | string TargetUsers_ACP?: IntNullableFilter<"AppCampaign"> | number | null SentCount_ACP?: IntNullableFilter<"AppCampaign"> | number | null SuccessCount_ACP?: IntNullableFilter<"AppCampaign"> | number | null FailureCount_ACP?: IntNullableFilter<"AppCampaign"> | number | null DeliveryRate_ACP?: FloatNullableFilter<"AppCampaign"> | number | null SentAt_ACP?: DateTimeNullableFilter<"AppCampaign"> | Date | string | null CompletedAt_ACP?: DateTimeNullableFilter<"AppCampaign"> | Date | string | null ErrorMessage_ACP?: StringNullableFilter<"AppCampaign"> | string | null Data_ACP?: StringNullableFilter<"AppCampaign"> | string | null ImageUrl_ACP?: StringNullableFilter<"AppCampaign"> | string | null CampaignDelivery?: CampaignDeliveryListRelationFilter } export type AppCampaignOrderByWithRelationInput = { UUID_ACP?: SortOrder Title_ACP?: SortOrder Content_ACP?: SortOrder Date_ACP?: SortOrder Status_ACP?: SortOrder UpdatedAt_ACP?: SortOrder CreatedAt_ACP?: SortOrder TargetUsers_ACP?: SortOrderInput | SortOrder SentCount_ACP?: SortOrderInput | SortOrder SuccessCount_ACP?: SortOrderInput | SortOrder FailureCount_ACP?: SortOrderInput | SortOrder DeliveryRate_ACP?: SortOrderInput | SortOrder SentAt_ACP?: SortOrderInput | SortOrder CompletedAt_ACP?: SortOrderInput | SortOrder ErrorMessage_ACP?: SortOrderInput | SortOrder Data_ACP?: SortOrderInput | SortOrder ImageUrl_ACP?: SortOrderInput | SortOrder CampaignDelivery?: CampaignDeliveryOrderByRelationAggregateInput _relevance?: AppCampaignOrderByRelevanceInput } export type AppCampaignWhereUniqueInput = Prisma.AtLeast<{ UUID_ACP?: string AND?: AppCampaignWhereInput | AppCampaignWhereInput[] OR?: AppCampaignWhereInput[] NOT?: AppCampaignWhereInput | AppCampaignWhereInput[] Title_ACP?: StringFilter<"AppCampaign"> | string Content_ACP?: StringFilter<"AppCampaign"> | string Date_ACP?: DateTimeFilter<"AppCampaign"> | Date | string Status_ACP?: EnumCampaignStatusFilter<"AppCampaign"> | $Enums.CampaignStatus UpdatedAt_ACP?: DateTimeFilter<"AppCampaign"> | Date | string CreatedAt_ACP?: DateTimeFilter<"AppCampaign"> | Date | string TargetUsers_ACP?: IntNullableFilter<"AppCampaign"> | number | null SentCount_ACP?: IntNullableFilter<"AppCampaign"> | number | null SuccessCount_ACP?: IntNullableFilter<"AppCampaign"> | number | null FailureCount_ACP?: IntNullableFilter<"AppCampaign"> | number | null DeliveryRate_ACP?: FloatNullableFilter<"AppCampaign"> | number | null SentAt_ACP?: DateTimeNullableFilter<"AppCampaign"> | Date | string | null CompletedAt_ACP?: DateTimeNullableFilter<"AppCampaign"> | Date | string | null ErrorMessage_ACP?: StringNullableFilter<"AppCampaign"> | string | null Data_ACP?: StringNullableFilter<"AppCampaign"> | string | null ImageUrl_ACP?: StringNullableFilter<"AppCampaign"> | string | null CampaignDelivery?: CampaignDeliveryListRelationFilter }, "UUID_ACP"> export type AppCampaignOrderByWithAggregationInput = { UUID_ACP?: SortOrder Title_ACP?: SortOrder Content_ACP?: SortOrder Date_ACP?: SortOrder Status_ACP?: SortOrder UpdatedAt_ACP?: SortOrder CreatedAt_ACP?: SortOrder TargetUsers_ACP?: SortOrderInput | SortOrder SentCount_ACP?: SortOrderInput | SortOrder SuccessCount_ACP?: SortOrderInput | SortOrder FailureCount_ACP?: SortOrderInput | SortOrder DeliveryRate_ACP?: SortOrderInput | SortOrder SentAt_ACP?: SortOrderInput | SortOrder CompletedAt_ACP?: SortOrderInput | SortOrder ErrorMessage_ACP?: SortOrderInput | SortOrder Data_ACP?: SortOrderInput | SortOrder ImageUrl_ACP?: SortOrderInput | SortOrder _count?: AppCampaignCountOrderByAggregateInput _avg?: AppCampaignAvgOrderByAggregateInput _max?: AppCampaignMaxOrderByAggregateInput _min?: AppCampaignMinOrderByAggregateInput _sum?: AppCampaignSumOrderByAggregateInput } export type AppCampaignScalarWhereWithAggregatesInput = { AND?: AppCampaignScalarWhereWithAggregatesInput | AppCampaignScalarWhereWithAggregatesInput[] OR?: AppCampaignScalarWhereWithAggregatesInput[] NOT?: AppCampaignScalarWhereWithAggregatesInput | AppCampaignScalarWhereWithAggregatesInput[] UUID_ACP?: StringWithAggregatesFilter<"AppCampaign"> | string Title_ACP?: StringWithAggregatesFilter<"AppCampaign"> | string Content_ACP?: StringWithAggregatesFilter<"AppCampaign"> | string Date_ACP?: DateTimeWithAggregatesFilter<"AppCampaign"> | Date | string Status_ACP?: EnumCampaignStatusWithAggregatesFilter<"AppCampaign"> | $Enums.CampaignStatus UpdatedAt_ACP?: DateTimeWithAggregatesFilter<"AppCampaign"> | Date | string CreatedAt_ACP?: DateTimeWithAggregatesFilter<"AppCampaign"> | Date | string TargetUsers_ACP?: IntNullableWithAggregatesFilter<"AppCampaign"> | number | null SentCount_ACP?: IntNullableWithAggregatesFilter<"AppCampaign"> | number | null SuccessCount_ACP?: IntNullableWithAggregatesFilter<"AppCampaign"> | number | null FailureCount_ACP?: IntNullableWithAggregatesFilter<"AppCampaign"> | number | null DeliveryRate_ACP?: FloatNullableWithAggregatesFilter<"AppCampaign"> | number | null SentAt_ACP?: DateTimeNullableWithAggregatesFilter<"AppCampaign"> | Date | string | null CompletedAt_ACP?: DateTimeNullableWithAggregatesFilter<"AppCampaign"> | Date | string | null ErrorMessage_ACP?: StringNullableWithAggregatesFilter<"AppCampaign"> | string | null Data_ACP?: StringNullableWithAggregatesFilter<"AppCampaign"> | string | null ImageUrl_ACP?: StringNullableWithAggregatesFilter<"AppCampaign"> | string | null } export type CampaignDeliveryWhereInput = { AND?: CampaignDeliveryWhereInput | CampaignDeliveryWhereInput[] OR?: CampaignDeliveryWhereInput[] NOT?: CampaignDeliveryWhereInput | CampaignDeliveryWhereInput[] UUID_CD?: StringFilter<"CampaignDelivery"> | string Campaign_CD?: StringFilter<"CampaignDelivery"> | string UserID_CD?: StringFilter<"CampaignDelivery"> | string Token_CD?: StringFilter<"CampaignDelivery"> | string Status_CD?: EnumDeliveryStatusFilter<"CampaignDelivery"> | $Enums.DeliveryStatus SentAt_CD?: DateTimeNullableFilter<"CampaignDelivery"> | Date | string | null DeliveredAt_CD?: DateTimeNullableFilter<"CampaignDelivery"> | Date | string | null FailedAt_CD?: DateTimeNullableFilter<"CampaignDelivery"> | Date | string | null ErrorMessage_CD?: StringNullableFilter<"CampaignDelivery"> | string | null ResponseData_CD?: StringNullableFilter<"CampaignDelivery"> | string | null CreatedAt_CD?: DateTimeFilter<"CampaignDelivery"> | Date | string UpdatedAt_CD?: DateTimeFilter<"CampaignDelivery"> | Date | string AppCampaign?: XOR } export type CampaignDeliveryOrderByWithRelationInput = { UUID_CD?: SortOrder Campaign_CD?: SortOrder UserID_CD?: SortOrder Token_CD?: SortOrder Status_CD?: SortOrder SentAt_CD?: SortOrderInput | SortOrder DeliveredAt_CD?: SortOrderInput | SortOrder FailedAt_CD?: SortOrderInput | SortOrder ErrorMessage_CD?: SortOrderInput | SortOrder ResponseData_CD?: SortOrderInput | SortOrder CreatedAt_CD?: SortOrder UpdatedAt_CD?: SortOrder AppCampaign?: AppCampaignOrderByWithRelationInput _relevance?: CampaignDeliveryOrderByRelevanceInput } export type CampaignDeliveryWhereUniqueInput = Prisma.AtLeast<{ UUID_CD?: string AND?: CampaignDeliveryWhereInput | CampaignDeliveryWhereInput[] OR?: CampaignDeliveryWhereInput[] NOT?: CampaignDeliveryWhereInput | CampaignDeliveryWhereInput[] Campaign_CD?: StringFilter<"CampaignDelivery"> | string UserID_CD?: StringFilter<"CampaignDelivery"> | string Token_CD?: StringFilter<"CampaignDelivery"> | string Status_CD?: EnumDeliveryStatusFilter<"CampaignDelivery"> | $Enums.DeliveryStatus SentAt_CD?: DateTimeNullableFilter<"CampaignDelivery"> | Date | string | null DeliveredAt_CD?: DateTimeNullableFilter<"CampaignDelivery"> | Date | string | null FailedAt_CD?: DateTimeNullableFilter<"CampaignDelivery"> | Date | string | null ErrorMessage_CD?: StringNullableFilter<"CampaignDelivery"> | string | null ResponseData_CD?: StringNullableFilter<"CampaignDelivery"> | string | null CreatedAt_CD?: DateTimeFilter<"CampaignDelivery"> | Date | string UpdatedAt_CD?: DateTimeFilter<"CampaignDelivery"> | Date | string AppCampaign?: XOR }, "UUID_CD"> export type CampaignDeliveryOrderByWithAggregationInput = { UUID_CD?: SortOrder Campaign_CD?: SortOrder UserID_CD?: SortOrder Token_CD?: SortOrder Status_CD?: SortOrder SentAt_CD?: SortOrderInput | SortOrder DeliveredAt_CD?: SortOrderInput | SortOrder FailedAt_CD?: SortOrderInput | SortOrder ErrorMessage_CD?: SortOrderInput | SortOrder ResponseData_CD?: SortOrderInput | SortOrder CreatedAt_CD?: SortOrder UpdatedAt_CD?: SortOrder _count?: CampaignDeliveryCountOrderByAggregateInput _max?: CampaignDeliveryMaxOrderByAggregateInput _min?: CampaignDeliveryMinOrderByAggregateInput } export type CampaignDeliveryScalarWhereWithAggregatesInput = { AND?: CampaignDeliveryScalarWhereWithAggregatesInput | CampaignDeliveryScalarWhereWithAggregatesInput[] OR?: CampaignDeliveryScalarWhereWithAggregatesInput[] NOT?: CampaignDeliveryScalarWhereWithAggregatesInput | CampaignDeliveryScalarWhereWithAggregatesInput[] UUID_CD?: StringWithAggregatesFilter<"CampaignDelivery"> | string Campaign_CD?: StringWithAggregatesFilter<"CampaignDelivery"> | string UserID_CD?: StringWithAggregatesFilter<"CampaignDelivery"> | string Token_CD?: StringWithAggregatesFilter<"CampaignDelivery"> | string Status_CD?: EnumDeliveryStatusWithAggregatesFilter<"CampaignDelivery"> | $Enums.DeliveryStatus SentAt_CD?: DateTimeNullableWithAggregatesFilter<"CampaignDelivery"> | Date | string | null DeliveredAt_CD?: DateTimeNullableWithAggregatesFilter<"CampaignDelivery"> | Date | string | null FailedAt_CD?: DateTimeNullableWithAggregatesFilter<"CampaignDelivery"> | Date | string | null ErrorMessage_CD?: StringNullableWithAggregatesFilter<"CampaignDelivery"> | string | null ResponseData_CD?: StringNullableWithAggregatesFilter<"CampaignDelivery"> | string | null CreatedAt_CD?: DateTimeWithAggregatesFilter<"CampaignDelivery"> | Date | string UpdatedAt_CD?: DateTimeWithAggregatesFilter<"CampaignDelivery"> | Date | string } export type UsersTokenWhereInput = { AND?: UsersTokenWhereInput | UsersTokenWhereInput[] OR?: UsersTokenWhereInput[] NOT?: UsersTokenWhereInput | UsersTokenWhereInput[] UUID_UT?: StringFilter<"UsersToken"> | string UserID_UT?: StringFilter<"UsersToken"> | string Token_UT?: StringFilter<"UsersToken"> | string UpdatedAt_UT?: DateTimeFilter<"UsersToken"> | Date | string CreatedAt_UT?: DateTimeFilter<"UsersToken"> | Date | string UsersActivity?: UsersActivityListRelationFilter } export type UsersTokenOrderByWithRelationInput = { UUID_UT?: SortOrder UserID_UT?: SortOrder Token_UT?: SortOrder UpdatedAt_UT?: SortOrder CreatedAt_UT?: SortOrder UsersActivity?: UsersActivityOrderByRelationAggregateInput _relevance?: UsersTokenOrderByRelevanceInput } export type UsersTokenWhereUniqueInput = Prisma.AtLeast<{ UUID_UT?: string UserID_UT?: string Token_UT?: string AND?: UsersTokenWhereInput | UsersTokenWhereInput[] OR?: UsersTokenWhereInput[] NOT?: UsersTokenWhereInput | UsersTokenWhereInput[] UpdatedAt_UT?: DateTimeFilter<"UsersToken"> | Date | string CreatedAt_UT?: DateTimeFilter<"UsersToken"> | Date | string UsersActivity?: UsersActivityListRelationFilter }, "UUID_UT" | "UserID_UT" | "Token_UT"> export type UsersTokenOrderByWithAggregationInput = { UUID_UT?: SortOrder UserID_UT?: SortOrder Token_UT?: SortOrder UpdatedAt_UT?: SortOrder CreatedAt_UT?: SortOrder _count?: UsersTokenCountOrderByAggregateInput _max?: UsersTokenMaxOrderByAggregateInput _min?: UsersTokenMinOrderByAggregateInput } export type UsersTokenScalarWhereWithAggregatesInput = { AND?: UsersTokenScalarWhereWithAggregatesInput | UsersTokenScalarWhereWithAggregatesInput[] OR?: UsersTokenScalarWhereWithAggregatesInput[] NOT?: UsersTokenScalarWhereWithAggregatesInput | UsersTokenScalarWhereWithAggregatesInput[] UUID_UT?: StringWithAggregatesFilter<"UsersToken"> | string UserID_UT?: StringWithAggregatesFilter<"UsersToken"> | string Token_UT?: StringWithAggregatesFilter<"UsersToken"> | string UpdatedAt_UT?: DateTimeWithAggregatesFilter<"UsersToken"> | Date | string CreatedAt_UT?: DateTimeWithAggregatesFilter<"UsersToken"> | Date | string } export type UsersActivityWhereInput = { AND?: UsersActivityWhereInput | UsersActivityWhereInput[] OR?: UsersActivityWhereInput[] NOT?: UsersActivityWhereInput | UsersActivityWhereInput[] UUID_UA?: StringFilter<"UsersActivity"> | string UUID_UT?: StringFilter<"UsersActivity"> | string ActivityType_UA?: EnumActivityTypeFilter<"UsersActivity"> | $Enums.ActivityType Params_UA?: StringFilter<"UsersActivity"> | string NotifyAt_UA?: DateTimeFilter<"UsersActivity"> | Date | string UpdatedAt_UA?: DateTimeFilter<"UsersActivity"> | Date | string CreatedAt_UA?: DateTimeFilter<"UsersActivity"> | Date | string Processed_UA?: BoolFilter<"UsersActivity"> | boolean UsersToken?: XOR } export type UsersActivityOrderByWithRelationInput = { UUID_UA?: SortOrder UUID_UT?: SortOrder ActivityType_UA?: SortOrder Params_UA?: SortOrder NotifyAt_UA?: SortOrder UpdatedAt_UA?: SortOrder CreatedAt_UA?: SortOrder Processed_UA?: SortOrder UsersToken?: UsersTokenOrderByWithRelationInput _relevance?: UsersActivityOrderByRelevanceInput } export type UsersActivityWhereUniqueInput = Prisma.AtLeast<{ UUID_UA?: string AND?: UsersActivityWhereInput | UsersActivityWhereInput[] OR?: UsersActivityWhereInput[] NOT?: UsersActivityWhereInput | UsersActivityWhereInput[] UUID_UT?: StringFilter<"UsersActivity"> | string ActivityType_UA?: EnumActivityTypeFilter<"UsersActivity"> | $Enums.ActivityType Params_UA?: StringFilter<"UsersActivity"> | string NotifyAt_UA?: DateTimeFilter<"UsersActivity"> | Date | string UpdatedAt_UA?: DateTimeFilter<"UsersActivity"> | Date | string CreatedAt_UA?: DateTimeFilter<"UsersActivity"> | Date | string Processed_UA?: BoolFilter<"UsersActivity"> | boolean UsersToken?: XOR }, "UUID_UA"> export type UsersActivityOrderByWithAggregationInput = { UUID_UA?: SortOrder UUID_UT?: SortOrder ActivityType_UA?: SortOrder Params_UA?: SortOrder NotifyAt_UA?: SortOrder UpdatedAt_UA?: SortOrder CreatedAt_UA?: SortOrder Processed_UA?: SortOrder _count?: UsersActivityCountOrderByAggregateInput _max?: UsersActivityMaxOrderByAggregateInput _min?: UsersActivityMinOrderByAggregateInput } export type UsersActivityScalarWhereWithAggregatesInput = { AND?: UsersActivityScalarWhereWithAggregatesInput | UsersActivityScalarWhereWithAggregatesInput[] OR?: UsersActivityScalarWhereWithAggregatesInput[] NOT?: UsersActivityScalarWhereWithAggregatesInput | UsersActivityScalarWhereWithAggregatesInput[] UUID_UA?: StringWithAggregatesFilter<"UsersActivity"> | string UUID_UT?: StringWithAggregatesFilter<"UsersActivity"> | string ActivityType_UA?: EnumActivityTypeWithAggregatesFilter<"UsersActivity"> | $Enums.ActivityType Params_UA?: StringWithAggregatesFilter<"UsersActivity"> | string NotifyAt_UA?: DateTimeWithAggregatesFilter<"UsersActivity"> | Date | string UpdatedAt_UA?: DateTimeWithAggregatesFilter<"UsersActivity"> | Date | string CreatedAt_UA?: DateTimeWithAggregatesFilter<"UsersActivity"> | Date | string Processed_UA?: BoolWithAggregatesFilter<"UsersActivity"> | boolean } export type CrashReportWhereInput = { AND?: CrashReportWhereInput | CrashReportWhereInput[] OR?: CrashReportWhereInput[] NOT?: CrashReportWhereInput | CrashReportWhereInput[] UUID_CR?: StringFilter<"CrashReport"> | string AppId_CR?: StringFilter<"CrashReport"> | string AppVersion_CR?: StringFilter<"CrashReport"> | string BuildVersion_CR?: StringNullableFilter<"CrashReport"> | string | null CrashId_CR?: StringFilter<"CrashReport"> | string SessionId_CR?: StringNullableFilter<"CrashReport"> | string | null UserId_CR?: StringNullableFilter<"CrashReport"> | string | null CrashType_CR?: StringFilter<"CrashReport"> | string ExceptionName_CR?: StringNullableFilter<"CrashReport"> | string | null ExceptionReason_CR?: StringNullableFilter<"CrashReport"> | string | null StackTrace_CR?: StringNullableFilter<"CrashReport"> | string | null ThreadName_CR?: StringNullableFilter<"CrashReport"> | string | null IsFatal_CR?: BoolFilter<"CrashReport"> | boolean Severity_CR?: EnumCrashSeverityFilter<"CrashReport"> | $Enums.CrashSeverity Status_CR?: EnumCrashStatusFilter<"CrashReport"> | $Enums.CrashStatus DeviceModel_CR?: StringNullableFilter<"CrashReport"> | string | null DeviceBrand_CR?: StringNullableFilter<"CrashReport"> | string | null OSName_CR?: EnumDeviceOSFilter<"CrashReport"> | $Enums.DeviceOS OSVersion_CR?: StringNullableFilter<"CrashReport"> | string | null Architecture_CR?: StringNullableFilter<"CrashReport"> | string | null AvailableRam_CR?: BigIntNullableFilter<"CrashReport"> | bigint | number | null TotalRam_CR?: BigIntNullableFilter<"CrashReport"> | bigint | number | null AvailableDisk_CR?: BigIntNullableFilter<"CrashReport"> | bigint | number | null TotalDisk_CR?: BigIntNullableFilter<"CrashReport"> | bigint | number | null BatteryLevel_CR?: FloatNullableFilter<"CrashReport"> | number | null IsRooted_CR?: BoolNullableFilter<"CrashReport"> | boolean | null IsDebugger_CR?: BoolNullableFilter<"CrashReport"> | boolean | null NetworkType_CR?: StringNullableFilter<"CrashReport"> | string | null Breadcrumbs_CR?: JsonNullableFilter<"CrashReport"> CustomData_CR?: JsonNullableFilter<"CrashReport"> Logs_CR?: JsonNullableFilter<"CrashReport"> CrashCount_CR?: IntFilter<"CrashReport"> | number FirstOccurred_CR?: DateTimeFilter<"CrashReport"> | Date | string LastOccurred_CR?: DateTimeFilter<"CrashReport"> | Date | string AffectedUsers_CR?: IntFilter<"CrashReport"> | number CreatedAt_CR?: DateTimeFilter<"CrashReport"> | Date | string UpdatedAt_CR?: DateTimeFilter<"CrashReport"> | Date | string ResolvedAt_CR?: DateTimeNullableFilter<"CrashReport"> | Date | string | null ResolvedBy_CR?: StringNullableFilter<"CrashReport"> | string | null } export type CrashReportOrderByWithRelationInput = { UUID_CR?: SortOrder AppId_CR?: SortOrder AppVersion_CR?: SortOrder BuildVersion_CR?: SortOrderInput | SortOrder CrashId_CR?: SortOrder SessionId_CR?: SortOrderInput | SortOrder UserId_CR?: SortOrderInput | SortOrder CrashType_CR?: SortOrder ExceptionName_CR?: SortOrderInput | SortOrder ExceptionReason_CR?: SortOrderInput | SortOrder StackTrace_CR?: SortOrderInput | SortOrder ThreadName_CR?: SortOrderInput | SortOrder IsFatal_CR?: SortOrder Severity_CR?: SortOrder Status_CR?: SortOrder DeviceModel_CR?: SortOrderInput | SortOrder DeviceBrand_CR?: SortOrderInput | SortOrder OSName_CR?: SortOrder OSVersion_CR?: SortOrderInput | SortOrder Architecture_CR?: SortOrderInput | SortOrder AvailableRam_CR?: SortOrderInput | SortOrder TotalRam_CR?: SortOrderInput | SortOrder AvailableDisk_CR?: SortOrderInput | SortOrder TotalDisk_CR?: SortOrderInput | SortOrder BatteryLevel_CR?: SortOrderInput | SortOrder IsRooted_CR?: SortOrderInput | SortOrder IsDebugger_CR?: SortOrderInput | SortOrder NetworkType_CR?: SortOrderInput | SortOrder Breadcrumbs_CR?: SortOrderInput | SortOrder CustomData_CR?: SortOrderInput | SortOrder Logs_CR?: SortOrderInput | SortOrder CrashCount_CR?: SortOrder FirstOccurred_CR?: SortOrder LastOccurred_CR?: SortOrder AffectedUsers_CR?: SortOrder CreatedAt_CR?: SortOrder UpdatedAt_CR?: SortOrder ResolvedAt_CR?: SortOrderInput | SortOrder ResolvedBy_CR?: SortOrderInput | SortOrder _relevance?: CrashReportOrderByRelevanceInput } export type CrashReportWhereUniqueInput = Prisma.AtLeast<{ UUID_CR?: string CrashId_CR?: string AND?: CrashReportWhereInput | CrashReportWhereInput[] OR?: CrashReportWhereInput[] NOT?: CrashReportWhereInput | CrashReportWhereInput[] AppId_CR?: StringFilter<"CrashReport"> | string AppVersion_CR?: StringFilter<"CrashReport"> | string BuildVersion_CR?: StringNullableFilter<"CrashReport"> | string | null SessionId_CR?: StringNullableFilter<"CrashReport"> | string | null UserId_CR?: StringNullableFilter<"CrashReport"> | string | null CrashType_CR?: StringFilter<"CrashReport"> | string ExceptionName_CR?: StringNullableFilter<"CrashReport"> | string | null ExceptionReason_CR?: StringNullableFilter<"CrashReport"> | string | null StackTrace_CR?: StringNullableFilter<"CrashReport"> | string | null ThreadName_CR?: StringNullableFilter<"CrashReport"> | string | null IsFatal_CR?: BoolFilter<"CrashReport"> | boolean Severity_CR?: EnumCrashSeverityFilter<"CrashReport"> | $Enums.CrashSeverity Status_CR?: EnumCrashStatusFilter<"CrashReport"> | $Enums.CrashStatus DeviceModel_CR?: StringNullableFilter<"CrashReport"> | string | null DeviceBrand_CR?: StringNullableFilter<"CrashReport"> | string | null OSName_CR?: EnumDeviceOSFilter<"CrashReport"> | $Enums.DeviceOS OSVersion_CR?: StringNullableFilter<"CrashReport"> | string | null Architecture_CR?: StringNullableFilter<"CrashReport"> | string | null AvailableRam_CR?: BigIntNullableFilter<"CrashReport"> | bigint | number | null TotalRam_CR?: BigIntNullableFilter<"CrashReport"> | bigint | number | null AvailableDisk_CR?: BigIntNullableFilter<"CrashReport"> | bigint | number | null TotalDisk_CR?: BigIntNullableFilter<"CrashReport"> | bigint | number | null BatteryLevel_CR?: FloatNullableFilter<"CrashReport"> | number | null IsRooted_CR?: BoolNullableFilter<"CrashReport"> | boolean | null IsDebugger_CR?: BoolNullableFilter<"CrashReport"> | boolean | null NetworkType_CR?: StringNullableFilter<"CrashReport"> | string | null Breadcrumbs_CR?: JsonNullableFilter<"CrashReport"> CustomData_CR?: JsonNullableFilter<"CrashReport"> Logs_CR?: JsonNullableFilter<"CrashReport"> CrashCount_CR?: IntFilter<"CrashReport"> | number FirstOccurred_CR?: DateTimeFilter<"CrashReport"> | Date | string LastOccurred_CR?: DateTimeFilter<"CrashReport"> | Date | string AffectedUsers_CR?: IntFilter<"CrashReport"> | number CreatedAt_CR?: DateTimeFilter<"CrashReport"> | Date | string UpdatedAt_CR?: DateTimeFilter<"CrashReport"> | Date | string ResolvedAt_CR?: DateTimeNullableFilter<"CrashReport"> | Date | string | null ResolvedBy_CR?: StringNullableFilter<"CrashReport"> | string | null }, "UUID_CR" | "CrashId_CR"> export type CrashReportOrderByWithAggregationInput = { UUID_CR?: SortOrder AppId_CR?: SortOrder AppVersion_CR?: SortOrder BuildVersion_CR?: SortOrderInput | SortOrder CrashId_CR?: SortOrder SessionId_CR?: SortOrderInput | SortOrder UserId_CR?: SortOrderInput | SortOrder CrashType_CR?: SortOrder ExceptionName_CR?: SortOrderInput | SortOrder ExceptionReason_CR?: SortOrderInput | SortOrder StackTrace_CR?: SortOrderInput | SortOrder ThreadName_CR?: SortOrderInput | SortOrder IsFatal_CR?: SortOrder Severity_CR?: SortOrder Status_CR?: SortOrder DeviceModel_CR?: SortOrderInput | SortOrder DeviceBrand_CR?: SortOrderInput | SortOrder OSName_CR?: SortOrder OSVersion_CR?: SortOrderInput | SortOrder Architecture_CR?: SortOrderInput | SortOrder AvailableRam_CR?: SortOrderInput | SortOrder TotalRam_CR?: SortOrderInput | SortOrder AvailableDisk_CR?: SortOrderInput | SortOrder TotalDisk_CR?: SortOrderInput | SortOrder BatteryLevel_CR?: SortOrderInput | SortOrder IsRooted_CR?: SortOrderInput | SortOrder IsDebugger_CR?: SortOrderInput | SortOrder NetworkType_CR?: SortOrderInput | SortOrder Breadcrumbs_CR?: SortOrderInput | SortOrder CustomData_CR?: SortOrderInput | SortOrder Logs_CR?: SortOrderInput | SortOrder CrashCount_CR?: SortOrder FirstOccurred_CR?: SortOrder LastOccurred_CR?: SortOrder AffectedUsers_CR?: SortOrder CreatedAt_CR?: SortOrder UpdatedAt_CR?: SortOrder ResolvedAt_CR?: SortOrderInput | SortOrder ResolvedBy_CR?: SortOrderInput | SortOrder _count?: CrashReportCountOrderByAggregateInput _avg?: CrashReportAvgOrderByAggregateInput _max?: CrashReportMaxOrderByAggregateInput _min?: CrashReportMinOrderByAggregateInput _sum?: CrashReportSumOrderByAggregateInput } export type CrashReportScalarWhereWithAggregatesInput = { AND?: CrashReportScalarWhereWithAggregatesInput | CrashReportScalarWhereWithAggregatesInput[] OR?: CrashReportScalarWhereWithAggregatesInput[] NOT?: CrashReportScalarWhereWithAggregatesInput | CrashReportScalarWhereWithAggregatesInput[] UUID_CR?: StringWithAggregatesFilter<"CrashReport"> | string AppId_CR?: StringWithAggregatesFilter<"CrashReport"> | string AppVersion_CR?: StringWithAggregatesFilter<"CrashReport"> | string BuildVersion_CR?: StringNullableWithAggregatesFilter<"CrashReport"> | string | null CrashId_CR?: StringWithAggregatesFilter<"CrashReport"> | string SessionId_CR?: StringNullableWithAggregatesFilter<"CrashReport"> | string | null UserId_CR?: StringNullableWithAggregatesFilter<"CrashReport"> | string | null CrashType_CR?: StringWithAggregatesFilter<"CrashReport"> | string ExceptionName_CR?: StringNullableWithAggregatesFilter<"CrashReport"> | string | null ExceptionReason_CR?: StringNullableWithAggregatesFilter<"CrashReport"> | string | null StackTrace_CR?: StringNullableWithAggregatesFilter<"CrashReport"> | string | null ThreadName_CR?: StringNullableWithAggregatesFilter<"CrashReport"> | string | null IsFatal_CR?: BoolWithAggregatesFilter<"CrashReport"> | boolean Severity_CR?: EnumCrashSeverityWithAggregatesFilter<"CrashReport"> | $Enums.CrashSeverity Status_CR?: EnumCrashStatusWithAggregatesFilter<"CrashReport"> | $Enums.CrashStatus DeviceModel_CR?: StringNullableWithAggregatesFilter<"CrashReport"> | string | null DeviceBrand_CR?: StringNullableWithAggregatesFilter<"CrashReport"> | string | null OSName_CR?: EnumDeviceOSWithAggregatesFilter<"CrashReport"> | $Enums.DeviceOS OSVersion_CR?: StringNullableWithAggregatesFilter<"CrashReport"> | string | null Architecture_CR?: StringNullableWithAggregatesFilter<"CrashReport"> | string | null AvailableRam_CR?: BigIntNullableWithAggregatesFilter<"CrashReport"> | bigint | number | null TotalRam_CR?: BigIntNullableWithAggregatesFilter<"CrashReport"> | bigint | number | null AvailableDisk_CR?: BigIntNullableWithAggregatesFilter<"CrashReport"> | bigint | number | null TotalDisk_CR?: BigIntNullableWithAggregatesFilter<"CrashReport"> | bigint | number | null BatteryLevel_CR?: FloatNullableWithAggregatesFilter<"CrashReport"> | number | null IsRooted_CR?: BoolNullableWithAggregatesFilter<"CrashReport"> | boolean | null IsDebugger_CR?: BoolNullableWithAggregatesFilter<"CrashReport"> | boolean | null NetworkType_CR?: StringNullableWithAggregatesFilter<"CrashReport"> | string | null Breadcrumbs_CR?: JsonNullableWithAggregatesFilter<"CrashReport"> CustomData_CR?: JsonNullableWithAggregatesFilter<"CrashReport"> Logs_CR?: JsonNullableWithAggregatesFilter<"CrashReport"> CrashCount_CR?: IntWithAggregatesFilter<"CrashReport"> | number FirstOccurred_CR?: DateTimeWithAggregatesFilter<"CrashReport"> | Date | string LastOccurred_CR?: DateTimeWithAggregatesFilter<"CrashReport"> | Date | string AffectedUsers_CR?: IntWithAggregatesFilter<"CrashReport"> | number CreatedAt_CR?: DateTimeWithAggregatesFilter<"CrashReport"> | Date | string UpdatedAt_CR?: DateTimeWithAggregatesFilter<"CrashReport"> | Date | string ResolvedAt_CR?: DateTimeNullableWithAggregatesFilter<"CrashReport"> | Date | string | null ResolvedBy_CR?: StringNullableWithAggregatesFilter<"CrashReport"> | string | null } export type CrashSessionWhereInput = { AND?: CrashSessionWhereInput | CrashSessionWhereInput[] OR?: CrashSessionWhereInput[] NOT?: CrashSessionWhereInput | CrashSessionWhereInput[] UUID_CS?: StringFilter<"CrashSession"> | string SessionId_CS?: StringFilter<"CrashSession"> | string AppId_CS?: StringFilter<"CrashSession"> | string AppVersion_CS?: StringFilter<"CrashSession"> | string UserId_CS?: StringNullableFilter<"CrashSession"> | string | null StartedAt_CS?: DateTimeFilter<"CrashSession"> | Date | string EndedAt_CS?: DateTimeNullableFilter<"CrashSession"> | Date | string | null Duration_CS?: IntNullableFilter<"CrashSession"> | number | null IsCrashed_CS?: BoolFilter<"CrashSession"> | boolean CrashCount_CS?: IntFilter<"CrashSession"> | number DeviceModel_CS?: StringNullableFilter<"CrashSession"> | string | null OSVersion_CS?: StringNullableFilter<"CrashSession"> | string | null CreatedAt_CS?: DateTimeFilter<"CrashSession"> | Date | string UpdatedAt_CS?: DateTimeFilter<"CrashSession"> | Date | string } export type CrashSessionOrderByWithRelationInput = { UUID_CS?: SortOrder SessionId_CS?: SortOrder AppId_CS?: SortOrder AppVersion_CS?: SortOrder UserId_CS?: SortOrderInput | SortOrder StartedAt_CS?: SortOrder EndedAt_CS?: SortOrderInput | SortOrder Duration_CS?: SortOrderInput | SortOrder IsCrashed_CS?: SortOrder CrashCount_CS?: SortOrder DeviceModel_CS?: SortOrderInput | SortOrder OSVersion_CS?: SortOrderInput | SortOrder CreatedAt_CS?: SortOrder UpdatedAt_CS?: SortOrder _relevance?: CrashSessionOrderByRelevanceInput } export type CrashSessionWhereUniqueInput = Prisma.AtLeast<{ UUID_CS?: string SessionId_CS?: string AND?: CrashSessionWhereInput | CrashSessionWhereInput[] OR?: CrashSessionWhereInput[] NOT?: CrashSessionWhereInput | CrashSessionWhereInput[] AppId_CS?: StringFilter<"CrashSession"> | string AppVersion_CS?: StringFilter<"CrashSession"> | string UserId_CS?: StringNullableFilter<"CrashSession"> | string | null StartedAt_CS?: DateTimeFilter<"CrashSession"> | Date | string EndedAt_CS?: DateTimeNullableFilter<"CrashSession"> | Date | string | null Duration_CS?: IntNullableFilter<"CrashSession"> | number | null IsCrashed_CS?: BoolFilter<"CrashSession"> | boolean CrashCount_CS?: IntFilter<"CrashSession"> | number DeviceModel_CS?: StringNullableFilter<"CrashSession"> | string | null OSVersion_CS?: StringNullableFilter<"CrashSession"> | string | null CreatedAt_CS?: DateTimeFilter<"CrashSession"> | Date | string UpdatedAt_CS?: DateTimeFilter<"CrashSession"> | Date | string }, "UUID_CS" | "SessionId_CS"> export type CrashSessionOrderByWithAggregationInput = { UUID_CS?: SortOrder SessionId_CS?: SortOrder AppId_CS?: SortOrder AppVersion_CS?: SortOrder UserId_CS?: SortOrderInput | SortOrder StartedAt_CS?: SortOrder EndedAt_CS?: SortOrderInput | SortOrder Duration_CS?: SortOrderInput | SortOrder IsCrashed_CS?: SortOrder CrashCount_CS?: SortOrder DeviceModel_CS?: SortOrderInput | SortOrder OSVersion_CS?: SortOrderInput | SortOrder CreatedAt_CS?: SortOrder UpdatedAt_CS?: SortOrder _count?: CrashSessionCountOrderByAggregateInput _avg?: CrashSessionAvgOrderByAggregateInput _max?: CrashSessionMaxOrderByAggregateInput _min?: CrashSessionMinOrderByAggregateInput _sum?: CrashSessionSumOrderByAggregateInput } export type CrashSessionScalarWhereWithAggregatesInput = { AND?: CrashSessionScalarWhereWithAggregatesInput | CrashSessionScalarWhereWithAggregatesInput[] OR?: CrashSessionScalarWhereWithAggregatesInput[] NOT?: CrashSessionScalarWhereWithAggregatesInput | CrashSessionScalarWhereWithAggregatesInput[] UUID_CS?: StringWithAggregatesFilter<"CrashSession"> | string SessionId_CS?: StringWithAggregatesFilter<"CrashSession"> | string AppId_CS?: StringWithAggregatesFilter<"CrashSession"> | string AppVersion_CS?: StringWithAggregatesFilter<"CrashSession"> | string UserId_CS?: StringNullableWithAggregatesFilter<"CrashSession"> | string | null StartedAt_CS?: DateTimeWithAggregatesFilter<"CrashSession"> | Date | string EndedAt_CS?: DateTimeNullableWithAggregatesFilter<"CrashSession"> | Date | string | null Duration_CS?: IntNullableWithAggregatesFilter<"CrashSession"> | number | null IsCrashed_CS?: BoolWithAggregatesFilter<"CrashSession"> | boolean CrashCount_CS?: IntWithAggregatesFilter<"CrashSession"> | number DeviceModel_CS?: StringNullableWithAggregatesFilter<"CrashSession"> | string | null OSVersion_CS?: StringNullableWithAggregatesFilter<"CrashSession"> | string | null CreatedAt_CS?: DateTimeWithAggregatesFilter<"CrashSession"> | Date | string UpdatedAt_CS?: DateTimeWithAggregatesFilter<"CrashSession"> | Date | string } export type CrashAnalyticsWhereInput = { AND?: CrashAnalyticsWhereInput | CrashAnalyticsWhereInput[] OR?: CrashAnalyticsWhereInput[] NOT?: CrashAnalyticsWhereInput | CrashAnalyticsWhereInput[] UUID_CA?: StringFilter<"CrashAnalytics"> | string AppId_CA?: StringFilter<"CrashAnalytics"> | string AppVersion_CA?: StringFilter<"CrashAnalytics"> | string Date_CA?: DateTimeFilter<"CrashAnalytics"> | Date | string TotalCrashes_CA?: IntFilter<"CrashAnalytics"> | number FatalCrashes_CA?: IntFilter<"CrashAnalytics"> | number NonFatalCrashes_CA?: IntFilter<"CrashAnalytics"> | number UniqueCrashes_CA?: IntFilter<"CrashAnalytics"> | number AffectedUsers_CA?: IntFilter<"CrashAnalytics"> | number TotalSessions_CA?: IntFilter<"CrashAnalytics"> | number CrashedSessions_CA?: IntFilter<"CrashAnalytics"> | number CrashFreeRate_CA?: FloatNullableFilter<"CrashAnalytics"> | number | null TopCrashes_CA?: JsonNullableFilter<"CrashAnalytics"> CreatedAt_CA?: DateTimeFilter<"CrashAnalytics"> | Date | string UpdatedAt_CA?: DateTimeFilter<"CrashAnalytics"> | Date | string } export type CrashAnalyticsOrderByWithRelationInput = { UUID_CA?: SortOrder AppId_CA?: SortOrder AppVersion_CA?: SortOrder Date_CA?: SortOrder TotalCrashes_CA?: SortOrder FatalCrashes_CA?: SortOrder NonFatalCrashes_CA?: SortOrder UniqueCrashes_CA?: SortOrder AffectedUsers_CA?: SortOrder TotalSessions_CA?: SortOrder CrashedSessions_CA?: SortOrder CrashFreeRate_CA?: SortOrderInput | SortOrder TopCrashes_CA?: SortOrderInput | SortOrder CreatedAt_CA?: SortOrder UpdatedAt_CA?: SortOrder _relevance?: CrashAnalyticsOrderByRelevanceInput } export type CrashAnalyticsWhereUniqueInput = Prisma.AtLeast<{ UUID_CA?: string AppId_CA_AppVersion_CA_Date_CA?: CrashAnalyticsAppId_CAAppVersion_CADate_CACompoundUniqueInput AND?: CrashAnalyticsWhereInput | CrashAnalyticsWhereInput[] OR?: CrashAnalyticsWhereInput[] NOT?: CrashAnalyticsWhereInput | CrashAnalyticsWhereInput[] AppId_CA?: StringFilter<"CrashAnalytics"> | string AppVersion_CA?: StringFilter<"CrashAnalytics"> | string Date_CA?: DateTimeFilter<"CrashAnalytics"> | Date | string TotalCrashes_CA?: IntFilter<"CrashAnalytics"> | number FatalCrashes_CA?: IntFilter<"CrashAnalytics"> | number NonFatalCrashes_CA?: IntFilter<"CrashAnalytics"> | number UniqueCrashes_CA?: IntFilter<"CrashAnalytics"> | number AffectedUsers_CA?: IntFilter<"CrashAnalytics"> | number TotalSessions_CA?: IntFilter<"CrashAnalytics"> | number CrashedSessions_CA?: IntFilter<"CrashAnalytics"> | number CrashFreeRate_CA?: FloatNullableFilter<"CrashAnalytics"> | number | null TopCrashes_CA?: JsonNullableFilter<"CrashAnalytics"> CreatedAt_CA?: DateTimeFilter<"CrashAnalytics"> | Date | string UpdatedAt_CA?: DateTimeFilter<"CrashAnalytics"> | Date | string }, "UUID_CA" | "AppId_CA_AppVersion_CA_Date_CA"> export type CrashAnalyticsOrderByWithAggregationInput = { UUID_CA?: SortOrder AppId_CA?: SortOrder AppVersion_CA?: SortOrder Date_CA?: SortOrder TotalCrashes_CA?: SortOrder FatalCrashes_CA?: SortOrder NonFatalCrashes_CA?: SortOrder UniqueCrashes_CA?: SortOrder AffectedUsers_CA?: SortOrder TotalSessions_CA?: SortOrder CrashedSessions_CA?: SortOrder CrashFreeRate_CA?: SortOrderInput | SortOrder TopCrashes_CA?: SortOrderInput | SortOrder CreatedAt_CA?: SortOrder UpdatedAt_CA?: SortOrder _count?: CrashAnalyticsCountOrderByAggregateInput _avg?: CrashAnalyticsAvgOrderByAggregateInput _max?: CrashAnalyticsMaxOrderByAggregateInput _min?: CrashAnalyticsMinOrderByAggregateInput _sum?: CrashAnalyticsSumOrderByAggregateInput } export type CrashAnalyticsScalarWhereWithAggregatesInput = { AND?: CrashAnalyticsScalarWhereWithAggregatesInput | CrashAnalyticsScalarWhereWithAggregatesInput[] OR?: CrashAnalyticsScalarWhereWithAggregatesInput[] NOT?: CrashAnalyticsScalarWhereWithAggregatesInput | CrashAnalyticsScalarWhereWithAggregatesInput[] UUID_CA?: StringWithAggregatesFilter<"CrashAnalytics"> | string AppId_CA?: StringWithAggregatesFilter<"CrashAnalytics"> | string AppVersion_CA?: StringWithAggregatesFilter<"CrashAnalytics"> | string Date_CA?: DateTimeWithAggregatesFilter<"CrashAnalytics"> | Date | string TotalCrashes_CA?: IntWithAggregatesFilter<"CrashAnalytics"> | number FatalCrashes_CA?: IntWithAggregatesFilter<"CrashAnalytics"> | number NonFatalCrashes_CA?: IntWithAggregatesFilter<"CrashAnalytics"> | number UniqueCrashes_CA?: IntWithAggregatesFilter<"CrashAnalytics"> | number AffectedUsers_CA?: IntWithAggregatesFilter<"CrashAnalytics"> | number TotalSessions_CA?: IntWithAggregatesFilter<"CrashAnalytics"> | number CrashedSessions_CA?: IntWithAggregatesFilter<"CrashAnalytics"> | number CrashFreeRate_CA?: FloatNullableWithAggregatesFilter<"CrashAnalytics"> | number | null TopCrashes_CA?: JsonNullableWithAggregatesFilter<"CrashAnalytics"> CreatedAt_CA?: DateTimeWithAggregatesFilter<"CrashAnalytics"> | Date | string UpdatedAt_CA?: DateTimeWithAggregatesFilter<"CrashAnalytics"> | Date | string } export type AINotificationWhereInput = { AND?: AINotificationWhereInput | AINotificationWhereInput[] OR?: AINotificationWhereInput[] NOT?: AINotificationWhereInput | AINotificationWhereInput[] UUID_AIN?: StringFilter<"AINotification"> | string UserID_AIN?: StringFilter<"AINotification"> | string AnalyzedActivities_AIN?: IntFilter<"AINotification"> | number ActivityTypes_AIN?: StringNullableFilter<"AINotification"> | string | null GeneratedTitle_AIN?: StringFilter<"AINotification"> | string GeneratedDesc_AIN?: StringFilter<"AINotification"> | string SentStatus_AIN?: EnumDeliveryStatusFilter<"AINotification"> | $Enums.DeliveryStatus SentAt_AIN?: DateTimeNullableFilter<"AINotification"> | Date | string | null DeliveredAt_AIN?: DateTimeNullableFilter<"AINotification"> | Date | string | null FailedAt_AIN?: DateTimeNullableFilter<"AINotification"> | Date | string | null ErrorMessage_AIN?: StringNullableFilter<"AINotification"> | string | null FCMMessageId_AIN?: StringNullableFilter<"AINotification"> | string | null ResponseTime_AIN?: IntNullableFilter<"AINotification"> | number | null ProcessingTime_AIN?: IntNullableFilter<"AINotification"> | number | null ActivityTimeRange_AIN?: IntFilter<"AINotification"> | number AIModel_AIN?: StringFilter<"AINotification"> | string ScheduledAt_AIN?: DateTimeNullableFilter<"AINotification"> | Date | string | null PredictedConfidence_AIN?: IntNullableFilter<"AINotification"> | number | null PredictionReasoning_AIN?: StringNullableFilter<"AINotification"> | string | null UserEngagementPattern_AIN?: StringNullableFilter<"AINotification"> | string | null DelayMinutes_AIN?: IntNullableFilter<"AINotification"> | number | null CreatedAt_AIN?: DateTimeFilter<"AINotification"> | Date | string UpdatedAt_AIN?: DateTimeFilter<"AINotification"> | Date | string } export type AINotificationOrderByWithRelationInput = { UUID_AIN?: SortOrder UserID_AIN?: SortOrder AnalyzedActivities_AIN?: SortOrder ActivityTypes_AIN?: SortOrderInput | SortOrder GeneratedTitle_AIN?: SortOrder GeneratedDesc_AIN?: SortOrder SentStatus_AIN?: SortOrder SentAt_AIN?: SortOrderInput | SortOrder DeliveredAt_AIN?: SortOrderInput | SortOrder FailedAt_AIN?: SortOrderInput | SortOrder ErrorMessage_AIN?: SortOrderInput | SortOrder FCMMessageId_AIN?: SortOrderInput | SortOrder ResponseTime_AIN?: SortOrderInput | SortOrder ProcessingTime_AIN?: SortOrderInput | SortOrder ActivityTimeRange_AIN?: SortOrder AIModel_AIN?: SortOrder ScheduledAt_AIN?: SortOrderInput | SortOrder PredictedConfidence_AIN?: SortOrderInput | SortOrder PredictionReasoning_AIN?: SortOrderInput | SortOrder UserEngagementPattern_AIN?: SortOrderInput | SortOrder DelayMinutes_AIN?: SortOrderInput | SortOrder CreatedAt_AIN?: SortOrder UpdatedAt_AIN?: SortOrder _relevance?: AINotificationOrderByRelevanceInput } export type AINotificationWhereUniqueInput = Prisma.AtLeast<{ UUID_AIN?: string AND?: AINotificationWhereInput | AINotificationWhereInput[] OR?: AINotificationWhereInput[] NOT?: AINotificationWhereInput | AINotificationWhereInput[] UserID_AIN?: StringFilter<"AINotification"> | string AnalyzedActivities_AIN?: IntFilter<"AINotification"> | number ActivityTypes_AIN?: StringNullableFilter<"AINotification"> | string | null GeneratedTitle_AIN?: StringFilter<"AINotification"> | string GeneratedDesc_AIN?: StringFilter<"AINotification"> | string SentStatus_AIN?: EnumDeliveryStatusFilter<"AINotification"> | $Enums.DeliveryStatus SentAt_AIN?: DateTimeNullableFilter<"AINotification"> | Date | string | null DeliveredAt_AIN?: DateTimeNullableFilter<"AINotification"> | Date | string | null FailedAt_AIN?: DateTimeNullableFilter<"AINotification"> | Date | string | null ErrorMessage_AIN?: StringNullableFilter<"AINotification"> | string | null FCMMessageId_AIN?: StringNullableFilter<"AINotification"> | string | null ResponseTime_AIN?: IntNullableFilter<"AINotification"> | number | null ProcessingTime_AIN?: IntNullableFilter<"AINotification"> | number | null ActivityTimeRange_AIN?: IntFilter<"AINotification"> | number AIModel_AIN?: StringFilter<"AINotification"> | string ScheduledAt_AIN?: DateTimeNullableFilter<"AINotification"> | Date | string | null PredictedConfidence_AIN?: IntNullableFilter<"AINotification"> | number | null PredictionReasoning_AIN?: StringNullableFilter<"AINotification"> | string | null UserEngagementPattern_AIN?: StringNullableFilter<"AINotification"> | string | null DelayMinutes_AIN?: IntNullableFilter<"AINotification"> | number | null CreatedAt_AIN?: DateTimeFilter<"AINotification"> | Date | string UpdatedAt_AIN?: DateTimeFilter<"AINotification"> | Date | string }, "UUID_AIN"> export type AINotificationOrderByWithAggregationInput = { UUID_AIN?: SortOrder UserID_AIN?: SortOrder AnalyzedActivities_AIN?: SortOrder ActivityTypes_AIN?: SortOrderInput | SortOrder GeneratedTitle_AIN?: SortOrder GeneratedDesc_AIN?: SortOrder SentStatus_AIN?: SortOrder SentAt_AIN?: SortOrderInput | SortOrder DeliveredAt_AIN?: SortOrderInput | SortOrder FailedAt_AIN?: SortOrderInput | SortOrder ErrorMessage_AIN?: SortOrderInput | SortOrder FCMMessageId_AIN?: SortOrderInput | SortOrder ResponseTime_AIN?: SortOrderInput | SortOrder ProcessingTime_AIN?: SortOrderInput | SortOrder ActivityTimeRange_AIN?: SortOrder AIModel_AIN?: SortOrder ScheduledAt_AIN?: SortOrderInput | SortOrder PredictedConfidence_AIN?: SortOrderInput | SortOrder PredictionReasoning_AIN?: SortOrderInput | SortOrder UserEngagementPattern_AIN?: SortOrderInput | SortOrder DelayMinutes_AIN?: SortOrderInput | SortOrder CreatedAt_AIN?: SortOrder UpdatedAt_AIN?: SortOrder _count?: AINotificationCountOrderByAggregateInput _avg?: AINotificationAvgOrderByAggregateInput _max?: AINotificationMaxOrderByAggregateInput _min?: AINotificationMinOrderByAggregateInput _sum?: AINotificationSumOrderByAggregateInput } export type AINotificationScalarWhereWithAggregatesInput = { AND?: AINotificationScalarWhereWithAggregatesInput | AINotificationScalarWhereWithAggregatesInput[] OR?: AINotificationScalarWhereWithAggregatesInput[] NOT?: AINotificationScalarWhereWithAggregatesInput | AINotificationScalarWhereWithAggregatesInput[] UUID_AIN?: StringWithAggregatesFilter<"AINotification"> | string UserID_AIN?: StringWithAggregatesFilter<"AINotification"> | string AnalyzedActivities_AIN?: IntWithAggregatesFilter<"AINotification"> | number ActivityTypes_AIN?: StringNullableWithAggregatesFilter<"AINotification"> | string | null GeneratedTitle_AIN?: StringWithAggregatesFilter<"AINotification"> | string GeneratedDesc_AIN?: StringWithAggregatesFilter<"AINotification"> | string SentStatus_AIN?: EnumDeliveryStatusWithAggregatesFilter<"AINotification"> | $Enums.DeliveryStatus SentAt_AIN?: DateTimeNullableWithAggregatesFilter<"AINotification"> | Date | string | null DeliveredAt_AIN?: DateTimeNullableWithAggregatesFilter<"AINotification"> | Date | string | null FailedAt_AIN?: DateTimeNullableWithAggregatesFilter<"AINotification"> | Date | string | null ErrorMessage_AIN?: StringNullableWithAggregatesFilter<"AINotification"> | string | null FCMMessageId_AIN?: StringNullableWithAggregatesFilter<"AINotification"> | string | null ResponseTime_AIN?: IntNullableWithAggregatesFilter<"AINotification"> | number | null ProcessingTime_AIN?: IntNullableWithAggregatesFilter<"AINotification"> | number | null ActivityTimeRange_AIN?: IntWithAggregatesFilter<"AINotification"> | number AIModel_AIN?: StringWithAggregatesFilter<"AINotification"> | string ScheduledAt_AIN?: DateTimeNullableWithAggregatesFilter<"AINotification"> | Date | string | null PredictedConfidence_AIN?: IntNullableWithAggregatesFilter<"AINotification"> | number | null PredictionReasoning_AIN?: StringNullableWithAggregatesFilter<"AINotification"> | string | null UserEngagementPattern_AIN?: StringNullableWithAggregatesFilter<"AINotification"> | string | null DelayMinutes_AIN?: IntNullableWithAggregatesFilter<"AINotification"> | number | null CreatedAt_AIN?: DateTimeWithAggregatesFilter<"AINotification"> | Date | string UpdatedAt_AIN?: DateTimeWithAggregatesFilter<"AINotification"> | Date | string } export type AINotificationAnalyticsWhereInput = { AND?: AINotificationAnalyticsWhereInput | AINotificationAnalyticsWhereInput[] OR?: AINotificationAnalyticsWhereInput[] NOT?: AINotificationAnalyticsWhereInput | AINotificationAnalyticsWhereInput[] UUID_ANA?: StringFilter<"AINotificationAnalytics"> | string Date_ANA?: DateTimeFilter<"AINotificationAnalytics"> | Date | string TotalAnalyzed_ANA?: IntFilter<"AINotificationAnalytics"> | number TotalGenerated_ANA?: IntFilter<"AINotificationAnalytics"> | number TotalSent_ANA?: IntFilter<"AINotificationAnalytics"> | number TotalDelivered_ANA?: IntFilter<"AINotificationAnalytics"> | number TotalFailed_ANA?: IntFilter<"AINotificationAnalytics"> | number DeliveryRate_ANA?: FloatNullableFilter<"AINotificationAnalytics"> | number | null AvgResponseTime_ANA?: FloatNullableFilter<"AINotificationAnalytics"> | number | null AvgProcessingTime_ANA?: FloatNullableFilter<"AINotificationAnalytics"> | number | null TopActivityTypes_ANA?: JsonNullableFilter<"AINotificationAnalytics"> PopularTitles_ANA?: JsonNullableFilter<"AINotificationAnalytics"> ErrorBreakdown_ANA?: JsonNullableFilter<"AINotificationAnalytics"> CreatedAt_ANA?: DateTimeFilter<"AINotificationAnalytics"> | Date | string UpdatedAt_ANA?: DateTimeFilter<"AINotificationAnalytics"> | Date | string } export type AINotificationAnalyticsOrderByWithRelationInput = { UUID_ANA?: SortOrder Date_ANA?: SortOrder TotalAnalyzed_ANA?: SortOrder TotalGenerated_ANA?: SortOrder TotalSent_ANA?: SortOrder TotalDelivered_ANA?: SortOrder TotalFailed_ANA?: SortOrder DeliveryRate_ANA?: SortOrderInput | SortOrder AvgResponseTime_ANA?: SortOrderInput | SortOrder AvgProcessingTime_ANA?: SortOrderInput | SortOrder TopActivityTypes_ANA?: SortOrderInput | SortOrder PopularTitles_ANA?: SortOrderInput | SortOrder ErrorBreakdown_ANA?: SortOrderInput | SortOrder CreatedAt_ANA?: SortOrder UpdatedAt_ANA?: SortOrder _relevance?: AINotificationAnalyticsOrderByRelevanceInput } export type AINotificationAnalyticsWhereUniqueInput = Prisma.AtLeast<{ UUID_ANA?: string Date_ANA?: Date | string AND?: AINotificationAnalyticsWhereInput | AINotificationAnalyticsWhereInput[] OR?: AINotificationAnalyticsWhereInput[] NOT?: AINotificationAnalyticsWhereInput | AINotificationAnalyticsWhereInput[] TotalAnalyzed_ANA?: IntFilter<"AINotificationAnalytics"> | number TotalGenerated_ANA?: IntFilter<"AINotificationAnalytics"> | number TotalSent_ANA?: IntFilter<"AINotificationAnalytics"> | number TotalDelivered_ANA?: IntFilter<"AINotificationAnalytics"> | number TotalFailed_ANA?: IntFilter<"AINotificationAnalytics"> | number DeliveryRate_ANA?: FloatNullableFilter<"AINotificationAnalytics"> | number | null AvgResponseTime_ANA?: FloatNullableFilter<"AINotificationAnalytics"> | number | null AvgProcessingTime_ANA?: FloatNullableFilter<"AINotificationAnalytics"> | number | null TopActivityTypes_ANA?: JsonNullableFilter<"AINotificationAnalytics"> PopularTitles_ANA?: JsonNullableFilter<"AINotificationAnalytics"> ErrorBreakdown_ANA?: JsonNullableFilter<"AINotificationAnalytics"> CreatedAt_ANA?: DateTimeFilter<"AINotificationAnalytics"> | Date | string UpdatedAt_ANA?: DateTimeFilter<"AINotificationAnalytics"> | Date | string }, "UUID_ANA" | "Date_ANA"> export type AINotificationAnalyticsOrderByWithAggregationInput = { UUID_ANA?: SortOrder Date_ANA?: SortOrder TotalAnalyzed_ANA?: SortOrder TotalGenerated_ANA?: SortOrder TotalSent_ANA?: SortOrder TotalDelivered_ANA?: SortOrder TotalFailed_ANA?: SortOrder DeliveryRate_ANA?: SortOrderInput | SortOrder AvgResponseTime_ANA?: SortOrderInput | SortOrder AvgProcessingTime_ANA?: SortOrderInput | SortOrder TopActivityTypes_ANA?: SortOrderInput | SortOrder PopularTitles_ANA?: SortOrderInput | SortOrder ErrorBreakdown_ANA?: SortOrderInput | SortOrder CreatedAt_ANA?: SortOrder UpdatedAt_ANA?: SortOrder _count?: AINotificationAnalyticsCountOrderByAggregateInput _avg?: AINotificationAnalyticsAvgOrderByAggregateInput _max?: AINotificationAnalyticsMaxOrderByAggregateInput _min?: AINotificationAnalyticsMinOrderByAggregateInput _sum?: AINotificationAnalyticsSumOrderByAggregateInput } export type AINotificationAnalyticsScalarWhereWithAggregatesInput = { AND?: AINotificationAnalyticsScalarWhereWithAggregatesInput | AINotificationAnalyticsScalarWhereWithAggregatesInput[] OR?: AINotificationAnalyticsScalarWhereWithAggregatesInput[] NOT?: AINotificationAnalyticsScalarWhereWithAggregatesInput | AINotificationAnalyticsScalarWhereWithAggregatesInput[] UUID_ANA?: StringWithAggregatesFilter<"AINotificationAnalytics"> | string Date_ANA?: DateTimeWithAggregatesFilter<"AINotificationAnalytics"> | Date | string TotalAnalyzed_ANA?: IntWithAggregatesFilter<"AINotificationAnalytics"> | number TotalGenerated_ANA?: IntWithAggregatesFilter<"AINotificationAnalytics"> | number TotalSent_ANA?: IntWithAggregatesFilter<"AINotificationAnalytics"> | number TotalDelivered_ANA?: IntWithAggregatesFilter<"AINotificationAnalytics"> | number TotalFailed_ANA?: IntWithAggregatesFilter<"AINotificationAnalytics"> | number DeliveryRate_ANA?: FloatNullableWithAggregatesFilter<"AINotificationAnalytics"> | number | null AvgResponseTime_ANA?: FloatNullableWithAggregatesFilter<"AINotificationAnalytics"> | number | null AvgProcessingTime_ANA?: FloatNullableWithAggregatesFilter<"AINotificationAnalytics"> | number | null TopActivityTypes_ANA?: JsonNullableWithAggregatesFilter<"AINotificationAnalytics"> PopularTitles_ANA?: JsonNullableWithAggregatesFilter<"AINotificationAnalytics"> ErrorBreakdown_ANA?: JsonNullableWithAggregatesFilter<"AINotificationAnalytics"> CreatedAt_ANA?: DateTimeWithAggregatesFilter<"AINotificationAnalytics"> | Date | string UpdatedAt_ANA?: DateTimeWithAggregatesFilter<"AINotificationAnalytics"> | Date | string } export type AppMenuWhereInput = { AND?: AppMenuWhereInput | AppMenuWhereInput[] OR?: AppMenuWhereInput[] NOT?: AppMenuWhereInput | AppMenuWhereInput[] UUID_AM?: StringFilter<"AppMenu"> | string Name_AM?: StringFilter<"AppMenu"> | string Route_AM?: StringFilter<"AppMenu"> | string Icon_AM?: StringFilter<"AppMenu"> | string IsActive_AM?: BoolFilter<"AppMenu"> | boolean Badge_AM?: StringNullableFilter<"AppMenu"> | string | null Order_AM?: IntFilter<"AppMenu"> | number Type_AM?: EnumMenuTypeFilter<"AppMenu"> | $Enums.MenuType CreatedAt_AM?: DateTimeFilter<"AppMenu"> | Date | string UpdatedAt_AM?: DateTimeFilter<"AppMenu"> | Date | string } export type AppMenuOrderByWithRelationInput = { UUID_AM?: SortOrder Name_AM?: SortOrder Route_AM?: SortOrder Icon_AM?: SortOrder IsActive_AM?: SortOrder Badge_AM?: SortOrderInput | SortOrder Order_AM?: SortOrder Type_AM?: SortOrder CreatedAt_AM?: SortOrder UpdatedAt_AM?: SortOrder _relevance?: AppMenuOrderByRelevanceInput } export type AppMenuWhereUniqueInput = Prisma.AtLeast<{ UUID_AM?: string AND?: AppMenuWhereInput | AppMenuWhereInput[] OR?: AppMenuWhereInput[] NOT?: AppMenuWhereInput | AppMenuWhereInput[] Name_AM?: StringFilter<"AppMenu"> | string Route_AM?: StringFilter<"AppMenu"> | string Icon_AM?: StringFilter<"AppMenu"> | string IsActive_AM?: BoolFilter<"AppMenu"> | boolean Badge_AM?: StringNullableFilter<"AppMenu"> | string | null Order_AM?: IntFilter<"AppMenu"> | number Type_AM?: EnumMenuTypeFilter<"AppMenu"> | $Enums.MenuType CreatedAt_AM?: DateTimeFilter<"AppMenu"> | Date | string UpdatedAt_AM?: DateTimeFilter<"AppMenu"> | Date | string }, "UUID_AM"> export type AppMenuOrderByWithAggregationInput = { UUID_AM?: SortOrder Name_AM?: SortOrder Route_AM?: SortOrder Icon_AM?: SortOrder IsActive_AM?: SortOrder Badge_AM?: SortOrderInput | SortOrder Order_AM?: SortOrder Type_AM?: SortOrder CreatedAt_AM?: SortOrder UpdatedAt_AM?: SortOrder _count?: AppMenuCountOrderByAggregateInput _avg?: AppMenuAvgOrderByAggregateInput _max?: AppMenuMaxOrderByAggregateInput _min?: AppMenuMinOrderByAggregateInput _sum?: AppMenuSumOrderByAggregateInput } export type AppMenuScalarWhereWithAggregatesInput = { AND?: AppMenuScalarWhereWithAggregatesInput | AppMenuScalarWhereWithAggregatesInput[] OR?: AppMenuScalarWhereWithAggregatesInput[] NOT?: AppMenuScalarWhereWithAggregatesInput | AppMenuScalarWhereWithAggregatesInput[] UUID_AM?: StringWithAggregatesFilter<"AppMenu"> | string Name_AM?: StringWithAggregatesFilter<"AppMenu"> | string Route_AM?: StringWithAggregatesFilter<"AppMenu"> | string Icon_AM?: StringWithAggregatesFilter<"AppMenu"> | string IsActive_AM?: BoolWithAggregatesFilter<"AppMenu"> | boolean Badge_AM?: StringNullableWithAggregatesFilter<"AppMenu"> | string | null Order_AM?: IntWithAggregatesFilter<"AppMenu"> | number Type_AM?: EnumMenuTypeWithAggregatesFilter<"AppMenu"> | $Enums.MenuType CreatedAt_AM?: DateTimeWithAggregatesFilter<"AppMenu"> | Date | string UpdatedAt_AM?: DateTimeWithAggregatesFilter<"AppMenu"> | Date | string } export type AdminAccountCreateInput = { UUID_AA?: string Username_AA: string Email_AA: string Password_AA: string LastLogin_AA?: Date | string | null UpdatedAt_AA?: Date | string CreatedAt_AA?: Date | string } export type AdminAccountUncheckedCreateInput = { UUID_AA?: string Username_AA: string Email_AA: string Password_AA: string LastLogin_AA?: Date | string | null UpdatedAt_AA?: Date | string CreatedAt_AA?: Date | string } export type AdminAccountUpdateInput = { UUID_AA?: StringFieldUpdateOperationsInput | string Username_AA?: StringFieldUpdateOperationsInput | string Email_AA?: StringFieldUpdateOperationsInput | string Password_AA?: StringFieldUpdateOperationsInput | string LastLogin_AA?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null UpdatedAt_AA?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_AA?: DateTimeFieldUpdateOperationsInput | Date | string } export type AdminAccountUncheckedUpdateInput = { UUID_AA?: StringFieldUpdateOperationsInput | string Username_AA?: StringFieldUpdateOperationsInput | string Email_AA?: StringFieldUpdateOperationsInput | string Password_AA?: StringFieldUpdateOperationsInput | string LastLogin_AA?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null UpdatedAt_AA?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_AA?: DateTimeFieldUpdateOperationsInput | Date | string } export type AdminAccountCreateManyInput = { UUID_AA?: string Username_AA: string Email_AA: string Password_AA: string LastLogin_AA?: Date | string | null UpdatedAt_AA?: Date | string CreatedAt_AA?: Date | string } export type AdminAccountUpdateManyMutationInput = { UUID_AA?: StringFieldUpdateOperationsInput | string Username_AA?: StringFieldUpdateOperationsInput | string Email_AA?: StringFieldUpdateOperationsInput | string Password_AA?: StringFieldUpdateOperationsInput | string LastLogin_AA?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null UpdatedAt_AA?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_AA?: DateTimeFieldUpdateOperationsInput | Date | string } export type AdminAccountUncheckedUpdateManyInput = { UUID_AA?: StringFieldUpdateOperationsInput | string Username_AA?: StringFieldUpdateOperationsInput | string Email_AA?: StringFieldUpdateOperationsInput | string Password_AA?: StringFieldUpdateOperationsInput | string LastLogin_AA?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null UpdatedAt_AA?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_AA?: DateTimeFieldUpdateOperationsInput | Date | string } export type AppCredentialCreateInput = { UUID_AC?: string CreatedAt_AC?: Date | string TokenCredential_AC: string UpdatedAt_AC?: Date | string } export type AppCredentialUncheckedCreateInput = { UUID_AC?: string CreatedAt_AC?: Date | string TokenCredential_AC: string UpdatedAt_AC?: Date | string } export type AppCredentialUpdateInput = { UUID_AC?: StringFieldUpdateOperationsInput | string CreatedAt_AC?: DateTimeFieldUpdateOperationsInput | Date | string TokenCredential_AC?: StringFieldUpdateOperationsInput | string UpdatedAt_AC?: DateTimeFieldUpdateOperationsInput | Date | string } export type AppCredentialUncheckedUpdateInput = { UUID_AC?: StringFieldUpdateOperationsInput | string CreatedAt_AC?: DateTimeFieldUpdateOperationsInput | Date | string TokenCredential_AC?: StringFieldUpdateOperationsInput | string UpdatedAt_AC?: DateTimeFieldUpdateOperationsInput | Date | string } export type AppCredentialCreateManyInput = { UUID_AC?: string CreatedAt_AC?: Date | string TokenCredential_AC: string UpdatedAt_AC?: Date | string } export type AppCredentialUpdateManyMutationInput = { UUID_AC?: StringFieldUpdateOperationsInput | string CreatedAt_AC?: DateTimeFieldUpdateOperationsInput | Date | string TokenCredential_AC?: StringFieldUpdateOperationsInput | string UpdatedAt_AC?: DateTimeFieldUpdateOperationsInput | Date | string } export type AppCredentialUncheckedUpdateManyInput = { UUID_AC?: StringFieldUpdateOperationsInput | string CreatedAt_AC?: DateTimeFieldUpdateOperationsInput | Date | string TokenCredential_AC?: StringFieldUpdateOperationsInput | string UpdatedAt_AC?: DateTimeFieldUpdateOperationsInput | Date | string } export type AppContentCreateInput = { UUID_APC?: string Content_APC: string CreatedAt_APC?: Date | string Filename_APC?: string | null Title_APC: string UpdatedAt_APC?: Date | string Url_APC?: string | null Type_APC: $Enums.ContentType CorpType_APC: $Enums.CorpType TargetUrl_APC?: string | null } export type AppContentUncheckedCreateInput = { UUID_APC?: string Content_APC: string CreatedAt_APC?: Date | string Filename_APC?: string | null Title_APC: string UpdatedAt_APC?: Date | string Url_APC?: string | null Type_APC: $Enums.ContentType CorpType_APC: $Enums.CorpType TargetUrl_APC?: string | null } export type AppContentUpdateInput = { UUID_APC?: StringFieldUpdateOperationsInput | string Content_APC?: StringFieldUpdateOperationsInput | string CreatedAt_APC?: DateTimeFieldUpdateOperationsInput | Date | string Filename_APC?: NullableStringFieldUpdateOperationsInput | string | null Title_APC?: StringFieldUpdateOperationsInput | string UpdatedAt_APC?: DateTimeFieldUpdateOperationsInput | Date | string Url_APC?: NullableStringFieldUpdateOperationsInput | string | null Type_APC?: EnumContentTypeFieldUpdateOperationsInput | $Enums.ContentType CorpType_APC?: EnumCorpTypeFieldUpdateOperationsInput | $Enums.CorpType TargetUrl_APC?: NullableStringFieldUpdateOperationsInput | string | null } export type AppContentUncheckedUpdateInput = { UUID_APC?: StringFieldUpdateOperationsInput | string Content_APC?: StringFieldUpdateOperationsInput | string CreatedAt_APC?: DateTimeFieldUpdateOperationsInput | Date | string Filename_APC?: NullableStringFieldUpdateOperationsInput | string | null Title_APC?: StringFieldUpdateOperationsInput | string UpdatedAt_APC?: DateTimeFieldUpdateOperationsInput | Date | string Url_APC?: NullableStringFieldUpdateOperationsInput | string | null Type_APC?: EnumContentTypeFieldUpdateOperationsInput | $Enums.ContentType CorpType_APC?: EnumCorpTypeFieldUpdateOperationsInput | $Enums.CorpType TargetUrl_APC?: NullableStringFieldUpdateOperationsInput | string | null } export type AppContentCreateManyInput = { UUID_APC?: string Content_APC: string CreatedAt_APC?: Date | string Filename_APC?: string | null Title_APC: string UpdatedAt_APC?: Date | string Url_APC?: string | null Type_APC: $Enums.ContentType CorpType_APC: $Enums.CorpType TargetUrl_APC?: string | null } export type AppContentUpdateManyMutationInput = { UUID_APC?: StringFieldUpdateOperationsInput | string Content_APC?: StringFieldUpdateOperationsInput | string CreatedAt_APC?: DateTimeFieldUpdateOperationsInput | Date | string Filename_APC?: NullableStringFieldUpdateOperationsInput | string | null Title_APC?: StringFieldUpdateOperationsInput | string UpdatedAt_APC?: DateTimeFieldUpdateOperationsInput | Date | string Url_APC?: NullableStringFieldUpdateOperationsInput | string | null Type_APC?: EnumContentTypeFieldUpdateOperationsInput | $Enums.ContentType CorpType_APC?: EnumCorpTypeFieldUpdateOperationsInput | $Enums.CorpType TargetUrl_APC?: NullableStringFieldUpdateOperationsInput | string | null } export type AppContentUncheckedUpdateManyInput = { UUID_APC?: StringFieldUpdateOperationsInput | string Content_APC?: StringFieldUpdateOperationsInput | string CreatedAt_APC?: DateTimeFieldUpdateOperationsInput | Date | string Filename_APC?: NullableStringFieldUpdateOperationsInput | string | null Title_APC?: StringFieldUpdateOperationsInput | string UpdatedAt_APC?: DateTimeFieldUpdateOperationsInput | Date | string Url_APC?: NullableStringFieldUpdateOperationsInput | string | null Type_APC?: EnumContentTypeFieldUpdateOperationsInput | $Enums.ContentType CorpType_APC?: EnumCorpTypeFieldUpdateOperationsInput | $Enums.CorpType TargetUrl_APC?: NullableStringFieldUpdateOperationsInput | string | null } export type AppCampaignCreateInput = { UUID_ACP?: string Title_ACP: string Content_ACP: string Date_ACP: Date | string Status_ACP?: $Enums.CampaignStatus UpdatedAt_ACP?: Date | string CreatedAt_ACP?: Date | string TargetUsers_ACP?: number | null SentCount_ACP?: number | null SuccessCount_ACP?: number | null FailureCount_ACP?: number | null DeliveryRate_ACP?: number | null SentAt_ACP?: Date | string | null CompletedAt_ACP?: Date | string | null ErrorMessage_ACP?: string | null Data_ACP?: string | null ImageUrl_ACP?: string | null CampaignDelivery?: CampaignDeliveryCreateNestedManyWithoutAppCampaignInput } export type AppCampaignUncheckedCreateInput = { UUID_ACP?: string Title_ACP: string Content_ACP: string Date_ACP: Date | string Status_ACP?: $Enums.CampaignStatus UpdatedAt_ACP?: Date | string CreatedAt_ACP?: Date | string TargetUsers_ACP?: number | null SentCount_ACP?: number | null SuccessCount_ACP?: number | null FailureCount_ACP?: number | null DeliveryRate_ACP?: number | null SentAt_ACP?: Date | string | null CompletedAt_ACP?: Date | string | null ErrorMessage_ACP?: string | null Data_ACP?: string | null ImageUrl_ACP?: string | null CampaignDelivery?: CampaignDeliveryUncheckedCreateNestedManyWithoutAppCampaignInput } export type AppCampaignUpdateInput = { UUID_ACP?: StringFieldUpdateOperationsInput | string Title_ACP?: StringFieldUpdateOperationsInput | string Content_ACP?: StringFieldUpdateOperationsInput | string Date_ACP?: DateTimeFieldUpdateOperationsInput | Date | string Status_ACP?: EnumCampaignStatusFieldUpdateOperationsInput | $Enums.CampaignStatus UpdatedAt_ACP?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_ACP?: DateTimeFieldUpdateOperationsInput | Date | string TargetUsers_ACP?: NullableIntFieldUpdateOperationsInput | number | null SentCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null SuccessCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null FailureCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null DeliveryRate_ACP?: NullableFloatFieldUpdateOperationsInput | number | null SentAt_ACP?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null CompletedAt_ACP?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_ACP?: NullableStringFieldUpdateOperationsInput | string | null Data_ACP?: NullableStringFieldUpdateOperationsInput | string | null ImageUrl_ACP?: NullableStringFieldUpdateOperationsInput | string | null CampaignDelivery?: CampaignDeliveryUpdateManyWithoutAppCampaignNestedInput } export type AppCampaignUncheckedUpdateInput = { UUID_ACP?: StringFieldUpdateOperationsInput | string Title_ACP?: StringFieldUpdateOperationsInput | string Content_ACP?: StringFieldUpdateOperationsInput | string Date_ACP?: DateTimeFieldUpdateOperationsInput | Date | string Status_ACP?: EnumCampaignStatusFieldUpdateOperationsInput | $Enums.CampaignStatus UpdatedAt_ACP?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_ACP?: DateTimeFieldUpdateOperationsInput | Date | string TargetUsers_ACP?: NullableIntFieldUpdateOperationsInput | number | null SentCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null SuccessCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null FailureCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null DeliveryRate_ACP?: NullableFloatFieldUpdateOperationsInput | number | null SentAt_ACP?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null CompletedAt_ACP?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_ACP?: NullableStringFieldUpdateOperationsInput | string | null Data_ACP?: NullableStringFieldUpdateOperationsInput | string | null ImageUrl_ACP?: NullableStringFieldUpdateOperationsInput | string | null CampaignDelivery?: CampaignDeliveryUncheckedUpdateManyWithoutAppCampaignNestedInput } export type AppCampaignCreateManyInput = { UUID_ACP?: string Title_ACP: string Content_ACP: string Date_ACP: Date | string Status_ACP?: $Enums.CampaignStatus UpdatedAt_ACP?: Date | string CreatedAt_ACP?: Date | string TargetUsers_ACP?: number | null SentCount_ACP?: number | null SuccessCount_ACP?: number | null FailureCount_ACP?: number | null DeliveryRate_ACP?: number | null SentAt_ACP?: Date | string | null CompletedAt_ACP?: Date | string | null ErrorMessage_ACP?: string | null Data_ACP?: string | null ImageUrl_ACP?: string | null } export type AppCampaignUpdateManyMutationInput = { UUID_ACP?: StringFieldUpdateOperationsInput | string Title_ACP?: StringFieldUpdateOperationsInput | string Content_ACP?: StringFieldUpdateOperationsInput | string Date_ACP?: DateTimeFieldUpdateOperationsInput | Date | string Status_ACP?: EnumCampaignStatusFieldUpdateOperationsInput | $Enums.CampaignStatus UpdatedAt_ACP?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_ACP?: DateTimeFieldUpdateOperationsInput | Date | string TargetUsers_ACP?: NullableIntFieldUpdateOperationsInput | number | null SentCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null SuccessCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null FailureCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null DeliveryRate_ACP?: NullableFloatFieldUpdateOperationsInput | number | null SentAt_ACP?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null CompletedAt_ACP?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_ACP?: NullableStringFieldUpdateOperationsInput | string | null Data_ACP?: NullableStringFieldUpdateOperationsInput | string | null ImageUrl_ACP?: NullableStringFieldUpdateOperationsInput | string | null } export type AppCampaignUncheckedUpdateManyInput = { UUID_ACP?: StringFieldUpdateOperationsInput | string Title_ACP?: StringFieldUpdateOperationsInput | string Content_ACP?: StringFieldUpdateOperationsInput | string Date_ACP?: DateTimeFieldUpdateOperationsInput | Date | string Status_ACP?: EnumCampaignStatusFieldUpdateOperationsInput | $Enums.CampaignStatus UpdatedAt_ACP?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_ACP?: DateTimeFieldUpdateOperationsInput | Date | string TargetUsers_ACP?: NullableIntFieldUpdateOperationsInput | number | null SentCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null SuccessCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null FailureCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null DeliveryRate_ACP?: NullableFloatFieldUpdateOperationsInput | number | null SentAt_ACP?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null CompletedAt_ACP?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_ACP?: NullableStringFieldUpdateOperationsInput | string | null Data_ACP?: NullableStringFieldUpdateOperationsInput | string | null ImageUrl_ACP?: NullableStringFieldUpdateOperationsInput | string | null } export type CampaignDeliveryCreateInput = { UUID_CD?: string UserID_CD: string Token_CD: string Status_CD?: $Enums.DeliveryStatus SentAt_CD?: Date | string | null DeliveredAt_CD?: Date | string | null FailedAt_CD?: Date | string | null ErrorMessage_CD?: string | null ResponseData_CD?: string | null CreatedAt_CD?: Date | string UpdatedAt_CD?: Date | string AppCampaign: AppCampaignCreateNestedOneWithoutCampaignDeliveryInput } export type CampaignDeliveryUncheckedCreateInput = { UUID_CD?: string Campaign_CD: string UserID_CD: string Token_CD: string Status_CD?: $Enums.DeliveryStatus SentAt_CD?: Date | string | null DeliveredAt_CD?: Date | string | null FailedAt_CD?: Date | string | null ErrorMessage_CD?: string | null ResponseData_CD?: string | null CreatedAt_CD?: Date | string UpdatedAt_CD?: Date | string } export type CampaignDeliveryUpdateInput = { UUID_CD?: StringFieldUpdateOperationsInput | string UserID_CD?: StringFieldUpdateOperationsInput | string Token_CD?: StringFieldUpdateOperationsInput | string Status_CD?: EnumDeliveryStatusFieldUpdateOperationsInput | $Enums.DeliveryStatus SentAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null DeliveredAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null FailedAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_CD?: NullableStringFieldUpdateOperationsInput | string | null ResponseData_CD?: NullableStringFieldUpdateOperationsInput | string | null CreatedAt_CD?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CD?: DateTimeFieldUpdateOperationsInput | Date | string AppCampaign?: AppCampaignUpdateOneRequiredWithoutCampaignDeliveryNestedInput } export type CampaignDeliveryUncheckedUpdateInput = { UUID_CD?: StringFieldUpdateOperationsInput | string Campaign_CD?: StringFieldUpdateOperationsInput | string UserID_CD?: StringFieldUpdateOperationsInput | string Token_CD?: StringFieldUpdateOperationsInput | string Status_CD?: EnumDeliveryStatusFieldUpdateOperationsInput | $Enums.DeliveryStatus SentAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null DeliveredAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null FailedAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_CD?: NullableStringFieldUpdateOperationsInput | string | null ResponseData_CD?: NullableStringFieldUpdateOperationsInput | string | null CreatedAt_CD?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CD?: DateTimeFieldUpdateOperationsInput | Date | string } export type CampaignDeliveryCreateManyInput = { UUID_CD?: string Campaign_CD: string UserID_CD: string Token_CD: string Status_CD?: $Enums.DeliveryStatus SentAt_CD?: Date | string | null DeliveredAt_CD?: Date | string | null FailedAt_CD?: Date | string | null ErrorMessage_CD?: string | null ResponseData_CD?: string | null CreatedAt_CD?: Date | string UpdatedAt_CD?: Date | string } export type CampaignDeliveryUpdateManyMutationInput = { UUID_CD?: StringFieldUpdateOperationsInput | string UserID_CD?: StringFieldUpdateOperationsInput | string Token_CD?: StringFieldUpdateOperationsInput | string Status_CD?: EnumDeliveryStatusFieldUpdateOperationsInput | $Enums.DeliveryStatus SentAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null DeliveredAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null FailedAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_CD?: NullableStringFieldUpdateOperationsInput | string | null ResponseData_CD?: NullableStringFieldUpdateOperationsInput | string | null CreatedAt_CD?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CD?: DateTimeFieldUpdateOperationsInput | Date | string } export type CampaignDeliveryUncheckedUpdateManyInput = { UUID_CD?: StringFieldUpdateOperationsInput | string Campaign_CD?: StringFieldUpdateOperationsInput | string UserID_CD?: StringFieldUpdateOperationsInput | string Token_CD?: StringFieldUpdateOperationsInput | string Status_CD?: EnumDeliveryStatusFieldUpdateOperationsInput | $Enums.DeliveryStatus SentAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null DeliveredAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null FailedAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_CD?: NullableStringFieldUpdateOperationsInput | string | null ResponseData_CD?: NullableStringFieldUpdateOperationsInput | string | null CreatedAt_CD?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CD?: DateTimeFieldUpdateOperationsInput | Date | string } export type UsersTokenCreateInput = { UUID_UT?: string UserID_UT: string Token_UT: string UpdatedAt_UT?: Date | string CreatedAt_UT?: Date | string UsersActivity?: UsersActivityCreateNestedManyWithoutUsersTokenInput } export type UsersTokenUncheckedCreateInput = { UUID_UT?: string UserID_UT: string Token_UT: string UpdatedAt_UT?: Date | string CreatedAt_UT?: Date | string UsersActivity?: UsersActivityUncheckedCreateNestedManyWithoutUsersTokenInput } export type UsersTokenUpdateInput = { UUID_UT?: StringFieldUpdateOperationsInput | string UserID_UT?: StringFieldUpdateOperationsInput | string Token_UT?: StringFieldUpdateOperationsInput | string UpdatedAt_UT?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_UT?: DateTimeFieldUpdateOperationsInput | Date | string UsersActivity?: UsersActivityUpdateManyWithoutUsersTokenNestedInput } export type UsersTokenUncheckedUpdateInput = { UUID_UT?: StringFieldUpdateOperationsInput | string UserID_UT?: StringFieldUpdateOperationsInput | string Token_UT?: StringFieldUpdateOperationsInput | string UpdatedAt_UT?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_UT?: DateTimeFieldUpdateOperationsInput | Date | string UsersActivity?: UsersActivityUncheckedUpdateManyWithoutUsersTokenNestedInput } export type UsersTokenCreateManyInput = { UUID_UT?: string UserID_UT: string Token_UT: string UpdatedAt_UT?: Date | string CreatedAt_UT?: Date | string } export type UsersTokenUpdateManyMutationInput = { UUID_UT?: StringFieldUpdateOperationsInput | string UserID_UT?: StringFieldUpdateOperationsInput | string Token_UT?: StringFieldUpdateOperationsInput | string UpdatedAt_UT?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_UT?: DateTimeFieldUpdateOperationsInput | Date | string } export type UsersTokenUncheckedUpdateManyInput = { UUID_UT?: StringFieldUpdateOperationsInput | string UserID_UT?: StringFieldUpdateOperationsInput | string Token_UT?: StringFieldUpdateOperationsInput | string UpdatedAt_UT?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_UT?: DateTimeFieldUpdateOperationsInput | Date | string } export type UsersActivityCreateInput = { UUID_UA?: string ActivityType_UA: $Enums.ActivityType Params_UA: string NotifyAt_UA?: Date | string UpdatedAt_UA?: Date | string CreatedAt_UA?: Date | string Processed_UA?: boolean UsersToken: UsersTokenCreateNestedOneWithoutUsersActivityInput } export type UsersActivityUncheckedCreateInput = { UUID_UA?: string UUID_UT: string ActivityType_UA: $Enums.ActivityType Params_UA: string NotifyAt_UA?: Date | string UpdatedAt_UA?: Date | string CreatedAt_UA?: Date | string Processed_UA?: boolean } export type UsersActivityUpdateInput = { UUID_UA?: StringFieldUpdateOperationsInput | string ActivityType_UA?: EnumActivityTypeFieldUpdateOperationsInput | $Enums.ActivityType Params_UA?: StringFieldUpdateOperationsInput | string NotifyAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string Processed_UA?: BoolFieldUpdateOperationsInput | boolean UsersToken?: UsersTokenUpdateOneRequiredWithoutUsersActivityNestedInput } export type UsersActivityUncheckedUpdateInput = { UUID_UA?: StringFieldUpdateOperationsInput | string UUID_UT?: StringFieldUpdateOperationsInput | string ActivityType_UA?: EnumActivityTypeFieldUpdateOperationsInput | $Enums.ActivityType Params_UA?: StringFieldUpdateOperationsInput | string NotifyAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string Processed_UA?: BoolFieldUpdateOperationsInput | boolean } export type UsersActivityCreateManyInput = { UUID_UA?: string UUID_UT: string ActivityType_UA: $Enums.ActivityType Params_UA: string NotifyAt_UA?: Date | string UpdatedAt_UA?: Date | string CreatedAt_UA?: Date | string Processed_UA?: boolean } export type UsersActivityUpdateManyMutationInput = { UUID_UA?: StringFieldUpdateOperationsInput | string ActivityType_UA?: EnumActivityTypeFieldUpdateOperationsInput | $Enums.ActivityType Params_UA?: StringFieldUpdateOperationsInput | string NotifyAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string Processed_UA?: BoolFieldUpdateOperationsInput | boolean } export type UsersActivityUncheckedUpdateManyInput = { UUID_UA?: StringFieldUpdateOperationsInput | string UUID_UT?: StringFieldUpdateOperationsInput | string ActivityType_UA?: EnumActivityTypeFieldUpdateOperationsInput | $Enums.ActivityType Params_UA?: StringFieldUpdateOperationsInput | string NotifyAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string Processed_UA?: BoolFieldUpdateOperationsInput | boolean } export type CrashReportCreateInput = { UUID_CR?: string AppId_CR: string AppVersion_CR: string BuildVersion_CR?: string | null CrashId_CR: string SessionId_CR?: string | null UserId_CR?: string | null CrashType_CR: string ExceptionName_CR?: string | null ExceptionReason_CR?: string | null StackTrace_CR?: string | null ThreadName_CR?: string | null IsFatal_CR?: boolean Severity_CR?: $Enums.CrashSeverity Status_CR?: $Enums.CrashStatus DeviceModel_CR?: string | null DeviceBrand_CR?: string | null OSName_CR?: $Enums.DeviceOS OSVersion_CR?: string | null Architecture_CR?: string | null AvailableRam_CR?: bigint | number | null TotalRam_CR?: bigint | number | null AvailableDisk_CR?: bigint | number | null TotalDisk_CR?: bigint | number | null BatteryLevel_CR?: number | null IsRooted_CR?: boolean | null IsDebugger_CR?: boolean | null NetworkType_CR?: string | null Breadcrumbs_CR?: NullableJsonNullValueInput | InputJsonValue CustomData_CR?: NullableJsonNullValueInput | InputJsonValue Logs_CR?: NullableJsonNullValueInput | InputJsonValue CrashCount_CR?: number FirstOccurred_CR?: Date | string LastOccurred_CR?: Date | string AffectedUsers_CR?: number CreatedAt_CR?: Date | string UpdatedAt_CR?: Date | string ResolvedAt_CR?: Date | string | null ResolvedBy_CR?: string | null } export type CrashReportUncheckedCreateInput = { UUID_CR?: string AppId_CR: string AppVersion_CR: string BuildVersion_CR?: string | null CrashId_CR: string SessionId_CR?: string | null UserId_CR?: string | null CrashType_CR: string ExceptionName_CR?: string | null ExceptionReason_CR?: string | null StackTrace_CR?: string | null ThreadName_CR?: string | null IsFatal_CR?: boolean Severity_CR?: $Enums.CrashSeverity Status_CR?: $Enums.CrashStatus DeviceModel_CR?: string | null DeviceBrand_CR?: string | null OSName_CR?: $Enums.DeviceOS OSVersion_CR?: string | null Architecture_CR?: string | null AvailableRam_CR?: bigint | number | null TotalRam_CR?: bigint | number | null AvailableDisk_CR?: bigint | number | null TotalDisk_CR?: bigint | number | null BatteryLevel_CR?: number | null IsRooted_CR?: boolean | null IsDebugger_CR?: boolean | null NetworkType_CR?: string | null Breadcrumbs_CR?: NullableJsonNullValueInput | InputJsonValue CustomData_CR?: NullableJsonNullValueInput | InputJsonValue Logs_CR?: NullableJsonNullValueInput | InputJsonValue CrashCount_CR?: number FirstOccurred_CR?: Date | string LastOccurred_CR?: Date | string AffectedUsers_CR?: number CreatedAt_CR?: Date | string UpdatedAt_CR?: Date | string ResolvedAt_CR?: Date | string | null ResolvedBy_CR?: string | null } export type CrashReportUpdateInput = { UUID_CR?: StringFieldUpdateOperationsInput | string AppId_CR?: StringFieldUpdateOperationsInput | string AppVersion_CR?: StringFieldUpdateOperationsInput | string BuildVersion_CR?: NullableStringFieldUpdateOperationsInput | string | null CrashId_CR?: StringFieldUpdateOperationsInput | string SessionId_CR?: NullableStringFieldUpdateOperationsInput | string | null UserId_CR?: NullableStringFieldUpdateOperationsInput | string | null CrashType_CR?: StringFieldUpdateOperationsInput | string ExceptionName_CR?: NullableStringFieldUpdateOperationsInput | string | null ExceptionReason_CR?: NullableStringFieldUpdateOperationsInput | string | null StackTrace_CR?: NullableStringFieldUpdateOperationsInput | string | null ThreadName_CR?: NullableStringFieldUpdateOperationsInput | string | null IsFatal_CR?: BoolFieldUpdateOperationsInput | boolean Severity_CR?: EnumCrashSeverityFieldUpdateOperationsInput | $Enums.CrashSeverity Status_CR?: EnumCrashStatusFieldUpdateOperationsInput | $Enums.CrashStatus DeviceModel_CR?: NullableStringFieldUpdateOperationsInput | string | null DeviceBrand_CR?: NullableStringFieldUpdateOperationsInput | string | null OSName_CR?: EnumDeviceOSFieldUpdateOperationsInput | $Enums.DeviceOS OSVersion_CR?: NullableStringFieldUpdateOperationsInput | string | null Architecture_CR?: NullableStringFieldUpdateOperationsInput | string | null AvailableRam_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null TotalRam_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null AvailableDisk_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null TotalDisk_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null BatteryLevel_CR?: NullableFloatFieldUpdateOperationsInput | number | null IsRooted_CR?: NullableBoolFieldUpdateOperationsInput | boolean | null IsDebugger_CR?: NullableBoolFieldUpdateOperationsInput | boolean | null NetworkType_CR?: NullableStringFieldUpdateOperationsInput | string | null Breadcrumbs_CR?: NullableJsonNullValueInput | InputJsonValue CustomData_CR?: NullableJsonNullValueInput | InputJsonValue Logs_CR?: NullableJsonNullValueInput | InputJsonValue CrashCount_CR?: IntFieldUpdateOperationsInput | number FirstOccurred_CR?: DateTimeFieldUpdateOperationsInput | Date | string LastOccurred_CR?: DateTimeFieldUpdateOperationsInput | Date | string AffectedUsers_CR?: IntFieldUpdateOperationsInput | number CreatedAt_CR?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CR?: DateTimeFieldUpdateOperationsInput | Date | string ResolvedAt_CR?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ResolvedBy_CR?: NullableStringFieldUpdateOperationsInput | string | null } export type CrashReportUncheckedUpdateInput = { UUID_CR?: StringFieldUpdateOperationsInput | string AppId_CR?: StringFieldUpdateOperationsInput | string AppVersion_CR?: StringFieldUpdateOperationsInput | string BuildVersion_CR?: NullableStringFieldUpdateOperationsInput | string | null CrashId_CR?: StringFieldUpdateOperationsInput | string SessionId_CR?: NullableStringFieldUpdateOperationsInput | string | null UserId_CR?: NullableStringFieldUpdateOperationsInput | string | null CrashType_CR?: StringFieldUpdateOperationsInput | string ExceptionName_CR?: NullableStringFieldUpdateOperationsInput | string | null ExceptionReason_CR?: NullableStringFieldUpdateOperationsInput | string | null StackTrace_CR?: NullableStringFieldUpdateOperationsInput | string | null ThreadName_CR?: NullableStringFieldUpdateOperationsInput | string | null IsFatal_CR?: BoolFieldUpdateOperationsInput | boolean Severity_CR?: EnumCrashSeverityFieldUpdateOperationsInput | $Enums.CrashSeverity Status_CR?: EnumCrashStatusFieldUpdateOperationsInput | $Enums.CrashStatus DeviceModel_CR?: NullableStringFieldUpdateOperationsInput | string | null DeviceBrand_CR?: NullableStringFieldUpdateOperationsInput | string | null OSName_CR?: EnumDeviceOSFieldUpdateOperationsInput | $Enums.DeviceOS OSVersion_CR?: NullableStringFieldUpdateOperationsInput | string | null Architecture_CR?: NullableStringFieldUpdateOperationsInput | string | null AvailableRam_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null TotalRam_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null AvailableDisk_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null TotalDisk_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null BatteryLevel_CR?: NullableFloatFieldUpdateOperationsInput | number | null IsRooted_CR?: NullableBoolFieldUpdateOperationsInput | boolean | null IsDebugger_CR?: NullableBoolFieldUpdateOperationsInput | boolean | null NetworkType_CR?: NullableStringFieldUpdateOperationsInput | string | null Breadcrumbs_CR?: NullableJsonNullValueInput | InputJsonValue CustomData_CR?: NullableJsonNullValueInput | InputJsonValue Logs_CR?: NullableJsonNullValueInput | InputJsonValue CrashCount_CR?: IntFieldUpdateOperationsInput | number FirstOccurred_CR?: DateTimeFieldUpdateOperationsInput | Date | string LastOccurred_CR?: DateTimeFieldUpdateOperationsInput | Date | string AffectedUsers_CR?: IntFieldUpdateOperationsInput | number CreatedAt_CR?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CR?: DateTimeFieldUpdateOperationsInput | Date | string ResolvedAt_CR?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ResolvedBy_CR?: NullableStringFieldUpdateOperationsInput | string | null } export type CrashReportCreateManyInput = { UUID_CR?: string AppId_CR: string AppVersion_CR: string BuildVersion_CR?: string | null CrashId_CR: string SessionId_CR?: string | null UserId_CR?: string | null CrashType_CR: string ExceptionName_CR?: string | null ExceptionReason_CR?: string | null StackTrace_CR?: string | null ThreadName_CR?: string | null IsFatal_CR?: boolean Severity_CR?: $Enums.CrashSeverity Status_CR?: $Enums.CrashStatus DeviceModel_CR?: string | null DeviceBrand_CR?: string | null OSName_CR?: $Enums.DeviceOS OSVersion_CR?: string | null Architecture_CR?: string | null AvailableRam_CR?: bigint | number | null TotalRam_CR?: bigint | number | null AvailableDisk_CR?: bigint | number | null TotalDisk_CR?: bigint | number | null BatteryLevel_CR?: number | null IsRooted_CR?: boolean | null IsDebugger_CR?: boolean | null NetworkType_CR?: string | null Breadcrumbs_CR?: NullableJsonNullValueInput | InputJsonValue CustomData_CR?: NullableJsonNullValueInput | InputJsonValue Logs_CR?: NullableJsonNullValueInput | InputJsonValue CrashCount_CR?: number FirstOccurred_CR?: Date | string LastOccurred_CR?: Date | string AffectedUsers_CR?: number CreatedAt_CR?: Date | string UpdatedAt_CR?: Date | string ResolvedAt_CR?: Date | string | null ResolvedBy_CR?: string | null } export type CrashReportUpdateManyMutationInput = { UUID_CR?: StringFieldUpdateOperationsInput | string AppId_CR?: StringFieldUpdateOperationsInput | string AppVersion_CR?: StringFieldUpdateOperationsInput | string BuildVersion_CR?: NullableStringFieldUpdateOperationsInput | string | null CrashId_CR?: StringFieldUpdateOperationsInput | string SessionId_CR?: NullableStringFieldUpdateOperationsInput | string | null UserId_CR?: NullableStringFieldUpdateOperationsInput | string | null CrashType_CR?: StringFieldUpdateOperationsInput | string ExceptionName_CR?: NullableStringFieldUpdateOperationsInput | string | null ExceptionReason_CR?: NullableStringFieldUpdateOperationsInput | string | null StackTrace_CR?: NullableStringFieldUpdateOperationsInput | string | null ThreadName_CR?: NullableStringFieldUpdateOperationsInput | string | null IsFatal_CR?: BoolFieldUpdateOperationsInput | boolean Severity_CR?: EnumCrashSeverityFieldUpdateOperationsInput | $Enums.CrashSeverity Status_CR?: EnumCrashStatusFieldUpdateOperationsInput | $Enums.CrashStatus DeviceModel_CR?: NullableStringFieldUpdateOperationsInput | string | null DeviceBrand_CR?: NullableStringFieldUpdateOperationsInput | string | null OSName_CR?: EnumDeviceOSFieldUpdateOperationsInput | $Enums.DeviceOS OSVersion_CR?: NullableStringFieldUpdateOperationsInput | string | null Architecture_CR?: NullableStringFieldUpdateOperationsInput | string | null AvailableRam_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null TotalRam_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null AvailableDisk_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null TotalDisk_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null BatteryLevel_CR?: NullableFloatFieldUpdateOperationsInput | number | null IsRooted_CR?: NullableBoolFieldUpdateOperationsInput | boolean | null IsDebugger_CR?: NullableBoolFieldUpdateOperationsInput | boolean | null NetworkType_CR?: NullableStringFieldUpdateOperationsInput | string | null Breadcrumbs_CR?: NullableJsonNullValueInput | InputJsonValue CustomData_CR?: NullableJsonNullValueInput | InputJsonValue Logs_CR?: NullableJsonNullValueInput | InputJsonValue CrashCount_CR?: IntFieldUpdateOperationsInput | number FirstOccurred_CR?: DateTimeFieldUpdateOperationsInput | Date | string LastOccurred_CR?: DateTimeFieldUpdateOperationsInput | Date | string AffectedUsers_CR?: IntFieldUpdateOperationsInput | number CreatedAt_CR?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CR?: DateTimeFieldUpdateOperationsInput | Date | string ResolvedAt_CR?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ResolvedBy_CR?: NullableStringFieldUpdateOperationsInput | string | null } export type CrashReportUncheckedUpdateManyInput = { UUID_CR?: StringFieldUpdateOperationsInput | string AppId_CR?: StringFieldUpdateOperationsInput | string AppVersion_CR?: StringFieldUpdateOperationsInput | string BuildVersion_CR?: NullableStringFieldUpdateOperationsInput | string | null CrashId_CR?: StringFieldUpdateOperationsInput | string SessionId_CR?: NullableStringFieldUpdateOperationsInput | string | null UserId_CR?: NullableStringFieldUpdateOperationsInput | string | null CrashType_CR?: StringFieldUpdateOperationsInput | string ExceptionName_CR?: NullableStringFieldUpdateOperationsInput | string | null ExceptionReason_CR?: NullableStringFieldUpdateOperationsInput | string | null StackTrace_CR?: NullableStringFieldUpdateOperationsInput | string | null ThreadName_CR?: NullableStringFieldUpdateOperationsInput | string | null IsFatal_CR?: BoolFieldUpdateOperationsInput | boolean Severity_CR?: EnumCrashSeverityFieldUpdateOperationsInput | $Enums.CrashSeverity Status_CR?: EnumCrashStatusFieldUpdateOperationsInput | $Enums.CrashStatus DeviceModel_CR?: NullableStringFieldUpdateOperationsInput | string | null DeviceBrand_CR?: NullableStringFieldUpdateOperationsInput | string | null OSName_CR?: EnumDeviceOSFieldUpdateOperationsInput | $Enums.DeviceOS OSVersion_CR?: NullableStringFieldUpdateOperationsInput | string | null Architecture_CR?: NullableStringFieldUpdateOperationsInput | string | null AvailableRam_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null TotalRam_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null AvailableDisk_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null TotalDisk_CR?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null BatteryLevel_CR?: NullableFloatFieldUpdateOperationsInput | number | null IsRooted_CR?: NullableBoolFieldUpdateOperationsInput | boolean | null IsDebugger_CR?: NullableBoolFieldUpdateOperationsInput | boolean | null NetworkType_CR?: NullableStringFieldUpdateOperationsInput | string | null Breadcrumbs_CR?: NullableJsonNullValueInput | InputJsonValue CustomData_CR?: NullableJsonNullValueInput | InputJsonValue Logs_CR?: NullableJsonNullValueInput | InputJsonValue CrashCount_CR?: IntFieldUpdateOperationsInput | number FirstOccurred_CR?: DateTimeFieldUpdateOperationsInput | Date | string LastOccurred_CR?: DateTimeFieldUpdateOperationsInput | Date | string AffectedUsers_CR?: IntFieldUpdateOperationsInput | number CreatedAt_CR?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CR?: DateTimeFieldUpdateOperationsInput | Date | string ResolvedAt_CR?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ResolvedBy_CR?: NullableStringFieldUpdateOperationsInput | string | null } export type CrashSessionCreateInput = { UUID_CS?: string SessionId_CS: string AppId_CS: string AppVersion_CS: string UserId_CS?: string | null StartedAt_CS: Date | string EndedAt_CS?: Date | string | null Duration_CS?: number | null IsCrashed_CS?: boolean CrashCount_CS?: number DeviceModel_CS?: string | null OSVersion_CS?: string | null CreatedAt_CS?: Date | string UpdatedAt_CS?: Date | string } export type CrashSessionUncheckedCreateInput = { UUID_CS?: string SessionId_CS: string AppId_CS: string AppVersion_CS: string UserId_CS?: string | null StartedAt_CS: Date | string EndedAt_CS?: Date | string | null Duration_CS?: number | null IsCrashed_CS?: boolean CrashCount_CS?: number DeviceModel_CS?: string | null OSVersion_CS?: string | null CreatedAt_CS?: Date | string UpdatedAt_CS?: Date | string } export type CrashSessionUpdateInput = { UUID_CS?: StringFieldUpdateOperationsInput | string SessionId_CS?: StringFieldUpdateOperationsInput | string AppId_CS?: StringFieldUpdateOperationsInput | string AppVersion_CS?: StringFieldUpdateOperationsInput | string UserId_CS?: NullableStringFieldUpdateOperationsInput | string | null StartedAt_CS?: DateTimeFieldUpdateOperationsInput | Date | string EndedAt_CS?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null Duration_CS?: NullableIntFieldUpdateOperationsInput | number | null IsCrashed_CS?: BoolFieldUpdateOperationsInput | boolean CrashCount_CS?: IntFieldUpdateOperationsInput | number DeviceModel_CS?: NullableStringFieldUpdateOperationsInput | string | null OSVersion_CS?: NullableStringFieldUpdateOperationsInput | string | null CreatedAt_CS?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CS?: DateTimeFieldUpdateOperationsInput | Date | string } export type CrashSessionUncheckedUpdateInput = { UUID_CS?: StringFieldUpdateOperationsInput | string SessionId_CS?: StringFieldUpdateOperationsInput | string AppId_CS?: StringFieldUpdateOperationsInput | string AppVersion_CS?: StringFieldUpdateOperationsInput | string UserId_CS?: NullableStringFieldUpdateOperationsInput | string | null StartedAt_CS?: DateTimeFieldUpdateOperationsInput | Date | string EndedAt_CS?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null Duration_CS?: NullableIntFieldUpdateOperationsInput | number | null IsCrashed_CS?: BoolFieldUpdateOperationsInput | boolean CrashCount_CS?: IntFieldUpdateOperationsInput | number DeviceModel_CS?: NullableStringFieldUpdateOperationsInput | string | null OSVersion_CS?: NullableStringFieldUpdateOperationsInput | string | null CreatedAt_CS?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CS?: DateTimeFieldUpdateOperationsInput | Date | string } export type CrashSessionCreateManyInput = { UUID_CS?: string SessionId_CS: string AppId_CS: string AppVersion_CS: string UserId_CS?: string | null StartedAt_CS: Date | string EndedAt_CS?: Date | string | null Duration_CS?: number | null IsCrashed_CS?: boolean CrashCount_CS?: number DeviceModel_CS?: string | null OSVersion_CS?: string | null CreatedAt_CS?: Date | string UpdatedAt_CS?: Date | string } export type CrashSessionUpdateManyMutationInput = { UUID_CS?: StringFieldUpdateOperationsInput | string SessionId_CS?: StringFieldUpdateOperationsInput | string AppId_CS?: StringFieldUpdateOperationsInput | string AppVersion_CS?: StringFieldUpdateOperationsInput | string UserId_CS?: NullableStringFieldUpdateOperationsInput | string | null StartedAt_CS?: DateTimeFieldUpdateOperationsInput | Date | string EndedAt_CS?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null Duration_CS?: NullableIntFieldUpdateOperationsInput | number | null IsCrashed_CS?: BoolFieldUpdateOperationsInput | boolean CrashCount_CS?: IntFieldUpdateOperationsInput | number DeviceModel_CS?: NullableStringFieldUpdateOperationsInput | string | null OSVersion_CS?: NullableStringFieldUpdateOperationsInput | string | null CreatedAt_CS?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CS?: DateTimeFieldUpdateOperationsInput | Date | string } export type CrashSessionUncheckedUpdateManyInput = { UUID_CS?: StringFieldUpdateOperationsInput | string SessionId_CS?: StringFieldUpdateOperationsInput | string AppId_CS?: StringFieldUpdateOperationsInput | string AppVersion_CS?: StringFieldUpdateOperationsInput | string UserId_CS?: NullableStringFieldUpdateOperationsInput | string | null StartedAt_CS?: DateTimeFieldUpdateOperationsInput | Date | string EndedAt_CS?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null Duration_CS?: NullableIntFieldUpdateOperationsInput | number | null IsCrashed_CS?: BoolFieldUpdateOperationsInput | boolean CrashCount_CS?: IntFieldUpdateOperationsInput | number DeviceModel_CS?: NullableStringFieldUpdateOperationsInput | string | null OSVersion_CS?: NullableStringFieldUpdateOperationsInput | string | null CreatedAt_CS?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CS?: DateTimeFieldUpdateOperationsInput | Date | string } export type CrashAnalyticsCreateInput = { UUID_CA?: string AppId_CA: string AppVersion_CA: string Date_CA: Date | string TotalCrashes_CA?: number FatalCrashes_CA?: number NonFatalCrashes_CA?: number UniqueCrashes_CA?: number AffectedUsers_CA?: number TotalSessions_CA?: number CrashedSessions_CA?: number CrashFreeRate_CA?: number | null TopCrashes_CA?: NullableJsonNullValueInput | InputJsonValue CreatedAt_CA?: Date | string UpdatedAt_CA?: Date | string } export type CrashAnalyticsUncheckedCreateInput = { UUID_CA?: string AppId_CA: string AppVersion_CA: string Date_CA: Date | string TotalCrashes_CA?: number FatalCrashes_CA?: number NonFatalCrashes_CA?: number UniqueCrashes_CA?: number AffectedUsers_CA?: number TotalSessions_CA?: number CrashedSessions_CA?: number CrashFreeRate_CA?: number | null TopCrashes_CA?: NullableJsonNullValueInput | InputJsonValue CreatedAt_CA?: Date | string UpdatedAt_CA?: Date | string } export type CrashAnalyticsUpdateInput = { UUID_CA?: StringFieldUpdateOperationsInput | string AppId_CA?: StringFieldUpdateOperationsInput | string AppVersion_CA?: StringFieldUpdateOperationsInput | string Date_CA?: DateTimeFieldUpdateOperationsInput | Date | string TotalCrashes_CA?: IntFieldUpdateOperationsInput | number FatalCrashes_CA?: IntFieldUpdateOperationsInput | number NonFatalCrashes_CA?: IntFieldUpdateOperationsInput | number UniqueCrashes_CA?: IntFieldUpdateOperationsInput | number AffectedUsers_CA?: IntFieldUpdateOperationsInput | number TotalSessions_CA?: IntFieldUpdateOperationsInput | number CrashedSessions_CA?: IntFieldUpdateOperationsInput | number CrashFreeRate_CA?: NullableFloatFieldUpdateOperationsInput | number | null TopCrashes_CA?: NullableJsonNullValueInput | InputJsonValue CreatedAt_CA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CA?: DateTimeFieldUpdateOperationsInput | Date | string } export type CrashAnalyticsUncheckedUpdateInput = { UUID_CA?: StringFieldUpdateOperationsInput | string AppId_CA?: StringFieldUpdateOperationsInput | string AppVersion_CA?: StringFieldUpdateOperationsInput | string Date_CA?: DateTimeFieldUpdateOperationsInput | Date | string TotalCrashes_CA?: IntFieldUpdateOperationsInput | number FatalCrashes_CA?: IntFieldUpdateOperationsInput | number NonFatalCrashes_CA?: IntFieldUpdateOperationsInput | number UniqueCrashes_CA?: IntFieldUpdateOperationsInput | number AffectedUsers_CA?: IntFieldUpdateOperationsInput | number TotalSessions_CA?: IntFieldUpdateOperationsInput | number CrashedSessions_CA?: IntFieldUpdateOperationsInput | number CrashFreeRate_CA?: NullableFloatFieldUpdateOperationsInput | number | null TopCrashes_CA?: NullableJsonNullValueInput | InputJsonValue CreatedAt_CA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CA?: DateTimeFieldUpdateOperationsInput | Date | string } export type CrashAnalyticsCreateManyInput = { UUID_CA?: string AppId_CA: string AppVersion_CA: string Date_CA: Date | string TotalCrashes_CA?: number FatalCrashes_CA?: number NonFatalCrashes_CA?: number UniqueCrashes_CA?: number AffectedUsers_CA?: number TotalSessions_CA?: number CrashedSessions_CA?: number CrashFreeRate_CA?: number | null TopCrashes_CA?: NullableJsonNullValueInput | InputJsonValue CreatedAt_CA?: Date | string UpdatedAt_CA?: Date | string } export type CrashAnalyticsUpdateManyMutationInput = { UUID_CA?: StringFieldUpdateOperationsInput | string AppId_CA?: StringFieldUpdateOperationsInput | string AppVersion_CA?: StringFieldUpdateOperationsInput | string Date_CA?: DateTimeFieldUpdateOperationsInput | Date | string TotalCrashes_CA?: IntFieldUpdateOperationsInput | number FatalCrashes_CA?: IntFieldUpdateOperationsInput | number NonFatalCrashes_CA?: IntFieldUpdateOperationsInput | number UniqueCrashes_CA?: IntFieldUpdateOperationsInput | number AffectedUsers_CA?: IntFieldUpdateOperationsInput | number TotalSessions_CA?: IntFieldUpdateOperationsInput | number CrashedSessions_CA?: IntFieldUpdateOperationsInput | number CrashFreeRate_CA?: NullableFloatFieldUpdateOperationsInput | number | null TopCrashes_CA?: NullableJsonNullValueInput | InputJsonValue CreatedAt_CA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CA?: DateTimeFieldUpdateOperationsInput | Date | string } export type CrashAnalyticsUncheckedUpdateManyInput = { UUID_CA?: StringFieldUpdateOperationsInput | string AppId_CA?: StringFieldUpdateOperationsInput | string AppVersion_CA?: StringFieldUpdateOperationsInput | string Date_CA?: DateTimeFieldUpdateOperationsInput | Date | string TotalCrashes_CA?: IntFieldUpdateOperationsInput | number FatalCrashes_CA?: IntFieldUpdateOperationsInput | number NonFatalCrashes_CA?: IntFieldUpdateOperationsInput | number UniqueCrashes_CA?: IntFieldUpdateOperationsInput | number AffectedUsers_CA?: IntFieldUpdateOperationsInput | number TotalSessions_CA?: IntFieldUpdateOperationsInput | number CrashedSessions_CA?: IntFieldUpdateOperationsInput | number CrashFreeRate_CA?: NullableFloatFieldUpdateOperationsInput | number | null TopCrashes_CA?: NullableJsonNullValueInput | InputJsonValue CreatedAt_CA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CA?: DateTimeFieldUpdateOperationsInput | Date | string } export type AINotificationCreateInput = { UUID_AIN?: string UserID_AIN: string AnalyzedActivities_AIN?: number ActivityTypes_AIN?: string | null GeneratedTitle_AIN: string GeneratedDesc_AIN: string SentStatus_AIN?: $Enums.DeliveryStatus SentAt_AIN?: Date | string | null DeliveredAt_AIN?: Date | string | null FailedAt_AIN?: Date | string | null ErrorMessage_AIN?: string | null FCMMessageId_AIN?: string | null ResponseTime_AIN?: number | null ProcessingTime_AIN?: number | null ActivityTimeRange_AIN?: number AIModel_AIN?: string ScheduledAt_AIN?: Date | string | null PredictedConfidence_AIN?: number | null PredictionReasoning_AIN?: string | null UserEngagementPattern_AIN?: string | null DelayMinutes_AIN?: number | null CreatedAt_AIN?: Date | string UpdatedAt_AIN?: Date | string } export type AINotificationUncheckedCreateInput = { UUID_AIN?: string UserID_AIN: string AnalyzedActivities_AIN?: number ActivityTypes_AIN?: string | null GeneratedTitle_AIN: string GeneratedDesc_AIN: string SentStatus_AIN?: $Enums.DeliveryStatus SentAt_AIN?: Date | string | null DeliveredAt_AIN?: Date | string | null FailedAt_AIN?: Date | string | null ErrorMessage_AIN?: string | null FCMMessageId_AIN?: string | null ResponseTime_AIN?: number | null ProcessingTime_AIN?: number | null ActivityTimeRange_AIN?: number AIModel_AIN?: string ScheduledAt_AIN?: Date | string | null PredictedConfidence_AIN?: number | null PredictionReasoning_AIN?: string | null UserEngagementPattern_AIN?: string | null DelayMinutes_AIN?: number | null CreatedAt_AIN?: Date | string UpdatedAt_AIN?: Date | string } export type AINotificationUpdateInput = { UUID_AIN?: StringFieldUpdateOperationsInput | string UserID_AIN?: StringFieldUpdateOperationsInput | string AnalyzedActivities_AIN?: IntFieldUpdateOperationsInput | number ActivityTypes_AIN?: NullableStringFieldUpdateOperationsInput | string | null GeneratedTitle_AIN?: StringFieldUpdateOperationsInput | string GeneratedDesc_AIN?: StringFieldUpdateOperationsInput | string SentStatus_AIN?: EnumDeliveryStatusFieldUpdateOperationsInput | $Enums.DeliveryStatus SentAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null DeliveredAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null FailedAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_AIN?: NullableStringFieldUpdateOperationsInput | string | null FCMMessageId_AIN?: NullableStringFieldUpdateOperationsInput | string | null ResponseTime_AIN?: NullableIntFieldUpdateOperationsInput | number | null ProcessingTime_AIN?: NullableIntFieldUpdateOperationsInput | number | null ActivityTimeRange_AIN?: IntFieldUpdateOperationsInput | number AIModel_AIN?: StringFieldUpdateOperationsInput | string ScheduledAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null PredictedConfidence_AIN?: NullableIntFieldUpdateOperationsInput | number | null PredictionReasoning_AIN?: NullableStringFieldUpdateOperationsInput | string | null UserEngagementPattern_AIN?: NullableStringFieldUpdateOperationsInput | string | null DelayMinutes_AIN?: NullableIntFieldUpdateOperationsInput | number | null CreatedAt_AIN?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_AIN?: DateTimeFieldUpdateOperationsInput | Date | string } export type AINotificationUncheckedUpdateInput = { UUID_AIN?: StringFieldUpdateOperationsInput | string UserID_AIN?: StringFieldUpdateOperationsInput | string AnalyzedActivities_AIN?: IntFieldUpdateOperationsInput | number ActivityTypes_AIN?: NullableStringFieldUpdateOperationsInput | string | null GeneratedTitle_AIN?: StringFieldUpdateOperationsInput | string GeneratedDesc_AIN?: StringFieldUpdateOperationsInput | string SentStatus_AIN?: EnumDeliveryStatusFieldUpdateOperationsInput | $Enums.DeliveryStatus SentAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null DeliveredAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null FailedAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_AIN?: NullableStringFieldUpdateOperationsInput | string | null FCMMessageId_AIN?: NullableStringFieldUpdateOperationsInput | string | null ResponseTime_AIN?: NullableIntFieldUpdateOperationsInput | number | null ProcessingTime_AIN?: NullableIntFieldUpdateOperationsInput | number | null ActivityTimeRange_AIN?: IntFieldUpdateOperationsInput | number AIModel_AIN?: StringFieldUpdateOperationsInput | string ScheduledAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null PredictedConfidence_AIN?: NullableIntFieldUpdateOperationsInput | number | null PredictionReasoning_AIN?: NullableStringFieldUpdateOperationsInput | string | null UserEngagementPattern_AIN?: NullableStringFieldUpdateOperationsInput | string | null DelayMinutes_AIN?: NullableIntFieldUpdateOperationsInput | number | null CreatedAt_AIN?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_AIN?: DateTimeFieldUpdateOperationsInput | Date | string } export type AINotificationCreateManyInput = { UUID_AIN?: string UserID_AIN: string AnalyzedActivities_AIN?: number ActivityTypes_AIN?: string | null GeneratedTitle_AIN: string GeneratedDesc_AIN: string SentStatus_AIN?: $Enums.DeliveryStatus SentAt_AIN?: Date | string | null DeliveredAt_AIN?: Date | string | null FailedAt_AIN?: Date | string | null ErrorMessage_AIN?: string | null FCMMessageId_AIN?: string | null ResponseTime_AIN?: number | null ProcessingTime_AIN?: number | null ActivityTimeRange_AIN?: number AIModel_AIN?: string ScheduledAt_AIN?: Date | string | null PredictedConfidence_AIN?: number | null PredictionReasoning_AIN?: string | null UserEngagementPattern_AIN?: string | null DelayMinutes_AIN?: number | null CreatedAt_AIN?: Date | string UpdatedAt_AIN?: Date | string } export type AINotificationUpdateManyMutationInput = { UUID_AIN?: StringFieldUpdateOperationsInput | string UserID_AIN?: StringFieldUpdateOperationsInput | string AnalyzedActivities_AIN?: IntFieldUpdateOperationsInput | number ActivityTypes_AIN?: NullableStringFieldUpdateOperationsInput | string | null GeneratedTitle_AIN?: StringFieldUpdateOperationsInput | string GeneratedDesc_AIN?: StringFieldUpdateOperationsInput | string SentStatus_AIN?: EnumDeliveryStatusFieldUpdateOperationsInput | $Enums.DeliveryStatus SentAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null DeliveredAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null FailedAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_AIN?: NullableStringFieldUpdateOperationsInput | string | null FCMMessageId_AIN?: NullableStringFieldUpdateOperationsInput | string | null ResponseTime_AIN?: NullableIntFieldUpdateOperationsInput | number | null ProcessingTime_AIN?: NullableIntFieldUpdateOperationsInput | number | null ActivityTimeRange_AIN?: IntFieldUpdateOperationsInput | number AIModel_AIN?: StringFieldUpdateOperationsInput | string ScheduledAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null PredictedConfidence_AIN?: NullableIntFieldUpdateOperationsInput | number | null PredictionReasoning_AIN?: NullableStringFieldUpdateOperationsInput | string | null UserEngagementPattern_AIN?: NullableStringFieldUpdateOperationsInput | string | null DelayMinutes_AIN?: NullableIntFieldUpdateOperationsInput | number | null CreatedAt_AIN?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_AIN?: DateTimeFieldUpdateOperationsInput | Date | string } export type AINotificationUncheckedUpdateManyInput = { UUID_AIN?: StringFieldUpdateOperationsInput | string UserID_AIN?: StringFieldUpdateOperationsInput | string AnalyzedActivities_AIN?: IntFieldUpdateOperationsInput | number ActivityTypes_AIN?: NullableStringFieldUpdateOperationsInput | string | null GeneratedTitle_AIN?: StringFieldUpdateOperationsInput | string GeneratedDesc_AIN?: StringFieldUpdateOperationsInput | string SentStatus_AIN?: EnumDeliveryStatusFieldUpdateOperationsInput | $Enums.DeliveryStatus SentAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null DeliveredAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null FailedAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_AIN?: NullableStringFieldUpdateOperationsInput | string | null FCMMessageId_AIN?: NullableStringFieldUpdateOperationsInput | string | null ResponseTime_AIN?: NullableIntFieldUpdateOperationsInput | number | null ProcessingTime_AIN?: NullableIntFieldUpdateOperationsInput | number | null ActivityTimeRange_AIN?: IntFieldUpdateOperationsInput | number AIModel_AIN?: StringFieldUpdateOperationsInput | string ScheduledAt_AIN?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null PredictedConfidence_AIN?: NullableIntFieldUpdateOperationsInput | number | null PredictionReasoning_AIN?: NullableStringFieldUpdateOperationsInput | string | null UserEngagementPattern_AIN?: NullableStringFieldUpdateOperationsInput | string | null DelayMinutes_AIN?: NullableIntFieldUpdateOperationsInput | number | null CreatedAt_AIN?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_AIN?: DateTimeFieldUpdateOperationsInput | Date | string } export type AINotificationAnalyticsCreateInput = { UUID_ANA?: string Date_ANA: Date | string TotalAnalyzed_ANA?: number TotalGenerated_ANA?: number TotalSent_ANA?: number TotalDelivered_ANA?: number TotalFailed_ANA?: number DeliveryRate_ANA?: number | null AvgResponseTime_ANA?: number | null AvgProcessingTime_ANA?: number | null TopActivityTypes_ANA?: NullableJsonNullValueInput | InputJsonValue PopularTitles_ANA?: NullableJsonNullValueInput | InputJsonValue ErrorBreakdown_ANA?: NullableJsonNullValueInput | InputJsonValue CreatedAt_ANA?: Date | string UpdatedAt_ANA?: Date | string } export type AINotificationAnalyticsUncheckedCreateInput = { UUID_ANA?: string Date_ANA: Date | string TotalAnalyzed_ANA?: number TotalGenerated_ANA?: number TotalSent_ANA?: number TotalDelivered_ANA?: number TotalFailed_ANA?: number DeliveryRate_ANA?: number | null AvgResponseTime_ANA?: number | null AvgProcessingTime_ANA?: number | null TopActivityTypes_ANA?: NullableJsonNullValueInput | InputJsonValue PopularTitles_ANA?: NullableJsonNullValueInput | InputJsonValue ErrorBreakdown_ANA?: NullableJsonNullValueInput | InputJsonValue CreatedAt_ANA?: Date | string UpdatedAt_ANA?: Date | string } export type AINotificationAnalyticsUpdateInput = { UUID_ANA?: StringFieldUpdateOperationsInput | string Date_ANA?: DateTimeFieldUpdateOperationsInput | Date | string TotalAnalyzed_ANA?: IntFieldUpdateOperationsInput | number TotalGenerated_ANA?: IntFieldUpdateOperationsInput | number TotalSent_ANA?: IntFieldUpdateOperationsInput | number TotalDelivered_ANA?: IntFieldUpdateOperationsInput | number TotalFailed_ANA?: IntFieldUpdateOperationsInput | number DeliveryRate_ANA?: NullableFloatFieldUpdateOperationsInput | number | null AvgResponseTime_ANA?: NullableFloatFieldUpdateOperationsInput | number | null AvgProcessingTime_ANA?: NullableFloatFieldUpdateOperationsInput | number | null TopActivityTypes_ANA?: NullableJsonNullValueInput | InputJsonValue PopularTitles_ANA?: NullableJsonNullValueInput | InputJsonValue ErrorBreakdown_ANA?: NullableJsonNullValueInput | InputJsonValue CreatedAt_ANA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_ANA?: DateTimeFieldUpdateOperationsInput | Date | string } export type AINotificationAnalyticsUncheckedUpdateInput = { UUID_ANA?: StringFieldUpdateOperationsInput | string Date_ANA?: DateTimeFieldUpdateOperationsInput | Date | string TotalAnalyzed_ANA?: IntFieldUpdateOperationsInput | number TotalGenerated_ANA?: IntFieldUpdateOperationsInput | number TotalSent_ANA?: IntFieldUpdateOperationsInput | number TotalDelivered_ANA?: IntFieldUpdateOperationsInput | number TotalFailed_ANA?: IntFieldUpdateOperationsInput | number DeliveryRate_ANA?: NullableFloatFieldUpdateOperationsInput | number | null AvgResponseTime_ANA?: NullableFloatFieldUpdateOperationsInput | number | null AvgProcessingTime_ANA?: NullableFloatFieldUpdateOperationsInput | number | null TopActivityTypes_ANA?: NullableJsonNullValueInput | InputJsonValue PopularTitles_ANA?: NullableJsonNullValueInput | InputJsonValue ErrorBreakdown_ANA?: NullableJsonNullValueInput | InputJsonValue CreatedAt_ANA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_ANA?: DateTimeFieldUpdateOperationsInput | Date | string } export type AINotificationAnalyticsCreateManyInput = { UUID_ANA?: string Date_ANA: Date | string TotalAnalyzed_ANA?: number TotalGenerated_ANA?: number TotalSent_ANA?: number TotalDelivered_ANA?: number TotalFailed_ANA?: number DeliveryRate_ANA?: number | null AvgResponseTime_ANA?: number | null AvgProcessingTime_ANA?: number | null TopActivityTypes_ANA?: NullableJsonNullValueInput | InputJsonValue PopularTitles_ANA?: NullableJsonNullValueInput | InputJsonValue ErrorBreakdown_ANA?: NullableJsonNullValueInput | InputJsonValue CreatedAt_ANA?: Date | string UpdatedAt_ANA?: Date | string } export type AINotificationAnalyticsUpdateManyMutationInput = { UUID_ANA?: StringFieldUpdateOperationsInput | string Date_ANA?: DateTimeFieldUpdateOperationsInput | Date | string TotalAnalyzed_ANA?: IntFieldUpdateOperationsInput | number TotalGenerated_ANA?: IntFieldUpdateOperationsInput | number TotalSent_ANA?: IntFieldUpdateOperationsInput | number TotalDelivered_ANA?: IntFieldUpdateOperationsInput | number TotalFailed_ANA?: IntFieldUpdateOperationsInput | number DeliveryRate_ANA?: NullableFloatFieldUpdateOperationsInput | number | null AvgResponseTime_ANA?: NullableFloatFieldUpdateOperationsInput | number | null AvgProcessingTime_ANA?: NullableFloatFieldUpdateOperationsInput | number | null TopActivityTypes_ANA?: NullableJsonNullValueInput | InputJsonValue PopularTitles_ANA?: NullableJsonNullValueInput | InputJsonValue ErrorBreakdown_ANA?: NullableJsonNullValueInput | InputJsonValue CreatedAt_ANA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_ANA?: DateTimeFieldUpdateOperationsInput | Date | string } export type AINotificationAnalyticsUncheckedUpdateManyInput = { UUID_ANA?: StringFieldUpdateOperationsInput | string Date_ANA?: DateTimeFieldUpdateOperationsInput | Date | string TotalAnalyzed_ANA?: IntFieldUpdateOperationsInput | number TotalGenerated_ANA?: IntFieldUpdateOperationsInput | number TotalSent_ANA?: IntFieldUpdateOperationsInput | number TotalDelivered_ANA?: IntFieldUpdateOperationsInput | number TotalFailed_ANA?: IntFieldUpdateOperationsInput | number DeliveryRate_ANA?: NullableFloatFieldUpdateOperationsInput | number | null AvgResponseTime_ANA?: NullableFloatFieldUpdateOperationsInput | number | null AvgProcessingTime_ANA?: NullableFloatFieldUpdateOperationsInput | number | null TopActivityTypes_ANA?: NullableJsonNullValueInput | InputJsonValue PopularTitles_ANA?: NullableJsonNullValueInput | InputJsonValue ErrorBreakdown_ANA?: NullableJsonNullValueInput | InputJsonValue CreatedAt_ANA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_ANA?: DateTimeFieldUpdateOperationsInput | Date | string } export type AppMenuCreateInput = { UUID_AM?: string Name_AM: string Route_AM: string Icon_AM: string IsActive_AM?: boolean Badge_AM?: string | null Order_AM?: number Type_AM?: $Enums.MenuType CreatedAt_AM?: Date | string UpdatedAt_AM?: Date | string } export type AppMenuUncheckedCreateInput = { UUID_AM?: string Name_AM: string Route_AM: string Icon_AM: string IsActive_AM?: boolean Badge_AM?: string | null Order_AM?: number Type_AM?: $Enums.MenuType CreatedAt_AM?: Date | string UpdatedAt_AM?: Date | string } export type AppMenuUpdateInput = { UUID_AM?: StringFieldUpdateOperationsInput | string Name_AM?: StringFieldUpdateOperationsInput | string Route_AM?: StringFieldUpdateOperationsInput | string Icon_AM?: StringFieldUpdateOperationsInput | string IsActive_AM?: BoolFieldUpdateOperationsInput | boolean Badge_AM?: NullableStringFieldUpdateOperationsInput | string | null Order_AM?: IntFieldUpdateOperationsInput | number Type_AM?: EnumMenuTypeFieldUpdateOperationsInput | $Enums.MenuType CreatedAt_AM?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_AM?: DateTimeFieldUpdateOperationsInput | Date | string } export type AppMenuUncheckedUpdateInput = { UUID_AM?: StringFieldUpdateOperationsInput | string Name_AM?: StringFieldUpdateOperationsInput | string Route_AM?: StringFieldUpdateOperationsInput | string Icon_AM?: StringFieldUpdateOperationsInput | string IsActive_AM?: BoolFieldUpdateOperationsInput | boolean Badge_AM?: NullableStringFieldUpdateOperationsInput | string | null Order_AM?: IntFieldUpdateOperationsInput | number Type_AM?: EnumMenuTypeFieldUpdateOperationsInput | $Enums.MenuType CreatedAt_AM?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_AM?: DateTimeFieldUpdateOperationsInput | Date | string } export type AppMenuCreateManyInput = { UUID_AM?: string Name_AM: string Route_AM: string Icon_AM: string IsActive_AM?: boolean Badge_AM?: string | null Order_AM?: number Type_AM?: $Enums.MenuType CreatedAt_AM?: Date | string UpdatedAt_AM?: Date | string } export type AppMenuUpdateManyMutationInput = { UUID_AM?: StringFieldUpdateOperationsInput | string Name_AM?: StringFieldUpdateOperationsInput | string Route_AM?: StringFieldUpdateOperationsInput | string Icon_AM?: StringFieldUpdateOperationsInput | string IsActive_AM?: BoolFieldUpdateOperationsInput | boolean Badge_AM?: NullableStringFieldUpdateOperationsInput | string | null Order_AM?: IntFieldUpdateOperationsInput | number Type_AM?: EnumMenuTypeFieldUpdateOperationsInput | $Enums.MenuType CreatedAt_AM?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_AM?: DateTimeFieldUpdateOperationsInput | Date | string } export type AppMenuUncheckedUpdateManyInput = { UUID_AM?: StringFieldUpdateOperationsInput | string Name_AM?: StringFieldUpdateOperationsInput | string Route_AM?: StringFieldUpdateOperationsInput | string Icon_AM?: StringFieldUpdateOperationsInput | string IsActive_AM?: BoolFieldUpdateOperationsInput | boolean Badge_AM?: NullableStringFieldUpdateOperationsInput | string | null Order_AM?: IntFieldUpdateOperationsInput | number Type_AM?: EnumMenuTypeFieldUpdateOperationsInput | $Enums.MenuType CreatedAt_AM?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_AM?: DateTimeFieldUpdateOperationsInput | Date | string } export type StringFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> in?: string[] notIn?: string[] 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> search?: string not?: NestedStringFilter<$PrismaModel> | string } export type DateTimeNullableFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null in?: Date[] | string[] | null notIn?: Date[] | string[] | null lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null } export type DateTimeFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> in?: Date[] | string[] notIn?: Date[] | string[] 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 SortOrderInput = { sort: SortOrder nulls?: NullsOrder } export type AdminAccountOrderByRelevanceInput = { fields: AdminAccountOrderByRelevanceFieldEnum | AdminAccountOrderByRelevanceFieldEnum[] sort: SortOrder search: string } export type AdminAccountCountOrderByAggregateInput = { UUID_AA?: SortOrder Username_AA?: SortOrder Email_AA?: SortOrder Password_AA?: SortOrder LastLogin_AA?: SortOrder UpdatedAt_AA?: SortOrder CreatedAt_AA?: SortOrder } export type AdminAccountMaxOrderByAggregateInput = { UUID_AA?: SortOrder Username_AA?: SortOrder Email_AA?: SortOrder Password_AA?: SortOrder LastLogin_AA?: SortOrder UpdatedAt_AA?: SortOrder CreatedAt_AA?: SortOrder } export type AdminAccountMinOrderByAggregateInput = { UUID_AA?: SortOrder Username_AA?: SortOrder Email_AA?: SortOrder Password_AA?: SortOrder LastLogin_AA?: SortOrder UpdatedAt_AA?: SortOrder CreatedAt_AA?: SortOrder } export type StringWithAggregatesFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> in?: string[] notIn?: string[] 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> search?: string not?: NestedStringWithAggregatesFilter<$PrismaModel> | string _count?: NestedIntFilter<$PrismaModel> _min?: NestedStringFilter<$PrismaModel> _max?: NestedStringFilter<$PrismaModel> } export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null in?: Date[] | string[] | null notIn?: Date[] | string[] | null lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedDateTimeNullableFilter<$PrismaModel> _max?: NestedDateTimeNullableFilter<$PrismaModel> } export type DateTimeWithAggregatesFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> in?: Date[] | string[] notIn?: Date[] | string[] 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 AppCredentialOrderByRelevanceInput = { fields: AppCredentialOrderByRelevanceFieldEnum | AppCredentialOrderByRelevanceFieldEnum[] sort: SortOrder search: string } export type AppCredentialCountOrderByAggregateInput = { UUID_AC?: SortOrder CreatedAt_AC?: SortOrder TokenCredential_AC?: SortOrder UpdatedAt_AC?: SortOrder } export type AppCredentialMaxOrderByAggregateInput = { UUID_AC?: SortOrder CreatedAt_AC?: SortOrder TokenCredential_AC?: SortOrder UpdatedAt_AC?: SortOrder } export type AppCredentialMinOrderByAggregateInput = { UUID_AC?: SortOrder CreatedAt_AC?: SortOrder TokenCredential_AC?: SortOrder UpdatedAt_AC?: SortOrder } export type StringNullableFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> | null in?: string[] | null notIn?: string[] | 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> search?: string not?: NestedStringNullableFilter<$PrismaModel> | string | null } export type EnumContentTypeFilter<$PrismaModel = never> = { equals?: $Enums.ContentType | EnumContentTypeFieldRefInput<$PrismaModel> in?: $Enums.ContentType[] notIn?: $Enums.ContentType[] not?: NestedEnumContentTypeFilter<$PrismaModel> | $Enums.ContentType } export type EnumCorpTypeFilter<$PrismaModel = never> = { equals?: $Enums.CorpType | EnumCorpTypeFieldRefInput<$PrismaModel> in?: $Enums.CorpType[] notIn?: $Enums.CorpType[] not?: NestedEnumCorpTypeFilter<$PrismaModel> | $Enums.CorpType } export type AppContentOrderByRelevanceInput = { fields: AppContentOrderByRelevanceFieldEnum | AppContentOrderByRelevanceFieldEnum[] sort: SortOrder search: string } export type AppContentCountOrderByAggregateInput = { UUID_APC?: SortOrder Content_APC?: SortOrder CreatedAt_APC?: SortOrder Filename_APC?: SortOrder Title_APC?: SortOrder UpdatedAt_APC?: SortOrder Url_APC?: SortOrder Type_APC?: SortOrder CorpType_APC?: SortOrder TargetUrl_APC?: SortOrder } export type AppContentMaxOrderByAggregateInput = { UUID_APC?: SortOrder Content_APC?: SortOrder CreatedAt_APC?: SortOrder Filename_APC?: SortOrder Title_APC?: SortOrder UpdatedAt_APC?: SortOrder Url_APC?: SortOrder Type_APC?: SortOrder CorpType_APC?: SortOrder TargetUrl_APC?: SortOrder } export type AppContentMinOrderByAggregateInput = { UUID_APC?: SortOrder Content_APC?: SortOrder CreatedAt_APC?: SortOrder Filename_APC?: SortOrder Title_APC?: SortOrder UpdatedAt_APC?: SortOrder Url_APC?: SortOrder Type_APC?: SortOrder CorpType_APC?: SortOrder TargetUrl_APC?: SortOrder } export type StringNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> | null in?: string[] | null notIn?: string[] | 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> search?: string not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedStringNullableFilter<$PrismaModel> _max?: NestedStringNullableFilter<$PrismaModel> } export type EnumContentTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.ContentType | EnumContentTypeFieldRefInput<$PrismaModel> in?: $Enums.ContentType[] notIn?: $Enums.ContentType[] not?: NestedEnumContentTypeWithAggregatesFilter<$PrismaModel> | $Enums.ContentType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumContentTypeFilter<$PrismaModel> _max?: NestedEnumContentTypeFilter<$PrismaModel> } export type EnumCorpTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.CorpType | EnumCorpTypeFieldRefInput<$PrismaModel> in?: $Enums.CorpType[] notIn?: $Enums.CorpType[] not?: NestedEnumCorpTypeWithAggregatesFilter<$PrismaModel> | $Enums.CorpType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumCorpTypeFilter<$PrismaModel> _max?: NestedEnumCorpTypeFilter<$PrismaModel> } export type EnumCampaignStatusFilter<$PrismaModel = never> = { equals?: $Enums.CampaignStatus | EnumCampaignStatusFieldRefInput<$PrismaModel> in?: $Enums.CampaignStatus[] notIn?: $Enums.CampaignStatus[] not?: NestedEnumCampaignStatusFilter<$PrismaModel> | $Enums.CampaignStatus } export type IntNullableFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> | null in?: number[] | null notIn?: number[] | null lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntNullableFilter<$PrismaModel> | number | null } export type FloatNullableFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> | null in?: number[] | null notIn?: number[] | null lt?: number | FloatFieldRefInput<$PrismaModel> lte?: number | FloatFieldRefInput<$PrismaModel> gt?: number | FloatFieldRefInput<$PrismaModel> gte?: number | FloatFieldRefInput<$PrismaModel> not?: NestedFloatNullableFilter<$PrismaModel> | number | null } export type CampaignDeliveryListRelationFilter = { every?: CampaignDeliveryWhereInput some?: CampaignDeliveryWhereInput none?: CampaignDeliveryWhereInput } export type CampaignDeliveryOrderByRelationAggregateInput = { _count?: SortOrder } export type AppCampaignOrderByRelevanceInput = { fields: AppCampaignOrderByRelevanceFieldEnum | AppCampaignOrderByRelevanceFieldEnum[] sort: SortOrder search: string } export type AppCampaignCountOrderByAggregateInput = { UUID_ACP?: SortOrder Title_ACP?: SortOrder Content_ACP?: SortOrder Date_ACP?: SortOrder Status_ACP?: SortOrder UpdatedAt_ACP?: SortOrder CreatedAt_ACP?: SortOrder TargetUsers_ACP?: SortOrder SentCount_ACP?: SortOrder SuccessCount_ACP?: SortOrder FailureCount_ACP?: SortOrder DeliveryRate_ACP?: SortOrder SentAt_ACP?: SortOrder CompletedAt_ACP?: SortOrder ErrorMessage_ACP?: SortOrder Data_ACP?: SortOrder ImageUrl_ACP?: SortOrder } export type AppCampaignAvgOrderByAggregateInput = { TargetUsers_ACP?: SortOrder SentCount_ACP?: SortOrder SuccessCount_ACP?: SortOrder FailureCount_ACP?: SortOrder DeliveryRate_ACP?: SortOrder } export type AppCampaignMaxOrderByAggregateInput = { UUID_ACP?: SortOrder Title_ACP?: SortOrder Content_ACP?: SortOrder Date_ACP?: SortOrder Status_ACP?: SortOrder UpdatedAt_ACP?: SortOrder CreatedAt_ACP?: SortOrder TargetUsers_ACP?: SortOrder SentCount_ACP?: SortOrder SuccessCount_ACP?: SortOrder FailureCount_ACP?: SortOrder DeliveryRate_ACP?: SortOrder SentAt_ACP?: SortOrder CompletedAt_ACP?: SortOrder ErrorMessage_ACP?: SortOrder Data_ACP?: SortOrder ImageUrl_ACP?: SortOrder } export type AppCampaignMinOrderByAggregateInput = { UUID_ACP?: SortOrder Title_ACP?: SortOrder Content_ACP?: SortOrder Date_ACP?: SortOrder Status_ACP?: SortOrder UpdatedAt_ACP?: SortOrder CreatedAt_ACP?: SortOrder TargetUsers_ACP?: SortOrder SentCount_ACP?: SortOrder SuccessCount_ACP?: SortOrder FailureCount_ACP?: SortOrder DeliveryRate_ACP?: SortOrder SentAt_ACP?: SortOrder CompletedAt_ACP?: SortOrder ErrorMessage_ACP?: SortOrder Data_ACP?: SortOrder ImageUrl_ACP?: SortOrder } export type AppCampaignSumOrderByAggregateInput = { TargetUsers_ACP?: SortOrder SentCount_ACP?: SortOrder SuccessCount_ACP?: SortOrder FailureCount_ACP?: SortOrder DeliveryRate_ACP?: SortOrder } export type EnumCampaignStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.CampaignStatus | EnumCampaignStatusFieldRefInput<$PrismaModel> in?: $Enums.CampaignStatus[] notIn?: $Enums.CampaignStatus[] not?: NestedEnumCampaignStatusWithAggregatesFilter<$PrismaModel> | $Enums.CampaignStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumCampaignStatusFilter<$PrismaModel> _max?: NestedEnumCampaignStatusFilter<$PrismaModel> } export type IntNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> | null in?: number[] | null notIn?: number[] | null lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedIntNullableFilter<$PrismaModel> _min?: NestedIntNullableFilter<$PrismaModel> _max?: NestedIntNullableFilter<$PrismaModel> } export type FloatNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> | null in?: number[] | null notIn?: number[] | 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 EnumDeliveryStatusFilter<$PrismaModel = never> = { equals?: $Enums.DeliveryStatus | EnumDeliveryStatusFieldRefInput<$PrismaModel> in?: $Enums.DeliveryStatus[] notIn?: $Enums.DeliveryStatus[] not?: NestedEnumDeliveryStatusFilter<$PrismaModel> | $Enums.DeliveryStatus } export type AppCampaignScalarRelationFilter = { is?: AppCampaignWhereInput isNot?: AppCampaignWhereInput } export type CampaignDeliveryOrderByRelevanceInput = { fields: CampaignDeliveryOrderByRelevanceFieldEnum | CampaignDeliveryOrderByRelevanceFieldEnum[] sort: SortOrder search: string } export type CampaignDeliveryCountOrderByAggregateInput = { UUID_CD?: SortOrder Campaign_CD?: SortOrder UserID_CD?: SortOrder Token_CD?: SortOrder Status_CD?: SortOrder SentAt_CD?: SortOrder DeliveredAt_CD?: SortOrder FailedAt_CD?: SortOrder ErrorMessage_CD?: SortOrder ResponseData_CD?: SortOrder CreatedAt_CD?: SortOrder UpdatedAt_CD?: SortOrder } export type CampaignDeliveryMaxOrderByAggregateInput = { UUID_CD?: SortOrder Campaign_CD?: SortOrder UserID_CD?: SortOrder Token_CD?: SortOrder Status_CD?: SortOrder SentAt_CD?: SortOrder DeliveredAt_CD?: SortOrder FailedAt_CD?: SortOrder ErrorMessage_CD?: SortOrder ResponseData_CD?: SortOrder CreatedAt_CD?: SortOrder UpdatedAt_CD?: SortOrder } export type CampaignDeliveryMinOrderByAggregateInput = { UUID_CD?: SortOrder Campaign_CD?: SortOrder UserID_CD?: SortOrder Token_CD?: SortOrder Status_CD?: SortOrder SentAt_CD?: SortOrder DeliveredAt_CD?: SortOrder FailedAt_CD?: SortOrder ErrorMessage_CD?: SortOrder ResponseData_CD?: SortOrder CreatedAt_CD?: SortOrder UpdatedAt_CD?: SortOrder } export type EnumDeliveryStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.DeliveryStatus | EnumDeliveryStatusFieldRefInput<$PrismaModel> in?: $Enums.DeliveryStatus[] notIn?: $Enums.DeliveryStatus[] not?: NestedEnumDeliveryStatusWithAggregatesFilter<$PrismaModel> | $Enums.DeliveryStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumDeliveryStatusFilter<$PrismaModel> _max?: NestedEnumDeliveryStatusFilter<$PrismaModel> } export type UsersActivityListRelationFilter = { every?: UsersActivityWhereInput some?: UsersActivityWhereInput none?: UsersActivityWhereInput } export type UsersActivityOrderByRelationAggregateInput = { _count?: SortOrder } export type UsersTokenOrderByRelevanceInput = { fields: UsersTokenOrderByRelevanceFieldEnum | UsersTokenOrderByRelevanceFieldEnum[] sort: SortOrder search: string } export type UsersTokenCountOrderByAggregateInput = { UUID_UT?: SortOrder UserID_UT?: SortOrder Token_UT?: SortOrder UpdatedAt_UT?: SortOrder CreatedAt_UT?: SortOrder } export type UsersTokenMaxOrderByAggregateInput = { UUID_UT?: SortOrder UserID_UT?: SortOrder Token_UT?: SortOrder UpdatedAt_UT?: SortOrder CreatedAt_UT?: SortOrder } export type UsersTokenMinOrderByAggregateInput = { UUID_UT?: SortOrder UserID_UT?: SortOrder Token_UT?: SortOrder UpdatedAt_UT?: SortOrder CreatedAt_UT?: SortOrder } export type EnumActivityTypeFilter<$PrismaModel = never> = { equals?: $Enums.ActivityType | EnumActivityTypeFieldRefInput<$PrismaModel> in?: $Enums.ActivityType[] notIn?: $Enums.ActivityType[] not?: NestedEnumActivityTypeFilter<$PrismaModel> | $Enums.ActivityType } export type BoolFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolFilter<$PrismaModel> | boolean } export type UsersTokenScalarRelationFilter = { is?: UsersTokenWhereInput isNot?: UsersTokenWhereInput } export type UsersActivityOrderByRelevanceInput = { fields: UsersActivityOrderByRelevanceFieldEnum | UsersActivityOrderByRelevanceFieldEnum[] sort: SortOrder search: string } export type UsersActivityCountOrderByAggregateInput = { UUID_UA?: SortOrder UUID_UT?: SortOrder ActivityType_UA?: SortOrder Params_UA?: SortOrder NotifyAt_UA?: SortOrder UpdatedAt_UA?: SortOrder CreatedAt_UA?: SortOrder Processed_UA?: SortOrder } export type UsersActivityMaxOrderByAggregateInput = { UUID_UA?: SortOrder UUID_UT?: SortOrder ActivityType_UA?: SortOrder Params_UA?: SortOrder NotifyAt_UA?: SortOrder UpdatedAt_UA?: SortOrder CreatedAt_UA?: SortOrder Processed_UA?: SortOrder } export type UsersActivityMinOrderByAggregateInput = { UUID_UA?: SortOrder UUID_UT?: SortOrder ActivityType_UA?: SortOrder Params_UA?: SortOrder NotifyAt_UA?: SortOrder UpdatedAt_UA?: SortOrder CreatedAt_UA?: SortOrder Processed_UA?: SortOrder } export type EnumActivityTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.ActivityType | EnumActivityTypeFieldRefInput<$PrismaModel> in?: $Enums.ActivityType[] notIn?: $Enums.ActivityType[] not?: NestedEnumActivityTypeWithAggregatesFilter<$PrismaModel> | $Enums.ActivityType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumActivityTypeFilter<$PrismaModel> _max?: NestedEnumActivityTypeFilter<$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 EnumCrashSeverityFilter<$PrismaModel = never> = { equals?: $Enums.CrashSeverity | EnumCrashSeverityFieldRefInput<$PrismaModel> in?: $Enums.CrashSeverity[] notIn?: $Enums.CrashSeverity[] not?: NestedEnumCrashSeverityFilter<$PrismaModel> | $Enums.CrashSeverity } export type EnumCrashStatusFilter<$PrismaModel = never> = { equals?: $Enums.CrashStatus | EnumCrashStatusFieldRefInput<$PrismaModel> in?: $Enums.CrashStatus[] notIn?: $Enums.CrashStatus[] not?: NestedEnumCrashStatusFilter<$PrismaModel> | $Enums.CrashStatus } export type EnumDeviceOSFilter<$PrismaModel = never> = { equals?: $Enums.DeviceOS | EnumDeviceOSFieldRefInput<$PrismaModel> in?: $Enums.DeviceOS[] notIn?: $Enums.DeviceOS[] not?: NestedEnumDeviceOSFilter<$PrismaModel> | $Enums.DeviceOS } export type BigIntNullableFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> | null in?: bigint[] | number[] | null notIn?: bigint[] | number[] | null lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntNullableFilter<$PrismaModel> | bigint | number | null } export type BoolNullableFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null not?: NestedBoolNullableFilter<$PrismaModel> | boolean | null } 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 lte?: InputJsonValue gt?: InputJsonValue gte?: InputJsonValue not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } export type IntFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> in?: number[] notIn?: number[] lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntFilter<$PrismaModel> | number } export type CrashReportOrderByRelevanceInput = { fields: CrashReportOrderByRelevanceFieldEnum | CrashReportOrderByRelevanceFieldEnum[] sort: SortOrder search: string } export type CrashReportCountOrderByAggregateInput = { UUID_CR?: SortOrder AppId_CR?: SortOrder AppVersion_CR?: SortOrder BuildVersion_CR?: SortOrder CrashId_CR?: SortOrder SessionId_CR?: SortOrder UserId_CR?: SortOrder CrashType_CR?: SortOrder ExceptionName_CR?: SortOrder ExceptionReason_CR?: SortOrder StackTrace_CR?: SortOrder ThreadName_CR?: SortOrder IsFatal_CR?: SortOrder Severity_CR?: SortOrder Status_CR?: SortOrder DeviceModel_CR?: SortOrder DeviceBrand_CR?: SortOrder OSName_CR?: SortOrder OSVersion_CR?: SortOrder Architecture_CR?: SortOrder AvailableRam_CR?: SortOrder TotalRam_CR?: SortOrder AvailableDisk_CR?: SortOrder TotalDisk_CR?: SortOrder BatteryLevel_CR?: SortOrder IsRooted_CR?: SortOrder IsDebugger_CR?: SortOrder NetworkType_CR?: SortOrder Breadcrumbs_CR?: SortOrder CustomData_CR?: SortOrder Logs_CR?: SortOrder CrashCount_CR?: SortOrder FirstOccurred_CR?: SortOrder LastOccurred_CR?: SortOrder AffectedUsers_CR?: SortOrder CreatedAt_CR?: SortOrder UpdatedAt_CR?: SortOrder ResolvedAt_CR?: SortOrder ResolvedBy_CR?: SortOrder } export type CrashReportAvgOrderByAggregateInput = { AvailableRam_CR?: SortOrder TotalRam_CR?: SortOrder AvailableDisk_CR?: SortOrder TotalDisk_CR?: SortOrder BatteryLevel_CR?: SortOrder CrashCount_CR?: SortOrder AffectedUsers_CR?: SortOrder } export type CrashReportMaxOrderByAggregateInput = { UUID_CR?: SortOrder AppId_CR?: SortOrder AppVersion_CR?: SortOrder BuildVersion_CR?: SortOrder CrashId_CR?: SortOrder SessionId_CR?: SortOrder UserId_CR?: SortOrder CrashType_CR?: SortOrder ExceptionName_CR?: SortOrder ExceptionReason_CR?: SortOrder StackTrace_CR?: SortOrder ThreadName_CR?: SortOrder IsFatal_CR?: SortOrder Severity_CR?: SortOrder Status_CR?: SortOrder DeviceModel_CR?: SortOrder DeviceBrand_CR?: SortOrder OSName_CR?: SortOrder OSVersion_CR?: SortOrder Architecture_CR?: SortOrder AvailableRam_CR?: SortOrder TotalRam_CR?: SortOrder AvailableDisk_CR?: SortOrder TotalDisk_CR?: SortOrder BatteryLevel_CR?: SortOrder IsRooted_CR?: SortOrder IsDebugger_CR?: SortOrder NetworkType_CR?: SortOrder CrashCount_CR?: SortOrder FirstOccurred_CR?: SortOrder LastOccurred_CR?: SortOrder AffectedUsers_CR?: SortOrder CreatedAt_CR?: SortOrder UpdatedAt_CR?: SortOrder ResolvedAt_CR?: SortOrder ResolvedBy_CR?: SortOrder } export type CrashReportMinOrderByAggregateInput = { UUID_CR?: SortOrder AppId_CR?: SortOrder AppVersion_CR?: SortOrder BuildVersion_CR?: SortOrder CrashId_CR?: SortOrder SessionId_CR?: SortOrder UserId_CR?: SortOrder CrashType_CR?: SortOrder ExceptionName_CR?: SortOrder ExceptionReason_CR?: SortOrder StackTrace_CR?: SortOrder ThreadName_CR?: SortOrder IsFatal_CR?: SortOrder Severity_CR?: SortOrder Status_CR?: SortOrder DeviceModel_CR?: SortOrder DeviceBrand_CR?: SortOrder OSName_CR?: SortOrder OSVersion_CR?: SortOrder Architecture_CR?: SortOrder AvailableRam_CR?: SortOrder TotalRam_CR?: SortOrder AvailableDisk_CR?: SortOrder TotalDisk_CR?: SortOrder BatteryLevel_CR?: SortOrder IsRooted_CR?: SortOrder IsDebugger_CR?: SortOrder NetworkType_CR?: SortOrder CrashCount_CR?: SortOrder FirstOccurred_CR?: SortOrder LastOccurred_CR?: SortOrder AffectedUsers_CR?: SortOrder CreatedAt_CR?: SortOrder UpdatedAt_CR?: SortOrder ResolvedAt_CR?: SortOrder ResolvedBy_CR?: SortOrder } export type CrashReportSumOrderByAggregateInput = { AvailableRam_CR?: SortOrder TotalRam_CR?: SortOrder AvailableDisk_CR?: SortOrder TotalDisk_CR?: SortOrder BatteryLevel_CR?: SortOrder CrashCount_CR?: SortOrder AffectedUsers_CR?: SortOrder } export type EnumCrashSeverityWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.CrashSeverity | EnumCrashSeverityFieldRefInput<$PrismaModel> in?: $Enums.CrashSeverity[] notIn?: $Enums.CrashSeverity[] not?: NestedEnumCrashSeverityWithAggregatesFilter<$PrismaModel> | $Enums.CrashSeverity _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumCrashSeverityFilter<$PrismaModel> _max?: NestedEnumCrashSeverityFilter<$PrismaModel> } export type EnumCrashStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.CrashStatus | EnumCrashStatusFieldRefInput<$PrismaModel> in?: $Enums.CrashStatus[] notIn?: $Enums.CrashStatus[] not?: NestedEnumCrashStatusWithAggregatesFilter<$PrismaModel> | $Enums.CrashStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumCrashStatusFilter<$PrismaModel> _max?: NestedEnumCrashStatusFilter<$PrismaModel> } export type EnumDeviceOSWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.DeviceOS | EnumDeviceOSFieldRefInput<$PrismaModel> in?: $Enums.DeviceOS[] notIn?: $Enums.DeviceOS[] not?: NestedEnumDeviceOSWithAggregatesFilter<$PrismaModel> | $Enums.DeviceOS _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumDeviceOSFilter<$PrismaModel> _max?: NestedEnumDeviceOSFilter<$PrismaModel> } export type BigIntNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> | null in?: bigint[] | number[] | null notIn?: bigint[] | number[] | null lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntNullableWithAggregatesFilter<$PrismaModel> | bigint | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedBigIntNullableFilter<$PrismaModel> _min?: NestedBigIntNullableFilter<$PrismaModel> _max?: NestedBigIntNullableFilter<$PrismaModel> } export type BoolNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null not?: NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedBoolNullableFilter<$PrismaModel> _max?: NestedBoolNullableFilter<$PrismaModel> } export type 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 lte?: InputJsonValue gt?: InputJsonValue gte?: InputJsonValue not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedJsonNullableFilter<$PrismaModel> _max?: NestedJsonNullableFilter<$PrismaModel> } export type IntWithAggregatesFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> in?: number[] notIn?: number[] 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 CrashSessionOrderByRelevanceInput = { fields: CrashSessionOrderByRelevanceFieldEnum | CrashSessionOrderByRelevanceFieldEnum[] sort: SortOrder search: string } export type CrashSessionCountOrderByAggregateInput = { UUID_CS?: SortOrder SessionId_CS?: SortOrder AppId_CS?: SortOrder AppVersion_CS?: SortOrder UserId_CS?: SortOrder StartedAt_CS?: SortOrder EndedAt_CS?: SortOrder Duration_CS?: SortOrder IsCrashed_CS?: SortOrder CrashCount_CS?: SortOrder DeviceModel_CS?: SortOrder OSVersion_CS?: SortOrder CreatedAt_CS?: SortOrder UpdatedAt_CS?: SortOrder } export type CrashSessionAvgOrderByAggregateInput = { Duration_CS?: SortOrder CrashCount_CS?: SortOrder } export type CrashSessionMaxOrderByAggregateInput = { UUID_CS?: SortOrder SessionId_CS?: SortOrder AppId_CS?: SortOrder AppVersion_CS?: SortOrder UserId_CS?: SortOrder StartedAt_CS?: SortOrder EndedAt_CS?: SortOrder Duration_CS?: SortOrder IsCrashed_CS?: SortOrder CrashCount_CS?: SortOrder DeviceModel_CS?: SortOrder OSVersion_CS?: SortOrder CreatedAt_CS?: SortOrder UpdatedAt_CS?: SortOrder } export type CrashSessionMinOrderByAggregateInput = { UUID_CS?: SortOrder SessionId_CS?: SortOrder AppId_CS?: SortOrder AppVersion_CS?: SortOrder UserId_CS?: SortOrder StartedAt_CS?: SortOrder EndedAt_CS?: SortOrder Duration_CS?: SortOrder IsCrashed_CS?: SortOrder CrashCount_CS?: SortOrder DeviceModel_CS?: SortOrder OSVersion_CS?: SortOrder CreatedAt_CS?: SortOrder UpdatedAt_CS?: SortOrder } export type CrashSessionSumOrderByAggregateInput = { Duration_CS?: SortOrder CrashCount_CS?: SortOrder } export type CrashAnalyticsOrderByRelevanceInput = { fields: CrashAnalyticsOrderByRelevanceFieldEnum | CrashAnalyticsOrderByRelevanceFieldEnum[] sort: SortOrder search: string } export type CrashAnalyticsAppId_CAAppVersion_CADate_CACompoundUniqueInput = { AppId_CA: string AppVersion_CA: string Date_CA: Date | string } export type CrashAnalyticsCountOrderByAggregateInput = { UUID_CA?: SortOrder AppId_CA?: SortOrder AppVersion_CA?: SortOrder Date_CA?: SortOrder TotalCrashes_CA?: SortOrder FatalCrashes_CA?: SortOrder NonFatalCrashes_CA?: SortOrder UniqueCrashes_CA?: SortOrder AffectedUsers_CA?: SortOrder TotalSessions_CA?: SortOrder CrashedSessions_CA?: SortOrder CrashFreeRate_CA?: SortOrder TopCrashes_CA?: SortOrder CreatedAt_CA?: SortOrder UpdatedAt_CA?: SortOrder } export type CrashAnalyticsAvgOrderByAggregateInput = { TotalCrashes_CA?: SortOrder FatalCrashes_CA?: SortOrder NonFatalCrashes_CA?: SortOrder UniqueCrashes_CA?: SortOrder AffectedUsers_CA?: SortOrder TotalSessions_CA?: SortOrder CrashedSessions_CA?: SortOrder CrashFreeRate_CA?: SortOrder } export type CrashAnalyticsMaxOrderByAggregateInput = { UUID_CA?: SortOrder AppId_CA?: SortOrder AppVersion_CA?: SortOrder Date_CA?: SortOrder TotalCrashes_CA?: SortOrder FatalCrashes_CA?: SortOrder NonFatalCrashes_CA?: SortOrder UniqueCrashes_CA?: SortOrder AffectedUsers_CA?: SortOrder TotalSessions_CA?: SortOrder CrashedSessions_CA?: SortOrder CrashFreeRate_CA?: SortOrder CreatedAt_CA?: SortOrder UpdatedAt_CA?: SortOrder } export type CrashAnalyticsMinOrderByAggregateInput = { UUID_CA?: SortOrder AppId_CA?: SortOrder AppVersion_CA?: SortOrder Date_CA?: SortOrder TotalCrashes_CA?: SortOrder FatalCrashes_CA?: SortOrder NonFatalCrashes_CA?: SortOrder UniqueCrashes_CA?: SortOrder AffectedUsers_CA?: SortOrder TotalSessions_CA?: SortOrder CrashedSessions_CA?: SortOrder CrashFreeRate_CA?: SortOrder CreatedAt_CA?: SortOrder UpdatedAt_CA?: SortOrder } export type CrashAnalyticsSumOrderByAggregateInput = { TotalCrashes_CA?: SortOrder FatalCrashes_CA?: SortOrder NonFatalCrashes_CA?: SortOrder UniqueCrashes_CA?: SortOrder AffectedUsers_CA?: SortOrder TotalSessions_CA?: SortOrder CrashedSessions_CA?: SortOrder CrashFreeRate_CA?: SortOrder } export type AINotificationOrderByRelevanceInput = { fields: AINotificationOrderByRelevanceFieldEnum | AINotificationOrderByRelevanceFieldEnum[] sort: SortOrder search: string } export type AINotificationCountOrderByAggregateInput = { UUID_AIN?: SortOrder UserID_AIN?: SortOrder AnalyzedActivities_AIN?: SortOrder ActivityTypes_AIN?: SortOrder GeneratedTitle_AIN?: SortOrder GeneratedDesc_AIN?: SortOrder SentStatus_AIN?: SortOrder SentAt_AIN?: SortOrder DeliveredAt_AIN?: SortOrder FailedAt_AIN?: SortOrder ErrorMessage_AIN?: SortOrder FCMMessageId_AIN?: SortOrder ResponseTime_AIN?: SortOrder ProcessingTime_AIN?: SortOrder ActivityTimeRange_AIN?: SortOrder AIModel_AIN?: SortOrder ScheduledAt_AIN?: SortOrder PredictedConfidence_AIN?: SortOrder PredictionReasoning_AIN?: SortOrder UserEngagementPattern_AIN?: SortOrder DelayMinutes_AIN?: SortOrder CreatedAt_AIN?: SortOrder UpdatedAt_AIN?: SortOrder } export type AINotificationAvgOrderByAggregateInput = { AnalyzedActivities_AIN?: SortOrder ResponseTime_AIN?: SortOrder ProcessingTime_AIN?: SortOrder ActivityTimeRange_AIN?: SortOrder PredictedConfidence_AIN?: SortOrder DelayMinutes_AIN?: SortOrder } export type AINotificationMaxOrderByAggregateInput = { UUID_AIN?: SortOrder UserID_AIN?: SortOrder AnalyzedActivities_AIN?: SortOrder ActivityTypes_AIN?: SortOrder GeneratedTitle_AIN?: SortOrder GeneratedDesc_AIN?: SortOrder SentStatus_AIN?: SortOrder SentAt_AIN?: SortOrder DeliveredAt_AIN?: SortOrder FailedAt_AIN?: SortOrder ErrorMessage_AIN?: SortOrder FCMMessageId_AIN?: SortOrder ResponseTime_AIN?: SortOrder ProcessingTime_AIN?: SortOrder ActivityTimeRange_AIN?: SortOrder AIModel_AIN?: SortOrder ScheduledAt_AIN?: SortOrder PredictedConfidence_AIN?: SortOrder PredictionReasoning_AIN?: SortOrder UserEngagementPattern_AIN?: SortOrder DelayMinutes_AIN?: SortOrder CreatedAt_AIN?: SortOrder UpdatedAt_AIN?: SortOrder } export type AINotificationMinOrderByAggregateInput = { UUID_AIN?: SortOrder UserID_AIN?: SortOrder AnalyzedActivities_AIN?: SortOrder ActivityTypes_AIN?: SortOrder GeneratedTitle_AIN?: SortOrder GeneratedDesc_AIN?: SortOrder SentStatus_AIN?: SortOrder SentAt_AIN?: SortOrder DeliveredAt_AIN?: SortOrder FailedAt_AIN?: SortOrder ErrorMessage_AIN?: SortOrder FCMMessageId_AIN?: SortOrder ResponseTime_AIN?: SortOrder ProcessingTime_AIN?: SortOrder ActivityTimeRange_AIN?: SortOrder AIModel_AIN?: SortOrder ScheduledAt_AIN?: SortOrder PredictedConfidence_AIN?: SortOrder PredictionReasoning_AIN?: SortOrder UserEngagementPattern_AIN?: SortOrder DelayMinutes_AIN?: SortOrder CreatedAt_AIN?: SortOrder UpdatedAt_AIN?: SortOrder } export type AINotificationSumOrderByAggregateInput = { AnalyzedActivities_AIN?: SortOrder ResponseTime_AIN?: SortOrder ProcessingTime_AIN?: SortOrder ActivityTimeRange_AIN?: SortOrder PredictedConfidence_AIN?: SortOrder DelayMinutes_AIN?: SortOrder } export type AINotificationAnalyticsOrderByRelevanceInput = { fields: AINotificationAnalyticsOrderByRelevanceFieldEnum | AINotificationAnalyticsOrderByRelevanceFieldEnum[] sort: SortOrder search: string } export type AINotificationAnalyticsCountOrderByAggregateInput = { UUID_ANA?: SortOrder Date_ANA?: SortOrder TotalAnalyzed_ANA?: SortOrder TotalGenerated_ANA?: SortOrder TotalSent_ANA?: SortOrder TotalDelivered_ANA?: SortOrder TotalFailed_ANA?: SortOrder DeliveryRate_ANA?: SortOrder AvgResponseTime_ANA?: SortOrder AvgProcessingTime_ANA?: SortOrder TopActivityTypes_ANA?: SortOrder PopularTitles_ANA?: SortOrder ErrorBreakdown_ANA?: SortOrder CreatedAt_ANA?: SortOrder UpdatedAt_ANA?: SortOrder } export type AINotificationAnalyticsAvgOrderByAggregateInput = { TotalAnalyzed_ANA?: SortOrder TotalGenerated_ANA?: SortOrder TotalSent_ANA?: SortOrder TotalDelivered_ANA?: SortOrder TotalFailed_ANA?: SortOrder DeliveryRate_ANA?: SortOrder AvgResponseTime_ANA?: SortOrder AvgProcessingTime_ANA?: SortOrder } export type AINotificationAnalyticsMaxOrderByAggregateInput = { UUID_ANA?: SortOrder Date_ANA?: SortOrder TotalAnalyzed_ANA?: SortOrder TotalGenerated_ANA?: SortOrder TotalSent_ANA?: SortOrder TotalDelivered_ANA?: SortOrder TotalFailed_ANA?: SortOrder DeliveryRate_ANA?: SortOrder AvgResponseTime_ANA?: SortOrder AvgProcessingTime_ANA?: SortOrder CreatedAt_ANA?: SortOrder UpdatedAt_ANA?: SortOrder } export type AINotificationAnalyticsMinOrderByAggregateInput = { UUID_ANA?: SortOrder Date_ANA?: SortOrder TotalAnalyzed_ANA?: SortOrder TotalGenerated_ANA?: SortOrder TotalSent_ANA?: SortOrder TotalDelivered_ANA?: SortOrder TotalFailed_ANA?: SortOrder DeliveryRate_ANA?: SortOrder AvgResponseTime_ANA?: SortOrder AvgProcessingTime_ANA?: SortOrder CreatedAt_ANA?: SortOrder UpdatedAt_ANA?: SortOrder } export type AINotificationAnalyticsSumOrderByAggregateInput = { TotalAnalyzed_ANA?: SortOrder TotalGenerated_ANA?: SortOrder TotalSent_ANA?: SortOrder TotalDelivered_ANA?: SortOrder TotalFailed_ANA?: SortOrder DeliveryRate_ANA?: SortOrder AvgResponseTime_ANA?: SortOrder AvgProcessingTime_ANA?: SortOrder } export type EnumMenuTypeFilter<$PrismaModel = never> = { equals?: $Enums.MenuType | EnumMenuTypeFieldRefInput<$PrismaModel> in?: $Enums.MenuType[] notIn?: $Enums.MenuType[] not?: NestedEnumMenuTypeFilter<$PrismaModel> | $Enums.MenuType } export type AppMenuOrderByRelevanceInput = { fields: AppMenuOrderByRelevanceFieldEnum | AppMenuOrderByRelevanceFieldEnum[] sort: SortOrder search: string } export type AppMenuCountOrderByAggregateInput = { UUID_AM?: SortOrder Name_AM?: SortOrder Route_AM?: SortOrder Icon_AM?: SortOrder IsActive_AM?: SortOrder Badge_AM?: SortOrder Order_AM?: SortOrder Type_AM?: SortOrder CreatedAt_AM?: SortOrder UpdatedAt_AM?: SortOrder } export type AppMenuAvgOrderByAggregateInput = { Order_AM?: SortOrder } export type AppMenuMaxOrderByAggregateInput = { UUID_AM?: SortOrder Name_AM?: SortOrder Route_AM?: SortOrder Icon_AM?: SortOrder IsActive_AM?: SortOrder Badge_AM?: SortOrder Order_AM?: SortOrder Type_AM?: SortOrder CreatedAt_AM?: SortOrder UpdatedAt_AM?: SortOrder } export type AppMenuMinOrderByAggregateInput = { UUID_AM?: SortOrder Name_AM?: SortOrder Route_AM?: SortOrder Icon_AM?: SortOrder IsActive_AM?: SortOrder Badge_AM?: SortOrder Order_AM?: SortOrder Type_AM?: SortOrder CreatedAt_AM?: SortOrder UpdatedAt_AM?: SortOrder } export type AppMenuSumOrderByAggregateInput = { Order_AM?: SortOrder } export type EnumMenuTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.MenuType | EnumMenuTypeFieldRefInput<$PrismaModel> in?: $Enums.MenuType[] notIn?: $Enums.MenuType[] not?: NestedEnumMenuTypeWithAggregatesFilter<$PrismaModel> | $Enums.MenuType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumMenuTypeFilter<$PrismaModel> _max?: NestedEnumMenuTypeFilter<$PrismaModel> } export type StringFieldUpdateOperationsInput = { set?: string } export type NullableDateTimeFieldUpdateOperationsInput = { set?: Date | string | null } export type DateTimeFieldUpdateOperationsInput = { set?: Date | string } export type NullableStringFieldUpdateOperationsInput = { set?: string | null } export type EnumContentTypeFieldUpdateOperationsInput = { set?: $Enums.ContentType } export type EnumCorpTypeFieldUpdateOperationsInput = { set?: $Enums.CorpType } export type CampaignDeliveryCreateNestedManyWithoutAppCampaignInput = { create?: XOR | CampaignDeliveryCreateWithoutAppCampaignInput[] | CampaignDeliveryUncheckedCreateWithoutAppCampaignInput[] connectOrCreate?: CampaignDeliveryCreateOrConnectWithoutAppCampaignInput | CampaignDeliveryCreateOrConnectWithoutAppCampaignInput[] createMany?: CampaignDeliveryCreateManyAppCampaignInputEnvelope connect?: CampaignDeliveryWhereUniqueInput | CampaignDeliveryWhereUniqueInput[] } export type CampaignDeliveryUncheckedCreateNestedManyWithoutAppCampaignInput = { create?: XOR | CampaignDeliveryCreateWithoutAppCampaignInput[] | CampaignDeliveryUncheckedCreateWithoutAppCampaignInput[] connectOrCreate?: CampaignDeliveryCreateOrConnectWithoutAppCampaignInput | CampaignDeliveryCreateOrConnectWithoutAppCampaignInput[] createMany?: CampaignDeliveryCreateManyAppCampaignInputEnvelope connect?: CampaignDeliveryWhereUniqueInput | CampaignDeliveryWhereUniqueInput[] } export type EnumCampaignStatusFieldUpdateOperationsInput = { set?: $Enums.CampaignStatus } export type NullableIntFieldUpdateOperationsInput = { set?: number | null increment?: number decrement?: number multiply?: number divide?: number } export type NullableFloatFieldUpdateOperationsInput = { set?: number | null increment?: number decrement?: number multiply?: number divide?: number } export type CampaignDeliveryUpdateManyWithoutAppCampaignNestedInput = { create?: XOR | CampaignDeliveryCreateWithoutAppCampaignInput[] | CampaignDeliveryUncheckedCreateWithoutAppCampaignInput[] connectOrCreate?: CampaignDeliveryCreateOrConnectWithoutAppCampaignInput | CampaignDeliveryCreateOrConnectWithoutAppCampaignInput[] upsert?: CampaignDeliveryUpsertWithWhereUniqueWithoutAppCampaignInput | CampaignDeliveryUpsertWithWhereUniqueWithoutAppCampaignInput[] createMany?: CampaignDeliveryCreateManyAppCampaignInputEnvelope set?: CampaignDeliveryWhereUniqueInput | CampaignDeliveryWhereUniqueInput[] disconnect?: CampaignDeliveryWhereUniqueInput | CampaignDeliveryWhereUniqueInput[] delete?: CampaignDeliveryWhereUniqueInput | CampaignDeliveryWhereUniqueInput[] connect?: CampaignDeliveryWhereUniqueInput | CampaignDeliveryWhereUniqueInput[] update?: CampaignDeliveryUpdateWithWhereUniqueWithoutAppCampaignInput | CampaignDeliveryUpdateWithWhereUniqueWithoutAppCampaignInput[] updateMany?: CampaignDeliveryUpdateManyWithWhereWithoutAppCampaignInput | CampaignDeliveryUpdateManyWithWhereWithoutAppCampaignInput[] deleteMany?: CampaignDeliveryScalarWhereInput | CampaignDeliveryScalarWhereInput[] } export type CampaignDeliveryUncheckedUpdateManyWithoutAppCampaignNestedInput = { create?: XOR | CampaignDeliveryCreateWithoutAppCampaignInput[] | CampaignDeliveryUncheckedCreateWithoutAppCampaignInput[] connectOrCreate?: CampaignDeliveryCreateOrConnectWithoutAppCampaignInput | CampaignDeliveryCreateOrConnectWithoutAppCampaignInput[] upsert?: CampaignDeliveryUpsertWithWhereUniqueWithoutAppCampaignInput | CampaignDeliveryUpsertWithWhereUniqueWithoutAppCampaignInput[] createMany?: CampaignDeliveryCreateManyAppCampaignInputEnvelope set?: CampaignDeliveryWhereUniqueInput | CampaignDeliveryWhereUniqueInput[] disconnect?: CampaignDeliveryWhereUniqueInput | CampaignDeliveryWhereUniqueInput[] delete?: CampaignDeliveryWhereUniqueInput | CampaignDeliveryWhereUniqueInput[] connect?: CampaignDeliveryWhereUniqueInput | CampaignDeliveryWhereUniqueInput[] update?: CampaignDeliveryUpdateWithWhereUniqueWithoutAppCampaignInput | CampaignDeliveryUpdateWithWhereUniqueWithoutAppCampaignInput[] updateMany?: CampaignDeliveryUpdateManyWithWhereWithoutAppCampaignInput | CampaignDeliveryUpdateManyWithWhereWithoutAppCampaignInput[] deleteMany?: CampaignDeliveryScalarWhereInput | CampaignDeliveryScalarWhereInput[] } export type AppCampaignCreateNestedOneWithoutCampaignDeliveryInput = { create?: XOR connectOrCreate?: AppCampaignCreateOrConnectWithoutCampaignDeliveryInput connect?: AppCampaignWhereUniqueInput } export type EnumDeliveryStatusFieldUpdateOperationsInput = { set?: $Enums.DeliveryStatus } export type AppCampaignUpdateOneRequiredWithoutCampaignDeliveryNestedInput = { create?: XOR connectOrCreate?: AppCampaignCreateOrConnectWithoutCampaignDeliveryInput upsert?: AppCampaignUpsertWithoutCampaignDeliveryInput connect?: AppCampaignWhereUniqueInput update?: XOR, AppCampaignUncheckedUpdateWithoutCampaignDeliveryInput> } export type UsersActivityCreateNestedManyWithoutUsersTokenInput = { create?: XOR | UsersActivityCreateWithoutUsersTokenInput[] | UsersActivityUncheckedCreateWithoutUsersTokenInput[] connectOrCreate?: UsersActivityCreateOrConnectWithoutUsersTokenInput | UsersActivityCreateOrConnectWithoutUsersTokenInput[] createMany?: UsersActivityCreateManyUsersTokenInputEnvelope connect?: UsersActivityWhereUniqueInput | UsersActivityWhereUniqueInput[] } export type UsersActivityUncheckedCreateNestedManyWithoutUsersTokenInput = { create?: XOR | UsersActivityCreateWithoutUsersTokenInput[] | UsersActivityUncheckedCreateWithoutUsersTokenInput[] connectOrCreate?: UsersActivityCreateOrConnectWithoutUsersTokenInput | UsersActivityCreateOrConnectWithoutUsersTokenInput[] createMany?: UsersActivityCreateManyUsersTokenInputEnvelope connect?: UsersActivityWhereUniqueInput | UsersActivityWhereUniqueInput[] } export type UsersActivityUpdateManyWithoutUsersTokenNestedInput = { create?: XOR | UsersActivityCreateWithoutUsersTokenInput[] | UsersActivityUncheckedCreateWithoutUsersTokenInput[] connectOrCreate?: UsersActivityCreateOrConnectWithoutUsersTokenInput | UsersActivityCreateOrConnectWithoutUsersTokenInput[] upsert?: UsersActivityUpsertWithWhereUniqueWithoutUsersTokenInput | UsersActivityUpsertWithWhereUniqueWithoutUsersTokenInput[] createMany?: UsersActivityCreateManyUsersTokenInputEnvelope set?: UsersActivityWhereUniqueInput | UsersActivityWhereUniqueInput[] disconnect?: UsersActivityWhereUniqueInput | UsersActivityWhereUniqueInput[] delete?: UsersActivityWhereUniqueInput | UsersActivityWhereUniqueInput[] connect?: UsersActivityWhereUniqueInput | UsersActivityWhereUniqueInput[] update?: UsersActivityUpdateWithWhereUniqueWithoutUsersTokenInput | UsersActivityUpdateWithWhereUniqueWithoutUsersTokenInput[] updateMany?: UsersActivityUpdateManyWithWhereWithoutUsersTokenInput | UsersActivityUpdateManyWithWhereWithoutUsersTokenInput[] deleteMany?: UsersActivityScalarWhereInput | UsersActivityScalarWhereInput[] } export type UsersActivityUncheckedUpdateManyWithoutUsersTokenNestedInput = { create?: XOR | UsersActivityCreateWithoutUsersTokenInput[] | UsersActivityUncheckedCreateWithoutUsersTokenInput[] connectOrCreate?: UsersActivityCreateOrConnectWithoutUsersTokenInput | UsersActivityCreateOrConnectWithoutUsersTokenInput[] upsert?: UsersActivityUpsertWithWhereUniqueWithoutUsersTokenInput | UsersActivityUpsertWithWhereUniqueWithoutUsersTokenInput[] createMany?: UsersActivityCreateManyUsersTokenInputEnvelope set?: UsersActivityWhereUniqueInput | UsersActivityWhereUniqueInput[] disconnect?: UsersActivityWhereUniqueInput | UsersActivityWhereUniqueInput[] delete?: UsersActivityWhereUniqueInput | UsersActivityWhereUniqueInput[] connect?: UsersActivityWhereUniqueInput | UsersActivityWhereUniqueInput[] update?: UsersActivityUpdateWithWhereUniqueWithoutUsersTokenInput | UsersActivityUpdateWithWhereUniqueWithoutUsersTokenInput[] updateMany?: UsersActivityUpdateManyWithWhereWithoutUsersTokenInput | UsersActivityUpdateManyWithWhereWithoutUsersTokenInput[] deleteMany?: UsersActivityScalarWhereInput | UsersActivityScalarWhereInput[] } export type UsersTokenCreateNestedOneWithoutUsersActivityInput = { create?: XOR connectOrCreate?: UsersTokenCreateOrConnectWithoutUsersActivityInput connect?: UsersTokenWhereUniqueInput } export type EnumActivityTypeFieldUpdateOperationsInput = { set?: $Enums.ActivityType } export type BoolFieldUpdateOperationsInput = { set?: boolean } export type UsersTokenUpdateOneRequiredWithoutUsersActivityNestedInput = { create?: XOR connectOrCreate?: UsersTokenCreateOrConnectWithoutUsersActivityInput upsert?: UsersTokenUpsertWithoutUsersActivityInput connect?: UsersTokenWhereUniqueInput update?: XOR, UsersTokenUncheckedUpdateWithoutUsersActivityInput> } export type EnumCrashSeverityFieldUpdateOperationsInput = { set?: $Enums.CrashSeverity } export type EnumCrashStatusFieldUpdateOperationsInput = { set?: $Enums.CrashStatus } export type EnumDeviceOSFieldUpdateOperationsInput = { set?: $Enums.DeviceOS } export type NullableBigIntFieldUpdateOperationsInput = { set?: bigint | number | null increment?: bigint | number decrement?: bigint | number multiply?: bigint | number divide?: bigint | number } export type NullableBoolFieldUpdateOperationsInput = { set?: boolean | null } export type IntFieldUpdateOperationsInput = { set?: number increment?: number decrement?: number multiply?: number divide?: number } export type EnumMenuTypeFieldUpdateOperationsInput = { set?: $Enums.MenuType } export type NestedStringFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> in?: string[] notIn?: string[] 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> search?: string not?: NestedStringFilter<$PrismaModel> | string } export type NestedDateTimeNullableFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null in?: Date[] | string[] | null notIn?: Date[] | string[] | null lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null } export type NestedDateTimeFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> in?: Date[] | string[] notIn?: Date[] | string[] 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 NestedStringWithAggregatesFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> in?: string[] notIn?: string[] 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> search?: string not?: NestedStringWithAggregatesFilter<$PrismaModel> | string _count?: NestedIntFilter<$PrismaModel> _min?: NestedStringFilter<$PrismaModel> _max?: NestedStringFilter<$PrismaModel> } export type NestedIntFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> in?: number[] notIn?: number[] lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntFilter<$PrismaModel> | number } export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: Date | string | DateTimeFieldRefInput<$PrismaModel> | null in?: Date[] | string[] | null notIn?: Date[] | string[] | null lt?: Date | string | DateTimeFieldRefInput<$PrismaModel> lte?: Date | string | DateTimeFieldRefInput<$PrismaModel> gt?: Date | string | DateTimeFieldRefInput<$PrismaModel> gte?: Date | string | DateTimeFieldRefInput<$PrismaModel> not?: NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedDateTimeNullableFilter<$PrismaModel> _max?: NestedDateTimeNullableFilter<$PrismaModel> } export type NestedIntNullableFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> | null in?: number[] | null notIn?: number[] | 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[] notIn?: Date[] | string[] 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 NestedStringNullableFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> | null in?: string[] | null notIn?: string[] | 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> search?: string not?: NestedStringNullableFilter<$PrismaModel> | string | null } export type NestedEnumContentTypeFilter<$PrismaModel = never> = { equals?: $Enums.ContentType | EnumContentTypeFieldRefInput<$PrismaModel> in?: $Enums.ContentType[] notIn?: $Enums.ContentType[] not?: NestedEnumContentTypeFilter<$PrismaModel> | $Enums.ContentType } export type NestedEnumCorpTypeFilter<$PrismaModel = never> = { equals?: $Enums.CorpType | EnumCorpTypeFieldRefInput<$PrismaModel> in?: $Enums.CorpType[] notIn?: $Enums.CorpType[] not?: NestedEnumCorpTypeFilter<$PrismaModel> | $Enums.CorpType } export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: string | StringFieldRefInput<$PrismaModel> | null in?: string[] | null notIn?: string[] | 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> search?: string not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedStringNullableFilter<$PrismaModel> _max?: NestedStringNullableFilter<$PrismaModel> } export type NestedEnumContentTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.ContentType | EnumContentTypeFieldRefInput<$PrismaModel> in?: $Enums.ContentType[] notIn?: $Enums.ContentType[] not?: NestedEnumContentTypeWithAggregatesFilter<$PrismaModel> | $Enums.ContentType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumContentTypeFilter<$PrismaModel> _max?: NestedEnumContentTypeFilter<$PrismaModel> } export type NestedEnumCorpTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.CorpType | EnumCorpTypeFieldRefInput<$PrismaModel> in?: $Enums.CorpType[] notIn?: $Enums.CorpType[] not?: NestedEnumCorpTypeWithAggregatesFilter<$PrismaModel> | $Enums.CorpType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumCorpTypeFilter<$PrismaModel> _max?: NestedEnumCorpTypeFilter<$PrismaModel> } export type NestedEnumCampaignStatusFilter<$PrismaModel = never> = { equals?: $Enums.CampaignStatus | EnumCampaignStatusFieldRefInput<$PrismaModel> in?: $Enums.CampaignStatus[] notIn?: $Enums.CampaignStatus[] not?: NestedEnumCampaignStatusFilter<$PrismaModel> | $Enums.CampaignStatus } export type NestedFloatNullableFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> | null in?: number[] | null notIn?: number[] | null lt?: number | FloatFieldRefInput<$PrismaModel> lte?: number | FloatFieldRefInput<$PrismaModel> gt?: number | FloatFieldRefInput<$PrismaModel> gte?: number | FloatFieldRefInput<$PrismaModel> not?: NestedFloatNullableFilter<$PrismaModel> | number | null } export type NestedEnumCampaignStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.CampaignStatus | EnumCampaignStatusFieldRefInput<$PrismaModel> in?: $Enums.CampaignStatus[] notIn?: $Enums.CampaignStatus[] not?: NestedEnumCampaignStatusWithAggregatesFilter<$PrismaModel> | $Enums.CampaignStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumCampaignStatusFilter<$PrismaModel> _max?: NestedEnumCampaignStatusFilter<$PrismaModel> } export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> | null in?: number[] | null notIn?: number[] | null lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedIntNullableFilter<$PrismaModel> _min?: NestedIntNullableFilter<$PrismaModel> _max?: NestedIntNullableFilter<$PrismaModel> } export type NestedFloatNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> | null in?: number[] | null notIn?: number[] | 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 NestedEnumDeliveryStatusFilter<$PrismaModel = never> = { equals?: $Enums.DeliveryStatus | EnumDeliveryStatusFieldRefInput<$PrismaModel> in?: $Enums.DeliveryStatus[] notIn?: $Enums.DeliveryStatus[] not?: NestedEnumDeliveryStatusFilter<$PrismaModel> | $Enums.DeliveryStatus } export type NestedEnumDeliveryStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.DeliveryStatus | EnumDeliveryStatusFieldRefInput<$PrismaModel> in?: $Enums.DeliveryStatus[] notIn?: $Enums.DeliveryStatus[] not?: NestedEnumDeliveryStatusWithAggregatesFilter<$PrismaModel> | $Enums.DeliveryStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumDeliveryStatusFilter<$PrismaModel> _max?: NestedEnumDeliveryStatusFilter<$PrismaModel> } export type NestedEnumActivityTypeFilter<$PrismaModel = never> = { equals?: $Enums.ActivityType | EnumActivityTypeFieldRefInput<$PrismaModel> in?: $Enums.ActivityType[] notIn?: $Enums.ActivityType[] not?: NestedEnumActivityTypeFilter<$PrismaModel> | $Enums.ActivityType } export type NestedBoolFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> not?: NestedBoolFilter<$PrismaModel> | boolean } export type NestedEnumActivityTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.ActivityType | EnumActivityTypeFieldRefInput<$PrismaModel> in?: $Enums.ActivityType[] notIn?: $Enums.ActivityType[] not?: NestedEnumActivityTypeWithAggregatesFilter<$PrismaModel> | $Enums.ActivityType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumActivityTypeFilter<$PrismaModel> _max?: NestedEnumActivityTypeFilter<$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 NestedEnumCrashSeverityFilter<$PrismaModel = never> = { equals?: $Enums.CrashSeverity | EnumCrashSeverityFieldRefInput<$PrismaModel> in?: $Enums.CrashSeverity[] notIn?: $Enums.CrashSeverity[] not?: NestedEnumCrashSeverityFilter<$PrismaModel> | $Enums.CrashSeverity } export type NestedEnumCrashStatusFilter<$PrismaModel = never> = { equals?: $Enums.CrashStatus | EnumCrashStatusFieldRefInput<$PrismaModel> in?: $Enums.CrashStatus[] notIn?: $Enums.CrashStatus[] not?: NestedEnumCrashStatusFilter<$PrismaModel> | $Enums.CrashStatus } export type NestedEnumDeviceOSFilter<$PrismaModel = never> = { equals?: $Enums.DeviceOS | EnumDeviceOSFieldRefInput<$PrismaModel> in?: $Enums.DeviceOS[] notIn?: $Enums.DeviceOS[] not?: NestedEnumDeviceOSFilter<$PrismaModel> | $Enums.DeviceOS } export type NestedBigIntNullableFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> | null in?: bigint[] | number[] | null notIn?: bigint[] | number[] | null lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntNullableFilter<$PrismaModel> | bigint | number | null } export type NestedBoolNullableFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null not?: NestedBoolNullableFilter<$PrismaModel> | boolean | null } export type NestedEnumCrashSeverityWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.CrashSeverity | EnumCrashSeverityFieldRefInput<$PrismaModel> in?: $Enums.CrashSeverity[] notIn?: $Enums.CrashSeverity[] not?: NestedEnumCrashSeverityWithAggregatesFilter<$PrismaModel> | $Enums.CrashSeverity _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumCrashSeverityFilter<$PrismaModel> _max?: NestedEnumCrashSeverityFilter<$PrismaModel> } export type NestedEnumCrashStatusWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.CrashStatus | EnumCrashStatusFieldRefInput<$PrismaModel> in?: $Enums.CrashStatus[] notIn?: $Enums.CrashStatus[] not?: NestedEnumCrashStatusWithAggregatesFilter<$PrismaModel> | $Enums.CrashStatus _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumCrashStatusFilter<$PrismaModel> _max?: NestedEnumCrashStatusFilter<$PrismaModel> } export type NestedEnumDeviceOSWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.DeviceOS | EnumDeviceOSFieldRefInput<$PrismaModel> in?: $Enums.DeviceOS[] notIn?: $Enums.DeviceOS[] not?: NestedEnumDeviceOSWithAggregatesFilter<$PrismaModel> | $Enums.DeviceOS _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumDeviceOSFilter<$PrismaModel> _max?: NestedEnumDeviceOSFilter<$PrismaModel> } export type NestedBigIntNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: bigint | number | BigIntFieldRefInput<$PrismaModel> | null in?: bigint[] | number[] | null notIn?: bigint[] | number[] | null lt?: bigint | number | BigIntFieldRefInput<$PrismaModel> lte?: bigint | number | BigIntFieldRefInput<$PrismaModel> gt?: bigint | number | BigIntFieldRefInput<$PrismaModel> gte?: bigint | number | BigIntFieldRefInput<$PrismaModel> not?: NestedBigIntNullableWithAggregatesFilter<$PrismaModel> | bigint | number | null _count?: NestedIntNullableFilter<$PrismaModel> _avg?: NestedFloatNullableFilter<$PrismaModel> _sum?: NestedBigIntNullableFilter<$PrismaModel> _min?: NestedBigIntNullableFilter<$PrismaModel> _max?: NestedBigIntNullableFilter<$PrismaModel> } export type NestedBoolNullableWithAggregatesFilter<$PrismaModel = never> = { equals?: boolean | BooleanFieldRefInput<$PrismaModel> | null not?: NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null _count?: NestedIntNullableFilter<$PrismaModel> _min?: NestedBoolNullableFilter<$PrismaModel> _max?: NestedBoolNullableFilter<$PrismaModel> } export type 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 lte?: InputJsonValue gt?: InputJsonValue gte?: InputJsonValue not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter } export type NestedIntWithAggregatesFilter<$PrismaModel = never> = { equals?: number | IntFieldRefInput<$PrismaModel> in?: number[] notIn?: number[] lt?: number | IntFieldRefInput<$PrismaModel> lte?: number | IntFieldRefInput<$PrismaModel> gt?: number | IntFieldRefInput<$PrismaModel> gte?: number | IntFieldRefInput<$PrismaModel> not?: NestedIntWithAggregatesFilter<$PrismaModel> | number _count?: NestedIntFilter<$PrismaModel> _avg?: NestedFloatFilter<$PrismaModel> _sum?: NestedIntFilter<$PrismaModel> _min?: NestedIntFilter<$PrismaModel> _max?: NestedIntFilter<$PrismaModel> } export type NestedFloatFilter<$PrismaModel = never> = { equals?: number | FloatFieldRefInput<$PrismaModel> in?: number[] notIn?: number[] lt?: number | FloatFieldRefInput<$PrismaModel> lte?: number | FloatFieldRefInput<$PrismaModel> gt?: number | FloatFieldRefInput<$PrismaModel> gte?: number | FloatFieldRefInput<$PrismaModel> not?: NestedFloatFilter<$PrismaModel> | number } export type NestedEnumMenuTypeFilter<$PrismaModel = never> = { equals?: $Enums.MenuType | EnumMenuTypeFieldRefInput<$PrismaModel> in?: $Enums.MenuType[] notIn?: $Enums.MenuType[] not?: NestedEnumMenuTypeFilter<$PrismaModel> | $Enums.MenuType } export type NestedEnumMenuTypeWithAggregatesFilter<$PrismaModel = never> = { equals?: $Enums.MenuType | EnumMenuTypeFieldRefInput<$PrismaModel> in?: $Enums.MenuType[] notIn?: $Enums.MenuType[] not?: NestedEnumMenuTypeWithAggregatesFilter<$PrismaModel> | $Enums.MenuType _count?: NestedIntFilter<$PrismaModel> _min?: NestedEnumMenuTypeFilter<$PrismaModel> _max?: NestedEnumMenuTypeFilter<$PrismaModel> } export type CampaignDeliveryCreateWithoutAppCampaignInput = { UUID_CD?: string UserID_CD: string Token_CD: string Status_CD?: $Enums.DeliveryStatus SentAt_CD?: Date | string | null DeliveredAt_CD?: Date | string | null FailedAt_CD?: Date | string | null ErrorMessage_CD?: string | null ResponseData_CD?: string | null CreatedAt_CD?: Date | string UpdatedAt_CD?: Date | string } export type CampaignDeliveryUncheckedCreateWithoutAppCampaignInput = { UUID_CD?: string UserID_CD: string Token_CD: string Status_CD?: $Enums.DeliveryStatus SentAt_CD?: Date | string | null DeliveredAt_CD?: Date | string | null FailedAt_CD?: Date | string | null ErrorMessage_CD?: string | null ResponseData_CD?: string | null CreatedAt_CD?: Date | string UpdatedAt_CD?: Date | string } export type CampaignDeliveryCreateOrConnectWithoutAppCampaignInput = { where: CampaignDeliveryWhereUniqueInput create: XOR } export type CampaignDeliveryCreateManyAppCampaignInputEnvelope = { data: CampaignDeliveryCreateManyAppCampaignInput | CampaignDeliveryCreateManyAppCampaignInput[] skipDuplicates?: boolean } export type CampaignDeliveryUpsertWithWhereUniqueWithoutAppCampaignInput = { where: CampaignDeliveryWhereUniqueInput update: XOR create: XOR } export type CampaignDeliveryUpdateWithWhereUniqueWithoutAppCampaignInput = { where: CampaignDeliveryWhereUniqueInput data: XOR } export type CampaignDeliveryUpdateManyWithWhereWithoutAppCampaignInput = { where: CampaignDeliveryScalarWhereInput data: XOR } export type CampaignDeliveryScalarWhereInput = { AND?: CampaignDeliveryScalarWhereInput | CampaignDeliveryScalarWhereInput[] OR?: CampaignDeliveryScalarWhereInput[] NOT?: CampaignDeliveryScalarWhereInput | CampaignDeliveryScalarWhereInput[] UUID_CD?: StringFilter<"CampaignDelivery"> | string Campaign_CD?: StringFilter<"CampaignDelivery"> | string UserID_CD?: StringFilter<"CampaignDelivery"> | string Token_CD?: StringFilter<"CampaignDelivery"> | string Status_CD?: EnumDeliveryStatusFilter<"CampaignDelivery"> | $Enums.DeliveryStatus SentAt_CD?: DateTimeNullableFilter<"CampaignDelivery"> | Date | string | null DeliveredAt_CD?: DateTimeNullableFilter<"CampaignDelivery"> | Date | string | null FailedAt_CD?: DateTimeNullableFilter<"CampaignDelivery"> | Date | string | null ErrorMessage_CD?: StringNullableFilter<"CampaignDelivery"> | string | null ResponseData_CD?: StringNullableFilter<"CampaignDelivery"> | string | null CreatedAt_CD?: DateTimeFilter<"CampaignDelivery"> | Date | string UpdatedAt_CD?: DateTimeFilter<"CampaignDelivery"> | Date | string } export type AppCampaignCreateWithoutCampaignDeliveryInput = { UUID_ACP?: string Title_ACP: string Content_ACP: string Date_ACP: Date | string Status_ACP?: $Enums.CampaignStatus UpdatedAt_ACP?: Date | string CreatedAt_ACP?: Date | string TargetUsers_ACP?: number | null SentCount_ACP?: number | null SuccessCount_ACP?: number | null FailureCount_ACP?: number | null DeliveryRate_ACP?: number | null SentAt_ACP?: Date | string | null CompletedAt_ACP?: Date | string | null ErrorMessage_ACP?: string | null Data_ACP?: string | null ImageUrl_ACP?: string | null } export type AppCampaignUncheckedCreateWithoutCampaignDeliveryInput = { UUID_ACP?: string Title_ACP: string Content_ACP: string Date_ACP: Date | string Status_ACP?: $Enums.CampaignStatus UpdatedAt_ACP?: Date | string CreatedAt_ACP?: Date | string TargetUsers_ACP?: number | null SentCount_ACP?: number | null SuccessCount_ACP?: number | null FailureCount_ACP?: number | null DeliveryRate_ACP?: number | null SentAt_ACP?: Date | string | null CompletedAt_ACP?: Date | string | null ErrorMessage_ACP?: string | null Data_ACP?: string | null ImageUrl_ACP?: string | null } export type AppCampaignCreateOrConnectWithoutCampaignDeliveryInput = { where: AppCampaignWhereUniqueInput create: XOR } export type AppCampaignUpsertWithoutCampaignDeliveryInput = { update: XOR create: XOR where?: AppCampaignWhereInput } export type AppCampaignUpdateToOneWithWhereWithoutCampaignDeliveryInput = { where?: AppCampaignWhereInput data: XOR } export type AppCampaignUpdateWithoutCampaignDeliveryInput = { UUID_ACP?: StringFieldUpdateOperationsInput | string Title_ACP?: StringFieldUpdateOperationsInput | string Content_ACP?: StringFieldUpdateOperationsInput | string Date_ACP?: DateTimeFieldUpdateOperationsInput | Date | string Status_ACP?: EnumCampaignStatusFieldUpdateOperationsInput | $Enums.CampaignStatus UpdatedAt_ACP?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_ACP?: DateTimeFieldUpdateOperationsInput | Date | string TargetUsers_ACP?: NullableIntFieldUpdateOperationsInput | number | null SentCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null SuccessCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null FailureCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null DeliveryRate_ACP?: NullableFloatFieldUpdateOperationsInput | number | null SentAt_ACP?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null CompletedAt_ACP?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_ACP?: NullableStringFieldUpdateOperationsInput | string | null Data_ACP?: NullableStringFieldUpdateOperationsInput | string | null ImageUrl_ACP?: NullableStringFieldUpdateOperationsInput | string | null } export type AppCampaignUncheckedUpdateWithoutCampaignDeliveryInput = { UUID_ACP?: StringFieldUpdateOperationsInput | string Title_ACP?: StringFieldUpdateOperationsInput | string Content_ACP?: StringFieldUpdateOperationsInput | string Date_ACP?: DateTimeFieldUpdateOperationsInput | Date | string Status_ACP?: EnumCampaignStatusFieldUpdateOperationsInput | $Enums.CampaignStatus UpdatedAt_ACP?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_ACP?: DateTimeFieldUpdateOperationsInput | Date | string TargetUsers_ACP?: NullableIntFieldUpdateOperationsInput | number | null SentCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null SuccessCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null FailureCount_ACP?: NullableIntFieldUpdateOperationsInput | number | null DeliveryRate_ACP?: NullableFloatFieldUpdateOperationsInput | number | null SentAt_ACP?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null CompletedAt_ACP?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_ACP?: NullableStringFieldUpdateOperationsInput | string | null Data_ACP?: NullableStringFieldUpdateOperationsInput | string | null ImageUrl_ACP?: NullableStringFieldUpdateOperationsInput | string | null } export type UsersActivityCreateWithoutUsersTokenInput = { UUID_UA?: string ActivityType_UA: $Enums.ActivityType Params_UA: string NotifyAt_UA?: Date | string UpdatedAt_UA?: Date | string CreatedAt_UA?: Date | string Processed_UA?: boolean } export type UsersActivityUncheckedCreateWithoutUsersTokenInput = { UUID_UA?: string ActivityType_UA: $Enums.ActivityType Params_UA: string NotifyAt_UA?: Date | string UpdatedAt_UA?: Date | string CreatedAt_UA?: Date | string Processed_UA?: boolean } export type UsersActivityCreateOrConnectWithoutUsersTokenInput = { where: UsersActivityWhereUniqueInput create: XOR } export type UsersActivityCreateManyUsersTokenInputEnvelope = { data: UsersActivityCreateManyUsersTokenInput | UsersActivityCreateManyUsersTokenInput[] skipDuplicates?: boolean } export type UsersActivityUpsertWithWhereUniqueWithoutUsersTokenInput = { where: UsersActivityWhereUniqueInput update: XOR create: XOR } export type UsersActivityUpdateWithWhereUniqueWithoutUsersTokenInput = { where: UsersActivityWhereUniqueInput data: XOR } export type UsersActivityUpdateManyWithWhereWithoutUsersTokenInput = { where: UsersActivityScalarWhereInput data: XOR } export type UsersActivityScalarWhereInput = { AND?: UsersActivityScalarWhereInput | UsersActivityScalarWhereInput[] OR?: UsersActivityScalarWhereInput[] NOT?: UsersActivityScalarWhereInput | UsersActivityScalarWhereInput[] UUID_UA?: StringFilter<"UsersActivity"> | string UUID_UT?: StringFilter<"UsersActivity"> | string ActivityType_UA?: EnumActivityTypeFilter<"UsersActivity"> | $Enums.ActivityType Params_UA?: StringFilter<"UsersActivity"> | string NotifyAt_UA?: DateTimeFilter<"UsersActivity"> | Date | string UpdatedAt_UA?: DateTimeFilter<"UsersActivity"> | Date | string CreatedAt_UA?: DateTimeFilter<"UsersActivity"> | Date | string Processed_UA?: BoolFilter<"UsersActivity"> | boolean } export type UsersTokenCreateWithoutUsersActivityInput = { UUID_UT?: string UserID_UT: string Token_UT: string UpdatedAt_UT?: Date | string CreatedAt_UT?: Date | string } export type UsersTokenUncheckedCreateWithoutUsersActivityInput = { UUID_UT?: string UserID_UT: string Token_UT: string UpdatedAt_UT?: Date | string CreatedAt_UT?: Date | string } export type UsersTokenCreateOrConnectWithoutUsersActivityInput = { where: UsersTokenWhereUniqueInput create: XOR } export type UsersTokenUpsertWithoutUsersActivityInput = { update: XOR create: XOR where?: UsersTokenWhereInput } export type UsersTokenUpdateToOneWithWhereWithoutUsersActivityInput = { where?: UsersTokenWhereInput data: XOR } export type UsersTokenUpdateWithoutUsersActivityInput = { UUID_UT?: StringFieldUpdateOperationsInput | string UserID_UT?: StringFieldUpdateOperationsInput | string Token_UT?: StringFieldUpdateOperationsInput | string UpdatedAt_UT?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_UT?: DateTimeFieldUpdateOperationsInput | Date | string } export type UsersTokenUncheckedUpdateWithoutUsersActivityInput = { UUID_UT?: StringFieldUpdateOperationsInput | string UserID_UT?: StringFieldUpdateOperationsInput | string Token_UT?: StringFieldUpdateOperationsInput | string UpdatedAt_UT?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_UT?: DateTimeFieldUpdateOperationsInput | Date | string } export type CampaignDeliveryCreateManyAppCampaignInput = { UUID_CD?: string UserID_CD: string Token_CD: string Status_CD?: $Enums.DeliveryStatus SentAt_CD?: Date | string | null DeliveredAt_CD?: Date | string | null FailedAt_CD?: Date | string | null ErrorMessage_CD?: string | null ResponseData_CD?: string | null CreatedAt_CD?: Date | string UpdatedAt_CD?: Date | string } export type CampaignDeliveryUpdateWithoutAppCampaignInput = { UUID_CD?: StringFieldUpdateOperationsInput | string UserID_CD?: StringFieldUpdateOperationsInput | string Token_CD?: StringFieldUpdateOperationsInput | string Status_CD?: EnumDeliveryStatusFieldUpdateOperationsInput | $Enums.DeliveryStatus SentAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null DeliveredAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null FailedAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_CD?: NullableStringFieldUpdateOperationsInput | string | null ResponseData_CD?: NullableStringFieldUpdateOperationsInput | string | null CreatedAt_CD?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CD?: DateTimeFieldUpdateOperationsInput | Date | string } export type CampaignDeliveryUncheckedUpdateWithoutAppCampaignInput = { UUID_CD?: StringFieldUpdateOperationsInput | string UserID_CD?: StringFieldUpdateOperationsInput | string Token_CD?: StringFieldUpdateOperationsInput | string Status_CD?: EnumDeliveryStatusFieldUpdateOperationsInput | $Enums.DeliveryStatus SentAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null DeliveredAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null FailedAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_CD?: NullableStringFieldUpdateOperationsInput | string | null ResponseData_CD?: NullableStringFieldUpdateOperationsInput | string | null CreatedAt_CD?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CD?: DateTimeFieldUpdateOperationsInput | Date | string } export type CampaignDeliveryUncheckedUpdateManyWithoutAppCampaignInput = { UUID_CD?: StringFieldUpdateOperationsInput | string UserID_CD?: StringFieldUpdateOperationsInput | string Token_CD?: StringFieldUpdateOperationsInput | string Status_CD?: EnumDeliveryStatusFieldUpdateOperationsInput | $Enums.DeliveryStatus SentAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null DeliveredAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null FailedAt_CD?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null ErrorMessage_CD?: NullableStringFieldUpdateOperationsInput | string | null ResponseData_CD?: NullableStringFieldUpdateOperationsInput | string | null CreatedAt_CD?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_CD?: DateTimeFieldUpdateOperationsInput | Date | string } export type UsersActivityCreateManyUsersTokenInput = { UUID_UA?: string ActivityType_UA: $Enums.ActivityType Params_UA: string NotifyAt_UA?: Date | string UpdatedAt_UA?: Date | string CreatedAt_UA?: Date | string Processed_UA?: boolean } export type UsersActivityUpdateWithoutUsersTokenInput = { UUID_UA?: StringFieldUpdateOperationsInput | string ActivityType_UA?: EnumActivityTypeFieldUpdateOperationsInput | $Enums.ActivityType Params_UA?: StringFieldUpdateOperationsInput | string NotifyAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string Processed_UA?: BoolFieldUpdateOperationsInput | boolean } export type UsersActivityUncheckedUpdateWithoutUsersTokenInput = { UUID_UA?: StringFieldUpdateOperationsInput | string ActivityType_UA?: EnumActivityTypeFieldUpdateOperationsInput | $Enums.ActivityType Params_UA?: StringFieldUpdateOperationsInput | string NotifyAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string Processed_UA?: BoolFieldUpdateOperationsInput | boolean } export type UsersActivityUncheckedUpdateManyWithoutUsersTokenInput = { UUID_UA?: StringFieldUpdateOperationsInput | string ActivityType_UA?: EnumActivityTypeFieldUpdateOperationsInput | $Enums.ActivityType Params_UA?: StringFieldUpdateOperationsInput | string NotifyAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string UpdatedAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string CreatedAt_UA?: DateTimeFieldUpdateOperationsInput | Date | string Processed_UA?: BoolFieldUpdateOperationsInput | boolean } /** * Batch Payload for updateMany & deleteMany & createMany */ export type BatchPayload = { count: number } /** * DMMF */ export const dmmf: runtime.BaseDMMF }