expo-backend-types 0.0.26 → 0.0.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,318 @@
1
+
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+
4
+ const {
5
+ PrismaClientKnownRequestError,
6
+ PrismaClientUnknownRequestError,
7
+ PrismaClientRustPanicError,
8
+ PrismaClientInitializationError,
9
+ PrismaClientValidationError,
10
+ NotFoundError,
11
+ getPrismaClient,
12
+ sqltag,
13
+ empty,
14
+ join,
15
+ raw,
16
+ Decimal,
17
+ Debug,
18
+ objectEnumValues,
19
+ makeStrictEnum,
20
+ Extensions,
21
+ warnOnce,
22
+ defineDmmfProperty,
23
+ Public,
24
+ getRuntime
25
+ } = require('./runtime/library.js')
26
+
27
+
28
+ const Prisma = {}
29
+
30
+ exports.Prisma = Prisma
31
+ exports.$Enums = {}
32
+
33
+ /**
34
+ * Prisma Client JS version: 5.14.0
35
+ * Query Engine version: e9771e62de70f79a5e1c604a2d7c8e2a0a874b48
36
+ */
37
+ Prisma.prismaVersion = {
38
+ client: "5.14.0",
39
+ engine: "e9771e62de70f79a5e1c604a2d7c8e2a0a874b48"
40
+ }
41
+
42
+ Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError;
43
+ Prisma.PrismaClientUnknownRequestError = PrismaClientUnknownRequestError
44
+ Prisma.PrismaClientRustPanicError = PrismaClientRustPanicError
45
+ Prisma.PrismaClientInitializationError = PrismaClientInitializationError
46
+ Prisma.PrismaClientValidationError = PrismaClientValidationError
47
+ Prisma.NotFoundError = NotFoundError
48
+ Prisma.Decimal = Decimal
49
+
50
+ /**
51
+ * Re-export of sql-template-tag
52
+ */
53
+ Prisma.sql = sqltag
54
+ Prisma.empty = empty
55
+ Prisma.join = join
56
+ Prisma.raw = raw
57
+ Prisma.validator = Public.validator
58
+
59
+ /**
60
+ * Extensions
61
+ */
62
+ Prisma.getExtensionContext = Extensions.getExtensionContext
63
+ Prisma.defineExtension = Extensions.defineExtension
64
+
65
+ /**
66
+ * Shorthand utilities for JSON filtering
67
+ */
68
+ Prisma.DbNull = objectEnumValues.instances.DbNull
69
+ Prisma.JsonNull = objectEnumValues.instances.JsonNull
70
+ Prisma.AnyNull = objectEnumValues.instances.AnyNull
71
+
72
+ Prisma.NullTypes = {
73
+ DbNull: objectEnumValues.classes.DbNull,
74
+ JsonNull: objectEnumValues.classes.JsonNull,
75
+ AnyNull: objectEnumValues.classes.AnyNull
76
+ }
77
+
78
+
79
+ const path = require('path')
80
+
81
+ /**
82
+ * Enums
83
+ */
84
+ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
85
+ ReadUncommitted: 'ReadUncommitted',
86
+ ReadCommitted: 'ReadCommitted',
87
+ RepeatableRead: 'RepeatableRead',
88
+ Serializable: 'Serializable'
89
+ });
90
+
91
+ exports.Prisma.CuentaScalarFieldEnum = {
92
+ id: 'id',
93
+ nombreUsuario: 'nombreUsuario',
94
+ contrasena: 'contrasena',
95
+ esAdmin: 'esAdmin',
96
+ created_at: 'created_at',
97
+ updated_at: 'updated_at'
98
+ };
99
+
100
+ exports.Prisma.PerfilScalarFieldEnum = {
101
+ id: 'id',
102
+ telefono: 'telefono',
103
+ nombreCompleto: 'nombreCompleto',
104
+ nombrePila: 'nombrePila',
105
+ genero: 'genero',
106
+ fechaNacimiento: 'fechaNacimiento',
107
+ fotoUrl: 'fotoUrl',
108
+ created_at: 'created_at',
109
+ updated_at: 'updated_at',
110
+ idLegible: 'idLegible'
111
+ };
112
+
113
+ exports.Prisma.ComentarioScalarFieldEnum = {
114
+ id: 'id',
115
+ contenido: 'contenido',
116
+ perfilId: 'perfilId',
117
+ creadoPor: 'creadoPor',
118
+ created_at: 'created_at',
119
+ updated_at: 'updated_at'
120
+ };
121
+
122
+ exports.Prisma.EtiquetaScalarFieldEnum = {
123
+ id: 'id',
124
+ nombre: 'nombre',
125
+ grupoId: 'grupoId',
126
+ tipo: 'tipo',
127
+ created_at: 'created_at',
128
+ updated_at: 'updated_at'
129
+ };
130
+
131
+ exports.Prisma.EtiquetaGrupoScalarFieldEnum = {
132
+ id: 'id',
133
+ nombre: 'nombre',
134
+ color: 'color',
135
+ esExclusivo: 'esExclusivo',
136
+ created_at: 'created_at',
137
+ updated_at: 'updated_at'
138
+ };
139
+
140
+ exports.Prisma.EventoScalarFieldEnum = {
141
+ id: 'id',
142
+ nombre: 'nombre',
143
+ fecha: 'fecha',
144
+ ubicacion: 'ubicacion',
145
+ eventoPadreId: 'eventoPadreId',
146
+ created_at: 'created_at',
147
+ updated_at: 'updated_at',
148
+ etiquetaAsistioId: 'etiquetaAsistioId',
149
+ etiquetaConfirmoId: 'etiquetaConfirmoId'
150
+ };
151
+
152
+ exports.Prisma.MensajeScalarFieldEnum = {
153
+ id: 'id',
154
+ wamId: 'wamId',
155
+ message: 'message',
156
+ status: 'status',
157
+ perfilTelefono: 'perfilTelefono',
158
+ created_at: 'created_at',
159
+ updated_at: 'updated_at',
160
+ statusAt: 'statusAt'
161
+ };
162
+
163
+ exports.Prisma.EnumsScalarFieldEnum = {
164
+ id: 'id',
165
+ EstadoPlantilla: 'EstadoPlantilla',
166
+ CategoriaPlantilla: 'CategoriaPlantilla'
167
+ };
168
+
169
+ exports.Prisma.SortOrder = {
170
+ asc: 'asc',
171
+ desc: 'desc'
172
+ };
173
+
174
+ exports.Prisma.JsonNullValueInput = {
175
+ JsonNull: Prisma.JsonNull
176
+ };
177
+
178
+ exports.Prisma.QueryMode = {
179
+ default: 'default',
180
+ insensitive: 'insensitive'
181
+ };
182
+
183
+ exports.Prisma.NullsOrder = {
184
+ first: 'first',
185
+ last: 'last'
186
+ };
187
+
188
+ exports.Prisma.JsonNullValueFilter = {
189
+ DbNull: Prisma.DbNull,
190
+ JsonNull: Prisma.JsonNull,
191
+ AnyNull: Prisma.AnyNull
192
+ };
193
+ exports.TipoEtiqueta = exports.$Enums.TipoEtiqueta = {
194
+ PERSONAL: 'PERSONAL',
195
+ EVENTO: 'EVENTO',
196
+ MODELO: 'MODELO',
197
+ TENTATIVA: 'TENTATIVA'
198
+ };
199
+
200
+ exports.MensajeStatus = exports.$Enums.MensajeStatus = {
201
+ ENVIADO: 'ENVIADO',
202
+ RECIBIDO: 'RECIBIDO',
203
+ LEIDO: 'LEIDO'
204
+ };
205
+
206
+ exports.EstadoPlantilla = exports.$Enums.EstadoPlantilla = {
207
+ APRROVED: 'APRROVED',
208
+ PENDING: 'PENDING',
209
+ REJECTED: 'REJECTED'
210
+ };
211
+
212
+ exports.CategoriaPlantilla = exports.$Enums.CategoriaPlantilla = {
213
+ MARKETING: 'MARKETING',
214
+ UTILITY: 'UTILITY',
215
+ AUTHENTICATION: 'AUTHENTICATION'
216
+ };
217
+
218
+ exports.Prisma.ModelName = {
219
+ Cuenta: 'Cuenta',
220
+ Perfil: 'Perfil',
221
+ Comentario: 'Comentario',
222
+ Etiqueta: 'Etiqueta',
223
+ EtiquetaGrupo: 'EtiquetaGrupo',
224
+ Evento: 'Evento',
225
+ Mensaje: 'Mensaje',
226
+ Enums: 'Enums'
227
+ };
228
+ /**
229
+ * Create the Client
230
+ */
231
+ const config = {
232
+ "generator": {
233
+ "name": "clientTypes",
234
+ "provider": {
235
+ "fromEnvVar": null,
236
+ "value": "prisma-client-js"
237
+ },
238
+ "output": {
239
+ "value": "D:\\Documents D\\Laburitos\\ExpoArielito\\expo-backend\\types\\prisma-schema",
240
+ "fromEnvVar": null
241
+ },
242
+ "config": {
243
+ "engineType": "library"
244
+ },
245
+ "binaryTargets": [
246
+ {
247
+ "fromEnvVar": null,
248
+ "value": "windows",
249
+ "native": true
250
+ }
251
+ ],
252
+ "previewFeatures": [],
253
+ "isCustomOutput": true
254
+ },
255
+ "relativeEnvPaths": {
256
+ "rootEnvPath": null,
257
+ "schemaEnvPath": "../../.env"
258
+ },
259
+ "relativePath": "../../prisma",
260
+ "clientVersion": "5.14.0",
261
+ "engineVersion": "e9771e62de70f79a5e1c604a2d7c8e2a0a874b48",
262
+ "datasourceNames": [
263
+ "db"
264
+ ],
265
+ "activeProvider": "postgresql",
266
+ "postinstall": false,
267
+ "inlineDatasources": {
268
+ "db": {
269
+ "url": {
270
+ "fromEnvVar": "DATABASE_URL_SUPA",
271
+ "value": null
272
+ }
273
+ }
274
+ },
275
+ "inlineSchema": "generator client {\n provider = \"prisma-client-js\"\n}\n\ngenerator clientTypes {\n provider = \"prisma-client-js\"\n output = \"../types/prisma-schema\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL_SUPA\")\n relationMode = \"foreignKeys\"\n}\n\nmodel Cuenta {\n id String @id @default(uuid())\n nombreUsuario String @unique @map(\"nombre_usuario\")\n contrasena String\n esAdmin Boolean @default(false) @map(\"es_admin\")\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n comentarios Comentario[]\n etiquetas Etiqueta[] @relation(\"CUENTA_X_ETIQUETA\")\n\n @@map(\"CUENTA\")\n}\n\nmodel Perfil {\n id String @id @default(uuid())\n telefono String @unique\n nombreCompleto String @map(\"nombre_completo\")\n nombrePila String? @map(\"nombre_pila\")\n genero String?\n fechaNacimiento DateTime? @map(\"fecha_nacimiento\")\n fotoUrl String? @map(\"foto_url\")\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n idLegible Int? @default(autoincrement()) @map(\"id_legible\")\n comentarios Comentario[]\n mensajes Mensaje[] @relation(\"PERFIL_X_MENSAJE\")\n etiquetas Etiqueta[] @relation(\"PERFIL_X_ETIQUETA\")\n\n @@map(\"PERFIL\")\n}\n\nmodel Comentario {\n id String @id @default(uuid())\n contenido String\n perfilId String @map(\"perfil_id\")\n creadoPor String @map(\"creado_por\")\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n cuenta Cuenta @relation(fields: [creadoPor], references: [id])\n perfil Perfil @relation(fields: [perfilId], references: [id], onDelete: Cascade)\n\n @@map(\"COMENTARIO\")\n}\n\nmodel Etiqueta {\n id String @id @default(uuid())\n nombre String\n grupoId String @map(\"grupo_id\")\n tipo TipoEtiqueta @default(PERSONAL)\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n grupo EtiquetaGrupo @relation(fields: [grupoId], references: [id], onDelete: Cascade)\n eventosAsistidos Evento[] @relation(\"EVENTOASISTIDO_X_ETIQUETA\")\n eventosConfirmados Evento[] @relation(\"EVENTOCONFIRMADO_X_ETIQUETA\")\n cuentas Cuenta[] @relation(\"CUENTA_X_ETIQUETA\")\n perfiles Perfil[] @relation(\"PERFIL_X_ETIQUETA\")\n\n @@map(\"ETIQUETA\")\n}\n\nmodel EtiquetaGrupo {\n id String @id @default(uuid())\n nombre String\n color String\n esExclusivo Boolean @map(\"es_exclusivo\")\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n etiquetas Etiqueta[]\n\n @@map(\"GRUPO_ETIQUETA\")\n}\n\nmodel Evento {\n id String @id @default(uuid())\n nombre String\n fecha DateTime\n ubicacion String\n eventoPadreId String? @map(\"evento_padre\")\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n etiquetaAsistioId String @map(\"etiqueta_asistio\")\n etiquetaConfirmoId String @map(\"etiqueta_confirmo\")\n etiquetaAsistio Etiqueta @relation(\"EVENTOASISTIDO_X_ETIQUETA\", fields: [etiquetaAsistioId], references: [id], onDelete: Cascade)\n etiquetaConfirmo Etiqueta @relation(\"EVENTOCONFIRMADO_X_ETIQUETA\", fields: [etiquetaConfirmoId], references: [id], onDelete: Cascade)\n eventoPadre Evento? @relation(\"SubEventos\", fields: [eventoPadreId], references: [id], onDelete: Cascade)\n subEventos Evento[] @relation(\"SubEventos\")\n\n @@map(\"EVENTO\")\n}\n\nmodel Mensaje {\n id String @id @default(uuid())\n wamId String @unique @map(\"wam_id\")\n message Json\n status MensajeStatus @default(ENVIADO)\n perfilTelefono String @map(\"perfil_telefono\")\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n statusAt DateTime? @map(\"status_at\")\n perfil Perfil @relation(\"PERFIL_X_MENSAJE\", fields: [perfilTelefono], references: [telefono], onDelete: Cascade)\n\n @@map(\"MENSAJE\")\n}\n\nmodel Enums {\n id String @id\n EstadoPlantilla EstadoPlantilla\n CategoriaPlantilla CategoriaPlantilla\n}\n\nenum EstadoPlantilla {\n APRROVED\n PENDING\n REJECTED\n}\n\nenum CategoriaPlantilla {\n MARKETING\n UTILITY\n AUTHENTICATION\n}\n\nenum TipoEtiqueta {\n PERSONAL\n EVENTO\n MODELO\n TENTATIVA\n}\n\nenum MensajeStatus {\n ENVIADO\n RECIBIDO\n LEIDO\n}\n",
276
+ "inlineSchemaHash": "7fe5ed69481afe50200fcbc7d4284889c68045a3654376071de724e003015e2c",
277
+ "copyEngine": true
278
+ }
279
+
280
+ const fs = require('fs')
281
+
282
+ config.dirname = __dirname
283
+ if (!fs.existsSync(path.join(__dirname, 'schema.prisma'))) {
284
+ const alternativePaths = [
285
+ "types/prisma-schema",
286
+ "prisma-schema",
287
+ ]
288
+
289
+ const alternativePath = alternativePaths.find((altPath) => {
290
+ return fs.existsSync(path.join(process.cwd(), altPath, 'schema.prisma'))
291
+ }) ?? alternativePaths[0]
292
+
293
+ config.dirname = path.join(process.cwd(), alternativePath)
294
+ config.isBundled = true
295
+ }
296
+
297
+ config.runtimeDataModel = JSON.parse("{\"models\":{\"Cuenta\":{\"dbName\":\"CUENTA\",\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"nombreUsuario\",\"dbName\":\"nombre_usuario\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"contrasena\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"esAdmin\",\"dbName\":\"es_admin\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Boolean\",\"default\":false,\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"created_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updated_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"comentarios\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Comentario\",\"relationName\":\"ComentarioToCuenta\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"etiquetas\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Etiqueta\",\"relationName\":\"CUENTA_X_ETIQUETA\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Perfil\":{\"dbName\":\"PERFIL\",\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"telefono\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"nombreCompleto\",\"dbName\":\"nombre_completo\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"nombrePila\",\"dbName\":\"nombre_pila\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"genero\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fechaNacimiento\",\"dbName\":\"fecha_nacimiento\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fotoUrl\",\"dbName\":\"foto_url\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"created_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updated_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"idLegible\",\"dbName\":\"id_legible\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"Int\",\"default\":{\"name\":\"autoincrement\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"comentarios\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Comentario\",\"relationName\":\"ComentarioToPerfil\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"mensajes\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Mensaje\",\"relationName\":\"PERFIL_X_MENSAJE\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"etiquetas\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Etiqueta\",\"relationName\":\"PERFIL_X_ETIQUETA\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Comentario\":{\"dbName\":\"COMENTARIO\",\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"contenido\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"perfilId\",\"dbName\":\"perfil_id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"creadoPor\",\"dbName\":\"creado_por\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"created_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updated_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"cuenta\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Cuenta\",\"relationName\":\"ComentarioToCuenta\",\"relationFromFields\":[\"creadoPor\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"perfil\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Perfil\",\"relationName\":\"ComentarioToPerfil\",\"relationFromFields\":[\"perfilId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Etiqueta\":{\"dbName\":\"ETIQUETA\",\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"nombre\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"grupoId\",\"dbName\":\"grupo_id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"tipo\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"TipoEtiqueta\",\"default\":\"PERSONAL\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"created_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updated_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"grupo\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"EtiquetaGrupo\",\"relationName\":\"EtiquetaToEtiquetaGrupo\",\"relationFromFields\":[\"grupoId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"eventosAsistidos\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Evento\",\"relationName\":\"EVENTOASISTIDO_X_ETIQUETA\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"eventosConfirmados\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Evento\",\"relationName\":\"EVENTOCONFIRMADO_X_ETIQUETA\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"cuentas\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Cuenta\",\"relationName\":\"CUENTA_X_ETIQUETA\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"perfiles\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Perfil\",\"relationName\":\"PERFIL_X_ETIQUETA\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"EtiquetaGrupo\":{\"dbName\":\"GRUPO_ETIQUETA\",\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"nombre\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"color\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"esExclusivo\",\"dbName\":\"es_exclusivo\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Boolean\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"created_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updated_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"etiquetas\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Etiqueta\",\"relationName\":\"EtiquetaToEtiquetaGrupo\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Evento\":{\"dbName\":\"EVENTO\",\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"nombre\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"fecha\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"ubicacion\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"eventoPadreId\",\"dbName\":\"evento_padre\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"created_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updated_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"etiquetaAsistioId\",\"dbName\":\"etiqueta_asistio\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"etiquetaConfirmoId\",\"dbName\":\"etiqueta_confirmo\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"etiquetaAsistio\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Etiqueta\",\"relationName\":\"EVENTOASISTIDO_X_ETIQUETA\",\"relationFromFields\":[\"etiquetaAsistioId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"etiquetaConfirmo\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Etiqueta\",\"relationName\":\"EVENTOCONFIRMADO_X_ETIQUETA\",\"relationFromFields\":[\"etiquetaConfirmoId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"eventoPadre\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Evento\",\"relationName\":\"SubEventos\",\"relationFromFields\":[\"eventoPadreId\"],\"relationToFields\":[\"id\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"subEventos\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Evento\",\"relationName\":\"SubEventos\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Mensaje\":{\"dbName\":\"MENSAJE\",\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"String\",\"default\":{\"name\":\"uuid\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"wamId\",\"dbName\":\"wam_id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":true,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"message\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Json\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"status\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"MensajeStatus\",\"default\":\"ENVIADO\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"perfilTelefono\",\"dbName\":\"perfil_telefono\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"created_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":true,\"type\":\"DateTime\",\"default\":{\"name\":\"now\",\"args\":[]},\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"updated_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":true},{\"name\":\"statusAt\",\"dbName\":\"status_at\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"DateTime\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"perfil\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Perfil\",\"relationName\":\"PERFIL_X_MENSAJE\",\"relationFromFields\":[\"perfilTelefono\"],\"relationToFields\":[\"telefono\"],\"relationOnDelete\":\"Cascade\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Enums\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"EstadoPlantilla\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"EstadoPlantilla\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"CategoriaPlantilla\",\"kind\":\"enum\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"CategoriaPlantilla\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false}},\"enums\":{\"EstadoPlantilla\":{\"values\":[{\"name\":\"APRROVED\",\"dbName\":null},{\"name\":\"PENDING\",\"dbName\":null},{\"name\":\"REJECTED\",\"dbName\":null}],\"dbName\":null},\"CategoriaPlantilla\":{\"values\":[{\"name\":\"MARKETING\",\"dbName\":null},{\"name\":\"UTILITY\",\"dbName\":null},{\"name\":\"AUTHENTICATION\",\"dbName\":null}],\"dbName\":null},\"TipoEtiqueta\":{\"values\":[{\"name\":\"PERSONAL\",\"dbName\":null},{\"name\":\"EVENTO\",\"dbName\":null},{\"name\":\"MODELO\",\"dbName\":null},{\"name\":\"TENTATIVA\",\"dbName\":null}],\"dbName\":null},\"MensajeStatus\":{\"values\":[{\"name\":\"ENVIADO\",\"dbName\":null},{\"name\":\"RECIBIDO\",\"dbName\":null},{\"name\":\"LEIDO\",\"dbName\":null}],\"dbName\":null}},\"types\":{}}")
298
+ defineDmmfProperty(exports.Prisma, config.runtimeDataModel)
299
+ config.engineWasm = undefined
300
+
301
+
302
+ const { warnEnvConflicts } = require('./runtime/library.js')
303
+
304
+ warnEnvConflicts({
305
+ rootEnvPath: config.relativeEnvPaths.rootEnvPath && path.resolve(config.dirname, config.relativeEnvPaths.rootEnvPath),
306
+ schemaEnvPath: config.relativeEnvPaths.schemaEnvPath && path.resolve(config.dirname, config.relativeEnvPaths.schemaEnvPath)
307
+ })
308
+
309
+ const PrismaClient = getPrismaClient(config)
310
+ exports.PrismaClient = PrismaClient
311
+ Object.assign(exports, Prisma)
312
+
313
+ // file annotations for bundling tools to include these files
314
+ path.join(__dirname, "query_engine-windows.dll.node");
315
+ path.join(process.cwd(), "types/prisma-schema/query_engine-windows.dll.node")
316
+ // file annotations for bundling tools to include these files
317
+ path.join(__dirname, "schema.prisma");
318
+ path.join(process.cwd(), "types/prisma-schema/schema.prisma")
@@ -0,0 +1,84 @@
1
+ {
2
+ "name": "prisma-client-963c4582513b76fbed0c82eddb9bedc66e5825e0c7ee8a18bee3fdb849237603",
3
+ "main": "index.js",
4
+ "types": "index.d.ts",
5
+ "browser": "index-browser.js",
6
+ "exports": {
7
+ "./package.json": "./package.json",
8
+ ".": {
9
+ "require": {
10
+ "node": "./index.js",
11
+ "edge-light": "./wasm.js",
12
+ "workerd": "./wasm.js",
13
+ "worker": "./wasm.js",
14
+ "browser": "./index-browser.js",
15
+ "default": "./index.js"
16
+ },
17
+ "import": {
18
+ "node": "./index.js",
19
+ "edge-light": "./wasm.js",
20
+ "workerd": "./wasm.js",
21
+ "worker": "./wasm.js",
22
+ "browser": "./index-browser.js",
23
+ "default": "./index.js"
24
+ },
25
+ "default": "./index.js"
26
+ },
27
+ "./edge": {
28
+ "types": "./edge.d.ts",
29
+ "require": "./edge.js",
30
+ "import": "./edge.js",
31
+ "default": "./edge.js"
32
+ },
33
+ "./react-native": {
34
+ "types": "./react-native.d.ts",
35
+ "require": "./react-native.js",
36
+ "import": "./react-native.js",
37
+ "default": "./react-native.js"
38
+ },
39
+ "./extension": {
40
+ "types": "./extension.d.ts",
41
+ "require": "./extension.js",
42
+ "import": "./extension.js",
43
+ "default": "./extension.js"
44
+ },
45
+ "./index-browser": {
46
+ "types": "./index.d.ts",
47
+ "require": "./index-browser.js",
48
+ "import": "./index-browser.js",
49
+ "default": "./index-browser.js"
50
+ },
51
+ "./index": {
52
+ "types": "./index.d.ts",
53
+ "require": "./index.js",
54
+ "import": "./index.js",
55
+ "default": "./index.js"
56
+ },
57
+ "./wasm": {
58
+ "types": "./wasm.d.ts",
59
+ "require": "./wasm.js",
60
+ "import": "./wasm.js",
61
+ "default": "./wasm.js"
62
+ },
63
+ "./runtime/library": {
64
+ "types": "./runtime/library.d.ts",
65
+ "require": "./runtime/library.js",
66
+ "import": "./runtime/library.js",
67
+ "default": "./runtime/library.js"
68
+ },
69
+ "./runtime/binary": {
70
+ "types": "./runtime/binary.d.ts",
71
+ "require": "./runtime/binary.js",
72
+ "import": "./runtime/binary.js",
73
+ "default": "./runtime/binary.js"
74
+ },
75
+ "./generator-build": {
76
+ "require": "./generator-build/index.js",
77
+ "import": "./generator-build/index.js",
78
+ "default": "./generator-build/index.js"
79
+ },
80
+ "./*": "./*"
81
+ },
82
+ "version": "5.14.0",
83
+ "sideEffects": false
84
+ }