expo-backend-types 0.3.0 → 0.4.0

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