expo-backend-types 0.3.0-EXPO-245.8 → 0.3.0-EXPO-245.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/dist/src/{cuenta/dto/cuenta.dto.d.ts → account/dto/account.dto.d.ts} +57 -51
  2. package/dist/src/account/dto/account.dto.js +52 -0
  3. package/dist/src/{cuenta/dto/createCuenta.dto.d.ts → account/dto/createAccount.dto.d.ts} +92 -80
  4. package/dist/src/account/dto/createAccount.dto.js +23 -0
  5. package/dist/src/{cuenta/dto/getFiltroBase.dto.d.ts → account/dto/getGlobalFilter.dto.d.ts} +35 -35
  6. package/dist/src/account/dto/getGlobalFilter.dto.js +30 -0
  7. package/dist/src/{cuenta → account}/dto/getMe.dto.d.ts +56 -50
  8. package/dist/src/{cuenta → account}/dto/getMe.dto.js +2 -2
  9. package/dist/src/{cuenta/dto/updateFiltroBase.dto.d.ts → account/dto/updateGlobalFilter.dto.d.ts} +58 -58
  10. package/dist/src/account/dto/updateGlobalFilter.dto.js +29 -0
  11. package/dist/src/account/exports.d.ts +5 -0
  12. package/dist/src/{cuenta → account}/exports.js +4 -4
  13. package/dist/src/auth/dto/login.dto.d.ts +112 -100
  14. package/dist/src/auth/dto/login.dto.js +3 -3
  15. package/dist/src/comment/dto/comment.dto.d.ts +66 -0
  16. package/dist/src/comment/dto/comment.dto.js +26 -0
  17. package/dist/src/comment/exports.d.ts +1 -0
  18. package/dist/src/{etiqueta → comment}/exports.js +1 -1
  19. package/dist/src/event/dto/event.dto.d.ts +41 -0
  20. package/dist/src/event/dto/event.dto.js +33 -0
  21. package/dist/src/event/exports.d.ts +1 -0
  22. package/dist/src/{evento → event}/exports.js +1 -1
  23. package/dist/src/event-folder/dto/event-folder.dto.d.ts +14 -0
  24. package/dist/src/event-folder/dto/event-folder.dto.js +22 -0
  25. package/dist/src/exports.d.ts +5 -5
  26. package/dist/src/exports.js +5 -5
  27. package/dist/src/{etiqueta/dto/etiqueta.dto.d.ts → tag/dto/tag.dto.d.ts} +15 -15
  28. package/dist/src/tag/dto/tag.dto.js +30 -0
  29. package/dist/src/tag/exports.d.ts +1 -0
  30. package/dist/src/{grupo-etiqueta → tag}/exports.js +1 -1
  31. package/dist/src/{grupo-etiqueta/dto/grupo-etiqueta.dto.d.ts → tag-group/dto/tag-group.dto.d.ts} +3 -3
  32. package/dist/src/{grupo-etiqueta/dto/grupo-etiqueta.dto.js → tag-group/dto/tag-group.dto.js} +8 -8
  33. package/dist/src/tag-group/exports.d.ts +1 -0
  34. package/dist/src/{comentario → tag-group}/exports.js +1 -1
  35. package/dist/types/prisma-schema/edge.js +86 -70
  36. package/dist/types/prisma-schema/index-browser.js +83 -67
  37. package/dist/types/prisma-schema/index.d.ts +8283 -6804
  38. package/dist/types/prisma-schema/index.js +86 -70
  39. package/dist/types/prisma-schema/package.json +1 -1
  40. package/dist/types/prisma-schema/schema.prisma +144 -112
  41. package/dist/types/prisma-schema/wasm.js +83 -67
  42. package/dist/types/schema.d.ts +37 -37
  43. package/package.json +1 -1
  44. package/dist/src/comentario/dto/comentario.dto.d.ts +0 -42
  45. package/dist/src/comentario/dto/comentario.dto.js +0 -22
  46. package/dist/src/comentario/exports.d.ts +0 -1
  47. package/dist/src/cuenta/dto/createCuenta.dto.js +0 -23
  48. package/dist/src/cuenta/dto/cuenta.dto.js +0 -49
  49. package/dist/src/cuenta/dto/getFiltroBase.dto.js +0 -29
  50. package/dist/src/cuenta/dto/updateFiltroBase.dto.js +0 -28
  51. package/dist/src/cuenta/exports.d.ts +0 -5
  52. package/dist/src/etiqueta/dto/etiqueta.dto.js +0 -30
  53. package/dist/src/etiqueta/exports.d.ts +0 -1
  54. package/dist/src/evento/dto/evento.dto.d.ts +0 -126
  55. package/dist/src/evento/dto/evento.dto.js +0 -37
  56. package/dist/src/evento/exports.d.ts +0 -1
  57. package/dist/src/grupo-etiqueta/exports.d.ts +0 -1
