expo-backend-types 0.9.0-EXPO-247-EB-Evento.1 → 0.9.0-EXPO-249-EB-Modelo.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) 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/exports.d.ts +0 -5
  9. package/dist/src/event/exports.js +0 -5
  10. package/dist/src/event-folder/dto/update-event-folder.dto.d.ts +17 -14
  11. package/dist/src/event-folder/dto/update-event-folder.dto.js +2 -4
  12. package/dist/src/i18n/es.d.ts +40 -15
  13. package/dist/src/i18n/es.js +40 -15
  14. package/dist/src/i18n/es.js.map +1 -1
  15. package/dist/src/profile/dto/create-profile.dto.d.ts +694 -0
  16. package/dist/src/profile/dto/create-profile.dto.js +84 -0
  17. package/dist/src/profile/dto/delete-profile.dto.d.ts +125 -0
  18. package/dist/src/profile/dto/delete-profile.dto.js +10 -0
  19. package/dist/src/profile/dto/find-all-profile.dto.d.ts +410 -0
  20. package/dist/src/profile/dto/find-all-profile.dto.js +25 -0
  21. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +655 -0
  22. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +34 -0
  23. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +475 -0
  24. package/dist/src/profile/dto/find-by-id-profile.dto.js +27 -0
  25. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +125 -0
  26. package/dist/src/profile/dto/find-by-phone-number.dto.js +10 -0
  27. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +337 -0
  28. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +19 -0
  29. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +393 -0
  30. package/dist/src/profile/dto/find-by-tags-profile.dto.js +24 -0
  31. package/dist/src/profile/dto/find-trash.dto.d.ts +110 -0
  32. package/dist/src/profile/dto/find-trash.dto.js +24 -0
  33. package/dist/src/profile/dto/profile.dto.d.ts +5 -5
  34. package/dist/src/profile/dto/profile.dto.js +7 -3
  35. package/dist/src/profile/dto/update-profile.dto.d.ts +360 -0
  36. package/dist/src/profile/dto/update-profile.dto.js +55 -0
  37. package/dist/src/profile/exports.d.ts +10 -0
  38. package/dist/src/profile/exports.js +10 -0
  39. package/dist/src/tag/dto/massive-allocation.dto.d.ts +16 -16
  40. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +16 -16
  41. package/dist/types/prisma-schema/edge.js +5 -4
  42. package/dist/types/prisma-schema/index-browser.js +2 -1
  43. package/dist/types/prisma-schema/index.d.ts +9 -2
  44. package/dist/types/prisma-schema/index.js +5 -4
  45. package/dist/types/prisma-schema/package.json +1 -1
  46. package/dist/types/prisma-schema/schema.prisma +2 -0
  47. package/dist/types/prisma-schema/wasm.js +2 -1
  48. package/dist/types/schema.d.ts +587 -154
  49. package/package.json +4 -1
  50. package/dist/src/event/dto/create-event.dto.d.ts +0 -126
  51. package/dist/src/event/dto/create-event.dto.js +0 -22
  52. package/dist/src/event/dto/delete-event.dto.d.ts +0 -71
  53. package/dist/src/event/dto/delete-event.dto.js +0 -10
  54. package/dist/src/event/dto/get-all-event.dto.d.ts +0 -223
  55. package/dist/src/event/dto/get-all-event.dto.js +0 -19
  56. package/dist/src/event/dto/get-by-id-event.dto.d.ts +0 -139
  57. package/dist/src/event/dto/get-by-id-event.dto.js +0 -17
  58. package/dist/src/event/dto/update-event.dto.d.ts +0 -126
  59. package/dist/src/event/dto/update-event.dto.js +0 -22
@@ -511,30 +511,46 @@ export interface paths {
511
511
  patch?: never;
512
512
  trace?: never;
513
513
  };
