expo-backend-types 0.10.0-EXPO-247-EB-Evento.5 → 0.10.0-EXPO-247-EB-Evento.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +6 -4
  2. package/dist/src/account/dto/create-account.dto.d.ts +12 -8
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
  4. package/dist/src/account/dto/get-me.dto.d.ts +6 -4
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
  6. package/dist/src/auth/dto/login.dto.d.ts +11 -8
  7. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
  8. package/dist/src/event-folder/dto/update-event-folder.dto.d.ts +17 -14
  9. package/dist/src/event-folder/dto/update-event-folder.dto.js +2 -4
  10. package/dist/src/i18n/es.d.ts +47 -0
  11. package/dist/src/i18n/es.js +47 -0
  12. package/dist/src/i18n/es.js.map +1 -1
  13. package/dist/src/profile/dto/create-profile.dto.d.ts +694 -0
  14. package/dist/src/profile/dto/create-profile.dto.js +84 -0
  15. package/dist/src/profile/dto/delete-profile.dto.d.ts +125 -0
  16. package/dist/src/profile/dto/delete-profile.dto.js +10 -0
  17. package/dist/src/profile/dto/find-all-profile.dto.d.ts +410 -0
  18. package/dist/src/profile/dto/find-all-profile.dto.js +25 -0
  19. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +655 -0
  20. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +34 -0
  21. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +475 -0
  22. package/dist/src/profile/dto/find-by-id-profile.dto.js +27 -0
  23. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +125 -0
  24. package/dist/src/profile/dto/find-by-phone-number.dto.js +10 -0
  25. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +337 -0
  26. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +19 -0
  27. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +393 -0
  28. package/dist/src/profile/dto/find-by-tags-profile.dto.js +24 -0
  29. package/dist/src/profile/dto/find-trash.dto.d.ts +110 -0
  30. package/dist/src/profile/dto/find-trash.dto.js +24 -0
  31. package/dist/src/profile/dto/profile.dto.d.ts +5 -5
  32. package/dist/src/profile/dto/profile.dto.js +7 -3
  33. package/dist/src/profile/dto/update-profile.dto.d.ts +360 -0
  34. package/dist/src/profile/dto/update-profile.dto.js +55 -0
  35. package/dist/src/profile/exports.d.ts +10 -0
  36. package/dist/src/profile/exports.js +10 -0
  37. package/dist/src/tag/dto/massive-allocation.dto.d.ts +16 -16
  38. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +16 -16
  39. package/dist/types/prisma-schema/edge.js +5 -4
  40. package/dist/types/prisma-schema/index-browser.js +2 -1
  41. package/dist/types/prisma-schema/index.d.ts +9 -2
  42. package/dist/types/prisma-schema/index.js +5 -4
  43. package/dist/types/prisma-schema/package.json +1 -1
  44. package/dist/types/prisma-schema/schema.prisma +2 -0
  45. package/dist/types/prisma-schema/wasm.js +2 -1
  46. package/dist/types/schema.d.ts +851 -160
  47. package/package.json +4 -1
@@ -559,6 +559,134 @@ export interface paths {
559
559
  patch: operations["EventController_update"];
560
560
  trace?: never;
561
561
  };
562
+ "/profile/all": {
563
+ parameters: {
564
+ query?: never;
565
+ header?: never;
566
+ path?: never;
567
+ cookie?: never;
568
+ };
569
+ get: operations["ProfileController_findAll"];
570
+ put?: never;
571
+ post?: never;
572
+ delete?: never;
573
+ options?: never;
574
+ head?: never;
575
+ patch?: never;
576
+ trace?: never;
577
+ };
578
+ "/profile/find-by-tags": {
579
+ parameters: {
580
+ query?: never;
581
+ header?: never;
582
+ path?: never;
583
+ cookie?: never;
584
+ };
585
+ get: operations["ProfileController_findByTag"];
586
+ put?: never;
587
+ post?: never;
588
+ delete?: never;
589
+ options?: never;
590
+ head?: never;
591
+ patch?: never;
592
+ trace?: never;
593
+ };
594
+ "/profile/find-by-tag-groups": {
595
+ parameters: {
596
+ query?: never;
597
+ header?: never;
598
+ path?: never;
599
+ cookie?: never;
600
+ };
601
+ get: operations["ProfileController_findByTagGroups"];
602
+ put?: never;
603
+ post?: never;
604
+ delete?: never;
605
+ options?: never;
606
+ head?: never;
607
+ patch?: never;
608
+ trace?: never;
609
+ };
610
+ "/profile/find-by-date-range": {
611
+ parameters: {
612
+ query?: never;
613
+ header?: never;
614
+ path?: never;
615
+ cookie?: never;
616
+ };
617
+ get: operations["ProfileController_findByDateRange"];
618
+ put?: never;
619
+ post?: never;
620
+ delete?: never;
621
+ options?: never;
622
+ head?: never;
623
+ patch?: never;
624
+ trace?: never;
625
+ };
626
+ "/profile/find-by-phone-number/{phoneNumber}": {
627
+ parameters: {
628
+ query?: never;
629
+ header?: never;
630
+ path?: never;
631
+ cookie?: never;
632
+ };
633
+ get: operations["ProfileController_findByPhoneNumber"];
634
+ put?: never;
635
+ post?: never;
636
+ delete?: never;
637
+ options?: never;
638
+ head?: never;
639
+ patch?: never;
640
+ trace?: never;
641
+ };
642
+ "/profile/find-trash": {
643
+ parameters: {
644
+ query?: never;
645
+ header?: never;
646
+ path?: never;
647
+ cookie?: never;
648
+ };
649
+ get: operations["ProfileController_findTrashCan"];
650
+ put?: never;
651
+ post?: never;
652
+ delete?: never;
653
+ options?: never;
654
+ head?: never;
655
+ patch?: never;
656
+ trace?: never;
657
+ };
658
+ "/profile/create": {
659
+ parameters: {
660
+ query?: never;
661
+ header?: never;
662
+ path?: never;
663
+ cookie?: never;
664
+ };
665
+ get?: never;
666
+ put?: never;
667
+ post: operations["ProfileController_create"];
668
+ delete?: never;
669
+ options?: never;
670
+ head?: never;
671
+ patch?: never;
672
+ trace?: never;
673
+ };
674
+ "/profile/{id}": {
675
+ parameters: {
676
+ query?: never;
677
+ header?: never;
678
+ path?: never;
679
+ cookie?: never;
680
+ };
681
+ get: operations["ProfileController_findById"];
682
+ put?: never;
683
+ post?: never;
684
+ delete: operations["ProfileController_delete"];
685
+ options?: never;
686
+ head?: never;
687
+ patch: operations["ProfileController_update"];
688
+ trace?: never;
689
+ };
562
690
  }
