|
| 1 | + |
| 2 | +/* !!! This is code generated by Prisma. Do not edit directly. !!! |
| 3 | +/* eslint-disable */ |
| 4 | +// biome-ignore-all lint: generated file |
| 5 | + |
| 6 | +Object.defineProperty(exports, "__esModule", { value: true }); |
| 7 | + |
| 8 | +const { |
| 9 | + Decimal, |
| 10 | + objectEnumValues, |
| 11 | + makeStrictEnum, |
| 12 | + Public, |
| 13 | + getRuntime, |
| 14 | + skip |
| 15 | +} = require('./runtime/index-browser.js') |
| 16 | + |
| 17 | + |
| 18 | +const Prisma = {} |
| 19 | + |
| 20 | +exports.Prisma = Prisma |
| 21 | +exports.$Enums = {} |
| 22 | + |
| 23 | +/** |
| 24 | + * Prisma Client JS version: 6.19.0 |
| 25 | + * Query Engine version: 2ba551f319ab1df4bc874a89965d8b3641056773 |
| 26 | + */ |
| 27 | +Prisma.prismaVersion = { |
| 28 | + client: "6.19.0", |
| 29 | + engine: "2ba551f319ab1df4bc874a89965d8b3641056773" |
| 30 | +} |
| 31 | + |
| 32 | +Prisma.PrismaClientKnownRequestError = () => { |
| 33 | + const runtimeName = getRuntime().prettyName; |
| 34 | + throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). |
| 35 | +In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, |
| 36 | +)}; |
| 37 | +Prisma.PrismaClientUnknownRequestError = () => { |
| 38 | + const runtimeName = getRuntime().prettyName; |
| 39 | + throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). |
| 40 | +In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, |
| 41 | +)} |
| 42 | +Prisma.PrismaClientRustPanicError = () => { |
| 43 | + const runtimeName = getRuntime().prettyName; |
| 44 | + throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). |
| 45 | +In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, |
| 46 | +)} |
| 47 | +Prisma.PrismaClientInitializationError = () => { |
| 48 | + const runtimeName = getRuntime().prettyName; |
| 49 | + throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). |
| 50 | +In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, |
| 51 | +)} |
| 52 | +Prisma.PrismaClientValidationError = () => { |
| 53 | + const runtimeName = getRuntime().prettyName; |
| 54 | + throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). |
| 55 | +In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, |
| 56 | +)} |
| 57 | +Prisma.Decimal = Decimal |
| 58 | + |
| 59 | +/** |
| 60 | + * Re-export of sql-template-tag |
| 61 | + */ |
| 62 | +Prisma.sql = () => { |
| 63 | + const runtimeName = getRuntime().prettyName; |
| 64 | + throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). |
| 65 | +In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, |
| 66 | +)} |
| 67 | +Prisma.empty = () => { |
| 68 | + const runtimeName = getRuntime().prettyName; |
| 69 | + throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). |
| 70 | +In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, |
| 71 | +)} |
| 72 | +Prisma.join = () => { |
| 73 | + const runtimeName = getRuntime().prettyName; |
| 74 | + throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). |
| 75 | +In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, |
| 76 | +)} |
| 77 | +Prisma.raw = () => { |
| 78 | + const runtimeName = getRuntime().prettyName; |
| 79 | + throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). |
| 80 | +In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, |
| 81 | +)} |
| 82 | +Prisma.validator = Public.validator |
| 83 | + |
| 84 | +/** |
| 85 | +* Extensions |
| 86 | +*/ |
| 87 | +Prisma.getExtensionContext = () => { |
| 88 | + const runtimeName = getRuntime().prettyName; |
| 89 | + throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). |
| 90 | +In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, |
| 91 | +)} |
| 92 | +Prisma.defineExtension = () => { |
| 93 | + const runtimeName = getRuntime().prettyName; |
| 94 | + throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}). |
| 95 | +In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`, |
| 96 | +)} |
| 97 | + |
| 98 | +/** |
| 99 | + * Shorthand utilities for JSON filtering |
| 100 | + */ |
| 101 | +Prisma.DbNull = objectEnumValues.instances.DbNull |
| 102 | +Prisma.JsonNull = objectEnumValues.instances.JsonNull |
| 103 | +Prisma.AnyNull = objectEnumValues.instances.AnyNull |
| 104 | + |
| 105 | +Prisma.NullTypes = { |
| 106 | + DbNull: objectEnumValues.classes.DbNull, |
| 107 | + JsonNull: objectEnumValues.classes.JsonNull, |
| 108 | + AnyNull: objectEnumValues.classes.AnyNull |
| 109 | +} |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | +/** |
| 114 | + * Enums |
| 115 | + */ |
| 116 | + |
| 117 | +exports.Prisma.TransactionIsolationLevel = makeStrictEnum({ |
| 118 | + ReadUncommitted: 'ReadUncommitted', |
| 119 | + ReadCommitted: 'ReadCommitted', |
| 120 | + RepeatableRead: 'RepeatableRead', |
| 121 | + Serializable: 'Serializable' |
| 122 | +}); |
| 123 | + |
| 124 | +exports.Prisma.ClientScalarFieldEnum = { |
| 125 | + id: 'id', |
| 126 | + name: 'name', |
| 127 | + codeName: 'codeName', |
| 128 | + status: 'status', |
| 129 | + startDate: 'startDate', |
| 130 | + endDate: 'endDate', |
| 131 | + createdAt: 'createdAt', |
| 132 | + updatedAt: 'updatedAt' |
| 133 | +}; |
| 134 | + |
| 135 | +exports.Prisma.BillingAccountScalarFieldEnum = { |
| 136 | + id: 'id', |
| 137 | + projectId: 'projectId', |
| 138 | + name: 'name', |
| 139 | + description: 'description', |
| 140 | + subcontractingEndCustomer: 'subcontractingEndCustomer', |
| 141 | + status: 'status', |
| 142 | + startDate: 'startDate', |
| 143 | + endDate: 'endDate', |
| 144 | + budget: 'budget', |
| 145 | + markup: 'markup', |
| 146 | + clientId: 'clientId', |
| 147 | + poNumber: 'poNumber', |
| 148 | + subscriptionNumber: 'subscriptionNumber', |
| 149 | + isManualPrize: 'isManualPrize', |
| 150 | + paymentTerms: 'paymentTerms', |
| 151 | + salesTax: 'salesTax', |
| 152 | + billable: 'billable', |
| 153 | + createdBy: 'createdBy', |
| 154 | + createdAt: 'createdAt', |
| 155 | + updatedAt: 'updatedAt' |
| 156 | +}; |
| 157 | + |
| 158 | +exports.Prisma.LockedAmountScalarFieldEnum = { |
| 159 | + id: 'id', |
| 160 | + billingAccountId: 'billingAccountId', |
| 161 | + challengeId: 'challengeId', |
| 162 | + amount: 'amount', |
| 163 | + createdAt: 'createdAt', |
| 164 | + updatedAt: 'updatedAt' |
| 165 | +}; |
| 166 | + |
| 167 | +exports.Prisma.ConsumedAmountScalarFieldEnum = { |
| 168 | + id: 'id', |
| 169 | + billingAccountId: 'billingAccountId', |
| 170 | + challengeId: 'challengeId', |
| 171 | + amount: 'amount', |
| 172 | + createdAt: 'createdAt', |
| 173 | + updatedAt: 'updatedAt' |
| 174 | +}; |
| 175 | + |
| 176 | +exports.Prisma.BillingAccountAccessScalarFieldEnum = { |
| 177 | + id: 'id', |
| 178 | + billingAccountId: 'billingAccountId', |
| 179 | + userId: 'userId', |
| 180 | + createdAt: 'createdAt' |
| 181 | +}; |
| 182 | + |
| 183 | +exports.Prisma.SortOrder = { |
| 184 | + asc: 'asc', |
| 185 | + desc: 'desc' |
| 186 | +}; |
| 187 | + |
| 188 | +exports.Prisma.QueryMode = { |
| 189 | + default: 'default', |
| 190 | + insensitive: 'insensitive' |
| 191 | +}; |
| 192 | + |
| 193 | +exports.Prisma.NullsOrder = { |
| 194 | + first: 'first', |
| 195 | + last: 'last' |
| 196 | +}; |
| 197 | +exports.ClientStatus = exports.$Enums.ClientStatus = { |
| 198 | + ACTIVE: 'ACTIVE', |
| 199 | + INACTIVE: 'INACTIVE' |
| 200 | +}; |
| 201 | + |
| 202 | +exports.BAStatus = exports.$Enums.BAStatus = { |
| 203 | + ACTIVE: 'ACTIVE', |
| 204 | + INACTIVE: 'INACTIVE' |
| 205 | +}; |
| 206 | + |
| 207 | +exports.Prisma.ModelName = { |
| 208 | + Client: 'Client', |
| 209 | + BillingAccount: 'BillingAccount', |
| 210 | + LockedAmount: 'LockedAmount', |
| 211 | + ConsumedAmount: 'ConsumedAmount', |
| 212 | + BillingAccountAccess: 'BillingAccountAccess' |
| 213 | +}; |
| 214 | + |
| 215 | +/** |
| 216 | + * This is a stub Prisma Client that will error at runtime if called. |
| 217 | + */ |
| 218 | +class PrismaClient { |
| 219 | + constructor() { |
| 220 | + return new Proxy(this, { |
| 221 | + get(target, prop) { |
| 222 | + let message |
| 223 | + const runtime = getRuntime() |
| 224 | + if (runtime.isEdge) { |
| 225 | + message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either: |
| 226 | +- Use Prisma Accelerate: https://pris.ly/d/accelerate |
| 227 | +- Use Driver Adapters: https://pris.ly/d/driver-adapters |
| 228 | +`; |
| 229 | + } else { |
| 230 | + message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).' |
| 231 | + } |
| 232 | + |
| 233 | + message += ` |
| 234 | +If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report` |
| 235 | + |
| 236 | + throw new Error(message) |
| 237 | + } |
| 238 | + }) |
| 239 | + } |
| 240 | +} |
| 241 | + |
| 242 | +exports.PrismaClient = PrismaClient |
| 243 | + |
| 244 | +Object.assign(exports, Prisma) |
0 commit comments