514
- "/event/create": {
514
+ "/profile/all": {
515
515
  parameters: {
516
516
  query?: never;
517
517
  header?: never;
518
518
  path?: never;
519
519
  cookie?: never;
520
520
  };
521
- get?: never;
521
+ get: operations["ProfileController_findAll"];
522
+ put?: never;
523
+ post?: never;
524
+ delete?: never;
525
+ options?: never;
526
+ head?: never;
527
+ patch?: never;
528
+ trace?: never;
529
+ };
530
+ "/profile/find-by-tags": {
531
+ parameters: {
532
+ query?: never;
533
+ header?: never;
534
+ path?: never;
535
+ cookie?: never;
536
+ };
537
+ get: operations["ProfileController_findByTag"];
522
538
  put?: never;
523
- post: operations["EventController_create"];
539
+ post?: never;
524
540
  delete?: never;
525
541
  options?: never;
526
542
  head?: never;
527
543
  patch?: never;
528
544
  trace?: never;
529
545
  };
530
- "/event/all": {
546
+ "/profile/find-by-tag-groups": {
531
547
  parameters: {
532
548
  query?: never;
533
549
  header?: never;
534
550
  path?: never;
535
551
  cookie?: never;
536
552
  };
537
- get: operations["EventController_findAll"];
553
+ get: operations["ProfileController_findByTagGroups"];
538
554
  put?: never;
539
555
  post?: never;
540
556
  delete?: never;
@@ -543,20 +559,84 @@ export interface paths {
543
559
  patch?: never;
544
560
  trace?: never;
545
561
  };
546
- "/event/{id}": {
562
+ "/profile/find-by-date-range": {
547
563
  parameters: {
548
564
  query?: never;
549
565
  header?: never;
550
566
  path?: never;
551
567
  cookie?: never;
552
568
  };
553
- get: operations["EventController_findById"];
569
+ get: operations["ProfileController_findByDateRange"];
554
570
  put?: never;
555
571
  post?: never;
556
- delete: operations["EventController_remove"];
572
+ delete?: never;
557
573
  options?: never;
558
574
  head?: never;
559
- patch: operations["EventController_update"];
575
+ patch?: never;
576
+ trace?: never;
577
+ };
578
+ "/profile/find-by-phone-number/{phoneNumber}": {
579
+ parameters: {
580
+ query?: never;
581
+ header?: never;
582
+ path?: never;
583
+ cookie?: never;
584
+ };
585
+ get: operations["ProfileController_findByPhoneNumber"];
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-trash": {
595
+ parameters: {
596
+ query?: never;
597
+ header?: never;
598
+ path?: never;
599
+ cookie?: never;
600
+ };
601
+ get: operations["ProfileController_findTrashCan"];
602
+ put?: never;
603
+ post?: never;
604
+ delete?: never;
605
+ options?: never;
606
+ head?: never;
607
+ patch?: never;
608
+ trace?: never;
609
+ };
610
+ "/profile/create": {
611
+ parameters: {
612
+ query?: never;
613
+ header?: never;
614
+ path?: never;
615
+ cookie?: never;
616
+ };
617
+ get?: never;
618
+ put?: never;
619
+ post: operations["ProfileController_create"];
620
+ delete?: never;
621
+ options?: never;
622
+ head?: never;
623
+ patch?: never;
624
+ trace?: never;
625
+ };
626
+ "/profile/{id}": {
627
+ parameters: {
628
+ query?: never;
629
+ header?: never;
630
+ path?: never;
631
+ cookie?: never;
632
+ };
633
+ get: operations["ProfileController_findById"];
634
+ put?: never;
635
+ post?: never;
636
+ delete: operations["ProfileController_delete"];
637
+ options?: never;
638
+ head?: never;
639
+ patch: operations["ProfileController_update"];
560
640
  trace?: never;
561
641
  };
562
642
  }
@@ -569,18 +649,18 @@ export interface components {
569
649
  };
570
650
  LoginResponseDto: {
571
651
  user: {
572
- id?: string;
573
- username?: string;
574
- role?: "USER" | "ADMIN";
652
+ id: string;
653
+ username: string;
654
+ role: "USER" | "ADMIN" | "FORM";
575
655
  isGlobalFilterActive: boolean;
576
656
  fcmToken: string[];
577
- created_at?: string;
578
- updated_at?: string;
657
+ created_at: string;
658
+ updated_at: string;
579
659
  };
580
660
  backendTokens: {
581
- accessToken?: string;
582
- refreshToken?: string;
583
- expiresIn?: number;
661
+ accessToken: string;
662
+ refreshToken: string;
663
+ expiresIn: number;
584
664
  };
585
665
  };
586
666
  ErrorDto: {
@@ -647,12 +727,12 @@ export interface components {
647
727
  created_at: string;
648
728
  updated_at: string;
649
729
  group: {
650
- id?: string;
651
- name?: string;
652
- color?: string;
653
- isExclusive?: boolean;
654
- created_at?: string;
655
- updated_at?: string;
730
+ id: string;
731
+ name: string;
732
+ color: string;
733
+ isExclusive: boolean;
734
+ created_at: string;
735
+ updated_at: string;
656
736
  };
657
737
  };
658
738
  UpdateTagDto: {
@@ -684,20 +764,20 @@ export interface components {
684
764
  id: string;
685
765
  shortId: number;
686
766
  phoneNumber: string;
687
- secondaryPhoneNumber: string | null;
767
+ secondaryPhoneNumber: null;
688
768
  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;
769
+ firstName: null;
770
+ gender: null;
771
+ birthDate: null;
772
+ profilePictureUrl: null;
773
+ instagram: null;
774
+ mail: null;
775
+ dni: null;
776
+ alternativeNames: string[];
777
+ birthLocationId: null;
778
+ residenceLocationId: null;
699
779
  isInTrash: boolean;
700
- movedToTrashDate: string | null;
780
+ movedToTrashDate: null;
701
781
  created_at: string;
702
782
  updated_at: string;
703
783
  }[];
@@ -711,20 +791,20 @@ export interface components {
711
791
  id: string;
712
792
  shortId: number;
713
793
  phoneNumber: string;
714
- secondaryPhoneNumber: string | null;
794
+ secondaryPhoneNumber: null;
715
795
  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;
796
+ firstName: null;
797
+ gender: null;
798
+ birthDate: null;
799
+ profilePictureUrl: null;
800
+ instagram: null;
801
+ mail: null;
802
+ dni: null;
803
+ alternativeNames: string[];
804
+ birthLocationId: null;
805
+ residenceLocationId: null;
726
806
  isInTrash: boolean;
727
- movedToTrashDate: string | null;
807
+ movedToTrashDate: null;
728
808
  created_at: string;
729
809
  updated_at: string;
730
810
  }[];
@@ -732,12 +812,12 @@ export interface components {
732
812
  CreateAccountDto: {
733
813
  username: string;
734
814
  password: string;
735
- role: "USER" | "ADMIN";
815
+ role: "USER" | "ADMIN" | "FORM";
736
816
  };
737
817
  CreateAccountResponseDto: {
738
818
  id: string;
739
819
  username: string;
740
- role: "USER" | "ADMIN";
820
+ role: "USER" | "ADMIN" | "FORM";
741
821
  isGlobalFilterActive: boolean;
742
822
  fcmToken: string[];
743
823
  };
@@ -749,7 +829,7 @@ export interface components {
749
829
  id: string;
750
830
  username: string;
751
831
  password: string;
752
- role: "USER" | "ADMIN";
832
+ role: "USER" | "ADMIN" | "FORM";
753
833
  isGlobalFilterActive: boolean;
754
834
  fcmToken: string[];
755
835
  created_at: string;
@@ -779,7 +859,7 @@ export interface components {
779
859
  GetMeResponseDto: {
780
860
  id: string;
781
861
  username: string;
782
- role: "USER" | "ADMIN";
862
+ role: "USER" | "ADMIN" | "FORM";
783
863
  isGlobalFilterActive: boolean;
784
864
  fcmToken: string[];
785
865
  created_at: string;
@@ -905,8 +985,8 @@ export interface components {
905
985
  profileId: string;
906
986
  isSolvable: boolean;
907
987
  isSolved: boolean;
908
- solvedAt: string | null;
909
- solvedBy: string;
988
+ solvedAt: null;
989
+ solvedBy?: string;
910
990
  created_at: string;
911
991
  updated_at: string;
912
992
  };
@@ -918,7 +998,7 @@ export interface components {
918
998
  profileId: string;
919
999
  isSolvable: boolean;
920
1000
  isSolved: boolean;
921
- solvedAt: string | null;
1001
+ solvedAt: null;
922
1002
  solvedBy?: string;
923
1003
  created_at: string;
924
1004
  updated_at: string;
@@ -934,8 +1014,8 @@ export interface components {
934
1014
  profileId: string;
935
1015
  isSolvable: boolean;
936
1016
  isSolved: boolean;
937
- solvedAt: string | null;
938
- solvedBy: string;
1017
+ solvedAt: null;
1018
+ solvedBy?: string;
939
1019
  created_at: string;
940
1020
  updated_at: string;
941
1021
  };
@@ -982,8 +1062,8 @@ export interface components {
982
1062
  isoCode: string;
983
1063
  countryCode: string;
984
1064
  countryName: string;
985
- latitude?: string | null;
986
- longitude?: string | null;
1065
+ latitude?: null;
1066
+ longitude?: null;
987
1067
  }[];
988
1068
  };
989
1069
  CreateCannedResponseDto: {
@@ -1047,10 +1127,10 @@ export interface components {
1047
1127
  name: string;
1048
1128
  date: string;
1049
1129
  location: string;
1050
- folderId: string | null;
1130
+ folderId: null;
1051
1131
  tagAssistedId: string;
1052
1132
  tagConfirmedId: string;
1053
- supraEventId: string | null;
1133
+ supraEventId: null;
1054
1134
  created_at: string;
1055
1135
  updated_at: string;
1056
1136
  }[];
@@ -1067,10 +1147,10 @@ export interface components {
1067
1147
  name: string;
1068
1148
  date: string;
1069
1149
  location: string;
1070
- folderId: string | null;
1150
+ folderId: null;
1071
1151
  tagAssistedId: string;
1072
1152
  tagConfirmedId: string;
1073
- supraEventId: string | null;
1153
+ supraEventId: null;
1074
1154
  created_at: string;
1075
1155
  updated_at: string;
1076
1156
  }[];
@@ -1093,100 +1173,309 @@ export interface components {
1093
1173
  created_at: string;
1094
1174
  updated_at: string;
1095
1175
  };
1096
- CreateEventDto: {
1097
- name: string;
1098
- date: string;
1099
- location: string;
1100
- folderId: string | null;
1101
- tagAssistedId: string;
1102
- tagConfirmedId: string;
1103
- supraEventId: string | null;
1104
- };
1105
- CreateEventResponseDto: {
1106
- id: string;
1107
- name: string;
1108
- date: string;
1109
- location: string;
1110
- folderId: string | null;
1111
- tagAssistedId: string;
1112
- tagConfirmedId: string;
1113
- supraEventId: string | null;
1114
- created_at: string;
1115
- updated_at: string;
1176
+ FindAllProfileResponseDto: {
1177
+ profiles: {
1178
+ id: string;
1179
+ shortId: number;
1180
+ phoneNumber: string;
1181
+ secondaryPhoneNumber: null;
1182
+ fullName: string;
1183
+ firstName: null;
1184
+ gender: null;
1185
+ birthDate: null;
1186
+ profilePictureUrl: null;
1187
+ instagram: null;
1188
+ mail: null;
1189
+ dni: null;
1190
+ alternativeNames: string[];
1191
+ birthLocationId: null;
1192
+ residenceLocationId: null;
1193
+ isInTrash: boolean;
1194
+ movedToTrashDate: null;
1195
+ created_at: string;
1196
+ updated_at: string;
1197
+ tags: {
1198
+ id: string;
1199
+ name: string;
1200
+ groupId: string;
1201
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1202
+ created_at: string;
1203
+ updated_at: string;
1204
+ group: {
1205
+ color: string;
1206
+ isExclusive: boolean;
1207
+ };
1208
+ }[];
1209
+ }[];
1116
1210
  };
1117
- GetAllEventsResponseDto: {
1118
- events: {
1211
+ FindByTagsProfileResponseDto: {
1212
+ profiles: {
1119
1213
  id: string;
1120
- name: string;
1121
- date: string;
1122
- location: string;
1123
- folderId: string | null;
1124
- tagAssistedId: string;
1125
- tagConfirmedId: string;
1126
- supraEventId: string | null;
1214
+ shortId: number;
1215
+ phoneNumber: string;
1216
+ secondaryPhoneNumber: null;
1217
+ fullName: string;
1218
+ firstName: null;
1219
+ gender: null;
1220
+ birthDate: null;
1221
+ profilePictureUrl: null;
1222
+ instagram: null;
1223
+ mail: null;
1224
+ dni: null;
1225
+ alternativeNames: string[];
1226
+ birthLocationId: null;
1227
+ residenceLocationId: null;
1228
+ isInTrash: boolean;
1229
+ movedToTrashDate: null;
1127
1230
  created_at: string;
1128
1231
  updated_at: string;
1129
- folder: {
1232
+ tags: {
1130
1233
  id: string;
1131
1234
  name: string;
1132
- color: string;
1235
+ groupId: string;
1236
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1133
1237
  created_at: string;
1134
1238
  updated_at: string;
1135
- } | null;
1239
+ group: {
1240
+ isExclusive: boolean;
1241
+ };
1242
+ }[];
1136
1243
  }[];
1137
1244
  };
1138
- GetByIdEventResponseDto: {
1245
+ FindByTagGroupsProfileResponseDto: {
1246
+ profiles: {
1247
+ id: string;
1248
+ shortId: number;
1249
+ phoneNumber: string;
1250
+ secondaryPhoneNumber: null;
1251
+ fullName: string;
1252
+ firstName: null;
1253
+ gender: null;
1254
+ birthDate: null;
1255
+ profilePictureUrl: null;
1256
+ instagram: null;
1257
+ mail: null;
1258
+ dni: null;
1259
+ alternativeNames: string[];
1260
+ birthLocationId: null;
1261
+ residenceLocationId: null;
1262
+ isInTrash: boolean;
1263
+ movedToTrashDate: null;
1264
+ created_at: string;
1265
+ updated_at: string;
1266
+ tags: {
1267
+ id: string;
1268
+ name: string;
1269
+ groupId: string;
1270
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1271
+ created_at: string;
1272
+ updated_at: string;
1273
+ }[];
1274
+ }[];
1275
+ };
1276
+ FindByDateRangeResponseDto: {
1277
+ [key: string]: {
1278
+ id: string;
1279
+ shortId: number;
1280
+ phoneNumber: string;
1281
+ secondaryPhoneNumber: null;
1282
+ fullName: string;
1283
+ firstName: null;
1284
+ gender: null;
1285
+ birthDate: null;
1286
+ profilePictureUrl: null;
1287
+ instagram: null;
1288
+ mail: null;
1289
+ dni: null;
1290
+ alternativeNames: string[];
1291
+ birthLocationId: null;
1292
+ residenceLocationId: null;
1293
+ isInTrash: boolean;
1294
+ movedToTrashDate: null;
1295
+ created_at: string;
1296
+ updated_at: string;
1297
+ tags: {
1298
+ id: string;
1299
+ name: string;
1300
+ groupId: string;
1301
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1302
+ created_at: string;
1303
+ updated_at: string;
1304
+ group: {
1305
+ id: string;
1306
+ };
1307
+ }[];
1308
+ }[] | undefined;
1309
+ };
1310
+ FindByPhoneNumberResponseDto: {
1139
1311
  id: string;
1140
- name: string;
1141
- date: string;
1142
- location: string;
1143
- folderId: string | null;
1144
- tagAssistedId: string;
1145
- tagConfirmedId: string;
1146
- supraEventId: string | null;
1312
+ shortId: number;
1313
+ phoneNumber: string;
1314
+ secondaryPhoneNumber: null;
1315
+ fullName: string;
1316
+ firstName: null;
1317
+ gender: null;
1318
+ birthDate: null;
1319
+ profilePictureUrl: null;
1320
+ instagram: null;
1321
+ mail: null;
1322
+ dni: null;
1323
+ alternativeNames: string[];
1324
+ birthLocationId: null;
1325
+ residenceLocationId: null;
1326
+ isInTrash: boolean;
1327
+ movedToTrashDate: null;
1147
1328
  created_at: string;
1148
1329
  updated_at: string;
1149
- folder: {
1150
- id?: string;
1151
- name?: string;
1152
- color?: string;
1153
- created_at?: string;
1154
- updated_at?: string;
1155
- } | null;
1156
- };
1157
- UpdateEventDto: {
1158
- name: string;
1159
- folderId: string | null;
1160
- date: string;
1161
- location: string;
1162
- supraEventId: string | null;
1163
- tagAssistedId: string;
1164
- tagConfirmedId: string;
1165
- };
1166
- UpdateEventResponseDto: {
1330
+ };
1331
+ FindTrashResponseDto: {
1332
+ profiles: {
1333
+ id: string;
1334
+ fullName: string;
1335
+ profilePictureUrl: null;
1336
+ created_at: string;
1337
+ isInTrash: boolean;
1338
+ phoneNumber: string;
1339
+ movedToTrashDate: null;
1340
+ }[];
1341
+ };
1342
+ CreateProfileDto: {
1343
+ profile: {
1344
+ alternativeNames: string[];
1345
+ birthDate: null;
1346
+ dni: null;
1347
+ fullName: string;
1348
+ gender: null;
1349
+ instagram: null;
1350
+ mail: null;
1351
+ phoneNumber: string;
1352
+ profilePictureUrl: null;
1353
+ secondaryPhoneNumber: null;
1354
+ comments?: {
1355
+ content: string;
1356
+ isSolvable: boolean;
1357
+ }[];
1358
+ residence?: {
1359
+ city: string;
1360
+ country: string;
1361
+ latitude: number;
1362
+ longitude: number;
1363
+ state: string;
1364
+ };
1365
+ birth?: {
1366
+ city: string;
1367
+ country: string;
1368
+ latitude: number;
1369
+ longitude: number;
1370
+ state: string;
1371
+ };
1372
+ tags?: string[];
1373
+ };
1374
+ checkForSimilarity?: boolean;
1375
+ };
1376
+ CreateProfileResponseDto: {
1377
+ response: {
1378
+ type: "similar";
1379
+ similarProfiles: {
1380
+ profile: {
1381
+ fullName: string;
1382
+ phoneNumber: string;
1383
+ id: string;
1384
+ };
1385
+ similarityPhoneNumberPercentage: number;
1386
+ similarityFullNamePercentage: number;
1387
+ }[];
1388
+ } | {
1389
+ type: "created";
1390
+ id: string;
1391
+ };
1392
+ };
1393
+ FindByIdProfileResponseDto: {
1167
1394
  id: string;
1168
- name: string;
1169
- date: string;
1170
- location: string;
1171
- folderId: string | null;
1172
- tagAssistedId: string;
1173
- tagConfirmedId: string;
1174
- supraEventId: string | null;
1395
+ shortId: number;
1396
+ phoneNumber: string;
1397
+ secondaryPhoneNumber: null;
1398
+ fullName: string;
1399
+ firstName: null;
1400
+ gender: null;
1401
+ birthDate: null;
1402
+ profilePictureUrl: null;
1403
+ instagram: null;
1404
+ mail: null;
1405
+ dni: null;
1406
+ alternativeNames: string[];
1407
+ birthLocationId: null;
1408
+ residenceLocationId: null;
1409
+ isInTrash: boolean;
1410
+ movedToTrashDate: null;
1175
1411
  created_at: string;
1176
1412
  updated_at: string;
1413
+ residenceLocation: null;
1414
+ birthLocation: null;
1415
+ tags: {
1416
+ id: string;
1417
+ name: string;
1418
+ groupId: string;
1419
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1420
+ created_at: string;
1421
+ updated_at: string;
1422
+ group: {
1423
+ id: string;
1424
+ color: string;
1425
+ isExclusive: boolean;
1426
+ };
1427
+ }[];
1177
1428
  };
1178
- DeleteEventResponseDto: {
1429
+ DeleteProfileResponseDto: {
1179
1430
  id: string;
1180
- name: string;
1181
- date: string;
1182
- location: string;
1183
- folderId: string | null;
1184
- tagAssistedId: string;
1185
- tagConfirmedId: string;
1186
- supraEventId: string | null;
1431
+ shortId: number;
1432
+ phoneNumber: string;
1433
+ secondaryPhoneNumber: null;
1434
+ fullName: string;
1435
+ firstName: null;
1436
+ gender: null;
1437
+ birthDate: null;
1438
+ profilePictureUrl: null;
1439
+ instagram: null;
1440
+ mail: null;
1441
+ dni: null;
1442
+ alternativeNames: string[];
1443
+ birthLocationId: null;
1444
+ residenceLocationId: null;
1445
+ isInTrash: boolean;
1446
+ movedToTrashDate: null;
1187
1447
  created_at: string;
1188
1448
  updated_at: string;
1189
1449
  };
1450
+ UpdateProfileDto: {
1451
+ alternativeNames: string[];
1452
+ birthDate: null;
1453
+ dni: null;
1454
+ fullName: string;
1455
+ gender: null;
1456
+ instagram: null;
1457
+ mail: null;
1458
+ phoneNumber: string;
1459
+ profilePictureUrl: null;
1460
+ secondaryPhoneNumber: null;
1461
+ isInTrash: boolean;
1462
+ movedToTrashDate: null;
1463
+ residence?: {
1464
+ city: string;
1465
+ country: string;
1466
+ latitude: number;
1467
+ longitude: number;
1468
+ state: string;
1469
+ };
1470
+ birth?: {
1471
+ city: string;
1472
+ country: string;
1473
+ latitude: number;
1474
+ longitude: number;
1475
+ state: string;
1476
+ };
1477
+ tags?: string[];
1478
+ };
1190
1479
  };
1191
1480
  responses: never;
1192
1481
  parameters: never;
@@ -2155,28 +2444,45 @@ export interface operations {
2155
2444
  };
2156
2445
  };
2157
2446
  };
2158
- EventController_create: {
2447
+ ProfileController_findAll: {
2159
2448
  parameters: {
2160
2449
  query?: never;
2161
2450
  header?: never;
2162
2451
  path?: never;
2163
2452
  cookie?: never;
2164
2453
  };
2165
- requestBody: {
2166
- content: {
2167
- "application/json": components["schemas"]["CreateEventDto"];
2454
+ requestBody?: never;
2455
+ responses: {
2456
+ 200: {
2457
+ headers: {
2458
+ [name: string]: unknown;
2459
+ };
2460
+ content: {
2461
+ "application/json": components["schemas"]["FindAllProfileResponseDto"];
2462
+ };
2168
2463
  };
2169
2464
  };
2465
+ };
2466
+ ProfileController_findByTag: {
2467
+ parameters: {
2468
+ query: {
2469
+ tags: string[];
2470
+ };
2471
+ header?: never;
2472
+ path?: never;
2473
+ cookie?: never;
2474
+ };
2475
+ requestBody?: never;
2170
2476
  responses: {
2171
- 201: {
2477
+ 200: {
2172
2478
  headers: {
2173
2479
  [name: string]: unknown;
2174
2480
  };
2175
2481
  content: {
2176
- "application/json": components["schemas"]["CreateEventResponseDto"];
2482
+ "application/json": components["schemas"]["FindByTagsProfileResponseDto"];
2177
2483
  };
2178
2484
  };
2179
- 409: {
2485
+ 404: {
2180
2486
  headers: {
2181
2487
  [name: string]: unknown;
2182
2488
  };
@@ -2186,9 +2492,11 @@ export interface operations {
2186
2492
  };
2187
2493
  };
2188
2494
  };
2189
- EventController_findAll: {
2495
+ ProfileController_findByTagGroups: {
2190
2496
  parameters: {
2191
- query?: never;
2497
+ query: {
2498
+ tagGroups: string[];
2499
+ };
2192
2500
  header?: never;
2193
2501
  path?: never;
2194
2502
  cookie?: never;
@@ -2200,7 +2508,7 @@ export interface operations {
2200
2508
  [name: string]: unknown;
2201
2509
  };
2202
2510
  content: {
2203
- "application/json": components["schemas"]["GetAllEventsResponseDto"];
2511
+ "application/json": components["schemas"]["FindByTagGroupsProfileResponseDto"];
2204
2512
  };
2205
2513
  };
2206
2514
  404: {
@@ -2213,12 +2521,42 @@ export interface operations {
2213
2521
  };
2214
2522
  };
2215
2523
  };
2216
- EventController_findById: {
2524
+ ProfileController_findByDateRange: {
2525
+ parameters: {
2526
+ query: {
2527
+ from: string;
2528
+ to: string;
2529
+ };
2530
+ header?: never;
2531
+ path?: never;
2532
+ cookie?: never;
2533
+ };
2534
+ requestBody?: never;
2535
+ responses: {
2536
+ 200: {
2537
+ headers: {
2538
+ [name: string]: unknown;
2539
+ };
2540
+ content: {
2541
+ "application/json": components["schemas"]["FindByDateRangeResponseDto"];
2542
+ };
2543
+ };
2544
+ 412: {
2545
+ headers: {
2546
+ [name: string]: unknown;
2547
+ };
2548
+ content: {
2549
+ "application/json": components["schemas"]["ErrorDto"];
2550
+ };
2551
+ };
2552
+ };
2553
+ };
2554
+ ProfileController_findByPhoneNumber: {
2217
2555
  parameters: {
2218
2556
  query?: never;
2219
2557
  header?: never;
2220
2558
  path: {
2221
- id: string;
2559
+ phoneNumber: string;
2222
2560
  };
2223
2561
  cookie?: never;
2224
2562
  };
@@ -2229,7 +2567,7 @@ export interface operations {
2229
2567
  [name: string]: unknown;
2230
2568
  };
2231
2569
  content: {
2232
- "application/json": components["schemas"]["GetByIdEventResponseDto"];
2570
+ "application/json": components["schemas"]["FindByPhoneNumberResponseDto"];
2233
2571
  };
2234
2572
  };
2235
2573
  404: {
@@ -2242,7 +2580,65 @@ export interface operations {
2242
2580
  };
2243
2581
  };
2244
2582
  };
2245
- EventController_remove: {
2583
+ ProfileController_findTrashCan: {
2584
+ parameters: {
2585
+ query?: never;
2586
+ header?: never;
2587
+ path?: never;
2588
+ cookie?: never;
2589
+ };
2590
+ requestBody?: never;
2591
+ responses: {
2592
+ 200: {
2593
+ headers: {
2594
+ [name: string]: unknown;
2595
+ };
2596
+ content: {
2597
+ "application/json": components["schemas"]["FindTrashResponseDto"];
2598
+ };
2599
+ };
2600
+ };
2601
+ };
2602
+ ProfileController_create: {
2603
+ parameters: {
2604
+ query?: never;
2605
+ header?: never;
2606
+ path?: never;
2607
+ cookie?: never;
2608
+ };
2609
+ requestBody: {
2610
+ content: {
2611
+ "application/json": components["schemas"]["CreateProfileDto"];
2612
+ };
2613
+ };
2614
+ responses: {
2615
+ 200: {
2616
+ headers: {
2617
+ [name: string]: unknown;
2618
+ };
2619
+ content: {
2620
+ "application/json": components["schemas"]["CreateProfileResponseDto"];
2621
+ };
2622
+ };
2623
+ 404: {
2624
+ headers: {
2625
+ [name: string]: unknown;
2626
+ };
2627
+ content: {
2628
+ "application/json": components["schemas"]["ErrorDto"];
2629
+ };
2630
+ };
2631
+ 409: {
2632
+ headers: {
2633
+ [name: string]: unknown;
2634
+ };
2635
+ content: {
2636
+ "application/json": components["schemas"]["ErrorDto"];
2637
+ };
2638
+ };
2639
+ };
2640
+ };
2641
+ ProfileController_findById: {
2246
2642
  parameters: {
2247
2643
  query?: never;
2248
2644
  header?: never;
@@ -2253,6 +2649,14 @@ export interface operations {
2253
2649
  };
2254
2650
  requestBody?: never;
2255
2651
  responses: {
2652
+ 200: {
2653
+ headers: {
2654
+ [name: string]: unknown;
2655
+ };
2656
+ content: {
2657
+ "application/json": components["schemas"]["FindByIdProfileResponseDto"];
2658
+ };
2659
+ };
2256
2660
  404: {
2257
2661
  headers: {
2258
2662
  [name: string]: unknown;
@@ -2261,17 +2665,38 @@ export interface operations {
2261
2665
  "application/json": components["schemas"]["ErrorDto"];
2262
2666
  };
2263
2667
  };
2264
- 410: {
2668
+ };
2669
+ };
2670
+ ProfileController_delete: {
2671
+ parameters: {
2672
+ query?: never;
2673
+ header?: never;
2674
+ path: {
2675
+ id: string;
2676
+ };
2677
+ cookie?: never;
2678
+ };
2679
+ requestBody?: never;
2680
+ responses: {
2681
+ 200: {
2265
2682
  headers: {
2266
2683
  [name: string]: unknown;
2267
2684
  };
2268
2685
  content: {
2269
- "application/json": components["schemas"]["DeleteEventResponseDto"];
2686
+ "application/json": components["schemas"]["DeleteProfileResponseDto"];
2687
+ };
2688
+ };
2689
+ 404: {
2690
+ headers: {
2691
+ [name: string]: unknown;
2692
+ };
2693
+ content: {
2694
+ "application/json": components["schemas"]["ErrorDto"];
2270
2695
  };
2271
2696
  };
2272
2697
  };
2273
2698
  };
2274
- EventController_update: {
2699
+ ProfileController_update: {
2275
2700
  parameters: {
2276
2701
  query?: never;
2277
2702
  header?: never;
@@ -2282,7 +2707,7 @@ export interface operations {
2282
2707
  };
2283
2708
  requestBody: {
2284
2709
  content: {
2285
- "application/json": components["schemas"]["UpdateEventDto"];
2710
+ "application/json": components["schemas"]["UpdateProfileDto"];
2286
2711
  };
2287
2712
  };
2288
2713
  responses: {
@@ -2291,7 +2716,7 @@ export interface operations {
2291
2716
  [name: string]: unknown;
2292
2717
  };
2293
2718
  content: {
2294
- "application/json": components["schemas"]["UpdateEventResponseDto"];
2719
+ "application/json": components["schemas"]["UpdateProfileDto"];
2295
2720
  };
2296
2721
  };
2297
2722
  404: {
@@ -2302,6 +2727,14 @@ export interface operations {
2302
2727
  "application/json": components["schemas"]["ErrorDto"];
2303
2728
  };
2304
2729
  };
2730
+ 409: {
2731
+ headers: {
2732
+ [name: string]: unknown;
2733
+ };
2734
+ content: {
2735
+ "application/json": components["schemas"]["ErrorDto"];
2736
+ };
2737
+ };
2305
2738
  };
2306
2739
  };
2307
2740
  }