expo-backend-types 0.30.0-EXPO-308-auth.26 → 0.30.0-EXPO-309-Migrar-Configuracion.5

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 (90) hide show
  1. package/dist/src/exports.d.ts +1 -3
  2. package/dist/src/exports.js +1 -3
  3. package/dist/src/i18n/es.d.ts +0 -20
  4. package/dist/src/i18n/es.js +0 -20
  5. package/dist/src/i18n/es.js.map +1 -1
  6. package/dist/src/location/dto/find-all-location.dto.js +2 -2
  7. package/dist/src/{schema/location.schema.js → location/dto/location.dto.js} +2 -2
  8. package/dist/src/location/exports.d.ts +1 -0
  9. package/dist/src/location/exports.js +1 -0
  10. package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
  11. package/dist/src/message/dto/non-read-messages.dto.js +2 -2
  12. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
  13. package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
  14. package/dist/src/profile/dto/create-profile.dto.d.ts +14 -48
  15. package/dist/src/profile/dto/create-profile.dto.js +7 -9
  16. package/dist/src/profile/dto/delete-profile.dto.d.ts +6 -30
  17. package/dist/src/profile/dto/delete-profile.dto.js +2 -2
  18. package/dist/src/profile/dto/find-all-profile.dto.d.ts +7 -47
  19. package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
  20. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +11 -75
  21. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
  22. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +6 -30
  23. package/dist/src/profile/dto/find-by-id-profile.dto.js +5 -5
  24. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +6 -30
  25. package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
  26. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +7 -47
  27. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
  28. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +7 -47
  29. package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
  30. package/dist/src/profile/dto/find-trash.dto.d.ts +3 -7
  31. package/dist/src/profile/dto/find-trash.dto.js +2 -2
  32. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +7 -47
  33. package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
  34. package/dist/src/profile/dto/profile.dto.d.ts +30 -44
  35. package/dist/src/profile/dto/profile.dto.js +63 -6
  36. package/dist/src/profile/dto/update-profile.dto.d.ts +12 -54
  37. package/dist/src/profile/dto/update-profile.dto.js +6 -9
  38. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +4 -2
  39. package/dist/src/shared/dto-modification/zod-without-dates.js +0 -8
  40. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
  41. package/dist/src/tag/dto/massive-allocation.dto.d.ts +7 -47
  42. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  43. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +7 -47
  44. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  45. package/dist/types/prisma-schema/edge.js +24 -38
  46. package/dist/types/prisma-schema/index-browser.js +9 -18
  47. package/dist/types/prisma-schema/index.d.ts +553 -3904
  48. package/dist/types/prisma-schema/index.js +24 -38
  49. package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  50. package/dist/types/prisma-schema/package.json +2 -2
  51. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
  52. package/dist/types/prisma-schema/runtime/edge.js +18 -18
  53. package/dist/types/prisma-schema/runtime/index-browser.d.ts +1 -1
  54. package/dist/types/prisma-schema/runtime/library.d.ts +133 -177
  55. package/dist/types/prisma-schema/runtime/library.js +51 -51
  56. package/dist/types/prisma-schema/runtime/react-native.js +26 -26
  57. package/dist/types/prisma-schema/runtime/wasm.js +19 -19
  58. package/dist/types/prisma-schema/schema.prisma +1 -22
  59. package/dist/types/prisma-schema/wasm.js +9 -18
  60. package/dist/types/schema.d.ts +6 -429
  61. package/package.json +17 -23
  62. package/dist/src/image/constants.d.ts +0 -5
  63. package/dist/src/image/constants.js +0 -9
  64. package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -337
  65. package/dist/src/mi-expo/dto/get-me.dto.js +0 -16
  66. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +0 -311
  67. package/dist/src/mi-expo/dto/login-with-phone.dto.js +0 -29
  68. package/dist/src/mi-expo/dto/login.dto.d.ts +0 -327
  69. package/dist/src/mi-expo/dto/login.dto.js +0 -31
  70. package/dist/src/mi-expo/dto/update-me.dto.d.ts +0 -352
  71. package/dist/src/mi-expo/dto/update-me.dto.js +0 -31
  72. package/dist/src/mi-expo/exports.d.ts +0 -4
  73. package/dist/src/mi-expo/exports.js +0 -21
  74. package/dist/src/otp/constants.d.ts +0 -2
  75. package/dist/src/otp/constants.js +0 -6
  76. package/dist/src/otp/dto/send-otp.dto.d.ts +0 -158
  77. package/dist/src/otp/dto/send-otp.dto.js +0 -35
  78. package/dist/src/otp/dto/verify-otp.dto.d.ts +0 -455
  79. package/dist/src/otp/dto/verify-otp.dto.js +0 -46
  80. package/dist/src/otp/exports.d.ts +0 -2
  81. package/dist/src/otp/exports.js +0 -19
  82. package/dist/src/prisma/constants.d.ts +0 -1
  83. package/dist/src/prisma/constants.js +0 -5
  84. package/dist/src/schema/exports.d.ts +0 -2
  85. package/dist/src/schema/exports.js +0 -19
  86. package/dist/src/schema/profile.schema.d.ts +0 -74
  87. package/dist/src/schema/profile.schema.js +0 -133
  88. package/dist/src/webhook/constants.d.ts +0 -1
  89. package/dist/src/webhook/constants.js +0 -5
  90. /package/dist/src/{schema/location.schema.d.ts → location/dto/location.dto.d.ts} +0 -0