563
691
  export type webhooks = Record<string, never>;
564
692
  export interface components {
@@ -569,18 +697,18 @@ export interface components {
569
697
  };
570
698
  LoginResponseDto: {
571
699
  user: {
572
- id?: string;
573
- username?: string;
574
- role?: "USER" | "ADMIN";
700
+ id: string;
701
+ username: string;
702
+ role: "USER" | "ADMIN" | "FORM";
575
703
  isGlobalFilterActive: boolean;
576
704
  fcmToken: string[];
577
- created_at?: string;
578
- updated_at?: string;
705
+ created_at: string;
706
+ updated_at: string;
579
707
  };
580
708
  backendTokens: {
581
- accessToken?: string;
582
- refreshToken?: string;
583
- expiresIn?: number;
709
+ accessToken: string;
710
+ refreshToken: string;
711
+ expiresIn: number;
584
712
  };
585
713
  };
586
714
  ErrorDto: {
@@ -647,12 +775,12 @@ export interface components {
647
775
  created_at: string;
648
776
  updated_at: string;
649
777
  group: {
650
- id?: string;
651
- name?: string;
652
- color?: string;
653
- isExclusive?: boolean;
654
- created_at?: string;
655
- updated_at?: string;
778
+ id: string;
779
+ name: string;
780
+ color: string;
781
+ isExclusive: boolean;
782
+ created_at: string;
783
+ updated_at: string;
656
784
  };
657
785
  };
658
786
  UpdateTagDto: {
@@ -684,20 +812,20 @@ export interface components {
684
812
  id: string;
685
813
  shortId: number;
686
814
  phoneNumber: string;
687
- secondaryPhoneNumber: string | null;
815
+ secondaryPhoneNumber: null;
688
816
  fullName: string;
689
- firstName: string | null;
690
- gender: string | null;
691
- birthDate: string | null;
692
- profilePictureUrl: string | null;
693
- instagram: string | null;
694
- mail: string | null;
695
- dni: string | null;
696
- alternativeNames: string[] | null;
697
- birthLocationId: string | null;
698
- residenceLocationId: string | null;
817
+ firstName: null;
818
+ gender: null;
819
+ birthDate: null;
820
+ profilePictureUrl: null;
821
+ instagram: null;
822
+ mail: null;
823
+ dni: null;
824
+ alternativeNames: string[];
825
+ birthLocationId: null;
826
+ residenceLocationId: null;
699
827
  isInTrash: boolean;
700
- movedToTrashDate: string | null;
828
+ movedToTrashDate: null;
701
829
  created_at: string;
702
830
  updated_at: string;
703
831
  }[];
@@ -711,20 +839,20 @@ export interface components {
711
839
  id: string;
712
840
  shortId: number;
713
841
  phoneNumber: string;
714
- secondaryPhoneNumber: string | null;
842
+ secondaryPhoneNumber: null;
715
843
  fullName: string;
716
- firstName: string | null;
717
- gender: string | null;
718
- birthDate: string | null;
719
- profilePictureUrl: string | null;
720
- instagram: string | null;
721
- mail: string | null;
722
- dni: string | null;
723
- alternativeNames: string[] | null;
724
- birthLocationId: string | null;
725
- residenceLocationId: string | null;
844
+ firstName: null;
845
+ gender: null;
846
+ birthDate: null;
847
+ profilePictureUrl: null;
848
+ instagram: null;
849
+ mail: null;
850
+ dni: null;
851
+ alternativeNames: string[];
852
+ birthLocationId: null;
853
+ residenceLocationId: null;
726
854
  isInTrash: boolean;
727
- movedToTrashDate: string | null;
855
+ movedToTrashDate: null;
728
856
  created_at: string;
729
857
  updated_at: string;
730
858
  }[];
@@ -732,12 +860,12 @@ export interface components {
732
860
  CreateAccountDto: {
733
861
  username: string;
734
862
  password: string;
735
- role: "USER" | "ADMIN";
863
+ role: "USER" | "ADMIN" | "FORM";
736
864
  };
737
865
  CreateAccountResponseDto: {
738
866
  id: string;
739
867
  username: string;
740
- role: "USER" | "ADMIN";
868
+ role: "USER" | "ADMIN" | "FORM";
741
869
  isGlobalFilterActive: boolean;
742
870
  fcmToken: string[];
743
871
  };
@@ -749,7 +877,7 @@ export interface components {
749
877
  id: string;
750
878
  username: string;
751
879
  password: string;
752
- role: "USER" | "ADMIN";
880
+ role: "USER" | "ADMIN" | "FORM";
753
881
  isGlobalFilterActive: boolean;
754
882
  fcmToken: string[];
755
883
  created_at: string;
@@ -779,7 +907,7 @@ export interface components {
779
907
  GetMeResponseDto: {
780
908
  id: string;
781
909
  username: string;
782
- role: "USER" | "ADMIN";
910
+ role: "USER" | "ADMIN" | "FORM";
783
911
  isGlobalFilterActive: boolean;
784
912
  fcmToken: string[];
785
913
  created_at: string;
@@ -905,8 +1033,8 @@ export interface components {
905
1033
  profileId: string;
906
1034
  isSolvable: boolean;
907
1035
  isSolved: boolean;
908
- solvedAt: string | null;
909
- solvedBy: string;
1036
+ solvedAt: null;
1037
+ solvedBy?: string;
910
1038
  created_at: string;
911
1039
  updated_at: string;
912
1040
  };
@@ -918,7 +1046,7 @@ export interface components {
918
1046
  profileId: string;
919
1047
  isSolvable: boolean;
920
1048
  isSolved: boolean;
921
- solvedAt: string | null;
1049
+ solvedAt: null;
922
1050
  solvedBy?: string;
923
1051
  created_at: string;
924
1052
  updated_at: string;
@@ -934,8 +1062,8 @@ export interface components {
934
1062
  profileId: string;
935
1063
  isSolvable: boolean;
936
1064
  isSolved: boolean;
937
- solvedAt: string | null;
938
- solvedBy: string;
1065
+ solvedAt: null;
1066
+ solvedBy?: string;
939
1067
  created_at: string;
940
1068
  updated_at: string;
941
1069
  };
@@ -982,8 +1110,8 @@ export interface components {
982
1110
  isoCode: string;
983
1111
  countryCode: string;
984
1112
  countryName: string;
985
- latitude?: string | null;
986
- longitude?: string | null;
1113
+ latitude?: null;
1114
+ longitude?: null;
987
1115
  }[];
988
1116
  };
989
1117
  CreateCannedResponseDto: {
@@ -1047,10 +1175,10 @@ export interface components {
1047
1175
  name: string;
1048
1176
  date: string;
1049
1177
  location: string;
1050
- folderId: string | null;
1178
+ folderId: null;
1051
1179
  tagAssistedId: string;
1052
1180
  tagConfirmedId: string;
1053
- supraEventId: string | null;
1181
+ supraEventId: null;
1054
1182
  created_at: string;
1055
1183
  updated_at: string;
1056
1184
  }[];
@@ -1067,10 +1195,10 @@ export interface components {
1067
1195
  name: string;
1068
1196
  date: string;
1069
1197
  location: string;
1070
- folderId: string | null;
1198
+ folderId: null;
1071
1199
  tagAssistedId: string;
1072
1200
  tagConfirmedId: string;
1073
- supraEventId: string | null;
1201
+ supraEventId: null;
1074
1202
  created_at: string;
1075
1203
  updated_at: string;
1076
1204
  }[];
@@ -1097,8 +1225,8 @@ export interface components {
1097
1225
  name: string;
1098
1226
  date: string;
1099
1227
  location: string;
1100
- folderId: string | null;
1101
- subEvents: {
1228
+ folderId: null;
1229
+ subEvents?: {
1102
1230
  name: string;
1103
1231
  date: string;
1104
1232
  location: string;
@@ -1109,10 +1237,10 @@ export interface components {
1109
1237
  name: string;
1110
1238
  date: string;
1111
1239
  location: string;
1112
- folderId: string | null;
1240
+ folderId: null;
1113
1241
  tagAssistedId: string;
1114
1242
  tagConfirmedId: string;
1115
- supraEventId: string | null;
1243
+ supraEventId: null;
1116
1244
  created_at: string;
1117
1245
  updated_at: string;
1118
1246
  };
@@ -1128,33 +1256,22 @@ export interface components {
1128
1256
  name: string;
1129
1257
  date: string;
1130
1258
  location: string;
1131
- folderId: string | null;
1259
+ folderId: null;
1132
1260
  tagAssistedId: string;
1133
1261
  tagConfirmedId: string;
1134
- supraEventId: string | null;
1262
+ supraEventId: null;
1135
1263
  created_at: string;
1136
1264
  updated_at: string;
1137
- supraEvent: {
1138
- id: string;
1139
- name: string;
1140
- date: string;
1141
- location: string;
1142
- folderId: string | null;
1143
- tagAssistedId: string;
1144
- tagConfirmedId: string;
1145
- supraEventId: string | null;
1146
- created_at: string;
1147
- updated_at: string;
1148
- } | null;
1265
+ supraEvent: null;
1149
1266
  subEvents: {
1150
1267
  id: string;
1151
1268
  name: string;
1152
1269
  date: string;
1153
1270
  location: string;
1154
- folderId: string | null;
1271
+ folderId: null;
1155
1272
  tagAssistedId: string;
1156
1273
  tagConfirmedId: string;
1157
- supraEventId: string | null;
1274
+ supraEventId: null;
1158
1275
  created_at: string;
1159
1276
  updated_at: string;
1160
1277
  }[];
@@ -1165,33 +1282,22 @@ export interface components {
1165
1282
  name: string;
1166
1283
  date: string;
1167
1284
  location: string;
1168
- folderId: string | null;
1285
+ folderId: null;
1169
1286
  tagAssistedId: string;
1170
1287
  tagConfirmedId: string;
1171
- supraEventId: string | null;
1288
+ supraEventId: null;
1172
1289
  created_at: string;
1173
1290
  updated_at: string;
1174
- supraEvent: {
1175
- id: string;
1176
- name: string;
1177
- date: string;
1178
- location: string;
1179
- folderId: string | null;
1180
- tagAssistedId: string;
1181
- tagConfirmedId: string;
1182
- supraEventId: string | null;
1183
- created_at: string;
1184
- updated_at: string;
1185
- } | null;
1291
+ supraEvent: null;
1186
1292
  subEvents: {
1187
1293
  id: string;
1188
1294
  name: string;
1189
1295
  date: string;
1190
1296
  location: string;
1191
- folderId: string | null;
1297
+ folderId: null;
1192
1298
  tagAssistedId: string;
1193
1299
  tagConfirmedId: string;
1194
- supraEventId: string | null;
1300
+ supraEventId: null;
1195
1301
  created_at: string;
1196
1302
  updated_at: string;
1197
1303
  }[];
@@ -1202,10 +1308,10 @@ export interface components {
1202
1308
  name: string;
1203
1309
  date: string;
1204
1310
  location: string;
1205
- folderId: string | null;
1311
+ folderId: null;
1206
1312
  tagAssistedId: string;
1207
1313
  tagConfirmedId: string;
1208
- supraEventId: string | null;
1314
+ supraEventId: null;
1209
1315
  created_at: string;
1210
1316
  updated_at: string;
1211
1317
  subEvents: {
@@ -1213,29 +1319,18 @@ export interface components {
1213
1319
  name: string;
1214
1320
  date: string;
1215
1321
  location: string;
1216
- folderId: string | null;
1322
+ folderId: null;
1217
1323
  tagAssistedId: string;
1218
1324
  tagConfirmedId: string;
1219
- supraEventId: string | null;
1325
+ supraEventId: null;
1220
1326
  created_at: string;
1221
1327
  updated_at: string;
1222
1328
  }[];
1223
- supraEvent: {
1224
- id?: string;
1225
- name?: string;
1226
- date?: string;
1227
- location?: string;
1228
- folderId?: string | null;
1229
- tagAssistedId?: string;
1230
- tagConfirmedId?: string;
1231
- supraEventId?: string | null;
1232
- created_at?: string;
1233
- updated_at?: string;
1234
- } | null;
1329
+ supraEvent: null;
1235
1330
  };
1236
1331
  UpdateEventDto: {
1237
1332
  name: string;
1238
- folderId: string | null;
1333
+ folderId: null;
1239
1334
  date: string;
1240
1335
  location: string;
1241
1336
  subEvents: {
@@ -1250,20 +1345,20 @@ export interface components {
1250
1345
  name: string;
1251
1346
  date: string;
1252
1347
  location: string;
1253
- folderId: string | null;
1348
+ folderId: null;
1254
1349
  tagAssistedId: string;
1255
1350
  tagConfirmedId: string;
1256
- supraEventId: string | null;
1351
+ supraEventId: null;
1257
1352
  created_at: string;
1258
1353
  updated_at: string;
1259
1354
  tagAssisted: {
1260
- id?: string;
1261
- name?: string;
1262
- groupId?: string;
1263
- type?: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1264
- created_at?: string;
1265
- updated_at?: string;
1266
- group?: {
1355
+ id: string;
1356
+ name: string;
1357
+ groupId: string;
1358
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1359
+ created_at: string;
1360
+ updated_at: string;
1361
+ group: {
1267
1362
  id: string;
1268
1363
  name: string;
1269
1364
  color: string;
@@ -1278,59 +1373,362 @@ export interface components {
1278
1373
  name: string;
1279
1374
  date: string;
1280
1375
  location: string;
1281
- folderId: string | null;
1376
+ folderId: null;
1282
1377
  tagAssistedId: string;
1283
1378
  tagConfirmedId: string;
1284
- supraEventId: string | null;
1379
+ supraEventId: null;
1285
1380
  created_at: string;
1286
1381
  updated_at: string;
1287
1382
  };
1288
- };
1289
- responses: never;
1290
- parameters: never;
1291
- requestBodies: never;
1292
- headers: never;
1293
- pathItems: never;
1294
- }
1295
- export type $defs = Record<string, never>;
1296
- export interface operations {
1297
- AuthController_loginUser: {
1298
- parameters: {
1299
- query?: never;
1300
- header?: never;
1301
- path?: never;
1302
- cookie?: never;
1383
+ FindAllProfileResponseDto: {
1384
+ profiles: {
1385
+ id: string;
1386
+ shortId: number;
1387
+ phoneNumber: string;
1388
+ secondaryPhoneNumber: null;
1389
+ fullName: string;
1390
+ firstName: null;
1391
+ gender: null;
1392
+ birthDate: null;
1393
+ profilePictureUrl: null;
1394
+ instagram: null;
1395
+ mail: null;
1396
+ dni: null;
1397
+ alternativeNames: string[];
1398
+ birthLocationId: null;
1399
+ residenceLocationId: null;
1400
+ isInTrash: boolean;
1401
+ movedToTrashDate: null;
1402
+ created_at: string;
1403
+ updated_at: string;
1404
+ tags: {
1405
+ id: string;
1406
+ name: string;
1407
+ groupId: string;
1408
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1409
+ created_at: string;
1410
+ updated_at: string;
1411
+ group: {
1412
+ color: string;
1413
+ isExclusive: boolean;
1414
+ };
1415
+ }[];
1416
+ }[];
1303
1417
  };
1304
- requestBody: {
1305
- content: {
1306
- "application/json": components["schemas"]["LoginDto"];
1307
- };
1418
+ FindByTagsProfileResponseDto: {
1419
+ profiles: {
1420
+ id: string;
1421
+ shortId: number;
1422
+ phoneNumber: string;
1423
+ secondaryPhoneNumber: null;
1424
+ fullName: string;
1425
+ firstName: null;
1426
+ gender: null;
1427
+ birthDate: null;
1428
+ profilePictureUrl: null;
1429
+ instagram: null;
1430
+ mail: null;
1431
+ dni: null;
1432
+ alternativeNames: string[];
1433
+ birthLocationId: null;
1434
+ residenceLocationId: null;
1435
+ isInTrash: boolean;
1436
+ movedToTrashDate: null;
1437
+ created_at: string;
1438
+ updated_at: string;
1439
+ tags: {
1440
+ id: string;
1441
+ name: string;
1442
+ groupId: string;
1443
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1444
+ created_at: string;
1445
+ updated_at: string;
1446
+ group: {
1447
+ isExclusive: boolean;
1448
+ };
1449
+ }[];
1450
+ }[];
1308
1451
  };
1309
- responses: {
1310
- 200: {
1311
- headers: {
1312
- [name: string]: unknown;
1313
- };
1314
- content: {
1315
- "application/json": components["schemas"]["LoginResponseDto"];
1316
- };
1317
- };
1318
- 401: {
1319
- headers: {
1320
- [name: string]: unknown;
1321
- };
1322
- content: {
1323
- "application/json": components["schemas"]["ErrorDto"];
1324
- };
1325
- };
1452
+ FindByTagGroupsProfileResponseDto: {
1453
+ profiles: {
1454
+ id: string;
1455
+ shortId: number;
1456
+ phoneNumber: string;
1457
+ secondaryPhoneNumber: null;
1458
+ fullName: string;
1459
+ firstName: null;
1460
+ gender: null;
1461
+ birthDate: null;
1462
+ profilePictureUrl: null;
1463
+ instagram: null;
1464
+ mail: null;
1465
+ dni: null;
1466
+ alternativeNames: string[];
1467
+ birthLocationId: null;
1468
+ residenceLocationId: null;
1469
+ isInTrash: boolean;
1470
+ movedToTrashDate: null;
1471
+ created_at: string;
1472
+ updated_at: string;
1473
+ tags: {
1474
+ id: string;
1475
+ name: string;
1476
+ groupId: string;
1477
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1478
+ created_at: string;
1479
+ updated_at: string;
1480
+ }[];
1481
+ }[];
1326
1482
  };
1327
- };
1328
- AuthController_refreshToken: {
1329
- parameters: {
1330
- query?: never;
1331
- header?: never;
1332
- path?: never;
1333
- cookie?: never;
1483
+ FindByDateRangeResponseDto: {
1484
+ [key: string]: {
1485
+ id: string;
1486
+ shortId: number;
1487
+ phoneNumber: string;
1488
+ secondaryPhoneNumber: null;
1489
+ fullName: string;
1490
+ firstName: null;
1491
+ gender: null;
1492
+ birthDate: null;
1493
+ profilePictureUrl: null;
1494
+ instagram: null;
1495
+ mail: null;
1496
+ dni: null;
1497
+ alternativeNames: string[];
1498
+ birthLocationId: null;
1499
+ residenceLocationId: null;
1500
+ isInTrash: boolean;
1501
+ movedToTrashDate: null;
1502
+ created_at: string;
1503
+ updated_at: string;
1504
+ tags: {
1505
+ id: string;
1506
+ name: string;
1507
+ groupId: string;
1508
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1509
+ created_at: string;
1510
+ updated_at: string;
1511
+ group: {
1512
+ id: string;
1513
+ };
1514
+ }[];
1515
+ }[] | undefined;
1516
+ };
1517
+ FindByPhoneNumberResponseDto: {
1518
+ id: string;
1519
+ shortId: number;
1520
+ phoneNumber: string;
1521
+ secondaryPhoneNumber: null;
1522
+ fullName: string;
1523
+ firstName: null;
1524
+ gender: null;
1525
+ birthDate: null;
1526
+ profilePictureUrl: null;
1527
+ instagram: null;
1528
+ mail: null;
1529
+ dni: null;
1530
+ alternativeNames: string[];
1531
+ birthLocationId: null;
1532
+ residenceLocationId: null;
1533
+ isInTrash: boolean;
1534
+ movedToTrashDate: null;
1535
+ created_at: string;
1536
+ updated_at: string;
1537
+ };
1538
+ FindTrashResponseDto: {
1539
+ profiles: {
1540
+ id: string;
1541
+ fullName: string;
1542
+ profilePictureUrl: null;
1543
+ created_at: string;
1544
+ isInTrash: boolean;
1545
+ phoneNumber: string;
1546
+ movedToTrashDate: null;
1547
+ }[];
1548
+ };
1549
+ CreateProfileDto: {
1550
+ profile: {
1551
+ alternativeNames: string[];
1552
+ birthDate: null;
1553
+ dni: null;
1554
+ fullName: string;
1555
+ gender: null;
1556
+ instagram: null;
1557
+ mail: null;
1558
+ phoneNumber: string;
1559
+ profilePictureUrl: null;
1560
+ secondaryPhoneNumber: null;
1561
+ comments?: {
1562
+ content: string;
1563
+ isSolvable: boolean;
1564
+ }[];
1565
+ residence?: {
1566
+ city: string;
1567
+ country: string;
1568
+ latitude: number;
1569
+ longitude: number;
1570
+ state: string;
1571
+ };
1572
+ birth?: {
1573
+ city: string;
1574
+ country: string;
1575
+ latitude: number;
1576
+ longitude: number;
1577
+ state: string;
1578
+ };
1579
+ tags?: string[];
1580
+ };
1581
+ checkForSimilarity?: boolean;
1582
+ };
1583
+ CreateProfileResponseDto: {
1584
+ response: {
1585
+ type: "similar";
1586
+ similarProfiles: {
1587
+ profile: {
1588
+ fullName: string;
1589
+ phoneNumber: string;
1590
+ id: string;
1591
+ };
1592
+ similarityPhoneNumberPercentage: number;
1593
+ similarityFullNamePercentage: number;
1594
+ }[];
1595
+ } | {
1596
+ type: "created";
1597
+ id: string;
1598
+ };
1599
+ };
1600
+ FindByIdProfileResponseDto: {
1601
+ id: string;
1602
+ shortId: number;
1603
+ phoneNumber: string;
1604
+ secondaryPhoneNumber: null;
1605
+ fullName: string;
1606
+ firstName: null;
1607
+ gender: null;
1608
+ birthDate: null;
1609
+ profilePictureUrl: null;
1610
+ instagram: null;
1611
+ mail: null;
1612
+ dni: null;
1613
+ alternativeNames: string[];
1614
+ birthLocationId: null;
1615
+ residenceLocationId: null;
1616
+ isInTrash: boolean;
1617
+ movedToTrashDate: null;
1618
+ created_at: string;
1619
+ updated_at: string;
1620
+ residenceLocation: null;
1621
+ birthLocation: null;
1622
+ tags: {
1623
+ id: string;
1624
+ name: string;
1625
+ groupId: string;
1626
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1627
+ created_at: string;
1628
+ updated_at: string;
1629
+ group: {
1630
+ id: string;
1631
+ color: string;
1632
+ isExclusive: boolean;
1633
+ };
1634
+ }[];
1635
+ };
1636
+ DeleteProfileResponseDto: {
1637
+ id: string;
1638
+ shortId: number;
1639
+ phoneNumber: string;
1640
+ secondaryPhoneNumber: null;
1641
+ fullName: string;
1642
+ firstName: null;
1643
+ gender: null;
1644
+ birthDate: null;
1645
+ profilePictureUrl: null;
1646
+ instagram: null;
1647
+ mail: null;
1648
+ dni: null;
1649
+ alternativeNames: string[];
1650
+ birthLocationId: null;
1651
+ residenceLocationId: null;
1652
+ isInTrash: boolean;
1653
+ movedToTrashDate: null;
1654
+ created_at: string;
1655
+ updated_at: string;
1656
+ };
1657
+ UpdateProfileDto: {
1658
+ alternativeNames: string[];
1659
+ birthDate: null;
1660
+ dni: null;
1661
+ fullName: string;
1662
+ gender: null;
1663
+ instagram: null;
1664
+ mail: null;
1665
+ phoneNumber: string;
1666
+ profilePictureUrl: null;
1667
+ secondaryPhoneNumber: null;
1668
+ isInTrash: boolean;
1669
+ movedToTrashDate: null;
1670
+ residence?: {
1671
+ city: string;
1672
+ country: string;
1673
+ latitude: number;
1674
+ longitude: number;
1675
+ state: string;
1676
+ };
1677
+ birth?: {
1678
+ city: string;
1679
+ country: string;
1680
+ latitude: number;
1681
+ longitude: number;
1682
+ state: string;
1683
+ };
1684
+ tags?: string[];
1685
+ };
1686
+ };
1687
+ responses: never;
1688
+ parameters: never;
1689
+ requestBodies: never;
1690
+ headers: never;
1691
+ pathItems: never;
1692
+ }
1693
+ export type $defs = Record<string, never>;
1694
+ export interface operations {
1695
+ AuthController_loginUser: {
1696
+ parameters: {
1697
+ query?: never;
1698
+ header?: never;
1699
+ path?: never;
1700
+ cookie?: never;
1701
+ };
1702
+ requestBody: {
1703
+ content: {
1704
+ "application/json": components["schemas"]["LoginDto"];
1705
+ };
1706
+ };
1707
+ responses: {
1708
+ 200: {
1709
+ headers: {
1710
+ [name: string]: unknown;
1711
+ };
1712
+ content: {
1713
+ "application/json": components["schemas"]["LoginResponseDto"];
1714
+ };
1715
+ };
1716
+ 401: {
1717
+ headers: {
1718
+ [name: string]: unknown;
1719
+ };
1720
+ content: {
1721
+ "application/json": components["schemas"]["ErrorDto"];
1722
+ };
1723
+ };
1724
+ };
1725
+ };
1726
+ AuthController_refreshToken: {
1727
+ parameters: {
1728
+ query?: never;
1729
+ header?: never;
1730
+ path?: never;
1731
+ cookie?: never;
1334
1732
  };
1335
1733
  requestBody?: never;
1336
1734
  responses: {
@@ -2402,4 +2800,297 @@ export interface operations {
2402
2800
  };
2403
2801
  };
2404
2802
  };
2803
+ ProfileController_findAll: {
2804
+ parameters: {
2805
+ query?: never;
2806
+ header?: never;
2807
+ path?: never;
2808
+ cookie?: never;
2809
+ };
2810
+ requestBody?: never;
2811
+ responses: {
2812
+ 200: {
2813
+ headers: {
2814
+ [name: string]: unknown;
2815
+ };
2816
+ content: {
2817
+ "application/json": components["schemas"]["FindAllProfileResponseDto"];
2818
+ };
2819
+ };
2820
+ };
2821
+ };
2822
+ ProfileController_findByTag: {
2823
+ parameters: {
2824
+ query: {
2825
+ tags: string[];
2826
+ };
2827
+ header?: never;
2828
+ path?: never;
2829
+ cookie?: never;
2830
+ };
2831
+ requestBody?: never;
2832
+ responses: {
2833
+ 200: {
2834
+ headers: {
2835
+ [name: string]: unknown;
2836
+ };
2837
+ content: {
2838
+ "application/json": components["schemas"]["FindByTagsProfileResponseDto"];
2839
+ };
2840
+ };
2841
+ 404: {
2842
+ headers: {
2843
+ [name: string]: unknown;
2844
+ };
2845
+ content: {
2846
+ "application/json": components["schemas"]["ErrorDto"];
2847
+ };
2848
+ };
2849
+ };
2850
+ };
2851
+ ProfileController_findByTagGroups: {
2852
+ parameters: {
2853
+ query: {
2854
+ tagGroups: string[];
2855
+ };
2856
+ header?: never;
2857
+ path?: never;
2858
+ cookie?: never;
2859
+ };
2860
+ requestBody?: never;
2861
+ responses: {
2862
+ 200: {
2863
+ headers: {
2864
+ [name: string]: unknown;
2865
+ };
2866
+ content: {
2867
+ "application/json": components["schemas"]["FindByTagGroupsProfileResponseDto"];
2868
+ };
2869
+ };
2870
+ 404: {
2871
+ headers: {
2872
+ [name: string]: unknown;
2873
+ };
2874
+ content: {
2875
+ "application/json": components["schemas"]["ErrorDto"];
2876
+ };
2877
+ };
2878
+ };
2879
+ };
2880
+ ProfileController_findByDateRange: {
2881
+ parameters: {
2882
+ query: {
2883
+ from: string;
2884
+ to: string;
2885
+ };
2886
+ header?: never;
2887
+ path?: never;
2888
+ cookie?: never;
2889
+ };
2890
+ requestBody?: never;
2891
+ responses: {
2892
+ 200: {
2893
+ headers: {
2894
+ [name: string]: unknown;
2895
+ };
2896
+ content: {
2897
+ "application/json": components["schemas"]["FindByDateRangeResponseDto"];
2898
+ };
2899
+ };
2900
+ 412: {
2901
+ headers: {
2902
+ [name: string]: unknown;
2903
+ };
2904
+ content: {
2905
+ "application/json": components["schemas"]["ErrorDto"];
2906
+ };
2907
+ };
2908
+ };
2909
+ };
2910
+ ProfileController_findByPhoneNumber: {
2911
+ parameters: {
2912
+ query?: never;
2913
+ header?: never;
2914
+ path: {
2915
+ phoneNumber: string;
2916
+ };
2917
+ cookie?: never;
2918
+ };
2919
+ requestBody?: never;
2920
+ responses: {
2921
+ 200: {
2922
+ headers: {
2923
+ [name: string]: unknown;
2924
+ };
2925
+ content: {
2926
+ "application/json": components["schemas"]["FindByPhoneNumberResponseDto"];
2927
+ };
2928
+ };
2929
+ 404: {
2930
+ headers: {
2931
+ [name: string]: unknown;
2932
+ };
2933
+ content: {
2934
+ "application/json": components["schemas"]["ErrorDto"];
2935
+ };
2936
+ };
2937
+ };
2938
+ };
2939
+ ProfileController_findTrashCan: {
2940
+ parameters: {
2941
+ query?: never;
2942
+ header?: never;
2943
+ path?: never;
2944
+ cookie?: never;
2945
+ };
2946
+ requestBody?: never;
2947
+ responses: {
2948
+ 200: {
2949
+ headers: {
2950
+ [name: string]: unknown;
2951
+ };
2952
+ content: {
2953
+ "application/json": components["schemas"]["FindTrashResponseDto"];
2954
+ };
2955
+ };
2956
+ };
2957
+ };
2958
+ ProfileController_create: {
2959
+ parameters: {
2960
+ query?: never;
2961
+ header?: never;
2962
+ path?: never;
2963
+ cookie?: never;
2964
+ };
2965
+ requestBody: {
2966
+ content: {
2967
+ "application/json": components["schemas"]["CreateProfileDto"];
2968
+ };
2969
+ };
2970
+ responses: {
2971
+ 200: {
2972
+ headers: {
2973
+ [name: string]: unknown;
2974
+ };
2975
+ content: {
2976
+ "application/json": components["schemas"]["CreateProfileResponseDto"];
2977
+ };
2978
+ };
2979
+ 404: {
2980
+ headers: {
2981
+ [name: string]: unknown;
2982
+ };
2983
+ content: {
2984
+ "application/json": components["schemas"]["ErrorDto"];
2985
+ };
2986
+ };
2987
+ 409: {
2988
+ headers: {
2989
+ [name: string]: unknown;
2990
+ };
2991
+ content: {
2992
+ "application/json": components["schemas"]["ErrorDto"];
2993
+ };
2994
+ };
2995
+ };
2996
+ };
2997
+ ProfileController_findById: {
2998
+ parameters: {
2999
+ query?: never;
3000
+ header?: never;
3001
+ path: {
3002
+ id: string;
3003
+ };
3004
+ cookie?: never;
3005
+ };
3006
+ requestBody?: never;
3007
+ responses: {
3008
+ 200: {
3009
+ headers: {
3010
+ [name: string]: unknown;
3011
+ };
3012
+ content: {
3013
+ "application/json": components["schemas"]["FindByIdProfileResponseDto"];
3014
+ };
3015
+ };
3016
+ 404: {
3017
+ headers: {
3018
+ [name: string]: unknown;
3019
+ };
3020
+ content: {
3021
+ "application/json": components["schemas"]["ErrorDto"];
3022
+ };
3023
+ };
3024
+ };
3025
+ };
3026
+ ProfileController_delete: {
3027
+ parameters: {
3028
+ query?: never;
3029
+ header?: never;
3030
+ path: {
3031
+ id: string;
3032
+ };
3033
+ cookie?: never;
3034
+ };
3035
+ requestBody?: never;
3036
+ responses: {
3037
+ 200: {
3038
+ headers: {
3039
+ [name: string]: unknown;
3040
+ };
3041
+ content: {
3042
+ "application/json": components["schemas"]["DeleteProfileResponseDto"];
3043
+ };
3044
+ };
3045
+ 404: {
3046
+ headers: {
3047
+ [name: string]: unknown;
3048
+ };
3049
+ content: {
3050
+ "application/json": components["schemas"]["ErrorDto"];
3051
+ };
3052
+ };
3053
+ };
3054
+ };
3055
+ ProfileController_update: {
3056
+ parameters: {
3057
+ query?: never;
3058
+ header?: never;
3059
+ path: {
3060
+ id: string;
3061
+ };
3062
+ cookie?: never;
3063
+ };
3064
+ requestBody: {
3065
+ content: {
3066
+ "application/json": components["schemas"]["UpdateProfileDto"];
3067
+ };
3068
+ };
3069
+ responses: {
3070
+ 200: {
3071
+ headers: {
3072
+ [name: string]: unknown;
3073
+ };
3074
+ content: {
3075
+ "application/json": components["schemas"]["UpdateProfileDto"];
3076
+ };
3077
+ };
3078
+ 404: {
3079
+ headers: {
3080
+ [name: string]: unknown;
3081
+ };
3082
+ content: {
3083
+ "application/json": components["schemas"]["ErrorDto"];
3084
+ };
3085
+ };
3086
+ 409: {
3087
+ headers: {
3088
+ [name: string]: unknown;
3089
+ };
3090
+ content: {
3091
+ "application/json": components["schemas"]["ErrorDto"];
3092
+ };
3093
+ };
3094
+ };
3095
+ };
2405
3096
  }