expo-backend-types 0.0.26 → 0.0.28
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +98 -95
- package/types/prisma-schema/default.d.ts +1 -0
- package/types/prisma-schema/default.js +1 -0
- package/types/prisma-schema/edge.d.ts +1 -0
- package/types/prisma-schema/edge.js +297 -0
- package/types/prisma-schema/index-browser.d.ts +271 -0
- package/types/prisma-schema/index-browser.js +289 -0
- package/types/prisma-schema/index.d.ts +0 -2
- package/types/prisma-schema/index.js +318 -0
- package/types/prisma-schema/package.json +84 -0
- package/types/prisma-schema/query_engine-windows.dll.node +0 -0
- package/types/prisma-schema/runtime/edge-esm.js +28 -0
- package/types/prisma-schema/runtime/edge.d.ts +2 -0
- package/types/prisma-schema/runtime/edge.js +28 -0
- package/types/prisma-schema/runtime/index-browser.d.ts +365 -0
- package/types/prisma-schema/runtime/index-browser.js +13 -0
- package/types/prisma-schema/runtime/library.js +140 -0
- package/types/prisma-schema/runtime/react-native.d.ts +2 -0
- package/types/prisma-schema/runtime/react-native.js +77 -0
- package/types/prisma-schema/runtime/wasm.d.ts +2 -0
- package/types/prisma-schema/runtime/wasm.js +29 -0
- package/types/prisma-schema/schema.prisma +149 -0
- package/types/prisma-schema/wasm.d.ts +1 -0
- package/types/prisma-schema/wasm.js +289 -0
package/package.json
CHANGED
@@ -1,95 +1,98 @@
|
|
1
|
-
{
|
2
|
-
"name": "expo-backend-types",
|
3
|
-
"version": "0.0.
|
4
|
-
"description": "",
|
5
|
-
"author": "Expo",
|
6
|
-
"private": false,
|
7
|
-
"license": "UNLICENSED",
|
8
|
-
"
|
9
|
-
"
|
10
|
-
|
11
|
-
|
12
|
-
"
|
13
|
-
"
|
14
|
-
"
|
15
|
-
"
|
16
|
-
"
|
17
|
-
"
|
18
|
-
"
|
19
|
-
"
|
20
|
-
"
|
21
|
-
"
|
22
|
-
"
|
23
|
-
"
|
24
|
-
|
25
|
-
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"
|
29
|
-
"
|
30
|
-
"
|
31
|
-
|
32
|
-
|
33
|
-
"
|
34
|
-
|
35
|
-
|
36
|
-
"@nestjs/
|
37
|
-
"@
|
38
|
-
"
|
39
|
-
"
|
40
|
-
"
|
41
|
-
|
42
|
-
|
43
|
-
"@
|
44
|
-
"@
|
45
|
-
"@
|
46
|
-
"@
|
47
|
-
"
|
48
|
-
"
|
49
|
-
"
|
50
|
-
"
|
51
|
-
"
|
52
|
-
"
|
53
|
-
"
|
54
|
-
"
|
55
|
-
"
|
56
|
-
"
|
57
|
-
"
|
58
|
-
"
|
59
|
-
"
|
60
|
-
"
|
61
|
-
"
|
62
|
-
|
63
|
-
|
64
|
-
"
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
"
|
70
|
-
"
|
71
|
-
"
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
"
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
"
|
91
|
-
"
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
1
|
+
{
|
2
|
+
"name": "expo-backend-types",
|
3
|
+
"version": "0.0.28",
|
4
|
+
"description": "",
|
5
|
+
"author": "Expo",
|
6
|
+
"private": false,
|
7
|
+
"license": "UNLICENSED",
|
8
|
+
"files": [
|
9
|
+
"types"
|
10
|
+
],
|
11
|
+
"scripts": {
|
12
|
+
"ci": "npm run generate-ts-schema && npm run build && npm run check-format && npm run lint && npm run check-exports",
|
13
|
+
"build": "nest build",
|
14
|
+
"format": "prettier --write \"src/**/*.ts\"",
|
15
|
+
"check-format": "prettier --check \"src/**/*.ts\"",
|
16
|
+
"check-exports": "attw --pack .",
|
17
|
+
"local-release": "changeset version && changeset publish",
|
18
|
+
"start": "nest start",
|
19
|
+
"dev": "nest start --watch",
|
20
|
+
"start:debug": "nest start --debug --watch",
|
21
|
+
"start:prod": "node dist/main",
|
22
|
+
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
23
|
+
"test": "jest",
|
24
|
+
"test:watch": "jest --watch",
|
25
|
+
"test:cov": "jest --coverage",
|
26
|
+
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
27
|
+
"test:e2e": "jest --config ./test/jest-e2e.json",
|
28
|
+
"generate-ts-schema": "ts-node src/main.swagger.ts && openapi-typescript ./swagger.yaml -o ./types/schema.d.ts",
|
29
|
+
"prepare": "husky",
|
30
|
+
"prepublishOnly": "npm run ci"
|
31
|
+
},
|
32
|
+
"dependencies": {
|
33
|
+
"@nestjs/common": "^10.0.0",
|
34
|
+
"@nestjs/core": "^10.0.0",
|
35
|
+
"@nestjs/platform-express": "^10.0.0",
|
36
|
+
"@nestjs/swagger": "^7.3.1",
|
37
|
+
"@prisma/client": "^5.14.0",
|
38
|
+
"json-to-pretty-yaml": "^1.2.2",
|
39
|
+
"reflect-metadata": "^0.2.0",
|
40
|
+
"rxjs": "^7.8.1"
|
41
|
+
},
|
42
|
+
"devDependencies": {
|
43
|
+
"@arethetypeswrong/cli": "^0.15.4",
|
44
|
+
"@changesets/cli": "^2.27.7",
|
45
|
+
"@nestjs/cli": "^10.0.0",
|
46
|
+
"@nestjs/schematics": "^10.0.0",
|
47
|
+
"@nestjs/testing": "^10.0.0",
|
48
|
+
"@openapitools/openapi-generator-cli": "^2.13.4",
|
49
|
+
"@types/express": "^4.17.17",
|
50
|
+
"@types/jest": "^29.5.2",
|
51
|
+
"@types/json-to-pretty-yaml": "^1.2.1",
|
52
|
+
"@types/node": "^20.3.1",
|
53
|
+
"@types/supertest": "^6.0.0",
|
54
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
55
|
+
"@typescript-eslint/parser": "^6.0.0",
|
56
|
+
"eslint": "^8.42.0",
|
57
|
+
"eslint-config-prettier": "^9.0.0",
|
58
|
+
"eslint-plugin-prettier": "^5.0.0",
|
59
|
+
"eslint-plugin-unused-imports": "^3.2.0",
|
60
|
+
"husky": "^9.0.11",
|
61
|
+
"jest": "^29.5.0",
|
62
|
+
"lint-staged": "^15.2.5",
|
63
|
+
"openapi-typescript": "^7.0.0-rc.0",
|
64
|
+
"prettier": "^3.0.0",
|
65
|
+
"prisma": "^5.14.0",
|
66
|
+
"source-map-support": "^0.5.21",
|
67
|
+
"supertest": "^6.3.3",
|
68
|
+
"ts-jest": "^29.1.0",
|
69
|
+
"ts-loader": "^9.4.3",
|
70
|
+
"ts-node": "^10.9.1",
|
71
|
+
"tsconfig-paths": "^4.2.0",
|
72
|
+
"typescript": "^5.4.5"
|
73
|
+
},
|
74
|
+
"main": "types/index.d.ts",
|
75
|
+
"exports": {
|
76
|
+
".": {
|
77
|
+
"import": "./types/index.d.ts",
|
78
|
+
"require": "./types/index.d.ts",
|
79
|
+
"default": "./types/index.d.ts",
|
80
|
+
"types": "./types/index.d.ts"
|
81
|
+
}
|
82
|
+
},
|
83
|
+
"lint-staged": {
|
84
|
+
"**/*.{js,ts,jsx,tsx}": [
|
85
|
+
"prettier --write",
|
86
|
+
"eslint --fix",
|
87
|
+
"git add"
|
88
|
+
],
|
89
|
+
"*.json": [
|
90
|
+
"prettier --write",
|
91
|
+
"git add"
|
92
|
+
],
|
93
|
+
"packages/prisma/schema.prisma": [
|
94
|
+
"prisma format",
|
95
|
+
"git add"
|
96
|
+
]
|
97
|
+
}
|
98
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './index'
|
@@ -0,0 +1 @@
|
|
1
|
+
module.exports = { ...require('.') }
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './default'
|
@@ -0,0 +1,297 @@
|
|
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
|
+
|