621 lines
18 KiB
JavaScript
621 lines
18 KiB
JavaScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!!
|
|
/* eslint-disable */
|
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
|
const {
|
|
Decimal,
|
|
objectEnumValues,
|
|
makeStrictEnum,
|
|
Public,
|
|
getRuntime,
|
|
skip
|
|
} = require('./runtime/index-browser.js')
|
|
|
|
|
|
const Prisma = {}
|
|
|
|
exports.Prisma = Prisma
|
|
exports.$Enums = {}
|
|
|
|
/**
|
|
* Prisma Client JS version: 6.13.0
|
|
* Query Engine version: 361e86d0ea4987e9f53a565309b3eed797a6bcbd
|
|
*/
|
|
Prisma.prismaVersion = {
|
|
client: "6.13.0",
|
|
engine: "361e86d0ea4987e9f53a565309b3eed797a6bcbd"
|
|
}
|
|
|
|
Prisma.PrismaClientKnownRequestError = () => {
|
|
const runtimeName = getRuntime().prettyName;
|
|
throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
)};
|
|
Prisma.PrismaClientUnknownRequestError = () => {
|
|
const runtimeName = getRuntime().prettyName;
|
|
throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
)}
|
|
Prisma.PrismaClientRustPanicError = () => {
|
|
const runtimeName = getRuntime().prettyName;
|
|
throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
)}
|
|
Prisma.PrismaClientInitializationError = () => {
|
|
const runtimeName = getRuntime().prettyName;
|
|
throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
)}
|
|
Prisma.PrismaClientValidationError = () => {
|
|
const runtimeName = getRuntime().prettyName;
|
|
throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
)}
|
|
Prisma.Decimal = Decimal
|
|
|
|
/**
|
|
* Re-export of sql-template-tag
|
|
*/
|
|
Prisma.sql = () => {
|
|
const runtimeName = getRuntime().prettyName;
|
|
throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
)}
|
|
Prisma.empty = () => {
|
|
const runtimeName = getRuntime().prettyName;
|
|
throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
)}
|
|
Prisma.join = () => {
|
|
const runtimeName = getRuntime().prettyName;
|
|
throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
)}
|
|
Prisma.raw = () => {
|
|
const runtimeName = getRuntime().prettyName;
|
|
throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
)}
|
|
Prisma.validator = Public.validator
|
|
|
|
/**
|
|
* Extensions
|
|
*/
|
|
Prisma.getExtensionContext = () => {
|
|
const runtimeName = getRuntime().prettyName;
|
|
throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
)}
|
|
Prisma.defineExtension = () => {
|
|
const runtimeName = getRuntime().prettyName;
|
|
throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
)}
|
|
|
|
/**
|
|
* Shorthand utilities for JSON filtering
|
|
*/
|
|
Prisma.DbNull = objectEnumValues.instances.DbNull
|
|
Prisma.JsonNull = objectEnumValues.instances.JsonNull
|
|
Prisma.AnyNull = objectEnumValues.instances.AnyNull
|
|
|
|
Prisma.NullTypes = {
|
|
DbNull: objectEnumValues.classes.DbNull,
|
|
JsonNull: objectEnumValues.classes.JsonNull,
|
|
AnyNull: objectEnumValues.classes.AnyNull
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Enums
|
|
*/
|
|
|
|
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
|
ReadUncommitted: 'ReadUncommitted',
|
|
ReadCommitted: 'ReadCommitted',
|
|
RepeatableRead: 'RepeatableRead',
|
|
Serializable: 'Serializable'
|
|
});
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.AppCredentialScalarFieldEnum = {
|
|
UUID_AC: 'UUID_AC',
|
|
CreatedAt_AC: 'CreatedAt_AC',
|
|
TokenCredential_AC: 'TokenCredential_AC',
|
|
UpdatedAt_AC: 'UpdatedAt_AC'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.UsersTokenScalarFieldEnum = {
|
|
UUID_UT: 'UUID_UT',
|
|
UserID_UT: 'UserID_UT',
|
|
Token_UT: 'Token_UT',
|
|
UpdatedAt_UT: 'UpdatedAt_UT',
|
|
CreatedAt_UT: 'CreatedAt_UT'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.SortOrder = {
|
|
asc: 'asc',
|
|
desc: 'desc'
|
|
};
|
|
|
|
exports.Prisma.NullableJsonNullValueInput = {
|
|
DbNull: Prisma.DbNull,
|
|
JsonNull: Prisma.JsonNull
|
|
};
|
|
|
|
exports.Prisma.NullsOrder = {
|
|
first: 'first',
|
|
last: 'last'
|
|
};
|
|
|
|
exports.Prisma.AdminAccountOrderByRelevanceFieldEnum = {
|
|
UUID_AA: 'UUID_AA',
|
|
Username_AA: 'Username_AA',
|
|
Email_AA: 'Email_AA',
|
|
Password_AA: 'Password_AA'
|
|
};
|
|
|
|
exports.Prisma.AppCredentialOrderByRelevanceFieldEnum = {
|
|
UUID_AC: 'UUID_AC',
|
|
TokenCredential_AC: 'TokenCredential_AC'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.UsersTokenOrderByRelevanceFieldEnum = {
|
|
UUID_UT: 'UUID_UT',
|
|
UserID_UT: 'UserID_UT',
|
|
Token_UT: 'Token_UT'
|
|
};
|
|
|
|
exports.Prisma.UsersActivityOrderByRelevanceFieldEnum = {
|
|
UUID_UA: 'UUID_UA',
|
|
UUID_UT: 'UUID_UT',
|
|
Params_UA: 'Params_UA'
|
|
};
|
|
|
|
exports.Prisma.JsonNullValueFilter = {
|
|
DbNull: Prisma.DbNull,
|
|
JsonNull: Prisma.JsonNull,
|
|
AnyNull: Prisma.AnyNull
|
|
};
|
|
|
|
exports.Prisma.QueryMode = {
|
|
default: 'default',
|
|
insensitive: 'insensitive'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.CrashAnalyticsOrderByRelevanceFieldEnum = {
|
|
UUID_CA: 'UUID_CA',
|
|
AppId_CA: 'AppId_CA',
|
|
AppVersion_CA: 'AppVersion_CA'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
exports.Prisma.AINotificationAnalyticsOrderByRelevanceFieldEnum = {
|
|
UUID_ANA: 'UUID_ANA'
|
|
};
|
|
|
|
exports.Prisma.AppMenuOrderByRelevanceFieldEnum = {
|
|
UUID_AM: 'UUID_AM',
|
|
Name_AM: 'Name_AM',
|
|
Route_AM: 'Route_AM',
|
|
Icon_AM: 'Icon_AM',
|
|
Badge_AM: 'Badge_AM'
|
|
};
|
|
exports.ContentType = exports.$Enums.ContentType = {
|
|
splash: 'splash',
|
|
promo: 'promo',
|
|
article: 'article',
|
|
banner: 'banner',
|
|
floatingWidget: 'floatingWidget'
|
|
};
|
|
|
|
exports.CorpType = exports.$Enums.CorpType = {
|
|
walanja: 'walanja',
|
|
simaya: 'simaya',
|
|
cifo: 'cifo'
|
|
};
|
|
|
|
exports.CampaignStatus = exports.$Enums.CampaignStatus = {
|
|
failed: 'failed',
|
|
pending: 'pending',
|
|
cancelled: 'cancelled',
|
|
completed: 'completed'
|
|
};
|
|
|
|
exports.DeliveryStatus = exports.$Enums.DeliveryStatus = {
|
|
pending: 'pending',
|
|
scheduled: 'scheduled',
|
|
sent: 'sent',
|
|
delivered: 'delivered',
|
|
failed: 'failed',
|
|
cancelled: 'cancelled'
|
|
};
|
|
|
|
exports.ActivityType = exports.$Enums.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'
|
|
};
|
|
|
|
exports.CrashSeverity = exports.$Enums.CrashSeverity = {
|
|
fatal: 'fatal',
|
|
error: 'error',
|
|
warning: 'warning',
|
|
info: 'info'
|
|
};
|
|
|
|
exports.CrashStatus = exports.$Enums.CrashStatus = {
|
|
new: 'new',
|
|
acknowledged: 'acknowledged',
|
|
resolved: 'resolved',
|
|
ignored: 'ignored'
|
|
};
|
|
|
|
exports.DeviceOS = exports.$Enums.DeviceOS = {
|
|
android: 'android',
|
|
ios: 'ios',
|
|
web: 'web',
|
|
desktop: 'desktop'
|
|
};
|
|
|
|
exports.MenuType = exports.$Enums.MenuType = {
|
|
IN_APP_ROUTE: 'IN_APP_ROUTE',
|
|
WEB_OPEN: 'WEB_OPEN'
|
|
};
|
|
|
|
exports.Prisma.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'
|
|
};
|
|
|
|
/**
|
|
* This is a stub Prisma Client that will error at runtime if called.
|
|
*/
|
|
class PrismaClient {
|
|
constructor() {
|
|
return new Proxy(this, {
|
|
get(target, prop) {
|
|
let message
|
|
const runtime = getRuntime()
|
|
if (runtime.isEdge) {
|
|
message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
|
|
- Use Prisma Accelerate: https://pris.ly/d/accelerate
|
|
- Use Driver Adapters: https://pris.ly/d/driver-adapters
|
|
`;
|
|
} else {
|
|
message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
|
|
}
|
|
|
|
message += `
|
|
If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
|
|
|
|
throw new Error(message)
|
|
}
|
|
})
|
|
}
|
|
}
|
|
|
|
exports.PrismaClient = PrismaClient
|
|
|
|
Object.assign(exports, Prisma)
|