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.
@@ -0,0 +1,271 @@
1
+ export const __esModule: boolean;
2
+ export namespace Prisma {
3
+ namespace TransactionIsolationLevel {
4
+ let ReadUncommitted: string;
5
+ let ReadCommitted: string;
6
+ let RepeatableRead: string;
7
+ let Serializable: string;
8
+ }
9
+ namespace CuentaScalarFieldEnum {
10
+ let id: string;
11
+ let nombreUsuario: string;
12
+ let contrasena: string;
13
+ let esAdmin: string;
14
+ let created_at: string;
15
+ let updated_at: string;
16
+ }
17
+ namespace PerfilScalarFieldEnum {
18
+ let id_1: string;
19
+ export { id_1 as id };
20
+ export let telefono: string;
21
+ export let nombreCompleto: string;
22
+ export let nombrePila: string;
23
+ export let genero: string;
24
+ export let fechaNacimiento: string;
25
+ export let fotoUrl: string;
26
+ let created_at_1: string;
27
+ export { created_at_1 as created_at };
28
+ let updated_at_1: string;
29
+ export { updated_at_1 as updated_at };
30
+ export let idLegible: string;
31
+ }
32
+ namespace ComentarioScalarFieldEnum {
33
+ let id_2: string;
34
+ export { id_2 as id };
35
+ export let contenido: string;
36
+ export let perfilId: string;
37
+ export let creadoPor: string;
38
+ let created_at_2: string;
39
+ export { created_at_2 as created_at };
40
+ let updated_at_2: string;
41
+ export { updated_at_2 as updated_at };
42
+ }
43
+ namespace EtiquetaScalarFieldEnum {
44
+ let id_3: string;
45
+ export { id_3 as id };
46
+ export let nombre: string;
47
+ export let grupoId: string;
48
+ export let tipo: string;
49
+ let created_at_3: string;
50
+ export { created_at_3 as created_at };
51
+ let updated_at_3: string;
52
+ export { updated_at_3 as updated_at };
53
+ }
54
+ namespace EtiquetaGrupoScalarFieldEnum {
55
+ let id_4: string;
56
+ export { id_4 as id };
57
+ let nombre_1: string;
58
+ export { nombre_1 as nombre };
59
+ export let color: string;
60
+ export let esExclusivo: string;
61
+ let created_at_4: string;
62
+ export { created_at_4 as created_at };
63
+ let updated_at_4: string;
64
+ export { updated_at_4 as updated_at };
65
+ }
66
+ namespace EventoScalarFieldEnum {
67
+ let id_5: string;
68
+ export { id_5 as id };
69
+ let nombre_2: string;
70
+ export { nombre_2 as nombre };
71
+ export let fecha: string;
72
+ export let ubicacion: string;
73
+ export let eventoPadreId: string;
74
+ let created_at_5: string;
75
+ export { created_at_5 as created_at };
76
+ let updated_at_5: string;
77
+ export { updated_at_5 as updated_at };
78
+ export let etiquetaAsistioId: string;
79
+ export let etiquetaConfirmoId: string;
80
+ }
81
+ namespace MensajeScalarFieldEnum {
82
+ let id_6: string;
83
+ export { id_6 as id };
84
+ export let wamId: string;
85
+ export let message: string;
86
+ export let status: string;
87
+ export let perfilTelefono: string;
88
+ let created_at_6: string;
89
+ export { created_at_6 as created_at };
90
+ let updated_at_6: string;
91
+ export { updated_at_6 as updated_at };
92
+ export let statusAt: string;
93
+ }
94
+ namespace EnumsScalarFieldEnum {
95
+ let id_7: string;
96
+ export { id_7 as id };
97
+ export let EstadoPlantilla: string;
98
+ export let CategoriaPlantilla: string;
99
+ }
100
+ namespace SortOrder {
101
+ let asc: string;
102
+ let desc: string;
103
+ }
104
+ namespace JsonNullValueInput {
105
+ import JsonNull = Prisma.JsonNull;
106
+ export { JsonNull };
107
+ }
108
+ namespace QueryMode {
109
+ let _default: string;
110
+ export { _default as default };
111
+ export let insensitive: string;
112
+ }
113
+ namespace NullsOrder {
114
+ let first: string;
115
+ let last: string;
116
+ }
117
+ namespace JsonNullValueFilter {
118
+ import DbNull = Prisma.DbNull;
119
+ export { DbNull };
120
+ import JsonNull_1 = Prisma.JsonNull;
121
+ export { JsonNull_1 as JsonNull };
122
+ import AnyNull = Prisma.AnyNull;
123
+ export { AnyNull };
124
+ }
125
+ namespace ModelName {
126
+ let Cuenta: string;
127
+ let Perfil: string;
128
+ let Comentario: string;
129
+ let Etiqueta: string;
130
+ let EtiquetaGrupo: string;
131
+ let Evento: string;
132
+ let Mensaje: string;
133
+ let Enums: string;
134
+ }
135
+ }
136
+ export namespace $Enums {
137
+ export namespace TipoEtiqueta {
138
+ let PERSONAL: string;
139
+ let EVENTO: string;
140
+ let MODELO: string;
141
+ let TENTATIVA: string;
142
+ }
143
+ export namespace MensajeStatus {
144
+ let ENVIADO: string;
145
+ let RECIBIDO: string;
146
+ let LEIDO: string;
147
+ }
148
+ export namespace EstadoPlantilla_1 {
149
+ let APRROVED: string;
150
+ let PENDING: string;
151
+ let REJECTED: string;
152
+ }
153
+ export { EstadoPlantilla_1 as EstadoPlantilla };
154
+ export namespace CategoriaPlantilla_1 {
155
+ let MARKETING: string;
156
+ let UTILITY: string;
157
+ let AUTHENTICATION: string;
158
+ }
159
+ export { CategoriaPlantilla_1 as CategoriaPlantilla };
160
+ }
161
+ export namespace TipoEtiqueta {
162
+ let PERSONAL_1: string;
163
+ export { PERSONAL_1 as PERSONAL };
164
+ let EVENTO_1: string;
165
+ export { EVENTO_1 as EVENTO };
166
+ let MODELO_1: string;
167
+ export { MODELO_1 as MODELO };
168
+ let TENTATIVA_1: string;
169
+ export { TENTATIVA_1 as TENTATIVA };
170
+ }
171
+ export namespace MensajeStatus {
172
+ let ENVIADO_1: string;
173
+ export { ENVIADO_1 as ENVIADO };
174
+ let RECIBIDO_1: string;
175
+ export { RECIBIDO_1 as RECIBIDO };
176
+ let LEIDO_1: string;
177
+ export { LEIDO_1 as LEIDO };
178
+ }
179
+ export namespace EstadoPlantilla {
180
+ let APRROVED_1: string;
181
+ export { APRROVED_1 as APRROVED };
182
+ let PENDING_1: string;
183
+ export { PENDING_1 as PENDING };
184
+ let REJECTED_1: string;
185
+ export { REJECTED_1 as REJECTED };
186
+ }
187
+ export namespace CategoriaPlantilla {
188
+ let MARKETING_1: string;
189
+ export { MARKETING_1 as MARKETING };
190
+ let UTILITY_1: string;
191
+ export { UTILITY_1 as UTILITY };
192
+ let AUTHENTICATION_1: string;
193
+ export { AUTHENTICATION_1 as AUTHENTICATION };
194
+ }
195
+ export namespace Prisma {
196
+ export namespace prismaVersion {
197
+ let client: string;
198
+ let engine: string;
199
+ }
200
+ export function PrismaClientKnownRequestError(): never;
201
+ export function PrismaClientUnknownRequestError(): never;
202
+ export function PrismaClientRustPanicError(): never;
203
+ export function PrismaClientInitializationError(): never;
204
+ export function PrismaClientValidationError(): never;
205
+ export function NotFoundError(): never;
206
+ export { Decimal };
207
+ /**
208
+ * Re-export of sql-template-tag
209
+ */
210
+ export function sql(): never;
211
+ export function empty(): never;
212
+ export function join(): never;
213
+ export function raw(): never;
214
+ export let validator: typeof Public.validator;
215
+ /**
216
+ * Extensions
217
+ */
218
+ export function getExtensionContext(): never;
219
+ export function defineExtension(): never;
220
+ let DbNull_1: {
221
+ _getNamespace(): string;
222
+ _getName(): string;
223
+ toString(): string;
224
+ };
225
+ export { DbNull_1 as DbNull };
226
+ let JsonNull_2: {
227
+ _getNamespace(): string;
228
+ _getName(): string;
229
+ toString(): string;
230
+ };
231
+ export { JsonNull_2 as JsonNull };
232
+ let AnyNull_1: {
233
+ _getNamespace(): string;
234
+ _getName(): string;
235
+ toString(): string;
236
+ };
237
+ export { AnyNull_1 as AnyNull };
238
+ export namespace NullTypes {
239
+ let DbNull_2: {
240
+ new (arg?: symbol | undefined): {
241
+ _getNamespace(): string;
242
+ _getName(): string;
243
+ toString(): string;
244
+ };
245
+ };
246
+ export { DbNull_2 as DbNull };
247
+ let JsonNull_3: {
248
+ new (arg?: symbol | undefined): {
249
+ _getNamespace(): string;
250
+ _getName(): string;
251
+ toString(): string;
252
+ };
253
+ };
254
+ export { JsonNull_3 as JsonNull };
255
+ let AnyNull_2: {
256
+ new (arg?: symbol | undefined): {
257
+ _getNamespace(): string;
258
+ _getName(): string;
259
+ toString(): string;
260
+ };
261
+ };
262
+ export { AnyNull_2 as AnyNull };
263
+ }
264
+ }
265
+ /**
266
+ * This is a stub Prisma Client that will error at runtime if called.
267
+ */
268
+ export class PrismaClient {
269
+ }
270
+ import { Decimal } from "./runtime/index-browser.js";
271
+ import { Public } from "./runtime/index-browser.js";
@@ -0,0 +1,289 @@
1
+
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+
4
+ const {
5
+ Decimal,
6
+ objectEnumValues,
7
+ makeStrictEnum,
8
+ Public,
9
+ getRuntime,
10
+ } = require('./runtime/index-browser.js')
11
+
12
+
13
+ const Prisma = {}
14
+
15
+ exports.Prisma = Prisma
16
+ exports.$Enums = {}
17
+
18
+ /**
19
+ * Prisma Client JS version: 5.14.0
20
+ * Query Engine version: e9771e62de70f79a5e1c604a2d7c8e2a0a874b48
21
+ */
22
+ Prisma.prismaVersion = {
23
+ client: "5.14.0",
24
+ engine: "e9771e62de70f79a5e1c604a2d7c8e2a0a874b48"
25
+ }
26
+
27
+ Prisma.PrismaClientKnownRequestError = () => {
28
+ const runtimeName = getRuntime().prettyName;
29
+ throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
30
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
31
+ )};
32
+ Prisma.PrismaClientUnknownRequestError = () => {
33
+ const runtimeName = getRuntime().prettyName;
34
+ throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
35
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
36
+ )}
37
+ Prisma.PrismaClientRustPanicError = () => {
38
+ const runtimeName = getRuntime().prettyName;
39
+ throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
40
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
41
+ )}
42
+ Prisma.PrismaClientInitializationError = () => {
43
+ const runtimeName = getRuntime().prettyName;
44
+ throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
45
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
46
+ )}
47
+ Prisma.PrismaClientValidationError = () => {
48
+ const runtimeName = getRuntime().prettyName;
49
+ throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
50
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
51
+ )}
52
+ Prisma.NotFoundError = () => {
53
+ const runtimeName = getRuntime().prettyName;
54
+ throw new Error(`NotFoundError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
55
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
56
+ )}
57
+ Prisma.Decimal = Decimal
58
+
59
+ /**
60
+ * Re-export of sql-template-tag
61
+ */
62
+ Prisma.sql = () => {
63
+ const runtimeName = getRuntime().prettyName;
64
+ throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
65
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
66
+ )}
67
+ Prisma.empty = () => {
68
+ const runtimeName = getRuntime().prettyName;
69
+ throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
70
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
71
+ )}
72
+ Prisma.join = () => {
73
+ const runtimeName = getRuntime().prettyName;
74
+ throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
75
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
76
+ )}
77
+ Prisma.raw = () => {
78
+ const runtimeName = getRuntime().prettyName;
79
+ throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
80
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
81
+ )}
82
+ Prisma.validator = Public.validator
83
+
84
+ /**
85
+ * Extensions
86
+ */
87
+ Prisma.getExtensionContext = () => {
88
+ const runtimeName = getRuntime().prettyName;
89
+ throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
90
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
91
+ )}
92
+ Prisma.defineExtension = () => {
93
+ const runtimeName = getRuntime().prettyName;
94
+ throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
95
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
96
+ )}
97
+
98
+ /**
99
+ * Shorthand utilities for JSON filtering
100
+ */
101
+ Prisma.DbNull = objectEnumValues.instances.DbNull
102
+ Prisma.JsonNull = objectEnumValues.instances.JsonNull
103
+ Prisma.AnyNull = objectEnumValues.instances.AnyNull
104
+
105
+ Prisma.NullTypes = {
106
+ DbNull: objectEnumValues.classes.DbNull,
107
+ JsonNull: objectEnumValues.classes.JsonNull,
108
+ AnyNull: objectEnumValues.classes.AnyNull
109
+ }
110
+
111
+ /**
112
+ * Enums
113
+ */
114
+
115
+ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
116
+ ReadUncommitted: 'ReadUncommitted',
117
+ ReadCommitted: 'ReadCommitted',
118
+ RepeatableRead: 'RepeatableRead',
119
+ Serializable: 'Serializable'
120
+ });
121
+
122
+ exports.Prisma.CuentaScalarFieldEnum = {
123
+ id: 'id',
124
+ nombreUsuario: 'nombreUsuario',
125
+ contrasena: 'contrasena',
126
+ esAdmin: 'esAdmin',
127
+ created_at: 'created_at',
128
+ updated_at: 'updated_at'
129
+ };
130
+
131
+ exports.Prisma.PerfilScalarFieldEnum = {
132
+ id: 'id',
133
+ telefono: 'telefono',
134
+ nombreCompleto: 'nombreCompleto',
135
+ nombrePila: 'nombrePila',
136
+ genero: 'genero',
137
+ fechaNacimiento: 'fechaNacimiento',
138
+ fotoUrl: 'fotoUrl',
139
+ created_at: 'created_at',
140
+ updated_at: 'updated_at',
141
+ idLegible: 'idLegible'
142
+ };
143
+
144
+ exports.Prisma.ComentarioScalarFieldEnum = {
145
+ id: 'id',
146
+ contenido: 'contenido',
147
+ perfilId: 'perfilId',
148
+ creadoPor: 'creadoPor',
149
+ created_at: 'created_at',
150
+ updated_at: 'updated_at'
151
+ };
152
+
153
+ exports.Prisma.EtiquetaScalarFieldEnum = {
154
+ id: 'id',
155
+ nombre: 'nombre',
156
+ grupoId: 'grupoId',
157
+ tipo: 'tipo',
158
+ created_at: 'created_at',
159
+ updated_at: 'updated_at'
160
+ };
161
+
162
+ exports.Prisma.EtiquetaGrupoScalarFieldEnum = {
163
+ id: 'id',
164
+ nombre: 'nombre',
165
+ color: 'color',
166
+ esExclusivo: 'esExclusivo',
167
+ created_at: 'created_at',
168
+ updated_at: 'updated_at'
169
+ };
170
+
171
+ exports.Prisma.EventoScalarFieldEnum = {
172
+ id: 'id',
173
+ nombre: 'nombre',
174
+ fecha: 'fecha',
175
+ ubicacion: 'ubicacion',
176
+ eventoPadreId: 'eventoPadreId',
177
+ created_at: 'created_at',
178
+ updated_at: 'updated_at',
179
+ etiquetaAsistioId: 'etiquetaAsistioId',
180
+ etiquetaConfirmoId: 'etiquetaConfirmoId'
181
+ };
182
+
183
+ exports.Prisma.MensajeScalarFieldEnum = {
184
+ id: 'id',
185
+ wamId: 'wamId',
186
+ message: 'message',
187
+ status: 'status',
188
+ perfilTelefono: 'perfilTelefono',
189
+ created_at: 'created_at',
190
+ updated_at: 'updated_at',
191
+ statusAt: 'statusAt'
192
+ };
193
+
194
+ exports.Prisma.EnumsScalarFieldEnum = {
195
+ id: 'id',
196
+ EstadoPlantilla: 'EstadoPlantilla',
197
+ CategoriaPlantilla: 'CategoriaPlantilla'
198
+ };
199
+
200
+ exports.Prisma.SortOrder = {
201
+ asc: 'asc',
202
+ desc: 'desc'
203
+ };
204
+
205
+ exports.Prisma.JsonNullValueInput = {
206
+ JsonNull: Prisma.JsonNull
207
+ };
208
+
209
+ exports.Prisma.QueryMode = {
210
+ default: 'default',
211
+ insensitive: 'insensitive'
212
+ };
213
+
214
+ exports.Prisma.NullsOrder = {
215
+ first: 'first',
216
+ last: 'last'
217
+ };
218
+
219
+ exports.Prisma.JsonNullValueFilter = {
220
+ DbNull: Prisma.DbNull,
221
+ JsonNull: Prisma.JsonNull,
222
+ AnyNull: Prisma.AnyNull
223
+ };
224
+ exports.TipoEtiqueta = exports.$Enums.TipoEtiqueta = {
225
+ PERSONAL: 'PERSONAL',
226
+ EVENTO: 'EVENTO',
227
+ MODELO: 'MODELO',
228
+ TENTATIVA: 'TENTATIVA'
229
+ };
230
+
231
+ exports.MensajeStatus = exports.$Enums.MensajeStatus = {
232
+ ENVIADO: 'ENVIADO',
233
+ RECIBIDO: 'RECIBIDO',
234
+ LEIDO: 'LEIDO'
235
+ };
236
+
237
+ exports.EstadoPlantilla = exports.$Enums.EstadoPlantilla = {
238
+ APRROVED: 'APRROVED',
239
+ PENDING: 'PENDING',
240
+ REJECTED: 'REJECTED'
241
+ };
242
+
243
+ exports.CategoriaPlantilla = exports.$Enums.CategoriaPlantilla = {
244
+ MARKETING: 'MARKETING',
245
+ UTILITY: 'UTILITY',
246
+ AUTHENTICATION: 'AUTHENTICATION'
247
+ };
248
+
249
+ exports.Prisma.ModelName = {
250
+ Cuenta: 'Cuenta',
251
+ Perfil: 'Perfil',
252
+ Comentario: 'Comentario',
253
+ Etiqueta: 'Etiqueta',
254
+ EtiquetaGrupo: 'EtiquetaGrupo',
255
+ Evento: 'Evento',
256
+ Mensaje: 'Mensaje',
257
+ Enums: 'Enums'
258
+ };
259
+
260
+ /**
261
+ * This is a stub Prisma Client that will error at runtime if called.
262
+ */
263
+ class PrismaClient {
264
+ constructor() {
265
+ return new Proxy(this, {
266
+ get(target, prop) {
267
+ let message
268
+ const runtime = getRuntime()
269
+ if (runtime.isEdge) {
270
+ message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
271
+ - Use Prisma Accelerate: https://pris.ly/d/accelerate
272
+ - Use Driver Adapters: https://pris.ly/d/driver-adapters
273
+ `;
274
+ } else {
275
+ message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
276
+ }
277
+
278
+ message += `
279
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
280
+
281
+ throw new Error(message)
282
+ }
283
+ })
284
+ }
285
+ }
286
+
287
+ exports.PrismaClient = PrismaClient
288
+
289
+ Object.assign(exports, Prisma)
@@ -1,5 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-type-constraint */
2
-
3
1
  /**
4
2
  * Client
5
3
  **/