expo-backend-types 0.29.0 → 0.30.0-EXPO-308-auth.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 (36) hide show
  1. package/dist/src/exports.d.ts +1 -0
  2. package/dist/src/exports.js +1 -0
  3. package/dist/src/i18n/es.d.ts +17 -0
  4. package/dist/src/i18n/es.js +17 -0
  5. package/dist/src/i18n/es.js.map +1 -1
  6. package/dist/src/image/dto/update-image.dto.js +1 -1
  7. package/dist/src/otp/dto/send-otp.dto.d.ts +34 -0
  8. package/dist/src/otp/dto/send-otp.dto.js +22 -0
  9. package/dist/src/otp/dto/verify-otp.dto.d.ts +266 -0
  10. package/dist/src/otp/dto/verify-otp.dto.js +28 -0
  11. package/dist/src/otp/exports.d.ts +2 -0
  12. package/dist/src/otp/exports.js +19 -0
  13. package/dist/src/profile/dto/create-profile.dto.d.ts +8 -0
  14. package/dist/src/profile/dto/delete-profile.dto.d.ts +12 -0
  15. package/dist/src/profile/dto/find-all-profile.dto.d.ts +20 -0
  16. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +32 -0
  17. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +12 -0
  18. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +12 -0
  19. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +20 -0
  20. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +20 -0
  21. package/dist/src/profile/dto/find-trash.dto.d.ts +2 -0
  22. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +20 -0
  23. package/dist/src/profile/dto/profile.dto.d.ts +6 -0
  24. package/dist/src/profile/dto/profile.dto.js +2 -0
  25. package/dist/src/profile/dto/update-profile.dto.d.ts +12 -0
  26. package/dist/src/tag/dto/massive-allocation.dto.d.ts +20 -0
  27. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +20 -0
  28. package/dist/types/prisma-schema/edge.js +15 -3
  29. package/dist/types/prisma-schema/index-browser.js +12 -0
  30. package/dist/types/prisma-schema/index.d.ts +1649 -9
  31. package/dist/types/prisma-schema/index.js +15 -3
  32. package/dist/types/prisma-schema/package.json +1 -1
  33. package/dist/types/prisma-schema/schema.prisma +19 -1
  34. package/dist/types/prisma-schema/wasm.js +12 -0
  35. package/dist/types/schema.d.ts +102 -1
  36. package/package.json +1 -1
@@ -943,6 +943,38 @@ export interface paths {
943
943
  patch?: never;
944
944
  trace?: never;
945
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
+ };
946
978
  }
947
979
  export type webhooks = Record<string, never>;
