/home/techb158/balavpn.abdallabala.com/node_modules/.prisma/client
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/.prisma/client/wasm.js (17686B)
Object.defineProperty(exports, "__esModule", { value: true });
const {
Decimal,
objectEnumValues,
makeStrictEnum,
Public,
getRuntime,
skip
} = require('@prisma/client/runtime/index-browser.js')
const Prisma = {}
exports.Prisma = Prisma
exports.$Enums = {}
/**
* Prisma Client JS version: 5.22.0
* Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
*/
Prisma.prismaVersion = {
client: "5.22.0",
engine: "605197351a3c8bdd595af2d2a9bc3025bca48ea2"
}
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.NotFoundError = () => {
const runtimeName = getRuntime().prettyName;
throw new Error(`NotFoundError 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.OrganizationScalarFieldEnum = {
id: 'id',
name: 'name',
slug: 'slug',
status: 'status',
planCode: 'planCode',
manualBilling: 'manualBilling',
stripeCustomerId: 'stripeCustomerId',
ssoEnforced: 'ssoEnforced',
allowedDomains: 'allowedDomains',
dataRetentionDays: 'dataRetentionDays',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.WorkspaceScalarFieldEnum = {
id: 'id',
organizationId: 'organizationId',
name: 'name',
slug: 'slug',
type: 'type',
status: 'status',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.UserScalarFieldEnum = {
id: 'id',
email: 'email',
displayName: 'displayName',
passwordHash: 'passwordHash',
emailVerifiedAt: 'emailVerifiedAt',
lastLoginAt: 'lastLoginAt',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.SessionScalarFieldEnum = {
id: 'id',
userId: 'userId',
token: 'token',
expiresAt: 'expiresAt',
createdAt: 'createdAt'
};
exports.Prisma.RoleScalarFieldEnum = {
id: 'id',
code: 'code',
name: 'name',
permissions: 'permissions',
system: 'system',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.MembershipScalarFieldEnum = {
id: 'id',
organizationId: 'organizationId',
userId: 'userId',
roleId: 'roleId',
status: 'status',
workspaceScope: 'workspaceScope',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.InvitationScalarFieldEnum = {
id: 'id',
organizationId: 'organizationId',
email: 'email',
roleCode: 'roleCode',
tokenHash: 'tokenHash',
expiresAt: 'expiresAt',
acceptedAt: 'acceptedAt',
invitedById: 'invitedById',
createdAt: 'createdAt'
};
exports.Prisma.SubscriptionScalarFieldEnum = {
id: 'id',
organizationId: 'organizationId',
source: 'source',
status: 'status',
planCode: 'planCode',
stripeSubscriptionId: 'stripeSubscriptionId',
currentPeriodEnd: 'currentPeriodEnd',
userLimit: 'userLimit',
projectLimit: 'projectLimit',
reportLimitMonthly: 'reportLimitMonthly',
integrationLimit: 'integrationLimit',
storageMbLimit: 'storageMbLimit',
adminOverride: 'adminOverride',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.ProjectScalarFieldEnum = {
id: 'id',
workspaceId: 'workspaceId',
name: 'name',
subtitle: 'subtitle',
projectType: 'projectType',
currentLifecyclePhase: 'currentLifecyclePhase',
riskAppetite: 'riskAppetite',
assessmentDate: 'assessmentDate',
status: 'status',
ownerDisplayName: 'ownerDisplayName',
description: 'description',
thresholds: 'thresholds',
reviews: 'reviews',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.LifecyclePhaseScalarFieldEnum = {
id: 'id',
projectId: 'projectId',
name: 'name',
status: 'status',
readinessScore: 'readinessScore',
sequence: 'sequence',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.RiskScalarFieldEnum = {
id: 'id',
projectId: 'projectId',
ownerDisplayName: 'ownerDisplayName',
title: 'title',
description: 'description',
dimension: 'dimension',
domain: 'domain',
lifecyclePhase: 'lifecyclePhase',
probability: 'probability',
impact: 'impact',
detectability: 'detectability',
status: 'status',
approvalStatus: 'approvalStatus',
dueDate: 'dueDate',
evidenceSummary: 'evidenceSummary',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.MitigationScalarFieldEnum = {
id: 'id',
riskId: 'riskId',
ownerDisplayName: 'ownerDisplayName',
title: 'title',
description: 'description',
status: 'status',
progressPercent: 'progressPercent',
effectivenessPercent: 'effectivenessPercent',
dueDate: 'dueDate',
sequence: 'sequence',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.EvidenceScalarFieldEnum = {
id: 'id',
projectId: 'projectId',
riskId: 'riskId',
mitigationId: 'mitigationId',
type: 'type',
title: 'title',
uri: 'uri',
createdById: 'createdById',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.IndicatorScalarFieldEnum = {
id: 'id',
projectId: 'projectId',
name: 'name',
dimension: 'dimension',
measurand: 'measurand',
unit: 'unit',
target: 'target',
interpretationRule: 'interpretationRule',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.ExperimentScalarFieldEnum = {
id: 'id',
projectId: 'projectId',
name: 'name',
modelName: 'modelName',
selected: 'selected',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.ModelMetricScalarFieldEnum = {
id: 'id',
experimentId: 'experimentId',
metricName: 'metricName',
metricValue: 'metricValue',
thresholdValue: 'thresholdValue',
status: 'status',
measuredAt: 'measuredAt',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.GateEvaluationScalarFieldEnum = {
id: 'id',
projectId: 'projectId',
status: 'status',
reviewStatus: 'reviewStatus',
summary: 'summary',
evaluatedByUserId: 'evaluatedByUserId',
evaluatedAt: 'evaluatedAt',
reviewedAt: 'reviewedAt',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.GateCriterionScalarFieldEnum = {
id: 'id',
gateId: 'gateId',
name: 'name',
actualValue: 'actualValue',
expectedRule: 'expectedRule',
status: 'status',
blocking: 'blocking',
evidenceTitle: 'evidenceTitle',
evidenceUri: 'evidenceUri',
reviewerStatus: 'reviewerStatus',
reviewerNote: 'reviewerNote',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.GateDecisionScalarFieldEnum = {
id: 'id',
gateId: 'gateId',
decision: 'decision',
reviewerName: 'reviewerName',
reason: 'reason',
createdByUserId: 'createdByUserId',
decidedAt: 'decidedAt',
createdAt: 'createdAt'
};
exports.Prisma.IntegrationScalarFieldEnum = {
id: 'id',
workspaceId: 'workspaceId',
provider: 'provider',
workspaceName: 'workspaceName',
externalProjectKey: 'externalProjectKey',
baseUrl: 'baseUrl',
authMode: 'authMode',
connectionStatus: 'connectionStatus',
syncDirection: 'syncDirection',
liveEnabled: 'liveEnabled',
liveConfig: 'liveConfig',
lastSyncAt: 'lastSyncAt',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.ExternalWorkItemMappingScalarFieldEnum = {
id: 'id',
integrationId: 'integrationId',
projectId: 'projectId',
localEntityType: 'localEntityType',
localEntityId: 'localEntityId',
localTitle: 'localTitle',
externalItemType: 'externalItemType',
externalItemId: 'externalItemId',
externalItemKey: 'externalItemKey',
externalUrl: 'externalUrl',
externalStatus: 'externalStatus',
syncStatus: 'syncStatus',
fieldMapping: 'fieldMapping',
lastSyncedAt: 'lastSyncedAt',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.IntegrationSyncRunScalarFieldEnum = {
id: 'id',
integrationId: 'integrationId',
projectId: 'projectId',
provider: 'provider',
status: 'status',
startedAt: 'startedAt',
finishedAt: 'finishedAt',
createdCount: 'createdCount',
updatedCount: 'updatedCount',
failedCount: 'failedCount',
summary: 'summary',
failureLog: 'failureLog',
createdAt: 'createdAt'
};
exports.Prisma.OAuthTokenScalarFieldEnum = {
id: 'id',
organizationId: 'organizationId',
provider: 'provider',
integrationId: 'integrationId',
encryptedToken: 'encryptedToken',
redactedToken: 'redactedToken',
expiresAt: 'expiresAt',
createdAt: 'createdAt',
updatedAt: 'updatedAt'
};
exports.Prisma.ReportExportScalarFieldEnum = {
id: 'id',
workspaceId: 'workspaceId',
projectId: 'projectId',
reportType: 'reportType',
format: 'format',
status: 'status',
metadata: 'metadata',
createdById: 'createdById',
createdAt: 'createdAt'
};
exports.Prisma.AuditEventScalarFieldEnum = {
id: 'id',
organizationId: 'organizationId',
workspaceId: 'workspaceId',
projectId: 'projectId',
actorUserId: 'actorUserId',
entityType: 'entityType',
entityId: 'entityId',
action: 'action',
beforeJson: 'beforeJson',
afterJson: 'afterJson',
ipAddress: 'ipAddress',
userAgent: 'userAgent',
createdAt: 'createdAt'
};
exports.Prisma.UsageEventScalarFieldEnum = {
id: 'id',
organizationId: 'organizationId',
metric: 'metric',
quantity: 'quantity',
metadata: 'metadata',
createdAt: 'createdAt'
};
exports.Prisma.SortOrder = {
asc: 'asc',
desc: 'desc'
};
exports.Prisma.JsonNullValueInput = {
JsonNull: Prisma.JsonNull
};
exports.Prisma.NullableJsonNullValueInput = {
DbNull: Prisma.DbNull,
JsonNull: Prisma.JsonNull
};
exports.Prisma.QueryMode = {
default: 'default',
insensitive: 'insensitive'
};
exports.Prisma.NullsOrder = {
first: 'first',
last: 'last'
};
exports.Prisma.JsonNullValueFilter = {
DbNull: Prisma.DbNull,
JsonNull: Prisma.JsonNull,
AnyNull: Prisma.AnyNull
};
exports.OrganizationStatus = exports.$Enums.OrganizationStatus = {
TRIAL: 'TRIAL',
ACTIVE: 'ACTIVE',
SUSPENDED: 'SUSPENDED',
CANCELED: 'CANCELED'
};
exports.WorkspaceType = exports.$Enums.WorkspaceType = {
B2B_TEAM: 'B2B_TEAM',
CONSULTANT_CLIENT: 'CONSULTANT_CLIENT',
ENTERPRISE: 'ENTERPRISE'
};
exports.MembershipStatus = exports.$Enums.MembershipStatus = {
INVITED: 'INVITED',
ACTIVE: 'ACTIVE',
DISABLED: 'DISABLED'
};
exports.SubscriptionSource = exports.$Enums.SubscriptionSource = {
MANUAL: 'MANUAL',
STRIPE: 'STRIPE'
};
exports.SubscriptionStatus = exports.$Enums.SubscriptionStatus = {
TRIALING: 'TRIALING',
ACTIVE: 'ACTIVE',
PAST_DUE: 'PAST_DUE',
CANCELED: 'CANCELED',
SUSPENDED: 'SUSPENDED'
};
exports.RiskStatus = exports.$Enums.RiskStatus = {
OPEN: 'OPEN',
IN_MITIGATION: 'IN_MITIGATION',
ACCEPTED: 'ACCEPTED',
CLOSED: 'CLOSED'
};
exports.ApprovalStatus = exports.$Enums.ApprovalStatus = {
PENDING: 'PENDING',
APPROVED: 'APPROVED',
REJECTED: 'REJECTED',
ACCEPTED: 'ACCEPTED'
};
exports.MitigationStatus = exports.$Enums.MitigationStatus = {
NOT_STARTED: 'NOT_STARTED',
IN_PROGRESS: 'IN_PROGRESS',
DONE: 'DONE',
REJECTED: 'REJECTED'
};
exports.GateStatus = exports.$Enums.GateStatus = {
READY: 'READY',
WARNING: 'WARNING',
BLOCKED: 'BLOCKED'
};
exports.GateDecisionValue = exports.$Enums.GateDecisionValue = {
APPROVED: 'APPROVED',
REJECTED: 'REJECTED',
ACCEPTED: 'ACCEPTED',
NEEDS_CHANGES: 'NEEDS_CHANGES'
};
exports.IntegrationProvider = exports.$Enums.IntegrationProvider = {
TRELLO: 'TRELLO',
JIRA: 'JIRA',
ASANA: 'ASANA',
MICROSOFT_PLANNER: 'MICROSOFT_PLANNER'
};
exports.IntegrationStatus = exports.$Enums.IntegrationStatus = {
CONNECTED: 'CONNECTED',
NEEDS_CONFIGURATION: 'NEEDS_CONFIGURATION',
DISABLED: 'DISABLED'
};
exports.Prisma.ModelName = {
Organization: 'Organization',
Workspace: 'Workspace',
User: 'User',
Session: 'Session',
Role: 'Role',
Membership: 'Membership',
Invitation: 'Invitation',
Subscription: 'Subscription',
Project: 'Project',
LifecyclePhase: 'LifecyclePhase',
Risk: 'Risk',
Mitigation: 'Mitigation',
Evidence: 'Evidence',
Indicator: 'Indicator',
Experiment: 'Experiment',
ModelMetric: 'ModelMetric',
GateEvaluation: 'GateEvaluation',
GateCriterion: 'GateCriterion',
GateDecision: 'GateDecision',
Integration: 'Integration',
ExternalWorkItemMapping: 'ExternalWorkItemMapping',
IntegrationSyncRun: 'IntegrationSyncRun',
OAuthToken: 'OAuthToken',
ReportExport: 'ReportExport',
AuditEvent: 'AuditEvent',
UsageEvent: 'UsageEvent'
};
/**
* 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)