@@ -14,177 +14,209 @@ datasource db {
14
14
  relationMode = "foreignKeys"
15
15
  }
16
16
 
17
- model Cuenta {
18
- id String @id @default(uuid())
19
- nombreUsuario String @unique @map("nombre_usuario")
20
- contrasena String
21
- esAdmin Boolean @default(false) @map("es_admin")
22
-
23
- comentarios Comentario[]
24
- etiquetas Etiqueta[] @relation("CUENTA_X_ETIQUETA")
25
-
26
- created_at DateTime @default(now())
27
- updated_at DateTime @updatedAt
28
- filtroBase Etiqueta[] @relation("FILTRO_BASE_X_ETIQUETA")
29
- filtroBaseActivo Boolean @default(false) @map("filtro_base_activo")
30
-
31
- fcmToken String[] @map("fcm_token")
32
-
33
- @@map("CUENTA")
34
- }
35
-
36
- model Perfil {
37
- id String @id @default(uuid())
38
- idLegible Int @map("id_legible")
39
-
40
- telefono String @unique
41
- telefonoSecundario String? @unique
42
- nombreCompleto String @map("nombre_completo")
43
- nombrePila String? @map("nombre_pila")
44
- genero String?
45
- fechaNacimiento DateTime? @map("fecha_nacimiento")
46
- fotoUrl String? @map("foto_url")
47
- instagram String?
48
- mail String?
49
- dni String?
50
- nombresAlternativos String[] @map("nombres_alternativos")
51
-
52
- comentarios Comentario[]
53
- mensajes Mensaje[] @relation("PERFIL_X_MENSAJE")
54
- etiquetas Etiqueta[] @relation("PERFIL_X_ETIQUETA")
55
- esPapelera Boolean @default(false)
56
- fechaPapelera DateTime? @map("fecha_papelera")
17
+ model Account {
18
+ id String @id @default(uuid())
19
+ username String @unique
20
+ password String
21
+ role Role @default(USER)
22
+
23
+ comments Comment[] @relation("ACCOUNT_X_COMMENT")
24
+ solvableComments Comment[] @relation("ACCOUNT_X_SOLVED_COMMENT")
25
+ tags Tag[] @relation("ACCOUNT_X_TAG")
26
+
27
+ globalFilter Tag[] @relation("GLOBAL_FILTER_X_ACCOUNT")
28
+ isGlobalFilterActive Boolean @default(false) @map("is_global_filter_active")
29
+ fcmToken String[] @map("fcm_token")
57
30
 
58
31
  created_at DateTime @default(now())
59
32
  updated_at DateTime @updatedAt
60
33
 
61
- @@map("PERFIL")
34
+ @@map("ACCOUNT")
35
+ }
36
+
37
+ enum Role {
38
+ USER
39
+ ADMIN
62
40
  }
63
41
 
64
- model Comentario {
65
- id String @id @default(uuid())
66
- contenido String
42
+ model Profile {
43
+ id String @id @default(uuid())
44
+ shortId Int @map("short_id")
45
+
46
+ phoneNumber String @unique @map("phone_number")
47
+ secondaryPhoneNumber String? @unique @map("secondary_phone_number")
48
+ fullName String @map("full_name")
49
+ fistName String? @map("first_name")
50
+ gender String?
51
+ birthDate DateTime? @map("birth_date")
52
+ profilePictureUrl String? @map("profile_picture_url")
53
+ instagram String?
54
+ mail String?
55
+ dni String?
56
+ alternativeNames String[] @map("alternative_names")
57
+
58
+ comments Comment[] @relation("PROFILE_X_COMMENT")
59
+ messages Message[] @relation("PROFILE_X_MESSAGE")
60
+ tags Tag[] @relation("PROFILE_X_TAG")
61
+
62
+ isInTrash Boolean @default(false) @map("is_in_trash")
63
+ movedToTrashDate DateTime? @map("moved_to_trash_date")
64
+
65
+ created_at DateTime @default(now())
66
+ updated_at DateTime @updatedAt
67
+
68
+ @@map("PROFILE")
69
+ }
70
+
71
+ model Comment {
72
+ id String @id @default(uuid())
73
+ content String
74
+
75
+ createdBy String @map("created_by")
76
+ account Account @relation("ACCOUNT_X_COMMENT", fields: [createdBy], references: [id])
77
+
78
+ profileId String @map("perfil_id")
79
+ profile Profile @relation("PROFILE_X_COMMENT", fields: [profileId], references: [id], onDelete: Cascade)
67
80
 
68
- creadoPor String @map("creado_por")
69
- cuenta Cuenta @relation(fields: [creadoPor], references: [id])
70
- perfilId String @map("perfil_id")
71
- perfil Perfil @relation(fields: [perfilId], references: [id], onDelete: Cascade)
81
+ isSolvable Boolean @default(false) @map("is_solvable")
82
+ isSolved Boolean @default(false) @map("is_solved")
83
+ solvedAt DateTime? @map("solved_at")
84
+
85
+ solvedById String? @map("solved_by")
86
+ solvedBy Account? @relation("ACCOUNT_X_SOLVED_COMMENT", fields: [solvedById], references: [id])
72
87
 
73
88
  created_at DateTime @default(now())
74
89
  updated_at DateTime @updatedAt
75
90
 
76
- @@map("COMENTARIO")
91
+ @@map("COMMENT")
77
92
  }
78
93
 
79
- model Etiqueta {
80
- id String @id @default(uuid())
81
- nombre String
82
- grupoId String @map("grupo_id")
83
- tipo TipoEtiqueta @default(PERSONAL)
84
- grupo EtiquetaGrupo @relation(fields: [grupoId], references: [id], onDelete: Cascade)
94
+ model Tag {
95
+ id String @id @default(uuid())
96
+ name String
97
+ type TagType @default(PROFILE)
98
+
99
+ groupId String @map("group_id")
100
+ group TagGroup @relation(fields: [groupId], references: [id], onDelete: Cascade)
85
101
 
86
- eventosAsistidos Evento[] @relation("EVENTOASISTIDO_X_ETIQUETA")
87
- eventosConfirmados Evento[] @relation("EVENTOCONFIRMADO_X_ETIQUETA")
88
- cuentas Cuenta[] @relation("CUENTA_X_ETIQUETA")
89
- perfiles Perfil[] @relation("PERFIL_X_ETIQUETA")
90
- cuentasFiltroBase Cuenta[] @relation("FILTRO_BASE_X_ETIQUETA")
102
+ assistedEvent Event? @relation("EVENT_X_TAG_ASISTED")
103
+ confirmedEvent Event? @relation("EVENT_X_TAG_CONFIRMED")
104
+
105
+ accounts Account[] @relation("ACCOUNT_X_TAG")
106
+ profiles Profile[] @relation("PROFILE_X_TAG")
107
+ accountsGlobalFilter Account[] @relation("GLOBAL_FILTER_X_ACCOUNT")
91
108
 
92
109
  created_at DateTime @default(now())
93
110
  updated_at DateTime @updatedAt
94
111
 
95
- @@map("ETIQUETA")
112
+ @@map("TAG")
96
113
  }
97
114
 
98
- model EtiquetaGrupo {
99
- id String @id @default(uuid())
100
- nombre String
115
+ model TagGroup {
116
+ id String @id @default(uuid())
117
+ name String
101
118
  color String
102
- esExclusivo Boolean @map("es_exclusivo")
103
- etiquetas Etiqueta[]
119
+ isExclusive Boolean @map("is_exclusive")
120
+ tags Tag[]
104
121
 
105
122
  created_at DateTime @default(now())
106
123
  updated_at DateTime @updatedAt
107
124
 
108
- @@map("GRUPO_ETIQUETA")
125
+ @@map("TAG_GROUP")
109
126
  }
110
127
 
111
- model EventosCarpeta {
112
- id String @id @default(uuid())
113
- nombre String
114
- color String
115
- eventos Evento[] @relation("CarpetaEventos_Eventos")
128
+ model Event {
129
+ id String @id @default(uuid())
130
+ name String
131
+ date DateTime
132
+ location String
133
+
134
+ folderId String? @map("folder_id")
135
+ folder EventFolder? @relation("EVENT_FOLDER_X_EVENT", fields: [folderId], references: [id], onDelete: Cascade)
136
+
137
+ tagAssistedId String @unique @map("tag_assisted")
138
+ tagAssisted Tag @relation("EVENT_X_TAG_ASISTED", fields: [tagAssistedId], references: [id])
139
+
140
+ tagConfirmedId String @unique @map("tag_confirmed")
141
+ tagConfirmed Tag @relation("EVENT_X_TAG_CONFIRMED", fields: [tagConfirmedId], references: [id])
142
+
143
+ supraEventId String? @map("supra_event_id")
144
+ supraEvent Event? @relation("SubEvents", fields: [supraEventId], references: [id], onDelete: Cascade)
145
+
146
+ subEvents Event[] @relation("SubEvents")
116
147
 
117
148
  created_at DateTime @default(now())
118
149
  updated_at DateTime @updatedAt
119
150
 
120
- @@map("EVENTOS_CARPETA")
151
+ @@map("EVENT")
121
152
  }
122
153
 
123
- model Evento {
124
- id String @id @default(uuid())
125
- nombre String
126
- fecha DateTime
127
- ubicacion String
128
- carpetaId String? @map("carpeta_id")
129
- carpeta EventosCarpeta? @relation("CarpetaEventos_Eventos", fields: [carpetaId], references: [id], onDelete: Cascade)
154
+ model EventFolder {
155
+ id String @id @default(uuid())
156
+ name String
157
+ color String
158
+ events Event[] @relation("EVENT_FOLDER_X_EVENT")
159
+
160
+ created_at DateTime @default(now())
161
+ updated_at DateTime @updatedAt
162
+
163
+ @@map("EVENT_FOLDER")
164
+ }
165
+
166
+ model Message {
167
+ id String @id @default(uuid())
168
+ wamId String @unique @map("wam_id")
169
+ message Json
170
+
171
+ profilePhoneNumber String @map("profile_phone_number")
172
+ profile Profile @relation("PROFILE_X_MESSAGE", fields: [profilePhoneNumber], references: [phoneNumber], onDelete: Cascade)
130
173
 
131
- etiquetaAsistioId String @map("etiqueta_asistio")
132
- etiquetaAsistio Etiqueta @relation("EVENTOASISTIDO_X_ETIQUETA", fields: [etiquetaAsistioId], references: [id], onDelete: Cascade)
133
- etiquetaConfirmoId String @map("etiqueta_confirmo")
134
- etiquetaConfirmo Etiqueta @relation("EVENTOCONFIRMADO_X_ETIQUETA", fields: [etiquetaConfirmoId], references: [id], onDelete: Cascade)
135
- eventoPadreId String? @map("evento_padre")
136
- eventoPadre Evento? @relation("SubEventos", fields: [eventoPadreId], references: [id], onDelete: Cascade)
137
- subEventos Evento[] @relation("SubEventos")
174
+ state MessageState @default(SENT)
138
175
 
139
176
  created_at DateTime @default(now())
140
177
  updated_at DateTime @updatedAt
141
178
 
142
- @@map("EVENTO")
179
+ @@map("MESSAGE")
143
180
  }
144
181
 
145
- model Mensaje {
146
- id String @id @default(uuid())
147
- wamId String @unique @map("wam_id")
148
- message Json
149
- perfilTelefono String @map("perfil_telefono")
150
- perfil Perfil @relation("PERFIL_X_MENSAJE", fields: [perfilTelefono], references: [telefono], onDelete: Cascade)
151
- status MensajeStatus @default(ENVIADO)
152
- statusAt DateTime? @map("status_at")
153
- visto Boolean @default(false)
182
+ model CannedResponse {
183
+ id String @id @default(uuid())
184
+ name String
185
+ content String
154
186
 
155
187
  created_at DateTime @default(now())
156
188
  updated_at DateTime @updatedAt
157
189
 
158
- @@map("MENSAJE")
190
+ @@map("CANNED_RESPONSE")
159
191
  }
160
192
 
161
193
  model Enums {
162
- id String @id
163
- EstadoPlantilla EstadoPlantilla
164
- CategoriaPlantilla CategoriaPlantilla
194
+ id String @id
195
+ templateStatus TemplateStatus
196
+ templateCategory TemplateCategory
165
197
  }
166
198
 
167
- enum EstadoPlantilla {
199
+ enum TemplateStatus {
168
200
  APRROVED
169
201
  PENDING
170
202
  REJECTED
171
203
  }
172
204
 
173
- enum CategoriaPlantilla {
205
+ enum TemplateCategory {
174
206
  MARKETING
175
207
  UTILITY
176
208
  AUTHENTICATION
177
209
  }
178
210
 
179
- enum TipoEtiqueta {
180
- PERSONAL
181
- EVENTO
182
- MODELO
183
- TENTATIVA
211
+ enum TagType {
212
+ PROFILE
213
+ EVENT
214
+ PARTICIPANT
215
+ NOT_IN_SYSTEM
184
216
  }
185
217
 
186
- enum MensajeStatus {
187
- ENVIADO
188
- RECIBIDO
189
- LEIDO
218
+ enum MessageState {
219
+ SENT
220
+ RECEIVED
221
+ SEEN
190
222
  }
@@ -119,101 +119,111 @@ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
119
119
  Serializable: 'Serializable'
120
120
  });
121
121
 
122
- exports.Prisma.CuentaScalarFieldEnum = {
122
+ exports.Prisma.AccountScalarFieldEnum = {
123
123
  id: 'id',
124
- nombreUsuario: 'nombreUsuario',
125
- contrasena: 'contrasena',
126
- esAdmin: 'esAdmin',
124
+ username: 'username',
125
+ password: 'password',
126
+ role: 'role',
127
+ isGlobalFilterActive: 'isGlobalFilterActive',
128
+ fcmToken: 'fcmToken',
127
129
  created_at: 'created_at',
128
- updated_at: 'updated_at',
129
- filtroBaseActivo: 'filtroBaseActivo',
130
- fcmToken: 'fcmToken'
130
+ updated_at: 'updated_at'
131
131
  };
132
132
 
133
- exports.Prisma.PerfilScalarFieldEnum = {
133
+ exports.Prisma.ProfileScalarFieldEnum = {
134
134
  id: 'id',
135
- idLegible: 'idLegible',
136
- telefono: 'telefono',
137
- telefonoSecundario: 'telefonoSecundario',
138
- nombreCompleto: 'nombreCompleto',
139
- nombrePila: 'nombrePila',
140
- genero: 'genero',
141
- fechaNacimiento: 'fechaNacimiento',
142
- fotoUrl: 'fotoUrl',
135
+ shortId: 'shortId',
136
+ phoneNumber: 'phoneNumber',
137
+ secondaryPhoneNumber: 'secondaryPhoneNumber',
138
+ fullName: 'fullName',
139
+ fistName: 'fistName',
140
+ gender: 'gender',
141
+ birthDate: 'birthDate',
142
+ profilePictureUrl: 'profilePictureUrl',
143
143
  instagram: 'instagram',
144
144
  mail: 'mail',
145
145
  dni: 'dni',
146
- nombresAlternativos: 'nombresAlternativos',
147
- esPapelera: 'esPapelera',
148
- fechaPapelera: 'fechaPapelera',
146
+ alternativeNames: 'alternativeNames',
147
+ isInTrash: 'isInTrash',
148
+ movedToTrashDate: 'movedToTrashDate',
149
149
  created_at: 'created_at',
150
150
  updated_at: 'updated_at'
151
151
  };
152
152
 
153
- exports.Prisma.ComentarioScalarFieldEnum = {
153
+ exports.Prisma.CommentScalarFieldEnum = {
154
154
  id: 'id',
155
- contenido: 'contenido',
156
- creadoPor: 'creadoPor',
157
- perfilId: 'perfilId',
155
+ content: 'content',
156
+ createdBy: 'createdBy',
157
+ profileId: 'profileId',
158
+ isSolvable: 'isSolvable',
159
+ isSolved: 'isSolved',
160
+ solvedAt: 'solvedAt',
161
+ solvedById: 'solvedById',
158
162
  created_at: 'created_at',
159
163
  updated_at: 'updated_at'
160
164
  };
161
165
 
162
- exports.Prisma.EtiquetaScalarFieldEnum = {
166
+ exports.Prisma.TagScalarFieldEnum = {
163
167
  id: 'id',
164
- nombre: 'nombre',
165
- grupoId: 'grupoId',
166
- tipo: 'tipo',
168
+ name: 'name',
169
+ type: 'type',
170
+ groupId: 'groupId',
167
171
  created_at: 'created_at',
168
172
  updated_at: 'updated_at'
169
173
  };
170
174
 
171
- exports.Prisma.EtiquetaGrupoScalarFieldEnum = {
175
+ exports.Prisma.TagGroupScalarFieldEnum = {
172
176
  id: 'id',
173
- nombre: 'nombre',
177
+ name: 'name',
174
178
  color: 'color',
175
- esExclusivo: 'esExclusivo',
179
+ isExclusive: 'isExclusive',
176
180
  created_at: 'created_at',
177
181
  updated_at: 'updated_at'
178
182
  };
179
183
 
180
- exports.Prisma.EventosCarpetaScalarFieldEnum = {
184
+ exports.Prisma.EventScalarFieldEnum = {
181
185
  id: 'id',
182
- nombre: 'nombre',
183
- color: 'color',
186
+ name: 'name',
187
+ date: 'date',
188
+ location: 'location',
189
+ folderId: 'folderId',
190
+ tagAssistedId: 'tagAssistedId',
191
+ tagConfirmedId: 'tagConfirmedId',
192
+ supraEventId: 'supraEventId',
184
193
  created_at: 'created_at',
185
194
  updated_at: 'updated_at'
186
195
  };
187
196
 
188
- exports.Prisma.EventoScalarFieldEnum = {
197
+ exports.Prisma.EventFolderScalarFieldEnum = {
189
198
  id: 'id',
190
- nombre: 'nombre',
191
- fecha: 'fecha',
192
- ubicacion: 'ubicacion',
193
- carpetaId: 'carpetaId',
194
- etiquetaAsistioId: 'etiquetaAsistioId',
195
- etiquetaConfirmoId: 'etiquetaConfirmoId',
196
- eventoPadreId: 'eventoPadreId',
199
+ name: 'name',
200
+ color: 'color',
197
201
  created_at: 'created_at',
198
202
  updated_at: 'updated_at'
199
203
  };
200
204
 
201
- exports.Prisma.MensajeScalarFieldEnum = {
205
+ exports.Prisma.MessageScalarFieldEnum = {
202
206
  id: 'id',
203
207
  wamId: 'wamId',
204
208
  message: 'message',
205
- perfilTelefono: 'perfilTelefono',
206
- status: 'status',
207
- statusAt: 'statusAt',
208
- visto: 'visto',
209
+ profilePhoneNumber: 'profilePhoneNumber',
210
+ state: 'state',
211
+ created_at: 'created_at',
212
+ updated_at: 'updated_at'
213
+ };
214
+
215
+ exports.Prisma.CannedResponseScalarFieldEnum = {
216
+ id: 'id',
217
+ name: 'name',
218
+ content: 'content',
209
219
  created_at: 'created_at',
210
220
  updated_at: 'updated_at'
211
221
  };
212
222
 
213
223
  exports.Prisma.EnumsScalarFieldEnum = {
214
224
  id: 'id',
215
- EstadoPlantilla: 'EstadoPlantilla',
216
- CategoriaPlantilla: 'CategoriaPlantilla'
225
+ templateStatus: 'templateStatus',
226
+ templateCategory: 'templateCategory'
217
227
  };
218
228
 
219
229
  exports.Prisma.SortOrder = {
@@ -240,40 +250,46 @@ exports.Prisma.JsonNullValueFilter = {
240
250
  JsonNull: Prisma.JsonNull,
241
251
  AnyNull: Prisma.AnyNull
242
252
  };
243
- exports.TipoEtiqueta = exports.$Enums.TipoEtiqueta = {
244
- PERSONAL: 'PERSONAL',
245
- EVENTO: 'EVENTO',
246
- MODELO: 'MODELO',
247
- TENTATIVA: 'TENTATIVA'
253
+ exports.Role = exports.$Enums.Role = {
254
+ USER: 'USER',
255
+ ADMIN: 'ADMIN'
256
+ };
257
+
258
+ exports.TagType = exports.$Enums.TagType = {
259
+ PROFILE: 'PROFILE',
260
+ EVENT: 'EVENT',
261
+ PARTICIPANT: 'PARTICIPANT',
262
+ NOT_IN_SYSTEM: 'NOT_IN_SYSTEM'
248
263
  };
249
264
 
250
- exports.MensajeStatus = exports.$Enums.MensajeStatus = {
251
- ENVIADO: 'ENVIADO',
252
- RECIBIDO: 'RECIBIDO',
253
- LEIDO: 'LEIDO'
265
+ exports.MessageState = exports.$Enums.MessageState = {
266
+ SENT: 'SENT',
267
+ RECEIVED: 'RECEIVED',
268
+ SEEN: 'SEEN'
254
269
  };
255
270
 
256
- exports.EstadoPlantilla = exports.$Enums.EstadoPlantilla = {
271
+ exports.TemplateStatus = exports.$Enums.TemplateStatus = {
257
272
  APRROVED: 'APRROVED',
258
273
  PENDING: 'PENDING',
259
274
  REJECTED: 'REJECTED'
260
275
  };
261
276
 
262
- exports.CategoriaPlantilla = exports.$Enums.CategoriaPlantilla = {
277
+ exports.TemplateCategory = exports.$Enums.TemplateCategory = {
263
278
  MARKETING: 'MARKETING',
264
279
  UTILITY: 'UTILITY',
265
280
  AUTHENTICATION: 'AUTHENTICATION'
266
281
  };
267
282
 
268
283
  exports.Prisma.ModelName = {
269
- Cuenta: 'Cuenta',
270
- Perfil: 'Perfil',
271
- Comentario: 'Comentario',
272
- Etiqueta: 'Etiqueta',
273
- EtiquetaGrupo: 'EtiquetaGrupo',
274
- EventosCarpeta: 'EventosCarpeta',
275
- Evento: 'Evento',
276
- Mensaje: 'Mensaje',
284
+ Account: 'Account',
285
+ Profile: 'Profile',
286
+ Comment: 'Comment',
287
+ Tag: 'Tag',
288
+ TagGroup: 'TagGroup',
289
+ Event: 'Event',
290
+ EventFolder: 'EventFolder',
291
+ Message: 'Message',
292
+ CannedResponse: 'CannedResponse',
277
293
  Enums: 'Enums'
278
294
  };
279
295