@@ -44,15 +44,7 @@ model Profile {
44
44
  id String @id @default(uuid())
45
45
  shortId Int @map("short_id")
46
46
 
47
- firstTimeMiExpo Boolean @default(true) @map("first_time_mi_expo")
48
-
49
- username String? @unique
50
- password String?
51
-
52
- phoneNumber String @unique @map("phone_number")
53
- isPhoneVerified Boolean @default(false) @map("is_phone_verified")
54
- otp Otp[]
55
-
47
+ phoneNumber String @unique @map("phone_number")
56
48
  secondaryPhoneNumber String? @unique @map("secondary_phone_number")
57
49
  fullName String @map("full_name")
58
50
  firstName String? @map("first_name")
@@ -83,19 +75,6 @@ model Profile {
83
75
  @@map("PROFILE")
84
76
  }
85
77
 
86
- model Otp {
87
- id String @id @default(uuid())
88
- code String
89
- ownerPhoneNumber String @map("account_id")
90
- owner Profile @relation(fields: [ownerPhoneNumber], references: [phoneNumber])
91
- expiresAt DateTime @map("expires_at")
92
-
93
- created_at DateTime @default(now())
94
- updated_at DateTime @updatedAt
95
-
96
- @@map("OTP")
97
- }
98
-
99
78
  model Location {
100
79
  id String @id @default(uuid())
101
80
  latitude Float
@@ -17,12 +17,12 @@ exports.Prisma = Prisma
17
17
  exports.$Enums = {}
18
18
 
19
19
  /**
20
- * Prisma Client JS version: 6.3.1
21
- * Query Engine version: acc0b9dd43eb689cbd20c9470515d719db10d0b0
20
+ * Prisma Client JS version: 5.22.0
21
+ * Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
22
22
  */
23
23
  Prisma.prismaVersion = {
24
- client: "6.3.1",
25
- engine: "acc0b9dd43eb689cbd20c9470515d719db10d0b0"
24
+ client: "5.22.0",
25
+ engine: "605197351a3c8bdd595af2d2a9bc3025bca48ea2"
26
26
  }
27
27
 
28
28
  Prisma.PrismaClientKnownRequestError = () => {
@@ -50,6 +50,11 @@ Prisma.PrismaClientValidationError = () => {
50
50
  throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
51
51
  In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
52
52
  )}
53
+ Prisma.NotFoundError = () => {
54
+ const runtimeName = getRuntime().prettyName;
55
+ throw new Error(`NotFoundError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
56
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
57
+ )}
53
58
  Prisma.Decimal = Decimal
54
59
 
55
60
  /**
@@ -131,11 +136,7 @@ exports.Prisma.AccountScalarFieldEnum = {
131
136
  exports.Prisma.ProfileScalarFieldEnum = {
132
137
  id: 'id',
133
138
  shortId: 'shortId',
134
- firstTimeMiExpo: 'firstTimeMiExpo',
135
- username: 'username',
136
- password: 'password',
137
139
  phoneNumber: 'phoneNumber',
138
- isPhoneVerified: 'isPhoneVerified',
139
140
  secondaryPhoneNumber: 'secondaryPhoneNumber',
140
141
  fullName: 'fullName',
141
142
  firstName: 'firstName',
@@ -154,15 +155,6 @@ exports.Prisma.ProfileScalarFieldEnum = {
154
155
  updated_at: 'updated_at'
155
156
  };
156
157
 
157
- exports.Prisma.OtpScalarFieldEnum = {
158
- id: 'id',
159
- code: 'code',
160
- ownerPhoneNumber: 'ownerPhoneNumber',
161
- expiresAt: 'expiresAt',
162
- created_at: 'created_at',
163
- updated_at: 'updated_at'
164
- };
165
-
166
158
  exports.Prisma.LocationScalarFieldEnum = {
167
159
  id: 'id',
168
160
  latitude: 'latitude',
@@ -308,7 +300,6 @@ exports.TemplateCategory = exports.$Enums.TemplateCategory = {
308
300
  exports.Prisma.ModelName = {
309
301
  Account: 'Account',
310
302
  Profile: 'Profile',
311
- Otp: 'Otp',
312
303
  Location: 'Location',
313
304
  Comment: 'Comment',
314
305
  Tag: 'Tag',
@@ -8,7 +8,7 @@ export interface paths {
8
8
  };
9
9
  get?: never;
10
10
  put?: never;
11
- post: operations["AuthController_loginAccount"];
11
+ post: operations["AuthController_loginUser"];
12
12
  delete?: never;
13
13
  options?: never;
14
14
  head?: never;
@@ -742,9 +742,9 @@ export interface paths {
742
742
  path?: never;
743
743
  cookie?: never;
744
744
  };
745
- get: operations["CsvController_downloadProfiles"];
745
+ get?: never;
746
746
  put?: never;
747
- post?: never;
747
+ post: operations["CsvController_downloadProfiles"];
748
748
  delete?: never;
749
749
  options?: never;
750
750
  head?: never;
@@ -758,9 +758,9 @@ export interface paths {
758
758
  path?: never;
759
759
  cookie?: never;
760
760
  };
761
- get: operations["CsvController_downloadAllTables"];
761
+ get?: never;
762
762
  put?: never;
763
- post?: never;
763
+ post: operations["CsvController_downloadAllTables"];
764
764
  delete?: never;
765
765
  options?: never;
766
766
  head?: never;
@@ -943,70 +943,6 @@ 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
- };
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
946
  }
1011
947
  export type webhooks = Record<string, never>;
1012
948
  export interface components {
@@ -1131,11 +1067,7 @@ export interface components {
1131
1067
  profiles: {
1132
1068
  id: string;
1133
1069
  shortId: number;
1134
- firstTimeMiExpo: boolean;
1135
- username: string | null;
1136
- password: string | null;
1137
1070
  phoneNumber: string;
1138
- isPhoneVerified: boolean;
1139
1071
  secondaryPhoneNumber: string | null;
1140
1072
  fullName: string;
1141
1073
  firstName: string | null;
@@ -1162,11 +1094,7 @@ export interface components {
1162
1094
  profiles: {
1163
1095
  id: string;
1164
1096
  shortId: number;
1165
- firstTimeMiExpo: boolean;
1166
- username: string | null;
1167
- password: string | null;
1168
1097
  phoneNumber: string;
1169
- isPhoneVerified: boolean;
1170
1098
  secondaryPhoneNumber: string | null;
1171
1099
  fullName: string;
1172
1100
  firstName: string | null;
@@ -1747,11 +1675,7 @@ export interface components {
1747
1675
  profiles: {
1748
1676
  id: string;
1749
1677
  shortId: number;
1750
- firstTimeMiExpo: boolean;
1751
- username: string | null;
1752
- password: string | null;
1753
1678
  phoneNumber: string;
1754
- isPhoneVerified: boolean;
1755
1679
  secondaryPhoneNumber: string | null;
1756
1680
  fullName: string;
1757
1681
  firstName: string | null;
@@ -1786,11 +1710,7 @@ export interface components {
1786
1710
  profiles: {
1787
1711
  id: string;
1788
1712
  shortId: number;
1789
- firstTimeMiExpo: boolean;
1790
- username: string | null;
1791
- password: string | null;
1792
1713
  phoneNumber: string;
1793
- isPhoneVerified: boolean;
1794
1714
  secondaryPhoneNumber: string | null;
1795
1715
  fullName: string;
1796
1716
  firstName: string | null;
@@ -1843,11 +1763,7 @@ export interface components {
1843
1763
  profiles: {
1844
1764
  id: string;
1845
1765
  shortId: number;
1846
- firstTimeMiExpo: boolean;
1847
- username: string | null;
1848
- password: string | null;
1849
1766
  phoneNumber: string;
1850
- isPhoneVerified: boolean;
1851
1767
  secondaryPhoneNumber: string | null;
1852
1768
  fullName: string;
1853
1769
  firstName: string | null;
@@ -1881,11 +1797,7 @@ export interface components {
1881
1797
  profiles: {
1882
1798
  id: string;
1883
1799
  shortId: number;
1884
- firstTimeMiExpo: boolean;
1885
- username: string | null;
1886
- password: string | null;
1887
1800
  phoneNumber: string;
1888
- isPhoneVerified: boolean;
1889
1801
  secondaryPhoneNumber: string | null;
1890
1802
  fullName: string;
1891
1803
  firstName: string | null;
@@ -1916,11 +1828,7 @@ export interface components {
1916
1828
  [key: string]: {
1917
1829
  id: string;
1918
1830
  shortId: number;
1919
- firstTimeMiExpo: boolean;
1920
- username: string | null;
1921
- password: string | null;
1922
1831
  phoneNumber: string;
1923
- isPhoneVerified: boolean;
1924
1832
  secondaryPhoneNumber: string | null;
1925
1833
  fullName: string;
1926
1834
  firstName: string | null;
@@ -1953,11 +1861,7 @@ export interface components {
1953
1861
  FindByPhoneNumberResponseDto: {
1954
1862
  id: string;
1955
1863
  shortId: number;
1956
- firstTimeMiExpo: boolean;
1957
- username: string | null;
1958
- password: string | null;
1959
1864
  phoneNumber: string;
1960
- isPhoneVerified: boolean;
1961
1865
  secondaryPhoneNumber: string | null;
1962
1866
  fullName: string;
1963
1867
  firstName: string | null;
@@ -1998,8 +1902,6 @@ export interface components {
1998
1902
  phoneNumber: string;
1999
1903
  profilePictureUrl: string | null;
2000
1904
  secondaryPhoneNumber: string | null;
2001
- username: string | null;
2002
- password: string | null;
2003
1905
  comments?: {
2004
1906
  content: string;
2005
1907
  isSolvable: boolean;
@@ -2042,11 +1944,7 @@ export interface components {
2042
1944
  FindByIdProfileResponseDto: {
2043
1945
  id: string;
2044
1946
  shortId: number;
2045
- firstTimeMiExpo: boolean;
2046
- username: string | null;
2047
- password: string | null;
2048
1947
  phoneNumber: string;
2049
- isPhoneVerified: boolean;
2050
1948
  secondaryPhoneNumber: string | null;
2051
1949
  fullName: string;
2052
1950
  firstName: string | null;
@@ -2100,11 +1998,7 @@ export interface components {
2100
1998
  DeleteProfileResponseDto: {
2101
1999
  id: string;
2102
2000
  shortId: number;
2103
- firstTimeMiExpo: boolean;
2104
- username: string | null;
2105
- password: string | null;
2106
2001
  phoneNumber: string;
2107
- isPhoneVerified: boolean;
2108
2002
  secondaryPhoneNumber: string | null;
2109
2003
  fullName: string;
2110
2004
  firstName: string | null;
@@ -2135,9 +2029,6 @@ export interface components {
2135
2029
  secondaryPhoneNumber?: string | null;
2136
2030
  isInTrash?: boolean;
2137
2031
  movedToTrashDate?: string | null;
2138
- username?: string | null;
2139
- password?: string | null;
2140
- firstTimeMiExpo?: boolean;
2141
2032
  residence?: {
2142
2033
  city: string;
2143
2034
  country: string;
@@ -2264,169 +2155,6 @@ export interface components {
2264
2155
  GetLastMessageTimestampResponseDto: {
2265
2156
  timestamp: number;
2266
2157
  };
2267
- SendOtpDto: {
2268
- phoneNumber: string;
2269
- };
2270
- SendOtpResponseDto: {
2271
- response: {
2272
- hasVerified: boolean;
2273
- hasUsername: boolean;
2274
- success: true;
2275
- } | {
2276
- hasVerified: boolean;
2277
- hasUsername: boolean;
2278
- success: false;
2279
- message: string;
2280
- };
2281
- };
2282
- VerifyOtpDto: {
2283
- phoneNumber: string;
2284
- code: string;
2285
- };
2286
- VerifyOtpResponseDto: {
2287
- success: boolean;
2288
- profile: {
2289
- id: string;
2290
- shortId: number;
2291
- firstTimeMiExpo: boolean;
2292
- username: string | null;
2293
- password: string | null;
2294
- phoneNumber: string;
2295
- isPhoneVerified: boolean;
2296
- secondaryPhoneNumber: string | null;
2297
- fullName: string;
2298
- firstName: string | null;
2299
- gender: string | null;
2300
- birthDate: string | null;
2301
- profilePictureUrl: string | null;
2302
- instagram: string | null;
2303
- mail: string | null;
2304
- dni: string | null;
2305
- alternativeNames: string[];
2306
- birthLocationId: string | null;
2307
- residenceLocationId: string | null;
2308
- isInTrash: boolean;
2309
- movedToTrashDate: string | null;
2310
- created_at: string;
2311
- updated_at: string;
2312
- residenceLocation: {
2313
- city: string;
2314
- country: string;
2315
- latitude: number;
2316
- longitude: number;
2317
- } | null;
2318
- birthLocation: {
2319
- city: string;
2320
- country: string;
2321
- latitude: number;
2322
- longitude: number;
2323
- } | null;
2324
- };
2325
- };
2326
- LoginWithPhoneDto: {
2327
- phoneNumber: string;
2328
- };
2329
- LoginWithPhoneResponseDto: {
2330
- tokens: {
2331
- accessToken: string;
2332
- refreshToken: string;
2333
- expiresIn: number;
2334
- };
2335
- profile: {
2336
- id: string;
2337
- shortId: number;
2338
- firstTimeMiExpo: boolean;
2339
- username: string | null;
2340
- phoneNumber: string;
2341
- isPhoneVerified: boolean;
2342
- secondaryPhoneNumber: string | null;
2343
- fullName: string;
2344
- firstName: string | null;
2345
- gender: string | null;
2346
- birthDate: string | null;
2347
- profilePictureUrl: string | null;
2348
- instagram: string | null;
2349
- mail: string | null;
2350
- dni: string | null;
2351
- alternativeNames: string[];
2352
- birthLocationId: string | null;
2353
- residenceLocationId: string | null;
2354
- isInTrash: boolean;
2355
- movedToTrashDate: string | null;
2356
- created_at: string;
2357
- updated_at: string;
2358
- };
2359
- };
2360
- GetMiExpoMeResponseDto: {
2361
- id: string;
2362
- shortId: number;
2363
- firstTimeMiExpo: boolean;
2364
- username: string | null;
2365
- phoneNumber: string;
2366
- isPhoneVerified: boolean;
2367
- secondaryPhoneNumber: string | null;
2368
- fullName: string;
2369
- firstName: string | null;
2370
- gender: string | null;
2371
- birthDate: string | null;
2372
- profilePictureUrl: string | null;
2373
- instagram: string | null;
2374
- mail: string | null;
2375
- dni: string | null;
2376
- alternativeNames: string[];
2377
- birthLocationId: string | null;
2378
- residenceLocationId: string | null;
2379
- isInTrash: boolean;
2380
- movedToTrashDate: string | null;
2381
- created_at: string;
2382
- updated_at: string;
2383
- residenceLocation: {
2384
- id: string;
2385
- latitude: number;
2386
- longitude: number;
2387
- country: string;
2388
- state: string;
2389
- city: string;
2390
- created_at: string;
2391
- updated_at: string;
2392
- } | null;
2393
- birthLocation: {
2394
- id: string;
2395
- latitude: number;
2396
- longitude: number;
2397
- country: string;
2398
- state: string;
2399
- city: string;
2400
- created_at: string;
2401
- updated_at: string;
2402
- } | null;
2403
- };
2404
- UpdateMiExpoMeDto: {
2405
- birthDate: string | null;
2406
- dni: string | null;
2407
- fullName: string;
2408
- gender: string | null;
2409
- instagram: string | null;
2410
- mail: string | null;
2411
- password: string | null;
2412
- phoneNumber: string;
2413
- secondaryPhoneNumber: string | null;
2414
- username: string | null;
2415
- birth: {
2416
- city: string;
2417
- country: string;
2418
- latitude: number;
2419
- longitude: number;
2420
- state: string;
2421
- };
2422
- residence: {
2423
- city: string;
2424
- country: string;
2425
- latitude: number;
2426
- longitude: number;
2427
- state: string;
2428
- };
2429
- };
2430
2158
  };
2431
2159
  responses: never;
2432
2160
  parameters: never;
@@ -2436,7 +2164,7 @@ export interface components {
2436
2164
  }
2437
2165
  export type $defs = Record<string, never>;
2438
2166
  export interface operations {
2439
- AuthController_loginAccount: {
2167
+ AuthController_loginUser: {
2440
2168
  parameters: {
2441
2169
  query?: never;
2442
2170
  header?: never;
@@ -4343,155 +4071,4 @@ export interface operations {
4343
4071
  };
4344
4072
  };
4345
4073
  };
4346
- OtpController_sendOtp: {
4347
- parameters: {
4348
- query?: never;
4349
- header?: never;
4350
- path?: never;
4351
- cookie?: never;
4352
- };
4353
- requestBody: {
4354
- content: {
4355
- "application/json": components["schemas"]["SendOtpDto"];
4356
- };
4357
- };
4358
- responses: {
4359
- 200: {
4360
- headers: {
4361
- [name: string]: unknown;
4362
- };
4363
- content: {
4364
- "application/json": components["schemas"]["SendOtpResponseDto"];
4365
- };
4366
- };
4367
- 400: {
4368
- headers: {
4369
- [name: string]: unknown;
4370
- };
4371
- content: {
4372
- "application/json": components["schemas"]["ErrorDto"];
4373
- };
4374
- };
4375
- 404: {
4376
- headers: {
4377
- [name: string]: unknown;
4378
- };
4379
- content: {
4380
- "application/json": components["schemas"]["ErrorDto"];
4381
- };
4382
- };
4383
- };
4384
- };
4385
- OtpController_verifyOtp: {
4386
- parameters: {
4387
- query?: never;
4388
- header?: never;
4389
- path?: never;
4390
- cookie?: never;
4391
- };
4392
- requestBody: {
4393
- content: {
4394
- "application/json": components["schemas"]["VerifyOtpDto"];
4395
- };
4396
- };
4397
- responses: {
4398
- 200: {
4399
- headers: {
4400
- [name: string]: unknown;
4401
- };
4402
- content: {
4403
- "application/json": components["schemas"]["VerifyOtpResponseDto"];
4404
- };
4405
- };
4406
- 400: {
4407
- headers: {
4408
- [name: string]: unknown;
4409
- };
4410
- content: {
4411
- "application/json": components["schemas"]["ErrorDto"];
4412
- };
4413
- };
4414
- 404: {
4415
- headers: {
4416
- [name: string]: unknown;
4417
- };
4418
- content: {
4419
- "application/json": components["schemas"]["ErrorDto"];
4420
- };
4421
- };
4422
- };
4423
- };
4424
- MiExpoController_loginWithPhone: {
4425
- parameters: {
4426
- query?: never;
4427
- header?: never;
4428
- path?: never;
4429
- cookie?: never;
4430
- };
4431
- requestBody: {
4432
- content: {
4433
- "application/json": components["schemas"]["LoginWithPhoneDto"];
4434
- };
4435
- };
4436
- responses: {
4437
- 200: {
4438
- headers: {
4439
- [name: string]: unknown;
4440
- };
4441
- content: {
4442
- "application/json": components["schemas"]["LoginWithPhoneResponseDto"];
4443
- };
4444
- };
4445
- 401: {
4446
- headers: {
4447
- [name: string]: unknown;
4448
- };
4449
- content: {
4450
- "application/json": components["schemas"]["ErrorDto"];
4451
- };
4452
- };
4453
- };
4454
- };
4455
- MiExpoController_me: {
4456
- parameters: {
4457
- query?: never;
4458
- header?: never;
4459
- path?: never;
4460
- cookie?: never;
4461
- };
4462
- requestBody?: never;
4463
- responses: {
4464
- 200: {
4465
- headers: {
4466
- [name: string]: unknown;
4467
- };
4468
- content: {
4469
- "application/json": components["schemas"]["GetMiExpoMeResponseDto"];
4470
- };
4471
- };
4472
- };
4473
- };
4474
- MiExpoController_updateMe: {
4475
- parameters: {
4476
- query?: never;
4477
- header?: never;
4478
- path?: never;
4479
- cookie?: never;
4480
- };
4481
- requestBody: {
4482
- content: {
4483
- "application/json": components["schemas"]["UpdateMiExpoMeDto"];
4484
- };
4485
- };
4486
- responses: {
4487
- 200: {
4488
- headers: {
4489
- [name: string]: unknown;
4490
- };
4491
- content: {
4492
- "application/json": components["schemas"]["GetMiExpoMeResponseDto"];
4493
- };
4494
- };
4495
- };
4496
- };
4497
4074
  }