expo-backend-types 0.56.0 → 0.57.0-EXPO-379-EB-Rutas-necesarias.2

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 (55) hide show
  1. package/dist/src/account/dto/get-global-filter.dto.d.ts +10 -8
  2. package/dist/src/account/dto/get-me.dto.d.ts +20 -16
  3. package/dist/src/account/dto/update-global-filter.dto.d.ts +10 -8
  4. package/dist/src/dynamic-form/dto/create-dynamic-form.dto.d.ts +301 -0
  5. package/dist/src/dynamic-form/dto/create-dynamic-form.dto.js +61 -0
  6. package/dist/src/dynamic-form/dto/delete-dynamic-form.dto.d.ts +18 -0
  7. package/dist/src/dynamic-form/dto/delete-dynamic-form.dto.js +12 -0
  8. package/dist/src/dynamic-form/dto/dynamic-form.dto.d.ts +146 -0
  9. package/dist/src/dynamic-form/dto/dynamic-form.dto.js +70 -0
  10. package/dist/src/dynamic-form/dto/find-all-dynamic-form.dto.d.ts +515 -0
  11. package/dist/src/dynamic-form/dto/find-all-dynamic-form.dto.js +23 -0
  12. package/dist/src/dynamic-form/dto/update-dynamic-form.dto.d.ts +402 -0
  13. package/dist/src/dynamic-form/dto/update-dynamic-form.dto.js +45 -0
  14. package/dist/src/dynamic-form/exports.d.ts +5 -0
  15. package/dist/src/dynamic-form/exports.js +22 -0
  16. package/dist/src/event/dto/get-all-event.dto.d.ts +32 -28
  17. package/dist/src/event/dto/get-by-id-event.dto.d.ts +50 -40
  18. package/dist/src/event/dto/update-event.dto.d.ts +10 -8
  19. package/dist/src/exports.d.ts +1 -0
  20. package/dist/src/exports.js +1 -0
  21. package/dist/src/i18n/es.d.ts +56 -0
  22. package/dist/src/i18n/es.js +50 -0
  23. package/dist/src/i18n/es.js.map +1 -1
  24. package/dist/src/mi-expo/dto/update-me-first-time.dto.d.ts +382 -0
  25. package/dist/src/mi-expo/dto/update-me-first-time.dto.js +35 -0
  26. package/dist/src/mi-expo/exports.d.ts +1 -0
  27. package/dist/src/mi-expo/exports.js +1 -0
  28. package/dist/src/production/dto/create-role.dto.d.ts +7 -4
  29. package/dist/src/profile/dto/find-all-profile.dto.d.ts +14 -12
  30. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +24 -20
  31. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +10 -8
  32. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +141 -2
  33. package/dist/src/profile/dto/find-by-phone-number.dto.js +21 -1
  34. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +14 -12
  35. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +14 -12
  36. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +14 -12
  37. package/dist/src/tag/dto/create-tag.dto.d.ts +13 -8
  38. package/dist/src/tag/dto/delete-tag.dto.d.ts +6 -4
  39. package/dist/src/tag/dto/find-all-tag.dto.d.ts +10 -8
  40. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +10 -8
  41. package/dist/src/tag/dto/find-one-tag.dto.d.ts +6 -4
  42. package/dist/src/tag/dto/tag.dto.d.ts +6 -4
  43. package/dist/src/tag/dto/update-tag.dto.d.ts +7 -4
  44. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +14 -12
  45. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +14 -12
  46. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +10 -8
  47. package/dist/types/prisma-schema/edge.js +38 -5
  48. package/dist/types/prisma-schema/index-browser.js +35 -2
  49. package/dist/types/prisma-schema/index.d.ts +5257 -134
  50. package/dist/types/prisma-schema/index.js +38 -5
  51. package/dist/types/prisma-schema/package.json +1 -1
  52. package/dist/types/prisma-schema/schema.prisma +57 -3
  53. package/dist/types/prisma-schema/wasm.js +35 -2
  54. package/dist/types/schema.d.ts +402 -26
  55. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-fb9ac0f756a5fa4cb580ccf31c36ffd70f5a0b79c60ea13ec92944750146bc7a",
2
+ "name": "prisma-client-0a9f094d045b99dd6452967dc538342f8916cba3f712716180b7f89df87c04fb",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -169,8 +169,9 @@ model Tag {
169
169
  profileEvents Event[] @relation("EVENT_X_PROFILE_TAGS")
170
170
  roleEvents Event[] @relation("EVENT_X_ROLES")
171
171
 
172
- created_at DateTime @default(now())
173
- updated_at DateTime @updatedAt
172
+ created_at DateTime @default(now())
173
+ updated_at DateTime @updatedAt
174
+ DynamicOption DynamicOption[]
174
175
 
175
176
  @@map("TAG")
176
177
  }
