expo-backend-types 0.32.0 → 0.33.0-EXPO-308-auth.1

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 (111) hide show
  1. package/dist/src/event/dto/create-event.dto.d.ts +2 -115
  2. package/dist/src/event/dto/create-event.dto.js +0 -8
  3. package/dist/src/event/dto/delete-event.dto.d.ts +0 -18
  4. package/dist/src/event/dto/event.dto.d.ts +0 -9
  5. package/dist/src/event/dto/event.dto.js +0 -9
  6. package/dist/src/event/dto/get-all-event.dto.d.ts +160 -424
  7. package/dist/src/event/dto/get-by-id-event.dto.d.ts +48 -208
  8. package/dist/src/event/dto/get-by-id-event.dto.js +0 -2
  9. package/dist/src/event/dto/update-event.dto.d.ts +22 -193
  10. package/dist/src/event/dto/update-event.dto.js +0 -9
  11. package/dist/src/event/exports.d.ts +0 -3
  12. package/dist/src/event/exports.js +0 -3
  13. package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +0 -42
  14. package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +0 -30
  15. package/dist/src/exports.d.ts +3 -1
  16. package/dist/src/exports.js +3 -1
  17. package/dist/src/i18n/es.d.ts +20 -24
  18. package/dist/src/i18n/es.js +20 -24
  19. package/dist/src/i18n/es.js.map +1 -1
  20. package/dist/src/image/constants.d.ts +5 -0
  21. package/dist/src/image/constants.js +9 -0
  22. package/dist/src/location/dto/find-all-location.dto.js +2 -2
  23. package/dist/src/location/exports.d.ts +0 -1
  24. package/dist/src/location/exports.js +0 -1
  25. package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
  26. package/dist/src/message/dto/non-read-messages.dto.js +2 -2
  27. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
  28. package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
  29. package/dist/src/mi-expo/dto/get-me.dto.d.ts +337 -0
  30. package/dist/src/mi-expo/dto/get-me.dto.js +16 -0
  31. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +311 -0
  32. package/dist/src/mi-expo/dto/login-with-phone.dto.js +29 -0
  33. package/dist/src/mi-expo/dto/login.dto.d.ts +327 -0
  34. package/dist/src/mi-expo/dto/login.dto.js +31 -0
  35. package/dist/src/mi-expo/dto/update-me.dto.d.ts +352 -0
  36. package/dist/src/mi-expo/dto/update-me.dto.js +31 -0
  37. package/dist/src/mi-expo/exports.d.ts +4 -0
  38. package/dist/src/mi-expo/exports.js +21 -0
  39. package/dist/src/otp/constants.d.ts +2 -0
  40. package/dist/src/otp/constants.js +6 -0
  41. package/dist/src/otp/dto/send-otp.dto.d.ts +158 -0
  42. package/dist/src/otp/dto/send-otp.dto.js +35 -0
  43. package/dist/src/otp/dto/verify-otp.dto.d.ts +455 -0
  44. package/dist/src/otp/dto/verify-otp.dto.js +46 -0
  45. package/dist/src/otp/exports.d.ts +2 -0
  46. package/dist/src/otp/exports.js +19 -0
  47. package/dist/src/prisma/constants.d.ts +1 -0
  48. package/dist/src/prisma/constants.js +5 -0
  49. package/dist/src/profile/dto/create-profile.dto.d.ts +48 -14
  50. package/dist/src/profile/dto/create-profile.dto.js +9 -7
  51. package/dist/src/profile/dto/delete-profile.dto.d.ts +30 -6
  52. package/dist/src/profile/dto/delete-profile.dto.js +2 -2
  53. package/dist/src/profile/dto/find-all-profile.dto.d.ts +47 -7
  54. package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
  55. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +75 -11
  56. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
  57. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +32 -13
  58. package/dist/src/profile/dto/find-by-id-profile.dto.js +7 -5
  59. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +30 -6
  60. package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
  61. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +47 -7
  62. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
  63. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +47 -7
  64. package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
  65. package/dist/src/profile/dto/find-trash.dto.d.ts +7 -3
  66. package/dist/src/profile/dto/find-trash.dto.js +2 -2
  67. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +47 -7
  68. package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
  69. package/dist/src/profile/dto/profile.dto.d.ts +44 -30
  70. package/dist/src/profile/dto/profile.dto.js +6 -63
  71. package/dist/src/profile/dto/update-profile.dto.d.ts +54 -12
  72. package/dist/src/profile/dto/update-profile.dto.js +9 -6
  73. package/dist/src/schema/exports.d.ts +2 -0
  74. package/dist/src/schema/exports.js +19 -0
  75. package/dist/src/{location/dto/location.dto.js → schema/location.schema.js} +2 -2
  76. package/dist/src/schema/profile.schema.d.ts +74 -0
  77. package/dist/src/schema/profile.schema.js +133 -0
  78. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -4
  79. package/dist/src/shared/dto-modification/zod-without-dates.js +8 -0
  80. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
  81. package/dist/src/tag/dto/massive-allocation.dto.d.ts +47 -7
  82. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  83. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +47 -7
  84. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  85. package/dist/src/webhook/constants.d.ts +1 -0
  86. package/dist/src/webhook/constants.js +5 -0
  87. package/dist/types/prisma-schema/edge.js +37 -43
  88. package/dist/types/prisma-schema/index-browser.js +19 -30
  89. package/dist/types/prisma-schema/index.d.ts +6249 -5155
  90. package/dist/types/prisma-schema/index.js +37 -43
  91. package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  92. package/dist/types/prisma-schema/package.json +8 -2
  93. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
  94. package/dist/types/prisma-schema/runtime/edge.js +18 -18
  95. package/dist/types/prisma-schema/runtime/index-browser.d.ts +3 -1
  96. package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
  97. package/dist/types/prisma-schema/runtime/library.d.ts +205 -153
  98. package/dist/types/prisma-schema/runtime/library.js +55 -55
  99. package/dist/types/prisma-schema/runtime/react-native.js +26 -26
  100. package/dist/types/prisma-schema/runtime/wasm.js +17 -17
  101. package/dist/types/prisma-schema/schema.prisma +27 -33
  102. package/dist/types/prisma-schema/wasm.js +19 -30
  103. package/dist/types/schema.d.ts +510 -198
  104. package/package.json +32 -38
  105. package/dist/src/event/dto/event-tickets.dto.d.ts +0 -21
  106. package/dist/src/event/dto/event-tickets.dto.js +0 -21
  107. package/dist/src/event/dto/get-active-events.dto.d.ts +0 -247
  108. package/dist/src/event/dto/get-active-events.dto.js +0 -19
  109. package/dist/src/event/dto/toggle-active-event.dto.d.ts +0 -43
  110. package/dist/src/event/dto/toggle-active-event.dto.js +0 -6
  111. /package/dist/src/{location/dto/location.dto.d.ts → schema/location.schema.d.ts} +0 -0
