expo-backend-types 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -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