21151 lines
781 KiB
TypeScript
21151 lines
781 KiB
TypeScript
|
|
/**
|
|
* Client
|
|
**/
|
|
|
|
import * as runtime from './runtime/library.js';
|
|
import $Types = runtime.Types // general types
|
|
import $Public = runtime.Types.Public
|
|
import $Utils = runtime.Types.Utils
|
|
import $Extensions = runtime.Types.Extensions
|
|
import $Result = runtime.Types.Result
|
|
|
|
export type PrismaPromise<T> = $Public.PrismaPromise<T>
|
|
|
|
|
|
/**
|
|
* Model AdminAccount
|
|
*
|
|
*/
|
|
export type AdminAccount = $Result.DefaultSelection<Prisma.$AdminAccountPayload>
|
|
/**
|
|
* Model AppCredential
|
|
*
|
|
*/
|
|
export type AppCredential = $Result.DefaultSelection<Prisma.$AppCredentialPayload>
|
|
/**
|
|
* Model AppContent
|
|
*
|
|
*/
|
|
export type AppContent = $Result.DefaultSelection<Prisma.$AppContentPayload>
|
|
/**
|
|
* Model AppCampaign
|
|
*
|
|
*/
|
|
export type AppCampaign = $Result.DefaultSelection<Prisma.$AppCampaignPayload>
|
|
/**
|
|
* Model CampaignDelivery
|
|
*
|
|
*/
|
|
export type CampaignDelivery = $Result.DefaultSelection<Prisma.$CampaignDeliveryPayload>
|
|
/**
|
|
* Model UsersToken
|
|
*
|
|
*/
|
|
export type UsersToken = $Result.DefaultSelection<Prisma.$UsersTokenPayload>
|
|
/**
|
|
* Model UsersActivity
|
|
*
|
|
*/
|
|
export type UsersActivity = $Result.DefaultSelection<Prisma.$UsersActivityPayload>
|
|
/**
|
|
* Model CrashReport
|
|
*
|
|
*/
|
|
export type CrashReport = $Result.DefaultSelection<Prisma.$CrashReportPayload>
|
|
/**
|
|
* Model CrashSession
|
|
*
|
|
*/
|
|
export type CrashSession = $Result.DefaultSelection<Prisma.$CrashSessionPayload>
|
|
/**
|
|
* Model CrashAnalytics
|
|
*
|
|
*/
|
|
export type CrashAnalytics = $Result.DefaultSelection<Prisma.$CrashAnalyticsPayload>
|
|
/**
|
|
* Model AINotification
|
|
*
|
|
*/
|
|
export type AINotification = $Result.DefaultSelection<Prisma.$AINotificationPayload>
|
|
/**
|
|
* Model AINotificationAnalytics
|
|
*
|
|
*/
|
|
export type AINotificationAnalytics = $Result.DefaultSelection<Prisma.$AINotificationAnalyticsPayload>
|
|
/**
|
|
* Model AppMenu
|
|
*
|
|
*/
|
|
export type AppMenu = $Result.DefaultSelection<Prisma.$AppMenuPayload>
|
|
|
|
/**
|
|
* 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.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never,
|
|
ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs
|
|
> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] }
|
|
|
|
/**
|
|
* ## Prisma Client ʲˢ
|
|
*
|
|
* Type-safe database client for TypeScript & Node.js
|
|
* @example
|
|
* ```
|
|
* const prisma = new PrismaClient()
|
|
* // Fetch zero or more 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<ClientOptions, Prisma.PrismaClientOptions>);
|
|
$on<V extends U>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
|
|
|
|
/**
|
|
* Connect with the database
|
|
*/
|
|
$connect(): $Utils.JsPromise<void>;
|
|
|
|
/**
|
|
* Disconnect from the database
|
|
*/
|
|
$disconnect(): $Utils.JsPromise<void>;
|
|
|
|
/**
|
|
* Add a middleware
|
|
* @deprecated since 4.16.0. For new code, prefer client extensions instead.
|
|
* @see https://pris.ly/d/extensions
|
|
*/
|
|
$use(cb: Prisma.Middleware): void
|
|
|
|
/**
|
|
* Executes a prepared raw query and returns the number of affected rows.
|
|
* @example
|
|
* ```
|
|
* const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
|
|
* ```
|
|
*
|
|
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
|
|
*/
|
|
$executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
|
|
/**
|
|
* Executes a raw query and returns the number of affected rows.
|
|
* Susceptible to SQL injections, see documentation.
|
|
* @example
|
|
* ```
|
|
* const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
|
|
* ```
|
|
*
|
|
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
|
|
*/
|
|
$executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
|
|
/**
|
|
* Performs a prepared raw query and returns the `SELECT` data.
|
|
* @example
|
|
* ```
|
|
* const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
|
|
* ```
|
|
*
|
|
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
|
|
*/
|
|
$queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
|
|
/**
|
|
* Performs a raw query and returns the `SELECT` data.
|
|
* Susceptible to SQL injections, see documentation.
|
|
* @example
|
|
* ```
|
|
* const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
|
|
* ```
|
|
*
|
|
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
|
|
*/
|
|
$queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
|
|
|
|
/**
|
|
* Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
|
|
* @example
|
|
* ```
|
|
* const [george, bob, alice] = await prisma.$transaction([
|
|
* prisma.user.create({ data: { name: 'George' } }),
|
|
* prisma.user.create({ data: { name: 'Bob' } }),
|
|
* prisma.user.create({ data: { name: 'Alice' } }),
|
|
* ])
|
|
* ```
|
|
*
|
|
* Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions).
|
|
*/
|
|
$transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>
|
|
|
|
$transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => $Utils.JsPromise<R>, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<R>
|
|
|
|
|
|
$extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<ClientOptions>, ExtArgs, $Utils.Call<Prisma.TypeMapCb<ClientOptions>, {
|
|
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<ExtArgs, ClientOptions>;
|
|
|
|
/**
|
|
* `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<ExtArgs, ClientOptions>;
|
|
|
|
/**
|
|
* `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<ExtArgs, ClientOptions>;
|
|
|
|
/**
|
|
* `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<ExtArgs, ClientOptions>;
|
|
|
|
/**
|
|
* `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<ExtArgs, ClientOptions>;
|
|
|
|
/**
|
|
* `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<ExtArgs, ClientOptions>;
|
|
|
|
/**
|
|
* `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<ExtArgs, ClientOptions>;
|
|
|
|
/**
|
|
* `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<ExtArgs, ClientOptions>;
|
|
|
|
/**
|
|
* `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<ExtArgs, ClientOptions>;
|
|
|
|
/**
|
|
* `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<ExtArgs, ClientOptions>;
|
|
|
|
/**
|
|
* `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<ExtArgs, ClientOptions>;
|
|
|
|
/**
|
|
* `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<ExtArgs, ClientOptions>;
|
|
|
|
/**
|
|
* `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<ExtArgs, ClientOptions>;
|
|
}
|
|
|
|
export namespace Prisma {
|
|
export import DMMF = runtime.DMMF
|
|
|
|
export type PrismaPromise<T> = $Public.PrismaPromise<T>
|
|
|
|
/**
|
|
* Validator
|
|
*/
|
|
export import validator = runtime.Public.validator
|
|
|
|
/**
|
|
* Prisma Errors
|
|
*/
|
|
export import PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
|
|
export import PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
|
|
export import PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
|
|
export import PrismaClientInitializationError = runtime.PrismaClientInitializationError
|
|
export import PrismaClientValidationError = runtime.PrismaClientValidationError
|
|
|
|
/**
|
|
* Re-export of sql-template-tag
|
|
*/
|
|
export import sql = runtime.sqltag
|
|
export import empty = runtime.empty
|
|
export import join = runtime.join
|
|
export import raw = runtime.raw
|
|
export import Sql = runtime.Sql
|
|
|
|
|
|
|
|
/**
|
|
* Decimal.js
|
|
*/
|
|
export import Decimal = runtime.Decimal
|
|
|
|
export type DecimalJsLike = runtime.DecimalJsLike
|
|
|
|
/**
|
|
* Metrics
|
|
*/
|
|
export type Metrics = runtime.Metrics
|
|
export type Metric<T> = runtime.Metric<T>
|
|
export type MetricHistogram = runtime.MetricHistogram
|
|
export type MetricHistogramBucket = runtime.MetricHistogramBucket
|
|
|
|
/**
|
|
* Extensions
|
|
*/
|
|
export import Extension = $Extensions.UserArgs
|
|
export import getExtensionContext = runtime.Extensions.getExtensionContext
|
|
export import Args = $Public.Args
|
|
export import Payload = $Public.Payload
|
|
export import Result = $Public.Result
|
|
export import Exact = $Public.Exact
|
|
|
|
/**
|
|
* Prisma Client JS version: 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<any>> = T extends PromiseLike<infer U> ? U : T;
|
|
|
|
/**
|
|
* Get the return type of a function which returns a Promise.
|
|
*/
|
|
export type PromiseReturnType<T extends (...args: any) => $Utils.JsPromise<any>> = PromiseType<ReturnType<T>>
|
|
|
|
/**
|
|
* From T, pick a set of properties whose keys are in the union K
|
|
*/
|
|
type Prisma__Pick<T, K extends keyof T> = {
|
|
[P in K]: T[P];
|
|
};
|
|
|
|
|
|
export type Enumerable<T> = T | Array<T>;
|
|
|
|
export type RequiredKeys<T> = {
|
|
[K in keyof T]-?: {} extends Prisma__Pick<T, K> ? never : K
|
|
}[keyof T]
|
|
|
|
export type TruthyKeys<T> = keyof {
|
|
[K in keyof T as T[K] extends false | undefined | null ? never : K]: K
|
|
}
|
|
|
|
export type TrueKeys<T> = TruthyKeys<Prisma__Pick<T, RequiredKeys<T>>>
|
|
|
|
/**
|
|
* Subset
|
|
* @desc From `T` pick properties that exist in `U`. Simple version of Intersection
|
|
*/
|
|
export type Subset<T, U> = {
|
|
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
};
|
|
|
|
/**
|
|
* SelectSubset
|
|
* @desc From `T` pick properties that exist in `U`. Simple version of Intersection.
|
|
* Additionally, it validates, if both select and include are present. If the case, it errors.
|
|
*/
|
|
export type SelectSubset<T, U> = {
|
|
[key in keyof T]: key extends keyof U ? T[key] : never
|
|
} &
|
|
(T extends SelectAndInclude
|
|
? 'Please either choose `select` or `include`.'
|
|
: T extends SelectAndOmit
|
|
? 'Please either choose `select` or `omit`.'
|
|
: {})
|
|
|
|
/**
|
|
* Subset + Intersection
|
|
* @desc From `T` pick properties that exist in `U` and intersect `K`
|
|
*/
|
|
export type SubsetIntersection<T, U, K> = {
|
|
[key in keyof T]: key extends keyof U ? T[key] : never
|
|
} &
|
|
K
|
|
|
|
type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never };
|
|
|
|
/**
|
|
* XOR is needed to have a real mutually exclusive union type
|
|
* https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types
|
|
*/
|
|
type XOR<T, U> =
|
|
T extends object ?
|
|
U extends object ?
|
|
(Without<T, U> & U) | (Without<U, T> & T)
|
|
: U : T
|
|
|
|
|
|
/**
|
|
* Is T a Record?
|
|
*/
|
|
type IsObject<T extends any> = T extends Array<any>
|
|
? False
|
|
: T extends Date
|
|
? False
|
|
: T extends Uint8Array
|
|
? False
|
|
: T extends BigInt
|
|
? False
|
|
: T extends object
|
|
? True
|
|
: False
|
|
|
|
|
|
/**
|
|
* If it's T[], return T
|
|
*/
|
|
export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T
|
|
|
|
/**
|
|
* From ts-toolbelt
|
|
*/
|
|
|
|
type __Either<O extends object, K extends Key> = Omit<O, K> &
|
|
{
|
|
// Merge all but K
|
|
[P in K]: Prisma__Pick<O, P & keyof O> // With K possibilities
|
|
}[K]
|
|
|
|
type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>
|
|
|
|
type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>
|
|
|
|
type _Either<
|
|
O extends object,
|
|
K extends Key,
|
|
strict extends Boolean
|
|
> = {
|
|
1: EitherStrict<O, K>
|
|
0: EitherLoose<O, K>
|
|
}[strict]
|
|
|
|
type Either<
|
|
O extends object,
|
|
K extends Key,
|
|
strict extends Boolean = 1
|
|
> = O extends unknown ? _Either<O, K, strict> : never
|
|
|
|
export type Union = any
|
|
|
|
type PatchUndefined<O extends object, O1 extends object> = {
|
|
[K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K]
|
|
} & {}
|
|
|
|
/** Helper Types for "Merge" **/
|
|
export type IntersectOf<U extends Union> = (
|
|
U extends unknown ? (k: U) => void : never
|
|
) extends (k: infer I) => void
|
|
? I
|
|
: never
|
|
|
|
export type Overwrite<O extends object, O1 extends object> = {
|
|
[K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
|
|
} & {};
|
|
|
|
type _Merge<U extends object> = IntersectOf<Overwrite<U, {
|
|
[K in keyof U]-?: At<U, K>;
|
|
}>>;
|
|
|
|
type Key = string | number | symbol;
|
|
type AtBasic<O extends object, K extends Key> = K extends keyof O ? O[K] : never;
|
|
type AtStrict<O extends object, K extends Key> = O[K & keyof O];
|
|
type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
|
|
export type At<O extends object, K extends Key, strict extends Boolean = 1> = {
|
|
1: AtStrict<O, K>;
|
|
0: AtLoose<O, K>;
|
|
}[strict];
|
|
|
|
export type ComputeRaw<A extends any> = A extends Function ? A : {
|
|
[K in keyof A]: A[K];
|
|
} & {};
|
|
|
|
export type OptionalFlat<O> = {
|
|
[K in keyof O]?: O[K];
|
|
} & {};
|
|
|
|
type _Record<K extends keyof any, T> = {
|
|
[P in K]: T;
|
|
};
|
|
|
|
// cause typescript not to expand types and preserve names
|
|
type NoExpand<T> = T extends unknown ? T : never;
|
|
|
|
// this type assumes the passed object is entirely optional
|
|
type AtLeast<O extends object, K extends string> = NoExpand<
|
|
O extends unknown
|
|
? | (K extends keyof O ? { [P in K]: O[P] } & O : O)
|
|
| {[P in keyof O as P extends K ? P : never]-?: O[P]} & O
|
|
: never>;
|
|
|
|
type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
|
|
|
|
export type Strict<U extends object> = ComputeRaw<_Strict<U>>;
|
|
/** End Helper Types for "Merge" **/
|
|
|
|
export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
|
|
|
|
/**
|
|
A [[Boolean]]
|
|
*/
|
|
export type Boolean = True | False
|
|
|
|
// /**
|
|
// 1
|
|
// */
|
|
export type True = 1
|
|
|
|
/**
|
|
0
|
|
*/
|
|
export type False = 0
|
|
|
|
export type Not<B extends Boolean> = {
|
|
0: 1
|
|
1: 0
|
|
}[B]
|
|
|
|
export type Extends<A1 extends any, A2 extends any> = [A1] extends [never]
|
|
? 0 // anything `never` is false
|
|
: A1 extends A2
|
|
? 1
|
|
: 0
|
|
|
|
export type Has<U extends Union, U1 extends Union> = Not<
|
|
Extends<Exclude<U1, U>, U1>
|
|
>
|
|
|
|
export type Or<B1 extends Boolean, B2 extends Boolean> = {
|
|
0: {
|
|
0: 0
|
|
1: 1
|
|
}
|
|
1: {
|
|
0: 1
|
|
1: 1
|
|
}
|
|
}[B1][B2]
|
|
|
|
export type Keys<U extends Union> = U extends unknown ? keyof U : never
|
|
|
|
type Cast<A, B> = A extends B ? A : B;
|
|
|
|
export const type: unique symbol;
|
|
|
|
|
|
|
|
/**
|
|
* Used by group by
|
|
*/
|
|
|
|
export type GetScalarType<T, O> = O extends object ? {
|
|
[P in keyof T]: P extends keyof O
|
|
? O[P]
|
|
: never
|
|
} : never
|
|
|
|
type FieldPaths<
|
|
T,
|
|
U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>
|
|
> = IsObject<T> extends True ? U : T
|
|
|
|
type GetHavingFields<T> = {
|
|
[K in keyof T]: Or<
|
|
Or<Extends<'OR', K>, Extends<'AND', K>>,
|
|
Extends<'NOT', K>
|
|
> extends True
|
|
? // infer is only needed to not hit TS limit
|
|
// based on the brilliant idea of Pierre-Antoine Mills
|
|
// https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437
|
|
T[K] extends infer TK
|
|
? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never>
|
|
: never
|
|
: {} extends FieldPaths<T[K]>
|
|
? never
|
|
: K
|
|
}[keyof T]
|
|
|
|
/**
|
|
* Convert tuple to union
|
|
*/
|
|
type _TupleToUnion<T> = T extends (infer E)[] ? E : never
|
|
type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>
|
|
type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T
|
|
|
|
/**
|
|
* Like `Pick`, but additionally can also accept an array of keys
|
|
*/
|
|
type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>
|
|
|
|
/**
|
|
* Exclude all keys with underscores
|
|
*/
|
|
type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T
|
|
|
|
|
|
export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>
|
|
|
|
type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>
|
|
|
|
|
|
export const ModelName: {
|
|
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<ClientOptions = {}> extends $Utils.Fn<{extArgs: $Extensions.InternalArgs }, $Utils.Record<string, any>> {
|
|
returns: Prisma.TypeMap<this['params']['extArgs'], ClientOptions extends { omit: infer OmitOptions } ? OmitOptions : {}>
|
|
}
|
|
|
|
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> = {
|
|
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<ExtArgs>
|
|
fields: Prisma.AdminAccountFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.AdminAccountFindUniqueArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AdminAccountPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.AdminAccountFindUniqueOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AdminAccountPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.AdminAccountFindFirstArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AdminAccountPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.AdminAccountFindFirstOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AdminAccountPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.AdminAccountFindManyArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AdminAccountPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.AdminAccountCreateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AdminAccountPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.AdminAccountCreateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.AdminAccountDeleteArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AdminAccountPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.AdminAccountUpdateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AdminAccountPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.AdminAccountDeleteManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.AdminAccountUpdateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.AdminAccountUpsertArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AdminAccountPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.AdminAccountAggregateArgs<ExtArgs>
|
|
result: $Utils.Optional<AggregateAdminAccount>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.AdminAccountGroupByArgs<ExtArgs>
|
|
result: $Utils.Optional<AdminAccountGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.AdminAccountCountArgs<ExtArgs>
|
|
result: $Utils.Optional<AdminAccountCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
AppCredential: {
|
|
payload: Prisma.$AppCredentialPayload<ExtArgs>
|
|
fields: Prisma.AppCredentialFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.AppCredentialFindUniqueArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCredentialPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.AppCredentialFindUniqueOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCredentialPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.AppCredentialFindFirstArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCredentialPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.AppCredentialFindFirstOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCredentialPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.AppCredentialFindManyArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCredentialPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.AppCredentialCreateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCredentialPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.AppCredentialCreateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.AppCredentialDeleteArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCredentialPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.AppCredentialUpdateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCredentialPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.AppCredentialDeleteManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.AppCredentialUpdateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.AppCredentialUpsertArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCredentialPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.AppCredentialAggregateArgs<ExtArgs>
|
|
result: $Utils.Optional<AggregateAppCredential>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.AppCredentialGroupByArgs<ExtArgs>
|
|
result: $Utils.Optional<AppCredentialGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.AppCredentialCountArgs<ExtArgs>
|
|
result: $Utils.Optional<AppCredentialCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
AppContent: {
|
|
payload: Prisma.$AppContentPayload<ExtArgs>
|
|
fields: Prisma.AppContentFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.AppContentFindUniqueArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppContentPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.AppContentFindUniqueOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppContentPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.AppContentFindFirstArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppContentPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.AppContentFindFirstOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppContentPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.AppContentFindManyArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppContentPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.AppContentCreateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppContentPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.AppContentCreateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.AppContentDeleteArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppContentPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.AppContentUpdateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppContentPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.AppContentDeleteManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.AppContentUpdateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.AppContentUpsertArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppContentPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.AppContentAggregateArgs<ExtArgs>
|
|
result: $Utils.Optional<AggregateAppContent>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.AppContentGroupByArgs<ExtArgs>
|
|
result: $Utils.Optional<AppContentGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.AppContentCountArgs<ExtArgs>
|
|
result: $Utils.Optional<AppContentCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
AppCampaign: {
|
|
payload: Prisma.$AppCampaignPayload<ExtArgs>
|
|
fields: Prisma.AppCampaignFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.AppCampaignFindUniqueArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCampaignPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.AppCampaignFindUniqueOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCampaignPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.AppCampaignFindFirstArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCampaignPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.AppCampaignFindFirstOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCampaignPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.AppCampaignFindManyArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCampaignPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.AppCampaignCreateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCampaignPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.AppCampaignCreateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.AppCampaignDeleteArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCampaignPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.AppCampaignUpdateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCampaignPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.AppCampaignDeleteManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.AppCampaignUpdateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.AppCampaignUpsertArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppCampaignPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.AppCampaignAggregateArgs<ExtArgs>
|
|
result: $Utils.Optional<AggregateAppCampaign>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.AppCampaignGroupByArgs<ExtArgs>
|
|
result: $Utils.Optional<AppCampaignGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.AppCampaignCountArgs<ExtArgs>
|
|
result: $Utils.Optional<AppCampaignCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
CampaignDelivery: {
|
|
payload: Prisma.$CampaignDeliveryPayload<ExtArgs>
|
|
fields: Prisma.CampaignDeliveryFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.CampaignDeliveryFindUniqueArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CampaignDeliveryPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.CampaignDeliveryFindUniqueOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CampaignDeliveryPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.CampaignDeliveryFindFirstArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CampaignDeliveryPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.CampaignDeliveryFindFirstOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CampaignDeliveryPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.CampaignDeliveryFindManyArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CampaignDeliveryPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.CampaignDeliveryCreateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CampaignDeliveryPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.CampaignDeliveryCreateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.CampaignDeliveryDeleteArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CampaignDeliveryPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.CampaignDeliveryUpdateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CampaignDeliveryPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.CampaignDeliveryDeleteManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.CampaignDeliveryUpdateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.CampaignDeliveryUpsertArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CampaignDeliveryPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.CampaignDeliveryAggregateArgs<ExtArgs>
|
|
result: $Utils.Optional<AggregateCampaignDelivery>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.CampaignDeliveryGroupByArgs<ExtArgs>
|
|
result: $Utils.Optional<CampaignDeliveryGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.CampaignDeliveryCountArgs<ExtArgs>
|
|
result: $Utils.Optional<CampaignDeliveryCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
UsersToken: {
|
|
payload: Prisma.$UsersTokenPayload<ExtArgs>
|
|
fields: Prisma.UsersTokenFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.UsersTokenFindUniqueArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersTokenPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.UsersTokenFindUniqueOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersTokenPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.UsersTokenFindFirstArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersTokenPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.UsersTokenFindFirstOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersTokenPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.UsersTokenFindManyArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersTokenPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.UsersTokenCreateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersTokenPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.UsersTokenCreateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.UsersTokenDeleteArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersTokenPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.UsersTokenUpdateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersTokenPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.UsersTokenDeleteManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.UsersTokenUpdateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.UsersTokenUpsertArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersTokenPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.UsersTokenAggregateArgs<ExtArgs>
|
|
result: $Utils.Optional<AggregateUsersToken>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.UsersTokenGroupByArgs<ExtArgs>
|
|
result: $Utils.Optional<UsersTokenGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.UsersTokenCountArgs<ExtArgs>
|
|
result: $Utils.Optional<UsersTokenCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
UsersActivity: {
|
|
payload: Prisma.$UsersActivityPayload<ExtArgs>
|
|
fields: Prisma.UsersActivityFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.UsersActivityFindUniqueArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersActivityPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.UsersActivityFindUniqueOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersActivityPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.UsersActivityFindFirstArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersActivityPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.UsersActivityFindFirstOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersActivityPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.UsersActivityFindManyArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersActivityPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.UsersActivityCreateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersActivityPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.UsersActivityCreateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.UsersActivityDeleteArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersActivityPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.UsersActivityUpdateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersActivityPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.UsersActivityDeleteManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.UsersActivityUpdateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.UsersActivityUpsertArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$UsersActivityPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.UsersActivityAggregateArgs<ExtArgs>
|
|
result: $Utils.Optional<AggregateUsersActivity>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.UsersActivityGroupByArgs<ExtArgs>
|
|
result: $Utils.Optional<UsersActivityGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.UsersActivityCountArgs<ExtArgs>
|
|
result: $Utils.Optional<UsersActivityCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
CrashReport: {
|
|
payload: Prisma.$CrashReportPayload<ExtArgs>
|
|
fields: Prisma.CrashReportFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.CrashReportFindUniqueArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashReportPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.CrashReportFindUniqueOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashReportPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.CrashReportFindFirstArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashReportPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.CrashReportFindFirstOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashReportPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.CrashReportFindManyArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashReportPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.CrashReportCreateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashReportPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.CrashReportCreateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.CrashReportDeleteArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashReportPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.CrashReportUpdateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashReportPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.CrashReportDeleteManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.CrashReportUpdateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.CrashReportUpsertArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashReportPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.CrashReportAggregateArgs<ExtArgs>
|
|
result: $Utils.Optional<AggregateCrashReport>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.CrashReportGroupByArgs<ExtArgs>
|
|
result: $Utils.Optional<CrashReportGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.CrashReportCountArgs<ExtArgs>
|
|
result: $Utils.Optional<CrashReportCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
CrashSession: {
|
|
payload: Prisma.$CrashSessionPayload<ExtArgs>
|
|
fields: Prisma.CrashSessionFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.CrashSessionFindUniqueArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashSessionPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.CrashSessionFindUniqueOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashSessionPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.CrashSessionFindFirstArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashSessionPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.CrashSessionFindFirstOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashSessionPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.CrashSessionFindManyArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashSessionPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.CrashSessionCreateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashSessionPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.CrashSessionCreateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.CrashSessionDeleteArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashSessionPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.CrashSessionUpdateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashSessionPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.CrashSessionDeleteManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.CrashSessionUpdateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.CrashSessionUpsertArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashSessionPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.CrashSessionAggregateArgs<ExtArgs>
|
|
result: $Utils.Optional<AggregateCrashSession>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.CrashSessionGroupByArgs<ExtArgs>
|
|
result: $Utils.Optional<CrashSessionGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.CrashSessionCountArgs<ExtArgs>
|
|
result: $Utils.Optional<CrashSessionCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
CrashAnalytics: {
|
|
payload: Prisma.$CrashAnalyticsPayload<ExtArgs>
|
|
fields: Prisma.CrashAnalyticsFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.CrashAnalyticsFindUniqueArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashAnalyticsPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.CrashAnalyticsFindUniqueOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashAnalyticsPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.CrashAnalyticsFindFirstArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashAnalyticsPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.CrashAnalyticsFindFirstOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashAnalyticsPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.CrashAnalyticsFindManyArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashAnalyticsPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.CrashAnalyticsCreateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashAnalyticsPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.CrashAnalyticsCreateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.CrashAnalyticsDeleteArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashAnalyticsPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.CrashAnalyticsUpdateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashAnalyticsPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.CrashAnalyticsDeleteManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.CrashAnalyticsUpdateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.CrashAnalyticsUpsertArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$CrashAnalyticsPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.CrashAnalyticsAggregateArgs<ExtArgs>
|
|
result: $Utils.Optional<AggregateCrashAnalytics>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.CrashAnalyticsGroupByArgs<ExtArgs>
|
|
result: $Utils.Optional<CrashAnalyticsGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.CrashAnalyticsCountArgs<ExtArgs>
|
|
result: $Utils.Optional<CrashAnalyticsCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
AINotification: {
|
|
payload: Prisma.$AINotificationPayload<ExtArgs>
|
|
fields: Prisma.AINotificationFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.AINotificationFindUniqueArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.AINotificationFindUniqueOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.AINotificationFindFirstArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.AINotificationFindFirstOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.AINotificationFindManyArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.AINotificationCreateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.AINotificationCreateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.AINotificationDeleteArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.AINotificationUpdateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.AINotificationDeleteManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.AINotificationUpdateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.AINotificationUpsertArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.AINotificationAggregateArgs<ExtArgs>
|
|
result: $Utils.Optional<AggregateAINotification>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.AINotificationGroupByArgs<ExtArgs>
|
|
result: $Utils.Optional<AINotificationGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.AINotificationCountArgs<ExtArgs>
|
|
result: $Utils.Optional<AINotificationCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
AINotificationAnalytics: {
|
|
payload: Prisma.$AINotificationAnalyticsPayload<ExtArgs>
|
|
fields: Prisma.AINotificationAnalyticsFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.AINotificationAnalyticsFindUniqueArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationAnalyticsPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.AINotificationAnalyticsFindUniqueOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationAnalyticsPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.AINotificationAnalyticsFindFirstArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationAnalyticsPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.AINotificationAnalyticsFindFirstOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationAnalyticsPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.AINotificationAnalyticsFindManyArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationAnalyticsPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.AINotificationAnalyticsCreateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationAnalyticsPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.AINotificationAnalyticsCreateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.AINotificationAnalyticsDeleteArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationAnalyticsPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.AINotificationAnalyticsUpdateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationAnalyticsPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.AINotificationAnalyticsDeleteManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.AINotificationAnalyticsUpdateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.AINotificationAnalyticsUpsertArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AINotificationAnalyticsPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.AINotificationAnalyticsAggregateArgs<ExtArgs>
|
|
result: $Utils.Optional<AggregateAINotificationAnalytics>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.AINotificationAnalyticsGroupByArgs<ExtArgs>
|
|
result: $Utils.Optional<AINotificationAnalyticsGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.AINotificationAnalyticsCountArgs<ExtArgs>
|
|
result: $Utils.Optional<AINotificationAnalyticsCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
AppMenu: {
|
|
payload: Prisma.$AppMenuPayload<ExtArgs>
|
|
fields: Prisma.AppMenuFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.AppMenuFindUniqueArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppMenuPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.AppMenuFindUniqueOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppMenuPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.AppMenuFindFirstArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppMenuPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.AppMenuFindFirstOrThrowArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppMenuPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.AppMenuFindManyArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppMenuPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.AppMenuCreateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppMenuPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.AppMenuCreateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.AppMenuDeleteArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppMenuPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.AppMenuUpdateArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppMenuPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.AppMenuDeleteManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.AppMenuUpdateManyArgs<ExtArgs>
|
|
result: BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.AppMenuUpsertArgs<ExtArgs>
|
|
result: $Utils.PayloadToResult<Prisma.$AppMenuPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.AppMenuAggregateArgs<ExtArgs>
|
|
result: $Utils.Optional<AggregateAppMenu>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.AppMenuGroupByArgs<ExtArgs>
|
|
result: $Utils.Optional<AppMenuGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.AppMenuCountArgs<ExtArgs>
|
|
result: $Utils.Optional<AppMenuCountAggregateOutputType> | 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> = T extends LogLevel ? T : never;
|
|
|
|
export type GetLogType<T> = CheckIsLogLevel<
|
|
T extends LogDefinition ? T['level'] : T
|
|
>;
|
|
|
|
export type GetEvents<T extends any[]> = T extends Array<LogLevel | LogDefinition>
|
|
? GetLogType<T[number]>
|
|
: 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<T = any> = (
|
|
params: MiddlewareParams,
|
|
next: (params: MiddlewareParams) => $Utils.JsPromise<T>,
|
|
) => $Utils.JsPromise<T>
|
|
|
|
// tested in getLogLevel.test.ts
|
|
export function getLogLevel(log: Array<LogLevel | LogDefinition>): LogLevel | undefined;
|
|
|
|
/**
|
|
* `PrismaClient` proxy available in interactive transactions.
|
|
*/
|
|
export type TransactionClient = Omit<Prisma.DefaultPrismaClient, runtime.ITXClientDenyList>
|
|
|
|
export type Datasource = {
|
|
url?: string
|
|
}
|
|
|
|
/**
|
|
* Count Types
|
|
*/
|
|
|
|
|
|
/**
|
|
* Count Type AppCampaignCountOutputType
|
|
*/
|
|
|
|
export type AppCampaignCountOutputType = {
|
|
CampaignDelivery: number
|
|
}
|
|
|
|
export type AppCampaignCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
CampaignDelivery?: boolean | AppCampaignCountOutputTypeCountCampaignDeliveryArgs
|
|
}
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AppCampaignCountOutputType without action
|
|
*/
|
|
export type AppCampaignCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCampaignCountOutputType
|
|
*/
|
|
select?: AppCampaignCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* AppCampaignCountOutputType without action
|
|
*/
|
|
export type AppCampaignCountOutputTypeCountCampaignDeliveryArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
where?: CampaignDeliveryWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type UsersTokenCountOutputType
|
|
*/
|
|
|
|
export type UsersTokenCountOutputType = {
|
|
UsersActivity: number
|
|
}
|
|
|
|
export type UsersTokenCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
UsersActivity?: boolean | UsersTokenCountOutputTypeCountUsersActivityArgs
|
|
}
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* UsersTokenCountOutputType without action
|
|
*/
|
|
export type UsersTokenCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersTokenCountOutputType
|
|
*/
|
|
select?: UsersTokenCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* UsersTokenCountOutputType without action
|
|
*/
|
|
export type UsersTokenCountOutputTypeCountUsersActivityArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends AdminAccountAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAdminAccount]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateAdminAccount[P]>
|
|
: GetScalarType<T[P], AggregateAdminAccount[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AdminAccountGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends AdminAccountGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<AdminAccountGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AdminAccountGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], AdminAccountGroupByOutputType[P]>
|
|
: GetScalarType<T[P], AdminAccountGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type AdminAccountSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"UUID_AA" | "Username_AA" | "Email_AA" | "Password_AA" | "LastLogin_AA" | "UpdatedAt_AA" | "CreatedAt_AA", ExtArgs["result"]["adminAccount"]>
|
|
|
|
export type $AdminAccountPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<S extends boolean | null | undefined | AdminAccountDefaultArgs> = $Result.GetResult<Prisma.$AdminAccountPayload, S>
|
|
|
|
type AdminAccountCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<AdminAccountFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AdminAccountCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AdminAccountDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends AdminAccountFindUniqueArgs>(args: SelectSubset<T, AdminAccountFindUniqueArgs<ExtArgs>>): Prisma__AdminAccountClient<$Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, 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<T extends AdminAccountFindUniqueOrThrowArgs>(args: SelectSubset<T, AdminAccountFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AdminAccountClient<$Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, 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<T extends AdminAccountFindFirstArgs>(args?: SelectSubset<T, AdminAccountFindFirstArgs<ExtArgs>>): Prisma__AdminAccountClient<$Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, 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<T extends AdminAccountFindFirstOrThrowArgs>(args?: SelectSubset<T, AdminAccountFindFirstOrThrowArgs<ExtArgs>>): Prisma__AdminAccountClient<$Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, 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<T extends AdminAccountFindManyArgs>(args?: SelectSubset<T, AdminAccountFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, 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<T extends AdminAccountCreateArgs>(args: SelectSubset<T, AdminAccountCreateArgs<ExtArgs>>): Prisma__AdminAccountClient<$Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, 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<T extends AdminAccountCreateManyArgs>(args?: SelectSubset<T, AdminAccountCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AdminAccountDeleteArgs>(args: SelectSubset<T, AdminAccountDeleteArgs<ExtArgs>>): Prisma__AdminAccountClient<$Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, 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<T extends AdminAccountUpdateArgs>(args: SelectSubset<T, AdminAccountUpdateArgs<ExtArgs>>): Prisma__AdminAccountClient<$Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, 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<T extends AdminAccountDeleteManyArgs>(args?: SelectSubset<T, AdminAccountDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AdminAccountUpdateManyArgs>(args: SelectSubset<T, AdminAccountUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AdminAccountUpsertArgs>(args: SelectSubset<T, AdminAccountUpsertArgs<ExtArgs>>): Prisma__AdminAccountClient<$Result.GetResult<Prisma.$AdminAccountPayload<ExtArgs>, 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<T extends AdminAccountCountArgs>(
|
|
args?: Subset<T, AdminAccountCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], AdminAccountCountAggregateOutputType>
|
|
: 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<T extends AdminAccountAggregateArgs>(args: Subset<T, AdminAccountAggregateArgs>): Prisma.PrismaPromise<GetAdminAccountAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: AdminAccountGroupByArgs['orderBy'] }
|
|
: { orderBy?: AdminAccountGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
InputErrors extends ByEmpty extends True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: SubsetIntersection<T, AdminAccountGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdminAccountGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminAccount
|
|
*/
|
|
select?: AdminAccountSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminAccount
|
|
*/
|
|
omit?: AdminAccountOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminAccount to fetch.
|
|
*/
|
|
where: AdminAccountWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminAccount findUniqueOrThrow
|
|
*/
|
|
export type AdminAccountFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminAccount
|
|
*/
|
|
select?: AdminAccountSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminAccount
|
|
*/
|
|
omit?: AdminAccountOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AdminAccount to fetch.
|
|
*/
|
|
where: AdminAccountWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminAccount findFirst
|
|
*/
|
|
export type AdminAccountFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminAccount
|
|
*/
|
|
select?: AdminAccountSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminAccount
|
|
*/
|
|
omit?: AdminAccountOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminAccount
|
|
*/
|
|
select?: AdminAccountSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminAccount
|
|
*/
|
|
omit?: AdminAccountOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminAccount
|
|
*/
|
|
select?: AdminAccountSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminAccount
|
|
*/
|
|
omit?: AdminAccountOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminAccount
|
|
*/
|
|
select?: AdminAccountSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminAccount
|
|
*/
|
|
omit?: AdminAccountOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AdminAccount.
|
|
*/
|
|
data: XOR<AdminAccountCreateInput, AdminAccountUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminAccount createMany
|
|
*/
|
|
export type AdminAccountCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AdminAccounts.
|
|
*/
|
|
data: AdminAccountCreateManyInput | AdminAccountCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AdminAccount update
|
|
*/
|
|
export type AdminAccountUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminAccount
|
|
*/
|
|
select?: AdminAccountSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminAccount
|
|
*/
|
|
omit?: AdminAccountOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AdminAccount.
|
|
*/
|
|
data: XOR<AdminAccountUpdateInput, AdminAccountUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AdminAccount to update.
|
|
*/
|
|
where: AdminAccountWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminAccount updateMany
|
|
*/
|
|
export type AdminAccountUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AdminAccounts.
|
|
*/
|
|
data: XOR<AdminAccountUpdateManyMutationInput, AdminAccountUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AdminAccounts to update
|
|
*/
|
|
where?: AdminAccountWhereInput
|
|
/**
|
|
* Limit how many AdminAccounts to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminAccount upsert
|
|
*/
|
|
export type AdminAccountUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminAccount
|
|
*/
|
|
select?: AdminAccountSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminAccount
|
|
*/
|
|
omit?: AdminAccountOmit<ExtArgs> | 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<AdminAccountCreateInput, AdminAccountUncheckedCreateInput>
|
|
/**
|
|
* In case the AdminAccount was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<AdminAccountUpdateInput, AdminAccountUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AdminAccount delete
|
|
*/
|
|
export type AdminAccountDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminAccount
|
|
*/
|
|
select?: AdminAccountSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminAccount
|
|
*/
|
|
omit?: AdminAccountOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which AdminAccount to delete.
|
|
*/
|
|
where: AdminAccountWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AdminAccount deleteMany
|
|
*/
|
|
export type AdminAccountDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AdminAccounts to delete
|
|
*/
|
|
where?: AdminAccountWhereInput
|
|
/**
|
|
* Limit how many AdminAccounts to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AdminAccount without action
|
|
*/
|
|
export type AdminAccountDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AdminAccount
|
|
*/
|
|
select?: AdminAccountSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AdminAccount
|
|
*/
|
|
omit?: AdminAccountOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends AppCredentialAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAppCredential]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateAppCredential[P]>
|
|
: GetScalarType<T[P], AggregateAppCredential[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AppCredentialGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends AppCredentialGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<AppCredentialGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AppCredentialGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], AppCredentialGroupByOutputType[P]>
|
|
: GetScalarType<T[P], AppCredentialGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type AppCredentialSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"UUID_AC" | "CreatedAt_AC" | "TokenCredential_AC" | "UpdatedAt_AC", ExtArgs["result"]["appCredential"]>
|
|
|
|
export type $AppCredentialPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
name: "AppCredential"
|
|
objects: {}
|
|
scalars: $Extensions.GetPayloadResult<{
|
|
UUID_AC: string
|
|
CreatedAt_AC: Date
|
|
TokenCredential_AC: string
|
|
UpdatedAt_AC: Date
|
|
}, ExtArgs["result"]["appCredential"]>
|
|
composites: {}
|
|
}
|
|
|
|
type AppCredentialGetPayload<S extends boolean | null | undefined | AppCredentialDefaultArgs> = $Result.GetResult<Prisma.$AppCredentialPayload, S>
|
|
|
|
type AppCredentialCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<AppCredentialFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AppCredentialCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AppCredentialDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends AppCredentialFindUniqueArgs>(args: SelectSubset<T, AppCredentialFindUniqueArgs<ExtArgs>>): Prisma__AppCredentialClient<$Result.GetResult<Prisma.$AppCredentialPayload<ExtArgs>, 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<T extends AppCredentialFindUniqueOrThrowArgs>(args: SelectSubset<T, AppCredentialFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AppCredentialClient<$Result.GetResult<Prisma.$AppCredentialPayload<ExtArgs>, 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<T extends AppCredentialFindFirstArgs>(args?: SelectSubset<T, AppCredentialFindFirstArgs<ExtArgs>>): Prisma__AppCredentialClient<$Result.GetResult<Prisma.$AppCredentialPayload<ExtArgs>, 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<T extends AppCredentialFindFirstOrThrowArgs>(args?: SelectSubset<T, AppCredentialFindFirstOrThrowArgs<ExtArgs>>): Prisma__AppCredentialClient<$Result.GetResult<Prisma.$AppCredentialPayload<ExtArgs>, 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<T extends AppCredentialFindManyArgs>(args?: SelectSubset<T, AppCredentialFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppCredentialPayload<ExtArgs>, 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<T extends AppCredentialCreateArgs>(args: SelectSubset<T, AppCredentialCreateArgs<ExtArgs>>): Prisma__AppCredentialClient<$Result.GetResult<Prisma.$AppCredentialPayload<ExtArgs>, 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<T extends AppCredentialCreateManyArgs>(args?: SelectSubset<T, AppCredentialCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AppCredentialDeleteArgs>(args: SelectSubset<T, AppCredentialDeleteArgs<ExtArgs>>): Prisma__AppCredentialClient<$Result.GetResult<Prisma.$AppCredentialPayload<ExtArgs>, 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<T extends AppCredentialUpdateArgs>(args: SelectSubset<T, AppCredentialUpdateArgs<ExtArgs>>): Prisma__AppCredentialClient<$Result.GetResult<Prisma.$AppCredentialPayload<ExtArgs>, 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<T extends AppCredentialDeleteManyArgs>(args?: SelectSubset<T, AppCredentialDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AppCredentialUpdateManyArgs>(args: SelectSubset<T, AppCredentialUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AppCredentialUpsertArgs>(args: SelectSubset<T, AppCredentialUpsertArgs<ExtArgs>>): Prisma__AppCredentialClient<$Result.GetResult<Prisma.$AppCredentialPayload<ExtArgs>, 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<T extends AppCredentialCountArgs>(
|
|
args?: Subset<T, AppCredentialCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], AppCredentialCountAggregateOutputType>
|
|
: 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<T extends AppCredentialAggregateArgs>(args: Subset<T, AppCredentialAggregateArgs>): Prisma.PrismaPromise<GetAppCredentialAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: AppCredentialGroupByArgs['orderBy'] }
|
|
: { orderBy?: AppCredentialGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
InputErrors extends ByEmpty extends True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: SubsetIntersection<T, AppCredentialGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAppCredentialGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCredential
|
|
*/
|
|
select?: AppCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCredential
|
|
*/
|
|
omit?: AppCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AppCredential to fetch.
|
|
*/
|
|
where: AppCredentialWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppCredential findUniqueOrThrow
|
|
*/
|
|
export type AppCredentialFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCredential
|
|
*/
|
|
select?: AppCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCredential
|
|
*/
|
|
omit?: AppCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AppCredential to fetch.
|
|
*/
|
|
where: AppCredentialWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppCredential findFirst
|
|
*/
|
|
export type AppCredentialFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCredential
|
|
*/
|
|
select?: AppCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCredential
|
|
*/
|
|
omit?: AppCredentialOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCredential
|
|
*/
|
|
select?: AppCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCredential
|
|
*/
|
|
omit?: AppCredentialOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCredential
|
|
*/
|
|
select?: AppCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCredential
|
|
*/
|
|
omit?: AppCredentialOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCredential
|
|
*/
|
|
select?: AppCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCredential
|
|
*/
|
|
omit?: AppCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AppCredential.
|
|
*/
|
|
data: XOR<AppCredentialCreateInput, AppCredentialUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AppCredential createMany
|
|
*/
|
|
export type AppCredentialCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AppCredentials.
|
|
*/
|
|
data: AppCredentialCreateManyInput | AppCredentialCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AppCredential update
|
|
*/
|
|
export type AppCredentialUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCredential
|
|
*/
|
|
select?: AppCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCredential
|
|
*/
|
|
omit?: AppCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AppCredential.
|
|
*/
|
|
data: XOR<AppCredentialUpdateInput, AppCredentialUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AppCredential to update.
|
|
*/
|
|
where: AppCredentialWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppCredential updateMany
|
|
*/
|
|
export type AppCredentialUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AppCredentials.
|
|
*/
|
|
data: XOR<AppCredentialUpdateManyMutationInput, AppCredentialUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AppCredentials to update
|
|
*/
|
|
where?: AppCredentialWhereInput
|
|
/**
|
|
* Limit how many AppCredentials to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AppCredential upsert
|
|
*/
|
|
export type AppCredentialUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCredential
|
|
*/
|
|
select?: AppCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCredential
|
|
*/
|
|
omit?: AppCredentialOmit<ExtArgs> | 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<AppCredentialCreateInput, AppCredentialUncheckedCreateInput>
|
|
/**
|
|
* In case the AppCredential was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<AppCredentialUpdateInput, AppCredentialUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AppCredential delete
|
|
*/
|
|
export type AppCredentialDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCredential
|
|
*/
|
|
select?: AppCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCredential
|
|
*/
|
|
omit?: AppCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which AppCredential to delete.
|
|
*/
|
|
where: AppCredentialWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppCredential deleteMany
|
|
*/
|
|
export type AppCredentialDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AppCredentials to delete
|
|
*/
|
|
where?: AppCredentialWhereInput
|
|
/**
|
|
* Limit how many AppCredentials to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AppCredential without action
|
|
*/
|
|
export type AppCredentialDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCredential
|
|
*/
|
|
select?: AppCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCredential
|
|
*/
|
|
omit?: AppCredentialOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends AppContentAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAppContent]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateAppContent[P]>
|
|
: GetScalarType<T[P], AggregateAppContent[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AppContentGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends AppContentGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<AppContentGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AppContentGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], AppContentGroupByOutputType[P]>
|
|
: GetScalarType<T[P], AppContentGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type AppContentSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<S extends boolean | null | undefined | AppContentDefaultArgs> = $Result.GetResult<Prisma.$AppContentPayload, S>
|
|
|
|
type AppContentCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<AppContentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AppContentCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AppContentDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends AppContentFindUniqueArgs>(args: SelectSubset<T, AppContentFindUniqueArgs<ExtArgs>>): Prisma__AppContentClient<$Result.GetResult<Prisma.$AppContentPayload<ExtArgs>, 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<T extends AppContentFindUniqueOrThrowArgs>(args: SelectSubset<T, AppContentFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AppContentClient<$Result.GetResult<Prisma.$AppContentPayload<ExtArgs>, 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<T extends AppContentFindFirstArgs>(args?: SelectSubset<T, AppContentFindFirstArgs<ExtArgs>>): Prisma__AppContentClient<$Result.GetResult<Prisma.$AppContentPayload<ExtArgs>, 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<T extends AppContentFindFirstOrThrowArgs>(args?: SelectSubset<T, AppContentFindFirstOrThrowArgs<ExtArgs>>): Prisma__AppContentClient<$Result.GetResult<Prisma.$AppContentPayload<ExtArgs>, 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<T extends AppContentFindManyArgs>(args?: SelectSubset<T, AppContentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppContentPayload<ExtArgs>, 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<T extends AppContentCreateArgs>(args: SelectSubset<T, AppContentCreateArgs<ExtArgs>>): Prisma__AppContentClient<$Result.GetResult<Prisma.$AppContentPayload<ExtArgs>, 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<T extends AppContentCreateManyArgs>(args?: SelectSubset<T, AppContentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AppContentDeleteArgs>(args: SelectSubset<T, AppContentDeleteArgs<ExtArgs>>): Prisma__AppContentClient<$Result.GetResult<Prisma.$AppContentPayload<ExtArgs>, 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<T extends AppContentUpdateArgs>(args: SelectSubset<T, AppContentUpdateArgs<ExtArgs>>): Prisma__AppContentClient<$Result.GetResult<Prisma.$AppContentPayload<ExtArgs>, 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<T extends AppContentDeleteManyArgs>(args?: SelectSubset<T, AppContentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AppContentUpdateManyArgs>(args: SelectSubset<T, AppContentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AppContentUpsertArgs>(args: SelectSubset<T, AppContentUpsertArgs<ExtArgs>>): Prisma__AppContentClient<$Result.GetResult<Prisma.$AppContentPayload<ExtArgs>, 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<T extends AppContentCountArgs>(
|
|
args?: Subset<T, AppContentCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], AppContentCountAggregateOutputType>
|
|
: 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<T extends AppContentAggregateArgs>(args: Subset<T, AppContentAggregateArgs>): Prisma.PrismaPromise<GetAppContentAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: AppContentGroupByArgs['orderBy'] }
|
|
: { orderBy?: AppContentGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
InputErrors extends ByEmpty extends True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: SubsetIntersection<T, AppContentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAppContentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppContent
|
|
*/
|
|
select?: AppContentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppContent
|
|
*/
|
|
omit?: AppContentOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AppContent to fetch.
|
|
*/
|
|
where: AppContentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppContent findUniqueOrThrow
|
|
*/
|
|
export type AppContentFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppContent
|
|
*/
|
|
select?: AppContentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppContent
|
|
*/
|
|
omit?: AppContentOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AppContent to fetch.
|
|
*/
|
|
where: AppContentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppContent findFirst
|
|
*/
|
|
export type AppContentFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppContent
|
|
*/
|
|
select?: AppContentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppContent
|
|
*/
|
|
omit?: AppContentOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppContent
|
|
*/
|
|
select?: AppContentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppContent
|
|
*/
|
|
omit?: AppContentOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppContent
|
|
*/
|
|
select?: AppContentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppContent
|
|
*/
|
|
omit?: AppContentOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppContent
|
|
*/
|
|
select?: AppContentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppContent
|
|
*/
|
|
omit?: AppContentOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AppContent.
|
|
*/
|
|
data: XOR<AppContentCreateInput, AppContentUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AppContent createMany
|
|
*/
|
|
export type AppContentCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AppContents.
|
|
*/
|
|
data: AppContentCreateManyInput | AppContentCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AppContent update
|
|
*/
|
|
export type AppContentUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppContent
|
|
*/
|
|
select?: AppContentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppContent
|
|
*/
|
|
omit?: AppContentOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AppContent.
|
|
*/
|
|
data: XOR<AppContentUpdateInput, AppContentUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AppContent to update.
|
|
*/
|
|
where: AppContentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppContent updateMany
|
|
*/
|
|
export type AppContentUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AppContents.
|
|
*/
|
|
data: XOR<AppContentUpdateManyMutationInput, AppContentUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AppContents to update
|
|
*/
|
|
where?: AppContentWhereInput
|
|
/**
|
|
* Limit how many AppContents to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AppContent upsert
|
|
*/
|
|
export type AppContentUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppContent
|
|
*/
|
|
select?: AppContentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppContent
|
|
*/
|
|
omit?: AppContentOmit<ExtArgs> | 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<AppContentCreateInput, AppContentUncheckedCreateInput>
|
|
/**
|
|
* In case the AppContent was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<AppContentUpdateInput, AppContentUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AppContent delete
|
|
*/
|
|
export type AppContentDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppContent
|
|
*/
|
|
select?: AppContentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppContent
|
|
*/
|
|
omit?: AppContentOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which AppContent to delete.
|
|
*/
|
|
where: AppContentWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppContent deleteMany
|
|
*/
|
|
export type AppContentDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AppContents to delete
|
|
*/
|
|
where?: AppContentWhereInput
|
|
/**
|
|
* Limit how many AppContents to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AppContent without action
|
|
*/
|
|
export type AppContentDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppContent
|
|
*/
|
|
select?: AppContentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppContent
|
|
*/
|
|
omit?: AppContentOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends AppCampaignAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAppCampaign]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateAppCampaign[P]>
|
|
: GetScalarType<T[P], AggregateAppCampaign[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AppCampaignGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends AppCampaignGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<AppCampaignGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AppCampaignGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], AppCampaignGroupByOutputType[P]>
|
|
: GetScalarType<T[P], AppCampaignGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type AppCampaignSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs>
|
|
_count?: boolean | AppCampaignCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
CampaignDelivery?: boolean | AppCampaign$CampaignDeliveryArgs<ExtArgs>
|
|
_count?: boolean | AppCampaignCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $AppCampaignPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
name: "AppCampaign"
|
|
objects: {
|
|
CampaignDelivery: Prisma.$CampaignDeliveryPayload<ExtArgs>[]
|
|
}
|
|
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<S extends boolean | null | undefined | AppCampaignDefaultArgs> = $Result.GetResult<Prisma.$AppCampaignPayload, S>
|
|
|
|
type AppCampaignCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<AppCampaignFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AppCampaignCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AppCampaignDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends AppCampaignFindUniqueArgs>(args: SelectSubset<T, AppCampaignFindUniqueArgs<ExtArgs>>): Prisma__AppCampaignClient<$Result.GetResult<Prisma.$AppCampaignPayload<ExtArgs>, 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<T extends AppCampaignFindUniqueOrThrowArgs>(args: SelectSubset<T, AppCampaignFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AppCampaignClient<$Result.GetResult<Prisma.$AppCampaignPayload<ExtArgs>, 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<T extends AppCampaignFindFirstArgs>(args?: SelectSubset<T, AppCampaignFindFirstArgs<ExtArgs>>): Prisma__AppCampaignClient<$Result.GetResult<Prisma.$AppCampaignPayload<ExtArgs>, 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<T extends AppCampaignFindFirstOrThrowArgs>(args?: SelectSubset<T, AppCampaignFindFirstOrThrowArgs<ExtArgs>>): Prisma__AppCampaignClient<$Result.GetResult<Prisma.$AppCampaignPayload<ExtArgs>, 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<T extends AppCampaignFindManyArgs>(args?: SelectSubset<T, AppCampaignFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppCampaignPayload<ExtArgs>, 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<T extends AppCampaignCreateArgs>(args: SelectSubset<T, AppCampaignCreateArgs<ExtArgs>>): Prisma__AppCampaignClient<$Result.GetResult<Prisma.$AppCampaignPayload<ExtArgs>, 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<T extends AppCampaignCreateManyArgs>(args?: SelectSubset<T, AppCampaignCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AppCampaignDeleteArgs>(args: SelectSubset<T, AppCampaignDeleteArgs<ExtArgs>>): Prisma__AppCampaignClient<$Result.GetResult<Prisma.$AppCampaignPayload<ExtArgs>, 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<T extends AppCampaignUpdateArgs>(args: SelectSubset<T, AppCampaignUpdateArgs<ExtArgs>>): Prisma__AppCampaignClient<$Result.GetResult<Prisma.$AppCampaignPayload<ExtArgs>, 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<T extends AppCampaignDeleteManyArgs>(args?: SelectSubset<T, AppCampaignDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AppCampaignUpdateManyArgs>(args: SelectSubset<T, AppCampaignUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AppCampaignUpsertArgs>(args: SelectSubset<T, AppCampaignUpsertArgs<ExtArgs>>): Prisma__AppCampaignClient<$Result.GetResult<Prisma.$AppCampaignPayload<ExtArgs>, 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<T extends AppCampaignCountArgs>(
|
|
args?: Subset<T, AppCampaignCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], AppCampaignCountAggregateOutputType>
|
|
: 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<T extends AppCampaignAggregateArgs>(args: Subset<T, AppCampaignAggregateArgs>): Prisma.PrismaPromise<GetAppCampaignAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: AppCampaignGroupByArgs['orderBy'] }
|
|
: { orderBy?: AppCampaignGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
InputErrors extends ByEmpty extends True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: SubsetIntersection<T, AppCampaignGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAppCampaignGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
CampaignDelivery<T extends AppCampaign$CampaignDeliveryArgs<ExtArgs> = {}>(args?: Subset<T, AppCampaign$CampaignDeliveryArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignDeliveryPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCampaign
|
|
*/
|
|
select?: AppCampaignSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCampaign
|
|
*/
|
|
omit?: AppCampaignOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: AppCampaignInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AppCampaign to fetch.
|
|
*/
|
|
where: AppCampaignWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppCampaign findUniqueOrThrow
|
|
*/
|
|
export type AppCampaignFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCampaign
|
|
*/
|
|
select?: AppCampaignSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCampaign
|
|
*/
|
|
omit?: AppCampaignOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: AppCampaignInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which AppCampaign to fetch.
|
|
*/
|
|
where: AppCampaignWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppCampaign findFirst
|
|
*/
|
|
export type AppCampaignFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCampaign
|
|
*/
|
|
select?: AppCampaignSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCampaign
|
|
*/
|
|
omit?: AppCampaignOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: AppCampaignInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCampaign
|
|
*/
|
|
select?: AppCampaignSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCampaign
|
|
*/
|
|
omit?: AppCampaignOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: AppCampaignInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCampaign
|
|
*/
|
|
select?: AppCampaignSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCampaign
|
|
*/
|
|
omit?: AppCampaignOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: AppCampaignInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCampaign
|
|
*/
|
|
select?: AppCampaignSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCampaign
|
|
*/
|
|
omit?: AppCampaignOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: AppCampaignInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AppCampaign.
|
|
*/
|
|
data: XOR<AppCampaignCreateInput, AppCampaignUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AppCampaign createMany
|
|
*/
|
|
export type AppCampaignCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AppCampaigns.
|
|
*/
|
|
data: AppCampaignCreateManyInput | AppCampaignCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AppCampaign update
|
|
*/
|
|
export type AppCampaignUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCampaign
|
|
*/
|
|
select?: AppCampaignSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCampaign
|
|
*/
|
|
omit?: AppCampaignOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: AppCampaignInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AppCampaign.
|
|
*/
|
|
data: XOR<AppCampaignUpdateInput, AppCampaignUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AppCampaign to update.
|
|
*/
|
|
where: AppCampaignWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppCampaign updateMany
|
|
*/
|
|
export type AppCampaignUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AppCampaigns.
|
|
*/
|
|
data: XOR<AppCampaignUpdateManyMutationInput, AppCampaignUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AppCampaigns to update
|
|
*/
|
|
where?: AppCampaignWhereInput
|
|
/**
|
|
* Limit how many AppCampaigns to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AppCampaign upsert
|
|
*/
|
|
export type AppCampaignUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCampaign
|
|
*/
|
|
select?: AppCampaignSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCampaign
|
|
*/
|
|
omit?: AppCampaignOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: AppCampaignInclude<ExtArgs> | 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<AppCampaignCreateInput, AppCampaignUncheckedCreateInput>
|
|
/**
|
|
* In case the AppCampaign was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<AppCampaignUpdateInput, AppCampaignUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AppCampaign delete
|
|
*/
|
|
export type AppCampaignDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCampaign
|
|
*/
|
|
select?: AppCampaignSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCampaign
|
|
*/
|
|
omit?: AppCampaignOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: AppCampaignInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which AppCampaign to delete.
|
|
*/
|
|
where: AppCampaignWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppCampaign deleteMany
|
|
*/
|
|
export type AppCampaignDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AppCampaigns to delete
|
|
*/
|
|
where?: AppCampaignWhereInput
|
|
/**
|
|
* Limit how many AppCampaigns to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AppCampaign.CampaignDelivery
|
|
*/
|
|
export type AppCampaign$CampaignDeliveryArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CampaignDelivery
|
|
*/
|
|
select?: CampaignDeliverySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CampaignDelivery
|
|
*/
|
|
omit?: CampaignDeliveryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: CampaignDeliveryInclude<ExtArgs> | null
|
|
where?: CampaignDeliveryWhereInput
|
|
orderBy?: CampaignDeliveryOrderByWithRelationInput | CampaignDeliveryOrderByWithRelationInput[]
|
|
cursor?: CampaignDeliveryWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: CampaignDeliveryScalarFieldEnum | CampaignDeliveryScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AppCampaign without action
|
|
*/
|
|
export type AppCampaignDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppCampaign
|
|
*/
|
|
select?: AppCampaignSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppCampaign
|
|
*/
|
|
omit?: AppCampaignOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: AppCampaignInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends CampaignDeliveryAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateCampaignDelivery]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateCampaignDelivery[P]>
|
|
: GetScalarType<T[P], AggregateCampaignDelivery[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type CampaignDeliveryGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends CampaignDeliveryGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<CampaignDeliveryGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof CampaignDeliveryGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], CampaignDeliveryGroupByOutputType[P]>
|
|
: GetScalarType<T[P], CampaignDeliveryGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type CampaignDeliverySelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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>
|
|
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
AppCampaign?: boolean | AppCampaignDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $CampaignDeliveryPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
name: "CampaignDelivery"
|
|
objects: {
|
|
AppCampaign: Prisma.$AppCampaignPayload<ExtArgs>
|
|
}
|
|
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<S extends boolean | null | undefined | CampaignDeliveryDefaultArgs> = $Result.GetResult<Prisma.$CampaignDeliveryPayload, S>
|
|
|
|
type CampaignDeliveryCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<CampaignDeliveryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: CampaignDeliveryCountAggregateInputType | true
|
|
}
|
|
|
|
export interface CampaignDeliveryDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends CampaignDeliveryFindUniqueArgs>(args: SelectSubset<T, CampaignDeliveryFindUniqueArgs<ExtArgs>>): Prisma__CampaignDeliveryClient<$Result.GetResult<Prisma.$CampaignDeliveryPayload<ExtArgs>, 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<T extends CampaignDeliveryFindUniqueOrThrowArgs>(args: SelectSubset<T, CampaignDeliveryFindUniqueOrThrowArgs<ExtArgs>>): Prisma__CampaignDeliveryClient<$Result.GetResult<Prisma.$CampaignDeliveryPayload<ExtArgs>, 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<T extends CampaignDeliveryFindFirstArgs>(args?: SelectSubset<T, CampaignDeliveryFindFirstArgs<ExtArgs>>): Prisma__CampaignDeliveryClient<$Result.GetResult<Prisma.$CampaignDeliveryPayload<ExtArgs>, 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<T extends CampaignDeliveryFindFirstOrThrowArgs>(args?: SelectSubset<T, CampaignDeliveryFindFirstOrThrowArgs<ExtArgs>>): Prisma__CampaignDeliveryClient<$Result.GetResult<Prisma.$CampaignDeliveryPayload<ExtArgs>, 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<T extends CampaignDeliveryFindManyArgs>(args?: SelectSubset<T, CampaignDeliveryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignDeliveryPayload<ExtArgs>, 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<T extends CampaignDeliveryCreateArgs>(args: SelectSubset<T, CampaignDeliveryCreateArgs<ExtArgs>>): Prisma__CampaignDeliveryClient<$Result.GetResult<Prisma.$CampaignDeliveryPayload<ExtArgs>, 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<T extends CampaignDeliveryCreateManyArgs>(args?: SelectSubset<T, CampaignDeliveryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CampaignDeliveryDeleteArgs>(args: SelectSubset<T, CampaignDeliveryDeleteArgs<ExtArgs>>): Prisma__CampaignDeliveryClient<$Result.GetResult<Prisma.$CampaignDeliveryPayload<ExtArgs>, 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<T extends CampaignDeliveryUpdateArgs>(args: SelectSubset<T, CampaignDeliveryUpdateArgs<ExtArgs>>): Prisma__CampaignDeliveryClient<$Result.GetResult<Prisma.$CampaignDeliveryPayload<ExtArgs>, 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<T extends CampaignDeliveryDeleteManyArgs>(args?: SelectSubset<T, CampaignDeliveryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CampaignDeliveryUpdateManyArgs>(args: SelectSubset<T, CampaignDeliveryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CampaignDeliveryUpsertArgs>(args: SelectSubset<T, CampaignDeliveryUpsertArgs<ExtArgs>>): Prisma__CampaignDeliveryClient<$Result.GetResult<Prisma.$CampaignDeliveryPayload<ExtArgs>, 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<T extends CampaignDeliveryCountArgs>(
|
|
args?: Subset<T, CampaignDeliveryCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], CampaignDeliveryCountAggregateOutputType>
|
|
: 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<T extends CampaignDeliveryAggregateArgs>(args: Subset<T, CampaignDeliveryAggregateArgs>): Prisma.PrismaPromise<GetCampaignDeliveryAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: CampaignDeliveryGroupByArgs['orderBy'] }
|
|
: { orderBy?: CampaignDeliveryGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
InputErrors extends ByEmpty extends True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: SubsetIntersection<T, CampaignDeliveryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCampaignDeliveryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
AppCampaign<T extends AppCampaignDefaultArgs<ExtArgs> = {}>(args?: Subset<T, AppCampaignDefaultArgs<ExtArgs>>): Prisma__AppCampaignClient<$Result.GetResult<Prisma.$AppCampaignPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CampaignDelivery
|
|
*/
|
|
select?: CampaignDeliverySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CampaignDelivery
|
|
*/
|
|
omit?: CampaignDeliveryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: CampaignDeliveryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which CampaignDelivery to fetch.
|
|
*/
|
|
where: CampaignDeliveryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CampaignDelivery findUniqueOrThrow
|
|
*/
|
|
export type CampaignDeliveryFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CampaignDelivery
|
|
*/
|
|
select?: CampaignDeliverySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CampaignDelivery
|
|
*/
|
|
omit?: CampaignDeliveryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: CampaignDeliveryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which CampaignDelivery to fetch.
|
|
*/
|
|
where: CampaignDeliveryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CampaignDelivery findFirst
|
|
*/
|
|
export type CampaignDeliveryFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CampaignDelivery
|
|
*/
|
|
select?: CampaignDeliverySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CampaignDelivery
|
|
*/
|
|
omit?: CampaignDeliveryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: CampaignDeliveryInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CampaignDelivery
|
|
*/
|
|
select?: CampaignDeliverySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CampaignDelivery
|
|
*/
|
|
omit?: CampaignDeliveryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: CampaignDeliveryInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CampaignDelivery
|
|
*/
|
|
select?: CampaignDeliverySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CampaignDelivery
|
|
*/
|
|
omit?: CampaignDeliveryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: CampaignDeliveryInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CampaignDelivery
|
|
*/
|
|
select?: CampaignDeliverySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CampaignDelivery
|
|
*/
|
|
omit?: CampaignDeliveryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: CampaignDeliveryInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a CampaignDelivery.
|
|
*/
|
|
data: XOR<CampaignDeliveryCreateInput, CampaignDeliveryUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* CampaignDelivery createMany
|
|
*/
|
|
export type CampaignDeliveryCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many CampaignDeliveries.
|
|
*/
|
|
data: CampaignDeliveryCreateManyInput | CampaignDeliveryCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* CampaignDelivery update
|
|
*/
|
|
export type CampaignDeliveryUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CampaignDelivery
|
|
*/
|
|
select?: CampaignDeliverySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CampaignDelivery
|
|
*/
|
|
omit?: CampaignDeliveryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: CampaignDeliveryInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a CampaignDelivery.
|
|
*/
|
|
data: XOR<CampaignDeliveryUpdateInput, CampaignDeliveryUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which CampaignDelivery to update.
|
|
*/
|
|
where: CampaignDeliveryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CampaignDelivery updateMany
|
|
*/
|
|
export type CampaignDeliveryUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update CampaignDeliveries.
|
|
*/
|
|
data: XOR<CampaignDeliveryUpdateManyMutationInput, CampaignDeliveryUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which CampaignDeliveries to update
|
|
*/
|
|
where?: CampaignDeliveryWhereInput
|
|
/**
|
|
* Limit how many CampaignDeliveries to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* CampaignDelivery upsert
|
|
*/
|
|
export type CampaignDeliveryUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CampaignDelivery
|
|
*/
|
|
select?: CampaignDeliverySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CampaignDelivery
|
|
*/
|
|
omit?: CampaignDeliveryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: CampaignDeliveryInclude<ExtArgs> | 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<CampaignDeliveryCreateInput, CampaignDeliveryUncheckedCreateInput>
|
|
/**
|
|
* In case the CampaignDelivery was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<CampaignDeliveryUpdateInput, CampaignDeliveryUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* CampaignDelivery delete
|
|
*/
|
|
export type CampaignDeliveryDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CampaignDelivery
|
|
*/
|
|
select?: CampaignDeliverySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CampaignDelivery
|
|
*/
|
|
omit?: CampaignDeliveryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: CampaignDeliveryInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which CampaignDelivery to delete.
|
|
*/
|
|
where: CampaignDeliveryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CampaignDelivery deleteMany
|
|
*/
|
|
export type CampaignDeliveryDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which CampaignDeliveries to delete
|
|
*/
|
|
where?: CampaignDeliveryWhereInput
|
|
/**
|
|
* Limit how many CampaignDeliveries to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* CampaignDelivery without action
|
|
*/
|
|
export type CampaignDeliveryDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CampaignDelivery
|
|
*/
|
|
select?: CampaignDeliverySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CampaignDelivery
|
|
*/
|
|
omit?: CampaignDeliveryOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: CampaignDeliveryInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends UsersTokenAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateUsersToken]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateUsersToken[P]>
|
|
: GetScalarType<T[P], AggregateUsersToken[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type UsersTokenGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends UsersTokenGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<UsersTokenGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof UsersTokenGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], UsersTokenGroupByOutputType[P]>
|
|
: GetScalarType<T[P], UsersTokenGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type UsersTokenSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
UUID_UT?: boolean
|
|
UserID_UT?: boolean
|
|
Token_UT?: boolean
|
|
UpdatedAt_UT?: boolean
|
|
CreatedAt_UT?: boolean
|
|
UsersActivity?: boolean | UsersToken$UsersActivityArgs<ExtArgs>
|
|
_count?: boolean | UsersTokenCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["usersToken"]>
|
|
|
|
|
|
|
|
export type UsersTokenSelectScalar = {
|
|
UUID_UT?: boolean
|
|
UserID_UT?: boolean
|
|
Token_UT?: boolean
|
|
UpdatedAt_UT?: boolean
|
|
CreatedAt_UT?: boolean
|
|
}
|
|
|
|
export type UsersTokenOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"UUID_UT" | "UserID_UT" | "Token_UT" | "UpdatedAt_UT" | "CreatedAt_UT", ExtArgs["result"]["usersToken"]>
|
|
export type UsersTokenInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
UsersActivity?: boolean | UsersToken$UsersActivityArgs<ExtArgs>
|
|
_count?: boolean | UsersTokenCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $UsersTokenPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
name: "UsersToken"
|
|
objects: {
|
|
UsersActivity: Prisma.$UsersActivityPayload<ExtArgs>[]
|
|
}
|
|
scalars: $Extensions.GetPayloadResult<{
|
|
UUID_UT: string
|
|
UserID_UT: string
|
|
Token_UT: string
|
|
UpdatedAt_UT: Date
|
|
CreatedAt_UT: Date
|
|
}, ExtArgs["result"]["usersToken"]>
|
|
composites: {}
|
|
}
|
|
|
|
type UsersTokenGetPayload<S extends boolean | null | undefined | UsersTokenDefaultArgs> = $Result.GetResult<Prisma.$UsersTokenPayload, S>
|
|
|
|
type UsersTokenCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<UsersTokenFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: UsersTokenCountAggregateInputType | true
|
|
}
|
|
|
|
export interface UsersTokenDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends UsersTokenFindUniqueArgs>(args: SelectSubset<T, UsersTokenFindUniqueArgs<ExtArgs>>): Prisma__UsersTokenClient<$Result.GetResult<Prisma.$UsersTokenPayload<ExtArgs>, 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<T extends UsersTokenFindUniqueOrThrowArgs>(args: SelectSubset<T, UsersTokenFindUniqueOrThrowArgs<ExtArgs>>): Prisma__UsersTokenClient<$Result.GetResult<Prisma.$UsersTokenPayload<ExtArgs>, 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<T extends UsersTokenFindFirstArgs>(args?: SelectSubset<T, UsersTokenFindFirstArgs<ExtArgs>>): Prisma__UsersTokenClient<$Result.GetResult<Prisma.$UsersTokenPayload<ExtArgs>, 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<T extends UsersTokenFindFirstOrThrowArgs>(args?: SelectSubset<T, UsersTokenFindFirstOrThrowArgs<ExtArgs>>): Prisma__UsersTokenClient<$Result.GetResult<Prisma.$UsersTokenPayload<ExtArgs>, 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<T extends UsersTokenFindManyArgs>(args?: SelectSubset<T, UsersTokenFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UsersTokenPayload<ExtArgs>, 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<T extends UsersTokenCreateArgs>(args: SelectSubset<T, UsersTokenCreateArgs<ExtArgs>>): Prisma__UsersTokenClient<$Result.GetResult<Prisma.$UsersTokenPayload<ExtArgs>, 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<T extends UsersTokenCreateManyArgs>(args?: SelectSubset<T, UsersTokenCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends UsersTokenDeleteArgs>(args: SelectSubset<T, UsersTokenDeleteArgs<ExtArgs>>): Prisma__UsersTokenClient<$Result.GetResult<Prisma.$UsersTokenPayload<ExtArgs>, 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<T extends UsersTokenUpdateArgs>(args: SelectSubset<T, UsersTokenUpdateArgs<ExtArgs>>): Prisma__UsersTokenClient<$Result.GetResult<Prisma.$UsersTokenPayload<ExtArgs>, 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<T extends UsersTokenDeleteManyArgs>(args?: SelectSubset<T, UsersTokenDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends UsersTokenUpdateManyArgs>(args: SelectSubset<T, UsersTokenUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends UsersTokenUpsertArgs>(args: SelectSubset<T, UsersTokenUpsertArgs<ExtArgs>>): Prisma__UsersTokenClient<$Result.GetResult<Prisma.$UsersTokenPayload<ExtArgs>, 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<T extends UsersTokenCountArgs>(
|
|
args?: Subset<T, UsersTokenCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], UsersTokenCountAggregateOutputType>
|
|
: 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<T extends UsersTokenAggregateArgs>(args: Subset<T, UsersTokenAggregateArgs>): Prisma.PrismaPromise<GetUsersTokenAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: UsersTokenGroupByArgs['orderBy'] }
|
|
: { orderBy?: UsersTokenGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
InputErrors extends ByEmpty extends True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: SubsetIntersection<T, UsersTokenGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUsersTokenGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
UsersActivity<T extends UsersToken$UsersActivityArgs<ExtArgs> = {}>(args?: Subset<T, UsersToken$UsersActivityArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UsersActivityPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersToken
|
|
*/
|
|
select?: UsersTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersToken
|
|
*/
|
|
omit?: UsersTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersTokenInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which UsersToken to fetch.
|
|
*/
|
|
where: UsersTokenWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* UsersToken findUniqueOrThrow
|
|
*/
|
|
export type UsersTokenFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersToken
|
|
*/
|
|
select?: UsersTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersToken
|
|
*/
|
|
omit?: UsersTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersTokenInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which UsersToken to fetch.
|
|
*/
|
|
where: UsersTokenWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* UsersToken findFirst
|
|
*/
|
|
export type UsersTokenFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersToken
|
|
*/
|
|
select?: UsersTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersToken
|
|
*/
|
|
omit?: UsersTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersTokenInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersToken
|
|
*/
|
|
select?: UsersTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersToken
|
|
*/
|
|
omit?: UsersTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersTokenInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersToken
|
|
*/
|
|
select?: UsersTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersToken
|
|
*/
|
|
omit?: UsersTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersTokenInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersToken
|
|
*/
|
|
select?: UsersTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersToken
|
|
*/
|
|
omit?: UsersTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersTokenInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a UsersToken.
|
|
*/
|
|
data: XOR<UsersTokenCreateInput, UsersTokenUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* UsersToken createMany
|
|
*/
|
|
export type UsersTokenCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many UsersTokens.
|
|
*/
|
|
data: UsersTokenCreateManyInput | UsersTokenCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* UsersToken update
|
|
*/
|
|
export type UsersTokenUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersToken
|
|
*/
|
|
select?: UsersTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersToken
|
|
*/
|
|
omit?: UsersTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersTokenInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a UsersToken.
|
|
*/
|
|
data: XOR<UsersTokenUpdateInput, UsersTokenUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which UsersToken to update.
|
|
*/
|
|
where: UsersTokenWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* UsersToken updateMany
|
|
*/
|
|
export type UsersTokenUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update UsersTokens.
|
|
*/
|
|
data: XOR<UsersTokenUpdateManyMutationInput, UsersTokenUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which UsersTokens to update
|
|
*/
|
|
where?: UsersTokenWhereInput
|
|
/**
|
|
* Limit how many UsersTokens to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* UsersToken upsert
|
|
*/
|
|
export type UsersTokenUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersToken
|
|
*/
|
|
select?: UsersTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersToken
|
|
*/
|
|
omit?: UsersTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersTokenInclude<ExtArgs> | 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<UsersTokenCreateInput, UsersTokenUncheckedCreateInput>
|
|
/**
|
|
* In case the UsersToken was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<UsersTokenUpdateInput, UsersTokenUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* UsersToken delete
|
|
*/
|
|
export type UsersTokenDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersToken
|
|
*/
|
|
select?: UsersTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersToken
|
|
*/
|
|
omit?: UsersTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersTokenInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which UsersToken to delete.
|
|
*/
|
|
where: UsersTokenWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* UsersToken deleteMany
|
|
*/
|
|
export type UsersTokenDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which UsersTokens to delete
|
|
*/
|
|
where?: UsersTokenWhereInput
|
|
/**
|
|
* Limit how many UsersTokens to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* UsersToken.UsersActivity
|
|
*/
|
|
export type UsersToken$UsersActivityArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersActivity
|
|
*/
|
|
select?: UsersActivitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersActivity
|
|
*/
|
|
omit?: UsersActivityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersActivityInclude<ExtArgs> | null
|
|
where?: UsersActivityWhereInput
|
|
orderBy?: UsersActivityOrderByWithRelationInput | UsersActivityOrderByWithRelationInput[]
|
|
cursor?: UsersActivityWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: UsersActivityScalarFieldEnum | UsersActivityScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* UsersToken without action
|
|
*/
|
|
export type UsersTokenDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersToken
|
|
*/
|
|
select?: UsersTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersToken
|
|
*/
|
|
omit?: UsersTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersTokenInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends UsersActivityAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateUsersActivity]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateUsersActivity[P]>
|
|
: GetScalarType<T[P], AggregateUsersActivity[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type UsersActivityGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends UsersActivityGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<UsersActivityGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof UsersActivityGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], UsersActivityGroupByOutputType[P]>
|
|
: GetScalarType<T[P], UsersActivityGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type UsersActivitySelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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>
|
|
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"UUID_UA" | "UUID_UT" | "ActivityType_UA" | "Params_UA" | "NotifyAt_UA" | "UpdatedAt_UA" | "CreatedAt_UA" | "Processed_UA", ExtArgs["result"]["usersActivity"]>
|
|
export type UsersActivityInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
UsersToken?: boolean | UsersTokenDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $UsersActivityPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
name: "UsersActivity"
|
|
objects: {
|
|
UsersToken: Prisma.$UsersTokenPayload<ExtArgs>
|
|
}
|
|
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<S extends boolean | null | undefined | UsersActivityDefaultArgs> = $Result.GetResult<Prisma.$UsersActivityPayload, S>
|
|
|
|
type UsersActivityCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<UsersActivityFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: UsersActivityCountAggregateInputType | true
|
|
}
|
|
|
|
export interface UsersActivityDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends UsersActivityFindUniqueArgs>(args: SelectSubset<T, UsersActivityFindUniqueArgs<ExtArgs>>): Prisma__UsersActivityClient<$Result.GetResult<Prisma.$UsersActivityPayload<ExtArgs>, 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<T extends UsersActivityFindUniqueOrThrowArgs>(args: SelectSubset<T, UsersActivityFindUniqueOrThrowArgs<ExtArgs>>): Prisma__UsersActivityClient<$Result.GetResult<Prisma.$UsersActivityPayload<ExtArgs>, 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<T extends UsersActivityFindFirstArgs>(args?: SelectSubset<T, UsersActivityFindFirstArgs<ExtArgs>>): Prisma__UsersActivityClient<$Result.GetResult<Prisma.$UsersActivityPayload<ExtArgs>, 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<T extends UsersActivityFindFirstOrThrowArgs>(args?: SelectSubset<T, UsersActivityFindFirstOrThrowArgs<ExtArgs>>): Prisma__UsersActivityClient<$Result.GetResult<Prisma.$UsersActivityPayload<ExtArgs>, 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<T extends UsersActivityFindManyArgs>(args?: SelectSubset<T, UsersActivityFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UsersActivityPayload<ExtArgs>, 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<T extends UsersActivityCreateArgs>(args: SelectSubset<T, UsersActivityCreateArgs<ExtArgs>>): Prisma__UsersActivityClient<$Result.GetResult<Prisma.$UsersActivityPayload<ExtArgs>, 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<T extends UsersActivityCreateManyArgs>(args?: SelectSubset<T, UsersActivityCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends UsersActivityDeleteArgs>(args: SelectSubset<T, UsersActivityDeleteArgs<ExtArgs>>): Prisma__UsersActivityClient<$Result.GetResult<Prisma.$UsersActivityPayload<ExtArgs>, 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<T extends UsersActivityUpdateArgs>(args: SelectSubset<T, UsersActivityUpdateArgs<ExtArgs>>): Prisma__UsersActivityClient<$Result.GetResult<Prisma.$UsersActivityPayload<ExtArgs>, 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<T extends UsersActivityDeleteManyArgs>(args?: SelectSubset<T, UsersActivityDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends UsersActivityUpdateManyArgs>(args: SelectSubset<T, UsersActivityUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends UsersActivityUpsertArgs>(args: SelectSubset<T, UsersActivityUpsertArgs<ExtArgs>>): Prisma__UsersActivityClient<$Result.GetResult<Prisma.$UsersActivityPayload<ExtArgs>, 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<T extends UsersActivityCountArgs>(
|
|
args?: Subset<T, UsersActivityCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], UsersActivityCountAggregateOutputType>
|
|
: 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<T extends UsersActivityAggregateArgs>(args: Subset<T, UsersActivityAggregateArgs>): Prisma.PrismaPromise<GetUsersActivityAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: UsersActivityGroupByArgs['orderBy'] }
|
|
: { orderBy?: UsersActivityGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
InputErrors extends ByEmpty extends True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: SubsetIntersection<T, UsersActivityGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUsersActivityGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
UsersToken<T extends UsersTokenDefaultArgs<ExtArgs> = {}>(args?: Subset<T, UsersTokenDefaultArgs<ExtArgs>>): Prisma__UsersTokenClient<$Result.GetResult<Prisma.$UsersTokenPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersActivity
|
|
*/
|
|
select?: UsersActivitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersActivity
|
|
*/
|
|
omit?: UsersActivityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersActivityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which UsersActivity to fetch.
|
|
*/
|
|
where: UsersActivityWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* UsersActivity findUniqueOrThrow
|
|
*/
|
|
export type UsersActivityFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersActivity
|
|
*/
|
|
select?: UsersActivitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersActivity
|
|
*/
|
|
omit?: UsersActivityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersActivityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which UsersActivity to fetch.
|
|
*/
|
|
where: UsersActivityWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* UsersActivity findFirst
|
|
*/
|
|
export type UsersActivityFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersActivity
|
|
*/
|
|
select?: UsersActivitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersActivity
|
|
*/
|
|
omit?: UsersActivityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersActivityInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersActivity
|
|
*/
|
|
select?: UsersActivitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersActivity
|
|
*/
|
|
omit?: UsersActivityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersActivityInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersActivity
|
|
*/
|
|
select?: UsersActivitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersActivity
|
|
*/
|
|
omit?: UsersActivityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersActivityInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersActivity
|
|
*/
|
|
select?: UsersActivitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersActivity
|
|
*/
|
|
omit?: UsersActivityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersActivityInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a UsersActivity.
|
|
*/
|
|
data: XOR<UsersActivityCreateInput, UsersActivityUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* UsersActivity createMany
|
|
*/
|
|
export type UsersActivityCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many UsersActivities.
|
|
*/
|
|
data: UsersActivityCreateManyInput | UsersActivityCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* UsersActivity update
|
|
*/
|
|
export type UsersActivityUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersActivity
|
|
*/
|
|
select?: UsersActivitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersActivity
|
|
*/
|
|
omit?: UsersActivityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersActivityInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a UsersActivity.
|
|
*/
|
|
data: XOR<UsersActivityUpdateInput, UsersActivityUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which UsersActivity to update.
|
|
*/
|
|
where: UsersActivityWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* UsersActivity updateMany
|
|
*/
|
|
export type UsersActivityUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update UsersActivities.
|
|
*/
|
|
data: XOR<UsersActivityUpdateManyMutationInput, UsersActivityUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which UsersActivities to update
|
|
*/
|
|
where?: UsersActivityWhereInput
|
|
/**
|
|
* Limit how many UsersActivities to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* UsersActivity upsert
|
|
*/
|
|
export type UsersActivityUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersActivity
|
|
*/
|
|
select?: UsersActivitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersActivity
|
|
*/
|
|
omit?: UsersActivityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersActivityInclude<ExtArgs> | 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<UsersActivityCreateInput, UsersActivityUncheckedCreateInput>
|
|
/**
|
|
* In case the UsersActivity was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<UsersActivityUpdateInput, UsersActivityUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* UsersActivity delete
|
|
*/
|
|
export type UsersActivityDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersActivity
|
|
*/
|
|
select?: UsersActivitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersActivity
|
|
*/
|
|
omit?: UsersActivityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersActivityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which UsersActivity to delete.
|
|
*/
|
|
where: UsersActivityWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* UsersActivity deleteMany
|
|
*/
|
|
export type UsersActivityDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which UsersActivities to delete
|
|
*/
|
|
where?: UsersActivityWhereInput
|
|
/**
|
|
* Limit how many UsersActivities to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* UsersActivity without action
|
|
*/
|
|
export type UsersActivityDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UsersActivity
|
|
*/
|
|
select?: UsersActivitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UsersActivity
|
|
*/
|
|
omit?: UsersActivityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: UsersActivityInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends CrashReportAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateCrashReport]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateCrashReport[P]>
|
|
: GetScalarType<T[P], AggregateCrashReport[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type CrashReportGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends CrashReportGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<CrashReportGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof CrashReportGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], CrashReportGroupByOutputType[P]>
|
|
: GetScalarType<T[P], CrashReportGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type CrashReportSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<S extends boolean | null | undefined | CrashReportDefaultArgs> = $Result.GetResult<Prisma.$CrashReportPayload, S>
|
|
|
|
type CrashReportCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<CrashReportFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: CrashReportCountAggregateInputType | true
|
|
}
|
|
|
|
export interface CrashReportDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends CrashReportFindUniqueArgs>(args: SelectSubset<T, CrashReportFindUniqueArgs<ExtArgs>>): Prisma__CrashReportClient<$Result.GetResult<Prisma.$CrashReportPayload<ExtArgs>, 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<T extends CrashReportFindUniqueOrThrowArgs>(args: SelectSubset<T, CrashReportFindUniqueOrThrowArgs<ExtArgs>>): Prisma__CrashReportClient<$Result.GetResult<Prisma.$CrashReportPayload<ExtArgs>, 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<T extends CrashReportFindFirstArgs>(args?: SelectSubset<T, CrashReportFindFirstArgs<ExtArgs>>): Prisma__CrashReportClient<$Result.GetResult<Prisma.$CrashReportPayload<ExtArgs>, 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<T extends CrashReportFindFirstOrThrowArgs>(args?: SelectSubset<T, CrashReportFindFirstOrThrowArgs<ExtArgs>>): Prisma__CrashReportClient<$Result.GetResult<Prisma.$CrashReportPayload<ExtArgs>, 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<T extends CrashReportFindManyArgs>(args?: SelectSubset<T, CrashReportFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CrashReportPayload<ExtArgs>, 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<T extends CrashReportCreateArgs>(args: SelectSubset<T, CrashReportCreateArgs<ExtArgs>>): Prisma__CrashReportClient<$Result.GetResult<Prisma.$CrashReportPayload<ExtArgs>, 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<T extends CrashReportCreateManyArgs>(args?: SelectSubset<T, CrashReportCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CrashReportDeleteArgs>(args: SelectSubset<T, CrashReportDeleteArgs<ExtArgs>>): Prisma__CrashReportClient<$Result.GetResult<Prisma.$CrashReportPayload<ExtArgs>, 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<T extends CrashReportUpdateArgs>(args: SelectSubset<T, CrashReportUpdateArgs<ExtArgs>>): Prisma__CrashReportClient<$Result.GetResult<Prisma.$CrashReportPayload<ExtArgs>, 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<T extends CrashReportDeleteManyArgs>(args?: SelectSubset<T, CrashReportDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CrashReportUpdateManyArgs>(args: SelectSubset<T, CrashReportUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CrashReportUpsertArgs>(args: SelectSubset<T, CrashReportUpsertArgs<ExtArgs>>): Prisma__CrashReportClient<$Result.GetResult<Prisma.$CrashReportPayload<ExtArgs>, 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<T extends CrashReportCountArgs>(
|
|
args?: Subset<T, CrashReportCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], CrashReportCountAggregateOutputType>
|
|
: 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<T extends CrashReportAggregateArgs>(args: Subset<T, CrashReportAggregateArgs>): Prisma.PrismaPromise<GetCrashReportAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: CrashReportGroupByArgs['orderBy'] }
|
|
: { orderBy?: CrashReportGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
InputErrors extends ByEmpty extends True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: SubsetIntersection<T, CrashReportGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCrashReportGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashReport
|
|
*/
|
|
select?: CrashReportSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashReport
|
|
*/
|
|
omit?: CrashReportOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which CrashReport to fetch.
|
|
*/
|
|
where: CrashReportWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CrashReport findUniqueOrThrow
|
|
*/
|
|
export type CrashReportFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashReport
|
|
*/
|
|
select?: CrashReportSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashReport
|
|
*/
|
|
omit?: CrashReportOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which CrashReport to fetch.
|
|
*/
|
|
where: CrashReportWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CrashReport findFirst
|
|
*/
|
|
export type CrashReportFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashReport
|
|
*/
|
|
select?: CrashReportSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashReport
|
|
*/
|
|
omit?: CrashReportOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashReport
|
|
*/
|
|
select?: CrashReportSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashReport
|
|
*/
|
|
omit?: CrashReportOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashReport
|
|
*/
|
|
select?: CrashReportSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashReport
|
|
*/
|
|
omit?: CrashReportOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashReport
|
|
*/
|
|
select?: CrashReportSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashReport
|
|
*/
|
|
omit?: CrashReportOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a CrashReport.
|
|
*/
|
|
data: XOR<CrashReportCreateInput, CrashReportUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* CrashReport createMany
|
|
*/
|
|
export type CrashReportCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many CrashReports.
|
|
*/
|
|
data: CrashReportCreateManyInput | CrashReportCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* CrashReport update
|
|
*/
|
|
export type CrashReportUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashReport
|
|
*/
|
|
select?: CrashReportSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashReport
|
|
*/
|
|
omit?: CrashReportOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a CrashReport.
|
|
*/
|
|
data: XOR<CrashReportUpdateInput, CrashReportUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which CrashReport to update.
|
|
*/
|
|
where: CrashReportWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CrashReport updateMany
|
|
*/
|
|
export type CrashReportUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update CrashReports.
|
|
*/
|
|
data: XOR<CrashReportUpdateManyMutationInput, CrashReportUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which CrashReports to update
|
|
*/
|
|
where?: CrashReportWhereInput
|
|
/**
|
|
* Limit how many CrashReports to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* CrashReport upsert
|
|
*/
|
|
export type CrashReportUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashReport
|
|
*/
|
|
select?: CrashReportSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashReport
|
|
*/
|
|
omit?: CrashReportOmit<ExtArgs> | 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<CrashReportCreateInput, CrashReportUncheckedCreateInput>
|
|
/**
|
|
* In case the CrashReport was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<CrashReportUpdateInput, CrashReportUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* CrashReport delete
|
|
*/
|
|
export type CrashReportDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashReport
|
|
*/
|
|
select?: CrashReportSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashReport
|
|
*/
|
|
omit?: CrashReportOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which CrashReport to delete.
|
|
*/
|
|
where: CrashReportWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CrashReport deleteMany
|
|
*/
|
|
export type CrashReportDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which CrashReports to delete
|
|
*/
|
|
where?: CrashReportWhereInput
|
|
/**
|
|
* Limit how many CrashReports to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* CrashReport without action
|
|
*/
|
|
export type CrashReportDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashReport
|
|
*/
|
|
select?: CrashReportSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashReport
|
|
*/
|
|
omit?: CrashReportOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends CrashSessionAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateCrashSession]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateCrashSession[P]>
|
|
: GetScalarType<T[P], AggregateCrashSession[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type CrashSessionGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends CrashSessionGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<CrashSessionGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof CrashSessionGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], CrashSessionGroupByOutputType[P]>
|
|
: GetScalarType<T[P], CrashSessionGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type CrashSessionSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<S extends boolean | null | undefined | CrashSessionDefaultArgs> = $Result.GetResult<Prisma.$CrashSessionPayload, S>
|
|
|
|
type CrashSessionCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<CrashSessionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: CrashSessionCountAggregateInputType | true
|
|
}
|
|
|
|
export interface CrashSessionDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends CrashSessionFindUniqueArgs>(args: SelectSubset<T, CrashSessionFindUniqueArgs<ExtArgs>>): Prisma__CrashSessionClient<$Result.GetResult<Prisma.$CrashSessionPayload<ExtArgs>, 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<T extends CrashSessionFindUniqueOrThrowArgs>(args: SelectSubset<T, CrashSessionFindUniqueOrThrowArgs<ExtArgs>>): Prisma__CrashSessionClient<$Result.GetResult<Prisma.$CrashSessionPayload<ExtArgs>, 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<T extends CrashSessionFindFirstArgs>(args?: SelectSubset<T, CrashSessionFindFirstArgs<ExtArgs>>): Prisma__CrashSessionClient<$Result.GetResult<Prisma.$CrashSessionPayload<ExtArgs>, 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<T extends CrashSessionFindFirstOrThrowArgs>(args?: SelectSubset<T, CrashSessionFindFirstOrThrowArgs<ExtArgs>>): Prisma__CrashSessionClient<$Result.GetResult<Prisma.$CrashSessionPayload<ExtArgs>, 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<T extends CrashSessionFindManyArgs>(args?: SelectSubset<T, CrashSessionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CrashSessionPayload<ExtArgs>, 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<T extends CrashSessionCreateArgs>(args: SelectSubset<T, CrashSessionCreateArgs<ExtArgs>>): Prisma__CrashSessionClient<$Result.GetResult<Prisma.$CrashSessionPayload<ExtArgs>, 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<T extends CrashSessionCreateManyArgs>(args?: SelectSubset<T, CrashSessionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CrashSessionDeleteArgs>(args: SelectSubset<T, CrashSessionDeleteArgs<ExtArgs>>): Prisma__CrashSessionClient<$Result.GetResult<Prisma.$CrashSessionPayload<ExtArgs>, 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<T extends CrashSessionUpdateArgs>(args: SelectSubset<T, CrashSessionUpdateArgs<ExtArgs>>): Prisma__CrashSessionClient<$Result.GetResult<Prisma.$CrashSessionPayload<ExtArgs>, 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<T extends CrashSessionDeleteManyArgs>(args?: SelectSubset<T, CrashSessionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CrashSessionUpdateManyArgs>(args: SelectSubset<T, CrashSessionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CrashSessionUpsertArgs>(args: SelectSubset<T, CrashSessionUpsertArgs<ExtArgs>>): Prisma__CrashSessionClient<$Result.GetResult<Prisma.$CrashSessionPayload<ExtArgs>, 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<T extends CrashSessionCountArgs>(
|
|
args?: Subset<T, CrashSessionCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], CrashSessionCountAggregateOutputType>
|
|
: 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<T extends CrashSessionAggregateArgs>(args: Subset<T, CrashSessionAggregateArgs>): Prisma.PrismaPromise<GetCrashSessionAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: CrashSessionGroupByArgs['orderBy'] }
|
|
: { orderBy?: CrashSessionGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
InputErrors extends ByEmpty extends True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: SubsetIntersection<T, CrashSessionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCrashSessionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashSession
|
|
*/
|
|
select?: CrashSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashSession
|
|
*/
|
|
omit?: CrashSessionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which CrashSession to fetch.
|
|
*/
|
|
where: CrashSessionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CrashSession findUniqueOrThrow
|
|
*/
|
|
export type CrashSessionFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashSession
|
|
*/
|
|
select?: CrashSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashSession
|
|
*/
|
|
omit?: CrashSessionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which CrashSession to fetch.
|
|
*/
|
|
where: CrashSessionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CrashSession findFirst
|
|
*/
|
|
export type CrashSessionFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashSession
|
|
*/
|
|
select?: CrashSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashSession
|
|
*/
|
|
omit?: CrashSessionOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashSession
|
|
*/
|
|
select?: CrashSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashSession
|
|
*/
|
|
omit?: CrashSessionOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashSession
|
|
*/
|
|
select?: CrashSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashSession
|
|
*/
|
|
omit?: CrashSessionOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashSession
|
|
*/
|
|
select?: CrashSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashSession
|
|
*/
|
|
omit?: CrashSessionOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a CrashSession.
|
|
*/
|
|
data: XOR<CrashSessionCreateInput, CrashSessionUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* CrashSession createMany
|
|
*/
|
|
export type CrashSessionCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many CrashSessions.
|
|
*/
|
|
data: CrashSessionCreateManyInput | CrashSessionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* CrashSession update
|
|
*/
|
|
export type CrashSessionUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashSession
|
|
*/
|
|
select?: CrashSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashSession
|
|
*/
|
|
omit?: CrashSessionOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a CrashSession.
|
|
*/
|
|
data: XOR<CrashSessionUpdateInput, CrashSessionUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which CrashSession to update.
|
|
*/
|
|
where: CrashSessionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CrashSession updateMany
|
|
*/
|
|
export type CrashSessionUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update CrashSessions.
|
|
*/
|
|
data: XOR<CrashSessionUpdateManyMutationInput, CrashSessionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which CrashSessions to update
|
|
*/
|
|
where?: CrashSessionWhereInput
|
|
/**
|
|
* Limit how many CrashSessions to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* CrashSession upsert
|
|
*/
|
|
export type CrashSessionUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashSession
|
|
*/
|
|
select?: CrashSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashSession
|
|
*/
|
|
omit?: CrashSessionOmit<ExtArgs> | 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<CrashSessionCreateInput, CrashSessionUncheckedCreateInput>
|
|
/**
|
|
* In case the CrashSession was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<CrashSessionUpdateInput, CrashSessionUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* CrashSession delete
|
|
*/
|
|
export type CrashSessionDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashSession
|
|
*/
|
|
select?: CrashSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashSession
|
|
*/
|
|
omit?: CrashSessionOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which CrashSession to delete.
|
|
*/
|
|
where: CrashSessionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CrashSession deleteMany
|
|
*/
|
|
export type CrashSessionDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which CrashSessions to delete
|
|
*/
|
|
where?: CrashSessionWhereInput
|
|
/**
|
|
* Limit how many CrashSessions to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* CrashSession without action
|
|
*/
|
|
export type CrashSessionDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashSession
|
|
*/
|
|
select?: CrashSessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashSession
|
|
*/
|
|
omit?: CrashSessionOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends CrashAnalyticsAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateCrashAnalytics]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateCrashAnalytics[P]>
|
|
: GetScalarType<T[P], AggregateCrashAnalytics[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type CrashAnalyticsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends CrashAnalyticsGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<CrashAnalyticsGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof CrashAnalyticsGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], CrashAnalyticsGroupByOutputType[P]>
|
|
: GetScalarType<T[P], CrashAnalyticsGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type CrashAnalyticsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<S extends boolean | null | undefined | CrashAnalyticsDefaultArgs> = $Result.GetResult<Prisma.$CrashAnalyticsPayload, S>
|
|
|
|
type CrashAnalyticsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<CrashAnalyticsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: CrashAnalyticsCountAggregateInputType | true
|
|
}
|
|
|
|
export interface CrashAnalyticsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends CrashAnalyticsFindUniqueArgs>(args: SelectSubset<T, CrashAnalyticsFindUniqueArgs<ExtArgs>>): Prisma__CrashAnalyticsClient<$Result.GetResult<Prisma.$CrashAnalyticsPayload<ExtArgs>, 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<T extends CrashAnalyticsFindUniqueOrThrowArgs>(args: SelectSubset<T, CrashAnalyticsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__CrashAnalyticsClient<$Result.GetResult<Prisma.$CrashAnalyticsPayload<ExtArgs>, 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<T extends CrashAnalyticsFindFirstArgs>(args?: SelectSubset<T, CrashAnalyticsFindFirstArgs<ExtArgs>>): Prisma__CrashAnalyticsClient<$Result.GetResult<Prisma.$CrashAnalyticsPayload<ExtArgs>, 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<T extends CrashAnalyticsFindFirstOrThrowArgs>(args?: SelectSubset<T, CrashAnalyticsFindFirstOrThrowArgs<ExtArgs>>): Prisma__CrashAnalyticsClient<$Result.GetResult<Prisma.$CrashAnalyticsPayload<ExtArgs>, 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<T extends CrashAnalyticsFindManyArgs>(args?: SelectSubset<T, CrashAnalyticsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CrashAnalyticsPayload<ExtArgs>, 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<T extends CrashAnalyticsCreateArgs>(args: SelectSubset<T, CrashAnalyticsCreateArgs<ExtArgs>>): Prisma__CrashAnalyticsClient<$Result.GetResult<Prisma.$CrashAnalyticsPayload<ExtArgs>, 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<T extends CrashAnalyticsCreateManyArgs>(args?: SelectSubset<T, CrashAnalyticsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CrashAnalyticsDeleteArgs>(args: SelectSubset<T, CrashAnalyticsDeleteArgs<ExtArgs>>): Prisma__CrashAnalyticsClient<$Result.GetResult<Prisma.$CrashAnalyticsPayload<ExtArgs>, 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<T extends CrashAnalyticsUpdateArgs>(args: SelectSubset<T, CrashAnalyticsUpdateArgs<ExtArgs>>): Prisma__CrashAnalyticsClient<$Result.GetResult<Prisma.$CrashAnalyticsPayload<ExtArgs>, 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<T extends CrashAnalyticsDeleteManyArgs>(args?: SelectSubset<T, CrashAnalyticsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CrashAnalyticsUpdateManyArgs>(args: SelectSubset<T, CrashAnalyticsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends CrashAnalyticsUpsertArgs>(args: SelectSubset<T, CrashAnalyticsUpsertArgs<ExtArgs>>): Prisma__CrashAnalyticsClient<$Result.GetResult<Prisma.$CrashAnalyticsPayload<ExtArgs>, 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<T extends CrashAnalyticsCountArgs>(
|
|
args?: Subset<T, CrashAnalyticsCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], CrashAnalyticsCountAggregateOutputType>
|
|
: 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<T extends CrashAnalyticsAggregateArgs>(args: Subset<T, CrashAnalyticsAggregateArgs>): Prisma.PrismaPromise<GetCrashAnalyticsAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: CrashAnalyticsGroupByArgs['orderBy'] }
|
|
: { orderBy?: CrashAnalyticsGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
InputErrors extends ByEmpty extends True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: SubsetIntersection<T, CrashAnalyticsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCrashAnalyticsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashAnalytics
|
|
*/
|
|
select?: CrashAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashAnalytics
|
|
*/
|
|
omit?: CrashAnalyticsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which CrashAnalytics to fetch.
|
|
*/
|
|
where: CrashAnalyticsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CrashAnalytics findUniqueOrThrow
|
|
*/
|
|
export type CrashAnalyticsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashAnalytics
|
|
*/
|
|
select?: CrashAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashAnalytics
|
|
*/
|
|
omit?: CrashAnalyticsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which CrashAnalytics to fetch.
|
|
*/
|
|
where: CrashAnalyticsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CrashAnalytics findFirst
|
|
*/
|
|
export type CrashAnalyticsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashAnalytics
|
|
*/
|
|
select?: CrashAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashAnalytics
|
|
*/
|
|
omit?: CrashAnalyticsOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashAnalytics
|
|
*/
|
|
select?: CrashAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashAnalytics
|
|
*/
|
|
omit?: CrashAnalyticsOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashAnalytics
|
|
*/
|
|
select?: CrashAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashAnalytics
|
|
*/
|
|
omit?: CrashAnalyticsOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashAnalytics
|
|
*/
|
|
select?: CrashAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashAnalytics
|
|
*/
|
|
omit?: CrashAnalyticsOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a CrashAnalytics.
|
|
*/
|
|
data: XOR<CrashAnalyticsCreateInput, CrashAnalyticsUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* CrashAnalytics createMany
|
|
*/
|
|
export type CrashAnalyticsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many CrashAnalytics.
|
|
*/
|
|
data: CrashAnalyticsCreateManyInput | CrashAnalyticsCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* CrashAnalytics update
|
|
*/
|
|
export type CrashAnalyticsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashAnalytics
|
|
*/
|
|
select?: CrashAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashAnalytics
|
|
*/
|
|
omit?: CrashAnalyticsOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a CrashAnalytics.
|
|
*/
|
|
data: XOR<CrashAnalyticsUpdateInput, CrashAnalyticsUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which CrashAnalytics to update.
|
|
*/
|
|
where: CrashAnalyticsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CrashAnalytics updateMany
|
|
*/
|
|
export type CrashAnalyticsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update CrashAnalytics.
|
|
*/
|
|
data: XOR<CrashAnalyticsUpdateManyMutationInput, CrashAnalyticsUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which CrashAnalytics to update
|
|
*/
|
|
where?: CrashAnalyticsWhereInput
|
|
/**
|
|
* Limit how many CrashAnalytics to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* CrashAnalytics upsert
|
|
*/
|
|
export type CrashAnalyticsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashAnalytics
|
|
*/
|
|
select?: CrashAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashAnalytics
|
|
*/
|
|
omit?: CrashAnalyticsOmit<ExtArgs> | 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<CrashAnalyticsCreateInput, CrashAnalyticsUncheckedCreateInput>
|
|
/**
|
|
* In case the CrashAnalytics was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<CrashAnalyticsUpdateInput, CrashAnalyticsUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* CrashAnalytics delete
|
|
*/
|
|
export type CrashAnalyticsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashAnalytics
|
|
*/
|
|
select?: CrashAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashAnalytics
|
|
*/
|
|
omit?: CrashAnalyticsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which CrashAnalytics to delete.
|
|
*/
|
|
where: CrashAnalyticsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* CrashAnalytics deleteMany
|
|
*/
|
|
export type CrashAnalyticsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which CrashAnalytics to delete
|
|
*/
|
|
where?: CrashAnalyticsWhereInput
|
|
/**
|
|
* Limit how many CrashAnalytics to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* CrashAnalytics without action
|
|
*/
|
|
export type CrashAnalyticsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the CrashAnalytics
|
|
*/
|
|
select?: CrashAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the CrashAnalytics
|
|
*/
|
|
omit?: CrashAnalyticsOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends AINotificationAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAINotification]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateAINotification[P]>
|
|
: GetScalarType<T[P], AggregateAINotification[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AINotificationGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends AINotificationGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<AINotificationGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AINotificationGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], AINotificationGroupByOutputType[P]>
|
|
: GetScalarType<T[P], AINotificationGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type AINotificationSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<S extends boolean | null | undefined | AINotificationDefaultArgs> = $Result.GetResult<Prisma.$AINotificationPayload, S>
|
|
|
|
type AINotificationCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<AINotificationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AINotificationCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AINotificationDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends AINotificationFindUniqueArgs>(args: SelectSubset<T, AINotificationFindUniqueArgs<ExtArgs>>): Prisma__AINotificationClient<$Result.GetResult<Prisma.$AINotificationPayload<ExtArgs>, 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<T extends AINotificationFindUniqueOrThrowArgs>(args: SelectSubset<T, AINotificationFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AINotificationClient<$Result.GetResult<Prisma.$AINotificationPayload<ExtArgs>, 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<T extends AINotificationFindFirstArgs>(args?: SelectSubset<T, AINotificationFindFirstArgs<ExtArgs>>): Prisma__AINotificationClient<$Result.GetResult<Prisma.$AINotificationPayload<ExtArgs>, 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<T extends AINotificationFindFirstOrThrowArgs>(args?: SelectSubset<T, AINotificationFindFirstOrThrowArgs<ExtArgs>>): Prisma__AINotificationClient<$Result.GetResult<Prisma.$AINotificationPayload<ExtArgs>, 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<T extends AINotificationFindManyArgs>(args?: SelectSubset<T, AINotificationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AINotificationPayload<ExtArgs>, 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<T extends AINotificationCreateArgs>(args: SelectSubset<T, AINotificationCreateArgs<ExtArgs>>): Prisma__AINotificationClient<$Result.GetResult<Prisma.$AINotificationPayload<ExtArgs>, 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<T extends AINotificationCreateManyArgs>(args?: SelectSubset<T, AINotificationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AINotificationDeleteArgs>(args: SelectSubset<T, AINotificationDeleteArgs<ExtArgs>>): Prisma__AINotificationClient<$Result.GetResult<Prisma.$AINotificationPayload<ExtArgs>, 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<T extends AINotificationUpdateArgs>(args: SelectSubset<T, AINotificationUpdateArgs<ExtArgs>>): Prisma__AINotificationClient<$Result.GetResult<Prisma.$AINotificationPayload<ExtArgs>, 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<T extends AINotificationDeleteManyArgs>(args?: SelectSubset<T, AINotificationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AINotificationUpdateManyArgs>(args: SelectSubset<T, AINotificationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AINotificationUpsertArgs>(args: SelectSubset<T, AINotificationUpsertArgs<ExtArgs>>): Prisma__AINotificationClient<$Result.GetResult<Prisma.$AINotificationPayload<ExtArgs>, 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<T extends AINotificationCountArgs>(
|
|
args?: Subset<T, AINotificationCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], AINotificationCountAggregateOutputType>
|
|
: 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<T extends AINotificationAggregateArgs>(args: Subset<T, AINotificationAggregateArgs>): Prisma.PrismaPromise<GetAINotificationAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: AINotificationGroupByArgs['orderBy'] }
|
|
: { orderBy?: AINotificationGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
InputErrors extends ByEmpty extends True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: SubsetIntersection<T, AINotificationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAINotificationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotification
|
|
*/
|
|
select?: AINotificationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotification
|
|
*/
|
|
omit?: AINotificationOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AINotification to fetch.
|
|
*/
|
|
where: AINotificationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AINotification findUniqueOrThrow
|
|
*/
|
|
export type AINotificationFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotification
|
|
*/
|
|
select?: AINotificationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotification
|
|
*/
|
|
omit?: AINotificationOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AINotification to fetch.
|
|
*/
|
|
where: AINotificationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AINotification findFirst
|
|
*/
|
|
export type AINotificationFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotification
|
|
*/
|
|
select?: AINotificationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotification
|
|
*/
|
|
omit?: AINotificationOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotification
|
|
*/
|
|
select?: AINotificationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotification
|
|
*/
|
|
omit?: AINotificationOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotification
|
|
*/
|
|
select?: AINotificationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotification
|
|
*/
|
|
omit?: AINotificationOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotification
|
|
*/
|
|
select?: AINotificationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotification
|
|
*/
|
|
omit?: AINotificationOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AINotification.
|
|
*/
|
|
data: XOR<AINotificationCreateInput, AINotificationUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AINotification createMany
|
|
*/
|
|
export type AINotificationCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AINotifications.
|
|
*/
|
|
data: AINotificationCreateManyInput | AINotificationCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AINotification update
|
|
*/
|
|
export type AINotificationUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotification
|
|
*/
|
|
select?: AINotificationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotification
|
|
*/
|
|
omit?: AINotificationOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AINotification.
|
|
*/
|
|
data: XOR<AINotificationUpdateInput, AINotificationUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AINotification to update.
|
|
*/
|
|
where: AINotificationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AINotification updateMany
|
|
*/
|
|
export type AINotificationUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AINotifications.
|
|
*/
|
|
data: XOR<AINotificationUpdateManyMutationInput, AINotificationUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AINotifications to update
|
|
*/
|
|
where?: AINotificationWhereInput
|
|
/**
|
|
* Limit how many AINotifications to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AINotification upsert
|
|
*/
|
|
export type AINotificationUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotification
|
|
*/
|
|
select?: AINotificationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotification
|
|
*/
|
|
omit?: AINotificationOmit<ExtArgs> | 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<AINotificationCreateInput, AINotificationUncheckedCreateInput>
|
|
/**
|
|
* In case the AINotification was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<AINotificationUpdateInput, AINotificationUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AINotification delete
|
|
*/
|
|
export type AINotificationDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotification
|
|
*/
|
|
select?: AINotificationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotification
|
|
*/
|
|
omit?: AINotificationOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which AINotification to delete.
|
|
*/
|
|
where: AINotificationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AINotification deleteMany
|
|
*/
|
|
export type AINotificationDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AINotifications to delete
|
|
*/
|
|
where?: AINotificationWhereInput
|
|
/**
|
|
* Limit how many AINotifications to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AINotification without action
|
|
*/
|
|
export type AINotificationDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotification
|
|
*/
|
|
select?: AINotificationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotification
|
|
*/
|
|
omit?: AINotificationOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends AINotificationAnalyticsAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAINotificationAnalytics]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateAINotificationAnalytics[P]>
|
|
: GetScalarType<T[P], AggregateAINotificationAnalytics[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AINotificationAnalyticsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends AINotificationAnalyticsGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<AINotificationAnalyticsGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AINotificationAnalyticsGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], AINotificationAnalyticsGroupByOutputType[P]>
|
|
: GetScalarType<T[P], AINotificationAnalyticsGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type AINotificationAnalyticsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<S extends boolean | null | undefined | AINotificationAnalyticsDefaultArgs> = $Result.GetResult<Prisma.$AINotificationAnalyticsPayload, S>
|
|
|
|
type AINotificationAnalyticsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<AINotificationAnalyticsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AINotificationAnalyticsCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AINotificationAnalyticsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends AINotificationAnalyticsFindUniqueArgs>(args: SelectSubset<T, AINotificationAnalyticsFindUniqueArgs<ExtArgs>>): Prisma__AINotificationAnalyticsClient<$Result.GetResult<Prisma.$AINotificationAnalyticsPayload<ExtArgs>, 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<T extends AINotificationAnalyticsFindUniqueOrThrowArgs>(args: SelectSubset<T, AINotificationAnalyticsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AINotificationAnalyticsClient<$Result.GetResult<Prisma.$AINotificationAnalyticsPayload<ExtArgs>, 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<T extends AINotificationAnalyticsFindFirstArgs>(args?: SelectSubset<T, AINotificationAnalyticsFindFirstArgs<ExtArgs>>): Prisma__AINotificationAnalyticsClient<$Result.GetResult<Prisma.$AINotificationAnalyticsPayload<ExtArgs>, 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<T extends AINotificationAnalyticsFindFirstOrThrowArgs>(args?: SelectSubset<T, AINotificationAnalyticsFindFirstOrThrowArgs<ExtArgs>>): Prisma__AINotificationAnalyticsClient<$Result.GetResult<Prisma.$AINotificationAnalyticsPayload<ExtArgs>, 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<T extends AINotificationAnalyticsFindManyArgs>(args?: SelectSubset<T, AINotificationAnalyticsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AINotificationAnalyticsPayload<ExtArgs>, 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<T extends AINotificationAnalyticsCreateArgs>(args: SelectSubset<T, AINotificationAnalyticsCreateArgs<ExtArgs>>): Prisma__AINotificationAnalyticsClient<$Result.GetResult<Prisma.$AINotificationAnalyticsPayload<ExtArgs>, 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<T extends AINotificationAnalyticsCreateManyArgs>(args?: SelectSubset<T, AINotificationAnalyticsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AINotificationAnalyticsDeleteArgs>(args: SelectSubset<T, AINotificationAnalyticsDeleteArgs<ExtArgs>>): Prisma__AINotificationAnalyticsClient<$Result.GetResult<Prisma.$AINotificationAnalyticsPayload<ExtArgs>, 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<T extends AINotificationAnalyticsUpdateArgs>(args: SelectSubset<T, AINotificationAnalyticsUpdateArgs<ExtArgs>>): Prisma__AINotificationAnalyticsClient<$Result.GetResult<Prisma.$AINotificationAnalyticsPayload<ExtArgs>, 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<T extends AINotificationAnalyticsDeleteManyArgs>(args?: SelectSubset<T, AINotificationAnalyticsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AINotificationAnalyticsUpdateManyArgs>(args: SelectSubset<T, AINotificationAnalyticsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AINotificationAnalyticsUpsertArgs>(args: SelectSubset<T, AINotificationAnalyticsUpsertArgs<ExtArgs>>): Prisma__AINotificationAnalyticsClient<$Result.GetResult<Prisma.$AINotificationAnalyticsPayload<ExtArgs>, 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<T extends AINotificationAnalyticsCountArgs>(
|
|
args?: Subset<T, AINotificationAnalyticsCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], AINotificationAnalyticsCountAggregateOutputType>
|
|
: 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<T extends AINotificationAnalyticsAggregateArgs>(args: Subset<T, AINotificationAnalyticsAggregateArgs>): Prisma.PrismaPromise<GetAINotificationAnalyticsAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: AINotificationAnalyticsGroupByArgs['orderBy'] }
|
|
: { orderBy?: AINotificationAnalyticsGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
InputErrors extends ByEmpty extends True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: SubsetIntersection<T, AINotificationAnalyticsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAINotificationAnalyticsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotificationAnalytics
|
|
*/
|
|
select?: AINotificationAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotificationAnalytics
|
|
*/
|
|
omit?: AINotificationAnalyticsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AINotificationAnalytics to fetch.
|
|
*/
|
|
where: AINotificationAnalyticsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AINotificationAnalytics findUniqueOrThrow
|
|
*/
|
|
export type AINotificationAnalyticsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotificationAnalytics
|
|
*/
|
|
select?: AINotificationAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotificationAnalytics
|
|
*/
|
|
omit?: AINotificationAnalyticsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AINotificationAnalytics to fetch.
|
|
*/
|
|
where: AINotificationAnalyticsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AINotificationAnalytics findFirst
|
|
*/
|
|
export type AINotificationAnalyticsFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotificationAnalytics
|
|
*/
|
|
select?: AINotificationAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotificationAnalytics
|
|
*/
|
|
omit?: AINotificationAnalyticsOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotificationAnalytics
|
|
*/
|
|
select?: AINotificationAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotificationAnalytics
|
|
*/
|
|
omit?: AINotificationAnalyticsOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotificationAnalytics
|
|
*/
|
|
select?: AINotificationAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotificationAnalytics
|
|
*/
|
|
omit?: AINotificationAnalyticsOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotificationAnalytics
|
|
*/
|
|
select?: AINotificationAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotificationAnalytics
|
|
*/
|
|
omit?: AINotificationAnalyticsOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AINotificationAnalytics.
|
|
*/
|
|
data: XOR<AINotificationAnalyticsCreateInput, AINotificationAnalyticsUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AINotificationAnalytics createMany
|
|
*/
|
|
export type AINotificationAnalyticsCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AINotificationAnalytics.
|
|
*/
|
|
data: AINotificationAnalyticsCreateManyInput | AINotificationAnalyticsCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AINotificationAnalytics update
|
|
*/
|
|
export type AINotificationAnalyticsUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotificationAnalytics
|
|
*/
|
|
select?: AINotificationAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotificationAnalytics
|
|
*/
|
|
omit?: AINotificationAnalyticsOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AINotificationAnalytics.
|
|
*/
|
|
data: XOR<AINotificationAnalyticsUpdateInput, AINotificationAnalyticsUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AINotificationAnalytics to update.
|
|
*/
|
|
where: AINotificationAnalyticsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AINotificationAnalytics updateMany
|
|
*/
|
|
export type AINotificationAnalyticsUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AINotificationAnalytics.
|
|
*/
|
|
data: XOR<AINotificationAnalyticsUpdateManyMutationInput, AINotificationAnalyticsUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AINotificationAnalytics to update
|
|
*/
|
|
where?: AINotificationAnalyticsWhereInput
|
|
/**
|
|
* Limit how many AINotificationAnalytics to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AINotificationAnalytics upsert
|
|
*/
|
|
export type AINotificationAnalyticsUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotificationAnalytics
|
|
*/
|
|
select?: AINotificationAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotificationAnalytics
|
|
*/
|
|
omit?: AINotificationAnalyticsOmit<ExtArgs> | 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<AINotificationAnalyticsCreateInput, AINotificationAnalyticsUncheckedCreateInput>
|
|
/**
|
|
* In case the AINotificationAnalytics was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<AINotificationAnalyticsUpdateInput, AINotificationAnalyticsUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AINotificationAnalytics delete
|
|
*/
|
|
export type AINotificationAnalyticsDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotificationAnalytics
|
|
*/
|
|
select?: AINotificationAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotificationAnalytics
|
|
*/
|
|
omit?: AINotificationAnalyticsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which AINotificationAnalytics to delete.
|
|
*/
|
|
where: AINotificationAnalyticsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AINotificationAnalytics deleteMany
|
|
*/
|
|
export type AINotificationAnalyticsDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AINotificationAnalytics to delete
|
|
*/
|
|
where?: AINotificationAnalyticsWhereInput
|
|
/**
|
|
* Limit how many AINotificationAnalytics to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AINotificationAnalytics without action
|
|
*/
|
|
export type AINotificationAnalyticsDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AINotificationAnalytics
|
|
*/
|
|
select?: AINotificationAnalyticsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AINotificationAnalytics
|
|
*/
|
|
omit?: AINotificationAnalyticsOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends AppMenuAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAppMenu]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateAppMenu[P]>
|
|
: GetScalarType<T[P], AggregateAppMenu[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AppMenuGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends AppMenuGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<AppMenuGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AppMenuGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], AppMenuGroupByOutputType[P]>
|
|
: GetScalarType<T[P], AppMenuGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type AppMenuSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<S extends boolean | null | undefined | AppMenuDefaultArgs> = $Result.GetResult<Prisma.$AppMenuPayload, S>
|
|
|
|
type AppMenuCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<AppMenuFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AppMenuCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AppMenuDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends AppMenuFindUniqueArgs>(args: SelectSubset<T, AppMenuFindUniqueArgs<ExtArgs>>): Prisma__AppMenuClient<$Result.GetResult<Prisma.$AppMenuPayload<ExtArgs>, 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<T extends AppMenuFindUniqueOrThrowArgs>(args: SelectSubset<T, AppMenuFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AppMenuClient<$Result.GetResult<Prisma.$AppMenuPayload<ExtArgs>, 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<T extends AppMenuFindFirstArgs>(args?: SelectSubset<T, AppMenuFindFirstArgs<ExtArgs>>): Prisma__AppMenuClient<$Result.GetResult<Prisma.$AppMenuPayload<ExtArgs>, 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<T extends AppMenuFindFirstOrThrowArgs>(args?: SelectSubset<T, AppMenuFindFirstOrThrowArgs<ExtArgs>>): Prisma__AppMenuClient<$Result.GetResult<Prisma.$AppMenuPayload<ExtArgs>, 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<T extends AppMenuFindManyArgs>(args?: SelectSubset<T, AppMenuFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppMenuPayload<ExtArgs>, 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<T extends AppMenuCreateArgs>(args: SelectSubset<T, AppMenuCreateArgs<ExtArgs>>): Prisma__AppMenuClient<$Result.GetResult<Prisma.$AppMenuPayload<ExtArgs>, 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<T extends AppMenuCreateManyArgs>(args?: SelectSubset<T, AppMenuCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AppMenuDeleteArgs>(args: SelectSubset<T, AppMenuDeleteArgs<ExtArgs>>): Prisma__AppMenuClient<$Result.GetResult<Prisma.$AppMenuPayload<ExtArgs>, 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<T extends AppMenuUpdateArgs>(args: SelectSubset<T, AppMenuUpdateArgs<ExtArgs>>): Prisma__AppMenuClient<$Result.GetResult<Prisma.$AppMenuPayload<ExtArgs>, 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<T extends AppMenuDeleteManyArgs>(args?: SelectSubset<T, AppMenuDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AppMenuUpdateManyArgs>(args: SelectSubset<T, AppMenuUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends AppMenuUpsertArgs>(args: SelectSubset<T, AppMenuUpsertArgs<ExtArgs>>): Prisma__AppMenuClient<$Result.GetResult<Prisma.$AppMenuPayload<ExtArgs>, 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<T extends AppMenuCountArgs>(
|
|
args?: Subset<T, AppMenuCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], AppMenuCountAggregateOutputType>
|
|
: 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<T extends AppMenuAggregateArgs>(args: Subset<T, AppMenuAggregateArgs>): Prisma.PrismaPromise<GetAppMenuAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: AppMenuGroupByArgs['orderBy'] }
|
|
: { orderBy?: AppMenuGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
InputErrors extends ByEmpty extends True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Keys<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: SubsetIntersection<T, AppMenuGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAppMenuGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppMenu
|
|
*/
|
|
select?: AppMenuSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppMenu
|
|
*/
|
|
omit?: AppMenuOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AppMenu to fetch.
|
|
*/
|
|
where: AppMenuWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppMenu findUniqueOrThrow
|
|
*/
|
|
export type AppMenuFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppMenu
|
|
*/
|
|
select?: AppMenuSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppMenu
|
|
*/
|
|
omit?: AppMenuOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AppMenu to fetch.
|
|
*/
|
|
where: AppMenuWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppMenu findFirst
|
|
*/
|
|
export type AppMenuFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppMenu
|
|
*/
|
|
select?: AppMenuSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppMenu
|
|
*/
|
|
omit?: AppMenuOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppMenu
|
|
*/
|
|
select?: AppMenuSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppMenu
|
|
*/
|
|
omit?: AppMenuOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppMenu
|
|
*/
|
|
select?: AppMenuSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppMenu
|
|
*/
|
|
omit?: AppMenuOmit<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppMenu
|
|
*/
|
|
select?: AppMenuSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppMenu
|
|
*/
|
|
omit?: AppMenuOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AppMenu.
|
|
*/
|
|
data: XOR<AppMenuCreateInput, AppMenuUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AppMenu createMany
|
|
*/
|
|
export type AppMenuCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AppMenus.
|
|
*/
|
|
data: AppMenuCreateManyInput | AppMenuCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AppMenu update
|
|
*/
|
|
export type AppMenuUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppMenu
|
|
*/
|
|
select?: AppMenuSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppMenu
|
|
*/
|
|
omit?: AppMenuOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AppMenu.
|
|
*/
|
|
data: XOR<AppMenuUpdateInput, AppMenuUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AppMenu to update.
|
|
*/
|
|
where: AppMenuWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppMenu updateMany
|
|
*/
|
|
export type AppMenuUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AppMenus.
|
|
*/
|
|
data: XOR<AppMenuUpdateManyMutationInput, AppMenuUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AppMenus to update
|
|
*/
|
|
where?: AppMenuWhereInput
|
|
/**
|
|
* Limit how many AppMenus to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AppMenu upsert
|
|
*/
|
|
export type AppMenuUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppMenu
|
|
*/
|
|
select?: AppMenuSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppMenu
|
|
*/
|
|
omit?: AppMenuOmit<ExtArgs> | 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<AppMenuCreateInput, AppMenuUncheckedCreateInput>
|
|
/**
|
|
* In case the AppMenu was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<AppMenuUpdateInput, AppMenuUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AppMenu delete
|
|
*/
|
|
export type AppMenuDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppMenu
|
|
*/
|
|
select?: AppMenuSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppMenu
|
|
*/
|
|
omit?: AppMenuOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which AppMenu to delete.
|
|
*/
|
|
where: AppMenuWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AppMenu deleteMany
|
|
*/
|
|
export type AppMenuDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AppMenus to delete
|
|
*/
|
|
where?: AppMenuWhereInput
|
|
/**
|
|
* Limit how many AppMenus to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AppMenu without action
|
|
*/
|
|
export type AppMenuDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AppMenu
|
|
*/
|
|
select?: AppMenuSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AppMenu
|
|
*/
|
|
omit?: AppMenuOmit<ExtArgs> | 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<AppCampaignScalarRelationFilter, AppCampaignWhereInput>
|
|
}
|
|
|
|
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<AppCampaignScalarRelationFilter, AppCampaignWhereInput>
|
|
}, "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<UsersTokenScalarRelationFilter, UsersTokenWhereInput>
|
|
}
|
|
|
|
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<UsersTokenScalarRelationFilter, UsersTokenWhereInput>
|
|
}, "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<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
|
Required<JsonNullableFilterBase<$PrismaModel>>
|
|
>
|
|
| OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>
|
|
|
|
export type JsonNullableFilterBase<$PrismaModel = never> = {
|
|
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
path?: string
|
|
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<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
|
Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>
|
|
>
|
|
| OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
|
|
|
export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
path?: string
|
|
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> | CampaignDeliveryCreateWithoutAppCampaignInput[] | CampaignDeliveryUncheckedCreateWithoutAppCampaignInput[]
|
|
connectOrCreate?: CampaignDeliveryCreateOrConnectWithoutAppCampaignInput | CampaignDeliveryCreateOrConnectWithoutAppCampaignInput[]
|
|
createMany?: CampaignDeliveryCreateManyAppCampaignInputEnvelope
|
|
connect?: CampaignDeliveryWhereUniqueInput | CampaignDeliveryWhereUniqueInput[]
|
|
}
|
|
|
|
export type CampaignDeliveryUncheckedCreateNestedManyWithoutAppCampaignInput = {
|
|
create?: XOR<CampaignDeliveryCreateWithoutAppCampaignInput, CampaignDeliveryUncheckedCreateWithoutAppCampaignInput> | 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> | 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> | 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<AppCampaignCreateWithoutCampaignDeliveryInput, AppCampaignUncheckedCreateWithoutCampaignDeliveryInput>
|
|
connectOrCreate?: AppCampaignCreateOrConnectWithoutCampaignDeliveryInput
|
|
connect?: AppCampaignWhereUniqueInput
|
|
}
|
|
|
|
export type EnumDeliveryStatusFieldUpdateOperationsInput = {
|
|
set?: $Enums.DeliveryStatus
|
|
}
|
|
|
|
export type AppCampaignUpdateOneRequiredWithoutCampaignDeliveryNestedInput = {
|
|
create?: XOR<AppCampaignCreateWithoutCampaignDeliveryInput, AppCampaignUncheckedCreateWithoutCampaignDeliveryInput>
|
|
connectOrCreate?: AppCampaignCreateOrConnectWithoutCampaignDeliveryInput
|
|
upsert?: AppCampaignUpsertWithoutCampaignDeliveryInput
|
|
connect?: AppCampaignWhereUniqueInput
|
|
update?: XOR<XOR<AppCampaignUpdateToOneWithWhereWithoutCampaignDeliveryInput, AppCampaignUpdateWithoutCampaignDeliveryInput>, AppCampaignUncheckedUpdateWithoutCampaignDeliveryInput>
|
|
}
|
|
|
|
export type UsersActivityCreateNestedManyWithoutUsersTokenInput = {
|
|
create?: XOR<UsersActivityCreateWithoutUsersTokenInput, UsersActivityUncheckedCreateWithoutUsersTokenInput> | UsersActivityCreateWithoutUsersTokenInput[] | UsersActivityUncheckedCreateWithoutUsersTokenInput[]
|
|
connectOrCreate?: UsersActivityCreateOrConnectWithoutUsersTokenInput | UsersActivityCreateOrConnectWithoutUsersTokenInput[]
|
|
createMany?: UsersActivityCreateManyUsersTokenInputEnvelope
|
|
connect?: UsersActivityWhereUniqueInput | UsersActivityWhereUniqueInput[]
|
|
}
|
|
|
|
export type UsersActivityUncheckedCreateNestedManyWithoutUsersTokenInput = {
|
|
create?: XOR<UsersActivityCreateWithoutUsersTokenInput, UsersActivityUncheckedCreateWithoutUsersTokenInput> | UsersActivityCreateWithoutUsersTokenInput[] | UsersActivityUncheckedCreateWithoutUsersTokenInput[]
|
|
connectOrCreate?: UsersActivityCreateOrConnectWithoutUsersTokenInput | UsersActivityCreateOrConnectWithoutUsersTokenInput[]
|
|
createMany?: UsersActivityCreateManyUsersTokenInputEnvelope
|
|
connect?: UsersActivityWhereUniqueInput | UsersActivityWhereUniqueInput[]
|
|
}
|
|
|
|
export type UsersActivityUpdateManyWithoutUsersTokenNestedInput = {
|
|
create?: XOR<UsersActivityCreateWithoutUsersTokenInput, UsersActivityUncheckedCreateWithoutUsersTokenInput> | 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> | 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<UsersTokenCreateWithoutUsersActivityInput, UsersTokenUncheckedCreateWithoutUsersActivityInput>
|
|
connectOrCreate?: UsersTokenCreateOrConnectWithoutUsersActivityInput
|
|
connect?: UsersTokenWhereUniqueInput
|
|
}
|
|
|
|
export type EnumActivityTypeFieldUpdateOperationsInput = {
|
|
set?: $Enums.ActivityType
|
|
}
|
|
|
|
export type BoolFieldUpdateOperationsInput = {
|
|
set?: boolean
|
|
}
|
|
|
|
export type UsersTokenUpdateOneRequiredWithoutUsersActivityNestedInput = {
|
|
create?: XOR<UsersTokenCreateWithoutUsersActivityInput, UsersTokenUncheckedCreateWithoutUsersActivityInput>
|
|
connectOrCreate?: UsersTokenCreateOrConnectWithoutUsersActivityInput
|
|
upsert?: UsersTokenUpsertWithoutUsersActivityInput
|
|
connect?: UsersTokenWhereUniqueInput
|
|
update?: XOR<XOR<UsersTokenUpdateToOneWithWhereWithoutUsersActivityInput, UsersTokenUpdateWithoutUsersActivityInput>, 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<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
|
Required<NestedJsonNullableFilterBase<$PrismaModel>>
|
|
>
|
|
| OptionalFlat<Omit<Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>
|
|
|
|
export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
|
|
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
path?: string
|
|
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<CampaignDeliveryCreateWithoutAppCampaignInput, CampaignDeliveryUncheckedCreateWithoutAppCampaignInput>
|
|
}
|
|
|
|
export type CampaignDeliveryCreateManyAppCampaignInputEnvelope = {
|
|
data: CampaignDeliveryCreateManyAppCampaignInput | CampaignDeliveryCreateManyAppCampaignInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type CampaignDeliveryUpsertWithWhereUniqueWithoutAppCampaignInput = {
|
|
where: CampaignDeliveryWhereUniqueInput
|
|
update: XOR<CampaignDeliveryUpdateWithoutAppCampaignInput, CampaignDeliveryUncheckedUpdateWithoutAppCampaignInput>
|
|
create: XOR<CampaignDeliveryCreateWithoutAppCampaignInput, CampaignDeliveryUncheckedCreateWithoutAppCampaignInput>
|
|
}
|
|
|
|
export type CampaignDeliveryUpdateWithWhereUniqueWithoutAppCampaignInput = {
|
|
where: CampaignDeliveryWhereUniqueInput
|
|
data: XOR<CampaignDeliveryUpdateWithoutAppCampaignInput, CampaignDeliveryUncheckedUpdateWithoutAppCampaignInput>
|
|
}
|
|
|
|
export type CampaignDeliveryUpdateManyWithWhereWithoutAppCampaignInput = {
|
|
where: CampaignDeliveryScalarWhereInput
|
|
data: XOR<CampaignDeliveryUpdateManyMutationInput, CampaignDeliveryUncheckedUpdateManyWithoutAppCampaignInput>
|
|
}
|
|
|
|
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<AppCampaignCreateWithoutCampaignDeliveryInput, AppCampaignUncheckedCreateWithoutCampaignDeliveryInput>
|
|
}
|
|
|
|
export type AppCampaignUpsertWithoutCampaignDeliveryInput = {
|
|
update: XOR<AppCampaignUpdateWithoutCampaignDeliveryInput, AppCampaignUncheckedUpdateWithoutCampaignDeliveryInput>
|
|
create: XOR<AppCampaignCreateWithoutCampaignDeliveryInput, AppCampaignUncheckedCreateWithoutCampaignDeliveryInput>
|
|
where?: AppCampaignWhereInput
|
|
}
|
|
|
|
export type AppCampaignUpdateToOneWithWhereWithoutCampaignDeliveryInput = {
|
|
where?: AppCampaignWhereInput
|
|
data: XOR<AppCampaignUpdateWithoutCampaignDeliveryInput, AppCampaignUncheckedUpdateWithoutCampaignDeliveryInput>
|
|
}
|
|
|
|
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<UsersActivityCreateWithoutUsersTokenInput, UsersActivityUncheckedCreateWithoutUsersTokenInput>
|
|
}
|
|
|
|
export type UsersActivityCreateManyUsersTokenInputEnvelope = {
|
|
data: UsersActivityCreateManyUsersTokenInput | UsersActivityCreateManyUsersTokenInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type UsersActivityUpsertWithWhereUniqueWithoutUsersTokenInput = {
|
|
where: UsersActivityWhereUniqueInput
|
|
update: XOR<UsersActivityUpdateWithoutUsersTokenInput, UsersActivityUncheckedUpdateWithoutUsersTokenInput>
|
|
create: XOR<UsersActivityCreateWithoutUsersTokenInput, UsersActivityUncheckedCreateWithoutUsersTokenInput>
|
|
}
|
|
|
|
export type UsersActivityUpdateWithWhereUniqueWithoutUsersTokenInput = {
|
|
where: UsersActivityWhereUniqueInput
|
|
data: XOR<UsersActivityUpdateWithoutUsersTokenInput, UsersActivityUncheckedUpdateWithoutUsersTokenInput>
|
|
}
|
|
|
|
export type UsersActivityUpdateManyWithWhereWithoutUsersTokenInput = {
|
|
where: UsersActivityScalarWhereInput
|
|
data: XOR<UsersActivityUpdateManyMutationInput, UsersActivityUncheckedUpdateManyWithoutUsersTokenInput>
|
|
}
|
|
|
|
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<UsersTokenCreateWithoutUsersActivityInput, UsersTokenUncheckedCreateWithoutUsersActivityInput>
|
|
}
|
|
|
|
export type UsersTokenUpsertWithoutUsersActivityInput = {
|
|
update: XOR<UsersTokenUpdateWithoutUsersActivityInput, UsersTokenUncheckedUpdateWithoutUsersActivityInput>
|
|
create: XOR<UsersTokenCreateWithoutUsersActivityInput, UsersTokenUncheckedCreateWithoutUsersActivityInput>
|
|
where?: UsersTokenWhereInput
|
|
}
|
|
|
|
export type UsersTokenUpdateToOneWithWhereWithoutUsersActivityInput = {
|
|
where?: UsersTokenWhereInput
|
|
data: XOR<UsersTokenUpdateWithoutUsersActivityInput, UsersTokenUncheckedUpdateWithoutUsersActivityInput>
|
|
}
|
|
|
|
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
|
|
} |