@@ -8,7 +8,7 @@ export interface paths {
8
8
  };
9
9
  get?: never;
10
10
  put?: never;
11
- post: operations["AuthController_loginUser"];
11
+ post: operations["AuthController_loginAccount"];
12
12
  delete?: never;
13
13
  options?: never;
14
14
  head?: never;
@@ -543,22 +543,6 @@ export interface paths {
543
543
  patch?: never;
544
544
  trace?: never;
545
545
  };
546
- "/event/find-active": {
547
- parameters: {
548
- query?: never;
549
- header?: never;
550
- path?: never;
551
- cookie?: never;
552
- };
553
- get: operations["EventController_getActive"];
554
- put?: never;
555
- post?: never;
556
- delete?: never;
557
- options?: never;
558
- head?: never;
559
- patch?: never;
560
- trace?: never;
561
- };
562
546
  "/event/{id}": {
563
547
  parameters: {
564
548
  query?: never;
@@ -575,22 +559,6 @@ export interface paths {
575
559
  patch: operations["EventController_update"];
576
560
  trace?: never;
577
561
  };
578
- "/event/toggle-active/{id}": {
579
- parameters: {
580
- query?: never;
581
- header?: never;
582
- path?: never;
583
- cookie?: never;
584
- };
585
- get?: never;
586
- put?: never;
587
- post: operations["EventController_toggleActive"];
588
- delete?: never;
589
- options?: never;
590
- head?: never;
591
- patch?: never;
592
- trace?: never;
593
- };
594
562
  "/profile/all": {
595
563
  parameters: {
596
564
  query?: never;
@@ -774,9 +742,9 @@ export interface paths {
774
742
  path?: never;
775
743
  cookie?: never;
776
744
  };
777
- get?: never;
745
+ get: operations["CsvController_downloadProfiles"];
778
746
  put?: never;
779
- post: operations["CsvController_downloadProfiles"];
747
+ post?: never;
780
748
  delete?: never;
781
749
  options?: never;
782
750
  head?: never;
@@ -790,9 +758,9 @@ export interface paths {
790
758
  path?: never;
791
759
  cookie?: never;
792
760
  };
793
- get?: never;
761
+ get: operations["CsvController_downloadAllTables"];
794
762
  put?: never;
795
- post: operations["CsvController_downloadAllTables"];
763
+ post?: never;
796
764
  delete?: never;
797
765
  options?: never;
798
766
  head?: never;
@@ -975,6 +943,86 @@ export interface paths {
975
943
  patch?: never;
976
944
  trace?: never;
977
945
  };
946
+ "/otp/send": {
947
+ parameters: {
948
+ query?: never;
949
+ header?: never;
950
+ path?: never;
951
+ cookie?: never;
952
+ };
953
+ get?: never;
954
+ put?: never;
955
+ post: operations["OtpController_sendOtp"];
956
+ delete?: never;
957
+ options?: never;
958
+ head?: never;
959
+ patch?: never;
960
+ trace?: never;
961
+ };
962
+ "/otp/verify": {
963
+ parameters: {
964
+ query?: never;
965
+ header?: never;
966
+ path?: never;
967
+ cookie?: never;
968
+ };
969
+ get?: never;
970
+ put?: never;
971
+ post: operations["OtpController_verifyOtp"];
972
+ delete?: never;
973
+ options?: never;
974
+ head?: never;
975
+ patch?: never;
976
+ trace?: never;
977
+ };
978
+ "/mi-expo/login-with-phone": {
979
+ parameters: {
980
+ query?: never;
981
+ header?: never;
982
+ path?: never;
983
+ cookie?: never;
984
+ };
985
+ get?: never;
986
+ put?: never;
987
+ post: operations["MiExpoController_loginWithPhone"];
988
+ delete?: never;
989
+ options?: never;
990
+ head?: never;
991
+ patch?: never;
992
+ trace?: never;
993
+ };
994
+ "/mi-expo/me": {
995
+ parameters: {
996
+ query?: never;
997
+ header?: never;
998
+ path?: never;
999
+ cookie?: never;
1000
+ };
1001
+ get: operations["MiExpoController_me"];
1002
+ put?: never;
1003
+ post?: never;
1004
+ delete?: never;
1005
+ options?: never;
1006
+ head?: never;
1007
+ patch: operations["MiExpoController_updateMe"];
1008
+ trace?: never;
1009
+ };
1010
+ "/mi-expo/login": {
1011
+ parameters: {
1012
+ query?: never;
1013
+ header?: never;
1014
+ path?: never;
1015
+ cookie?: never;
1016
+ };
1017
+ get?: never;
1018
+ put?: never;
1019
+ post: operations["MiExpoController_loginUsernamePassword"];
1020
+ delete?: never;
1021
+ options?: never;
1022
+ head?: never;
1023
+ patch?: never;
1024
+ trace?: never;
1025
+ };
978
1026
  }
979
1027
  export type webhooks = Record<string, never>;
980
1028
  export interface components {
@@ -1099,7 +1147,11 @@ export interface components {
1099
1147
  profiles: {
1100
1148
  id: string;
1101
1149
  shortId: number;
1150
+ firstTimeMiExpo: boolean;
1151
+ username: string | null;
1152
+ password: string | null;
1102
1153
  phoneNumber: string;
1154
+ isPhoneVerified: boolean;
1103
1155
  secondaryPhoneNumber: string | null;
1104
1156
  fullName: string;
1105
1157
  firstName: string | null;
@@ -1126,7 +1178,11 @@ export interface components {
1126
1178
  profiles: {
1127
1179
  id: string;
1128
1180
  shortId: number;
1181
+ firstTimeMiExpo: boolean;
1182
+ username: string | null;
1183
+ password: string | null;
1129
1184
  phoneNumber: string;
1185
+ isPhoneVerified: boolean;
1130
1186
  secondaryPhoneNumber: string | null;
1131
1187
  fullName: string;
1132
1188
  firstName: string | null;
@@ -1464,13 +1520,10 @@ export interface components {
1464
1520
  id: string;
1465
1521
  name: string;
1466
1522
  date: string;
1467
- startingDate: string;
1468
- endingDate: string;
1469
1523
  location: string;
1470
1524
  folderId: string | null;
1471
1525
  tagAssistedId: string;
1472
1526
  tagConfirmedId: string;
1473
- active: boolean;
1474
1527
  supraEventId: string | null;
1475
1528
  created_at: string;
1476
1529
  updated_at: string;
@@ -1487,13 +1540,10 @@ export interface components {
1487
1540
  id: string;
1488
1541
  name: string;
1489
1542
  date: string;
1490
- startingDate: string;
1491
- endingDate: string;
1492
1543
  location: string;
1493
1544
  folderId: string | null;
1494
1545
  tagAssistedId: string;
1495
1546
  tagConfirmedId: string;
1496
- active: boolean;
1497
1547
  supraEventId: string | null;
1498
1548
  created_at: string;
1499
1549
  updated_at: string;
@@ -1520,35 +1570,22 @@ export interface components {
1520
1570
  CreateEventDto: {
1521
1571
  name: string;
1522
1572
  date: string;
1523
- startingDate: string;
1524
- endingDate: string;
1525
1573
  location: string;
1526
1574
  folderId: string | null;
1527
1575
  subEvents?: {
1528
1576
  name: string;
1529
1577
  date: string;
1530
- startingDate: string;
1531
- endingDate: string;
1532
1578
  location: string;
1533
1579
  }[];
1534
- tagsId: string[];
1535
- eventTickets: {
1536
- amount: number;
1537
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
1538
- price: number | null;
1539
- }[];
1540
1580
  };
1541
1581
  CreateEventResponseDto: {
1542
1582
  id: string;
1543
1583
  name: string;
1544
1584
  date: string;
1545
- startingDate: string;
1546
- endingDate: string;
1547
1585
  location: string;
1548
1586
  folderId: string | null;
1549
1587
  tagAssistedId: string;
1550
1588
  tagConfirmedId: string;
1551
- active: boolean;
1552
1589
  supraEventId: string | null;
1553
1590
  created_at: string;
1554
1591
  updated_at: string;
@@ -1564,13 +1601,10 @@ export interface components {
1564
1601
  id: string;
1565
1602
  name: string;
1566
1603
  date: string;
1567
- startingDate: string;
1568
- endingDate: string;
1569
1604
  location: string;
1570
1605
  folderId: string | null;
1571
1606
  tagAssistedId: string;
1572
1607
  tagConfirmedId: string;
1573
- active: boolean;
1574
1608
  supraEventId: string | null;
1575
1609
  created_at: string;
1576
1610
  updated_at: string;
@@ -1578,13 +1612,10 @@ export interface components {
1578
1612
  id: string;
1579
1613
  name: string;
1580
1614
  date: string;
1581
- startingDate: string;
1582
- endingDate: string;
1583
1615
  location: string;
1584
1616
  folderId: string | null;
1585
1617
  tagAssistedId: string;
1586
1618
  tagConfirmedId: string;
1587
- active: boolean;
1588
1619
  supraEventId: string | null;
1589
1620
  created_at: string;
1590
1621
  updated_at: string;
@@ -1593,13 +1624,10 @@ export interface components {
1593
1624
  id: string;
1594
1625
  name: string;
1595
1626
  date: string;
1596
- startingDate: string;
1597
- endingDate: string;
1598
1627
  location: string;
1599
1628
  folderId: string | null;
1600
1629
  tagAssistedId: string;
1601
1630
  tagConfirmedId: string;
1602
- active: boolean;
1603
1631
  supraEventId: string | null;
1604
1632
  created_at: string;
1605
1633
  updated_at: string;
@@ -1610,13 +1638,10 @@ export interface components {
1610
1638
  id: string;
1611
1639
  name: string;
1612
1640
  date: string;
1613
- startingDate: string;
1614
- endingDate: string;
1615
1641
  location: string;
1616
1642
  folderId: string | null;
1617
1643
  tagAssistedId: string;
1618
1644
  tagConfirmedId: string;
1619
- active: boolean;
1620
1645
  supraEventId: string | null;
1621
1646
  created_at: string;
1622
1647
  updated_at: string;
@@ -1624,13 +1649,10 @@ export interface components {
1624
1649
  id: string;
1625
1650
  name: string;
1626
1651
  date: string;
1627
- startingDate: string;
1628
- endingDate: string;
1629
1652
  location: string;
1630
1653
  folderId: string | null;
1631
1654
  tagAssistedId: string;
1632
1655
  tagConfirmedId: string;
1633
- active: boolean;
1634
1656
  supraEventId: string | null;
1635
1657
  created_at: string;
1636
1658
  updated_at: string;
@@ -1639,53 +1661,24 @@ export interface components {
1639
1661
  id: string;
1640
1662
  name: string;
1641
1663
  date: string;
1642
- startingDate: string;
1643
- endingDate: string;
1644
1664
  location: string;
1645
1665
  folderId: string | null;
1646
1666
  tagAssistedId: string;
1647
1667
  tagConfirmedId: string;
1648
- active: boolean;
1649
1668
  supraEventId: string | null;
1650
1669
  created_at: string;
1651
1670
  updated_at: string;
1652
1671
  }[];
1653
1672
  }[];
1654
1673
  };
1655
- GetActiveEventsResponseDto: {
1656
- events: {
1657
- id: string;
1658
- name: string;
1659
- date: string;
1660
- startingDate: string;
1661
- endingDate: string;
1662
- location: string;
1663
- folderId: string | null;
1664
- tagAssistedId: string;
1665
- tagConfirmedId: string;
1666
- active: boolean;
1667
- supraEventId: string | null;
1668
- created_at: string;
1669
- updated_at: string;
1670
- eventTickets: {
1671
- id: string;
1672
- amount: number;
1673
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
1674
- price: number | null;
1675
- }[];
1676
- }[];
1677
- };
1678
1674
  GetByIdEventResponseDto: {
1679
1675
  id: string;
1680
1676
  name: string;
1681
1677
  date: string;
1682
- startingDate: string;
1683
- endingDate: string;
1684
1678
  location: string;
1685
1679
  folderId: string | null;
1686
1680
  tagAssistedId: string;
1687
1681
  tagConfirmedId: string;
1688
- active: boolean;
1689
1682
  supraEventId: string | null;
1690
1683
  created_at: string;
1691
1684
  updated_at: string;
@@ -1693,13 +1686,10 @@ export interface components {
1693
1686
  id: string;
1694
1687
  name: string;
1695
1688
  date: string;
1696
- startingDate: string;
1697
- endingDate: string;
1698
1689
  location: string;
1699
1690
  folderId: string | null;
1700
1691
  tagAssistedId: string;
1701
1692
  tagConfirmedId: string;
1702
- active: boolean;
1703
1693
  supraEventId: string | null;
1704
1694
  created_at: string;
1705
1695
  updated_at: string;
@@ -1708,56 +1698,35 @@ export interface components {
1708
1698
  id: string;
1709
1699
  name: string;
1710
1700
  date: string;
1711
- startingDate: string;
1712
- endingDate: string;
1713
1701
  location: string;
1714
1702
  folderId: string | null;
1715
1703
  tagAssistedId: string;
1716
1704
  tagConfirmedId: string;
1717
- active: boolean;
1718
1705
  supraEventId: string | null;
1719
1706
  created_at: string;
1720
1707
  updated_at: string;
1721
1708
  } | null;
1722
- eventTickets: {
1723
- id: string;
1724
- amount: number;
1725
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
1726
- price: number | null;
1727
- }[];
1728
1709
  };
1729
1710
  UpdateEventDto: {
1730
1711
  name: string;
1731
1712
  folderId: string | null;
1732
1713
  date: string;
1733
1714
  location: string;
1734
- startingDate: string;
1735
- endingDate: string;
1736
1715
  subEvents: {
1737
1716
  name: string;
1738
1717
  location: string;
1739
1718
  date: string;
1740
- startingDate: string;
1741
- endingDate: string;
1742
1719
  id: string | "";
1743
1720
  }[];
1744
- eventTickets: {
1745
- amount: number;
1746
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
1747
- price: number | null;
1748
- }[];
1749
1721
  };
1750
1722
  UpdateEventResponseDto: {
1751
1723
  id: string;
1752
1724
  name: string;
1753
1725
  date: string;
1754
- startingDate: string;
1755
- endingDate: string;
1756
1726
  location: string;
1757
1727
  folderId: string | null;
1758
1728
  tagAssistedId: string;
1759
1729
  tagConfirmedId: string;
1760
- active: boolean;
1761
1730
  supraEventId: string | null;
1762
1731
  created_at: string;
1763
1732
  updated_at: string;
@@ -1777,24 +1746,15 @@ export interface components {
1777
1746
  updated_at: string;
1778
1747
  };
1779
1748
  };
1780
- eventTickets: {
1781
- id: string;
1782
- amount: number;
1783
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
1784
- price: number | null;
1785
- }[];
1786
1749
  };
1787
1750
  DeleteEventResponseDto: {
1788
1751
  id: string;
1789
1752
  name: string;
1790
1753
  date: string;
1791
- startingDate: string;
1792
- endingDate: string;
1793
1754
  location: string;
1794
1755
  folderId: string | null;
1795
1756
  tagAssistedId: string;
1796
1757
  tagConfirmedId: string;
1797
- active: boolean;
1798
1758
  supraEventId: string | null;
1799
1759
  created_at: string;
1800
1760
  updated_at: string;
@@ -1803,7 +1763,11 @@ export interface components {
1803
1763
  profiles: {
1804
1764
  id: string;
1805
1765
  shortId: number;
1766
+ firstTimeMiExpo: boolean;
1767
+ username: string | null;
1768
+ password: string | null;
1806
1769
  phoneNumber: string;
1770
+ isPhoneVerified: boolean;
1807
1771
  secondaryPhoneNumber: string | null;
1808
1772
  fullName: string;
1809
1773
  firstName: string | null;
@@ -1838,7 +1802,11 @@ export interface components {
1838
1802
  profiles: {
1839
1803
  id: string;
1840
1804
  shortId: number;
1805
+ firstTimeMiExpo: boolean;
1806
+ username: string | null;
1807
+ password: string | null;
1841
1808
  phoneNumber: string;
1809
+ isPhoneVerified: boolean;
1842
1810
  secondaryPhoneNumber: string | null;
1843
1811
  fullName: string;
1844
1812
  firstName: string | null;
@@ -1891,7 +1859,11 @@ export interface components {
1891
1859
  profiles: {
1892
1860
  id: string;
1893
1861
  shortId: number;
1862
+ firstTimeMiExpo: boolean;
1863
+ username: string | null;
1864
+ password: string | null;
1894
1865
  phoneNumber: string;
1866
+ isPhoneVerified: boolean;
1895
1867
  secondaryPhoneNumber: string | null;
1896
1868
  fullName: string;
1897
1869
  firstName: string | null;
@@ -1925,7 +1897,11 @@ export interface components {
1925
1897
  profiles: {
1926
1898
  id: string;
1927
1899
  shortId: number;
1900
+ firstTimeMiExpo: boolean;
1901
+ username: string | null;
1902
+ password: string | null;
1928
1903
  phoneNumber: string;
1904
+ isPhoneVerified: boolean;
1929
1905
  secondaryPhoneNumber: string | null;
1930
1906
  fullName: string;
1931
1907
  firstName: string | null;
@@ -1956,7 +1932,11 @@ export interface components {
1956
1932
  [key: string]: {
1957
1933
  id: string;
1958
1934
  shortId: number;
1935
+ firstTimeMiExpo: boolean;
1936
+ username: string | null;
1937
+ password: string | null;
1959
1938
  phoneNumber: string;
1939
+ isPhoneVerified: boolean;
1960
1940
  secondaryPhoneNumber: string | null;
1961
1941
  fullName: string;
1962
1942
  firstName: string | null;
@@ -1989,7 +1969,11 @@ export interface components {
1989
1969
  FindByPhoneNumberResponseDto: {
1990
1970
  id: string;
1991
1971
  shortId: number;
1972
+ firstTimeMiExpo: boolean;
1973
+ username: string | null;
1974
+ password: string | null;
1992
1975
  phoneNumber: string;
1976
+ isPhoneVerified: boolean;
1993
1977
  secondaryPhoneNumber: string | null;
1994
1978
  fullName: string;
1995
1979
  firstName: string | null;
@@ -2030,6 +2014,8 @@ export interface components {
2030
2014
  phoneNumber: string;
2031
2015
  profilePictureUrl: string | null;
2032
2016
  secondaryPhoneNumber: string | null;
2017
+ username: string | null;
2018
+ password: string | null;
2033
2019
  comments?: {
2034
2020
  content: string;
2035
2021
  isSolvable: boolean;
@@ -2072,7 +2058,10 @@ export interface components {
2072
2058
  FindByIdProfileResponseDto: {
2073
2059
  id: string;
2074
2060
  shortId: number;
2061
+ firstTimeMiExpo: boolean;
2062
+ username: string | null;
2075
2063
  phoneNumber: string;
2064
+ isPhoneVerified: boolean;
2076
2065
  secondaryPhoneNumber: string | null;
2077
2066
  fullName: string;
2078
2067
  firstName: string | null;
@@ -2126,7 +2115,11 @@ export interface components {
2126
2115
  DeleteProfileResponseDto: {
2127
2116
  id: string;
2128
2117
  shortId: number;
2118
+ firstTimeMiExpo: boolean;
2119
+ username: string | null;
2120
+ password: string | null;
2129
2121
  phoneNumber: string;
2122
+ isPhoneVerified: boolean;
2130
2123
  secondaryPhoneNumber: string | null;
2131
2124
  fullName: string;
2132
2125
  firstName: string | null;
@@ -2157,6 +2150,9 @@ export interface components {
2157
2150
  secondaryPhoneNumber?: string | null;
2158
2151
  isInTrash?: boolean;
2159
2152
  movedToTrashDate?: string | null;
2153
+ username?: string | null;
2154
+ password?: string | null;
2155
+ firstTimeMiExpo?: boolean;
2160
2156
  residence?: {
2161
2157
  city: string;
2162
2158
  country: string;
@@ -2283,6 +2279,204 @@ export interface components {
2283
2279
  GetLastMessageTimestampResponseDto: {
2284
2280
  timestamp: number;
2285
2281
  };
2282
+ SendOtpDto: {
2283
+ phoneNumber: string;
2284
+ };
2285
+ SendOtpResponseDto: {
2286
+ response: {
2287
+ hasVerified: boolean;
2288
+ hasUsername: boolean;
2289
+ success: true;
2290
+ } | {
2291
+ hasVerified: boolean;
2292
+ hasUsername: boolean;
2293
+ success: false;
2294
+ message: string;
2295
+ };
2296
+ };
2297
+ VerifyOtpDto: {
2298
+ phoneNumber: string;
2299
+ code: string;
2300
+ };
2301
+ VerifyOtpResponseDto: {
2302
+ success: boolean;
2303
+ profile: {
2304
+ id: string;
2305
+ shortId: number;
2306
+ firstTimeMiExpo: boolean;
2307
+ username: string | null;
2308
+ password: string | null;
2309
+ phoneNumber: string;
2310
+ isPhoneVerified: boolean;
2311
+ secondaryPhoneNumber: string | null;
2312
+ fullName: string;
2313
+ firstName: string | null;
2314
+ gender: string | null;
2315
+ birthDate: string | null;
2316
+ profilePictureUrl: string | null;
2317
+ instagram: string | null;
2318
+ mail: string | null;
2319
+ dni: string | null;
2320
+ alternativeNames: string[];
2321
+ birthLocationId: string | null;
2322
+ residenceLocationId: string | null;
2323
+ isInTrash: boolean;
2324
+ movedToTrashDate: string | null;
2325
+ created_at: string;
2326
+ updated_at: string;
2327
+ residenceLocation: {
2328
+ city: string;
2329
+ country: string;
2330
+ latitude: number;
2331
+ longitude: number;
2332
+ } | null;
2333
+ birthLocation: {
2334
+ city: string;
2335
+ country: string;
2336
+ latitude: number;
2337
+ longitude: number;
2338
+ } | null;
2339
+ };
2340
+ };
2341
+ LoginWithPhoneDto: {
2342
+ phoneNumber: string;
2343
+ };
2344
+ LoginWithPhoneResponseDto: {
2345
+ tokens: {
2346
+ accessToken: string;
2347
+ refreshToken: string;
2348
+ expiresIn: number;
2349
+ };
2350
+ profile: {
2351
+ id: string;
2352
+ shortId: number;
2353
+ firstTimeMiExpo: boolean;
2354
+ username: string | null;
2355
+ phoneNumber: string;
2356
+ isPhoneVerified: boolean;
2357
+ secondaryPhoneNumber: string | null;
2358
+ fullName: string;
2359
+ firstName: string | null;
2360
+ gender: string | null;
2361
+ birthDate: string | null;
2362
+ profilePictureUrl: string | null;
2363
+ instagram: string | null;
2364
+ mail: string | null;
2365
+ dni: string | null;
2366
+ alternativeNames: string[];
2367
+ birthLocationId: string | null;
2368
+ residenceLocationId: string | null;
2369
+ isInTrash: boolean;
2370
+ movedToTrashDate: string | null;
2371
+ created_at: string;
2372
+ updated_at: string;
2373
+ };
2374
+ };
2375
+ GetMiExpoMeResponseDto: {
2376
+ id: string;
2377
+ shortId: number;
2378
+ firstTimeMiExpo: boolean;
2379
+ username: string | null;
2380
+ phoneNumber: string;
2381
+ isPhoneVerified: boolean;
2382
+ secondaryPhoneNumber: string | null;
2383
+ fullName: string;
2384
+ firstName: string | null;
2385
+ gender: string | null;
2386
+ birthDate: string | null;
2387
+ profilePictureUrl: string | null;
2388
+ instagram: string | null;
2389
+ mail: string | null;
2390
+ dni: string | null;
2391
+ alternativeNames: string[];
2392
+ birthLocationId: string | null;
2393
+ residenceLocationId: string | null;
2394
+ isInTrash: boolean;
2395
+ movedToTrashDate: string | null;
2396
+ created_at: string;
2397
+ updated_at: string;
2398
+ residenceLocation: {
2399
+ id: string;
2400
+ latitude: number;
2401
+ longitude: number;
2402
+ country: string;
2403
+ state: string;
2404
+ city: string;
2405
+ created_at: string;
2406
+ updated_at: string;
2407
+ } | null;
2408
+ birthLocation: {
2409
+ id: string;
2410
+ latitude: number;
2411
+ longitude: number;
2412
+ country: string;
2413
+ state: string;
2414
+ city: string;
2415
+ created_at: string;
2416
+ updated_at: string;
2417
+ } | null;
2418
+ };
2419
+ UpdateMiExpoMeDto: {
2420
+ birthDate: string | null;
2421
+ dni: string | null;
2422
+ fullName: string;
2423
+ gender: string | null;
2424
+ instagram: string | null;
2425
+ mail: string | null;
2426
+ password: string | null;
2427
+ phoneNumber: string;
2428
+ secondaryPhoneNumber: string | null;
2429
+ username: string | null;
2430
+ birth: {
2431
+ city: string;
2432
+ country: string;
2433
+ latitude: number;
2434
+ longitude: number;
2435
+ state: string;
2436
+ };
2437
+ residence: {
2438
+ city: string;
2439
+ country: string;
2440
+ latitude: number;
2441
+ longitude: number;
2442
+ state: string;
2443
+ };
2444
+ };
2445
+ LoginMiExpoDto: {
2446
+ username: string;
2447
+ password: string;
2448
+ };
2449
+ LoginMiExpoResponseDto: {
2450
+ user: {
2451
+ id: string;
2452
+ shortId: number;
2453
+ firstTimeMiExpo: boolean;
2454
+ username: string | null;
2455
+ phoneNumber: string;
2456
+ isPhoneVerified: boolean;
2457
+ secondaryPhoneNumber: string | null;
2458
+ fullName: string;
2459
+ firstName: string | null;
2460
+ gender: string | null;
2461
+ birthDate: string | null;
2462
+ profilePictureUrl: string | null;
2463
+ instagram: string | null;
2464
+ mail: string | null;
2465
+ dni: string | null;
2466
+ alternativeNames: string[];
2467
+ birthLocationId: string | null;
2468
+ residenceLocationId: string | null;
2469
+ isInTrash: boolean;
2470
+ movedToTrashDate: string | null;
2471
+ created_at: string;
2472
+ updated_at: string;
2473
+ };
2474
+ backendTokens: {
2475
+ accessToken: string;
2476
+ refreshToken: string;
2477
+ expiresIn: number;
2478
+ };
2479
+ };
2286
2480
  };
2287
2481
  responses: never;
2288
2482
  parameters: never;
@@ -2292,7 +2486,7 @@ export interface components {
2292
2486
  }
2293
2487
  export type $defs = Record<string, never>;
2294
2488
  export interface operations {
2295
- AuthController_loginUser: {
2489
+ AuthController_loginAccount: {
2296
2490
  parameters: {
2297
2491
  query?: never;
2298
2492
  header?: never;
@@ -3309,25 +3503,6 @@ export interface operations {
3309
3503
  };
3310
3504
  };
3311
3505
  };
3312
- EventController_getActive: {
3313
- parameters: {
3314
- query?: never;
3315
- header?: never;
3316
- path?: never;
3317
- cookie?: never;
3318
- };
3319
- requestBody?: never;
3320
- responses: {
3321
- 200: {
3322
- headers: {
3323
- [name: string]: unknown;
3324
- };
3325
- content: {
3326
- "application/json": components["schemas"]["GetActiveEventsResponseDto"];
3327
- };
3328
- };
3329
- };
3330
- };
3331
3506
  EventController_findById: {
3332
3507
  parameters: {
3333
3508
  query?: never;
@@ -3417,51 +3592,6 @@ export interface operations {
3417
3592
  "application/json": components["schemas"]["ErrorDto"];
3418
3593
  };
3419
3594
  };
3420
- 409: {
3421
- headers: {
3422
- [name: string]: unknown;
3423
- };
3424
- content: {
3425
- "application/json": components["schemas"]["ErrorDto"];
3426
- };
3427
- };
3428
- };
3429
- };
3430
- EventController_toggleActive: {
3431
- parameters: {
3432
- query?: never;
3433
- header?: never;
3434
- path: {
3435
- id: string;
3436
- };
3437
- cookie?: never;
3438
- };
3439
- requestBody?: never;
3440
- responses: {
3441
- 200: {
3442
- headers: {
3443
- [name: string]: unknown;
3444
- };
3445
- content: {
3446
- "application/json": components["schemas"]["UpdateEventResponseDto"];
3447
- };
3448
- };
3449
- 404: {
3450
- headers: {
3451
- [name: string]: unknown;
3452
- };
3453
- content: {
3454
- "application/json": components["schemas"]["ErrorDto"];
3455
- };
3456
- };
3457
- 409: {
3458
- headers: {
3459
- [name: string]: unknown;
3460
- };
3461
- content: {
3462
- "application/json": components["schemas"]["ErrorDto"];
3463
- };
3464
- };
3465
3595
  };
3466
3596
  };
3467
3597
  ProfileController_findAll: {
@@ -4263,4 +4393,186 @@ export interface operations {
4263
4393
  };
4264
4394
  };
4265
4395
  };
4396
+ OtpController_sendOtp: {
4397
+ parameters: {
4398
+ query?: never;
4399
+ header?: never;
4400
+ path?: never;
4401
+ cookie?: never;
4402
+ };
4403
+ requestBody: {
4404
+ content: {
4405
+ "application/json": components["schemas"]["SendOtpDto"];
4406
+ };
4407
+ };
4408
+ responses: {
4409
+ 200: {
4410
+ headers: {
4411
+ [name: string]: unknown;
4412
+ };
4413
+ content: {
4414
+ "application/json": components["schemas"]["SendOtpResponseDto"];
4415
+ };
4416
+ };
4417
+ 400: {
4418
+ headers: {
4419
+ [name: string]: unknown;
4420
+ };
4421
+ content: {
4422
+ "application/json": components["schemas"]["ErrorDto"];
4423
+ };
4424
+ };
4425
+ 404: {
4426
+ headers: {
4427
+ [name: string]: unknown;
4428
+ };
4429
+ content: {
4430
+ "application/json": components["schemas"]["ErrorDto"];
4431
+ };
4432
+ };
4433
+ };
4434
+ };
4435
+ OtpController_verifyOtp: {
4436
+ parameters: {
4437
+ query?: never;
4438
+ header?: never;
4439
+ path?: never;
4440
+ cookie?: never;
4441
+ };
4442
+ requestBody: {
4443
+ content: {
4444
+ "application/json": components["schemas"]["VerifyOtpDto"];
4445
+ };
4446
+ };
4447
+ responses: {
4448
+ 200: {
4449
+ headers: {
4450
+ [name: string]: unknown;
4451
+ };
4452
+ content: {
4453
+ "application/json": components["schemas"]["VerifyOtpResponseDto"];
4454
+ };
4455
+ };
4456
+ 400: {
4457
+ headers: {
4458
+ [name: string]: unknown;
4459
+ };
4460
+ content: {
4461
+ "application/json": components["schemas"]["ErrorDto"];
4462
+ };
4463
+ };
4464
+ 404: {
4465
+ headers: {
4466
+ [name: string]: unknown;
4467
+ };
4468
+ content: {
4469
+ "application/json": components["schemas"]["ErrorDto"];
4470
+ };
4471
+ };
4472
+ };
4473
+ };
4474
+ MiExpoController_loginWithPhone: {
4475
+ parameters: {
4476
+ query?: never;
4477
+ header?: never;
4478
+ path?: never;
4479
+ cookie?: never;
4480
+ };
4481
+ requestBody: {
4482
+ content: {
4483
+ "application/json": components["schemas"]["LoginWithPhoneDto"];
4484
+ };
4485
+ };
4486
+ responses: {
4487
+ 200: {
4488
+ headers: {
4489
+ [name: string]: unknown;
4490
+ };
4491
+ content: {
4492
+ "application/json": components["schemas"]["LoginWithPhoneResponseDto"];
4493
+ };
4494
+ };
4495
+ 401: {
4496
+ headers: {
4497
+ [name: string]: unknown;
4498
+ };
4499
+ content: {
4500
+ "application/json": components["schemas"]["ErrorDto"];
4501
+ };
4502
+ };
4503
+ };
4504
+ };
4505
+ MiExpoController_me: {
4506
+ parameters: {
4507
+ query?: never;
4508
+ header?: never;
4509
+ path?: never;
4510
+ cookie?: never;
4511
+ };
4512
+ requestBody?: never;
4513
+ responses: {
4514
+ 200: {
4515
+ headers: {
4516
+ [name: string]: unknown;
4517
+ };
4518
+ content: {
4519
+ "application/json": components["schemas"]["GetMiExpoMeResponseDto"];
4520
+ };
4521
+ };
4522
+ };
4523
+ };
4524
+ MiExpoController_updateMe: {
4525
+ parameters: {
4526
+ query?: never;
4527
+ header?: never;
4528
+ path?: never;
4529
+ cookie?: never;
4530
+ };
4531
+ requestBody: {
4532
+ content: {
4533
+ "application/json": components["schemas"]["UpdateMiExpoMeDto"];
4534
+ };
4535
+ };
4536
+ responses: {
4537
+ 200: {
4538
+ headers: {
4539
+ [name: string]: unknown;
4540
+ };
4541
+ content: {
4542
+ "application/json": components["schemas"]["GetMiExpoMeResponseDto"];
4543
+ };
4544
+ };
4545
+ };
4546
+ };
4547
+ MiExpoController_loginUsernamePassword: {
4548
+ parameters: {
4549
+ query?: never;
4550
+ header?: never;
4551
+ path?: never;
4552
+ cookie?: never;
4553
+ };
4554
+ requestBody: {
4555
+ content: {
4556
+ "application/json": components["schemas"]["LoginMiExpoDto"];
4557
+ };
4558
+ };
4559
+ responses: {
4560
+ 200: {
4561
+ headers: {
4562
+ [name: string]: unknown;
4563
+ };
4564
+ content: {
4565
+ "application/json": components["schemas"]["LoginMiExpoResponseDto"];
4566
+ };
4567
+ };
4568
+ 401: {
4569
+ headers: {
4570
+ [name: string]: unknown;
4571
+ };
4572
+ content: {
4573
+ "application/json": components["schemas"]["ErrorDto"];
4574
+ };
4575
+ };
4576
+ };
4577
+ };
4266
4578
  }