expo-backend-types 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/account/dto/account.dto.d.ts +6 -4
- package/dist/src/account/dto/create-account.dto.d.ts +12 -8
- package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
- package/dist/src/account/dto/get-me.dto.d.ts +6 -4
- package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
- package/dist/src/auth/dto/login.dto.d.ts +11 -8
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
- package/dist/src/i18n/es.d.ts +47 -0
- package/dist/src/i18n/es.js +47 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/profile/dto/create-profile.dto.d.ts +694 -0
- package/dist/src/profile/dto/create-profile.dto.js +84 -0
- package/dist/src/profile/dto/delete-profile.dto.d.ts +125 -0
- package/dist/src/profile/dto/delete-profile.dto.js +10 -0
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +410 -0
- package/dist/src/profile/dto/find-all-profile.dto.js +25 -0
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +655 -0
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +34 -0
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +475 -0
- package/dist/src/profile/dto/find-by-id-profile.dto.js +27 -0
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +125 -0
- package/dist/src/profile/dto/find-by-phone-number.dto.js +10 -0
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +337 -0
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +19 -0
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +393 -0
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +24 -0
- package/dist/src/profile/dto/find-trash.dto.d.ts +110 -0
- package/dist/src/profile/dto/find-trash.dto.js +24 -0
- package/dist/src/profile/dto/profile.dto.d.ts +5 -5
- package/dist/src/profile/dto/profile.dto.js +7 -3
- package/dist/src/profile/dto/update-profile.dto.d.ts +360 -0
- package/dist/src/profile/dto/update-profile.dto.js +55 -0
- package/dist/src/profile/exports.d.ts +10 -0
- package/dist/src/profile/exports.js +10 -0
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +16 -16
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +16 -16
- package/dist/types/prisma-schema/edge.js +5 -4
- package/dist/types/prisma-schema/index-browser.js +2 -1
- package/dist/types/prisma-schema/index.d.ts +9 -2
- package/dist/types/prisma-schema/index.js +5 -4
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +2 -0
- package/dist/types/prisma-schema/wasm.js +2 -1
- package/dist/types/schema.d.ts +777 -53
- package/package.json +4 -1
package/dist/types/schema.d.ts
CHANGED
@@ -511,6 +511,134 @@ export interface paths {
|
|
511
511
|
patch?: never;
|
512
512
|
trace?: never;
|
513
513
|
};
|
514
|
+
"/profile/all": {
|
515
|
+
parameters: {
|
516
|
+
query?: never;
|
517
|
+
header?: never;
|
518
|
+
path?: never;
|
519
|
+
cookie?: never;
|
520
|
+
};
|
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"];
|
538
|
+
put?: never;
|
539
|
+
post?: never;
|
540
|
+
delete?: never;
|
541
|
+
options?: never;
|
542
|
+
head?: never;
|
543
|
+
patch?: never;
|
544
|
+
trace?: never;
|
545
|
+
};
|
546
|
+
"/profile/find-by-tag-groups": {
|
547
|
+
parameters: {
|
548
|
+
query?: never;
|
549
|
+
header?: never;
|
550
|
+
path?: never;
|
551
|
+
cookie?: never;
|
552
|
+
};
|
553
|
+
get: operations["ProfileController_findByTagGroups"];
|
554
|
+
put?: never;
|
555
|
+
post?: never;
|
556
|
+
delete?: never;
|
557
|
+
options?: never;
|
558
|
+
head?: never;
|
559
|
+
patch?: never;
|
560
|
+
trace?: never;
|
561
|
+
};
|
562
|
+
"/profile/find-by-date-range": {
|
563
|
+
parameters: {
|
564
|
+
query?: never;
|
565
|
+
header?: never;
|
566
|
+
path?: never;
|
567
|
+
cookie?: never;
|
568
|
+
};
|
569
|
+
get: operations["ProfileController_findByDateRange"];
|
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-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"];
|
640
|
+
trace?: never;
|
641
|
+
};
|
514
642
|
}
|
515
643
|
export type webhooks = Record<string, never>;
|
516
644
|
export interface components {
|
@@ -521,18 +649,18 @@ export interface components {
|
|
521
649
|
};
|
522
650
|
LoginResponseDto: {
|
523
651
|
user: {
|
524
|
-
id
|
525
|
-
username
|
526
|
-
role
|
652
|
+
id: string;
|
653
|
+
username: string;
|
654
|
+
role: "USER" | "ADMIN" | "FORM";
|
527
655
|
isGlobalFilterActive: boolean;
|
528
656
|
fcmToken: string[];
|
529
|
-
created_at
|
530
|
-
updated_at
|
657
|
+
created_at: string;
|
658
|
+
updated_at: string;
|
531
659
|
};
|
532
660
|
backendTokens: {
|
533
|
-
accessToken
|
534
|
-
refreshToken
|
535
|
-
expiresIn
|
661
|
+
accessToken: string;
|
662
|
+
refreshToken: string;
|
663
|
+
expiresIn: number;
|
536
664
|
};
|
537
665
|
};
|
538
666
|
ErrorDto: {
|
@@ -599,12 +727,12 @@ export interface components {
|
|
599
727
|
created_at: string;
|
600
728
|
updated_at: string;
|
601
729
|
group: {
|
602
|
-
id
|
603
|
-
name
|
604
|
-
color
|
605
|
-
isExclusive
|
606
|
-
created_at
|
607
|
-
updated_at
|
730
|
+
id: string;
|
731
|
+
name: string;
|
732
|
+
color: string;
|
733
|
+
isExclusive: boolean;
|
734
|
+
created_at: string;
|
735
|
+
updated_at: string;
|
608
736
|
};
|
609
737
|
};
|
610
738
|
UpdateTagDto: {
|
@@ -636,20 +764,20 @@ export interface components {
|
|
636
764
|
id: string;
|
637
765
|
shortId: number;
|
638
766
|
phoneNumber: string;
|
639
|
-
secondaryPhoneNumber:
|
767
|
+
secondaryPhoneNumber: null;
|
640
768
|
fullName: string;
|
641
|
-
firstName:
|
642
|
-
gender:
|
643
|
-
birthDate:
|
644
|
-
profilePictureUrl:
|
645
|
-
instagram:
|
646
|
-
mail:
|
647
|
-
dni:
|
648
|
-
alternativeNames: string[]
|
649
|
-
birthLocationId:
|
650
|
-
residenceLocationId:
|
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;
|
651
779
|
isInTrash: boolean;
|
652
|
-
movedToTrashDate:
|
780
|
+
movedToTrashDate: null;
|
653
781
|
created_at: string;
|
654
782
|
updated_at: string;
|
655
783
|
}[];
|
@@ -663,20 +791,20 @@ export interface components {
|
|
663
791
|
id: string;
|
664
792
|
shortId: number;
|
665
793
|
phoneNumber: string;
|
666
|
-
secondaryPhoneNumber:
|
794
|
+
secondaryPhoneNumber: null;
|
667
795
|
fullName: string;
|
668
|
-
firstName:
|
669
|
-
gender:
|
670
|
-
birthDate:
|
671
|
-
profilePictureUrl:
|
672
|
-
instagram:
|
673
|
-
mail:
|
674
|
-
dni:
|
675
|
-
alternativeNames: string[]
|
676
|
-
birthLocationId:
|
677
|
-
residenceLocationId:
|
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;
|
678
806
|
isInTrash: boolean;
|
679
|
-
movedToTrashDate:
|
807
|
+
movedToTrashDate: null;
|
680
808
|
created_at: string;
|
681
809
|
updated_at: string;
|
682
810
|
}[];
|
@@ -684,12 +812,12 @@ export interface components {
|
|
684
812
|
CreateAccountDto: {
|
685
813
|
username: string;
|
686
814
|
password: string;
|
687
|
-
role: "USER" | "ADMIN";
|
815
|
+
role: "USER" | "ADMIN" | "FORM";
|
688
816
|
};
|
689
817
|
CreateAccountResponseDto: {
|
690
818
|
id: string;
|
691
819
|
username: string;
|
692
|
-
role: "USER" | "ADMIN";
|
820
|
+
role: "USER" | "ADMIN" | "FORM";
|
693
821
|
isGlobalFilterActive: boolean;
|
694
822
|
fcmToken: string[];
|
695
823
|
};
|
@@ -701,7 +829,7 @@ export interface components {
|
|
701
829
|
id: string;
|
702
830
|
username: string;
|
703
831
|
password: string;
|
704
|
-
role: "USER" | "ADMIN";
|
832
|
+
role: "USER" | "ADMIN" | "FORM";
|
705
833
|
isGlobalFilterActive: boolean;
|
706
834
|
fcmToken: string[];
|
707
835
|
created_at: string;
|
@@ -731,7 +859,7 @@ export interface components {
|
|
731
859
|
GetMeResponseDto: {
|
732
860
|
id: string;
|
733
861
|
username: string;
|
734
|
-
role: "USER" | "ADMIN";
|
862
|
+
role: "USER" | "ADMIN" | "FORM";
|
735
863
|
isGlobalFilterActive: boolean;
|
736
864
|
fcmToken: string[];
|
737
865
|
created_at: string;
|
@@ -857,8 +985,8 @@ export interface components {
|
|
857
985
|
profileId: string;
|
858
986
|
isSolvable: boolean;
|
859
987
|
isSolved: boolean;
|
860
|
-
solvedAt:
|
861
|
-
solvedBy
|
988
|
+
solvedAt: null;
|
989
|
+
solvedBy?: string;
|
862
990
|
created_at: string;
|
863
991
|
updated_at: string;
|
864
992
|
};
|
@@ -870,7 +998,7 @@ export interface components {
|
|
870
998
|
profileId: string;
|
871
999
|
isSolvable: boolean;
|
872
1000
|
isSolved: boolean;
|
873
|
-
solvedAt:
|
1001
|
+
solvedAt: null;
|
874
1002
|
solvedBy?: string;
|
875
1003
|
created_at: string;
|
876
1004
|
updated_at: string;
|
@@ -886,8 +1014,8 @@ export interface components {
|
|
886
1014
|
profileId: string;
|
887
1015
|
isSolvable: boolean;
|
888
1016
|
isSolved: boolean;
|
889
|
-
solvedAt:
|
890
|
-
solvedBy
|
1017
|
+
solvedAt: null;
|
1018
|
+
solvedBy?: string;
|
891
1019
|
created_at: string;
|
892
1020
|
updated_at: string;
|
893
1021
|
};
|
@@ -934,8 +1062,8 @@ export interface components {
|
|
934
1062
|
isoCode: string;
|
935
1063
|
countryCode: string;
|
936
1064
|
countryName: string;
|
937
|
-
latitude?:
|
938
|
-
longitude?:
|
1065
|
+
latitude?: null;
|
1066
|
+
longitude?: null;
|
939
1067
|
}[];
|
940
1068
|
};
|
941
1069
|
CreateCannedResponseDto: {
|
@@ -999,10 +1127,10 @@ export interface components {
|
|
999
1127
|
name: string;
|
1000
1128
|
date: string;
|
1001
1129
|
location: string;
|
1002
|
-
folderId:
|
1130
|
+
folderId: null;
|
1003
1131
|
tagAssistedId: string;
|
1004
1132
|
tagConfirmedId: string;
|
1005
|
-
supraEventId:
|
1133
|
+
supraEventId: null;
|
1006
1134
|
created_at: string;
|
1007
1135
|
updated_at: string;
|
1008
1136
|
}[];
|
@@ -1019,10 +1147,10 @@ export interface components {
|
|
1019
1147
|
name: string;
|
1020
1148
|
date: string;
|
1021
1149
|
location: string;
|
1022
|
-
folderId:
|
1150
|
+
folderId: null;
|
1023
1151
|
tagAssistedId: string;
|
1024
1152
|
tagConfirmedId: string;
|
1025
|
-
supraEventId:
|
1153
|
+
supraEventId: null;
|
1026
1154
|
created_at: string;
|
1027
1155
|
updated_at: string;
|
1028
1156
|
}[];
|
@@ -1045,6 +1173,309 @@ export interface components {
|
|
1045
1173
|
created_at: string;
|
1046
1174
|
updated_at: string;
|
1047
1175
|
};
|
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
|
+
}[];
|
1210
|
+
};
|
1211
|
+
FindByTagsProfileResponseDto: {
|
1212
|
+
profiles: {
|
1213
|
+
id: string;
|
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;
|
1230
|
+
created_at: string;
|
1231
|
+
updated_at: string;
|
1232
|
+
tags: {
|
1233
|
+
id: string;
|
1234
|
+
name: string;
|
1235
|
+
groupId: string;
|
1236
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
1237
|
+
created_at: string;
|
1238
|
+
updated_at: string;
|
1239
|
+
group: {
|
1240
|
+
isExclusive: boolean;
|
1241
|
+
};
|
1242
|
+
}[];
|
1243
|
+
}[];
|
1244
|
+
};
|
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: {
|
1311
|
+
id: string;
|
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;
|
1328
|
+
created_at: string;
|
1329
|
+
updated_at: string;
|
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: {
|
1394
|
+
id: string;
|
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;
|
1411
|
+
created_at: string;
|
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
|
+
}[];
|
1428
|
+
};
|
1429
|
+
DeleteProfileResponseDto: {
|
1430
|
+
id: string;
|
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;
|
1447
|
+
created_at: string;
|
1448
|
+
updated_at: string;
|
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
|
+
};
|
1048
1479
|
};
|
1049
1480
|
responses: never;
|
1050
1481
|
parameters: never;
|
@@ -2013,4 +2444,297 @@ export interface operations {
|
|
2013
2444
|
};
|
2014
2445
|
};
|
2015
2446
|
};
|
2447
|
+
ProfileController_findAll: {
|
2448
|
+
parameters: {
|
2449
|
+
query?: never;
|
2450
|
+
header?: never;
|
2451
|
+
path?: never;
|
2452
|
+
cookie?: never;
|
2453
|
+
};
|
2454
|
+
requestBody?: never;
|
2455
|
+
responses: {
|
2456
|
+
200: {
|
2457
|
+
headers: {
|
2458
|
+
[name: string]: unknown;
|
2459
|
+
};
|
2460
|
+
content: {
|
2461
|
+
"application/json": components["schemas"]["FindAllProfileResponseDto"];
|
2462
|
+
};
|
2463
|
+
};
|
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;
|
2476
|
+
responses: {
|
2477
|
+
200: {
|
2478
|
+
headers: {
|
2479
|
+
[name: string]: unknown;
|
2480
|
+
};
|
2481
|
+
content: {
|
2482
|
+
"application/json": components["schemas"]["FindByTagsProfileResponseDto"];
|
2483
|
+
};
|
2484
|
+
};
|
2485
|
+
404: {
|
2486
|
+
headers: {
|
2487
|
+
[name: string]: unknown;
|
2488
|
+
};
|
2489
|
+
content: {
|
2490
|
+
"application/json": components["schemas"]["ErrorDto"];
|
2491
|
+
};
|
2492
|
+
};
|
2493
|
+
};
|
2494
|
+
};
|
2495
|
+
ProfileController_findByTagGroups: {
|
2496
|
+
parameters: {
|
2497
|
+
query: {
|
2498
|
+
tagGroups: string[];
|
2499
|
+
};
|
2500
|
+
header?: never;
|
2501
|
+
path?: never;
|
2502
|
+
cookie?: never;
|
2503
|
+
};
|
2504
|
+
requestBody?: never;
|
2505
|
+
responses: {
|
2506
|
+
200: {
|
2507
|
+
headers: {
|
2508
|
+
[name: string]: unknown;
|
2509
|
+
};
|
2510
|
+
content: {
|
2511
|
+
"application/json": components["schemas"]["FindByTagGroupsProfileResponseDto"];
|
2512
|
+
};
|
2513
|
+
};
|
2514
|
+
404: {
|
2515
|
+
headers: {
|
2516
|
+
[name: string]: unknown;
|
2517
|
+
};
|
2518
|
+
content: {
|
2519
|
+
"application/json": components["schemas"]["ErrorDto"];
|
2520
|
+
};
|
2521
|
+
};
|
2522
|
+
};
|
2523
|
+
};
|
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: {
|
2555
|
+
parameters: {
|
2556
|
+
query?: never;
|
2557
|
+
header?: never;
|
2558
|
+
path: {
|
2559
|
+
phoneNumber: string;
|
2560
|
+
};
|
2561
|
+
cookie?: never;
|
2562
|
+
};
|
2563
|
+
requestBody?: never;
|
2564
|
+
responses: {
|
2565
|
+
200: {
|
2566
|
+
headers: {
|
2567
|
+
[name: string]: unknown;
|
2568
|
+
};
|
2569
|
+
content: {
|
2570
|
+
"application/json": components["schemas"]["FindByPhoneNumberResponseDto"];
|
2571
|
+
};
|
2572
|
+
};
|
2573
|
+
404: {
|
2574
|
+
headers: {
|
2575
|
+
[name: string]: unknown;
|
2576
|
+
};
|
2577
|
+
content: {
|
2578
|
+
"application/json": components["schemas"]["ErrorDto"];
|
2579
|
+
};
|
2580
|
+
};
|
2581
|
+
};
|
2582
|
+
};
|
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: {
|
2642
|
+
parameters: {
|
2643
|
+
query?: never;
|
2644
|
+
header?: never;
|
2645
|
+
path: {
|
2646
|
+
id: string;
|
2647
|
+
};
|
2648
|
+
cookie?: never;
|
2649
|
+
};
|
2650
|
+
requestBody?: never;
|
2651
|
+
responses: {
|
2652
|
+
200: {
|
2653
|
+
headers: {
|
2654
|
+
[name: string]: unknown;
|
2655
|
+
};
|
2656
|
+
content: {
|
2657
|
+
"application/json": components["schemas"]["FindByIdProfileResponseDto"];
|
2658
|
+
};
|
2659
|
+
};
|
2660
|
+
404: {
|
2661
|
+
headers: {
|
2662
|
+
[name: string]: unknown;
|
2663
|
+
};
|
2664
|
+
content: {
|
2665
|
+
"application/json": components["schemas"]["ErrorDto"];
|
2666
|
+
};
|
2667
|
+
};
|
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: {
|
2682
|
+
headers: {
|
2683
|
+
[name: string]: unknown;
|
2684
|
+
};
|
2685
|
+
content: {
|
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"];
|
2695
|
+
};
|
2696
|
+
};
|
2697
|
+
};
|
2698
|
+
};
|
2699
|
+
ProfileController_update: {
|
2700
|
+
parameters: {
|
2701
|
+
query?: never;
|
2702
|
+
header?: never;
|
2703
|
+
path: {
|
2704
|
+
id: string;
|
2705
|
+
};
|
2706
|
+
cookie?: never;
|
2707
|
+
};
|
2708
|
+
requestBody: {
|
2709
|
+
content: {
|
2710
|
+
"application/json": components["schemas"]["UpdateProfileDto"];
|
2711
|
+
};
|
2712
|
+
};
|
2713
|
+
responses: {
|
2714
|
+
200: {
|
2715
|
+
headers: {
|
2716
|
+
[name: string]: unknown;
|
2717
|
+
};
|
2718
|
+
content: {
|
2719
|
+
"application/json": components["schemas"]["UpdateProfileDto"];
|
2720
|
+
};
|
2721
|
+
};
|
2722
|
+
404: {
|
2723
|
+
headers: {
|
2724
|
+
[name: string]: unknown;
|
2725
|
+
};
|
2726
|
+
content: {
|
2727
|
+
"application/json": components["schemas"]["ErrorDto"];
|
2728
|
+
};
|
2729
|
+
};
|
2730
|
+
409: {
|
2731
|
+
headers: {
|
2732
|
+
[name: string]: unknown;
|
2733
|
+
};
|
2734
|
+
content: {
|
2735
|
+
"application/json": components["schemas"]["ErrorDto"];
|
2736
|
+
};
|
2737
|
+
};
|
2738
|
+
};
|
2739
|
+
};
|
2016
2740
|
}
|