expo-backend-types 0.11.0 → 0.13.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 +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/i18n/es.d.ts +8 -0
- package/dist/src/i18n/es.js +8 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/message/dto/message.dto.d.ts +173 -0
- package/dist/src/message/dto/message.dto.js +38 -0
- package/dist/src/message/exports.d.ts +1 -0
- package/dist/src/message/exports.js +18 -0
- package/dist/src/profile/dto/create-profile.dto.d.ts +16 -12
- package/dist/src/profile/dto/create-profile.dto.js +8 -4
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +728 -0
- package/dist/src/profile/dto/find-with-active-chat.dto.js +26 -0
- package/dist/src/profile/exports.d.ts +1 -0
- package/dist/src/profile/exports.js +1 -0
- package/dist/types/prisma-schema/edge.js +2 -2
- package/dist/types/prisma-schema/index.js +2 -2
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +1 -1
- package/dist/types/schema.d.ts +291 -152
- package/package.json +2 -1
package/dist/types/schema.d.ts
CHANGED
@@ -575,6 +575,22 @@ export interface paths {
|
|
575
575
|
patch?: never;
|
576
576
|
trace?: never;
|
577
577
|
};
|
578
|
+
"/profile/all-with-active-chat": {
|
579
|
+
parameters: {
|
580
|
+
query?: never;
|
581
|
+
header?: never;
|
582
|
+
path?: never;
|
583
|
+
cookie?: never;
|
584
|
+
};
|
585
|
+
get: operations["ProfileController_findAllWithActiveChat"];
|
586
|
+
put?: never;
|
587
|
+
post?: never;
|
588
|
+
delete?: never;
|
589
|
+
options?: never;
|
590
|
+
head?: never;
|
591
|
+
patch?: never;
|
592
|
+
trace?: never;
|
593
|
+
};
|
578
594
|
"/profile/find-by-tags": {
|
579
595
|
parameters: {
|
580
596
|
query?: never;
|
@@ -812,20 +828,20 @@ export interface components {
|
|
812
828
|
id: string;
|
813
829
|
shortId: number;
|
814
830
|
phoneNumber: string;
|
815
|
-
secondaryPhoneNumber: null;
|
831
|
+
secondaryPhoneNumber: string | null;
|
816
832
|
fullName: string;
|
817
|
-
firstName: null;
|
818
|
-
gender: null;
|
819
|
-
birthDate: null;
|
820
|
-
profilePictureUrl: null;
|
821
|
-
instagram: null;
|
822
|
-
mail: null;
|
823
|
-
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;
|
824
840
|
alternativeNames: string[];
|
825
|
-
birthLocationId: null;
|
826
|
-
residenceLocationId: null;
|
841
|
+
birthLocationId: string | null;
|
842
|
+
residenceLocationId: string | null;
|
827
843
|
isInTrash: boolean;
|
828
|
-
movedToTrashDate: null;
|
844
|
+
movedToTrashDate: string | null;
|
829
845
|
created_at: string;
|
830
846
|
updated_at: string;
|
831
847
|
}[];
|
@@ -839,20 +855,20 @@ export interface components {
|
|
839
855
|
id: string;
|
840
856
|
shortId: number;
|
841
857
|
phoneNumber: string;
|
842
|
-
secondaryPhoneNumber: null;
|
858
|
+
secondaryPhoneNumber: string | null;
|
843
859
|
fullName: string;
|
844
|
-
firstName: null;
|
845
|
-
gender: null;
|
846
|
-
birthDate: null;
|
847
|
-
profilePictureUrl: null;
|
848
|
-
instagram: null;
|
849
|
-
mail: null;
|
850
|
-
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;
|
851
867
|
alternativeNames: string[];
|
852
|
-
birthLocationId: null;
|
853
|
-
residenceLocationId: null;
|
868
|
+
birthLocationId: string | null;
|
869
|
+
residenceLocationId: string | null;
|
854
870
|
isInTrash: boolean;
|
855
|
-
movedToTrashDate: null;
|
871
|
+
movedToTrashDate: string | null;
|
856
872
|
created_at: string;
|
857
873
|
updated_at: string;
|
858
874
|
}[];
|
@@ -1033,7 +1049,7 @@ export interface components {
|
|
1033
1049
|
profileId: string;
|
1034
1050
|
isSolvable: boolean;
|
1035
1051
|
isSolved: boolean;
|
1036
|
-
solvedAt: null;
|
1052
|
+
solvedAt: string | null;
|
1037
1053
|
solvedBy?: string;
|
1038
1054
|
created_at: string;
|
1039
1055
|
updated_at: string;
|
@@ -1046,7 +1062,7 @@ export interface components {
|
|
1046
1062
|
profileId: string;
|
1047
1063
|
isSolvable: boolean;
|
1048
1064
|
isSolved: boolean;
|
1049
|
-
solvedAt: null;
|
1065
|
+
solvedAt: string | null;
|
1050
1066
|
solvedBy?: string;
|
1051
1067
|
created_at: string;
|
1052
1068
|
updated_at: string;
|
@@ -1062,7 +1078,7 @@ export interface components {
|
|
1062
1078
|
profileId: string;
|
1063
1079
|
isSolvable: boolean;
|
1064
1080
|
isSolved: boolean;
|
1065
|
-
solvedAt: null;
|
1081
|
+
solvedAt: string | null;
|
1066
1082
|
solvedBy?: string;
|
1067
1083
|
created_at: string;
|
1068
1084
|
updated_at: string;
|
@@ -1110,8 +1126,8 @@ export interface components {
|
|
1110
1126
|
isoCode: string;
|
1111
1127
|
countryCode: string;
|
1112
1128
|
countryName: string;
|
1113
|
-
latitude?: null;
|
1114
|
-
longitude?: null;
|
1129
|
+
latitude?: string | null;
|
1130
|
+
longitude?: string | null;
|
1115
1131
|
}[];
|
1116
1132
|
};
|
1117
1133
|
CreateCannedResponseDto: {
|
@@ -1175,10 +1191,10 @@ export interface components {
|
|
1175
1191
|
name: string;
|
1176
1192
|
date: string;
|
1177
1193
|
location: string;
|
1178
|
-
folderId: null;
|
1194
|
+
folderId: string | null;
|
1179
1195
|
tagAssistedId: string;
|
1180
1196
|
tagConfirmedId: string;
|
1181
|
-
supraEventId: null;
|
1197
|
+
supraEventId: string | null;
|
1182
1198
|
created_at: string;
|
1183
1199
|
updated_at: string;
|
1184
1200
|
}[];
|
@@ -1195,10 +1211,10 @@ export interface components {
|
|
1195
1211
|
name: string;
|
1196
1212
|
date: string;
|
1197
1213
|
location: string;
|
1198
|
-
folderId: null;
|
1214
|
+
folderId: string | null;
|
1199
1215
|
tagAssistedId: string;
|
1200
1216
|
tagConfirmedId: string;
|
1201
|
-
supraEventId: null;
|
1217
|
+
supraEventId: string | null;
|
1202
1218
|
created_at: string;
|
1203
1219
|
updated_at: string;
|
1204
1220
|
}[];
|
@@ -1225,7 +1241,7 @@ export interface components {
|
|
1225
1241
|
name: string;
|
1226
1242
|
date: string;
|
1227
1243
|
location: string;
|
1228
|
-
folderId: null;
|
1244
|
+
folderId: string | null;
|
1229
1245
|
subEvents?: {
|
1230
1246
|
name: string;
|
1231
1247
|
date: string;
|
@@ -1237,10 +1253,10 @@ export interface components {
|
|
1237
1253
|
name: string;
|
1238
1254
|
date: string;
|
1239
1255
|
location: string;
|
1240
|
-
folderId: null;
|
1256
|
+
folderId: string | null;
|
1241
1257
|
tagAssistedId: string;
|
1242
1258
|
tagConfirmedId: string;
|
1243
|
-
supraEventId: null;
|
1259
|
+
supraEventId: string | null;
|
1244
1260
|
created_at: string;
|
1245
1261
|
updated_at: string;
|
1246
1262
|
};
|
@@ -1256,22 +1272,33 @@ export interface components {
|
|
1256
1272
|
name: string;
|
1257
1273
|
date: string;
|
1258
1274
|
location: string;
|
1259
|
-
folderId: null;
|
1275
|
+
folderId: string | null;
|
1260
1276
|
tagAssistedId: string;
|
1261
1277
|
tagConfirmedId: string;
|
1262
|
-
supraEventId: null;
|
1278
|
+
supraEventId: string | null;
|
1263
1279
|
created_at: string;
|
1264
1280
|
updated_at: string;
|
1265
|
-
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;
|
1266
1293
|
subEvents: {
|
1267
1294
|
id: string;
|
1268
1295
|
name: string;
|
1269
1296
|
date: string;
|
1270
1297
|
location: string;
|
1271
|
-
folderId: null;
|
1298
|
+
folderId: string | null;
|
1272
1299
|
tagAssistedId: string;
|
1273
1300
|
tagConfirmedId: string;
|
1274
|
-
supraEventId: null;
|
1301
|
+
supraEventId: string | null;
|
1275
1302
|
created_at: string;
|
1276
1303
|
updated_at: string;
|
1277
1304
|
}[];
|
@@ -1282,22 +1309,33 @@ export interface components {
|
|
1282
1309
|
name: string;
|
1283
1310
|
date: string;
|
1284
1311
|
location: string;
|
1285
|
-
folderId: null;
|
1312
|
+
folderId: string | null;
|
1286
1313
|
tagAssistedId: string;
|
1287
1314
|
tagConfirmedId: string;
|
1288
|
-
supraEventId: null;
|
1315
|
+
supraEventId: string | null;
|
1289
1316
|
created_at: string;
|
1290
1317
|
updated_at: string;
|
1291
|
-
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;
|
1292
1330
|
subEvents: {
|
1293
1331
|
id: string;
|
1294
1332
|
name: string;
|
1295
1333
|
date: string;
|
1296
1334
|
location: string;
|
1297
|
-
folderId: null;
|
1335
|
+
folderId: string | null;
|
1298
1336
|
tagAssistedId: string;
|
1299
1337
|
tagConfirmedId: string;
|
1300
|
-
supraEventId: null;
|
1338
|
+
supraEventId: string | null;
|
1301
1339
|
created_at: string;
|
1302
1340
|
updated_at: string;
|
1303
1341
|
}[];
|
@@ -1308,10 +1346,10 @@ export interface components {
|
|
1308
1346
|
name: string;
|
1309
1347
|
date: string;
|
1310
1348
|
location: string;
|
1311
|
-
folderId: null;
|
1349
|
+
folderId: string | null;
|
1312
1350
|
tagAssistedId: string;
|
1313
1351
|
tagConfirmedId: string;
|
1314
|
-
supraEventId: null;
|
1352
|
+
supraEventId: string | null;
|
1315
1353
|
created_at: string;
|
1316
1354
|
updated_at: string;
|
1317
1355
|
subEvents: {
|
@@ -1319,18 +1357,29 @@ export interface components {
|
|
1319
1357
|
name: string;
|
1320
1358
|
date: string;
|
1321
1359
|
location: string;
|
1322
|
-
folderId: null;
|
1360
|
+
folderId: string | null;
|
1323
1361
|
tagAssistedId: string;
|
1324
1362
|
tagConfirmedId: string;
|
1325
|
-
supraEventId: null;
|
1363
|
+
supraEventId: string | null;
|
1326
1364
|
created_at: string;
|
1327
1365
|
updated_at: string;
|
1328
1366
|
}[];
|
1329
|
-
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;
|
1330
1379
|
};
|
1331
1380
|
UpdateEventDto: {
|
1332
1381
|
name: string;
|
1333
|
-
folderId: null;
|
1382
|
+
folderId: string | null;
|
1334
1383
|
date: string;
|
1335
1384
|
location: string;
|
1336
1385
|
subEvents: {
|
@@ -1345,10 +1394,10 @@ export interface components {
|
|
1345
1394
|
name: string;
|
1346
1395
|
date: string;
|
1347
1396
|
location: string;
|
1348
|
-
folderId: null;
|
1397
|
+
folderId: string | null;
|
1349
1398
|
tagAssistedId: string;
|
1350
1399
|
tagConfirmedId: string;
|
1351
|
-
supraEventId: null;
|
1400
|
+
supraEventId: string | null;
|
1352
1401
|
created_at: string;
|
1353
1402
|
updated_at: string;
|
1354
1403
|
tagAssisted: {
|
@@ -1373,10 +1422,10 @@ export interface components {
|
|
1373
1422
|
name: string;
|
1374
1423
|
date: string;
|
1375
1424
|
location: string;
|
1376
|
-
folderId: null;
|
1425
|
+
folderId: string | null;
|
1377
1426
|
tagAssistedId: string;
|
1378
1427
|
tagConfirmedId: string;
|
1379
|
-
supraEventId: null;
|
1428
|
+
supraEventId: string | null;
|
1380
1429
|
created_at: string;
|
1381
1430
|
updated_at: string;
|
1382
1431
|
};
|
@@ -1385,20 +1434,20 @@ export interface components {
|
|
1385
1434
|
id: string;
|
1386
1435
|
shortId: number;
|
1387
1436
|
phoneNumber: string;
|
1388
|
-
secondaryPhoneNumber: null;
|
1437
|
+
secondaryPhoneNumber: string | null;
|
1389
1438
|
fullName: string;
|
1390
|
-
firstName: null;
|
1391
|
-
gender: null;
|
1392
|
-
birthDate: null;
|
1393
|
-
profilePictureUrl: null;
|
1394
|
-
instagram: null;
|
1395
|
-
mail: null;
|
1396
|
-
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;
|
1397
1446
|
alternativeNames: string[];
|
1398
|
-
birthLocationId: null;
|
1399
|
-
residenceLocationId: null;
|
1447
|
+
birthLocationId: string | null;
|
1448
|
+
residenceLocationId: string | null;
|
1400
1449
|
isInTrash: boolean;
|
1401
|
-
movedToTrashDate: null;
|
1450
|
+
movedToTrashDate: string | null;
|
1402
1451
|
created_at: string;
|
1403
1452
|
updated_at: string;
|
1404
1453
|
tags: {
|
@@ -1415,25 +1464,78 @@ export interface components {
|
|
1415
1464
|
}[];
|
1416
1465
|
}[];
|
1417
1466
|
};
|
1467
|
+
FindWithActiveChatResponseDto: {
|
1468
|
+
profiles: {
|
1469
|
+
id: string;
|
1470
|
+
shortId: number;
|
1471
|
+
phoneNumber: string;
|
1472
|
+
secondaryPhoneNumber: string | null;
|
1473
|
+
fullName: string;
|
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;
|
1481
|
+
alternativeNames: string[];
|
1482
|
+
birthLocationId: string | null;
|
1483
|
+
residenceLocationId: string | null;
|
1484
|
+
isInTrash: boolean;
|
1485
|
+
movedToTrashDate: string | null;
|
1486
|
+
created_at: string;
|
1487
|
+
updated_at: string;
|
1488
|
+
tags: {
|
1489
|
+
id: string;
|
1490
|
+
name: string;
|
1491
|
+
groupId: string;
|
1492
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
1493
|
+
created_at: string;
|
1494
|
+
updated_at: string;
|
1495
|
+
}[];
|
1496
|
+
inChat: boolean;
|
1497
|
+
messages: {
|
1498
|
+
state: "SENT" | "RECEIVED" | "SEEN";
|
1499
|
+
message: {
|
1500
|
+
id: string;
|
1501
|
+
from?: string;
|
1502
|
+
to?: string;
|
1503
|
+
timestamp: number;
|
1504
|
+
text: {
|
1505
|
+
body: string;
|
1506
|
+
};
|
1507
|
+
type: "text";
|
1508
|
+
} | {
|
1509
|
+
id: string;
|
1510
|
+
from?: string;
|
1511
|
+
to?: string;
|
1512
|
+
timestamp: number;
|
1513
|
+
templateName: string;
|
1514
|
+
type: "template";
|
1515
|
+
};
|
1516
|
+
created_at: string;
|
1517
|
+
}[];
|
1518
|
+
}[];
|
1519
|
+
};
|
1418
1520
|
FindByTagsProfileResponseDto: {
|
1419
1521
|
profiles: {
|
1420
1522
|
id: string;
|
1421
1523
|
shortId: number;
|
1422
1524
|
phoneNumber: string;
|
1423
|
-
secondaryPhoneNumber: null;
|
1525
|
+
secondaryPhoneNumber: string | null;
|
1424
1526
|
fullName: string;
|
1425
|
-
firstName: null;
|
1426
|
-
gender: null;
|
1427
|
-
birthDate: null;
|
1428
|
-
profilePictureUrl: null;
|
1429
|
-
instagram: null;
|
1430
|
-
mail: null;
|
1431
|
-
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;
|
1432
1534
|
alternativeNames: string[];
|
1433
|
-
birthLocationId: null;
|
1434
|
-
residenceLocationId: null;
|
1535
|
+
birthLocationId: string | null;
|
1536
|
+
residenceLocationId: string | null;
|
1435
1537
|
isInTrash: boolean;
|
1436
|
-
movedToTrashDate: null;
|
1538
|
+
movedToTrashDate: string | null;
|
1437
1539
|
created_at: string;
|
1438
1540
|
updated_at: string;
|
1439
1541
|
tags: {
|
@@ -1454,20 +1556,20 @@ export interface components {
|
|
1454
1556
|
id: string;
|
1455
1557
|
shortId: number;
|
1456
1558
|
phoneNumber: string;
|
1457
|
-
secondaryPhoneNumber: null;
|
1559
|
+
secondaryPhoneNumber: string | null;
|
1458
1560
|
fullName: string;
|
1459
|
-
firstName: null;
|
1460
|
-
gender: null;
|
1461
|
-
birthDate: null;
|
1462
|
-
profilePictureUrl: null;
|
1463
|
-
instagram: null;
|
1464
|
-
mail: null;
|
1465
|
-
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;
|
1466
1568
|
alternativeNames: string[];
|
1467
|
-
birthLocationId: null;
|
1468
|
-
residenceLocationId: null;
|
1569
|
+
birthLocationId: string | null;
|
1570
|
+
residenceLocationId: string | null;
|
1469
1571
|
isInTrash: boolean;
|
1470
|
-
movedToTrashDate: null;
|
1572
|
+
movedToTrashDate: string | null;
|
1471
1573
|
created_at: string;
|
1472
1574
|
updated_at: string;
|
1473
1575
|
tags: {
|
@@ -1485,20 +1587,20 @@ export interface components {
|
|
1485
1587
|
id: string;
|
1486
1588
|
shortId: number;
|
1487
1589
|
phoneNumber: string;
|
1488
|
-
secondaryPhoneNumber: null;
|
1590
|
+
secondaryPhoneNumber: string | null;
|
1489
1591
|
fullName: string;
|
1490
|
-
firstName: null;
|
1491
|
-
gender: null;
|
1492
|
-
birthDate: null;
|
1493
|
-
profilePictureUrl: null;
|
1494
|
-
instagram: null;
|
1495
|
-
mail: null;
|
1496
|
-
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;
|
1497
1599
|
alternativeNames: string[];
|
1498
|
-
birthLocationId: null;
|
1499
|
-
residenceLocationId: null;
|
1600
|
+
birthLocationId: string | null;
|
1601
|
+
residenceLocationId: string | null;
|
1500
1602
|
isInTrash: boolean;
|
1501
|
-
movedToTrashDate: null;
|
1603
|
+
movedToTrashDate: string | null;
|
1502
1604
|
created_at: string;
|
1503
1605
|
updated_at: string;
|
1504
1606
|
tags: {
|
@@ -1518,20 +1620,20 @@ export interface components {
|
|
1518
1620
|
id: string;
|
1519
1621
|
shortId: number;
|
1520
1622
|
phoneNumber: string;
|
1521
|
-
secondaryPhoneNumber: null;
|
1623
|
+
secondaryPhoneNumber: string | null;
|
1522
1624
|
fullName: string;
|
1523
|
-
firstName: null;
|
1524
|
-
gender: null;
|
1525
|
-
birthDate: null;
|
1526
|
-
profilePictureUrl: null;
|
1527
|
-
instagram: null;
|
1528
|
-
mail: null;
|
1529
|
-
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;
|
1530
1632
|
alternativeNames: string[];
|
1531
|
-
birthLocationId: null;
|
1532
|
-
residenceLocationId: null;
|
1633
|
+
birthLocationId: string | null;
|
1634
|
+
residenceLocationId: string | null;
|
1533
1635
|
isInTrash: boolean;
|
1534
|
-
movedToTrashDate: null;
|
1636
|
+
movedToTrashDate: string | null;
|
1535
1637
|
created_at: string;
|
1536
1638
|
updated_at: string;
|
1537
1639
|
};
|
@@ -1539,25 +1641,25 @@ export interface components {
|
|
1539
1641
|
profiles: {
|
1540
1642
|
id: string;
|
1541
1643
|
fullName: string;
|
1542
|
-
profilePictureUrl: null;
|
1644
|
+
profilePictureUrl: string | null;
|
1543
1645
|
created_at: string;
|
1544
1646
|
isInTrash: boolean;
|
1545
1647
|
phoneNumber: string;
|
1546
|
-
movedToTrashDate: null;
|
1648
|
+
movedToTrashDate: string | null;
|
1547
1649
|
}[];
|
1548
1650
|
};
|
1549
1651
|
CreateProfileDto: {
|
1550
1652
|
profile: {
|
1551
1653
|
alternativeNames: string[];
|
1552
|
-
birthDate: null;
|
1553
|
-
dni: null;
|
1654
|
+
birthDate: string | null;
|
1655
|
+
dni: string | null;
|
1554
1656
|
fullName: string;
|
1555
|
-
gender: null;
|
1556
|
-
instagram: null;
|
1557
|
-
mail: null;
|
1657
|
+
gender: string | null;
|
1658
|
+
instagram: string | null;
|
1659
|
+
mail: string | null;
|
1558
1660
|
phoneNumber: string;
|
1559
|
-
profilePictureUrl: null;
|
1560
|
-
secondaryPhoneNumber: null;
|
1661
|
+
profilePictureUrl: string | null;
|
1662
|
+
secondaryPhoneNumber: string | null;
|
1561
1663
|
comments?: {
|
1562
1664
|
content: string;
|
1563
1665
|
isSolvable: boolean;
|
@@ -1582,7 +1684,6 @@ export interface components {
|
|
1582
1684
|
};
|
1583
1685
|
CreateProfileResponseDto: {
|
1584
1686
|
response: {
|
1585
|
-
type: "similar";
|
1586
1687
|
similarProfiles: {
|
1587
1688
|
profile: {
|
1588
1689
|
fullName: string;
|
@@ -1592,33 +1693,52 @@ export interface components {
|
|
1592
1693
|
similarityPhoneNumberPercentage: number;
|
1593
1694
|
similarityFullNamePercentage: number;
|
1594
1695
|
}[];
|
1696
|
+
type: "similar";
|
1595
1697
|
} | {
|
1596
|
-
type: "created";
|
1597
1698
|
id: string;
|
1699
|
+
type: "created";
|
1598
1700
|
};
|
1599
1701
|
};
|
1600
1702
|
FindByIdProfileResponseDto: {
|
1601
1703
|
id: string;
|
1602
1704
|
shortId: number;
|
1603
1705
|
phoneNumber: string;
|
1604
|
-
secondaryPhoneNumber: null;
|
1706
|
+
secondaryPhoneNumber: string | null;
|
1605
1707
|
fullName: string;
|
1606
|
-
firstName: null;
|
1607
|
-
gender: null;
|
1608
|
-
birthDate: null;
|
1609
|
-
profilePictureUrl: null;
|
1610
|
-
instagram: null;
|
1611
|
-
mail: null;
|
1612
|
-
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;
|
1613
1715
|
alternativeNames: string[];
|
1614
|
-
birthLocationId: null;
|
1615
|
-
residenceLocationId: null;
|
1716
|
+
birthLocationId: string | null;
|
1717
|
+
residenceLocationId: string | null;
|
1616
1718
|
isInTrash: boolean;
|
1617
|
-
movedToTrashDate: null;
|
1719
|
+
movedToTrashDate: string | null;
|
1618
1720
|
created_at: string;
|
1619
1721
|
updated_at: string;
|
1620
|
-
residenceLocation:
|
1621
|
-
|
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;
|
1622
1742
|
tags: {
|
1623
1743
|
id: string;
|
1624
1744
|
name: string;
|
@@ -1637,36 +1757,36 @@ export interface components {
|
|
1637
1757
|
id: string;
|
1638
1758
|
shortId: number;
|
1639
1759
|
phoneNumber: string;
|
1640
|
-
secondaryPhoneNumber: null;
|
1760
|
+
secondaryPhoneNumber: string | null;
|
1641
1761
|
fullName: string;
|
1642
|
-
firstName: null;
|
1643
|
-
gender: null;
|
1644
|
-
birthDate: null;
|
1645
|
-
profilePictureUrl: null;
|
1646
|
-
instagram: null;
|
1647
|
-
mail: null;
|
1648
|
-
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;
|
1649
1769
|
alternativeNames: string[];
|
1650
|
-
birthLocationId: null;
|
1651
|
-
residenceLocationId: null;
|
1770
|
+
birthLocationId: string | null;
|
1771
|
+
residenceLocationId: string | null;
|
1652
1772
|
isInTrash: boolean;
|
1653
|
-
movedToTrashDate: null;
|
1773
|
+
movedToTrashDate: string | null;
|
1654
1774
|
created_at: string;
|
1655
1775
|
updated_at: string;
|
1656
1776
|
};
|
1657
1777
|
UpdateProfileDto: {
|
1658
1778
|
alternativeNames: string[];
|
1659
|
-
birthDate: null;
|
1660
|
-
dni: null;
|
1779
|
+
birthDate: string | null;
|
1780
|
+
dni: string | null;
|
1661
1781
|
fullName: string;
|
1662
|
-
gender: null;
|
1663
|
-
instagram: null;
|
1664
|
-
mail: null;
|
1782
|
+
gender: string | null;
|
1783
|
+
instagram: string | null;
|
1784
|
+
mail: string | null;
|
1665
1785
|
phoneNumber: string;
|
1666
|
-
profilePictureUrl: null;
|
1667
|
-
secondaryPhoneNumber: null;
|
1786
|
+
profilePictureUrl: string | null;
|
1787
|
+
secondaryPhoneNumber: string | null;
|
1668
1788
|
isInTrash: boolean;
|
1669
|
-
movedToTrashDate: null;
|
1789
|
+
movedToTrashDate: string | null;
|
1670
1790
|
residence?: {
|
1671
1791
|
city: string;
|
1672
1792
|
country: string;
|
@@ -2819,6 +2939,25 @@ export interface operations {
|
|
2819
2939
|
};
|
2820
2940
|
};
|
2821
2941
|
};
|
2942
|
+
ProfileController_findAllWithActiveChat: {
|
2943
|
+
parameters: {
|
2944
|
+
query?: never;
|
2945
|
+
header?: never;
|
2946
|
+
path?: never;
|
2947
|
+
cookie?: never;
|
2948
|
+
};
|
2949
|
+
requestBody?: never;
|
2950
|
+
responses: {
|
2951
|
+
200: {
|
2952
|
+
headers: {
|
2953
|
+
[name: string]: unknown;
|
2954
|
+
};
|
2955
|
+
content: {
|
2956
|
+
"application/json": components["schemas"]["FindWithActiveChatResponseDto"];
|
2957
|
+
};
|
2958
|
+
};
|
2959
|
+
};
|
2960
|
+
};
|
2822
2961
|
ProfileController_findByTag: {
|
2823
2962
|
parameters: {
|
2824
2963
|
query: {
|