expo-backend-types 0.0.38 → 0.0.40
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/auth/dto/login.dto.d.ts +170 -0
- package/dist/src/auth/dto/login.dto.js +29 -0
- package/dist/src/auth/dto/login.dto.js.map +1 -0
- package/dist/src/auth/dto/register.dto.d.ts +73 -0
- package/dist/src/auth/dto/register.dto.js +20 -0
- package/dist/src/auth/dto/register.dto.js.map +1 -0
- package/dist/src/auth/exports.js +19 -0
- package/dist/src/auth/exports.js.map +1 -0
- package/dist/src/cuenta/dto/cuenta.dto.d.ts +60 -0
- package/dist/src/cuenta/dto/cuenta.dto.js +31 -0
- package/dist/src/cuenta/dto/cuenta.dto.js.map +1 -0
- package/dist/src/cuenta/exports.js +18 -0
- package/dist/src/cuenta/exports.js.map +1 -0
- package/dist/src/exports.js +19 -0
- package/dist/src/exports.js.map +1 -0
- package/{types/dto.ts → dist/types/dto.d.ts} +1 -1
- package/dist/types/dto.js +18 -0
- package/dist/types/dto.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +19 -0
- package/dist/types/index.js.map +1 -0
- package/{types → dist/types}/schema.d.ts +0 -15
- package/dist/types/schema.js +3 -0
- package/dist/types/schema.js.map +1 -0
- package/package.json +21 -14
- package/tsconfig.json +1 -1
- package/src/auth/dto/login.dto.ts +0 -22
- package/src/auth/dto/register.dto.ts +0 -16
- package/src/cuenta/dto/cuenta.dto.ts +0 -28
- package/types/index.d.ts +0 -2
- package/types/prisma-schema/default.d.ts +0 -1
- package/types/prisma-schema/default.js +0 -1
- package/types/prisma-schema/edge.d.ts +0 -1
- package/types/prisma-schema/edge.js +0 -297
- package/types/prisma-schema/index-browser.d.ts +0 -271
- package/types/prisma-schema/index-browser.js +0 -289
- package/types/prisma-schema/index.d.ts +0 -16638
- package/types/prisma-schema/index.js +0 -318
- package/types/prisma-schema/package.json +0 -84
- package/types/prisma-schema/query_engine-windows.dll.node +0 -0
- package/types/prisma-schema/runtime/edge-esm.js +0 -28
- package/types/prisma-schema/runtime/edge.d.ts +0 -2
- package/types/prisma-schema/runtime/edge.js +0 -28
- package/types/prisma-schema/runtime/index-browser.d.ts +0 -365
- package/types/prisma-schema/runtime/index-browser.js +0 -13
- package/types/prisma-schema/runtime/library.d.ts +0 -3193
- package/types/prisma-schema/runtime/library.js +0 -140
- package/types/prisma-schema/runtime/react-native.d.ts +0 -2
- package/types/prisma-schema/runtime/react-native.js +0 -77
- package/types/prisma-schema/runtime/wasm.d.ts +0 -2
- package/types/prisma-schema/runtime/wasm.js +0 -29
- package/types/prisma-schema/schema.prisma +0 -149
- package/types/prisma-schema/wasm.d.ts +0 -1
- package/types/prisma-schema/wasm.js +0 -289
- /package/{src/auth/exports.ts → dist/src/auth/exports.d.ts} +0 -0
- /package/{src/cuenta/exports.ts → dist/src/cuenta/exports.d.ts} +0 -0
- /package/{src/exports.ts → dist/src/exports.d.ts} +0 -0
package/tsconfig.json
CHANGED
@@ -1,22 +0,0 @@
|
|
1
|
-
import { createZodDto } from '@anatine/zod-nestjs';
|
2
|
-
import { cuentaSchema } from '@/cuenta/dto/cuenta.dto';
|
3
|
-
import z from 'zod';
|
4
|
-
|
5
|
-
export const loginSchema = cuentaSchema.pick({
|
6
|
-
username: true,
|
7
|
-
password: true,
|
8
|
-
});
|
9
|
-
|
10
|
-
export class LoginDto extends createZodDto(loginSchema) {}
|
11
|
-
|
12
|
-
export const loginResponseSchema = z.object({
|
13
|
-
user: cuentaSchema.omit({
|
14
|
-
password: true,
|
15
|
-
}),
|
16
|
-
backendTokens: z.object({
|
17
|
-
accessToken: z.string(),
|
18
|
-
refreshToken: z.string(),
|
19
|
-
}),
|
20
|
-
});
|
21
|
-
|
22
|
-
export class LoginResponseDto extends createZodDto(loginResponseSchema) {}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { createZodDto } from '@anatine/zod-nestjs';
|
2
|
-
import { cuentaSchema } from '@/cuenta/dto/cuenta.dto';
|
3
|
-
|
4
|
-
export const registerSchema = cuentaSchema.pick({
|
5
|
-
username: true,
|
6
|
-
password: true,
|
7
|
-
isAdmin: true,
|
8
|
-
});
|
9
|
-
|
10
|
-
export class RegisterDto extends createZodDto(registerSchema) {}
|
11
|
-
|
12
|
-
export const registerResponseSchema = registerSchema.omit({
|
13
|
-
password: true,
|
14
|
-
});
|
15
|
-
|
16
|
-
export class RegisterResponseDto extends createZodDto(registerResponseSchema) {}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { createZodDto } from '@anatine/zod-nestjs';
|
2
|
-
import { z } from 'zod';
|
3
|
-
|
4
|
-
export const cuentaSchema = z.object({
|
5
|
-
id: z
|
6
|
-
.string({
|
7
|
-
required_error: 'El id es requerido',
|
8
|
-
})
|
9
|
-
.uuid({
|
10
|
-
message: 'El id debe ser un UUID',
|
11
|
-
}),
|
12
|
-
username: z.string({
|
13
|
-
required_error: 'El nombre de usuario es requerido',
|
14
|
-
}),
|
15
|
-
password: z
|
16
|
-
.string({
|
17
|
-
required_error: 'La contraseña es requerida',
|
18
|
-
})
|
19
|
-
.min(6, 'La contraseña debe tener al menos 6 caracteres'),
|
20
|
-
isAdmin: z.boolean().default(false),
|
21
|
-
created_at: z.string().datetime(),
|
22
|
-
updated_at: z.string().datetime(),
|
23
|
-
// filtroBase: z.array(EtiquetaSchema),
|
24
|
-
filtroBaseActivo: z.boolean().default(false),
|
25
|
-
fcmToken: z.array(z.string()).default([]),
|
26
|
-
});
|
27
|
-
|
28
|
-
export class CuentaDto extends createZodDto(cuentaSchema) {}
|
package/types/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './index'
|
@@ -1 +0,0 @@
|
|
1
|
-
module.exports = { ...require('.') }
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './default'
|
@@ -1,297 +0,0 @@
|
|
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/edge.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
|
-
|
80
|
-
/**
|
81
|
-
* Enums
|
82
|
-
*/
|
83
|
-
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
84
|
-
ReadUncommitted: 'ReadUncommitted',
|
85
|
-
ReadCommitted: 'ReadCommitted',
|
86
|
-
RepeatableRead: 'RepeatableRead',
|
87
|
-
Serializable: 'Serializable'
|
88
|
-
});
|
89
|
-
|
90
|
-
exports.Prisma.CuentaScalarFieldEnum = {
|
91
|
-
id: 'id',
|
92
|
-
nombreUsuario: 'nombreUsuario',
|
93
|
-
contrasena: 'contrasena',
|
94
|
-
esAdmin: 'esAdmin',
|
95
|
-
created_at: 'created_at',
|
96
|
-
updated_at: 'updated_at'
|
97
|
-
};
|
98
|
-
|
99
|
-
exports.Prisma.PerfilScalarFieldEnum = {
|
100
|
-
id: 'id',
|
101
|
-
telefono: 'telefono',
|
102
|
-
nombreCompleto: 'nombreCompleto',
|
103
|
-
nombrePila: 'nombrePila',
|
104
|
-
genero: 'genero',
|
105
|
-
fechaNacimiento: 'fechaNacimiento',
|
106
|
-
fotoUrl: 'fotoUrl',
|
107
|
-
created_at: 'created_at',
|
108
|
-
updated_at: 'updated_at',
|
109
|
-
idLegible: 'idLegible'
|
110
|
-
};
|
111
|
-
|
112
|
-
exports.Prisma.ComentarioScalarFieldEnum = {
|
113
|
-
id: 'id',
|
114
|
-
contenido: 'contenido',
|
115
|
-
perfilId: 'perfilId',
|
116
|
-
creadoPor: 'creadoPor',
|
117
|
-
created_at: 'created_at',
|
118
|
-
updated_at: 'updated_at'
|
119
|
-
};
|
120
|
-
|
121
|
-
exports.Prisma.EtiquetaScalarFieldEnum = {
|
122
|
-
id: 'id',
|
123
|
-
nombre: 'nombre',
|
124
|
-
grupoId: 'grupoId',
|
125
|
-
tipo: 'tipo',
|
126
|
-
created_at: 'created_at',
|
127
|
-
updated_at: 'updated_at'
|
128
|
-
};
|
129
|
-
|
130
|
-
exports.Prisma.EtiquetaGrupoScalarFieldEnum = {
|
131
|
-
id: 'id',
|
132
|
-
nombre: 'nombre',
|
133
|
-
color: 'color',
|
134
|
-
esExclusivo: 'esExclusivo',
|
135
|
-
created_at: 'created_at',
|
136
|
-
updated_at: 'updated_at'
|
137
|
-
};
|
138
|
-
|
139
|
-
exports.Prisma.EventoScalarFieldEnum = {
|
140
|
-
id: 'id',
|
141
|
-
nombre: 'nombre',
|
142
|
-
fecha: 'fecha',
|
143
|
-
ubicacion: 'ubicacion',
|
144
|
-
eventoPadreId: 'eventoPadreId',
|
145
|
-
created_at: 'created_at',
|
146
|
-
updated_at: 'updated_at',
|
147
|
-
etiquetaAsistioId: 'etiquetaAsistioId',
|
148
|
-
etiquetaConfirmoId: 'etiquetaConfirmoId'
|
149
|
-
};
|
150
|
-
|
151
|
-
exports.Prisma.MensajeScalarFieldEnum = {
|
152
|
-
id: 'id',
|
153
|
-
wamId: 'wamId',
|
154
|
-
message: 'message',
|
155
|
-
status: 'status',
|
156
|
-
perfilTelefono: 'perfilTelefono',
|
157
|
-
created_at: 'created_at',
|
158
|
-
updated_at: 'updated_at',
|
159
|
-
statusAt: 'statusAt'
|
160
|
-
};
|
161
|
-
|
162
|
-
exports.Prisma.EnumsScalarFieldEnum = {
|
163
|
-
id: 'id',
|
164
|
-
EstadoPlantilla: 'EstadoPlantilla',
|
165
|
-
CategoriaPlantilla: 'CategoriaPlantilla'
|
166
|
-
};
|
167
|
-
|
168
|
-
exports.Prisma.SortOrder = {
|
169
|
-
asc: 'asc',
|
170
|
-
desc: 'desc'
|
171
|
-
};
|
172
|
-
|
173
|
-
exports.Prisma.JsonNullValueInput = {
|
174
|
-
JsonNull: Prisma.JsonNull
|
175
|
-
};
|
176
|
-
|
177
|
-
exports.Prisma.QueryMode = {
|
178
|
-
default: 'default',
|
179
|
-
insensitive: 'insensitive'
|
180
|
-
};
|
181
|
-
|
182
|
-
exports.Prisma.NullsOrder = {
|
183
|
-
first: 'first',
|
184
|
-
last: 'last'
|
185
|
-
};
|
186
|
-
|
187
|
-
exports.Prisma.JsonNullValueFilter = {
|
188
|
-
DbNull: Prisma.DbNull,
|
189
|
-
JsonNull: Prisma.JsonNull,
|
190
|
-
AnyNull: Prisma.AnyNull
|
191
|
-
};
|
192
|
-
exports.TipoEtiqueta = exports.$Enums.TipoEtiqueta = {
|
193
|
-
PERSONAL: 'PERSONAL',
|
194
|
-
EVENTO: 'EVENTO',
|
195
|
-
MODELO: 'MODELO',
|
196
|
-
TENTATIVA: 'TENTATIVA'
|
197
|
-
};
|
198
|
-
|
199
|
-
exports.MensajeStatus = exports.$Enums.MensajeStatus = {
|
200
|
-
ENVIADO: 'ENVIADO',
|
201
|
-
RECIBIDO: 'RECIBIDO',
|
202
|
-
LEIDO: 'LEIDO'
|
203
|
-
};
|
204
|
-
|
205
|
-
exports.EstadoPlantilla = exports.$Enums.EstadoPlantilla = {
|
206
|
-
APRROVED: 'APRROVED',
|
207
|
-
PENDING: 'PENDING',
|
208
|
-
REJECTED: 'REJECTED'
|
209
|
-
};
|
210
|
-
|
211
|
-
exports.CategoriaPlantilla = exports.$Enums.CategoriaPlantilla = {
|
212
|
-
MARKETING: 'MARKETING',
|
213
|
-
UTILITY: 'UTILITY',
|
214
|
-
AUTHENTICATION: 'AUTHENTICATION'
|
215
|
-
};
|
216
|
-
|
217
|
-
exports.Prisma.ModelName = {
|
218
|
-
Cuenta: 'Cuenta',
|
219
|
-
Perfil: 'Perfil',
|
220
|
-
Comentario: 'Comentario',
|
221
|
-
Etiqueta: 'Etiqueta',
|
222
|
-
EtiquetaGrupo: 'EtiquetaGrupo',
|
223
|
-
Evento: 'Evento',
|
224
|
-
Mensaje: 'Mensaje',
|
225
|
-
Enums: 'Enums'
|
226
|
-
};
|
227
|
-
/**
|
228
|
-
* Create the Client
|
229
|
-
*/
|
230
|
-
const config = {
|
231
|
-
"generator": {
|
232
|
-
"name": "clientTypes",
|
233
|
-
"provider": {
|
234
|
-
"fromEnvVar": null,
|
235
|
-
"value": "prisma-client-js"
|
236
|
-
},
|
237
|
-
"output": {
|
238
|
-
"value": "D:\\Documents D\\Laburitos\\ExpoArielito\\expo-backend\\types\\prisma-schema",
|
239
|
-
"fromEnvVar": null
|
240
|
-
},
|
241
|
-
"config": {
|
242
|
-
"engineType": "library"
|
243
|
-
},
|
244
|
-
"binaryTargets": [
|
245
|
-
{
|
246
|
-
"fromEnvVar": null,
|
247
|
-
"value": "windows",
|
248
|
-
"native": true
|
249
|
-
}
|
250
|
-
],
|
251
|
-
"previewFeatures": [],
|
252
|
-
"isCustomOutput": true
|
253
|
-
},
|
254
|
-
"relativeEnvPaths": {
|
255
|
-
"rootEnvPath": null,
|
256
|
-
"schemaEnvPath": "../../.env"
|
257
|
-
},
|
258
|
-
"relativePath": "../../prisma",
|
259
|
-
"clientVersion": "5.14.0",
|
260
|
-
"engineVersion": "e9771e62de70f79a5e1c604a2d7c8e2a0a874b48",
|
261
|
-
"datasourceNames": [
|
262
|
-
"db"
|
263
|
-
],
|
264
|
-
"activeProvider": "postgresql",
|
265
|
-
"postinstall": false,
|
266
|
-
"inlineDatasources": {
|
267
|
-
"db": {
|
268
|
-
"url": {
|
269
|
-
"fromEnvVar": "DATABASE_URL_SUPA",
|
270
|
-
"value": null
|
271
|
-
}
|
272
|
-
}
|
273
|
-
},
|
274
|
-
"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",
|
275
|
-
"inlineSchemaHash": "7fe5ed69481afe50200fcbc7d4284889c68045a3654376071de724e003015e2c",
|
276
|
-
"copyEngine": true
|
277
|
-
}
|
278
|
-
config.dirname = '/'
|
279
|
-
|
280
|
-
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\":{}}")
|
281
|
-
defineDmmfProperty(exports.Prisma, config.runtimeDataModel)
|
282
|
-
config.engineWasm = undefined
|
283
|
-
|
284
|
-
config.injectableEdgeEnv = () => ({
|
285
|
-
parsed: {
|
286
|
-
DATABASE_URL_SUPA: typeof globalThis !== 'undefined' && globalThis['DATABASE_URL_SUPA'] || typeof process !== 'undefined' && process.env && process.env.DATABASE_URL_SUPA || undefined
|
287
|
-
}
|
288
|
-
})
|
289
|
-
|
290
|
-
if (typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined) {
|
291
|
-
Debug.enable(typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined)
|
292
|
-
}
|
293
|
-
|
294
|
-
const PrismaClient = getPrismaClient(config)
|
295
|
-
exports.PrismaClient = PrismaClient
|
296
|
-
Object.assign(exports, Prisma)
|
297
|
-
|