expo-backend-types 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -455,8 +455,7 @@ declare const similarProfileSchema: z.ZodObject<{
|
|
455
455
|
similarityFullNamePercentage: number;
|
456
456
|
}>;
|
457
457
|
export declare const createProfileResponseSchema: z.ZodObject<{
|
458
|
-
response: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
459
|
-
type: z.ZodLiteral<"similar">;
|
458
|
+
response: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
460
459
|
similarProfiles: z.ZodArray<z.ZodObject<{
|
461
460
|
profile: z.ZodObject<Pick<{
|
462
461
|
id: z.ZodString;
|
@@ -506,7 +505,9 @@ export declare const createProfileResponseSchema: z.ZodObject<{
|
|
506
505
|
similarityPhoneNumberPercentage: number;
|
507
506
|
similarityFullNamePercentage: number;
|
508
507
|
}>, "many">;
|
509
|
-
},
|
508
|
+
}, {
|
509
|
+
type: z.ZodLiteral<"similar">;
|
510
|
+
}>, "strip", z.ZodTypeAny, {
|
510
511
|
type: "similar";
|
511
512
|
similarProfiles: {
|
512
513
|
profile: {
|
@@ -528,10 +529,11 @@ export declare const createProfileResponseSchema: z.ZodObject<{
|
|
528
529
|
similarityPhoneNumberPercentage: number;
|
529
530
|
similarityFullNamePercentage: number;
|
530
531
|
}[];
|
531
|
-
}>, z.ZodObject<{
|
532
|
-
type: z.ZodLiteral<"created">;
|
532
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
533
533
|
id: z.ZodString;
|
534
|
-
},
|
534
|
+
}, {
|
535
|
+
type: z.ZodLiteral<"created">;
|
536
|
+
}>, "strip", z.ZodTypeAny, {
|
535
537
|
id: string;
|
536
538
|
type: "created";
|
537
539
|
}, {
|
@@ -572,8 +574,7 @@ export declare const createProfileResponseSchema: z.ZodObject<{
|
|
572
574
|
};
|
573
575
|
}>;
|
574
576
|
declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
575
|
-
response: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
576
|
-
type: z.ZodLiteral<"similar">;
|
577
|
+
response: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
577
578
|
similarProfiles: z.ZodArray<z.ZodObject<{
|
578
579
|
profile: z.ZodObject<Pick<{
|
579
580
|
id: z.ZodString;
|
@@ -623,7 +624,9 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
623
624
|
similarityPhoneNumberPercentage: number;
|
624
625
|
similarityFullNamePercentage: number;
|
625
626
|
}>, "many">;
|
626
|
-
},
|
627
|
+
}, {
|
628
|
+
type: z.ZodLiteral<"similar">;
|
629
|
+
}>, "strip", z.ZodTypeAny, {
|
627
630
|
type: "similar";
|
628
631
|
similarProfiles: {
|
629
632
|
profile: {
|
@@ -645,10 +648,11 @@ declare const CreateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
645
648
|
similarityPhoneNumberPercentage: number;
|
646
649
|
similarityFullNamePercentage: number;
|
647
650
|
}[];
|
648
|
-
}>, z.ZodObject<{
|
649
|
-
type: z.ZodLiteral<"created">;
|
651
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
650
652
|
id: z.ZodString;
|
651
|
-
},
|
653
|
+
}, {
|
654
|
+
type: z.ZodLiteral<"created">;
|
655
|
+
}>, "strip", z.ZodTypeAny, {
|
652
656
|
id: string;
|
653
657
|
type: "created";
|
654
658
|
}, {
|
@@ -65,14 +65,18 @@ const similarProfileSchema = zod_1.default.object({
|
|
65
65
|
similarityPhoneNumberPercentage: zod_1.default.number(),
|
66
66
|
similarityFullNamePercentage: zod_1.default.number(),
|
67
67
|
});
|
68
|
+
const similarityProfileSchema = zod_1.default.object({
|
69
|
+
similarProfiles: zod_1.default.array(similarProfileSchema),
|
70
|
+
});
|
71
|
+
const createdProfileSchema = zod_1.default.object({
|
72
|
+
id: profile_dto_1.profileSchema.shape.id,
|
73
|
+
});
|
68
74
|
const createProfileResponseSchemaBase = zod_1.default.discriminatedUnion('type', [
|
69
|
-
|
75
|
+
similarityProfileSchema.extend({
|
70
76
|
type: zod_1.default.literal('similar'),
|
71
|
-
similarProfiles: zod_1.default.array(similarProfileSchema),
|
72
77
|
}),
|
73
|
-
|
78
|
+
createdProfileSchema.extend({
|
74
79
|
type: zod_1.default.literal('created'),
|
75
|
-
id: profile_dto_1.profileSchema.shape.id,
|
76
80
|
}),
|
77
81
|
]);
|
78
82
|
exports.createProfileResponseSchema = zod_1.default.object({
|
package/dist/types/schema.d.ts
CHANGED
@@ -828,20 +828,20 @@ export interface components {
|
|
828
828
|
id: string;
|
829
829
|
shortId: number;
|
830
830
|
phoneNumber: string;
|
831
|
-
secondaryPhoneNumber: null;
|
831
|
+
secondaryPhoneNumber: string | null;
|
832
832
|
fullName: string;
|
833
|
-
firstName: null;
|
834
|
-
gender: null;
|
835
|
-
birthDate: null;
|
836
|
-
profilePictureUrl: null;
|
837
|
-
instagram: null;
|
838
|
-
mail: null;
|
839
|
-
dni: null;
|
833
|
+
firstName: string | null;
|
834
|
+
gender: string | null;
|
835
|
+
birthDate: string | null;
|
836
|
+
profilePictureUrl: string | null;
|
837
|
+
instagram: string | null;
|
838
|
+
mail: string | null;
|
839
|
+
dni: string | null;
|
840
840
|
alternativeNames: string[];
|
841
|
-
birthLocationId: null;
|
842
|
-
residenceLocationId: null;
|
841
|
+
birthLocationId: string | null;
|
842
|
+
residenceLocationId: string | null;
|
843
843
|
isInTrash: boolean;
|
844
|
-
movedToTrashDate: null;
|
844
|
+
movedToTrashDate: string | null;
|
845
845
|
created_at: string;
|
846
846
|
updated_at: string;
|
847
847
|
}[];
|
@@ -855,20 +855,20 @@ export interface components {
|
|
855
855
|
id: string;
|
856
856
|
shortId: number;
|
857
857
|
phoneNumber: string;
|
858
|
-
secondaryPhoneNumber: null;
|
858
|
+
secondaryPhoneNumber: string | null;
|
859
859
|
fullName: string;
|
860
|
-
firstName: null;
|
861
|
-
gender: null;
|
862
|
-
birthDate: null;
|
863
|
-
profilePictureUrl: null;
|
864
|
-
instagram: null;
|
865
|
-
mail: null;
|
866
|
-
dni: null;
|
860
|
+
firstName: string | null;
|
861
|
+
gender: string | null;
|
862
|
+
birthDate: string | null;
|
863
|
+
profilePictureUrl: string | null;
|
864
|
+
instagram: string | null;
|
865
|
+
mail: string | null;
|
866
|
+
dni: string | null;
|
867
867
|
alternativeNames: string[];
|
868
|
-
birthLocationId: null;
|
869
|
-
residenceLocationId: null;
|
868
|
+
birthLocationId: string | null;
|
869
|
+
residenceLocationId: string | null;
|
870
870
|
isInTrash: boolean;
|
871
|
-
movedToTrashDate: null;
|
871
|
+
movedToTrashDate: string | null;
|
872
872
|
created_at: string;
|
873
873
|
updated_at: string;
|
874
874
|
}[];
|
@@ -1049,7 +1049,7 @@ export interface components {
|
|
1049
1049
|
profileId: string;
|
1050
1050
|
isSolvable: boolean;
|
1051
1051
|
isSolved: boolean;
|
1052
|
-
solvedAt: null;
|
1052
|
+
solvedAt: string | null;
|
1053
1053
|
solvedBy?: string;
|
1054
1054
|
created_at: string;
|
1055
1055
|
updated_at: string;
|
@@ -1062,7 +1062,7 @@ export interface components {
|
|
1062
1062
|
profileId: string;
|
1063
1063
|
isSolvable: boolean;
|
1064
1064
|
isSolved: boolean;
|
1065
|
-
solvedAt: null;
|
1065
|
+
solvedAt: string | null;
|
1066
1066
|
solvedBy?: string;
|
1067
1067
|
created_at: string;
|
1068
1068
|
updated_at: string;
|
@@ -1078,7 +1078,7 @@ export interface components {
|
|
1078
1078
|
profileId: string;
|
1079
1079
|
isSolvable: boolean;
|
1080
1080
|
isSolved: boolean;
|
1081
|
-
solvedAt: null;
|
1081
|
+
solvedAt: string | null;
|
1082
1082
|
solvedBy?: string;
|
1083
1083
|
created_at: string;
|
1084
1084
|
updated_at: string;
|
@@ -1126,8 +1126,8 @@ export interface components {
|
|
1126
1126
|
isoCode: string;
|
1127
1127
|
countryCode: string;
|
1128
1128
|
countryName: string;
|
1129
|
-
latitude?: null;
|
1130
|
-
longitude?: null;
|
1129
|
+
latitude?: string | null;
|
1130
|
+
longitude?: string | null;
|
1131
1131
|
}[];
|
1132
1132
|
};
|
1133
1133
|
CreateCannedResponseDto: {
|
@@ -1191,10 +1191,10 @@ export interface components {
|
|
1191
1191
|
name: string;
|
1192
1192
|
date: string;
|
1193
1193
|
location: string;
|
1194
|
-
folderId: null;
|
1194
|
+
folderId: string | null;
|
1195
1195
|
tagAssistedId: string;
|
1196
1196
|
tagConfirmedId: string;
|
1197
|
-
supraEventId: null;
|
1197
|
+
supraEventId: string | null;
|
1198
1198
|
created_at: string;
|
1199
1199
|
updated_at: string;
|
1200
1200
|
}[];
|
@@ -1211,10 +1211,10 @@ export interface components {
|
|
1211
1211
|
name: string;
|
1212
1212
|
date: string;
|
1213
1213
|
location: string;
|
1214
|
-
folderId: null;
|
1214
|
+
folderId: string | null;
|
1215
1215
|
tagAssistedId: string;
|
1216
1216
|
tagConfirmedId: string;
|
1217
|
-
supraEventId: null;
|
1217
|
+
supraEventId: string | null;
|
1218
1218
|
created_at: string;
|
1219
1219
|
updated_at: string;
|
1220
1220
|
}[];
|
@@ -1241,7 +1241,7 @@ export interface components {
|
|
1241
1241
|
name: string;
|
1242
1242
|
date: string;
|
1243
1243
|
location: string;
|
1244
|
-
folderId: null;
|
1244
|
+
folderId: string | null;
|
1245
1245
|
subEvents?: {
|
1246
1246
|
name: string;
|
1247
1247
|
date: string;
|
@@ -1253,10 +1253,10 @@ export interface components {
|
|
1253
1253
|
name: string;
|
1254
1254
|
date: string;
|
1255
1255
|
location: string;
|
1256
|
-
folderId: null;
|
1256
|
+
folderId: string | null;
|
1257
1257
|
tagAssistedId: string;
|
1258
1258
|
tagConfirmedId: string;
|
1259
|
-
supraEventId: null;
|
1259
|
+
supraEventId: string | null;
|
1260
1260
|
created_at: string;
|
1261
1261
|
updated_at: string;
|
1262
1262
|
};
|
@@ -1272,22 +1272,33 @@ export interface components {
|
|
1272
1272
|
name: string;
|
1273
1273
|
date: string;
|
1274
1274
|
location: string;
|
1275
|
-
folderId: null;
|
1275
|
+
folderId: string | null;
|
1276
1276
|
tagAssistedId: string;
|
1277
1277
|
tagConfirmedId: string;
|
1278
|
-
supraEventId: null;
|
1278
|
+
supraEventId: string | null;
|
1279
1279
|
created_at: string;
|
1280
1280
|
updated_at: string;
|
1281
|
-
supraEvent:
|
1281
|
+
supraEvent: {
|
1282
|
+
id: string;
|
1283
|
+
name: string;
|
1284
|
+
date: string;
|
1285
|
+
location: string;
|
1286
|
+
folderId: string | null;
|
1287
|
+
tagAssistedId: string;
|
1288
|
+
tagConfirmedId: string;
|
1289
|
+
supraEventId: string | null;
|
1290
|
+
created_at: string;
|
1291
|
+
updated_at: string;
|
1292
|
+
} | null;
|
1282
1293
|
subEvents: {
|
1283
1294
|
id: string;
|
1284
1295
|
name: string;
|
1285
1296
|
date: string;
|
1286
1297
|
location: string;
|
1287
|
-
folderId: null;
|
1298
|
+
folderId: string | null;
|
1288
1299
|
tagAssistedId: string;
|
1289
1300
|
tagConfirmedId: string;
|
1290
|
-
supraEventId: null;
|
1301
|
+
supraEventId: string | null;
|
1291
1302
|
created_at: string;
|
1292
1303
|
updated_at: string;
|
1293
1304
|
}[];
|
@@ -1298,22 +1309,33 @@ export interface components {
|
|
1298
1309
|
name: string;
|
1299
1310
|
date: string;
|
1300
1311
|
location: string;
|
1301
|
-
folderId: null;
|
1312
|
+
folderId: string | null;
|
1302
1313
|
tagAssistedId: string;
|
1303
1314
|
tagConfirmedId: string;
|
1304
|
-
supraEventId: null;
|
1315
|
+
supraEventId: string | null;
|
1305
1316
|
created_at: string;
|
1306
1317
|
updated_at: string;
|
1307
|
-
supraEvent:
|
1318
|
+
supraEvent: {
|
1319
|
+
id: string;
|
1320
|
+
name: string;
|
1321
|
+
date: string;
|
1322
|
+
location: string;
|
1323
|
+
folderId: string | null;
|
1324
|
+
tagAssistedId: string;
|
1325
|
+
tagConfirmedId: string;
|
1326
|
+
supraEventId: string | null;
|
1327
|
+
created_at: string;
|
1328
|
+
updated_at: string;
|
1329
|
+
} | null;
|
1308
1330
|
subEvents: {
|
1309
1331
|
id: string;
|
1310
1332
|
name: string;
|
1311
1333
|
date: string;
|
1312
1334
|
location: string;
|
1313
|
-
folderId: null;
|
1335
|
+
folderId: string | null;
|
1314
1336
|
tagAssistedId: string;
|
1315
1337
|
tagConfirmedId: string;
|
1316
|
-
supraEventId: null;
|
1338
|
+
supraEventId: string | null;
|
1317
1339
|
created_at: string;
|
1318
1340
|
updated_at: string;
|
1319
1341
|
}[];
|
@@ -1324,10 +1346,10 @@ export interface components {
|
|
1324
1346
|
name: string;
|
1325
1347
|
date: string;
|
1326
1348
|
location: string;
|
1327
|
-
folderId: null;
|
1349
|
+
folderId: string | null;
|
1328
1350
|
tagAssistedId: string;
|
1329
1351
|
tagConfirmedId: string;
|
1330
|
-
supraEventId: null;
|
1352
|
+
supraEventId: string | null;
|
1331
1353
|
created_at: string;
|
1332
1354
|
updated_at: string;
|
1333
1355
|
subEvents: {
|
@@ -1335,18 +1357,29 @@ export interface components {
|
|
1335
1357
|
name: string;
|
1336
1358
|
date: string;
|
1337
1359
|
location: string;
|
1338
|
-
folderId: null;
|
1360
|
+
folderId: string | null;
|
1339
1361
|
tagAssistedId: string;
|
1340
1362
|
tagConfirmedId: string;
|
1341
|
-
supraEventId: null;
|
1363
|
+
supraEventId: string | null;
|
1342
1364
|
created_at: string;
|
1343
1365
|
updated_at: string;
|
1344
1366
|
}[];
|
1345
|
-
supraEvent:
|
1367
|
+
supraEvent: {
|
1368
|
+
id: string;
|
1369
|
+
name: string;
|
1370
|
+
date: string;
|
1371
|
+
location: string;
|
1372
|
+
folderId: string | null;
|
1373
|
+
tagAssistedId: string;
|
1374
|
+
tagConfirmedId: string;
|
1375
|
+
supraEventId: string | null;
|
1376
|
+
created_at: string;
|
1377
|
+
updated_at: string;
|
1378
|
+
} | null;
|
1346
1379
|
};
|
1347
1380
|
UpdateEventDto: {
|
1348
1381
|
name: string;
|
1349
|
-
folderId: null;
|
1382
|
+
folderId: string | null;
|
1350
1383
|
date: string;
|
1351
1384
|
location: string;
|
1352
1385
|
subEvents: {
|
@@ -1361,10 +1394,10 @@ export interface components {
|
|
1361
1394
|
name: string;
|
1362
1395
|
date: string;
|
1363
1396
|
location: string;
|
1364
|
-
folderId: null;
|
1397
|
+
folderId: string | null;
|
1365
1398
|
tagAssistedId: string;
|
1366
1399
|
tagConfirmedId: string;
|
1367
|
-
supraEventId: null;
|
1400
|
+
supraEventId: string | null;
|
1368
1401
|
created_at: string;
|
1369
1402
|
updated_at: string;
|
1370
1403
|
tagAssisted: {
|
@@ -1389,10 +1422,10 @@ export interface components {
|
|
1389
1422
|
name: string;
|
1390
1423
|
date: string;
|
1391
1424
|
location: string;
|
1392
|
-
folderId: null;
|
1425
|
+
folderId: string | null;
|
1393
1426
|
tagAssistedId: string;
|
1394
1427
|
tagConfirmedId: string;
|
1395
|
-
supraEventId: null;
|
1428
|
+
supraEventId: string | null;
|
1396
1429
|
created_at: string;
|
1397
1430
|
updated_at: string;
|
1398
1431
|
};
|
@@ -1401,20 +1434,20 @@ export interface components {
|
|
1401
1434
|
id: string;
|
1402
1435
|
shortId: number;
|
1403
1436
|
phoneNumber: string;
|
1404
|
-
secondaryPhoneNumber: null;
|
1437
|
+
secondaryPhoneNumber: string | null;
|
1405
1438
|
fullName: string;
|
1406
|
-
firstName: null;
|
1407
|
-
gender: null;
|
1408
|
-
birthDate: null;
|
1409
|
-
profilePictureUrl: null;
|
1410
|
-
instagram: null;
|
1411
|
-
mail: null;
|
1412
|
-
dni: null;
|
1439
|
+
firstName: string | null;
|
1440
|
+
gender: string | null;
|
1441
|
+
birthDate: string | null;
|
1442
|
+
profilePictureUrl: string | null;
|
1443
|
+
instagram: string | null;
|
1444
|
+
mail: string | null;
|
1445
|
+
dni: string | null;
|
1413
1446
|
alternativeNames: string[];
|
1414
|
-
birthLocationId: null;
|
1415
|
-
residenceLocationId: null;
|
1447
|
+
birthLocationId: string | null;
|
1448
|
+
residenceLocationId: string | null;
|
1416
1449
|
isInTrash: boolean;
|
1417
|
-
movedToTrashDate: null;
|
1450
|
+
movedToTrashDate: string | null;
|
1418
1451
|
created_at: string;
|
1419
1452
|
updated_at: string;
|
1420
1453
|
tags: {
|
@@ -1436,20 +1469,20 @@ export interface components {
|
|
1436
1469
|
id: string;
|
1437
1470
|
shortId: number;
|
1438
1471
|
phoneNumber: string;
|
1439
|
-
secondaryPhoneNumber: null;
|
1472
|
+
secondaryPhoneNumber: string | null;
|
1440
1473
|
fullName: string;
|
1441
|
-
firstName: null;
|
1442
|
-
gender: null;
|
1443
|
-
birthDate: null;
|
1444
|
-
profilePictureUrl: null;
|
1445
|
-
instagram: null;
|
1446
|
-
mail: null;
|
1447
|
-
dni: null;
|
1474
|
+
firstName: string | null;
|
1475
|
+
gender: string | null;
|
1476
|
+
birthDate: string | null;
|
1477
|
+
profilePictureUrl: string | null;
|
1478
|
+
instagram: string | null;
|
1479
|
+
mail: string | null;
|
1480
|
+
dni: string | null;
|
1448
1481
|
alternativeNames: string[];
|
1449
|
-
birthLocationId: null;
|
1450
|
-
residenceLocationId: null;
|
1482
|
+
birthLocationId: string | null;
|
1483
|
+
residenceLocationId: string | null;
|
1451
1484
|
isInTrash: boolean;
|
1452
|
-
movedToTrashDate: null;
|
1485
|
+
movedToTrashDate: string | null;
|
1453
1486
|
created_at: string;
|
1454
1487
|
updated_at: string;
|
1455
1488
|
tags: {
|
@@ -1489,20 +1522,20 @@ export interface components {
|
|
1489
1522
|
id: string;
|
1490
1523
|
shortId: number;
|
1491
1524
|
phoneNumber: string;
|
1492
|
-
secondaryPhoneNumber: null;
|
1525
|
+
secondaryPhoneNumber: string | null;
|
1493
1526
|
fullName: string;
|
1494
|
-
firstName: null;
|
1495
|
-
gender: null;
|
1496
|
-
birthDate: null;
|
1497
|
-
profilePictureUrl: null;
|
1498
|
-
instagram: null;
|
1499
|
-
mail: null;
|
1500
|
-
dni: null;
|
1527
|
+
firstName: string | null;
|
1528
|
+
gender: string | null;
|
1529
|
+
birthDate: string | null;
|
1530
|
+
profilePictureUrl: string | null;
|
1531
|
+
instagram: string | null;
|
1532
|
+
mail: string | null;
|
1533
|
+
dni: string | null;
|
1501
1534
|
alternativeNames: string[];
|
1502
|
-
birthLocationId: null;
|
1503
|
-
residenceLocationId: null;
|
1535
|
+
birthLocationId: string | null;
|
1536
|
+
residenceLocationId: string | null;
|
1504
1537
|
isInTrash: boolean;
|
1505
|
-
movedToTrashDate: null;
|
1538
|
+
movedToTrashDate: string | null;
|
1506
1539
|
created_at: string;
|
1507
1540
|
updated_at: string;
|
1508
1541
|
tags: {
|
@@ -1523,20 +1556,20 @@ export interface components {
|
|
1523
1556
|
id: string;
|
1524
1557
|
shortId: number;
|
1525
1558
|
phoneNumber: string;
|
1526
|
-
secondaryPhoneNumber: null;
|
1559
|
+
secondaryPhoneNumber: string | null;
|
1527
1560
|
fullName: string;
|
1528
|
-
firstName: null;
|
1529
|
-
gender: null;
|
1530
|
-
birthDate: null;
|
1531
|
-
profilePictureUrl: null;
|
1532
|
-
instagram: null;
|
1533
|
-
mail: null;
|
1534
|
-
dni: null;
|
1561
|
+
firstName: string | null;
|
1562
|
+
gender: string | null;
|
1563
|
+
birthDate: string | null;
|
1564
|
+
profilePictureUrl: string | null;
|
1565
|
+
instagram: string | null;
|
1566
|
+
mail: string | null;
|
1567
|
+
dni: string | null;
|
1535
1568
|
alternativeNames: string[];
|
1536
|
-
birthLocationId: null;
|
1537
|
-
residenceLocationId: null;
|
1569
|
+
birthLocationId: string | null;
|
1570
|
+
residenceLocationId: string | null;
|
1538
1571
|
isInTrash: boolean;
|
1539
|
-
movedToTrashDate: null;
|
1572
|
+
movedToTrashDate: string | null;
|
1540
1573
|
created_at: string;
|
1541
1574
|
updated_at: string;
|
1542
1575
|
tags: {
|
@@ -1554,20 +1587,20 @@ export interface components {
|
|
1554
1587
|
id: string;
|
1555
1588
|
shortId: number;
|
1556
1589
|
phoneNumber: string;
|
1557
|
-
secondaryPhoneNumber: null;
|
1590
|
+
secondaryPhoneNumber: string | null;
|
1558
1591
|
fullName: string;
|
1559
|
-
firstName: null;
|
1560
|
-
gender: null;
|
1561
|
-
birthDate: null;
|
1562
|
-
profilePictureUrl: null;
|
1563
|
-
instagram: null;
|
1564
|
-
mail: null;
|
1565
|
-
dni: null;
|
1592
|
+
firstName: string | null;
|
1593
|
+
gender: string | null;
|
1594
|
+
birthDate: string | null;
|
1595
|
+
profilePictureUrl: string | null;
|
1596
|
+
instagram: string | null;
|
1597
|
+
mail: string | null;
|
1598
|
+
dni: string | null;
|
1566
1599
|
alternativeNames: string[];
|
1567
|
-
birthLocationId: null;
|
1568
|
-
residenceLocationId: null;
|
1600
|
+
birthLocationId: string | null;
|
1601
|
+
residenceLocationId: string | null;
|
1569
1602
|
isInTrash: boolean;
|
1570
|
-
movedToTrashDate: null;
|
1603
|
+
movedToTrashDate: string | null;
|
1571
1604
|
created_at: string;
|
1572
1605
|
updated_at: string;
|
1573
1606
|
tags: {
|
@@ -1587,20 +1620,20 @@ export interface components {
|
|
1587
1620
|
id: string;
|
1588
1621
|
shortId: number;
|
1589
1622
|
phoneNumber: string;
|
1590
|
-
secondaryPhoneNumber: null;
|
1623
|
+
secondaryPhoneNumber: string | null;
|
1591
1624
|
fullName: string;
|
1592
|
-
firstName: null;
|
1593
|
-
gender: null;
|
1594
|
-
birthDate: null;
|
1595
|
-
profilePictureUrl: null;
|
1596
|
-
instagram: null;
|
1597
|
-
mail: null;
|
1598
|
-
dni: null;
|
1625
|
+
firstName: string | null;
|
1626
|
+
gender: string | null;
|
1627
|
+
birthDate: string | null;
|
1628
|
+
profilePictureUrl: string | null;
|
1629
|
+
instagram: string | null;
|
1630
|
+
mail: string | null;
|
1631
|
+
dni: string | null;
|
1599
1632
|
alternativeNames: string[];
|
1600
|
-
birthLocationId: null;
|
1601
|
-
residenceLocationId: null;
|
1633
|
+
birthLocationId: string | null;
|
1634
|
+
residenceLocationId: string | null;
|
1602
1635
|
isInTrash: boolean;
|
1603
|
-
movedToTrashDate: null;
|
1636
|
+
movedToTrashDate: string | null;
|
1604
1637
|
created_at: string;
|
1605
1638
|
updated_at: string;
|
1606
1639
|
};
|
@@ -1608,25 +1641,25 @@ export interface components {
|
|
1608
1641
|
profiles: {
|
1609
1642
|
id: string;
|
1610
1643
|
fullName: string;
|
1611
|
-
profilePictureUrl: null;
|
1644
|
+
profilePictureUrl: string | null;
|
1612
1645
|
created_at: string;
|
1613
1646
|
isInTrash: boolean;
|
1614
1647
|
phoneNumber: string;
|
1615
|
-
movedToTrashDate: null;
|
1648
|
+
movedToTrashDate: string | null;
|
1616
1649
|
}[];
|
1617
1650
|
};
|
1618
1651
|
CreateProfileDto: {
|
1619
1652
|
profile: {
|
1620
1653
|
alternativeNames: string[];
|
1621
|
-
birthDate: null;
|
1622
|
-
dni: null;
|
1654
|
+
birthDate: string | null;
|
1655
|
+
dni: string | null;
|
1623
1656
|
fullName: string;
|
1624
|
-
gender: null;
|
1625
|
-
instagram: null;
|
1626
|
-
mail: null;
|
1657
|
+
gender: string | null;
|
1658
|
+
instagram: string | null;
|
1659
|
+
mail: string | null;
|
1627
1660
|
phoneNumber: string;
|
1628
|
-
profilePictureUrl: null;
|
1629
|
-
secondaryPhoneNumber: null;
|
1661
|
+
profilePictureUrl: string | null;
|
1662
|
+
secondaryPhoneNumber: string | null;
|
1630
1663
|
comments?: {
|
1631
1664
|
content: string;
|
1632
1665
|
isSolvable: boolean;
|
@@ -1651,7 +1684,6 @@ export interface components {
|
|
1651
1684
|
};
|
1652
1685
|
CreateProfileResponseDto: {
|
1653
1686
|
response: {
|
1654
|
-
type: "similar";
|
1655
1687
|
similarProfiles: {
|
1656
1688
|
profile: {
|
1657
1689
|
fullName: string;
|
@@ -1661,33 +1693,52 @@ export interface components {
|
|
1661
1693
|
similarityPhoneNumberPercentage: number;
|
1662
1694
|
similarityFullNamePercentage: number;
|
1663
1695
|
}[];
|
1696
|
+
type: "similar";
|
1664
1697
|
} | {
|
1665
|
-
type: "created";
|
1666
1698
|
id: string;
|
1699
|
+
type: "created";
|
1667
1700
|
};
|
1668
1701
|
};
|
1669
1702
|
FindByIdProfileResponseDto: {
|
1670
1703
|
id: string;
|
1671
1704
|
shortId: number;
|
1672
1705
|
phoneNumber: string;
|
1673
|
-
secondaryPhoneNumber: null;
|
1706
|
+
secondaryPhoneNumber: string | null;
|
1674
1707
|
fullName: string;
|
1675
|
-
firstName: null;
|
1676
|
-
gender: null;
|
1677
|
-
birthDate: null;
|
1678
|
-
profilePictureUrl: null;
|
1679
|
-
instagram: null;
|
1680
|
-
mail: null;
|
1681
|
-
dni: null;
|
1708
|
+
firstName: string | null;
|
1709
|
+
gender: string | null;
|
1710
|
+
birthDate: string | null;
|
1711
|
+
profilePictureUrl: string | null;
|
1712
|
+
instagram: string | null;
|
1713
|
+
mail: string | null;
|
1714
|
+
dni: string | null;
|
1682
1715
|
alternativeNames: string[];
|
1683
|
-
birthLocationId: null;
|
1684
|
-
residenceLocationId: null;
|
1716
|
+
birthLocationId: string | null;
|
1717
|
+
residenceLocationId: string | null;
|
1685
1718
|
isInTrash: boolean;
|
1686
|
-
movedToTrashDate: null;
|
1719
|
+
movedToTrashDate: string | null;
|
1687
1720
|
created_at: string;
|
1688
1721
|
updated_at: string;
|
1689
|
-
residenceLocation:
|
1690
|
-
|
1722
|
+
residenceLocation: {
|
1723
|
+
id: string;
|
1724
|
+
latitude: number;
|
1725
|
+
longitude: number;
|
1726
|
+
country: string;
|
1727
|
+
state: string;
|
1728
|
+
city: string;
|
1729
|
+
created_at: string;
|
1730
|
+
updated_at: string;
|
1731
|
+
} | null;
|
1732
|
+
birthLocation: {
|
1733
|
+
id: string;
|
1734
|
+
latitude: number;
|
1735
|
+
longitude: number;
|
1736
|
+
country: string;
|
1737
|
+
state: string;
|
1738
|
+
city: string;
|
1739
|
+
created_at: string;
|
1740
|
+
updated_at: string;
|
1741
|
+
} | null;
|
1691
1742
|
tags: {
|
1692
1743
|
id: string;
|
1693
1744
|
name: string;
|
@@ -1706,36 +1757,36 @@ export interface components {
|
|
1706
1757
|
id: string;
|
1707
1758
|
shortId: number;
|
1708
1759
|
phoneNumber: string;
|
1709
|
-
secondaryPhoneNumber: null;
|
1760
|
+
secondaryPhoneNumber: string | null;
|
1710
1761
|
fullName: string;
|
1711
|
-
firstName: null;
|
1712
|
-
gender: null;
|
1713
|
-
birthDate: null;
|
1714
|
-
profilePictureUrl: null;
|
1715
|
-
instagram: null;
|
1716
|
-
mail: null;
|
1717
|
-
dni: null;
|
1762
|
+
firstName: string | null;
|
1763
|
+
gender: string | null;
|
1764
|
+
birthDate: string | null;
|
1765
|
+
profilePictureUrl: string | null;
|
1766
|
+
instagram: string | null;
|
1767
|
+
mail: string | null;
|
1768
|
+
dni: string | null;
|
1718
1769
|
alternativeNames: string[];
|
1719
|
-
birthLocationId: null;
|
1720
|
-
residenceLocationId: null;
|
1770
|
+
birthLocationId: string | null;
|
1771
|
+
residenceLocationId: string | null;
|
1721
1772
|
isInTrash: boolean;
|
1722
|
-
movedToTrashDate: null;
|
1773
|
+
movedToTrashDate: string | null;
|
1723
1774
|
created_at: string;
|
1724
1775
|
updated_at: string;
|
1725
1776
|
};
|
1726
1777
|
UpdateProfileDto: {
|
1727
1778
|
alternativeNames: string[];
|
1728
|
-
birthDate: null;
|
1729
|
-
dni: null;
|
1779
|
+
birthDate: string | null;
|
1780
|
+
dni: string | null;
|
1730
1781
|
fullName: string;
|
1731
|
-
gender: null;
|
1732
|
-
instagram: null;
|
1733
|
-
mail: null;
|
1782
|
+
gender: string | null;
|
1783
|
+
instagram: string | null;
|
1784
|
+
mail: string | null;
|
1734
1785
|
phoneNumber: string;
|
1735
|
-
profilePictureUrl: null;
|
1736
|
-
secondaryPhoneNumber: null;
|
1786
|
+
profilePictureUrl: string | null;
|
1787
|
+
secondaryPhoneNumber: string | null;
|
1737
1788
|
isInTrash: boolean;
|
1738
|
-
movedToTrashDate: null;
|
1789
|
+
movedToTrashDate: string | null;
|
1739
1790
|
residence?: {
|
1740
1791
|
city: string;
|
1741
1792
|
country: string;
|