expo-backend-types 0.31.0 → 0.32.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.
- package/dist/src/exports.d.ts +3 -1
- package/dist/src/exports.js +3 -1
- package/dist/src/i18n/es.d.ts +20 -0
- package/dist/src/i18n/es.js +20 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/image/constants.d.ts +5 -0
- package/dist/src/image/constants.js +9 -0
- package/dist/src/location/dto/find-all-location.dto.js +2 -2
- package/dist/src/location/exports.d.ts +0 -1
- package/dist/src/location/exports.js +0 -1
- package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
- package/dist/src/message/dto/non-read-messages.dto.js +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +337 -0
- package/dist/src/mi-expo/dto/get-me.dto.js +16 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +311 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.js +29 -0
- package/dist/src/mi-expo/dto/login.dto.d.ts +327 -0
- package/dist/src/mi-expo/dto/login.dto.js +31 -0
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +352 -0
- package/dist/src/mi-expo/dto/update-me.dto.js +31 -0
- package/dist/src/mi-expo/exports.d.ts +4 -0
- package/dist/src/mi-expo/exports.js +21 -0
- package/dist/src/otp/constants.d.ts +2 -0
- package/dist/src/otp/constants.js +6 -0
- package/dist/src/otp/dto/send-otp.dto.d.ts +158 -0
- package/dist/src/otp/dto/send-otp.dto.js +35 -0
- package/dist/src/otp/dto/verify-otp.dto.d.ts +455 -0
- package/dist/src/otp/dto/verify-otp.dto.js +46 -0
- package/dist/src/otp/exports.d.ts +2 -0
- package/dist/src/otp/exports.js +19 -0
- package/dist/src/prisma/constants.d.ts +1 -0
- package/dist/src/prisma/constants.js +5 -0
- package/dist/src/profile/dto/create-profile.dto.d.ts +48 -14
- package/dist/src/profile/dto/create-profile.dto.js +9 -7
- package/dist/src/profile/dto/delete-profile.dto.d.ts +30 -6
- package/dist/src/profile/dto/delete-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +75 -11
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +32 -13
- package/dist/src/profile/dto/find-by-id-profile.dto.js +7 -5
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +30 -6
- package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-trash.dto.d.ts +7 -3
- package/dist/src/profile/dto/find-trash.dto.js +2 -2
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
- package/dist/src/profile/dto/profile.dto.d.ts +44 -30
- package/dist/src/profile/dto/profile.dto.js +6 -63
- package/dist/src/profile/dto/update-profile.dto.d.ts +54 -12
- package/dist/src/profile/dto/update-profile.dto.js +9 -6
- package/dist/src/schema/exports.d.ts +2 -0
- package/dist/src/schema/exports.js +19 -0
- package/dist/src/{location/dto/location.dto.js → schema/location.schema.js} +2 -2
- package/dist/src/schema/profile.schema.d.ts +74 -0
- package/dist/src/schema/profile.schema.js +133 -0
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -4
- package/dist/src/shared/dto-modification/zod-without-dates.js +8 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
- package/dist/src/webhook/constants.d.ts +1 -0
- package/dist/src/webhook/constants.js +5 -0
- package/dist/types/prisma-schema/edge.js +38 -24
- package/dist/types/prisma-schema/index-browser.js +18 -9
- package/dist/types/prisma-schema/index.d.ts +3871 -510
- package/dist/types/prisma-schema/index.js +38 -24
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +8 -2
- package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
- package/dist/types/prisma-schema/runtime/edge.js +18 -18
- package/dist/types/prisma-schema/runtime/index-browser.d.ts +3 -1
- package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
- package/dist/types/prisma-schema/runtime/library.d.ts +205 -153
- package/dist/types/prisma-schema/runtime/library.js +55 -55
- package/dist/types/prisma-schema/runtime/react-native.js +26 -26
- package/dist/types/prisma-schema/runtime/wasm.js +17 -17
- package/dist/types/prisma-schema/schema.prisma +22 -1
- package/dist/types/prisma-schema/wasm.js +18 -9
- package/dist/types/schema.d.ts +510 -6
- package/package.json +32 -38
- /package/dist/src/{location/dto/location.dto.d.ts → schema/location.schema.d.ts} +0 -0
package/dist/types/schema.d.ts
CHANGED
@@ -8,7 +8,7 @@ export interface paths {
|
|
8
8
|
};
|
9
9
|
get?: never;
|
10
10
|
put?: never;
|
11
|
-
post: operations["
|
11
|
+
post: operations["AuthController_loginAccount"];
|
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
|
745
|
+
get: operations["CsvController_downloadProfiles"];
|
746
746
|
put?: never;
|
747
|
-
post
|
747
|
+
post?: never;
|
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
|
761
|
+
get: operations["CsvController_downloadAllTables"];
|
762
762
|
put?: never;
|
763
|
-
post
|
763
|
+
post?: never;
|
764
764
|
delete?: never;
|
765
765
|
options?: never;
|
766
766
|
head?: never;
|
@@ -943,6 +943,86 @@ 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
|
+
"/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
|
+
};
|
946
1026
|
}
|
947
1027
|
export type webhooks = Record<string, never>;
|
948
1028
|
export interface components {
|
@@ -1067,7 +1147,11 @@ export interface components {
|
|
1067
1147
|
profiles: {
|
1068
1148
|
id: string;
|
1069
1149
|
shortId: number;
|
1150
|
+
firstTimeMiExpo: boolean;
|
1151
|
+
username: string | null;
|
1152
|
+
password: string | null;
|
1070
1153
|
phoneNumber: string;
|
1154
|
+
isPhoneVerified: boolean;
|
1071
1155
|
secondaryPhoneNumber: string | null;
|
1072
1156
|
fullName: string;
|
1073
1157
|
firstName: string | null;
|
@@ -1094,7 +1178,11 @@ export interface components {
|
|
1094
1178
|
profiles: {
|
1095
1179
|
id: string;
|
1096
1180
|
shortId: number;
|
1181
|
+
firstTimeMiExpo: boolean;
|
1182
|
+
username: string | null;
|
1183
|
+
password: string | null;
|
1097
1184
|
phoneNumber: string;
|
1185
|
+
isPhoneVerified: boolean;
|
1098
1186
|
secondaryPhoneNumber: string | null;
|
1099
1187
|
fullName: string;
|
1100
1188
|
firstName: string | null;
|
@@ -1675,7 +1763,11 @@ export interface components {
|
|
1675
1763
|
profiles: {
|
1676
1764
|
id: string;
|
1677
1765
|
shortId: number;
|
1766
|
+
firstTimeMiExpo: boolean;
|
1767
|
+
username: string | null;
|
1768
|
+
password: string | null;
|
1678
1769
|
phoneNumber: string;
|
1770
|
+
isPhoneVerified: boolean;
|
1679
1771
|
secondaryPhoneNumber: string | null;
|
1680
1772
|
fullName: string;
|
1681
1773
|
firstName: string | null;
|
@@ -1710,7 +1802,11 @@ export interface components {
|
|
1710
1802
|
profiles: {
|
1711
1803
|
id: string;
|
1712
1804
|
shortId: number;
|
1805
|
+
firstTimeMiExpo: boolean;
|
1806
|
+
username: string | null;
|
1807
|
+
password: string | null;
|
1713
1808
|
phoneNumber: string;
|
1809
|
+
isPhoneVerified: boolean;
|
1714
1810
|
secondaryPhoneNumber: string | null;
|
1715
1811
|
fullName: string;
|
1716
1812
|
firstName: string | null;
|
@@ -1763,7 +1859,11 @@ export interface components {
|
|
1763
1859
|
profiles: {
|
1764
1860
|
id: string;
|
1765
1861
|
shortId: number;
|
1862
|
+
firstTimeMiExpo: boolean;
|
1863
|
+
username: string | null;
|
1864
|
+
password: string | null;
|
1766
1865
|
phoneNumber: string;
|
1866
|
+
isPhoneVerified: boolean;
|
1767
1867
|
secondaryPhoneNumber: string | null;
|
1768
1868
|
fullName: string;
|
1769
1869
|
firstName: string | null;
|
@@ -1797,7 +1897,11 @@ export interface components {
|
|
1797
1897
|
profiles: {
|
1798
1898
|
id: string;
|
1799
1899
|
shortId: number;
|
1900
|
+
firstTimeMiExpo: boolean;
|
1901
|
+
username: string | null;
|
1902
|
+
password: string | null;
|
1800
1903
|
phoneNumber: string;
|
1904
|
+
isPhoneVerified: boolean;
|
1801
1905
|
secondaryPhoneNumber: string | null;
|
1802
1906
|
fullName: string;
|
1803
1907
|
firstName: string | null;
|
@@ -1828,7 +1932,11 @@ export interface components {
|
|
1828
1932
|
[key: string]: {
|
1829
1933
|
id: string;
|
1830
1934
|
shortId: number;
|
1935
|
+
firstTimeMiExpo: boolean;
|
1936
|
+
username: string | null;
|
1937
|
+
password: string | null;
|
1831
1938
|
phoneNumber: string;
|
1939
|
+
isPhoneVerified: boolean;
|
1832
1940
|
secondaryPhoneNumber: string | null;
|
1833
1941
|
fullName: string;
|
1834
1942
|
firstName: string | null;
|
@@ -1861,7 +1969,11 @@ export interface components {
|
|
1861
1969
|
FindByPhoneNumberResponseDto: {
|
1862
1970
|
id: string;
|
1863
1971
|
shortId: number;
|
1972
|
+
firstTimeMiExpo: boolean;
|
1973
|
+
username: string | null;
|
1974
|
+
password: string | null;
|
1864
1975
|
phoneNumber: string;
|
1976
|
+
isPhoneVerified: boolean;
|
1865
1977
|
secondaryPhoneNumber: string | null;
|
1866
1978
|
fullName: string;
|
1867
1979
|
firstName: string | null;
|
@@ -1902,6 +2014,8 @@ export interface components {
|
|
1902
2014
|
phoneNumber: string;
|
1903
2015
|
profilePictureUrl: string | null;
|
1904
2016
|
secondaryPhoneNumber: string | null;
|
2017
|
+
username: string | null;
|
2018
|
+
password: string | null;
|
1905
2019
|
comments?: {
|
1906
2020
|
content: string;
|
1907
2021
|
isSolvable: boolean;
|
@@ -1944,7 +2058,10 @@ export interface components {
|
|
1944
2058
|
FindByIdProfileResponseDto: {
|
1945
2059
|
id: string;
|
1946
2060
|
shortId: number;
|
2061
|
+
firstTimeMiExpo: boolean;
|
2062
|
+
username: string | null;
|
1947
2063
|
phoneNumber: string;
|
2064
|
+
isPhoneVerified: boolean;
|
1948
2065
|
secondaryPhoneNumber: string | null;
|
1949
2066
|
fullName: string;
|
1950
2067
|
firstName: string | null;
|
@@ -1998,7 +2115,11 @@ export interface components {
|
|
1998
2115
|
DeleteProfileResponseDto: {
|
1999
2116
|
id: string;
|
2000
2117
|
shortId: number;
|
2118
|
+
firstTimeMiExpo: boolean;
|
2119
|
+
username: string | null;
|
2120
|
+
password: string | null;
|
2001
2121
|
phoneNumber: string;
|
2122
|
+
isPhoneVerified: boolean;
|
2002
2123
|
secondaryPhoneNumber: string | null;
|
2003
2124
|
fullName: string;
|
2004
2125
|
firstName: string | null;
|
@@ -2029,6 +2150,9 @@ export interface components {
|
|
2029
2150
|
secondaryPhoneNumber?: string | null;
|
2030
2151
|
isInTrash?: boolean;
|
2031
2152
|
movedToTrashDate?: string | null;
|
2153
|
+
username?: string | null;
|
2154
|
+
password?: string | null;
|
2155
|
+
firstTimeMiExpo?: boolean;
|
2032
2156
|
residence?: {
|
2033
2157
|
city: string;
|
2034
2158
|
country: string;
|
@@ -2155,6 +2279,204 @@ export interface components {
|
|
2155
2279
|
GetLastMessageTimestampResponseDto: {
|
2156
2280
|
timestamp: number;
|
2157
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
|
+
};
|
2158
2480
|
};
|
2159
2481
|
responses: never;
|
2160
2482
|
parameters: never;
|
@@ -2164,7 +2486,7 @@ export interface components {
|
|
2164
2486
|
}
|
2165
2487
|
export type $defs = Record<string, never>;
|
2166
2488
|
export interface operations {
|
2167
|
-
|
2489
|
+
AuthController_loginAccount: {
|
2168
2490
|
parameters: {
|
2169
2491
|
query?: never;
|
2170
2492
|
header?: never;
|
@@ -4071,4 +4393,186 @@ export interface operations {
|
|
4071
4393
|
};
|
4072
4394
|
};
|
4073
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
|
+
};
|
4074
4578
|
}
|