expo-backend-types 0.33.0 → 0.34.0
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 -0
- package/dist/src/exports.js +3 -0
- 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/ticket/constants.d.ts +16 -0
- package/dist/src/ticket/constants.js +272 -0
- 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 +4093 -456
- 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 +506 -2
- package/package.json +41 -40
- /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;
|
@@ -1119,6 +1119,86 @@ export interface paths {
|
|
1119
1119
|
patch?: never;
|
1120
1120
|
trace?: never;
|
1121
1121
|
};
|
1122
|
+
"/otp/send": {
|
1123
|
+
parameters: {
|
1124
|
+
query?: never;
|
1125
|
+
header?: never;
|
1126
|
+
path?: never;
|
1127
|
+
cookie?: never;
|
1128
|
+
};
|
1129
|
+
get?: never;
|
1130
|
+
put?: never;
|
1131
|
+
post: operations["OtpController_sendOtp"];
|
1132
|
+
delete?: never;
|
1133
|
+
options?: never;
|
1134
|
+
head?: never;
|
1135
|
+
patch?: never;
|
1136
|
+
trace?: never;
|
1137
|
+
};
|
1138
|
+
"/otp/verify": {
|
1139
|
+
parameters: {
|
1140
|
+
query?: never;
|
1141
|
+
header?: never;
|
1142
|
+
path?: never;
|
1143
|
+
cookie?: never;
|
1144
|
+
};
|
1145
|
+
get?: never;
|
1146
|
+
put?: never;
|
1147
|
+
post: operations["OtpController_verifyOtp"];
|
1148
|
+
delete?: never;
|
1149
|
+
options?: never;
|
1150
|
+
head?: never;
|
1151
|
+
patch?: never;
|
1152
|
+
trace?: never;
|
1153
|
+
};
|
1154
|
+
"/mi-expo/login-with-phone": {
|
1155
|
+
parameters: {
|
1156
|
+
query?: never;
|
1157
|
+
header?: never;
|
1158
|
+
path?: never;
|
1159
|
+
cookie?: never;
|
1160
|
+
};
|
1161
|
+
get?: never;
|
1162
|
+
put?: never;
|
1163
|
+
post: operations["MiExpoController_loginWithPhone"];
|
1164
|
+
delete?: never;
|
1165
|
+
options?: never;
|
1166
|
+
head?: never;
|
1167
|
+
patch?: never;
|
1168
|
+
trace?: never;
|
1169
|
+
};
|
1170
|
+
"/mi-expo/me": {
|
1171
|
+
parameters: {
|
1172
|
+
query?: never;
|
1173
|
+
header?: never;
|
1174
|
+
path?: never;
|
1175
|
+
cookie?: never;
|
1176
|
+
};
|
1177
|
+
get: operations["MiExpoController_me"];
|
1178
|
+
put?: never;
|
1179
|
+
post?: never;
|
1180
|
+
delete?: never;
|
1181
|
+
options?: never;
|
1182
|
+
head?: never;
|
1183
|
+
patch: operations["MiExpoController_updateMe"];
|
1184
|
+
trace?: never;
|
1185
|
+
};
|
1186
|
+
"/mi-expo/login": {
|
1187
|
+
parameters: {
|
1188
|
+
query?: never;
|
1189
|
+
header?: never;
|
1190
|
+
path?: never;
|
1191
|
+
cookie?: never;
|
1192
|
+
};
|
1193
|
+
get?: never;
|
1194
|
+
put?: never;
|
1195
|
+
post: operations["MiExpoController_loginUsernamePassword"];
|
1196
|
+
delete?: never;
|
1197
|
+
options?: never;
|
1198
|
+
head?: never;
|
1199
|
+
patch?: never;
|
1200
|
+
trace?: never;
|
1201
|
+
};
|
1122
1202
|
}
|
1123
1203
|
export type webhooks = Record<string, never>;
|
1124
1204
|
export interface components {
|
@@ -1243,7 +1323,11 @@ export interface components {
|
|
1243
1323
|
profiles: {
|
1244
1324
|
id: string;
|
1245
1325
|
shortId: number;
|
1326
|
+
firstTimeMiExpo: boolean;
|
1327
|
+
username: string | null;
|
1328
|
+
password: string | null;
|
1246
1329
|
phoneNumber: string;
|
1330
|
+
isPhoneVerified: boolean;
|
1247
1331
|
secondaryPhoneNumber: string | null;
|
1248
1332
|
fullName: string;
|
1249
1333
|
firstName: string | null;
|
@@ -1270,7 +1354,11 @@ export interface components {
|
|
1270
1354
|
profiles: {
|
1271
1355
|
id: string;
|
1272
1356
|
shortId: number;
|
1357
|
+
firstTimeMiExpo: boolean;
|
1358
|
+
username: string | null;
|
1359
|
+
password: string | null;
|
1273
1360
|
phoneNumber: string;
|
1361
|
+
isPhoneVerified: boolean;
|
1274
1362
|
secondaryPhoneNumber: string | null;
|
1275
1363
|
fullName: string;
|
1276
1364
|
firstName: string | null;
|
@@ -1947,7 +2035,11 @@ export interface components {
|
|
1947
2035
|
profiles: {
|
1948
2036
|
id: string;
|
1949
2037
|
shortId: number;
|
2038
|
+
firstTimeMiExpo: boolean;
|
2039
|
+
username: string | null;
|
2040
|
+
password: string | null;
|
1950
2041
|
phoneNumber: string;
|
2042
|
+
isPhoneVerified: boolean;
|
1951
2043
|
secondaryPhoneNumber: string | null;
|
1952
2044
|
fullName: string;
|
1953
2045
|
firstName: string | null;
|
@@ -1982,7 +2074,11 @@ export interface components {
|
|
1982
2074
|
profiles: {
|
1983
2075
|
id: string;
|
1984
2076
|
shortId: number;
|
2077
|
+
firstTimeMiExpo: boolean;
|
2078
|
+
username: string | null;
|
2079
|
+
password: string | null;
|
1985
2080
|
phoneNumber: string;
|
2081
|
+
isPhoneVerified: boolean;
|
1986
2082
|
secondaryPhoneNumber: string | null;
|
1987
2083
|
fullName: string;
|
1988
2084
|
firstName: string | null;
|
@@ -2035,7 +2131,11 @@ export interface components {
|
|
2035
2131
|
profiles: {
|
2036
2132
|
id: string;
|
2037
2133
|
shortId: number;
|
2134
|
+
firstTimeMiExpo: boolean;
|
2135
|
+
username: string | null;
|
2136
|
+
password: string | null;
|
2038
2137
|
phoneNumber: string;
|
2138
|
+
isPhoneVerified: boolean;
|
2039
2139
|
secondaryPhoneNumber: string | null;
|
2040
2140
|
fullName: string;
|
2041
2141
|
firstName: string | null;
|
@@ -2069,7 +2169,11 @@ export interface components {
|
|
2069
2169
|
profiles: {
|
2070
2170
|
id: string;
|
2071
2171
|
shortId: number;
|
2172
|
+
firstTimeMiExpo: boolean;
|
2173
|
+
username: string | null;
|
2174
|
+
password: string | null;
|
2072
2175
|
phoneNumber: string;
|
2176
|
+
isPhoneVerified: boolean;
|
2073
2177
|
secondaryPhoneNumber: string | null;
|
2074
2178
|
fullName: string;
|
2075
2179
|
firstName: string | null;
|
@@ -2100,7 +2204,11 @@ export interface components {
|
|
2100
2204
|
[key: string]: {
|
2101
2205
|
id: string;
|
2102
2206
|
shortId: number;
|
2207
|
+
firstTimeMiExpo: boolean;
|
2208
|
+
username: string | null;
|
2209
|
+
password: string | null;
|
2103
2210
|
phoneNumber: string;
|
2211
|
+
isPhoneVerified: boolean;
|
2104
2212
|
secondaryPhoneNumber: string | null;
|
2105
2213
|
fullName: string;
|
2106
2214
|
firstName: string | null;
|
@@ -2133,7 +2241,11 @@ export interface components {
|
|
2133
2241
|
FindByPhoneNumberResponseDto: {
|
2134
2242
|
id: string;
|
2135
2243
|
shortId: number;
|
2244
|
+
firstTimeMiExpo: boolean;
|
2245
|
+
username: string | null;
|
2246
|
+
password: string | null;
|
2136
2247
|
phoneNumber: string;
|
2248
|
+
isPhoneVerified: boolean;
|
2137
2249
|
secondaryPhoneNumber: string | null;
|
2138
2250
|
fullName: string;
|
2139
2251
|
firstName: string | null;
|
@@ -2174,6 +2286,8 @@ export interface components {
|
|
2174
2286
|
phoneNumber: string;
|
2175
2287
|
profilePictureUrl: string | null;
|
2176
2288
|
secondaryPhoneNumber: string | null;
|
2289
|
+
username: string | null;
|
2290
|
+
password: string | null;
|
2177
2291
|
comments?: {
|
2178
2292
|
content: string;
|
2179
2293
|
isSolvable: boolean;
|
@@ -2216,7 +2330,10 @@ export interface components {
|
|
2216
2330
|
FindByIdProfileResponseDto: {
|
2217
2331
|
id: string;
|
2218
2332
|
shortId: number;
|
2333
|
+
firstTimeMiExpo: boolean;
|
2334
|
+
username: string | null;
|
2219
2335
|
phoneNumber: string;
|
2336
|
+
isPhoneVerified: boolean;
|
2220
2337
|
secondaryPhoneNumber: string | null;
|
2221
2338
|
fullName: string;
|
2222
2339
|
firstName: string | null;
|
@@ -2270,7 +2387,11 @@ export interface components {
|
|
2270
2387
|
DeleteProfileResponseDto: {
|
2271
2388
|
id: string;
|
2272
2389
|
shortId: number;
|
2390
|
+
firstTimeMiExpo: boolean;
|
2391
|
+
username: string | null;
|
2392
|
+
password: string | null;
|
2273
2393
|
phoneNumber: string;
|
2394
|
+
isPhoneVerified: boolean;
|
2274
2395
|
secondaryPhoneNumber: string | null;
|
2275
2396
|
fullName: string;
|
2276
2397
|
firstName: string | null;
|
@@ -2301,6 +2422,9 @@ export interface components {
|
|
2301
2422
|
secondaryPhoneNumber?: string | null;
|
2302
2423
|
isInTrash?: boolean;
|
2303
2424
|
movedToTrashDate?: string | null;
|
2425
|
+
username?: string | null;
|
2426
|
+
password?: string | null;
|
2427
|
+
firstTimeMiExpo?: boolean;
|
2304
2428
|
residence?: {
|
2305
2429
|
city: string;
|
2306
2430
|
country: string;
|
@@ -2548,6 +2672,204 @@ export interface components {
|
|
2548
2672
|
created_at: string;
|
2549
2673
|
updated_at: string;
|
2550
2674
|
};
|
2675
|
+
SendOtpDto: {
|
2676
|
+
phoneNumber: string;
|
2677
|
+
};
|
2678
|
+
SendOtpResponseDto: {
|
2679
|
+
response: {
|
2680
|
+
hasVerified: boolean;
|
2681
|
+
hasUsername: boolean;
|
2682
|
+
success: true;
|
2683
|
+
} | {
|
2684
|
+
hasVerified: boolean;
|
2685
|
+
hasUsername: boolean;
|
2686
|
+
success: false;
|
2687
|
+
message: string;
|
2688
|
+
};
|
2689
|
+
};
|
2690
|
+
VerifyOtpDto: {
|
2691
|
+
phoneNumber: string;
|
2692
|
+
code: string;
|
2693
|
+
};
|
2694
|
+
VerifyOtpResponseDto: {
|
2695
|
+
success: boolean;
|
2696
|
+
profile: {
|
2697
|
+
id: string;
|
2698
|
+
shortId: number;
|
2699
|
+
firstTimeMiExpo: boolean;
|
2700
|
+
username: string | null;
|
2701
|
+
password: string | null;
|
2702
|
+
phoneNumber: string;
|
2703
|
+
isPhoneVerified: boolean;
|
2704
|
+
secondaryPhoneNumber: string | null;
|
2705
|
+
fullName: string;
|
2706
|
+
firstName: string | null;
|
2707
|
+
gender: string | null;
|
2708
|
+
birthDate: string | null;
|
2709
|
+
profilePictureUrl: string | null;
|
2710
|
+
instagram: string | null;
|
2711
|
+
mail: string | null;
|
2712
|
+
dni: string | null;
|
2713
|
+
alternativeNames: string[];
|
2714
|
+
birthLocationId: string | null;
|
2715
|
+
residenceLocationId: string | null;
|
2716
|
+
isInTrash: boolean;
|
2717
|
+
movedToTrashDate: string | null;
|
2718
|
+
created_at: string;
|
2719
|
+
updated_at: string;
|
2720
|
+
residenceLocation: {
|
2721
|
+
city: string;
|
2722
|
+
country: string;
|
2723
|
+
latitude: number;
|
2724
|
+
longitude: number;
|
2725
|
+
} | null;
|
2726
|
+
birthLocation: {
|
2727
|
+
city: string;
|
2728
|
+
country: string;
|
2729
|
+
latitude: number;
|
2730
|
+
longitude: number;
|
2731
|
+
} | null;
|
2732
|
+
};
|
2733
|
+
};
|
2734
|
+
LoginWithPhoneDto: {
|
2735
|
+
phoneNumber: string;
|
2736
|
+
};
|
2737
|
+
LoginWithPhoneResponseDto: {
|
2738
|
+
tokens: {
|
2739
|
+
accessToken: string;
|
2740
|
+
refreshToken: string;
|
2741
|
+
expiresIn: number;
|
2742
|
+
};
|
2743
|
+
profile: {
|
2744
|
+
id: string;
|
2745
|
+
shortId: number;
|
2746
|
+
firstTimeMiExpo: boolean;
|
2747
|
+
username: string | null;
|
2748
|
+
phoneNumber: string;
|
2749
|
+
isPhoneVerified: boolean;
|
2750
|
+
secondaryPhoneNumber: string | null;
|
2751
|
+
fullName: string;
|
2752
|
+
firstName: string | null;
|
2753
|
+
gender: string | null;
|
2754
|
+
birthDate: string | null;
|
2755
|
+
profilePictureUrl: string | null;
|
2756
|
+
instagram: string | null;
|
2757
|
+
mail: string | null;
|
2758
|
+
dni: string | null;
|
2759
|
+
alternativeNames: string[];
|
2760
|
+
birthLocationId: string | null;
|
2761
|
+
residenceLocationId: string | null;
|
2762
|
+
isInTrash: boolean;
|
2763
|
+
movedToTrashDate: string | null;
|
2764
|
+
created_at: string;
|
2765
|
+
updated_at: string;
|
2766
|
+
};
|
2767
|
+
};
|
2768
|
+
GetMiExpoMeResponseDto: {
|
2769
|
+
id: string;
|
2770
|
+
shortId: number;
|
2771
|
+
firstTimeMiExpo: boolean;
|
2772
|
+
username: string | null;
|
2773
|
+
phoneNumber: string;
|
2774
|
+
isPhoneVerified: boolean;
|
2775
|
+
secondaryPhoneNumber: string | null;
|
2776
|
+
fullName: string;
|
2777
|
+
firstName: string | null;
|
2778
|
+
gender: string | null;
|
2779
|
+
birthDate: string | null;
|
2780
|
+
profilePictureUrl: string | null;
|
2781
|
+
instagram: string | null;
|
2782
|
+
mail: string | null;
|
2783
|
+
dni: string | null;
|
2784
|
+
alternativeNames: string[];
|
2785
|
+
birthLocationId: string | null;
|
2786
|
+
residenceLocationId: string | null;
|
2787
|
+
isInTrash: boolean;
|
2788
|
+
movedToTrashDate: string | null;
|
2789
|
+
created_at: string;
|
2790
|
+
updated_at: string;
|
2791
|
+
residenceLocation: {
|
2792
|
+
id: string;
|
2793
|
+
latitude: number;
|
2794
|
+
longitude: number;
|
2795
|
+
country: string;
|
2796
|
+
state: string;
|
2797
|
+
city: string;
|
2798
|
+
created_at: string;
|
2799
|
+
updated_at: string;
|
2800
|
+
} | null;
|
2801
|
+
birthLocation: {
|
2802
|
+
id: string;
|
2803
|
+
latitude: number;
|
2804
|
+
longitude: number;
|
2805
|
+
country: string;
|
2806
|
+
state: string;
|
2807
|
+
city: string;
|
2808
|
+
created_at: string;
|
2809
|
+
updated_at: string;
|
2810
|
+
} | null;
|
2811
|
+
};
|
2812
|
+
UpdateMiExpoMeDto: {
|
2813
|
+
birthDate: string | null;
|
2814
|
+
dni: string | null;
|
2815
|
+
fullName: string;
|
2816
|
+
gender: string | null;
|
2817
|
+
instagram: string | null;
|
2818
|
+
mail: string | null;
|
2819
|
+
password: string | null;
|
2820
|
+
phoneNumber: string;
|
2821
|
+
secondaryPhoneNumber: string | null;
|
2822
|
+
username: string | null;
|
2823
|
+
birth: {
|
2824
|
+
city: string;
|
2825
|
+
country: string;
|
2826
|
+
latitude: number;
|
2827
|
+
longitude: number;
|
2828
|
+
state: string;
|
2829
|
+
};
|
2830
|
+
residence: {
|
2831
|
+
city: string;
|
2832
|
+
country: string;
|
2833
|
+
latitude: number;
|
2834
|
+
longitude: number;
|
2835
|
+
state: string;
|
2836
|
+
};
|
2837
|
+
};
|
2838
|
+
LoginMiExpoDto: {
|
2839
|
+
username: string;
|
2840
|
+
password: string;
|
2841
|
+
};
|
2842
|
+
LoginMiExpoResponseDto: {
|
2843
|
+
user: {
|
2844
|
+
id: string;
|
2845
|
+
shortId: number;
|
2846
|
+
firstTimeMiExpo: boolean;
|
2847
|
+
username: string | null;
|
2848
|
+
phoneNumber: string;
|
2849
|
+
isPhoneVerified: boolean;
|
2850
|
+
secondaryPhoneNumber: string | null;
|
2851
|
+
fullName: string;
|
2852
|
+
firstName: string | null;
|
2853
|
+
gender: string | null;
|
2854
|
+
birthDate: string | null;
|
2855
|
+
profilePictureUrl: string | null;
|
2856
|
+
instagram: string | null;
|
2857
|
+
mail: string | null;
|
2858
|
+
dni: string | null;
|
2859
|
+
alternativeNames: string[];
|
2860
|
+
birthLocationId: string | null;
|
2861
|
+
residenceLocationId: string | null;
|
2862
|
+
isInTrash: boolean;
|
2863
|
+
movedToTrashDate: string | null;
|
2864
|
+
created_at: string;
|
2865
|
+
updated_at: string;
|
2866
|
+
};
|
2867
|
+
backendTokens: {
|
2868
|
+
accessToken: string;
|
2869
|
+
refreshToken: string;
|
2870
|
+
expiresIn: number;
|
2871
|
+
};
|
2872
|
+
};
|
2551
2873
|
};
|
2552
2874
|
responses: never;
|
2553
2875
|
parameters: never;
|
@@ -2557,7 +2879,7 @@ export interface components {
|
|
2557
2879
|
}
|
2558
2880
|
export type $defs = Record<string, never>;
|
2559
2881
|
export interface operations {
|
2560
|
-
|
2882
|
+
AuthController_loginAccount: {
|
2561
2883
|
parameters: {
|
2562
2884
|
query?: never;
|
2563
2885
|
header?: never;
|
@@ -4793,4 +5115,186 @@ export interface operations {
|
|
4793
5115
|
};
|
4794
5116
|
};
|
4795
5117
|
};
|
5118
|
+
OtpController_sendOtp: {
|
5119
|
+
parameters: {
|
5120
|
+
query?: never;
|
5121
|
+
header?: never;
|
5122
|
+
path?: never;
|
5123
|
+
cookie?: never;
|
5124
|
+
};
|
5125
|
+
requestBody: {
|
5126
|
+
content: {
|
5127
|
+
"application/json": components["schemas"]["SendOtpDto"];
|
5128
|
+
};
|
5129
|
+
};
|
5130
|
+
responses: {
|
5131
|
+
200: {
|
5132
|
+
headers: {
|
5133
|
+
[name: string]: unknown;
|
5134
|
+
};
|
5135
|
+
content: {
|
5136
|
+
"application/json": components["schemas"]["SendOtpResponseDto"];
|
5137
|
+
};
|
5138
|
+
};
|
5139
|
+
400: {
|
5140
|
+
headers: {
|
5141
|
+
[name: string]: unknown;
|
5142
|
+
};
|
5143
|
+
content: {
|
5144
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5145
|
+
};
|
5146
|
+
};
|
5147
|
+
404: {
|
5148
|
+
headers: {
|
5149
|
+
[name: string]: unknown;
|
5150
|
+
};
|
5151
|
+
content: {
|
5152
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5153
|
+
};
|
5154
|
+
};
|
5155
|
+
};
|
5156
|
+
};
|
5157
|
+
OtpController_verifyOtp: {
|
5158
|
+
parameters: {
|
5159
|
+
query?: never;
|
5160
|
+
header?: never;
|
5161
|
+
path?: never;
|
5162
|
+
cookie?: never;
|
5163
|
+
};
|
5164
|
+
requestBody: {
|
5165
|
+
content: {
|
5166
|
+
"application/json": components["schemas"]["VerifyOtpDto"];
|
5167
|
+
};
|
5168
|
+
};
|
5169
|
+
responses: {
|
5170
|
+
200: {
|
5171
|
+
headers: {
|
5172
|
+
[name: string]: unknown;
|
5173
|
+
};
|
5174
|
+
content: {
|
5175
|
+
"application/json": components["schemas"]["VerifyOtpResponseDto"];
|
5176
|
+
};
|
5177
|
+
};
|
5178
|
+
400: {
|
5179
|
+
headers: {
|
5180
|
+
[name: string]: unknown;
|
5181
|
+
};
|
5182
|
+
content: {
|
5183
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5184
|
+
};
|
5185
|
+
};
|
5186
|
+
404: {
|
5187
|
+
headers: {
|
5188
|
+
[name: string]: unknown;
|
5189
|
+
};
|
5190
|
+
content: {
|
5191
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5192
|
+
};
|
5193
|
+
};
|
5194
|
+
};
|
5195
|
+
};
|
5196
|
+
MiExpoController_loginWithPhone: {
|
5197
|
+
parameters: {
|
5198
|
+
query?: never;
|
5199
|
+
header?: never;
|
5200
|
+
path?: never;
|
5201
|
+
cookie?: never;
|
5202
|
+
};
|
5203
|
+
requestBody: {
|
5204
|
+
content: {
|
5205
|
+
"application/json": components["schemas"]["LoginWithPhoneDto"];
|
5206
|
+
};
|
5207
|
+
};
|
5208
|
+
responses: {
|
5209
|
+
200: {
|
5210
|
+
headers: {
|
5211
|
+
[name: string]: unknown;
|
5212
|
+
};
|
5213
|
+
content: {
|
5214
|
+
"application/json": components["schemas"]["LoginWithPhoneResponseDto"];
|
5215
|
+
};
|
5216
|
+
};
|
5217
|
+
401: {
|
5218
|
+
headers: {
|
5219
|
+
[name: string]: unknown;
|
5220
|
+
};
|
5221
|
+
content: {
|
5222
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5223
|
+
};
|
5224
|
+
};
|
5225
|
+
};
|
5226
|
+
};
|
5227
|
+
MiExpoController_me: {
|
5228
|
+
parameters: {
|
5229
|
+
query?: never;
|
5230
|
+
header?: never;
|
5231
|
+
path?: never;
|
5232
|
+
cookie?: never;
|
5233
|
+
};
|
5234
|
+
requestBody?: never;
|
5235
|
+
responses: {
|
5236
|
+
200: {
|
5237
|
+
headers: {
|
5238
|
+
[name: string]: unknown;
|
5239
|
+
};
|
5240
|
+
content: {
|
5241
|
+
"application/json": components["schemas"]["GetMiExpoMeResponseDto"];
|
5242
|
+
};
|
5243
|
+
};
|
5244
|
+
};
|
5245
|
+
};
|
5246
|
+
MiExpoController_updateMe: {
|
5247
|
+
parameters: {
|
5248
|
+
query?: never;
|
5249
|
+
header?: never;
|
5250
|
+
path?: never;
|
5251
|
+
cookie?: never;
|
5252
|
+
};
|
5253
|
+
requestBody: {
|
5254
|
+
content: {
|
5255
|
+
"application/json": components["schemas"]["UpdateMiExpoMeDto"];
|
5256
|
+
};
|
5257
|
+
};
|
5258
|
+
responses: {
|
5259
|
+
200: {
|
5260
|
+
headers: {
|
5261
|
+
[name: string]: unknown;
|
5262
|
+
};
|
5263
|
+
content: {
|
5264
|
+
"application/json": components["schemas"]["GetMiExpoMeResponseDto"];
|
5265
|
+
};
|
5266
|
+
};
|
5267
|
+
};
|
5268
|
+
};
|
5269
|
+
MiExpoController_loginUsernamePassword: {
|
5270
|
+
parameters: {
|
5271
|
+
query?: never;
|
5272
|
+
header?: never;
|
5273
|
+
path?: never;
|
5274
|
+
cookie?: never;
|
5275
|
+
};
|
5276
|
+
requestBody: {
|
5277
|
+
content: {
|
5278
|
+
"application/json": components["schemas"]["LoginMiExpoDto"];
|
5279
|
+
};
|
5280
|
+
};
|
5281
|
+
responses: {
|
5282
|
+
200: {
|
5283
|
+
headers: {
|
5284
|
+
[name: string]: unknown;
|
5285
|
+
};
|
5286
|
+
content: {
|
5287
|
+
"application/json": components["schemas"]["LoginMiExpoResponseDto"];
|
5288
|
+
};
|
5289
|
+
};
|
5290
|
+
401: {
|
5291
|
+
headers: {
|
5292
|
+
[name: string]: unknown;
|
5293
|
+
};
|
5294
|
+
content: {
|
5295
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5296
|
+
};
|
5297
|
+
};
|
5298
|
+
};
|
5299
|
+
};
|
4796
5300
|
}
|