@@ -182,6 +183,8 @@ model TagGroup {
182
183
  isExclusive Boolean @map("is_exclusive")
183
184
  tags Tag[]
184
185
 
186
+ question DynamicQuestion? @relation("TAG_GROUP_X_QUESTION")
187
+
185
188
  created_at DateTime @default(now())
186
189
  updated_at DateTime @updatedAt
187
190
 
@@ -339,7 +342,8 @@ model EventTicket {
339
342
  model Production {
340
343
  id String @id @default(uuid())
341
344
 
342
- name String @unique
345
+ name String @unique
346
+ description String @default("")
343
347
 
344
348
  administratorId String? @map("adminstrator_id")
345
349
  administrator Profile? @relation("PRODUCTION_X_ADMINISTRATOR", fields: [administratorId], references: [id])
@@ -372,6 +376,55 @@ model ProductionAffiliationRequest {
372
376
  @@map("PRODUCTION_AFFILIATION_REQUEST")
373
377
  }
374
378
 
379
+ model DynamicForm {
380
+ id String @id @default(uuid())
381
+ name String @unique
382
+
383
+ questions DynamicQuestion[] @relation("DYNAMIC_FORM_X_QUESTION")
384
+
385
+ created_at DateTime @default(now())
386
+ updated_at DateTime @updatedAt
387
+
388
+ @@map("DYNAMIC_FORM")
389
+ }
390
+
391
+ model DynamicQuestion {
392
+ id String @id @default(uuid())
393
+ formId String @map("form_id")
394
+ form DynamicForm @relation("DYNAMIC_FORM_X_QUESTION", fields: [formId], references: [id], onDelete: Cascade)
395
+
396
+ text String
397
+ tagGroupId String @unique @map("tag_group_id")
398
+ tagGroup TagGroup @relation("TAG_GROUP_X_QUESTION", fields: [tagGroupId], references: [id], onDelete: Cascade)
399
+
400
+ disabled Boolean @default(false)
401
+ required Boolean @default(true)
402
+ multipleChoice Boolean @default(false) @map("multiple_choice")
403
+
404
+ options DynamicOption[]
405
+
406
+ created_at DateTime @default(now())
407
+ updated_at DateTime @updatedAt
408
+
409
+ @@map("DYNAMIC_QUESTION")
410
+ }
411
+
412
+ model DynamicOption {
413
+ id String @id @default(uuid())
414
+
415
+ text String
416
+ tagId String @map("tag_id")
417
+ tag Tag @relation(fields: [tagId], references: [id], onDelete: Cascade)
418
+
419
+ question DynamicQuestion @relation(fields: [questionId], references: [id])
420
+ questionId String @map("question_id")
421
+
422
+ created_at DateTime @default(now())
423
+ updated_at DateTime @updatedAt
424
+
425
+ @@map("DYNAMIC_OPTION")
426
+ }
427
+
375
428
  enum AffiliationStatus {
376
429
  APPROVED
377
430
  PENDING
@@ -396,6 +449,7 @@ enum TagType {
396
449
  PARTICIPANT
397
450
  NOT_IN_SYSTEM
398
451
  PRODUCTION_ROLE
452
+ FORM_OPTION
399
453
  }
400
454
 
401
455
  enum MessageState {
@@ -297,6 +297,7 @@ exports.Prisma.EventTicketScalarFieldEnum = {
297
297
  exports.Prisma.ProductionScalarFieldEnum = {
298
298
  id: 'id',
299
299
  name: 'name',
300
+ description: 'description',
300
301
  administratorId: 'administratorId',
301
302
  created_at: 'created_at',
302
303
  updated_at: 'updated_at'
@@ -312,6 +313,34 @@ exports.Prisma.ProductionAffiliationRequestScalarFieldEnum = {
312
313
  updated_at: 'updated_at'
313
314
  };
314
315
 
316
+ exports.Prisma.DynamicFormScalarFieldEnum = {
317
+ id: 'id',
318
+ name: 'name',
319
+ created_at: 'created_at',
320
+ updated_at: 'updated_at'
321
+ };
322
+
323
+ exports.Prisma.DynamicQuestionScalarFieldEnum = {
324
+ id: 'id',
325
+ formId: 'formId',
326
+ text: 'text',
327
+ tagGroupId: 'tagGroupId',
328
+ disabled: 'disabled',
329
+ required: 'required',
330
+ multipleChoice: 'multipleChoice',
331
+ created_at: 'created_at',
332
+ updated_at: 'updated_at'
333
+ };
334
+
335
+ exports.Prisma.DynamicOptionScalarFieldEnum = {
336
+ id: 'id',
337
+ text: 'text',
338
+ tagId: 'tagId',
339
+ questionId: 'questionId',
340
+ created_at: 'created_at',
341
+ updated_at: 'updated_at'
342
+ };
343
+
315
344
  exports.Prisma.SortOrder = {
316
345
  asc: 'asc',
317
346
  desc: 'desc'
@@ -349,7 +378,8 @@ exports.TagType = exports.$Enums.TagType = {
349
378
  EVENT: 'EVENT',
350
379
  PARTICIPANT: 'PARTICIPANT',
351
380
  NOT_IN_SYSTEM: 'NOT_IN_SYSTEM',
352
- PRODUCTION_ROLE: 'PRODUCTION_ROLE'
381
+ PRODUCTION_ROLE: 'PRODUCTION_ROLE',
382
+ FORM_OPTION: 'FORM_OPTION'
353
383
  };
354
384
 
355
385
  exports.MessageState = exports.$Enums.MessageState = {
@@ -405,7 +435,10 @@ exports.Prisma.ModelName = {
405
435
  Enums: 'Enums',
406
436
  EventTicket: 'EventTicket',
407
437
  Production: 'Production',
408
- ProductionAffiliationRequest: 'ProductionAffiliationRequest'
438
+ ProductionAffiliationRequest: 'ProductionAffiliationRequest',
439
+ DynamicForm: 'DynamicForm',
440
+ DynamicQuestion: 'DynamicQuestion',
441
+ DynamicOption: 'DynamicOption'
409
442
  };
410
443
 
411
444
  /**