948
980
  export interface components {
@@ -1068,6 +1100,7 @@ export interface components {
1068
1100
  id: string;
1069
1101
  shortId: number;
1070
1102
  phoneNumber: string;
1103
+ isPhoneVerified: boolean;
1071
1104
  secondaryPhoneNumber: string | null;
1072
1105
  fullName: string;
1073
1106
  firstName: string | null;
@@ -1082,6 +1115,7 @@ export interface components {
1082
1115
  residenceLocationId: string | null;
1083
1116
  isInTrash: boolean;
1084
1117
  movedToTrashDate: string | null;
1118
+ firstTimeMiExpo: boolean;
1085
1119
  created_at: string;
1086
1120
  updated_at: string;
1087
1121
  }[];
@@ -1095,6 +1129,7 @@ export interface components {
1095
1129
  id: string;
1096
1130
  shortId: number;
1097
1131
  phoneNumber: string;
1132
+ isPhoneVerified: boolean;
1098
1133
  secondaryPhoneNumber: string | null;
1099
1134
  fullName: string;
1100
1135
  firstName: string | null;
@@ -1109,6 +1144,7 @@ export interface components {
1109
1144
  residenceLocationId: string | null;
1110
1145
  isInTrash: boolean;
1111
1146
  movedToTrashDate: string | null;
1147
+ firstTimeMiExpo: boolean;
1112
1148
  created_at: string;
1113
1149
  updated_at: string;
1114
1150
  }[];
@@ -1676,6 +1712,7 @@ export interface components {
1676
1712
  id: string;
1677
1713
  shortId: number;
1678
1714
  phoneNumber: string;
1715
+ isPhoneVerified: boolean;
1679
1716
  secondaryPhoneNumber: string | null;
1680
1717
  fullName: string;
1681
1718
  firstName: string | null;
@@ -1690,6 +1727,7 @@ export interface components {
1690
1727
  residenceLocationId: string | null;
1691
1728
  isInTrash: boolean;
1692
1729
  movedToTrashDate: string | null;
1730
+ firstTimeMiExpo: boolean;
1693
1731
  created_at: string;
1694
1732
  updated_at: string;
1695
1733
  tags: {
@@ -1711,6 +1749,7 @@ export interface components {
1711
1749
  id: string;
1712
1750
  shortId: number;
1713
1751
  phoneNumber: string;
1752
+ isPhoneVerified: boolean;
1714
1753
  secondaryPhoneNumber: string | null;
1715
1754
  fullName: string;
1716
1755
  firstName: string | null;
@@ -1725,6 +1764,7 @@ export interface components {
1725
1764
  residenceLocationId: string | null;
1726
1765
  isInTrash: boolean;
1727
1766
  movedToTrashDate: string | null;
1767
+ firstTimeMiExpo: boolean;
1728
1768
  created_at: string;
1729
1769
  updated_at: string;
1730
1770
  tags: {
@@ -1764,6 +1804,7 @@ export interface components {
1764
1804
  id: string;
1765
1805
  shortId: number;
1766
1806
  phoneNumber: string;
1807
+ isPhoneVerified: boolean;
1767
1808
  secondaryPhoneNumber: string | null;
1768
1809
  fullName: string;
1769
1810
  firstName: string | null;
@@ -1778,6 +1819,7 @@ export interface components {
1778
1819
  residenceLocationId: string | null;
1779
1820
  isInTrash: boolean;
1780
1821
  movedToTrashDate: string | null;
1822
+ firstTimeMiExpo: boolean;
1781
1823
  created_at: string;
1782
1824
  updated_at: string;
1783
1825
  tags: {
@@ -1798,6 +1840,7 @@ export interface components {
1798
1840
  id: string;
1799
1841
  shortId: number;
1800
1842
  phoneNumber: string;
1843
+ isPhoneVerified: boolean;
1801
1844
  secondaryPhoneNumber: string | null;
1802
1845
  fullName: string;
1803
1846
  firstName: string | null;
@@ -1812,6 +1855,7 @@ export interface components {
1812
1855
  residenceLocationId: string | null;
1813
1856
  isInTrash: boolean;
1814
1857
  movedToTrashDate: string | null;
1858
+ firstTimeMiExpo: boolean;
1815
1859
  created_at: string;
1816
1860
  updated_at: string;
1817
1861
  tags: {
@@ -1829,6 +1873,7 @@ export interface components {
1829
1873
  id: string;
1830
1874
  shortId: number;
1831
1875
  phoneNumber: string;
1876
+ isPhoneVerified: boolean;
1832
1877
  secondaryPhoneNumber: string | null;
1833
1878
  fullName: string;
1834
1879
  firstName: string | null;
@@ -1843,6 +1888,7 @@ export interface components {
1843
1888
  residenceLocationId: string | null;
1844
1889
  isInTrash: boolean;
1845
1890
  movedToTrashDate: string | null;
1891
+ firstTimeMiExpo: boolean;
1846
1892
  created_at: string;
1847
1893
  updated_at: string;
1848
1894
  tags: {
@@ -1862,6 +1908,7 @@ export interface components {
1862
1908
  id: string;
1863
1909
  shortId: number;
1864
1910
  phoneNumber: string;
1911
+ isPhoneVerified: boolean;
1865
1912
  secondaryPhoneNumber: string | null;
1866
1913
  fullName: string;
1867
1914
  firstName: string | null;
@@ -1876,6 +1923,7 @@ export interface components {
1876
1923
  residenceLocationId: string | null;
1877
1924
  isInTrash: boolean;
1878
1925
  movedToTrashDate: string | null;
1926
+ firstTimeMiExpo: boolean;
1879
1927
  created_at: string;
1880
1928
  updated_at: string;
1881
1929
  };
@@ -1945,6 +1993,7 @@ export interface components {
1945
1993
  id: string;
1946
1994
  shortId: number;
1947
1995
  phoneNumber: string;
1996
+ isPhoneVerified: boolean;
1948
1997
  secondaryPhoneNumber: string | null;
1949
1998
  fullName: string;
1950
1999
  firstName: string | null;
@@ -1959,6 +2008,7 @@ export interface components {
1959
2008
  residenceLocationId: string | null;
1960
2009
  isInTrash: boolean;
1961
2010
  movedToTrashDate: string | null;
2011
+ firstTimeMiExpo: boolean;
1962
2012
  created_at: string;
1963
2013
  updated_at: string;
1964
2014
  residenceLocation: {
@@ -1999,6 +2049,7 @@ export interface components {
1999
2049
  id: string;
2000
2050
  shortId: number;
2001
2051
  phoneNumber: string;
2052
+ isPhoneVerified: boolean;
2002
2053
  secondaryPhoneNumber: string | null;
2003
2054
  fullName: string;
2004
2055
  firstName: string | null;
@@ -2013,6 +2064,7 @@ export interface components {
2013
2064
  residenceLocationId: string | null;
2014
2065
  isInTrash: boolean;
2015
2066
  movedToTrashDate: string | null;
2067
+ firstTimeMiExpo: boolean;
2016
2068
  created_at: string;
2017
2069
  updated_at: string;
2018
2070
  };
@@ -2046,7 +2098,7 @@ export interface components {
2046
2098
  tags?: string[];
2047
2099
  };
2048
2100
  UpdateImageDto: {
2049
- image?: string;
2101
+ image?: Record<string, never>;
2050
2102
  };
2051
2103
  UpdateImageResponseDto: {
2052
2104
  message: string;
@@ -2155,6 +2207,13 @@ export interface components {
2155
2207
  GetLastMessageTimestampResponseDto: {
2156
2208
  timestamp: number;
2157
2209
  };
2210
+ SendOtpDto: {
2211
+ phoneNumber: string;
2212
+ };
2213
+ VerifyOtpDto: {
2214
+ phoneNumber: string;
2215
+ code: string;
2216
+ };
2158
2217
  };
2159
2218
  responses: never;
2160
2219
  parameters: never;
@@ -4071,4 +4130,46 @@ export interface operations {
4071
4130
  };
4072
4131
  };
4073
4132
  };
4133
+ OtpController_sendOtp: {
4134
+ parameters: {
4135
+ query?: never;
4136
+ header?: never;
4137
+ path?: never;
4138
+ cookie?: never;
4139
+ };
4140
+ requestBody: {
4141
+ content: {
4142
+ "application/json": components["schemas"]["SendOtpDto"];
4143
+ };
4144
+ };
4145
+ responses: {
4146
+ 201: {
4147
+ headers: {
4148
+ [name: string]: unknown;
4149
+ };
4150
+ content?: never;
4151
+ };
4152
+ };
4153
+ };
4154
+ OtpController_verifyOtp: {
4155
+ parameters: {
4156
+ query?: never;
4157
+ header?: never;
4158
+ path?: never;
4159
+ cookie?: never;
4160
+ };
4161
+ requestBody: {
4162
+ content: {
4163
+ "application/json": components["schemas"]["VerifyOtpDto"];
4164
+ };
4165
+ };
4166
+ responses: {
4167
+ 201: {
4168
+ headers: {
4169
+ [name: string]: unknown;
4170
+ };
4171
+ content?: never;
4172
+ };
4173
+ };
4174
+ };
4074
4175
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.29.0",
3
+ "version": "0.30.0-EXPO-308-auth.2",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,